http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00140.html
[official-gcc.git] / libstdc++-v3 / configure
blobe6d08361bf75ead819fe66df1436690e2235b6a0
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:10: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
17746 # No surprises, no surprises...
17748 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
17749 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
17750 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
17751 echo "$as_me:$LINENO: result: $target_thread_file" >&5
17752 echo "${ECHO_T}$target_thread_file" >&6
17754 if test $target_thread_file != single; then
17756 cat >>confdefs.h <<\_ACEOF
17757 #define HAVE_GTHR_DEFAULT 1
17758 _ACEOF
17762 glibcxx_thread_h=gthr-$target_thread_file.h
17764 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
17765 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
17766 enable_thread=yes
17767 else
17768 enable_thread=no
17774 echo "$as_me:$LINENO: checking for atomic builtins" >&5
17775 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
17778 ac_ext=cc
17779 ac_cpp='$CXXCPP $CPPFLAGS'
17780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17785 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
17786 cat > conftest.$ac_ext << EOF
17787 #line 17787 "configure"
17788 int main()
17790 // NB: _Atomic_word not necessarily int.
17791 typedef int atomic_type;
17792 atomic_type c1;
17793 atomic_type c2;
17794 const atomic_type c3(0);
17795 if (__sync_fetch_and_add(&c1, c2) == c3)
17797 // Do something.
17799 return 0;
17802 old_CXXFLAGS="$CXXFLAGS"
17803 CXXFLAGS=-S
17804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17805 (eval $ac_compile) 2>&5
17806 ac_status=$?
17807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17808 (exit $ac_status); }; then
17809 if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
17810 enable_atomic_builtins=no
17811 else
17813 cat >>confdefs.h <<\_ACEOF
17814 #define _GLIBCXX_ATOMIC_BUILTINS 1
17815 _ACEOF
17817 enable_atomic_builtins=yes
17818 atomicity_dir=cpu/generic/atomicity_builtins
17821 CXXFLAGS="$old_CXXFLAGS"
17822 rm -f conftest*
17824 # Now, if still generic, set to mutex.
17825 if test $atomicity_dir = "cpu/generic" ; then
17826 atomicity_dir=cpu/generic/atomicity_mutex
17828 ac_ext=c
17829 ac_cpp='$CPP $CPPFLAGS'
17830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17834 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
17835 echo "${ECHO_T}$enable_atomic_builtins" >&6
17837 if test $atomicity_dir = cpu/generic/atomicity_mutex ; then
17838 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
17839 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
17840 if test $target_thread_file = single; then
17841 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
17842 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
17843 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
17844 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
17845 else
17846 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
17847 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
17848 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
17849 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
17854 # All these tests are for C++; save the language and the compiler flags.
17855 # The CXXFLAGS thing is suspicious, but based on similar bits previously
17856 # found in GLIBCXX_CONFIGURE.
17859 ac_ext=cc
17860 ac_cpp='$CXXCPP $CPPFLAGS'
17861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17865 ac_test_CXXFLAGS="${CXXFLAGS+set}"
17866 ac_save_CXXFLAGS="$CXXFLAGS"
17868 # Check for maintainer-mode bits.
17869 if test x"$USE_MAINTAINER_MODE" = xno; then
17870 WERROR=''
17871 else
17872 WERROR='-Werror'
17875 # Check for -ffunction-sections -fdata-sections
17876 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
17877 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
17878 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
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 int foo; void bar() { };
17887 main ()
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_cxx_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_fdsections=yes
17917 else
17918 echo "$as_me: failed program was:" >&5
17919 sed 's/^/| /' conftest.$ac_ext >&5
17921 ac_fdsections=no
17923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17924 if test "$ac_test_CXXFLAGS" = set; then
17925 CXXFLAGS="$ac_save_CXXFLAGS"
17926 else
17927 # this is the suspicious part
17928 CXXFLAGS=''
17930 if test x"$ac_fdsections" = x"yes"; then
17931 SECTION_FLAGS='-ffunction-sections -fdata-sections'
17933 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
17934 echo "${ECHO_T}$ac_fdsections" >&6
17936 ac_ext=c
17937 ac_cpp='$CPP $CPPFLAGS'
17938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17946 if $GLIBCXX_IS_NATIVE; then
17948 # We can do more elaborate tests that assume a working linker.
17949 CANADIAN=no
17951 # Check for available headers.
17967 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
17968 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
17969 sys/types.h sys/ipc.h sys/sem.h
17971 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17973 echo "$as_me:$LINENO: checking for $ac_header" >&5
17974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17976 echo $ECHO_N "(cached) $ECHO_C" >&6
17978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17979 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17980 else
17981 # Is the header compilable?
17982 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17983 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17984 cat >conftest.$ac_ext <<_ACEOF
17985 /* confdefs.h. */
17986 _ACEOF
17987 cat confdefs.h >>conftest.$ac_ext
17988 cat >>conftest.$ac_ext <<_ACEOF
17989 /* end confdefs.h. */
17990 $ac_includes_default
17991 #include <$ac_header>
17992 _ACEOF
17993 rm -f conftest.$ac_objext
17994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17995 (eval $ac_compile) 2>conftest.er1
17996 ac_status=$?
17997 grep -v '^ *+' conftest.er1 >conftest.err
17998 rm -f conftest.er1
17999 cat conftest.err >&5
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); } &&
18002 { ac_try='test -z "$ac_c_werror_flag"
18003 || test ! -s conftest.err'
18004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18005 (eval $ac_try) 2>&5
18006 ac_status=$?
18007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18008 (exit $ac_status); }; } &&
18009 { ac_try='test -s conftest.$ac_objext'
18010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18011 (eval $ac_try) 2>&5
18012 ac_status=$?
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); }; }; then
18015 ac_header_compiler=yes
18016 else
18017 echo "$as_me: failed program was:" >&5
18018 sed 's/^/| /' conftest.$ac_ext >&5
18020 ac_header_compiler=no
18022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18023 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18024 echo "${ECHO_T}$ac_header_compiler" >&6
18026 # Is the header present?
18027 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18028 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18029 cat >conftest.$ac_ext <<_ACEOF
18030 /* confdefs.h. */
18031 _ACEOF
18032 cat confdefs.h >>conftest.$ac_ext
18033 cat >>conftest.$ac_ext <<_ACEOF
18034 /* end confdefs.h. */
18035 #include <$ac_header>
18036 _ACEOF
18037 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18038 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18039 ac_status=$?
18040 grep -v '^ *+' conftest.er1 >conftest.err
18041 rm -f conftest.er1
18042 cat conftest.err >&5
18043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18044 (exit $ac_status); } >/dev/null; then
18045 if test -s conftest.err; then
18046 ac_cpp_err=$ac_c_preproc_warn_flag
18047 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18048 else
18049 ac_cpp_err=
18051 else
18052 ac_cpp_err=yes
18054 if test -z "$ac_cpp_err"; then
18055 ac_header_preproc=yes
18056 else
18057 echo "$as_me: failed program was:" >&5
18058 sed 's/^/| /' conftest.$ac_ext >&5
18060 ac_header_preproc=no
18062 rm -f conftest.err conftest.$ac_ext
18063 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18064 echo "${ECHO_T}$ac_header_preproc" >&6
18066 # So? What about this header?
18067 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18068 yes:no: )
18069 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18070 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18071 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18072 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18073 ac_header_preproc=yes
18075 no:yes:* )
18076 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18077 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18078 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18079 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18080 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18081 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18082 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18083 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18085 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18086 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18087 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18089 cat <<\_ASBOX
18090 ## ----------------------------------------- ##
18091 ## Report this to the package-unused lists. ##
18092 ## ----------------------------------------- ##
18093 _ASBOX
18095 sed "s/^/$as_me: WARNING: /" >&2
18097 esac
18098 echo "$as_me:$LINENO: checking for $ac_header" >&5
18099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18101 echo $ECHO_N "(cached) $ECHO_C" >&6
18102 else
18103 eval "$as_ac_Header=\$ac_header_preproc"
18105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18106 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18109 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18110 cat >>confdefs.h <<_ACEOF
18111 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18112 _ACEOF
18116 done
18121 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18122 if test "${with_gnu_ld+set}" = set; then
18123 withval="$with_gnu_ld"
18124 test "$withval" = no || with_gnu_ld=yes
18125 else
18126 with_gnu_ld=no
18128 ac_prog=ld
18129 if test "$GCC" = yes; then
18130 # Check if gcc -print-prog-name=ld gives a path.
18131 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18132 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
18133 case $host in
18134 *-*-mingw*)
18135 # gcc leaves a trailing carriage return which upsets mingw
18136 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18138 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18139 esac
18140 case $ac_prog in
18141 # Accept absolute paths.
18142 [\\/]* | ?:[\\/]*)
18143 re_direlt='/[^/][^/]*/\.\./'
18144 # Canonicalize the pathname of ld
18145 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18146 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18147 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18148 done
18149 test -z "$LD" && LD="$ac_prog"
18152 # If it fails, then pretend we aren't using GCC.
18153 ac_prog=ld
18156 # If it is relative, then search for the first ld in PATH.
18157 with_gnu_ld=unknown
18159 esac
18160 elif test "$with_gnu_ld" = yes; then
18161 echo "$as_me:$LINENO: checking for GNU ld" >&5
18162 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18163 else
18164 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18165 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18167 if test "${lt_cv_path_LD+set}" = set; then
18168 echo $ECHO_N "(cached) $ECHO_C" >&6
18169 else
18170 if test -z "$LD"; then
18171 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18172 for ac_dir in $PATH; do
18173 IFS="$lt_save_ifs"
18174 test -z "$ac_dir" && ac_dir=.
18175 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18176 lt_cv_path_LD="$ac_dir/$ac_prog"
18177 # Check to see if the program is GNU ld. I'd rather use --version,
18178 # but apparently some variants of GNU ld only accept -v.
18179 # Break only if it was the GNU/non-GNU ld that we prefer.
18180 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18181 *GNU* | *'with BFD'*)
18182 test "$with_gnu_ld" != no && break
18185 test "$with_gnu_ld" != yes && break
18187 esac
18189 done
18190 IFS="$lt_save_ifs"
18191 else
18192 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18196 LD="$lt_cv_path_LD"
18197 if test -n "$LD"; then
18198 echo "$as_me:$LINENO: result: $LD" >&5
18199 echo "${ECHO_T}$LD" >&6
18200 else
18201 echo "$as_me:$LINENO: result: no" >&5
18202 echo "${ECHO_T}no" >&6
18204 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18205 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18206 { (exit 1); exit 1; }; }
18207 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18208 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18209 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18210 echo $ECHO_N "(cached) $ECHO_C" >&6
18211 else
18212 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18213 case `$LD -v 2>&1 </dev/null` in
18214 *GNU* | *'with BFD'*)
18215 lt_cv_prog_gnu_ld=yes
18218 lt_cv_prog_gnu_ld=no
18220 esac
18222 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18223 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
18224 with_gnu_ld=$lt_cv_prog_gnu_ld
18232 # If we're not using GNU ld, then there's no point in even trying these
18233 # tests. Check for that first. We should have already tested for gld
18234 # by now (in libtool), but require it now just to be safe...
18235 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
18236 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
18240 # The name set by libtool depends on the version of libtool. Shame on us
18241 # for depending on an impl detail, but c'est la vie. Older versions used
18242 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
18243 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
18244 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
18245 # set (hence we're using an older libtool), then set it.
18246 if test x${with_gnu_ld+set} != xset; then
18247 if test x${ac_cv_prog_gnu_ld+set} != xset; then
18248 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
18249 with_gnu_ld=no
18250 else
18251 with_gnu_ld=$ac_cv_prog_gnu_ld
18255 # Start by getting the version number. I think the libtool test already
18256 # does some of this, but throws away the result.
18257 if test x"$with_gnu_ld" = x"yes"; then
18258 echo "$as_me:$LINENO: checking for ld version" >&5
18259 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
18261 ldver=`$LD --version 2>/dev/null | head -1 | \
18262 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
18264 glibcxx_gnu_ld_version=`echo $ldver | \
18265 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
18266 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
18267 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
18270 # Set --gc-sections.
18271 glibcxx_gcsections_min_ld=21602
18272 if test x"$with_gnu_ld" = x"yes" &&
18273 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
18275 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
18276 # NB: This flag only works reliably after 2.16.1. Configure tests
18277 # for this are difficult, so hard wire a value that should work.
18279 ac_test_CFLAGS="${CFLAGS+set}"
18280 ac_save_CFLAGS="$CFLAGS"
18281 CFLAGS='-Wl,--gc-sections'
18283 # Check for -Wl,--gc-sections
18284 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
18285 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
18286 if test x$gcc_no_link = xyes; then
18287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18289 { (exit 1); exit 1; }; }
18291 cat >conftest.$ac_ext <<_ACEOF
18292 /* confdefs.h. */
18293 _ACEOF
18294 cat confdefs.h >>conftest.$ac_ext
18295 cat >>conftest.$ac_ext <<_ACEOF
18296 /* end confdefs.h. */
18297 int one(void) { return 1; }
18298 int two(void) { return 2; }
18301 main ()
18303 two();
18305 return 0;
18307 _ACEOF
18308 rm -f conftest.$ac_objext conftest$ac_exeext
18309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18310 (eval $ac_link) 2>conftest.er1
18311 ac_status=$?
18312 grep -v '^ *+' conftest.er1 >conftest.err
18313 rm -f conftest.er1
18314 cat conftest.err >&5
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); } &&
18317 { ac_try='test -z "$ac_c_werror_flag"
18318 || test ! -s conftest.err'
18319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18320 (eval $ac_try) 2>&5
18321 ac_status=$?
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); }; } &&
18324 { ac_try='test -s conftest$ac_exeext'
18325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18326 (eval $ac_try) 2>&5
18327 ac_status=$?
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); }; }; then
18330 ac_gcsections=yes
18331 else
18332 echo "$as_me: failed program was:" >&5
18333 sed 's/^/| /' conftest.$ac_ext >&5
18335 ac_gcsections=no
18337 rm -f conftest.err conftest.$ac_objext \
18338 conftest$ac_exeext conftest.$ac_ext
18339 if test "$ac_gcsections" = "yes"; then
18340 rm -f conftest.c
18341 touch conftest.c
18342 if $CC -c conftest.c; then
18343 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
18344 grep "Warning: gc-sections option ignored" > /dev/null; then
18345 ac_gcsections=no
18348 rm -f conftest.c conftest.o conftest
18350 if test "$ac_gcsections" = "yes"; then
18351 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
18353 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
18354 echo "${ECHO_T}$ac_gcsections" >&6
18356 if test "$ac_test_CFLAGS" = set; then
18357 CFLAGS="$ac_save_CFLAGS"
18358 else
18359 # this is the suspicious part
18360 CFLAGS=''
18364 # Set -z,relro.
18365 # Note this is only for shared objects.
18366 ac_ld_relro=no
18367 if test x"$with_gnu_ld" = x"yes"; then
18368 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
18369 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
18370 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
18371 if test -n "$cxx_z_relo"; then
18372 OPT_LDFLAGS="-Wl,-z,relro"
18373 ac_ld_relro=yes
18375 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
18376 echo "${ECHO_T}$ac_ld_relro" >&6
18379 # Set linker optimization flags.
18380 if test x"$with_gnu_ld" = x"yes"; then
18381 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
18388 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18389 ac_save_CXXFLAGS="$CXXFLAGS"
18390 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
18392 echo "$as_me:$LINENO: checking for sin in -lm" >&5
18393 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18394 if test "${ac_cv_lib_m_sin+set}" = set; then
18395 echo $ECHO_N "(cached) $ECHO_C" >&6
18396 else
18397 ac_check_lib_save_LIBS=$LIBS
18398 LIBS="-lm $LIBS"
18399 if test x$gcc_no_link = xyes; then
18400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18402 { (exit 1); exit 1; }; }
18404 cat >conftest.$ac_ext <<_ACEOF
18405 /* confdefs.h. */
18406 _ACEOF
18407 cat confdefs.h >>conftest.$ac_ext
18408 cat >>conftest.$ac_ext <<_ACEOF
18409 /* end confdefs.h. */
18411 /* Override any gcc2 internal prototype to avoid an error. */
18412 #ifdef __cplusplus
18413 extern "C"
18414 #endif
18415 /* We use char because int might match the return type of a gcc2
18416 builtin and then its argument prototype would still apply. */
18417 char sin ();
18419 main ()
18421 sin ();
18423 return 0;
18425 _ACEOF
18426 rm -f conftest.$ac_objext conftest$ac_exeext
18427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18428 (eval $ac_link) 2>conftest.er1
18429 ac_status=$?
18430 grep -v '^ *+' conftest.er1 >conftest.err
18431 rm -f conftest.er1
18432 cat conftest.err >&5
18433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18434 (exit $ac_status); } &&
18435 { ac_try='test -z "$ac_c_werror_flag"
18436 || test ! -s conftest.err'
18437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18438 (eval $ac_try) 2>&5
18439 ac_status=$?
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); }; } &&
18442 { ac_try='test -s conftest$ac_exeext'
18443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18444 (eval $ac_try) 2>&5
18445 ac_status=$?
18446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18447 (exit $ac_status); }; }; then
18448 ac_cv_lib_m_sin=yes
18449 else
18450 echo "$as_me: failed program was:" >&5
18451 sed 's/^/| /' conftest.$ac_ext >&5
18453 ac_cv_lib_m_sin=no
18455 rm -f conftest.err conftest.$ac_objext \
18456 conftest$ac_exeext conftest.$ac_ext
18457 LIBS=$ac_check_lib_save_LIBS
18459 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18460 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18461 if test $ac_cv_lib_m_sin = yes; then
18462 libm="-lm"
18465 ac_save_LIBS="$LIBS"
18466 LIBS="$LIBS $libm"
18470 echo "$as_me:$LINENO: checking for isinf declaration" >&5
18471 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
18472 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
18473 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
18474 echo $ECHO_N "(cached) $ECHO_C" >&6
18475 else
18479 ac_ext=cc
18480 ac_cpp='$CXXCPP $CPPFLAGS'
18481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18485 cat >conftest.$ac_ext <<_ACEOF
18486 /* confdefs.h. */
18487 _ACEOF
18488 cat confdefs.h >>conftest.$ac_ext
18489 cat >>conftest.$ac_ext <<_ACEOF
18490 /* end confdefs.h. */
18491 #include <math.h>
18492 #ifdef HAVE_IEEEFP_H
18493 #include <ieeefp.h>
18494 #endif
18497 main ()
18499 isinf(0);
18501 return 0;
18503 _ACEOF
18504 rm -f conftest.$ac_objext
18505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18506 (eval $ac_compile) 2>conftest.er1
18507 ac_status=$?
18508 grep -v '^ *+' conftest.er1 >conftest.err
18509 rm -f conftest.er1
18510 cat conftest.err >&5
18511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18512 (exit $ac_status); } &&
18513 { ac_try='test -z "$ac_cxx_werror_flag"
18514 || test ! -s conftest.err'
18515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18516 (eval $ac_try) 2>&5
18517 ac_status=$?
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); }; } &&
18520 { ac_try='test -s conftest.$ac_objext'
18521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18522 (eval $ac_try) 2>&5
18523 ac_status=$?
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); }; }; then
18526 glibcxx_cv_func_isinf_use=yes
18527 else
18528 echo "$as_me: failed program was:" >&5
18529 sed 's/^/| /' conftest.$ac_ext >&5
18531 glibcxx_cv_func_isinf_use=no
18533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18534 ac_ext=c
18535 ac_cpp='$CPP $CPPFLAGS'
18536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18544 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
18545 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
18547 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
18549 for ac_func in isinf
18551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18552 echo "$as_me:$LINENO: checking for $ac_func" >&5
18553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18554 if eval "test \"\${$as_ac_var+set}\" = set"; then
18555 echo $ECHO_N "(cached) $ECHO_C" >&6
18556 else
18557 if test x$gcc_no_link = xyes; then
18558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18560 { (exit 1); exit 1; }; }
18562 cat >conftest.$ac_ext <<_ACEOF
18563 /* confdefs.h. */
18564 _ACEOF
18565 cat confdefs.h >>conftest.$ac_ext
18566 cat >>conftest.$ac_ext <<_ACEOF
18567 /* end confdefs.h. */
18568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18570 #define $ac_func innocuous_$ac_func
18572 /* System header to define __stub macros and hopefully few prototypes,
18573 which can conflict with char $ac_func (); below.
18574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18575 <limits.h> exists even on freestanding compilers. */
18577 #ifdef __STDC__
18578 # include <limits.h>
18579 #else
18580 # include <assert.h>
18581 #endif
18583 #undef $ac_func
18585 /* Override any gcc2 internal prototype to avoid an error. */
18586 #ifdef __cplusplus
18587 extern "C"
18589 #endif
18590 /* We use char because int might match the return type of a gcc2
18591 builtin and then its argument prototype would still apply. */
18592 char $ac_func ();
18593 /* The GNU C library defines this for functions which it implements
18594 to always fail with ENOSYS. Some functions are actually named
18595 something starting with __ and the normal name is an alias. */
18596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18597 choke me
18598 #else
18599 char (*f) () = $ac_func;
18600 #endif
18601 #ifdef __cplusplus
18603 #endif
18606 main ()
18608 return f != $ac_func;
18610 return 0;
18612 _ACEOF
18613 rm -f conftest.$ac_objext conftest$ac_exeext
18614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18615 (eval $ac_link) 2>conftest.er1
18616 ac_status=$?
18617 grep -v '^ *+' conftest.er1 >conftest.err
18618 rm -f conftest.er1
18619 cat conftest.err >&5
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); } &&
18622 { ac_try='test -z "$ac_c_werror_flag"
18623 || test ! -s conftest.err'
18624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18625 (eval $ac_try) 2>&5
18626 ac_status=$?
18627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18628 (exit $ac_status); }; } &&
18629 { ac_try='test -s conftest$ac_exeext'
18630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18631 (eval $ac_try) 2>&5
18632 ac_status=$?
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); }; }; then
18635 eval "$as_ac_var=yes"
18636 else
18637 echo "$as_me: failed program was:" >&5
18638 sed 's/^/| /' conftest.$ac_ext >&5
18640 eval "$as_ac_var=no"
18642 rm -f conftest.err conftest.$ac_objext \
18643 conftest$ac_exeext conftest.$ac_ext
18645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18647 if test `eval echo '${'$as_ac_var'}'` = yes; then
18648 cat >>confdefs.h <<_ACEOF
18649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18650 _ACEOF
18653 done
18655 else
18657 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
18658 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
18659 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
18660 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
18661 echo $ECHO_N "(cached) $ECHO_C" >&6
18662 else
18666 ac_ext=cc
18667 ac_cpp='$CXXCPP $CPPFLAGS'
18668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18672 cat >conftest.$ac_ext <<_ACEOF
18673 /* confdefs.h. */
18674 _ACEOF
18675 cat confdefs.h >>conftest.$ac_ext
18676 cat >>conftest.$ac_ext <<_ACEOF
18677 /* end confdefs.h. */
18678 #include <math.h>
18679 #ifdef HAVE_IEEEFP_H
18680 #include <ieeefp.h>
18681 #endif
18684 main ()
18686 _isinf(0);
18688 return 0;
18690 _ACEOF
18691 rm -f conftest.$ac_objext
18692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18693 (eval $ac_compile) 2>conftest.er1
18694 ac_status=$?
18695 grep -v '^ *+' conftest.er1 >conftest.err
18696 rm -f conftest.er1
18697 cat conftest.err >&5
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); } &&
18700 { ac_try='test -z "$ac_cxx_werror_flag"
18701 || test ! -s conftest.err'
18702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18703 (eval $ac_try) 2>&5
18704 ac_status=$?
18705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18706 (exit $ac_status); }; } &&
18707 { ac_try='test -s conftest.$ac_objext'
18708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18709 (eval $ac_try) 2>&5
18710 ac_status=$?
18711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18712 (exit $ac_status); }; }; then
18713 glibcxx_cv_func__isinf_use=yes
18714 else
18715 echo "$as_me: failed program was:" >&5
18716 sed 's/^/| /' conftest.$ac_ext >&5
18718 glibcxx_cv_func__isinf_use=no
18720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18721 ac_ext=c
18722 ac_cpp='$CPP $CPPFLAGS'
18723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18731 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
18732 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
18734 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
18736 for ac_func in _isinf
18738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18739 echo "$as_me:$LINENO: checking for $ac_func" >&5
18740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18741 if eval "test \"\${$as_ac_var+set}\" = set"; then
18742 echo $ECHO_N "(cached) $ECHO_C" >&6
18743 else
18744 if test x$gcc_no_link = xyes; then
18745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18747 { (exit 1); exit 1; }; }
18749 cat >conftest.$ac_ext <<_ACEOF
18750 /* confdefs.h. */
18751 _ACEOF
18752 cat confdefs.h >>conftest.$ac_ext
18753 cat >>conftest.$ac_ext <<_ACEOF
18754 /* end confdefs.h. */
18755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18757 #define $ac_func innocuous_$ac_func
18759 /* System header to define __stub macros and hopefully few prototypes,
18760 which can conflict with char $ac_func (); below.
18761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18762 <limits.h> exists even on freestanding compilers. */
18764 #ifdef __STDC__
18765 # include <limits.h>
18766 #else
18767 # include <assert.h>
18768 #endif
18770 #undef $ac_func
18772 /* Override any gcc2 internal prototype to avoid an error. */
18773 #ifdef __cplusplus
18774 extern "C"
18776 #endif
18777 /* We use char because int might match the return type of a gcc2
18778 builtin and then its argument prototype would still apply. */
18779 char $ac_func ();
18780 /* The GNU C library defines this for functions which it implements
18781 to always fail with ENOSYS. Some functions are actually named
18782 something starting with __ and the normal name is an alias. */
18783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18784 choke me
18785 #else
18786 char (*f) () = $ac_func;
18787 #endif
18788 #ifdef __cplusplus
18790 #endif
18793 main ()
18795 return f != $ac_func;
18797 return 0;
18799 _ACEOF
18800 rm -f conftest.$ac_objext conftest$ac_exeext
18801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18802 (eval $ac_link) 2>conftest.er1
18803 ac_status=$?
18804 grep -v '^ *+' conftest.er1 >conftest.err
18805 rm -f conftest.er1
18806 cat conftest.err >&5
18807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18808 (exit $ac_status); } &&
18809 { ac_try='test -z "$ac_c_werror_flag"
18810 || test ! -s conftest.err'
18811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18812 (eval $ac_try) 2>&5
18813 ac_status=$?
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); }; } &&
18816 { ac_try='test -s conftest$ac_exeext'
18817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18818 (eval $ac_try) 2>&5
18819 ac_status=$?
18820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18821 (exit $ac_status); }; }; then
18822 eval "$as_ac_var=yes"
18823 else
18824 echo "$as_me: failed program was:" >&5
18825 sed 's/^/| /' conftest.$ac_ext >&5
18827 eval "$as_ac_var=no"
18829 rm -f conftest.err conftest.$ac_objext \
18830 conftest$ac_exeext conftest.$ac_ext
18832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18834 if test `eval echo '${'$as_ac_var'}'` = yes; then
18835 cat >>confdefs.h <<_ACEOF
18836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18837 _ACEOF
18840 done
18850 echo "$as_me:$LINENO: checking for isnan declaration" >&5
18851 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
18852 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
18853 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
18854 echo $ECHO_N "(cached) $ECHO_C" >&6
18855 else
18859 ac_ext=cc
18860 ac_cpp='$CXXCPP $CPPFLAGS'
18861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18865 cat >conftest.$ac_ext <<_ACEOF
18866 /* confdefs.h. */
18867 _ACEOF
18868 cat confdefs.h >>conftest.$ac_ext
18869 cat >>conftest.$ac_ext <<_ACEOF
18870 /* end confdefs.h. */
18871 #include <math.h>
18872 #ifdef HAVE_IEEEFP_H
18873 #include <ieeefp.h>
18874 #endif
18877 main ()
18879 isnan(0);
18881 return 0;
18883 _ACEOF
18884 rm -f conftest.$ac_objext
18885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18886 (eval $ac_compile) 2>conftest.er1
18887 ac_status=$?
18888 grep -v '^ *+' conftest.er1 >conftest.err
18889 rm -f conftest.er1
18890 cat conftest.err >&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); } &&
18893 { ac_try='test -z "$ac_cxx_werror_flag"
18894 || test ! -s conftest.err'
18895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18896 (eval $ac_try) 2>&5
18897 ac_status=$?
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); }; } &&
18900 { ac_try='test -s conftest.$ac_objext'
18901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18902 (eval $ac_try) 2>&5
18903 ac_status=$?
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); }; }; then
18906 glibcxx_cv_func_isnan_use=yes
18907 else
18908 echo "$as_me: failed program was:" >&5
18909 sed 's/^/| /' conftest.$ac_ext >&5
18911 glibcxx_cv_func_isnan_use=no
18913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18914 ac_ext=c
18915 ac_cpp='$CPP $CPPFLAGS'
18916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18924 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
18925 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
18927 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
18929 for ac_func in isnan
18931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18932 echo "$as_me:$LINENO: checking for $ac_func" >&5
18933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18934 if eval "test \"\${$as_ac_var+set}\" = set"; then
18935 echo $ECHO_N "(cached) $ECHO_C" >&6
18936 else
18937 if test x$gcc_no_link = xyes; then
18938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18940 { (exit 1); exit 1; }; }
18942 cat >conftest.$ac_ext <<_ACEOF
18943 /* confdefs.h. */
18944 _ACEOF
18945 cat confdefs.h >>conftest.$ac_ext
18946 cat >>conftest.$ac_ext <<_ACEOF
18947 /* end confdefs.h. */
18948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18950 #define $ac_func innocuous_$ac_func
18952 /* System header to define __stub macros and hopefully few prototypes,
18953 which can conflict with char $ac_func (); below.
18954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18955 <limits.h> exists even on freestanding compilers. */
18957 #ifdef __STDC__
18958 # include <limits.h>
18959 #else
18960 # include <assert.h>
18961 #endif
18963 #undef $ac_func
18965 /* Override any gcc2 internal prototype to avoid an error. */
18966 #ifdef __cplusplus
18967 extern "C"
18969 #endif
18970 /* We use char because int might match the return type of a gcc2
18971 builtin and then its argument prototype would still apply. */
18972 char $ac_func ();
18973 /* The GNU C library defines this for functions which it implements
18974 to always fail with ENOSYS. Some functions are actually named
18975 something starting with __ and the normal name is an alias. */
18976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18977 choke me
18978 #else
18979 char (*f) () = $ac_func;
18980 #endif
18981 #ifdef __cplusplus
18983 #endif
18986 main ()
18988 return f != $ac_func;
18990 return 0;
18992 _ACEOF
18993 rm -f conftest.$ac_objext conftest$ac_exeext
18994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18995 (eval $ac_link) 2>conftest.er1
18996 ac_status=$?
18997 grep -v '^ *+' conftest.er1 >conftest.err
18998 rm -f conftest.er1
18999 cat conftest.err >&5
19000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19001 (exit $ac_status); } &&
19002 { ac_try='test -z "$ac_c_werror_flag"
19003 || test ! -s conftest.err'
19004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19005 (eval $ac_try) 2>&5
19006 ac_status=$?
19007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008 (exit $ac_status); }; } &&
19009 { ac_try='test -s conftest$ac_exeext'
19010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19011 (eval $ac_try) 2>&5
19012 ac_status=$?
19013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19014 (exit $ac_status); }; }; then
19015 eval "$as_ac_var=yes"
19016 else
19017 echo "$as_me: failed program was:" >&5
19018 sed 's/^/| /' conftest.$ac_ext >&5
19020 eval "$as_ac_var=no"
19022 rm -f conftest.err conftest.$ac_objext \
19023 conftest$ac_exeext conftest.$ac_ext
19025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19027 if test `eval echo '${'$as_ac_var'}'` = yes; then
19028 cat >>confdefs.h <<_ACEOF
19029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19030 _ACEOF
19033 done
19035 else
19037 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
19038 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
19039 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19040 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
19041 echo $ECHO_N "(cached) $ECHO_C" >&6
19042 else
19046 ac_ext=cc
19047 ac_cpp='$CXXCPP $CPPFLAGS'
19048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19052 cat >conftest.$ac_ext <<_ACEOF
19053 /* confdefs.h. */
19054 _ACEOF
19055 cat confdefs.h >>conftest.$ac_ext
19056 cat >>conftest.$ac_ext <<_ACEOF
19057 /* end confdefs.h. */
19058 #include <math.h>
19059 #ifdef HAVE_IEEEFP_H
19060 #include <ieeefp.h>
19061 #endif
19064 main ()
19066 _isnan(0);
19068 return 0;
19070 _ACEOF
19071 rm -f conftest.$ac_objext
19072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19073 (eval $ac_compile) 2>conftest.er1
19074 ac_status=$?
19075 grep -v '^ *+' conftest.er1 >conftest.err
19076 rm -f conftest.er1
19077 cat conftest.err >&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); } &&
19080 { ac_try='test -z "$ac_cxx_werror_flag"
19081 || test ! -s conftest.err'
19082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19083 (eval $ac_try) 2>&5
19084 ac_status=$?
19085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086 (exit $ac_status); }; } &&
19087 { ac_try='test -s conftest.$ac_objext'
19088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19089 (eval $ac_try) 2>&5
19090 ac_status=$?
19091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092 (exit $ac_status); }; }; then
19093 glibcxx_cv_func__isnan_use=yes
19094 else
19095 echo "$as_me: failed program was:" >&5
19096 sed 's/^/| /' conftest.$ac_ext >&5
19098 glibcxx_cv_func__isnan_use=no
19100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19101 ac_ext=c
19102 ac_cpp='$CPP $CPPFLAGS'
19103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19111 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
19112 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
19114 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19116 for ac_func in _isnan
19118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19119 echo "$as_me:$LINENO: checking for $ac_func" >&5
19120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19121 if eval "test \"\${$as_ac_var+set}\" = set"; then
19122 echo $ECHO_N "(cached) $ECHO_C" >&6
19123 else
19124 if test x$gcc_no_link = xyes; then
19125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19127 { (exit 1); exit 1; }; }
19129 cat >conftest.$ac_ext <<_ACEOF
19130 /* confdefs.h. */
19131 _ACEOF
19132 cat confdefs.h >>conftest.$ac_ext
19133 cat >>conftest.$ac_ext <<_ACEOF
19134 /* end confdefs.h. */
19135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19137 #define $ac_func innocuous_$ac_func
19139 /* System header to define __stub macros and hopefully few prototypes,
19140 which can conflict with char $ac_func (); below.
19141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19142 <limits.h> exists even on freestanding compilers. */
19144 #ifdef __STDC__
19145 # include <limits.h>
19146 #else
19147 # include <assert.h>
19148 #endif
19150 #undef $ac_func
19152 /* Override any gcc2 internal prototype to avoid an error. */
19153 #ifdef __cplusplus
19154 extern "C"
19156 #endif
19157 /* We use char because int might match the return type of a gcc2
19158 builtin and then its argument prototype would still apply. */
19159 char $ac_func ();
19160 /* The GNU C library defines this for functions which it implements
19161 to always fail with ENOSYS. Some functions are actually named
19162 something starting with __ and the normal name is an alias. */
19163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19164 choke me
19165 #else
19166 char (*f) () = $ac_func;
19167 #endif
19168 #ifdef __cplusplus
19170 #endif
19173 main ()
19175 return f != $ac_func;
19177 return 0;
19179 _ACEOF
19180 rm -f conftest.$ac_objext conftest$ac_exeext
19181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19182 (eval $ac_link) 2>conftest.er1
19183 ac_status=$?
19184 grep -v '^ *+' conftest.er1 >conftest.err
19185 rm -f conftest.er1
19186 cat conftest.err >&5
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); } &&
19189 { ac_try='test -z "$ac_c_werror_flag"
19190 || test ! -s conftest.err'
19191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19192 (eval $ac_try) 2>&5
19193 ac_status=$?
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); }; } &&
19196 { ac_try='test -s conftest$ac_exeext'
19197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19198 (eval $ac_try) 2>&5
19199 ac_status=$?
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); }; }; then
19202 eval "$as_ac_var=yes"
19203 else
19204 echo "$as_me: failed program was:" >&5
19205 sed 's/^/| /' conftest.$ac_ext >&5
19207 eval "$as_ac_var=no"
19209 rm -f conftest.err conftest.$ac_objext \
19210 conftest$ac_exeext conftest.$ac_ext
19212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19214 if test `eval echo '${'$as_ac_var'}'` = yes; then
19215 cat >>confdefs.h <<_ACEOF
19216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19217 _ACEOF
19220 done
19230 echo "$as_me:$LINENO: checking for finite declaration" >&5
19231 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
19232 if test x${glibcxx_cv_func_finite_use+set} != xset; then
19233 if test "${glibcxx_cv_func_finite_use+set}" = set; then
19234 echo $ECHO_N "(cached) $ECHO_C" >&6
19235 else
19239 ac_ext=cc
19240 ac_cpp='$CXXCPP $CPPFLAGS'
19241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19245 cat >conftest.$ac_ext <<_ACEOF
19246 /* confdefs.h. */
19247 _ACEOF
19248 cat confdefs.h >>conftest.$ac_ext
19249 cat >>conftest.$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19251 #include <math.h>
19252 #ifdef HAVE_IEEEFP_H
19253 #include <ieeefp.h>
19254 #endif
19257 main ()
19259 finite(0);
19261 return 0;
19263 _ACEOF
19264 rm -f conftest.$ac_objext
19265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19266 (eval $ac_compile) 2>conftest.er1
19267 ac_status=$?
19268 grep -v '^ *+' conftest.er1 >conftest.err
19269 rm -f conftest.er1
19270 cat conftest.err >&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); } &&
19273 { ac_try='test -z "$ac_cxx_werror_flag"
19274 || test ! -s conftest.err'
19275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19276 (eval $ac_try) 2>&5
19277 ac_status=$?
19278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19279 (exit $ac_status); }; } &&
19280 { ac_try='test -s conftest.$ac_objext'
19281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19282 (eval $ac_try) 2>&5
19283 ac_status=$?
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); }; }; then
19286 glibcxx_cv_func_finite_use=yes
19287 else
19288 echo "$as_me: failed program was:" >&5
19289 sed 's/^/| /' conftest.$ac_ext >&5
19291 glibcxx_cv_func_finite_use=no
19293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19294 ac_ext=c
19295 ac_cpp='$CPP $CPPFLAGS'
19296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19304 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
19305 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
19307 if test x$glibcxx_cv_func_finite_use = x"yes"; then
19309 for ac_func in finite
19311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19312 echo "$as_me:$LINENO: checking for $ac_func" >&5
19313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19314 if eval "test \"\${$as_ac_var+set}\" = set"; then
19315 echo $ECHO_N "(cached) $ECHO_C" >&6
19316 else
19317 if test x$gcc_no_link = xyes; then
19318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19320 { (exit 1); exit 1; }; }
19322 cat >conftest.$ac_ext <<_ACEOF
19323 /* confdefs.h. */
19324 _ACEOF
19325 cat confdefs.h >>conftest.$ac_ext
19326 cat >>conftest.$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19330 #define $ac_func innocuous_$ac_func
19332 /* System header to define __stub macros and hopefully few prototypes,
19333 which can conflict with char $ac_func (); below.
19334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19335 <limits.h> exists even on freestanding compilers. */
19337 #ifdef __STDC__
19338 # include <limits.h>
19339 #else
19340 # include <assert.h>
19341 #endif
19343 #undef $ac_func
19345 /* Override any gcc2 internal prototype to avoid an error. */
19346 #ifdef __cplusplus
19347 extern "C"
19349 #endif
19350 /* We use char because int might match the return type of a gcc2
19351 builtin and then its argument prototype would still apply. */
19352 char $ac_func ();
19353 /* The GNU C library defines this for functions which it implements
19354 to always fail with ENOSYS. Some functions are actually named
19355 something starting with __ and the normal name is an alias. */
19356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19357 choke me
19358 #else
19359 char (*f) () = $ac_func;
19360 #endif
19361 #ifdef __cplusplus
19363 #endif
19366 main ()
19368 return f != $ac_func;
19370 return 0;
19372 _ACEOF
19373 rm -f conftest.$ac_objext conftest$ac_exeext
19374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19375 (eval $ac_link) 2>conftest.er1
19376 ac_status=$?
19377 grep -v '^ *+' conftest.er1 >conftest.err
19378 rm -f conftest.er1
19379 cat conftest.err >&5
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); } &&
19382 { ac_try='test -z "$ac_c_werror_flag"
19383 || test ! -s conftest.err'
19384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19385 (eval $ac_try) 2>&5
19386 ac_status=$?
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); }; } &&
19389 { ac_try='test -s conftest$ac_exeext'
19390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19391 (eval $ac_try) 2>&5
19392 ac_status=$?
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); }; }; then
19395 eval "$as_ac_var=yes"
19396 else
19397 echo "$as_me: failed program was:" >&5
19398 sed 's/^/| /' conftest.$ac_ext >&5
19400 eval "$as_ac_var=no"
19402 rm -f conftest.err conftest.$ac_objext \
19403 conftest$ac_exeext conftest.$ac_ext
19405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19407 if test `eval echo '${'$as_ac_var'}'` = yes; then
19408 cat >>confdefs.h <<_ACEOF
19409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19410 _ACEOF
19413 done
19415 else
19417 echo "$as_me:$LINENO: checking for _finite declaration" >&5
19418 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
19419 if test x${glibcxx_cv_func__finite_use+set} != xset; then
19420 if test "${glibcxx_cv_func__finite_use+set}" = set; then
19421 echo $ECHO_N "(cached) $ECHO_C" >&6
19422 else
19426 ac_ext=cc
19427 ac_cpp='$CXXCPP $CPPFLAGS'
19428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19432 cat >conftest.$ac_ext <<_ACEOF
19433 /* confdefs.h. */
19434 _ACEOF
19435 cat confdefs.h >>conftest.$ac_ext
19436 cat >>conftest.$ac_ext <<_ACEOF
19437 /* end confdefs.h. */
19438 #include <math.h>
19439 #ifdef HAVE_IEEEFP_H
19440 #include <ieeefp.h>
19441 #endif
19444 main ()
19446 _finite(0);
19448 return 0;
19450 _ACEOF
19451 rm -f conftest.$ac_objext
19452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19453 (eval $ac_compile) 2>conftest.er1
19454 ac_status=$?
19455 grep -v '^ *+' conftest.er1 >conftest.err
19456 rm -f conftest.er1
19457 cat conftest.err >&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); } &&
19460 { ac_try='test -z "$ac_cxx_werror_flag"
19461 || test ! -s conftest.err'
19462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19463 (eval $ac_try) 2>&5
19464 ac_status=$?
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); }; } &&
19467 { ac_try='test -s conftest.$ac_objext'
19468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19469 (eval $ac_try) 2>&5
19470 ac_status=$?
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); }; }; then
19473 glibcxx_cv_func__finite_use=yes
19474 else
19475 echo "$as_me: failed program was:" >&5
19476 sed 's/^/| /' conftest.$ac_ext >&5
19478 glibcxx_cv_func__finite_use=no
19480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19481 ac_ext=c
19482 ac_cpp='$CPP $CPPFLAGS'
19483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19491 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
19492 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
19494 if test x$glibcxx_cv_func__finite_use = x"yes"; then
19496 for ac_func in _finite
19498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19499 echo "$as_me:$LINENO: checking for $ac_func" >&5
19500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19501 if eval "test \"\${$as_ac_var+set}\" = set"; then
19502 echo $ECHO_N "(cached) $ECHO_C" >&6
19503 else
19504 if test x$gcc_no_link = xyes; then
19505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19507 { (exit 1); exit 1; }; }
19509 cat >conftest.$ac_ext <<_ACEOF
19510 /* confdefs.h. */
19511 _ACEOF
19512 cat confdefs.h >>conftest.$ac_ext
19513 cat >>conftest.$ac_ext <<_ACEOF
19514 /* end confdefs.h. */
19515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19516 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19517 #define $ac_func innocuous_$ac_func
19519 /* System header to define __stub macros and hopefully few prototypes,
19520 which can conflict with char $ac_func (); below.
19521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19522 <limits.h> exists even on freestanding compilers. */
19524 #ifdef __STDC__
19525 # include <limits.h>
19526 #else
19527 # include <assert.h>
19528 #endif
19530 #undef $ac_func
19532 /* Override any gcc2 internal prototype to avoid an error. */
19533 #ifdef __cplusplus
19534 extern "C"
19536 #endif
19537 /* We use char because int might match the return type of a gcc2
19538 builtin and then its argument prototype would still apply. */
19539 char $ac_func ();
19540 /* The GNU C library defines this for functions which it implements
19541 to always fail with ENOSYS. Some functions are actually named
19542 something starting with __ and the normal name is an alias. */
19543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19544 choke me
19545 #else
19546 char (*f) () = $ac_func;
19547 #endif
19548 #ifdef __cplusplus
19550 #endif
19553 main ()
19555 return f != $ac_func;
19557 return 0;
19559 _ACEOF
19560 rm -f conftest.$ac_objext conftest$ac_exeext
19561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19562 (eval $ac_link) 2>conftest.er1
19563 ac_status=$?
19564 grep -v '^ *+' conftest.er1 >conftest.err
19565 rm -f conftest.er1
19566 cat conftest.err >&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); } &&
19569 { ac_try='test -z "$ac_c_werror_flag"
19570 || test ! -s conftest.err'
19571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19572 (eval $ac_try) 2>&5
19573 ac_status=$?
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); }; } &&
19576 { ac_try='test -s conftest$ac_exeext'
19577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19578 (eval $ac_try) 2>&5
19579 ac_status=$?
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); }; }; then
19582 eval "$as_ac_var=yes"
19583 else
19584 echo "$as_me: failed program was:" >&5
19585 sed 's/^/| /' conftest.$ac_ext >&5
19587 eval "$as_ac_var=no"
19589 rm -f conftest.err conftest.$ac_objext \
19590 conftest$ac_exeext conftest.$ac_ext
19592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19594 if test `eval echo '${'$as_ac_var'}'` = yes; then
19595 cat >>confdefs.h <<_ACEOF
19596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19597 _ACEOF
19600 done
19610 echo "$as_me:$LINENO: checking for copysign declaration" >&5
19611 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
19612 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
19613 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
19614 echo $ECHO_N "(cached) $ECHO_C" >&6
19615 else
19619 ac_ext=cc
19620 ac_cpp='$CXXCPP $CPPFLAGS'
19621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19625 cat >conftest.$ac_ext <<_ACEOF
19626 /* confdefs.h. */
19627 _ACEOF
19628 cat confdefs.h >>conftest.$ac_ext
19629 cat >>conftest.$ac_ext <<_ACEOF
19630 /* end confdefs.h. */
19631 #include <math.h>
19633 main ()
19635 copysign(0, 0);
19637 return 0;
19639 _ACEOF
19640 rm -f conftest.$ac_objext
19641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19642 (eval $ac_compile) 2>conftest.er1
19643 ac_status=$?
19644 grep -v '^ *+' conftest.er1 >conftest.err
19645 rm -f conftest.er1
19646 cat conftest.err >&5
19647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19648 (exit $ac_status); } &&
19649 { ac_try='test -z "$ac_cxx_werror_flag"
19650 || test ! -s conftest.err'
19651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19652 (eval $ac_try) 2>&5
19653 ac_status=$?
19654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655 (exit $ac_status); }; } &&
19656 { ac_try='test -s conftest.$ac_objext'
19657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19658 (eval $ac_try) 2>&5
19659 ac_status=$?
19660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661 (exit $ac_status); }; }; then
19662 glibcxx_cv_func_copysign_use=yes
19663 else
19664 echo "$as_me: failed program was:" >&5
19665 sed 's/^/| /' conftest.$ac_ext >&5
19667 glibcxx_cv_func_copysign_use=no
19669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19670 ac_ext=c
19671 ac_cpp='$CPP $CPPFLAGS'
19672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19680 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
19681 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
19683 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
19685 for ac_func in copysign
19687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19688 echo "$as_me:$LINENO: checking for $ac_func" >&5
19689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19690 if eval "test \"\${$as_ac_var+set}\" = set"; then
19691 echo $ECHO_N "(cached) $ECHO_C" >&6
19692 else
19693 if test x$gcc_no_link = xyes; then
19694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19696 { (exit 1); exit 1; }; }
19698 cat >conftest.$ac_ext <<_ACEOF
19699 /* confdefs.h. */
19700 _ACEOF
19701 cat confdefs.h >>conftest.$ac_ext
19702 cat >>conftest.$ac_ext <<_ACEOF
19703 /* end confdefs.h. */
19704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19706 #define $ac_func innocuous_$ac_func
19708 /* System header to define __stub macros and hopefully few prototypes,
19709 which can conflict with char $ac_func (); below.
19710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19711 <limits.h> exists even on freestanding compilers. */
19713 #ifdef __STDC__
19714 # include <limits.h>
19715 #else
19716 # include <assert.h>
19717 #endif
19719 #undef $ac_func
19721 /* Override any gcc2 internal prototype to avoid an error. */
19722 #ifdef __cplusplus
19723 extern "C"
19725 #endif
19726 /* We use char because int might match the return type of a gcc2
19727 builtin and then its argument prototype would still apply. */
19728 char $ac_func ();
19729 /* The GNU C library defines this for functions which it implements
19730 to always fail with ENOSYS. Some functions are actually named
19731 something starting with __ and the normal name is an alias. */
19732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19733 choke me
19734 #else
19735 char (*f) () = $ac_func;
19736 #endif
19737 #ifdef __cplusplus
19739 #endif
19742 main ()
19744 return f != $ac_func;
19746 return 0;
19748 _ACEOF
19749 rm -f conftest.$ac_objext conftest$ac_exeext
19750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19751 (eval $ac_link) 2>conftest.er1
19752 ac_status=$?
19753 grep -v '^ *+' conftest.er1 >conftest.err
19754 rm -f conftest.er1
19755 cat conftest.err >&5
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); } &&
19758 { ac_try='test -z "$ac_c_werror_flag"
19759 || test ! -s conftest.err'
19760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19761 (eval $ac_try) 2>&5
19762 ac_status=$?
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); }; } &&
19765 { ac_try='test -s conftest$ac_exeext'
19766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19767 (eval $ac_try) 2>&5
19768 ac_status=$?
19769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770 (exit $ac_status); }; }; then
19771 eval "$as_ac_var=yes"
19772 else
19773 echo "$as_me: failed program was:" >&5
19774 sed 's/^/| /' conftest.$ac_ext >&5
19776 eval "$as_ac_var=no"
19778 rm -f conftest.err conftest.$ac_objext \
19779 conftest$ac_exeext conftest.$ac_ext
19781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19783 if test `eval echo '${'$as_ac_var'}'` = yes; then
19784 cat >>confdefs.h <<_ACEOF
19785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19786 _ACEOF
19789 done
19791 else
19793 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
19794 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
19795 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
19796 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
19797 echo $ECHO_N "(cached) $ECHO_C" >&6
19798 else
19802 ac_ext=cc
19803 ac_cpp='$CXXCPP $CPPFLAGS'
19804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19808 cat >conftest.$ac_ext <<_ACEOF
19809 /* confdefs.h. */
19810 _ACEOF
19811 cat confdefs.h >>conftest.$ac_ext
19812 cat >>conftest.$ac_ext <<_ACEOF
19813 /* end confdefs.h. */
19814 #include <math.h>
19816 main ()
19818 _copysign(0, 0);
19820 return 0;
19822 _ACEOF
19823 rm -f conftest.$ac_objext
19824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19825 (eval $ac_compile) 2>conftest.er1
19826 ac_status=$?
19827 grep -v '^ *+' conftest.er1 >conftest.err
19828 rm -f conftest.er1
19829 cat conftest.err >&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); } &&
19832 { ac_try='test -z "$ac_cxx_werror_flag"
19833 || test ! -s conftest.err'
19834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19835 (eval $ac_try) 2>&5
19836 ac_status=$?
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); }; } &&
19839 { ac_try='test -s conftest.$ac_objext'
19840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19841 (eval $ac_try) 2>&5
19842 ac_status=$?
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); }; }; then
19845 glibcxx_cv_func__copysign_use=yes
19846 else
19847 echo "$as_me: failed program was:" >&5
19848 sed 's/^/| /' conftest.$ac_ext >&5
19850 glibcxx_cv_func__copysign_use=no
19852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19853 ac_ext=c
19854 ac_cpp='$CPP $CPPFLAGS'
19855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19863 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
19864 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
19866 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
19868 for ac_func in _copysign
19870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19871 echo "$as_me:$LINENO: checking for $ac_func" >&5
19872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19873 if eval "test \"\${$as_ac_var+set}\" = set"; then
19874 echo $ECHO_N "(cached) $ECHO_C" >&6
19875 else
19876 if test x$gcc_no_link = xyes; then
19877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19879 { (exit 1); exit 1; }; }
19881 cat >conftest.$ac_ext <<_ACEOF
19882 /* confdefs.h. */
19883 _ACEOF
19884 cat confdefs.h >>conftest.$ac_ext
19885 cat >>conftest.$ac_ext <<_ACEOF
19886 /* end confdefs.h. */
19887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19889 #define $ac_func innocuous_$ac_func
19891 /* System header to define __stub macros and hopefully few prototypes,
19892 which can conflict with char $ac_func (); below.
19893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19894 <limits.h> exists even on freestanding compilers. */
19896 #ifdef __STDC__
19897 # include <limits.h>
19898 #else
19899 # include <assert.h>
19900 #endif
19902 #undef $ac_func
19904 /* Override any gcc2 internal prototype to avoid an error. */
19905 #ifdef __cplusplus
19906 extern "C"
19908 #endif
19909 /* We use char because int might match the return type of a gcc2
19910 builtin and then its argument prototype would still apply. */
19911 char $ac_func ();
19912 /* The GNU C library defines this for functions which it implements
19913 to always fail with ENOSYS. Some functions are actually named
19914 something starting with __ and the normal name is an alias. */
19915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19916 choke me
19917 #else
19918 char (*f) () = $ac_func;
19919 #endif
19920 #ifdef __cplusplus
19922 #endif
19925 main ()
19927 return f != $ac_func;
19929 return 0;
19931 _ACEOF
19932 rm -f conftest.$ac_objext conftest$ac_exeext
19933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19934 (eval $ac_link) 2>conftest.er1
19935 ac_status=$?
19936 grep -v '^ *+' conftest.er1 >conftest.err
19937 rm -f conftest.er1
19938 cat conftest.err >&5
19939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19940 (exit $ac_status); } &&
19941 { ac_try='test -z "$ac_c_werror_flag"
19942 || test ! -s conftest.err'
19943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19944 (eval $ac_try) 2>&5
19945 ac_status=$?
19946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947 (exit $ac_status); }; } &&
19948 { ac_try='test -s conftest$ac_exeext'
19949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19950 (eval $ac_try) 2>&5
19951 ac_status=$?
19952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953 (exit $ac_status); }; }; then
19954 eval "$as_ac_var=yes"
19955 else
19956 echo "$as_me: failed program was:" >&5
19957 sed 's/^/| /' conftest.$ac_ext >&5
19959 eval "$as_ac_var=no"
19961 rm -f conftest.err conftest.$ac_objext \
19962 conftest$ac_exeext conftest.$ac_ext
19964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19966 if test `eval echo '${'$as_ac_var'}'` = yes; then
19967 cat >>confdefs.h <<_ACEOF
19968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19969 _ACEOF
19972 done
19982 echo "$as_me:$LINENO: checking for sincos declaration" >&5
19983 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
19984 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
19985 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
19986 echo $ECHO_N "(cached) $ECHO_C" >&6
19987 else
19991 ac_ext=cc
19992 ac_cpp='$CXXCPP $CPPFLAGS'
19993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19997 cat >conftest.$ac_ext <<_ACEOF
19998 /* confdefs.h. */
19999 _ACEOF
20000 cat confdefs.h >>conftest.$ac_ext
20001 cat >>conftest.$ac_ext <<_ACEOF
20002 /* end confdefs.h. */
20003 #include <math.h>
20005 main ()
20007 sincos(0, 0, 0);
20009 return 0;
20011 _ACEOF
20012 rm -f conftest.$ac_objext
20013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20014 (eval $ac_compile) 2>conftest.er1
20015 ac_status=$?
20016 grep -v '^ *+' conftest.er1 >conftest.err
20017 rm -f conftest.er1
20018 cat conftest.err >&5
20019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20020 (exit $ac_status); } &&
20021 { ac_try='test -z "$ac_cxx_werror_flag"
20022 || test ! -s conftest.err'
20023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20024 (eval $ac_try) 2>&5
20025 ac_status=$?
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); }; } &&
20028 { ac_try='test -s conftest.$ac_objext'
20029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030 (eval $ac_try) 2>&5
20031 ac_status=$?
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; }; then
20034 glibcxx_cv_func_sincos_use=yes
20035 else
20036 echo "$as_me: failed program was:" >&5
20037 sed 's/^/| /' conftest.$ac_ext >&5
20039 glibcxx_cv_func_sincos_use=no
20041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20042 ac_ext=c
20043 ac_cpp='$CPP $CPPFLAGS'
20044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20052 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
20053 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
20055 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20057 for ac_func in sincos
20059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20060 echo "$as_me:$LINENO: checking for $ac_func" >&5
20061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20062 if eval "test \"\${$as_ac_var+set}\" = set"; then
20063 echo $ECHO_N "(cached) $ECHO_C" >&6
20064 else
20065 if test x$gcc_no_link = xyes; then
20066 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20067 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20068 { (exit 1); exit 1; }; }
20070 cat >conftest.$ac_ext <<_ACEOF
20071 /* confdefs.h. */
20072 _ACEOF
20073 cat confdefs.h >>conftest.$ac_ext
20074 cat >>conftest.$ac_ext <<_ACEOF
20075 /* end confdefs.h. */
20076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20078 #define $ac_func innocuous_$ac_func
20080 /* System header to define __stub macros and hopefully few prototypes,
20081 which can conflict with char $ac_func (); below.
20082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20083 <limits.h> exists even on freestanding compilers. */
20085 #ifdef __STDC__
20086 # include <limits.h>
20087 #else
20088 # include <assert.h>
20089 #endif
20091 #undef $ac_func
20093 /* Override any gcc2 internal prototype to avoid an error. */
20094 #ifdef __cplusplus
20095 extern "C"
20097 #endif
20098 /* We use char because int might match the return type of a gcc2
20099 builtin and then its argument prototype would still apply. */
20100 char $ac_func ();
20101 /* The GNU C library defines this for functions which it implements
20102 to always fail with ENOSYS. Some functions are actually named
20103 something starting with __ and the normal name is an alias. */
20104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20105 choke me
20106 #else
20107 char (*f) () = $ac_func;
20108 #endif
20109 #ifdef __cplusplus
20111 #endif
20114 main ()
20116 return f != $ac_func;
20118 return 0;
20120 _ACEOF
20121 rm -f conftest.$ac_objext conftest$ac_exeext
20122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20123 (eval $ac_link) 2>conftest.er1
20124 ac_status=$?
20125 grep -v '^ *+' conftest.er1 >conftest.err
20126 rm -f conftest.er1
20127 cat conftest.err >&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); } &&
20130 { ac_try='test -z "$ac_c_werror_flag"
20131 || test ! -s conftest.err'
20132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20133 (eval $ac_try) 2>&5
20134 ac_status=$?
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); }; } &&
20137 { ac_try='test -s conftest$ac_exeext'
20138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20139 (eval $ac_try) 2>&5
20140 ac_status=$?
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 (exit $ac_status); }; }; then
20143 eval "$as_ac_var=yes"
20144 else
20145 echo "$as_me: failed program was:" >&5
20146 sed 's/^/| /' conftest.$ac_ext >&5
20148 eval "$as_ac_var=no"
20150 rm -f conftest.err conftest.$ac_objext \
20151 conftest$ac_exeext conftest.$ac_ext
20153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20155 if test `eval echo '${'$as_ac_var'}'` = yes; then
20156 cat >>confdefs.h <<_ACEOF
20157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20158 _ACEOF
20161 done
20163 else
20165 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
20166 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
20167 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20168 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
20169 echo $ECHO_N "(cached) $ECHO_C" >&6
20170 else
20174 ac_ext=cc
20175 ac_cpp='$CXXCPP $CPPFLAGS'
20176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20180 cat >conftest.$ac_ext <<_ACEOF
20181 /* confdefs.h. */
20182 _ACEOF
20183 cat confdefs.h >>conftest.$ac_ext
20184 cat >>conftest.$ac_ext <<_ACEOF
20185 /* end confdefs.h. */
20186 #include <math.h>
20188 main ()
20190 _sincos(0, 0, 0);
20192 return 0;
20194 _ACEOF
20195 rm -f conftest.$ac_objext
20196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20197 (eval $ac_compile) 2>conftest.er1
20198 ac_status=$?
20199 grep -v '^ *+' conftest.er1 >conftest.err
20200 rm -f conftest.er1
20201 cat conftest.err >&5
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); } &&
20204 { ac_try='test -z "$ac_cxx_werror_flag"
20205 || test ! -s conftest.err'
20206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20207 (eval $ac_try) 2>&5
20208 ac_status=$?
20209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20210 (exit $ac_status); }; } &&
20211 { ac_try='test -s conftest.$ac_objext'
20212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20213 (eval $ac_try) 2>&5
20214 ac_status=$?
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); }; }; then
20217 glibcxx_cv_func__sincos_use=yes
20218 else
20219 echo "$as_me: failed program was:" >&5
20220 sed 's/^/| /' conftest.$ac_ext >&5
20222 glibcxx_cv_func__sincos_use=no
20224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20225 ac_ext=c
20226 ac_cpp='$CPP $CPPFLAGS'
20227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20235 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
20236 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
20238 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20240 for ac_func in _sincos
20242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20243 echo "$as_me:$LINENO: checking for $ac_func" >&5
20244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20245 if eval "test \"\${$as_ac_var+set}\" = set"; then
20246 echo $ECHO_N "(cached) $ECHO_C" >&6
20247 else
20248 if test x$gcc_no_link = xyes; then
20249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20251 { (exit 1); exit 1; }; }
20253 cat >conftest.$ac_ext <<_ACEOF
20254 /* confdefs.h. */
20255 _ACEOF
20256 cat confdefs.h >>conftest.$ac_ext
20257 cat >>conftest.$ac_ext <<_ACEOF
20258 /* end confdefs.h. */
20259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20261 #define $ac_func innocuous_$ac_func
20263 /* System header to define __stub macros and hopefully few prototypes,
20264 which can conflict with char $ac_func (); below.
20265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20266 <limits.h> exists even on freestanding compilers. */
20268 #ifdef __STDC__
20269 # include <limits.h>
20270 #else
20271 # include <assert.h>
20272 #endif
20274 #undef $ac_func
20276 /* Override any gcc2 internal prototype to avoid an error. */
20277 #ifdef __cplusplus
20278 extern "C"
20280 #endif
20281 /* We use char because int might match the return type of a gcc2
20282 builtin and then its argument prototype would still apply. */
20283 char $ac_func ();
20284 /* The GNU C library defines this for functions which it implements
20285 to always fail with ENOSYS. Some functions are actually named
20286 something starting with __ and the normal name is an alias. */
20287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20288 choke me
20289 #else
20290 char (*f) () = $ac_func;
20291 #endif
20292 #ifdef __cplusplus
20294 #endif
20297 main ()
20299 return f != $ac_func;
20301 return 0;
20303 _ACEOF
20304 rm -f conftest.$ac_objext conftest$ac_exeext
20305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20306 (eval $ac_link) 2>conftest.er1
20307 ac_status=$?
20308 grep -v '^ *+' conftest.er1 >conftest.err
20309 rm -f conftest.er1
20310 cat conftest.err >&5
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); } &&
20313 { ac_try='test -z "$ac_c_werror_flag"
20314 || test ! -s conftest.err'
20315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20316 (eval $ac_try) 2>&5
20317 ac_status=$?
20318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20319 (exit $ac_status); }; } &&
20320 { ac_try='test -s conftest$ac_exeext'
20321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20322 (eval $ac_try) 2>&5
20323 ac_status=$?
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); }; }; then
20326 eval "$as_ac_var=yes"
20327 else
20328 echo "$as_me: failed program was:" >&5
20329 sed 's/^/| /' conftest.$ac_ext >&5
20331 eval "$as_ac_var=no"
20333 rm -f conftest.err conftest.$ac_objext \
20334 conftest$ac_exeext conftest.$ac_ext
20336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20338 if test `eval echo '${'$as_ac_var'}'` = yes; then
20339 cat >>confdefs.h <<_ACEOF
20340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20341 _ACEOF
20344 done
20354 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
20355 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
20356 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20357 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
20358 echo $ECHO_N "(cached) $ECHO_C" >&6
20359 else
20363 ac_ext=cc
20364 ac_cpp='$CXXCPP $CPPFLAGS'
20365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20369 cat >conftest.$ac_ext <<_ACEOF
20370 /* confdefs.h. */
20371 _ACEOF
20372 cat confdefs.h >>conftest.$ac_ext
20373 cat >>conftest.$ac_ext <<_ACEOF
20374 /* end confdefs.h. */
20375 #include <math.h>
20376 #ifdef HAVE_IEEEFP_H
20377 #include <ieeefp.h>
20378 #endif
20381 main ()
20383 fpclass(0);
20385 return 0;
20387 _ACEOF
20388 rm -f conftest.$ac_objext
20389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20390 (eval $ac_compile) 2>conftest.er1
20391 ac_status=$?
20392 grep -v '^ *+' conftest.er1 >conftest.err
20393 rm -f conftest.er1
20394 cat conftest.err >&5
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); } &&
20397 { ac_try='test -z "$ac_cxx_werror_flag"
20398 || test ! -s conftest.err'
20399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20400 (eval $ac_try) 2>&5
20401 ac_status=$?
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); }; } &&
20404 { ac_try='test -s conftest.$ac_objext'
20405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20406 (eval $ac_try) 2>&5
20407 ac_status=$?
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); }; }; then
20410 glibcxx_cv_func_fpclass_use=yes
20411 else
20412 echo "$as_me: failed program was:" >&5
20413 sed 's/^/| /' conftest.$ac_ext >&5
20415 glibcxx_cv_func_fpclass_use=no
20417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20418 ac_ext=c
20419 ac_cpp='$CPP $CPPFLAGS'
20420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20428 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
20429 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
20431 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20433 for ac_func in fpclass
20435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20436 echo "$as_me:$LINENO: checking for $ac_func" >&5
20437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20438 if eval "test \"\${$as_ac_var+set}\" = set"; then
20439 echo $ECHO_N "(cached) $ECHO_C" >&6
20440 else
20441 if test x$gcc_no_link = xyes; then
20442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20444 { (exit 1); exit 1; }; }
20446 cat >conftest.$ac_ext <<_ACEOF
20447 /* confdefs.h. */
20448 _ACEOF
20449 cat confdefs.h >>conftest.$ac_ext
20450 cat >>conftest.$ac_ext <<_ACEOF
20451 /* end confdefs.h. */
20452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20454 #define $ac_func innocuous_$ac_func
20456 /* System header to define __stub macros and hopefully few prototypes,
20457 which can conflict with char $ac_func (); below.
20458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20459 <limits.h> exists even on freestanding compilers. */
20461 #ifdef __STDC__
20462 # include <limits.h>
20463 #else
20464 # include <assert.h>
20465 #endif
20467 #undef $ac_func
20469 /* Override any gcc2 internal prototype to avoid an error. */
20470 #ifdef __cplusplus
20471 extern "C"
20473 #endif
20474 /* We use char because int might match the return type of a gcc2
20475 builtin and then its argument prototype would still apply. */
20476 char $ac_func ();
20477 /* The GNU C library defines this for functions which it implements
20478 to always fail with ENOSYS. Some functions are actually named
20479 something starting with __ and the normal name is an alias. */
20480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20481 choke me
20482 #else
20483 char (*f) () = $ac_func;
20484 #endif
20485 #ifdef __cplusplus
20487 #endif
20490 main ()
20492 return f != $ac_func;
20494 return 0;
20496 _ACEOF
20497 rm -f conftest.$ac_objext conftest$ac_exeext
20498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20499 (eval $ac_link) 2>conftest.er1
20500 ac_status=$?
20501 grep -v '^ *+' conftest.er1 >conftest.err
20502 rm -f conftest.er1
20503 cat conftest.err >&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); } &&
20506 { ac_try='test -z "$ac_c_werror_flag"
20507 || test ! -s conftest.err'
20508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20509 (eval $ac_try) 2>&5
20510 ac_status=$?
20511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20512 (exit $ac_status); }; } &&
20513 { ac_try='test -s conftest$ac_exeext'
20514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20515 (eval $ac_try) 2>&5
20516 ac_status=$?
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); }; }; then
20519 eval "$as_ac_var=yes"
20520 else
20521 echo "$as_me: failed program was:" >&5
20522 sed 's/^/| /' conftest.$ac_ext >&5
20524 eval "$as_ac_var=no"
20526 rm -f conftest.err conftest.$ac_objext \
20527 conftest$ac_exeext conftest.$ac_ext
20529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20531 if test `eval echo '${'$as_ac_var'}'` = yes; then
20532 cat >>confdefs.h <<_ACEOF
20533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20534 _ACEOF
20537 done
20539 else
20541 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
20542 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
20543 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20544 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
20545 echo $ECHO_N "(cached) $ECHO_C" >&6
20546 else
20550 ac_ext=cc
20551 ac_cpp='$CXXCPP $CPPFLAGS'
20552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20556 cat >conftest.$ac_ext <<_ACEOF
20557 /* confdefs.h. */
20558 _ACEOF
20559 cat confdefs.h >>conftest.$ac_ext
20560 cat >>conftest.$ac_ext <<_ACEOF
20561 /* end confdefs.h. */
20562 #include <math.h>
20563 #ifdef HAVE_IEEEFP_H
20564 #include <ieeefp.h>
20565 #endif
20568 main ()
20570 _fpclass(0);
20572 return 0;
20574 _ACEOF
20575 rm -f conftest.$ac_objext
20576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20577 (eval $ac_compile) 2>conftest.er1
20578 ac_status=$?
20579 grep -v '^ *+' conftest.er1 >conftest.err
20580 rm -f conftest.er1
20581 cat conftest.err >&5
20582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20583 (exit $ac_status); } &&
20584 { ac_try='test -z "$ac_cxx_werror_flag"
20585 || test ! -s conftest.err'
20586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20587 (eval $ac_try) 2>&5
20588 ac_status=$?
20589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20590 (exit $ac_status); }; } &&
20591 { ac_try='test -s conftest.$ac_objext'
20592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20593 (eval $ac_try) 2>&5
20594 ac_status=$?
20595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596 (exit $ac_status); }; }; then
20597 glibcxx_cv_func__fpclass_use=yes
20598 else
20599 echo "$as_me: failed program was:" >&5
20600 sed 's/^/| /' conftest.$ac_ext >&5
20602 glibcxx_cv_func__fpclass_use=no
20604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20605 ac_ext=c
20606 ac_cpp='$CPP $CPPFLAGS'
20607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20615 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
20616 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
20618 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20620 for ac_func in _fpclass
20622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20623 echo "$as_me:$LINENO: checking for $ac_func" >&5
20624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20625 if eval "test \"\${$as_ac_var+set}\" = set"; then
20626 echo $ECHO_N "(cached) $ECHO_C" >&6
20627 else
20628 if test x$gcc_no_link = xyes; then
20629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20631 { (exit 1); exit 1; }; }
20633 cat >conftest.$ac_ext <<_ACEOF
20634 /* confdefs.h. */
20635 _ACEOF
20636 cat confdefs.h >>conftest.$ac_ext
20637 cat >>conftest.$ac_ext <<_ACEOF
20638 /* end confdefs.h. */
20639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20641 #define $ac_func innocuous_$ac_func
20643 /* System header to define __stub macros and hopefully few prototypes,
20644 which can conflict with char $ac_func (); below.
20645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20646 <limits.h> exists even on freestanding compilers. */
20648 #ifdef __STDC__
20649 # include <limits.h>
20650 #else
20651 # include <assert.h>
20652 #endif
20654 #undef $ac_func
20656 /* Override any gcc2 internal prototype to avoid an error. */
20657 #ifdef __cplusplus
20658 extern "C"
20660 #endif
20661 /* We use char because int might match the return type of a gcc2
20662 builtin and then its argument prototype would still apply. */
20663 char $ac_func ();
20664 /* The GNU C library defines this for functions which it implements
20665 to always fail with ENOSYS. Some functions are actually named
20666 something starting with __ and the normal name is an alias. */
20667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20668 choke me
20669 #else
20670 char (*f) () = $ac_func;
20671 #endif
20672 #ifdef __cplusplus
20674 #endif
20677 main ()
20679 return f != $ac_func;
20681 return 0;
20683 _ACEOF
20684 rm -f conftest.$ac_objext conftest$ac_exeext
20685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20686 (eval $ac_link) 2>conftest.er1
20687 ac_status=$?
20688 grep -v '^ *+' conftest.er1 >conftest.err
20689 rm -f conftest.er1
20690 cat conftest.err >&5
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); } &&
20693 { ac_try='test -z "$ac_c_werror_flag"
20694 || test ! -s conftest.err'
20695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20696 (eval $ac_try) 2>&5
20697 ac_status=$?
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); }; } &&
20700 { ac_try='test -s conftest$ac_exeext'
20701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20702 (eval $ac_try) 2>&5
20703 ac_status=$?
20704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20705 (exit $ac_status); }; }; then
20706 eval "$as_ac_var=yes"
20707 else
20708 echo "$as_me: failed program was:" >&5
20709 sed 's/^/| /' conftest.$ac_ext >&5
20711 eval "$as_ac_var=no"
20713 rm -f conftest.err conftest.$ac_objext \
20714 conftest$ac_exeext conftest.$ac_ext
20716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20718 if test `eval echo '${'$as_ac_var'}'` = yes; then
20719 cat >>confdefs.h <<_ACEOF
20720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20721 _ACEOF
20724 done
20734 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
20735 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
20736 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20737 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
20738 echo $ECHO_N "(cached) $ECHO_C" >&6
20739 else
20743 ac_ext=cc
20744 ac_cpp='$CXXCPP $CPPFLAGS'
20745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20749 cat >conftest.$ac_ext <<_ACEOF
20750 /* confdefs.h. */
20751 _ACEOF
20752 cat confdefs.h >>conftest.$ac_ext
20753 cat >>conftest.$ac_ext <<_ACEOF
20754 /* end confdefs.h. */
20755 #include <math.h>
20756 #ifdef HAVE_IEEEFP_H
20757 #include <ieeefp.h>
20758 #endif
20761 main ()
20763 qfpclass(0);
20765 return 0;
20767 _ACEOF
20768 rm -f conftest.$ac_objext
20769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20770 (eval $ac_compile) 2>conftest.er1
20771 ac_status=$?
20772 grep -v '^ *+' conftest.er1 >conftest.err
20773 rm -f conftest.er1
20774 cat conftest.err >&5
20775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20776 (exit $ac_status); } &&
20777 { ac_try='test -z "$ac_cxx_werror_flag"
20778 || test ! -s conftest.err'
20779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20780 (eval $ac_try) 2>&5
20781 ac_status=$?
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); }; } &&
20784 { ac_try='test -s conftest.$ac_objext'
20785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20786 (eval $ac_try) 2>&5
20787 ac_status=$?
20788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20789 (exit $ac_status); }; }; then
20790 glibcxx_cv_func_qfpclass_use=yes
20791 else
20792 echo "$as_me: failed program was:" >&5
20793 sed 's/^/| /' conftest.$ac_ext >&5
20795 glibcxx_cv_func_qfpclass_use=no
20797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20798 ac_ext=c
20799 ac_cpp='$CPP $CPPFLAGS'
20800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20808 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
20809 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
20811 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20813 for ac_func in qfpclass
20815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20816 echo "$as_me:$LINENO: checking for $ac_func" >&5
20817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20818 if eval "test \"\${$as_ac_var+set}\" = set"; then
20819 echo $ECHO_N "(cached) $ECHO_C" >&6
20820 else
20821 if test x$gcc_no_link = xyes; then
20822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20824 { (exit 1); exit 1; }; }
20826 cat >conftest.$ac_ext <<_ACEOF
20827 /* confdefs.h. */
20828 _ACEOF
20829 cat confdefs.h >>conftest.$ac_ext
20830 cat >>conftest.$ac_ext <<_ACEOF
20831 /* end confdefs.h. */
20832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20834 #define $ac_func innocuous_$ac_func
20836 /* System header to define __stub macros and hopefully few prototypes,
20837 which can conflict with char $ac_func (); below.
20838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20839 <limits.h> exists even on freestanding compilers. */
20841 #ifdef __STDC__
20842 # include <limits.h>
20843 #else
20844 # include <assert.h>
20845 #endif
20847 #undef $ac_func
20849 /* Override any gcc2 internal prototype to avoid an error. */
20850 #ifdef __cplusplus
20851 extern "C"
20853 #endif
20854 /* We use char because int might match the return type of a gcc2
20855 builtin and then its argument prototype would still apply. */
20856 char $ac_func ();
20857 /* The GNU C library defines this for functions which it implements
20858 to always fail with ENOSYS. Some functions are actually named
20859 something starting with __ and the normal name is an alias. */
20860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20861 choke me
20862 #else
20863 char (*f) () = $ac_func;
20864 #endif
20865 #ifdef __cplusplus
20867 #endif
20870 main ()
20872 return f != $ac_func;
20874 return 0;
20876 _ACEOF
20877 rm -f conftest.$ac_objext conftest$ac_exeext
20878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20879 (eval $ac_link) 2>conftest.er1
20880 ac_status=$?
20881 grep -v '^ *+' conftest.er1 >conftest.err
20882 rm -f conftest.er1
20883 cat conftest.err >&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); } &&
20886 { ac_try='test -z "$ac_c_werror_flag"
20887 || test ! -s conftest.err'
20888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20889 (eval $ac_try) 2>&5
20890 ac_status=$?
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); }; } &&
20893 { ac_try='test -s conftest$ac_exeext'
20894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20895 (eval $ac_try) 2>&5
20896 ac_status=$?
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); }; }; then
20899 eval "$as_ac_var=yes"
20900 else
20901 echo "$as_me: failed program was:" >&5
20902 sed 's/^/| /' conftest.$ac_ext >&5
20904 eval "$as_ac_var=no"
20906 rm -f conftest.err conftest.$ac_objext \
20907 conftest$ac_exeext conftest.$ac_ext
20909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20911 if test `eval echo '${'$as_ac_var'}'` = yes; then
20912 cat >>confdefs.h <<_ACEOF
20913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20914 _ACEOF
20917 done
20919 else
20921 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
20922 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
20923 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20924 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
20925 echo $ECHO_N "(cached) $ECHO_C" >&6
20926 else
20930 ac_ext=cc
20931 ac_cpp='$CXXCPP $CPPFLAGS'
20932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20936 cat >conftest.$ac_ext <<_ACEOF
20937 /* confdefs.h. */
20938 _ACEOF
20939 cat confdefs.h >>conftest.$ac_ext
20940 cat >>conftest.$ac_ext <<_ACEOF
20941 /* end confdefs.h. */
20942 #include <math.h>
20943 #ifdef HAVE_IEEEFP_H
20944 #include <ieeefp.h>
20945 #endif
20948 main ()
20950 _qfpclass(0);
20952 return 0;
20954 _ACEOF
20955 rm -f conftest.$ac_objext
20956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20957 (eval $ac_compile) 2>conftest.er1
20958 ac_status=$?
20959 grep -v '^ *+' conftest.er1 >conftest.err
20960 rm -f conftest.er1
20961 cat conftest.err >&5
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); } &&
20964 { ac_try='test -z "$ac_cxx_werror_flag"
20965 || test ! -s conftest.err'
20966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20967 (eval $ac_try) 2>&5
20968 ac_status=$?
20969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20970 (exit $ac_status); }; } &&
20971 { ac_try='test -s conftest.$ac_objext'
20972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20973 (eval $ac_try) 2>&5
20974 ac_status=$?
20975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976 (exit $ac_status); }; }; then
20977 glibcxx_cv_func__qfpclass_use=yes
20978 else
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.$ac_ext >&5
20982 glibcxx_cv_func__qfpclass_use=no
20984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20985 ac_ext=c
20986 ac_cpp='$CPP $CPPFLAGS'
20987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20995 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
20996 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
20998 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21000 for ac_func in _qfpclass
21002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21003 echo "$as_me:$LINENO: checking for $ac_func" >&5
21004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21005 if eval "test \"\${$as_ac_var+set}\" = set"; then
21006 echo $ECHO_N "(cached) $ECHO_C" >&6
21007 else
21008 if test x$gcc_no_link = xyes; then
21009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21011 { (exit 1); exit 1; }; }
21013 cat >conftest.$ac_ext <<_ACEOF
21014 /* confdefs.h. */
21015 _ACEOF
21016 cat confdefs.h >>conftest.$ac_ext
21017 cat >>conftest.$ac_ext <<_ACEOF
21018 /* end confdefs.h. */
21019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21021 #define $ac_func innocuous_$ac_func
21023 /* System header to define __stub macros and hopefully few prototypes,
21024 which can conflict with char $ac_func (); below.
21025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21026 <limits.h> exists even on freestanding compilers. */
21028 #ifdef __STDC__
21029 # include <limits.h>
21030 #else
21031 # include <assert.h>
21032 #endif
21034 #undef $ac_func
21036 /* Override any gcc2 internal prototype to avoid an error. */
21037 #ifdef __cplusplus
21038 extern "C"
21040 #endif
21041 /* We use char because int might match the return type of a gcc2
21042 builtin and then its argument prototype would still apply. */
21043 char $ac_func ();
21044 /* The GNU C library defines this for functions which it implements
21045 to always fail with ENOSYS. Some functions are actually named
21046 something starting with __ and the normal name is an alias. */
21047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21048 choke me
21049 #else
21050 char (*f) () = $ac_func;
21051 #endif
21052 #ifdef __cplusplus
21054 #endif
21057 main ()
21059 return f != $ac_func;
21061 return 0;
21063 _ACEOF
21064 rm -f conftest.$ac_objext conftest$ac_exeext
21065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21066 (eval $ac_link) 2>conftest.er1
21067 ac_status=$?
21068 grep -v '^ *+' conftest.er1 >conftest.err
21069 rm -f conftest.er1
21070 cat conftest.err >&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); } &&
21073 { ac_try='test -z "$ac_c_werror_flag"
21074 || test ! -s conftest.err'
21075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21076 (eval $ac_try) 2>&5
21077 ac_status=$?
21078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21079 (exit $ac_status); }; } &&
21080 { ac_try='test -s conftest$ac_exeext'
21081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21082 (eval $ac_try) 2>&5
21083 ac_status=$?
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); }; }; then
21086 eval "$as_ac_var=yes"
21087 else
21088 echo "$as_me: failed program was:" >&5
21089 sed 's/^/| /' conftest.$ac_ext >&5
21091 eval "$as_ac_var=no"
21093 rm -f conftest.err conftest.$ac_objext \
21094 conftest$ac_exeext conftest.$ac_ext
21096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21098 if test `eval echo '${'$as_ac_var'}'` = yes; then
21099 cat >>confdefs.h <<_ACEOF
21100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21101 _ACEOF
21104 done
21114 echo "$as_me:$LINENO: checking for hypot declaration" >&5
21115 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
21116 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21117 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
21118 echo $ECHO_N "(cached) $ECHO_C" >&6
21119 else
21123 ac_ext=cc
21124 ac_cpp='$CXXCPP $CPPFLAGS'
21125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21129 cat >conftest.$ac_ext <<_ACEOF
21130 /* confdefs.h. */
21131 _ACEOF
21132 cat confdefs.h >>conftest.$ac_ext
21133 cat >>conftest.$ac_ext <<_ACEOF
21134 /* end confdefs.h. */
21135 #include <math.h>
21137 main ()
21139 hypot(0, 0);
21141 return 0;
21143 _ACEOF
21144 rm -f conftest.$ac_objext
21145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21146 (eval $ac_compile) 2>conftest.er1
21147 ac_status=$?
21148 grep -v '^ *+' conftest.er1 >conftest.err
21149 rm -f conftest.er1
21150 cat conftest.err >&5
21151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21152 (exit $ac_status); } &&
21153 { ac_try='test -z "$ac_cxx_werror_flag"
21154 || test ! -s conftest.err'
21155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21156 (eval $ac_try) 2>&5
21157 ac_status=$?
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); }; } &&
21160 { ac_try='test -s conftest.$ac_objext'
21161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21162 (eval $ac_try) 2>&5
21163 ac_status=$?
21164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165 (exit $ac_status); }; }; then
21166 glibcxx_cv_func_hypot_use=yes
21167 else
21168 echo "$as_me: failed program was:" >&5
21169 sed 's/^/| /' conftest.$ac_ext >&5
21171 glibcxx_cv_func_hypot_use=no
21173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21174 ac_ext=c
21175 ac_cpp='$CPP $CPPFLAGS'
21176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21184 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
21185 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
21187 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21189 for ac_func in hypot
21191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21192 echo "$as_me:$LINENO: checking for $ac_func" >&5
21193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21194 if eval "test \"\${$as_ac_var+set}\" = set"; then
21195 echo $ECHO_N "(cached) $ECHO_C" >&6
21196 else
21197 if test x$gcc_no_link = xyes; then
21198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21200 { (exit 1); exit 1; }; }
21202 cat >conftest.$ac_ext <<_ACEOF
21203 /* confdefs.h. */
21204 _ACEOF
21205 cat confdefs.h >>conftest.$ac_ext
21206 cat >>conftest.$ac_ext <<_ACEOF
21207 /* end confdefs.h. */
21208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21210 #define $ac_func innocuous_$ac_func
21212 /* System header to define __stub macros and hopefully few prototypes,
21213 which can conflict with char $ac_func (); below.
21214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21215 <limits.h> exists even on freestanding compilers. */
21217 #ifdef __STDC__
21218 # include <limits.h>
21219 #else
21220 # include <assert.h>
21221 #endif
21223 #undef $ac_func
21225 /* Override any gcc2 internal prototype to avoid an error. */
21226 #ifdef __cplusplus
21227 extern "C"
21229 #endif
21230 /* We use char because int might match the return type of a gcc2
21231 builtin and then its argument prototype would still apply. */
21232 char $ac_func ();
21233 /* The GNU C library defines this for functions which it implements
21234 to always fail with ENOSYS. Some functions are actually named
21235 something starting with __ and the normal name is an alias. */
21236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21237 choke me
21238 #else
21239 char (*f) () = $ac_func;
21240 #endif
21241 #ifdef __cplusplus
21243 #endif
21246 main ()
21248 return f != $ac_func;
21250 return 0;
21252 _ACEOF
21253 rm -f conftest.$ac_objext conftest$ac_exeext
21254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21255 (eval $ac_link) 2>conftest.er1
21256 ac_status=$?
21257 grep -v '^ *+' conftest.er1 >conftest.err
21258 rm -f conftest.er1
21259 cat conftest.err >&5
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); } &&
21262 { ac_try='test -z "$ac_c_werror_flag"
21263 || test ! -s conftest.err'
21264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21265 (eval $ac_try) 2>&5
21266 ac_status=$?
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); }; } &&
21269 { ac_try='test -s conftest$ac_exeext'
21270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21271 (eval $ac_try) 2>&5
21272 ac_status=$?
21273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21274 (exit $ac_status); }; }; then
21275 eval "$as_ac_var=yes"
21276 else
21277 echo "$as_me: failed program was:" >&5
21278 sed 's/^/| /' conftest.$ac_ext >&5
21280 eval "$as_ac_var=no"
21282 rm -f conftest.err conftest.$ac_objext \
21283 conftest$ac_exeext conftest.$ac_ext
21285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21287 if test `eval echo '${'$as_ac_var'}'` = yes; then
21288 cat >>confdefs.h <<_ACEOF
21289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21290 _ACEOF
21293 done
21295 else
21297 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
21298 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
21299 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21300 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
21301 echo $ECHO_N "(cached) $ECHO_C" >&6
21302 else
21306 ac_ext=cc
21307 ac_cpp='$CXXCPP $CPPFLAGS'
21308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21312 cat >conftest.$ac_ext <<_ACEOF
21313 /* confdefs.h. */
21314 _ACEOF
21315 cat confdefs.h >>conftest.$ac_ext
21316 cat >>conftest.$ac_ext <<_ACEOF
21317 /* end confdefs.h. */
21318 #include <math.h>
21320 main ()
21322 _hypot(0, 0);
21324 return 0;
21326 _ACEOF
21327 rm -f conftest.$ac_objext
21328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21329 (eval $ac_compile) 2>conftest.er1
21330 ac_status=$?
21331 grep -v '^ *+' conftest.er1 >conftest.err
21332 rm -f conftest.er1
21333 cat conftest.err >&5
21334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21335 (exit $ac_status); } &&
21336 { ac_try='test -z "$ac_cxx_werror_flag"
21337 || test ! -s conftest.err'
21338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21339 (eval $ac_try) 2>&5
21340 ac_status=$?
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); }; } &&
21343 { ac_try='test -s conftest.$ac_objext'
21344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21345 (eval $ac_try) 2>&5
21346 ac_status=$?
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); }; }; then
21349 glibcxx_cv_func__hypot_use=yes
21350 else
21351 echo "$as_me: failed program was:" >&5
21352 sed 's/^/| /' conftest.$ac_ext >&5
21354 glibcxx_cv_func__hypot_use=no
21356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21357 ac_ext=c
21358 ac_cpp='$CPP $CPPFLAGS'
21359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21367 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
21368 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
21370 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21372 for ac_func in _hypot
21374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21375 echo "$as_me:$LINENO: checking for $ac_func" >&5
21376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21377 if eval "test \"\${$as_ac_var+set}\" = set"; then
21378 echo $ECHO_N "(cached) $ECHO_C" >&6
21379 else
21380 if test x$gcc_no_link = xyes; then
21381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21383 { (exit 1); exit 1; }; }
21385 cat >conftest.$ac_ext <<_ACEOF
21386 /* confdefs.h. */
21387 _ACEOF
21388 cat confdefs.h >>conftest.$ac_ext
21389 cat >>conftest.$ac_ext <<_ACEOF
21390 /* end confdefs.h. */
21391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21393 #define $ac_func innocuous_$ac_func
21395 /* System header to define __stub macros and hopefully few prototypes,
21396 which can conflict with char $ac_func (); below.
21397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21398 <limits.h> exists even on freestanding compilers. */
21400 #ifdef __STDC__
21401 # include <limits.h>
21402 #else
21403 # include <assert.h>
21404 #endif
21406 #undef $ac_func
21408 /* Override any gcc2 internal prototype to avoid an error. */
21409 #ifdef __cplusplus
21410 extern "C"
21412 #endif
21413 /* We use char because int might match the return type of a gcc2
21414 builtin and then its argument prototype would still apply. */
21415 char $ac_func ();
21416 /* The GNU C library defines this for functions which it implements
21417 to always fail with ENOSYS. Some functions are actually named
21418 something starting with __ and the normal name is an alias. */
21419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21420 choke me
21421 #else
21422 char (*f) () = $ac_func;
21423 #endif
21424 #ifdef __cplusplus
21426 #endif
21429 main ()
21431 return f != $ac_func;
21433 return 0;
21435 _ACEOF
21436 rm -f conftest.$ac_objext conftest$ac_exeext
21437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21438 (eval $ac_link) 2>conftest.er1
21439 ac_status=$?
21440 grep -v '^ *+' conftest.er1 >conftest.err
21441 rm -f conftest.er1
21442 cat conftest.err >&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); } &&
21445 { ac_try='test -z "$ac_c_werror_flag"
21446 || test ! -s conftest.err'
21447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21448 (eval $ac_try) 2>&5
21449 ac_status=$?
21450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21451 (exit $ac_status); }; } &&
21452 { ac_try='test -s conftest$ac_exeext'
21453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21454 (eval $ac_try) 2>&5
21455 ac_status=$?
21456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21457 (exit $ac_status); }; }; then
21458 eval "$as_ac_var=yes"
21459 else
21460 echo "$as_me: failed program was:" >&5
21461 sed 's/^/| /' conftest.$ac_ext >&5
21463 eval "$as_ac_var=no"
21465 rm -f conftest.err conftest.$ac_objext \
21466 conftest$ac_exeext conftest.$ac_ext
21468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21470 if test `eval echo '${'$as_ac_var'}'` = yes; then
21471 cat >>confdefs.h <<_ACEOF
21472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21473 _ACEOF
21476 done
21486 echo "$as_me:$LINENO: checking for float trig functions" >&5
21487 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
21488 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
21489 echo $ECHO_N "(cached) $ECHO_C" >&6
21490 else
21494 ac_ext=cc
21495 ac_cpp='$CXXCPP $CPPFLAGS'
21496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21500 cat >conftest.$ac_ext <<_ACEOF
21501 /* confdefs.h. */
21502 _ACEOF
21503 cat confdefs.h >>conftest.$ac_ext
21504 cat >>conftest.$ac_ext <<_ACEOF
21505 /* end confdefs.h. */
21506 #include <math.h>
21508 main ()
21510 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21512 return 0;
21514 _ACEOF
21515 rm -f conftest.$ac_objext
21516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21517 (eval $ac_compile) 2>conftest.er1
21518 ac_status=$?
21519 grep -v '^ *+' conftest.er1 >conftest.err
21520 rm -f conftest.er1
21521 cat conftest.err >&5
21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523 (exit $ac_status); } &&
21524 { ac_try='test -z "$ac_cxx_werror_flag"
21525 || test ! -s conftest.err'
21526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21527 (eval $ac_try) 2>&5
21528 ac_status=$?
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); }; } &&
21531 { ac_try='test -s conftest.$ac_objext'
21532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21533 (eval $ac_try) 2>&5
21534 ac_status=$?
21535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); }; }; then
21537 glibcxx_cv_func_float_trig_use=yes
21538 else
21539 echo "$as_me: failed program was:" >&5
21540 sed 's/^/| /' conftest.$ac_ext >&5
21542 glibcxx_cv_func_float_trig_use=no
21544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21545 ac_ext=c
21546 ac_cpp='$CPP $CPPFLAGS'
21547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21553 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
21554 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
21555 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21565 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21568 echo "$as_me:$LINENO: checking for $ac_func" >&5
21569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21570 if eval "test \"\${$as_ac_var+set}\" = set"; then
21571 echo $ECHO_N "(cached) $ECHO_C" >&6
21572 else
21573 if test x$gcc_no_link = xyes; then
21574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21576 { (exit 1); exit 1; }; }
21578 cat >conftest.$ac_ext <<_ACEOF
21579 /* confdefs.h. */
21580 _ACEOF
21581 cat confdefs.h >>conftest.$ac_ext
21582 cat >>conftest.$ac_ext <<_ACEOF
21583 /* end confdefs.h. */
21584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21586 #define $ac_func innocuous_$ac_func
21588 /* System header to define __stub macros and hopefully few prototypes,
21589 which can conflict with char $ac_func (); below.
21590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21591 <limits.h> exists even on freestanding compilers. */
21593 #ifdef __STDC__
21594 # include <limits.h>
21595 #else
21596 # include <assert.h>
21597 #endif
21599 #undef $ac_func
21601 /* Override any gcc2 internal prototype to avoid an error. */
21602 #ifdef __cplusplus
21603 extern "C"
21605 #endif
21606 /* We use char because int might match the return type of a gcc2
21607 builtin and then its argument prototype would still apply. */
21608 char $ac_func ();
21609 /* The GNU C library defines this for functions which it implements
21610 to always fail with ENOSYS. Some functions are actually named
21611 something starting with __ and the normal name is an alias. */
21612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21613 choke me
21614 #else
21615 char (*f) () = $ac_func;
21616 #endif
21617 #ifdef __cplusplus
21619 #endif
21622 main ()
21624 return f != $ac_func;
21626 return 0;
21628 _ACEOF
21629 rm -f conftest.$ac_objext conftest$ac_exeext
21630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21631 (eval $ac_link) 2>conftest.er1
21632 ac_status=$?
21633 grep -v '^ *+' conftest.er1 >conftest.err
21634 rm -f conftest.er1
21635 cat conftest.err >&5
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); } &&
21638 { ac_try='test -z "$ac_c_werror_flag"
21639 || test ! -s conftest.err'
21640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21641 (eval $ac_try) 2>&5
21642 ac_status=$?
21643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21644 (exit $ac_status); }; } &&
21645 { ac_try='test -s conftest$ac_exeext'
21646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21647 (eval $ac_try) 2>&5
21648 ac_status=$?
21649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21650 (exit $ac_status); }; }; then
21651 eval "$as_ac_var=yes"
21652 else
21653 echo "$as_me: failed program was:" >&5
21654 sed 's/^/| /' conftest.$ac_ext >&5
21656 eval "$as_ac_var=no"
21658 rm -f conftest.err conftest.$ac_objext \
21659 conftest$ac_exeext conftest.$ac_ext
21661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21663 if test `eval echo '${'$as_ac_var'}'` = yes; then
21664 cat >>confdefs.h <<_ACEOF
21665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21666 _ACEOF
21669 done
21671 else
21672 echo "$as_me:$LINENO: checking for _float trig functions" >&5
21673 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21674 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21675 echo $ECHO_N "(cached) $ECHO_C" >&6
21676 else
21680 ac_ext=cc
21681 ac_cpp='$CXXCPP $CPPFLAGS'
21682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21686 cat >conftest.$ac_ext <<_ACEOF
21687 /* confdefs.h. */
21688 _ACEOF
21689 cat confdefs.h >>conftest.$ac_ext
21690 cat >>conftest.$ac_ext <<_ACEOF
21691 /* end confdefs.h. */
21692 #include <math.h>
21694 main ()
21696 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21698 return 0;
21700 _ACEOF
21701 rm -f conftest.$ac_objext
21702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21703 (eval $ac_compile) 2>conftest.er1
21704 ac_status=$?
21705 grep -v '^ *+' conftest.er1 >conftest.err
21706 rm -f conftest.er1
21707 cat conftest.err >&5
21708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21709 (exit $ac_status); } &&
21710 { ac_try='test -z "$ac_cxx_werror_flag"
21711 || test ! -s conftest.err'
21712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21713 (eval $ac_try) 2>&5
21714 ac_status=$?
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); }; } &&
21717 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
21723 glibcxx_cv_func__float_trig_use=yes
21724 else
21725 echo "$as_me: failed program was:" >&5
21726 sed 's/^/| /' conftest.$ac_ext >&5
21728 glibcxx_cv_func__float_trig_use=no
21730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21731 ac_ext=c
21732 ac_cpp='$CPP $CPPFLAGS'
21733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21739 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
21740 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
21741 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21751 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21754 echo "$as_me:$LINENO: checking for $ac_func" >&5
21755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21756 if eval "test \"\${$as_ac_var+set}\" = set"; then
21757 echo $ECHO_N "(cached) $ECHO_C" >&6
21758 else
21759 if test x$gcc_no_link = xyes; then
21760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21762 { (exit 1); exit 1; }; }
21764 cat >conftest.$ac_ext <<_ACEOF
21765 /* confdefs.h. */
21766 _ACEOF
21767 cat confdefs.h >>conftest.$ac_ext
21768 cat >>conftest.$ac_ext <<_ACEOF
21769 /* end confdefs.h. */
21770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21772 #define $ac_func innocuous_$ac_func
21774 /* System header to define __stub macros and hopefully few prototypes,
21775 which can conflict with char $ac_func (); below.
21776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21777 <limits.h> exists even on freestanding compilers. */
21779 #ifdef __STDC__
21780 # include <limits.h>
21781 #else
21782 # include <assert.h>
21783 #endif
21785 #undef $ac_func
21787 /* Override any gcc2 internal prototype to avoid an error. */
21788 #ifdef __cplusplus
21789 extern "C"
21791 #endif
21792 /* We use char because int might match the return type of a gcc2
21793 builtin and then its argument prototype would still apply. */
21794 char $ac_func ();
21795 /* The GNU C library defines this for functions which it implements
21796 to always fail with ENOSYS. Some functions are actually named
21797 something starting with __ and the normal name is an alias. */
21798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21799 choke me
21800 #else
21801 char (*f) () = $ac_func;
21802 #endif
21803 #ifdef __cplusplus
21805 #endif
21808 main ()
21810 return f != $ac_func;
21812 return 0;
21814 _ACEOF
21815 rm -f conftest.$ac_objext conftest$ac_exeext
21816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21817 (eval $ac_link) 2>conftest.er1
21818 ac_status=$?
21819 grep -v '^ *+' conftest.er1 >conftest.err
21820 rm -f conftest.er1
21821 cat conftest.err >&5
21822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823 (exit $ac_status); } &&
21824 { ac_try='test -z "$ac_c_werror_flag"
21825 || test ! -s conftest.err'
21826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21827 (eval $ac_try) 2>&5
21828 ac_status=$?
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); }; } &&
21831 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
21837 eval "$as_ac_var=yes"
21838 else
21839 echo "$as_me: failed program was:" >&5
21840 sed 's/^/| /' conftest.$ac_ext >&5
21842 eval "$as_ac_var=no"
21844 rm -f conftest.err conftest.$ac_objext \
21845 conftest$ac_exeext conftest.$ac_ext
21847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21849 if test `eval echo '${'$as_ac_var'}'` = yes; then
21850 cat >>confdefs.h <<_ACEOF
21851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21852 _ACEOF
21855 done
21873 echo "$as_me:$LINENO: checking for float round functions" >&5
21874 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
21875 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
21876 echo $ECHO_N "(cached) $ECHO_C" >&6
21877 else
21881 ac_ext=cc
21882 ac_cpp='$CXXCPP $CPPFLAGS'
21883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21887 cat >conftest.$ac_ext <<_ACEOF
21888 /* confdefs.h. */
21889 _ACEOF
21890 cat confdefs.h >>conftest.$ac_ext
21891 cat >>conftest.$ac_ext <<_ACEOF
21892 /* end confdefs.h. */
21893 #include <math.h>
21895 main ()
21897 ceilf (0); floorf (0);
21899 return 0;
21901 _ACEOF
21902 rm -f conftest.$ac_objext
21903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21904 (eval $ac_compile) 2>conftest.er1
21905 ac_status=$?
21906 grep -v '^ *+' conftest.er1 >conftest.err
21907 rm -f conftest.er1
21908 cat conftest.err >&5
21909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21910 (exit $ac_status); } &&
21911 { ac_try='test -z "$ac_cxx_werror_flag"
21912 || test ! -s conftest.err'
21913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21914 (eval $ac_try) 2>&5
21915 ac_status=$?
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); }; } &&
21918 { ac_try='test -s conftest.$ac_objext'
21919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21920 (eval $ac_try) 2>&5
21921 ac_status=$?
21922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21923 (exit $ac_status); }; }; then
21924 glibcxx_cv_func_float_round_use=yes
21925 else
21926 echo "$as_me: failed program was:" >&5
21927 sed 's/^/| /' conftest.$ac_ext >&5
21929 glibcxx_cv_func_float_round_use=no
21931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21932 ac_ext=c
21933 ac_cpp='$CPP $CPPFLAGS'
21934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21940 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
21941 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
21942 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21945 for ac_func in ceilf floorf
21947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21948 echo "$as_me:$LINENO: checking for $ac_func" >&5
21949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21950 if eval "test \"\${$as_ac_var+set}\" = set"; then
21951 echo $ECHO_N "(cached) $ECHO_C" >&6
21952 else
21953 if test x$gcc_no_link = xyes; then
21954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21956 { (exit 1); exit 1; }; }
21958 cat >conftest.$ac_ext <<_ACEOF
21959 /* confdefs.h. */
21960 _ACEOF
21961 cat confdefs.h >>conftest.$ac_ext
21962 cat >>conftest.$ac_ext <<_ACEOF
21963 /* end confdefs.h. */
21964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21966 #define $ac_func innocuous_$ac_func
21968 /* System header to define __stub macros and hopefully few prototypes,
21969 which can conflict with char $ac_func (); below.
21970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21971 <limits.h> exists even on freestanding compilers. */
21973 #ifdef __STDC__
21974 # include <limits.h>
21975 #else
21976 # include <assert.h>
21977 #endif
21979 #undef $ac_func
21981 /* Override any gcc2 internal prototype to avoid an error. */
21982 #ifdef __cplusplus
21983 extern "C"
21985 #endif
21986 /* We use char because int might match the return type of a gcc2
21987 builtin and then its argument prototype would still apply. */
21988 char $ac_func ();
21989 /* The GNU C library defines this for functions which it implements
21990 to always fail with ENOSYS. Some functions are actually named
21991 something starting with __ and the normal name is an alias. */
21992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21993 choke me
21994 #else
21995 char (*f) () = $ac_func;
21996 #endif
21997 #ifdef __cplusplus
21999 #endif
22002 main ()
22004 return f != $ac_func;
22006 return 0;
22008 _ACEOF
22009 rm -f conftest.$ac_objext conftest$ac_exeext
22010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22011 (eval $ac_link) 2>conftest.er1
22012 ac_status=$?
22013 grep -v '^ *+' conftest.er1 >conftest.err
22014 rm -f conftest.er1
22015 cat conftest.err >&5
22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017 (exit $ac_status); } &&
22018 { ac_try='test -z "$ac_c_werror_flag"
22019 || test ! -s conftest.err'
22020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22021 (eval $ac_try) 2>&5
22022 ac_status=$?
22023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22024 (exit $ac_status); }; } &&
22025 { ac_try='test -s conftest$ac_exeext'
22026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22027 (eval $ac_try) 2>&5
22028 ac_status=$?
22029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22030 (exit $ac_status); }; }; then
22031 eval "$as_ac_var=yes"
22032 else
22033 echo "$as_me: failed program was:" >&5
22034 sed 's/^/| /' conftest.$ac_ext >&5
22036 eval "$as_ac_var=no"
22038 rm -f conftest.err conftest.$ac_objext \
22039 conftest$ac_exeext conftest.$ac_ext
22041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22043 if test `eval echo '${'$as_ac_var'}'` = yes; then
22044 cat >>confdefs.h <<_ACEOF
22045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22046 _ACEOF
22049 done
22051 else
22052 echo "$as_me:$LINENO: checking for _float round functions" >&5
22053 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
22054 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
22055 echo $ECHO_N "(cached) $ECHO_C" >&6
22056 else
22060 ac_ext=cc
22061 ac_cpp='$CXXCPP $CPPFLAGS'
22062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22066 cat >conftest.$ac_ext <<_ACEOF
22067 /* confdefs.h. */
22068 _ACEOF
22069 cat confdefs.h >>conftest.$ac_ext
22070 cat >>conftest.$ac_ext <<_ACEOF
22071 /* end confdefs.h. */
22072 #include <math.h>
22074 main ()
22076 _ceilf (0); _floorf (0);
22078 return 0;
22080 _ACEOF
22081 rm -f conftest.$ac_objext
22082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22083 (eval $ac_compile) 2>conftest.er1
22084 ac_status=$?
22085 grep -v '^ *+' conftest.er1 >conftest.err
22086 rm -f conftest.er1
22087 cat conftest.err >&5
22088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089 (exit $ac_status); } &&
22090 { ac_try='test -z "$ac_cxx_werror_flag"
22091 || test ! -s conftest.err'
22092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22093 (eval $ac_try) 2>&5
22094 ac_status=$?
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); }; } &&
22097 { ac_try='test -s conftest.$ac_objext'
22098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22099 (eval $ac_try) 2>&5
22100 ac_status=$?
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); }; }; then
22103 glibcxx_cv_func__float_round_use=yes
22104 else
22105 echo "$as_me: failed program was:" >&5
22106 sed 's/^/| /' conftest.$ac_ext >&5
22108 glibcxx_cv_func__float_round_use=no
22110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22111 ac_ext=c
22112 ac_cpp='$CPP $CPPFLAGS'
22113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22119 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
22120 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
22121 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22124 for ac_func in _ceilf _floorf
22126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22127 echo "$as_me:$LINENO: checking for $ac_func" >&5
22128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22129 if eval "test \"\${$as_ac_var+set}\" = set"; then
22130 echo $ECHO_N "(cached) $ECHO_C" >&6
22131 else
22132 if test x$gcc_no_link = xyes; then
22133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22135 { (exit 1); exit 1; }; }
22137 cat >conftest.$ac_ext <<_ACEOF
22138 /* confdefs.h. */
22139 _ACEOF
22140 cat confdefs.h >>conftest.$ac_ext
22141 cat >>conftest.$ac_ext <<_ACEOF
22142 /* end confdefs.h. */
22143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22145 #define $ac_func innocuous_$ac_func
22147 /* System header to define __stub macros and hopefully few prototypes,
22148 which can conflict with char $ac_func (); below.
22149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22150 <limits.h> exists even on freestanding compilers. */
22152 #ifdef __STDC__
22153 # include <limits.h>
22154 #else
22155 # include <assert.h>
22156 #endif
22158 #undef $ac_func
22160 /* Override any gcc2 internal prototype to avoid an error. */
22161 #ifdef __cplusplus
22162 extern "C"
22164 #endif
22165 /* We use char because int might match the return type of a gcc2
22166 builtin and then its argument prototype would still apply. */
22167 char $ac_func ();
22168 /* The GNU C library defines this for functions which it implements
22169 to always fail with ENOSYS. Some functions are actually named
22170 something starting with __ and the normal name is an alias. */
22171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22172 choke me
22173 #else
22174 char (*f) () = $ac_func;
22175 #endif
22176 #ifdef __cplusplus
22178 #endif
22181 main ()
22183 return f != $ac_func;
22185 return 0;
22187 _ACEOF
22188 rm -f conftest.$ac_objext conftest$ac_exeext
22189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22190 (eval $ac_link) 2>conftest.er1
22191 ac_status=$?
22192 grep -v '^ *+' conftest.er1 >conftest.err
22193 rm -f conftest.er1
22194 cat conftest.err >&5
22195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22196 (exit $ac_status); } &&
22197 { ac_try='test -z "$ac_c_werror_flag"
22198 || test ! -s conftest.err'
22199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22200 (eval $ac_try) 2>&5
22201 ac_status=$?
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); }; } &&
22204 { ac_try='test -s conftest$ac_exeext'
22205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22206 (eval $ac_try) 2>&5
22207 ac_status=$?
22208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22209 (exit $ac_status); }; }; then
22210 eval "$as_ac_var=yes"
22211 else
22212 echo "$as_me: failed program was:" >&5
22213 sed 's/^/| /' conftest.$ac_ext >&5
22215 eval "$as_ac_var=no"
22217 rm -f conftest.err conftest.$ac_objext \
22218 conftest$ac_exeext conftest.$ac_ext
22220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22222 if test `eval echo '${'$as_ac_var'}'` = yes; then
22223 cat >>confdefs.h <<_ACEOF
22224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22225 _ACEOF
22228 done
22240 echo "$as_me:$LINENO: checking for expf declaration" >&5
22241 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
22242 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22243 if test "${glibcxx_cv_func_expf_use+set}" = set; then
22244 echo $ECHO_N "(cached) $ECHO_C" >&6
22245 else
22249 ac_ext=cc
22250 ac_cpp='$CXXCPP $CPPFLAGS'
22251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22255 cat >conftest.$ac_ext <<_ACEOF
22256 /* confdefs.h. */
22257 _ACEOF
22258 cat confdefs.h >>conftest.$ac_ext
22259 cat >>conftest.$ac_ext <<_ACEOF
22260 /* end confdefs.h. */
22261 #include <math.h>
22262 #ifdef HAVE_IEEEFP_H
22263 #include <ieeefp.h>
22264 #endif
22267 main ()
22269 expf(0);
22271 return 0;
22273 _ACEOF
22274 rm -f conftest.$ac_objext
22275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22276 (eval $ac_compile) 2>conftest.er1
22277 ac_status=$?
22278 grep -v '^ *+' conftest.er1 >conftest.err
22279 rm -f conftest.er1
22280 cat conftest.err >&5
22281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22282 (exit $ac_status); } &&
22283 { ac_try='test -z "$ac_cxx_werror_flag"
22284 || test ! -s conftest.err'
22285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22286 (eval $ac_try) 2>&5
22287 ac_status=$?
22288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22289 (exit $ac_status); }; } &&
22290 { ac_try='test -s conftest.$ac_objext'
22291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22292 (eval $ac_try) 2>&5
22293 ac_status=$?
22294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22295 (exit $ac_status); }; }; then
22296 glibcxx_cv_func_expf_use=yes
22297 else
22298 echo "$as_me: failed program was:" >&5
22299 sed 's/^/| /' conftest.$ac_ext >&5
22301 glibcxx_cv_func_expf_use=no
22303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22304 ac_ext=c
22305 ac_cpp='$CPP $CPPFLAGS'
22306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22314 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
22315 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
22317 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22319 for ac_func in expf
22321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22322 echo "$as_me:$LINENO: checking for $ac_func" >&5
22323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22324 if eval "test \"\${$as_ac_var+set}\" = set"; then
22325 echo $ECHO_N "(cached) $ECHO_C" >&6
22326 else
22327 if test x$gcc_no_link = xyes; then
22328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22330 { (exit 1); exit 1; }; }
22332 cat >conftest.$ac_ext <<_ACEOF
22333 /* confdefs.h. */
22334 _ACEOF
22335 cat confdefs.h >>conftest.$ac_ext
22336 cat >>conftest.$ac_ext <<_ACEOF
22337 /* end confdefs.h. */
22338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22340 #define $ac_func innocuous_$ac_func
22342 /* System header to define __stub macros and hopefully few prototypes,
22343 which can conflict with char $ac_func (); below.
22344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22345 <limits.h> exists even on freestanding compilers. */
22347 #ifdef __STDC__
22348 # include <limits.h>
22349 #else
22350 # include <assert.h>
22351 #endif
22353 #undef $ac_func
22355 /* Override any gcc2 internal prototype to avoid an error. */
22356 #ifdef __cplusplus
22357 extern "C"
22359 #endif
22360 /* We use char because int might match the return type of a gcc2
22361 builtin and then its argument prototype would still apply. */
22362 char $ac_func ();
22363 /* The GNU C library defines this for functions which it implements
22364 to always fail with ENOSYS. Some functions are actually named
22365 something starting with __ and the normal name is an alias. */
22366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22367 choke me
22368 #else
22369 char (*f) () = $ac_func;
22370 #endif
22371 #ifdef __cplusplus
22373 #endif
22376 main ()
22378 return f != $ac_func;
22380 return 0;
22382 _ACEOF
22383 rm -f conftest.$ac_objext conftest$ac_exeext
22384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22385 (eval $ac_link) 2>conftest.er1
22386 ac_status=$?
22387 grep -v '^ *+' conftest.er1 >conftest.err
22388 rm -f conftest.er1
22389 cat conftest.err >&5
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); } &&
22392 { ac_try='test -z "$ac_c_werror_flag"
22393 || test ! -s conftest.err'
22394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22395 (eval $ac_try) 2>&5
22396 ac_status=$?
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); }; } &&
22399 { ac_try='test -s conftest$ac_exeext'
22400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22401 (eval $ac_try) 2>&5
22402 ac_status=$?
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); }; }; then
22405 eval "$as_ac_var=yes"
22406 else
22407 echo "$as_me: failed program was:" >&5
22408 sed 's/^/| /' conftest.$ac_ext >&5
22410 eval "$as_ac_var=no"
22412 rm -f conftest.err conftest.$ac_objext \
22413 conftest$ac_exeext conftest.$ac_ext
22415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22417 if test `eval echo '${'$as_ac_var'}'` = yes; then
22418 cat >>confdefs.h <<_ACEOF
22419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22420 _ACEOF
22423 done
22425 else
22427 echo "$as_me:$LINENO: checking for _expf declaration" >&5
22428 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
22429 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22430 if test "${glibcxx_cv_func__expf_use+set}" = set; then
22431 echo $ECHO_N "(cached) $ECHO_C" >&6
22432 else
22436 ac_ext=cc
22437 ac_cpp='$CXXCPP $CPPFLAGS'
22438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22442 cat >conftest.$ac_ext <<_ACEOF
22443 /* confdefs.h. */
22444 _ACEOF
22445 cat confdefs.h >>conftest.$ac_ext
22446 cat >>conftest.$ac_ext <<_ACEOF
22447 /* end confdefs.h. */
22448 #include <math.h>
22449 #ifdef HAVE_IEEEFP_H
22450 #include <ieeefp.h>
22451 #endif
22454 main ()
22456 _expf(0);
22458 return 0;
22460 _ACEOF
22461 rm -f conftest.$ac_objext
22462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22463 (eval $ac_compile) 2>conftest.er1
22464 ac_status=$?
22465 grep -v '^ *+' conftest.er1 >conftest.err
22466 rm -f conftest.er1
22467 cat conftest.err >&5
22468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 (exit $ac_status); } &&
22470 { ac_try='test -z "$ac_cxx_werror_flag"
22471 || test ! -s conftest.err'
22472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22473 (eval $ac_try) 2>&5
22474 ac_status=$?
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); }; } &&
22477 { ac_try='test -s conftest.$ac_objext'
22478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22479 (eval $ac_try) 2>&5
22480 ac_status=$?
22481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22482 (exit $ac_status); }; }; then
22483 glibcxx_cv_func__expf_use=yes
22484 else
22485 echo "$as_me: failed program was:" >&5
22486 sed 's/^/| /' conftest.$ac_ext >&5
22488 glibcxx_cv_func__expf_use=no
22490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22491 ac_ext=c
22492 ac_cpp='$CPP $CPPFLAGS'
22493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22501 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
22502 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
22504 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22506 for ac_func in _expf
22508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22509 echo "$as_me:$LINENO: checking for $ac_func" >&5
22510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22511 if eval "test \"\${$as_ac_var+set}\" = set"; then
22512 echo $ECHO_N "(cached) $ECHO_C" >&6
22513 else
22514 if test x$gcc_no_link = xyes; then
22515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22517 { (exit 1); exit 1; }; }
22519 cat >conftest.$ac_ext <<_ACEOF
22520 /* confdefs.h. */
22521 _ACEOF
22522 cat confdefs.h >>conftest.$ac_ext
22523 cat >>conftest.$ac_ext <<_ACEOF
22524 /* end confdefs.h. */
22525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22527 #define $ac_func innocuous_$ac_func
22529 /* System header to define __stub macros and hopefully few prototypes,
22530 which can conflict with char $ac_func (); below.
22531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22532 <limits.h> exists even on freestanding compilers. */
22534 #ifdef __STDC__
22535 # include <limits.h>
22536 #else
22537 # include <assert.h>
22538 #endif
22540 #undef $ac_func
22542 /* Override any gcc2 internal prototype to avoid an error. */
22543 #ifdef __cplusplus
22544 extern "C"
22546 #endif
22547 /* We use char because int might match the return type of a gcc2
22548 builtin and then its argument prototype would still apply. */
22549 char $ac_func ();
22550 /* The GNU C library defines this for functions which it implements
22551 to always fail with ENOSYS. Some functions are actually named
22552 something starting with __ and the normal name is an alias. */
22553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22554 choke me
22555 #else
22556 char (*f) () = $ac_func;
22557 #endif
22558 #ifdef __cplusplus
22560 #endif
22563 main ()
22565 return f != $ac_func;
22567 return 0;
22569 _ACEOF
22570 rm -f conftest.$ac_objext conftest$ac_exeext
22571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22572 (eval $ac_link) 2>conftest.er1
22573 ac_status=$?
22574 grep -v '^ *+' conftest.er1 >conftest.err
22575 rm -f conftest.er1
22576 cat conftest.err >&5
22577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22578 (exit $ac_status); } &&
22579 { ac_try='test -z "$ac_c_werror_flag"
22580 || test ! -s conftest.err'
22581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22582 (eval $ac_try) 2>&5
22583 ac_status=$?
22584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585 (exit $ac_status); }; } &&
22586 { ac_try='test -s conftest$ac_exeext'
22587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22588 (eval $ac_try) 2>&5
22589 ac_status=$?
22590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22591 (exit $ac_status); }; }; then
22592 eval "$as_ac_var=yes"
22593 else
22594 echo "$as_me: failed program was:" >&5
22595 sed 's/^/| /' conftest.$ac_ext >&5
22597 eval "$as_ac_var=no"
22599 rm -f conftest.err conftest.$ac_objext \
22600 conftest$ac_exeext conftest.$ac_ext
22602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22604 if test `eval echo '${'$as_ac_var'}'` = yes; then
22605 cat >>confdefs.h <<_ACEOF
22606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22607 _ACEOF
22610 done
22620 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
22621 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
22622 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22623 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
22624 echo $ECHO_N "(cached) $ECHO_C" >&6
22625 else
22629 ac_ext=cc
22630 ac_cpp='$CXXCPP $CPPFLAGS'
22631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22635 cat >conftest.$ac_ext <<_ACEOF
22636 /* confdefs.h. */
22637 _ACEOF
22638 cat confdefs.h >>conftest.$ac_ext
22639 cat >>conftest.$ac_ext <<_ACEOF
22640 /* end confdefs.h. */
22641 #include <math.h>
22642 #ifdef HAVE_IEEEFP_H
22643 #include <ieeefp.h>
22644 #endif
22647 main ()
22649 isnanf(0);
22651 return 0;
22653 _ACEOF
22654 rm -f conftest.$ac_objext
22655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22656 (eval $ac_compile) 2>conftest.er1
22657 ac_status=$?
22658 grep -v '^ *+' conftest.er1 >conftest.err
22659 rm -f conftest.er1
22660 cat conftest.err >&5
22661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662 (exit $ac_status); } &&
22663 { ac_try='test -z "$ac_cxx_werror_flag"
22664 || test ! -s conftest.err'
22665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22666 (eval $ac_try) 2>&5
22667 ac_status=$?
22668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22669 (exit $ac_status); }; } &&
22670 { ac_try='test -s conftest.$ac_objext'
22671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22672 (eval $ac_try) 2>&5
22673 ac_status=$?
22674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22675 (exit $ac_status); }; }; then
22676 glibcxx_cv_func_isnanf_use=yes
22677 else
22678 echo "$as_me: failed program was:" >&5
22679 sed 's/^/| /' conftest.$ac_ext >&5
22681 glibcxx_cv_func_isnanf_use=no
22683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22684 ac_ext=c
22685 ac_cpp='$CPP $CPPFLAGS'
22686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22694 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
22695 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
22697 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22699 for ac_func in isnanf
22701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22702 echo "$as_me:$LINENO: checking for $ac_func" >&5
22703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22704 if eval "test \"\${$as_ac_var+set}\" = set"; then
22705 echo $ECHO_N "(cached) $ECHO_C" >&6
22706 else
22707 if test x$gcc_no_link = xyes; then
22708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22710 { (exit 1); exit 1; }; }
22712 cat >conftest.$ac_ext <<_ACEOF
22713 /* confdefs.h. */
22714 _ACEOF
22715 cat confdefs.h >>conftest.$ac_ext
22716 cat >>conftest.$ac_ext <<_ACEOF
22717 /* end confdefs.h. */
22718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22720 #define $ac_func innocuous_$ac_func
22722 /* System header to define __stub macros and hopefully few prototypes,
22723 which can conflict with char $ac_func (); below.
22724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22725 <limits.h> exists even on freestanding compilers. */
22727 #ifdef __STDC__
22728 # include <limits.h>
22729 #else
22730 # include <assert.h>
22731 #endif
22733 #undef $ac_func
22735 /* Override any gcc2 internal prototype to avoid an error. */
22736 #ifdef __cplusplus
22737 extern "C"
22739 #endif
22740 /* We use char because int might match the return type of a gcc2
22741 builtin and then its argument prototype would still apply. */
22742 char $ac_func ();
22743 /* The GNU C library defines this for functions which it implements
22744 to always fail with ENOSYS. Some functions are actually named
22745 something starting with __ and the normal name is an alias. */
22746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22747 choke me
22748 #else
22749 char (*f) () = $ac_func;
22750 #endif
22751 #ifdef __cplusplus
22753 #endif
22756 main ()
22758 return f != $ac_func;
22760 return 0;
22762 _ACEOF
22763 rm -f conftest.$ac_objext conftest$ac_exeext
22764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22765 (eval $ac_link) 2>conftest.er1
22766 ac_status=$?
22767 grep -v '^ *+' conftest.er1 >conftest.err
22768 rm -f conftest.er1
22769 cat conftest.err >&5
22770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22771 (exit $ac_status); } &&
22772 { ac_try='test -z "$ac_c_werror_flag"
22773 || test ! -s conftest.err'
22774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22775 (eval $ac_try) 2>&5
22776 ac_status=$?
22777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22778 (exit $ac_status); }; } &&
22779 { ac_try='test -s conftest$ac_exeext'
22780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22781 (eval $ac_try) 2>&5
22782 ac_status=$?
22783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22784 (exit $ac_status); }; }; then
22785 eval "$as_ac_var=yes"
22786 else
22787 echo "$as_me: failed program was:" >&5
22788 sed 's/^/| /' conftest.$ac_ext >&5
22790 eval "$as_ac_var=no"
22792 rm -f conftest.err conftest.$ac_objext \
22793 conftest$ac_exeext conftest.$ac_ext
22795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22797 if test `eval echo '${'$as_ac_var'}'` = yes; then
22798 cat >>confdefs.h <<_ACEOF
22799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22800 _ACEOF
22803 done
22805 else
22807 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
22808 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
22809 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22810 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
22811 echo $ECHO_N "(cached) $ECHO_C" >&6
22812 else
22816 ac_ext=cc
22817 ac_cpp='$CXXCPP $CPPFLAGS'
22818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22822 cat >conftest.$ac_ext <<_ACEOF
22823 /* confdefs.h. */
22824 _ACEOF
22825 cat confdefs.h >>conftest.$ac_ext
22826 cat >>conftest.$ac_ext <<_ACEOF
22827 /* end confdefs.h. */
22828 #include <math.h>
22829 #ifdef HAVE_IEEEFP_H
22830 #include <ieeefp.h>
22831 #endif
22834 main ()
22836 _isnanf(0);
22838 return 0;
22840 _ACEOF
22841 rm -f conftest.$ac_objext
22842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22843 (eval $ac_compile) 2>conftest.er1
22844 ac_status=$?
22845 grep -v '^ *+' conftest.er1 >conftest.err
22846 rm -f conftest.er1
22847 cat conftest.err >&5
22848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22849 (exit $ac_status); } &&
22850 { ac_try='test -z "$ac_cxx_werror_flag"
22851 || test ! -s conftest.err'
22852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22853 (eval $ac_try) 2>&5
22854 ac_status=$?
22855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22856 (exit $ac_status); }; } &&
22857 { ac_try='test -s conftest.$ac_objext'
22858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22859 (eval $ac_try) 2>&5
22860 ac_status=$?
22861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22862 (exit $ac_status); }; }; then
22863 glibcxx_cv_func__isnanf_use=yes
22864 else
22865 echo "$as_me: failed program was:" >&5
22866 sed 's/^/| /' conftest.$ac_ext >&5
22868 glibcxx_cv_func__isnanf_use=no
22870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22871 ac_ext=c
22872 ac_cpp='$CPP $CPPFLAGS'
22873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22881 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
22882 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
22884 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22886 for ac_func in _isnanf
22888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22889 echo "$as_me:$LINENO: checking for $ac_func" >&5
22890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22891 if eval "test \"\${$as_ac_var+set}\" = set"; then
22892 echo $ECHO_N "(cached) $ECHO_C" >&6
22893 else
22894 if test x$gcc_no_link = xyes; then
22895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22897 { (exit 1); exit 1; }; }
22899 cat >conftest.$ac_ext <<_ACEOF
22900 /* confdefs.h. */
22901 _ACEOF
22902 cat confdefs.h >>conftest.$ac_ext
22903 cat >>conftest.$ac_ext <<_ACEOF
22904 /* end confdefs.h. */
22905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22907 #define $ac_func innocuous_$ac_func
22909 /* System header to define __stub macros and hopefully few prototypes,
22910 which can conflict with char $ac_func (); below.
22911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22912 <limits.h> exists even on freestanding compilers. */
22914 #ifdef __STDC__
22915 # include <limits.h>
22916 #else
22917 # include <assert.h>
22918 #endif
22920 #undef $ac_func
22922 /* Override any gcc2 internal prototype to avoid an error. */
22923 #ifdef __cplusplus
22924 extern "C"
22926 #endif
22927 /* We use char because int might match the return type of a gcc2
22928 builtin and then its argument prototype would still apply. */
22929 char $ac_func ();
22930 /* The GNU C library defines this for functions which it implements
22931 to always fail with ENOSYS. Some functions are actually named
22932 something starting with __ and the normal name is an alias. */
22933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22934 choke me
22935 #else
22936 char (*f) () = $ac_func;
22937 #endif
22938 #ifdef __cplusplus
22940 #endif
22943 main ()
22945 return f != $ac_func;
22947 return 0;
22949 _ACEOF
22950 rm -f conftest.$ac_objext conftest$ac_exeext
22951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22952 (eval $ac_link) 2>conftest.er1
22953 ac_status=$?
22954 grep -v '^ *+' conftest.er1 >conftest.err
22955 rm -f conftest.er1
22956 cat conftest.err >&5
22957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958 (exit $ac_status); } &&
22959 { ac_try='test -z "$ac_c_werror_flag"
22960 || test ! -s conftest.err'
22961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22962 (eval $ac_try) 2>&5
22963 ac_status=$?
22964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22965 (exit $ac_status); }; } &&
22966 { ac_try='test -s conftest$ac_exeext'
22967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22968 (eval $ac_try) 2>&5
22969 ac_status=$?
22970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22971 (exit $ac_status); }; }; then
22972 eval "$as_ac_var=yes"
22973 else
22974 echo "$as_me: failed program was:" >&5
22975 sed 's/^/| /' conftest.$ac_ext >&5
22977 eval "$as_ac_var=no"
22979 rm -f conftest.err conftest.$ac_objext \
22980 conftest$ac_exeext conftest.$ac_ext
22982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22984 if test `eval echo '${'$as_ac_var'}'` = yes; then
22985 cat >>confdefs.h <<_ACEOF
22986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22987 _ACEOF
22990 done
23000 echo "$as_me:$LINENO: checking for isinff declaration" >&5
23001 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
23002 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23003 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
23004 echo $ECHO_N "(cached) $ECHO_C" >&6
23005 else
23009 ac_ext=cc
23010 ac_cpp='$CXXCPP $CPPFLAGS'
23011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23015 cat >conftest.$ac_ext <<_ACEOF
23016 /* confdefs.h. */
23017 _ACEOF
23018 cat confdefs.h >>conftest.$ac_ext
23019 cat >>conftest.$ac_ext <<_ACEOF
23020 /* end confdefs.h. */
23021 #include <math.h>
23022 #ifdef HAVE_IEEEFP_H
23023 #include <ieeefp.h>
23024 #endif
23027 main ()
23029 isinff(0);
23031 return 0;
23033 _ACEOF
23034 rm -f conftest.$ac_objext
23035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23036 (eval $ac_compile) 2>conftest.er1
23037 ac_status=$?
23038 grep -v '^ *+' conftest.er1 >conftest.err
23039 rm -f conftest.er1
23040 cat conftest.err >&5
23041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23042 (exit $ac_status); } &&
23043 { ac_try='test -z "$ac_cxx_werror_flag"
23044 || test ! -s conftest.err'
23045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23046 (eval $ac_try) 2>&5
23047 ac_status=$?
23048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23049 (exit $ac_status); }; } &&
23050 { ac_try='test -s conftest.$ac_objext'
23051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23052 (eval $ac_try) 2>&5
23053 ac_status=$?
23054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23055 (exit $ac_status); }; }; then
23056 glibcxx_cv_func_isinff_use=yes
23057 else
23058 echo "$as_me: failed program was:" >&5
23059 sed 's/^/| /' conftest.$ac_ext >&5
23061 glibcxx_cv_func_isinff_use=no
23063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23064 ac_ext=c
23065 ac_cpp='$CPP $CPPFLAGS'
23066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23074 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
23075 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
23077 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23079 for ac_func in isinff
23081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23082 echo "$as_me:$LINENO: checking for $ac_func" >&5
23083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23084 if eval "test \"\${$as_ac_var+set}\" = set"; then
23085 echo $ECHO_N "(cached) $ECHO_C" >&6
23086 else
23087 if test x$gcc_no_link = xyes; then
23088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23090 { (exit 1); exit 1; }; }
23092 cat >conftest.$ac_ext <<_ACEOF
23093 /* confdefs.h. */
23094 _ACEOF
23095 cat confdefs.h >>conftest.$ac_ext
23096 cat >>conftest.$ac_ext <<_ACEOF
23097 /* end confdefs.h. */
23098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23100 #define $ac_func innocuous_$ac_func
23102 /* System header to define __stub macros and hopefully few prototypes,
23103 which can conflict with char $ac_func (); below.
23104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23105 <limits.h> exists even on freestanding compilers. */
23107 #ifdef __STDC__
23108 # include <limits.h>
23109 #else
23110 # include <assert.h>
23111 #endif
23113 #undef $ac_func
23115 /* Override any gcc2 internal prototype to avoid an error. */
23116 #ifdef __cplusplus
23117 extern "C"
23119 #endif
23120 /* We use char because int might match the return type of a gcc2
23121 builtin and then its argument prototype would still apply. */
23122 char $ac_func ();
23123 /* The GNU C library defines this for functions which it implements
23124 to always fail with ENOSYS. Some functions are actually named
23125 something starting with __ and the normal name is an alias. */
23126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23127 choke me
23128 #else
23129 char (*f) () = $ac_func;
23130 #endif
23131 #ifdef __cplusplus
23133 #endif
23136 main ()
23138 return f != $ac_func;
23140 return 0;
23142 _ACEOF
23143 rm -f conftest.$ac_objext conftest$ac_exeext
23144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23145 (eval $ac_link) 2>conftest.er1
23146 ac_status=$?
23147 grep -v '^ *+' conftest.er1 >conftest.err
23148 rm -f conftest.er1
23149 cat conftest.err >&5
23150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23151 (exit $ac_status); } &&
23152 { ac_try='test -z "$ac_c_werror_flag"
23153 || test ! -s conftest.err'
23154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23155 (eval $ac_try) 2>&5
23156 ac_status=$?
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); }; } &&
23159 { ac_try='test -s conftest$ac_exeext'
23160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23161 (eval $ac_try) 2>&5
23162 ac_status=$?
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); }; }; then
23165 eval "$as_ac_var=yes"
23166 else
23167 echo "$as_me: failed program was:" >&5
23168 sed 's/^/| /' conftest.$ac_ext >&5
23170 eval "$as_ac_var=no"
23172 rm -f conftest.err conftest.$ac_objext \
23173 conftest$ac_exeext conftest.$ac_ext
23175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23177 if test `eval echo '${'$as_ac_var'}'` = yes; then
23178 cat >>confdefs.h <<_ACEOF
23179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23180 _ACEOF
23183 done
23185 else
23187 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
23188 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
23189 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23190 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
23191 echo $ECHO_N "(cached) $ECHO_C" >&6
23192 else
23196 ac_ext=cc
23197 ac_cpp='$CXXCPP $CPPFLAGS'
23198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23202 cat >conftest.$ac_ext <<_ACEOF
23203 /* confdefs.h. */
23204 _ACEOF
23205 cat confdefs.h >>conftest.$ac_ext
23206 cat >>conftest.$ac_ext <<_ACEOF
23207 /* end confdefs.h. */
23208 #include <math.h>
23209 #ifdef HAVE_IEEEFP_H
23210 #include <ieeefp.h>
23211 #endif
23214 main ()
23216 _isinff(0);
23218 return 0;
23220 _ACEOF
23221 rm -f conftest.$ac_objext
23222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23223 (eval $ac_compile) 2>conftest.er1
23224 ac_status=$?
23225 grep -v '^ *+' conftest.er1 >conftest.err
23226 rm -f conftest.er1
23227 cat conftest.err >&5
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); } &&
23230 { ac_try='test -z "$ac_cxx_werror_flag"
23231 || test ! -s conftest.err'
23232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23233 (eval $ac_try) 2>&5
23234 ac_status=$?
23235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236 (exit $ac_status); }; } &&
23237 { ac_try='test -s conftest.$ac_objext'
23238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23239 (eval $ac_try) 2>&5
23240 ac_status=$?
23241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242 (exit $ac_status); }; }; then
23243 glibcxx_cv_func__isinff_use=yes
23244 else
23245 echo "$as_me: failed program was:" >&5
23246 sed 's/^/| /' conftest.$ac_ext >&5
23248 glibcxx_cv_func__isinff_use=no
23250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23251 ac_ext=c
23252 ac_cpp='$CPP $CPPFLAGS'
23253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23261 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
23262 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
23264 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23266 for ac_func in _isinff
23268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23269 echo "$as_me:$LINENO: checking for $ac_func" >&5
23270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23271 if eval "test \"\${$as_ac_var+set}\" = set"; then
23272 echo $ECHO_N "(cached) $ECHO_C" >&6
23273 else
23274 if test x$gcc_no_link = xyes; then
23275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23277 { (exit 1); exit 1; }; }
23279 cat >conftest.$ac_ext <<_ACEOF
23280 /* confdefs.h. */
23281 _ACEOF
23282 cat confdefs.h >>conftest.$ac_ext
23283 cat >>conftest.$ac_ext <<_ACEOF
23284 /* end confdefs.h. */
23285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23287 #define $ac_func innocuous_$ac_func
23289 /* System header to define __stub macros and hopefully few prototypes,
23290 which can conflict with char $ac_func (); below.
23291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23292 <limits.h> exists even on freestanding compilers. */
23294 #ifdef __STDC__
23295 # include <limits.h>
23296 #else
23297 # include <assert.h>
23298 #endif
23300 #undef $ac_func
23302 /* Override any gcc2 internal prototype to avoid an error. */
23303 #ifdef __cplusplus
23304 extern "C"
23306 #endif
23307 /* We use char because int might match the return type of a gcc2
23308 builtin and then its argument prototype would still apply. */
23309 char $ac_func ();
23310 /* The GNU C library defines this for functions which it implements
23311 to always fail with ENOSYS. Some functions are actually named
23312 something starting with __ and the normal name is an alias. */
23313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23314 choke me
23315 #else
23316 char (*f) () = $ac_func;
23317 #endif
23318 #ifdef __cplusplus
23320 #endif
23323 main ()
23325 return f != $ac_func;
23327 return 0;
23329 _ACEOF
23330 rm -f conftest.$ac_objext conftest$ac_exeext
23331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23332 (eval $ac_link) 2>conftest.er1
23333 ac_status=$?
23334 grep -v '^ *+' conftest.er1 >conftest.err
23335 rm -f conftest.er1
23336 cat conftest.err >&5
23337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23338 (exit $ac_status); } &&
23339 { ac_try='test -z "$ac_c_werror_flag"
23340 || test ! -s conftest.err'
23341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23342 (eval $ac_try) 2>&5
23343 ac_status=$?
23344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23345 (exit $ac_status); }; } &&
23346 { ac_try='test -s conftest$ac_exeext'
23347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23348 (eval $ac_try) 2>&5
23349 ac_status=$?
23350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23351 (exit $ac_status); }; }; then
23352 eval "$as_ac_var=yes"
23353 else
23354 echo "$as_me: failed program was:" >&5
23355 sed 's/^/| /' conftest.$ac_ext >&5
23357 eval "$as_ac_var=no"
23359 rm -f conftest.err conftest.$ac_objext \
23360 conftest$ac_exeext conftest.$ac_ext
23362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23364 if test `eval echo '${'$as_ac_var'}'` = yes; then
23365 cat >>confdefs.h <<_ACEOF
23366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23367 _ACEOF
23370 done
23380 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
23381 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
23382 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23383 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
23384 echo $ECHO_N "(cached) $ECHO_C" >&6
23385 else
23389 ac_ext=cc
23390 ac_cpp='$CXXCPP $CPPFLAGS'
23391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23395 cat >conftest.$ac_ext <<_ACEOF
23396 /* confdefs.h. */
23397 _ACEOF
23398 cat confdefs.h >>conftest.$ac_ext
23399 cat >>conftest.$ac_ext <<_ACEOF
23400 /* end confdefs.h. */
23401 #include <math.h>
23403 main ()
23405 atan2f(0, 0);
23407 return 0;
23409 _ACEOF
23410 rm -f conftest.$ac_objext
23411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23412 (eval $ac_compile) 2>conftest.er1
23413 ac_status=$?
23414 grep -v '^ *+' conftest.er1 >conftest.err
23415 rm -f conftest.er1
23416 cat conftest.err >&5
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); } &&
23419 { ac_try='test -z "$ac_cxx_werror_flag"
23420 || test ! -s conftest.err'
23421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23422 (eval $ac_try) 2>&5
23423 ac_status=$?
23424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23425 (exit $ac_status); }; } &&
23426 { ac_try='test -s conftest.$ac_objext'
23427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23428 (eval $ac_try) 2>&5
23429 ac_status=$?
23430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23431 (exit $ac_status); }; }; then
23432 glibcxx_cv_func_atan2f_use=yes
23433 else
23434 echo "$as_me: failed program was:" >&5
23435 sed 's/^/| /' conftest.$ac_ext >&5
23437 glibcxx_cv_func_atan2f_use=no
23439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23440 ac_ext=c
23441 ac_cpp='$CPP $CPPFLAGS'
23442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23450 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
23451 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
23453 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23455 for ac_func in atan2f
23457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23458 echo "$as_me:$LINENO: checking for $ac_func" >&5
23459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23460 if eval "test \"\${$as_ac_var+set}\" = set"; then
23461 echo $ECHO_N "(cached) $ECHO_C" >&6
23462 else
23463 if test x$gcc_no_link = xyes; then
23464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23466 { (exit 1); exit 1; }; }
23468 cat >conftest.$ac_ext <<_ACEOF
23469 /* confdefs.h. */
23470 _ACEOF
23471 cat confdefs.h >>conftest.$ac_ext
23472 cat >>conftest.$ac_ext <<_ACEOF
23473 /* end confdefs.h. */
23474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23476 #define $ac_func innocuous_$ac_func
23478 /* System header to define __stub macros and hopefully few prototypes,
23479 which can conflict with char $ac_func (); below.
23480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23481 <limits.h> exists even on freestanding compilers. */
23483 #ifdef __STDC__
23484 # include <limits.h>
23485 #else
23486 # include <assert.h>
23487 #endif
23489 #undef $ac_func
23491 /* Override any gcc2 internal prototype to avoid an error. */
23492 #ifdef __cplusplus
23493 extern "C"
23495 #endif
23496 /* We use char because int might match the return type of a gcc2
23497 builtin and then its argument prototype would still apply. */
23498 char $ac_func ();
23499 /* The GNU C library defines this for functions which it implements
23500 to always fail with ENOSYS. Some functions are actually named
23501 something starting with __ and the normal name is an alias. */
23502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23503 choke me
23504 #else
23505 char (*f) () = $ac_func;
23506 #endif
23507 #ifdef __cplusplus
23509 #endif
23512 main ()
23514 return f != $ac_func;
23516 return 0;
23518 _ACEOF
23519 rm -f conftest.$ac_objext conftest$ac_exeext
23520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23521 (eval $ac_link) 2>conftest.er1
23522 ac_status=$?
23523 grep -v '^ *+' conftest.er1 >conftest.err
23524 rm -f conftest.er1
23525 cat conftest.err >&5
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); } &&
23528 { ac_try='test -z "$ac_c_werror_flag"
23529 || test ! -s conftest.err'
23530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23531 (eval $ac_try) 2>&5
23532 ac_status=$?
23533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23534 (exit $ac_status); }; } &&
23535 { ac_try='test -s conftest$ac_exeext'
23536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23537 (eval $ac_try) 2>&5
23538 ac_status=$?
23539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23540 (exit $ac_status); }; }; then
23541 eval "$as_ac_var=yes"
23542 else
23543 echo "$as_me: failed program was:" >&5
23544 sed 's/^/| /' conftest.$ac_ext >&5
23546 eval "$as_ac_var=no"
23548 rm -f conftest.err conftest.$ac_objext \
23549 conftest$ac_exeext conftest.$ac_ext
23551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23553 if test `eval echo '${'$as_ac_var'}'` = yes; then
23554 cat >>confdefs.h <<_ACEOF
23555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23556 _ACEOF
23559 done
23561 else
23563 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
23564 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
23565 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23566 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
23567 echo $ECHO_N "(cached) $ECHO_C" >&6
23568 else
23572 ac_ext=cc
23573 ac_cpp='$CXXCPP $CPPFLAGS'
23574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23578 cat >conftest.$ac_ext <<_ACEOF
23579 /* confdefs.h. */
23580 _ACEOF
23581 cat confdefs.h >>conftest.$ac_ext
23582 cat >>conftest.$ac_ext <<_ACEOF
23583 /* end confdefs.h. */
23584 #include <math.h>
23586 main ()
23588 _atan2f(0, 0);
23590 return 0;
23592 _ACEOF
23593 rm -f conftest.$ac_objext
23594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23595 (eval $ac_compile) 2>conftest.er1
23596 ac_status=$?
23597 grep -v '^ *+' conftest.er1 >conftest.err
23598 rm -f conftest.er1
23599 cat conftest.err >&5
23600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23601 (exit $ac_status); } &&
23602 { ac_try='test -z "$ac_cxx_werror_flag"
23603 || test ! -s conftest.err'
23604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23605 (eval $ac_try) 2>&5
23606 ac_status=$?
23607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608 (exit $ac_status); }; } &&
23609 { ac_try='test -s conftest.$ac_objext'
23610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23611 (eval $ac_try) 2>&5
23612 ac_status=$?
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); }; }; then
23615 glibcxx_cv_func__atan2f_use=yes
23616 else
23617 echo "$as_me: failed program was:" >&5
23618 sed 's/^/| /' conftest.$ac_ext >&5
23620 glibcxx_cv_func__atan2f_use=no
23622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23623 ac_ext=c
23624 ac_cpp='$CPP $CPPFLAGS'
23625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23633 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
23634 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
23636 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23638 for ac_func in _atan2f
23640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23641 echo "$as_me:$LINENO: checking for $ac_func" >&5
23642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23643 if eval "test \"\${$as_ac_var+set}\" = set"; then
23644 echo $ECHO_N "(cached) $ECHO_C" >&6
23645 else
23646 if test x$gcc_no_link = xyes; then
23647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23649 { (exit 1); exit 1; }; }
23651 cat >conftest.$ac_ext <<_ACEOF
23652 /* confdefs.h. */
23653 _ACEOF
23654 cat confdefs.h >>conftest.$ac_ext
23655 cat >>conftest.$ac_ext <<_ACEOF
23656 /* end confdefs.h. */
23657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23659 #define $ac_func innocuous_$ac_func
23661 /* System header to define __stub macros and hopefully few prototypes,
23662 which can conflict with char $ac_func (); below.
23663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23664 <limits.h> exists even on freestanding compilers. */
23666 #ifdef __STDC__
23667 # include <limits.h>
23668 #else
23669 # include <assert.h>
23670 #endif
23672 #undef $ac_func
23674 /* Override any gcc2 internal prototype to avoid an error. */
23675 #ifdef __cplusplus
23676 extern "C"
23678 #endif
23679 /* We use char because int might match the return type of a gcc2
23680 builtin and then its argument prototype would still apply. */
23681 char $ac_func ();
23682 /* The GNU C library defines this for functions which it implements
23683 to always fail with ENOSYS. Some functions are actually named
23684 something starting with __ and the normal name is an alias. */
23685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23686 choke me
23687 #else
23688 char (*f) () = $ac_func;
23689 #endif
23690 #ifdef __cplusplus
23692 #endif
23695 main ()
23697 return f != $ac_func;
23699 return 0;
23701 _ACEOF
23702 rm -f conftest.$ac_objext conftest$ac_exeext
23703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23704 (eval $ac_link) 2>conftest.er1
23705 ac_status=$?
23706 grep -v '^ *+' conftest.er1 >conftest.err
23707 rm -f conftest.er1
23708 cat conftest.err >&5
23709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23710 (exit $ac_status); } &&
23711 { ac_try='test -z "$ac_c_werror_flag"
23712 || test ! -s conftest.err'
23713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23714 (eval $ac_try) 2>&5
23715 ac_status=$?
23716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23717 (exit $ac_status); }; } &&
23718 { ac_try='test -s conftest$ac_exeext'
23719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23720 (eval $ac_try) 2>&5
23721 ac_status=$?
23722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23723 (exit $ac_status); }; }; then
23724 eval "$as_ac_var=yes"
23725 else
23726 echo "$as_me: failed program was:" >&5
23727 sed 's/^/| /' conftest.$ac_ext >&5
23729 eval "$as_ac_var=no"
23731 rm -f conftest.err conftest.$ac_objext \
23732 conftest$ac_exeext conftest.$ac_ext
23734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23736 if test `eval echo '${'$as_ac_var'}'` = yes; then
23737 cat >>confdefs.h <<_ACEOF
23738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23739 _ACEOF
23742 done
23752 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
23753 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
23754 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23755 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
23756 echo $ECHO_N "(cached) $ECHO_C" >&6
23757 else
23761 ac_ext=cc
23762 ac_cpp='$CXXCPP $CPPFLAGS'
23763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23767 cat >conftest.$ac_ext <<_ACEOF
23768 /* confdefs.h. */
23769 _ACEOF
23770 cat confdefs.h >>conftest.$ac_ext
23771 cat >>conftest.$ac_ext <<_ACEOF
23772 /* end confdefs.h. */
23773 #include <math.h>
23774 #ifdef HAVE_IEEEFP_H
23775 #include <ieeefp.h>
23776 #endif
23779 main ()
23781 fabsf(0);
23783 return 0;
23785 _ACEOF
23786 rm -f conftest.$ac_objext
23787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23788 (eval $ac_compile) 2>conftest.er1
23789 ac_status=$?
23790 grep -v '^ *+' conftest.er1 >conftest.err
23791 rm -f conftest.er1
23792 cat conftest.err >&5
23793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23794 (exit $ac_status); } &&
23795 { ac_try='test -z "$ac_cxx_werror_flag"
23796 || test ! -s conftest.err'
23797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23798 (eval $ac_try) 2>&5
23799 ac_status=$?
23800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23801 (exit $ac_status); }; } &&
23802 { ac_try='test -s conftest.$ac_objext'
23803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23804 (eval $ac_try) 2>&5
23805 ac_status=$?
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); }; }; then
23808 glibcxx_cv_func_fabsf_use=yes
23809 else
23810 echo "$as_me: failed program was:" >&5
23811 sed 's/^/| /' conftest.$ac_ext >&5
23813 glibcxx_cv_func_fabsf_use=no
23815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23816 ac_ext=c
23817 ac_cpp='$CPP $CPPFLAGS'
23818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23826 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
23827 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
23829 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23831 for ac_func in fabsf
23833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23834 echo "$as_me:$LINENO: checking for $ac_func" >&5
23835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23836 if eval "test \"\${$as_ac_var+set}\" = set"; then
23837 echo $ECHO_N "(cached) $ECHO_C" >&6
23838 else
23839 if test x$gcc_no_link = xyes; then
23840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23842 { (exit 1); exit 1; }; }
23844 cat >conftest.$ac_ext <<_ACEOF
23845 /* confdefs.h. */
23846 _ACEOF
23847 cat confdefs.h >>conftest.$ac_ext
23848 cat >>conftest.$ac_ext <<_ACEOF
23849 /* end confdefs.h. */
23850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23852 #define $ac_func innocuous_$ac_func
23854 /* System header to define __stub macros and hopefully few prototypes,
23855 which can conflict with char $ac_func (); below.
23856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23857 <limits.h> exists even on freestanding compilers. */
23859 #ifdef __STDC__
23860 # include <limits.h>
23861 #else
23862 # include <assert.h>
23863 #endif
23865 #undef $ac_func
23867 /* Override any gcc2 internal prototype to avoid an error. */
23868 #ifdef __cplusplus
23869 extern "C"
23871 #endif
23872 /* We use char because int might match the return type of a gcc2
23873 builtin and then its argument prototype would still apply. */
23874 char $ac_func ();
23875 /* The GNU C library defines this for functions which it implements
23876 to always fail with ENOSYS. Some functions are actually named
23877 something starting with __ and the normal name is an alias. */
23878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23879 choke me
23880 #else
23881 char (*f) () = $ac_func;
23882 #endif
23883 #ifdef __cplusplus
23885 #endif
23888 main ()
23890 return f != $ac_func;
23892 return 0;
23894 _ACEOF
23895 rm -f conftest.$ac_objext conftest$ac_exeext
23896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23897 (eval $ac_link) 2>conftest.er1
23898 ac_status=$?
23899 grep -v '^ *+' conftest.er1 >conftest.err
23900 rm -f conftest.er1
23901 cat conftest.err >&5
23902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903 (exit $ac_status); } &&
23904 { ac_try='test -z "$ac_c_werror_flag"
23905 || test ! -s conftest.err'
23906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23907 (eval $ac_try) 2>&5
23908 ac_status=$?
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); }; } &&
23911 { ac_try='test -s conftest$ac_exeext'
23912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23913 (eval $ac_try) 2>&5
23914 ac_status=$?
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); }; }; then
23917 eval "$as_ac_var=yes"
23918 else
23919 echo "$as_me: failed program was:" >&5
23920 sed 's/^/| /' conftest.$ac_ext >&5
23922 eval "$as_ac_var=no"
23924 rm -f conftest.err conftest.$ac_objext \
23925 conftest$ac_exeext conftest.$ac_ext
23927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23929 if test `eval echo '${'$as_ac_var'}'` = yes; then
23930 cat >>confdefs.h <<_ACEOF
23931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23932 _ACEOF
23935 done
23937 else
23939 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
23940 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
23941 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23942 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
23943 echo $ECHO_N "(cached) $ECHO_C" >&6
23944 else
23948 ac_ext=cc
23949 ac_cpp='$CXXCPP $CPPFLAGS'
23950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23954 cat >conftest.$ac_ext <<_ACEOF
23955 /* confdefs.h. */
23956 _ACEOF
23957 cat confdefs.h >>conftest.$ac_ext
23958 cat >>conftest.$ac_ext <<_ACEOF
23959 /* end confdefs.h. */
23960 #include <math.h>
23961 #ifdef HAVE_IEEEFP_H
23962 #include <ieeefp.h>
23963 #endif
23966 main ()
23968 _fabsf(0);
23970 return 0;
23972 _ACEOF
23973 rm -f conftest.$ac_objext
23974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23975 (eval $ac_compile) 2>conftest.er1
23976 ac_status=$?
23977 grep -v '^ *+' conftest.er1 >conftest.err
23978 rm -f conftest.er1
23979 cat conftest.err >&5
23980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23981 (exit $ac_status); } &&
23982 { ac_try='test -z "$ac_cxx_werror_flag"
23983 || test ! -s conftest.err'
23984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23985 (eval $ac_try) 2>&5
23986 ac_status=$?
23987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23988 (exit $ac_status); }; } &&
23989 { ac_try='test -s conftest.$ac_objext'
23990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23991 (eval $ac_try) 2>&5
23992 ac_status=$?
23993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23994 (exit $ac_status); }; }; then
23995 glibcxx_cv_func__fabsf_use=yes
23996 else
23997 echo "$as_me: failed program was:" >&5
23998 sed 's/^/| /' conftest.$ac_ext >&5
24000 glibcxx_cv_func__fabsf_use=no
24002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24003 ac_ext=c
24004 ac_cpp='$CPP $CPPFLAGS'
24005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24013 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
24014 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
24016 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24018 for ac_func in _fabsf
24020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24021 echo "$as_me:$LINENO: checking for $ac_func" >&5
24022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24023 if eval "test \"\${$as_ac_var+set}\" = set"; then
24024 echo $ECHO_N "(cached) $ECHO_C" >&6
24025 else
24026 if test x$gcc_no_link = xyes; then
24027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24029 { (exit 1); exit 1; }; }
24031 cat >conftest.$ac_ext <<_ACEOF
24032 /* confdefs.h. */
24033 _ACEOF
24034 cat confdefs.h >>conftest.$ac_ext
24035 cat >>conftest.$ac_ext <<_ACEOF
24036 /* end confdefs.h. */
24037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24039 #define $ac_func innocuous_$ac_func
24041 /* System header to define __stub macros and hopefully few prototypes,
24042 which can conflict with char $ac_func (); below.
24043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24044 <limits.h> exists even on freestanding compilers. */
24046 #ifdef __STDC__
24047 # include <limits.h>
24048 #else
24049 # include <assert.h>
24050 #endif
24052 #undef $ac_func
24054 /* Override any gcc2 internal prototype to avoid an error. */
24055 #ifdef __cplusplus
24056 extern "C"
24058 #endif
24059 /* We use char because int might match the return type of a gcc2
24060 builtin and then its argument prototype would still apply. */
24061 char $ac_func ();
24062 /* The GNU C library defines this for functions which it implements
24063 to always fail with ENOSYS. Some functions are actually named
24064 something starting with __ and the normal name is an alias. */
24065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24066 choke me
24067 #else
24068 char (*f) () = $ac_func;
24069 #endif
24070 #ifdef __cplusplus
24072 #endif
24075 main ()
24077 return f != $ac_func;
24079 return 0;
24081 _ACEOF
24082 rm -f conftest.$ac_objext conftest$ac_exeext
24083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24084 (eval $ac_link) 2>conftest.er1
24085 ac_status=$?
24086 grep -v '^ *+' conftest.er1 >conftest.err
24087 rm -f conftest.er1
24088 cat conftest.err >&5
24089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24090 (exit $ac_status); } &&
24091 { ac_try='test -z "$ac_c_werror_flag"
24092 || test ! -s conftest.err'
24093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24094 (eval $ac_try) 2>&5
24095 ac_status=$?
24096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24097 (exit $ac_status); }; } &&
24098 { ac_try='test -s conftest$ac_exeext'
24099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24100 (eval $ac_try) 2>&5
24101 ac_status=$?
24102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24103 (exit $ac_status); }; }; then
24104 eval "$as_ac_var=yes"
24105 else
24106 echo "$as_me: failed program was:" >&5
24107 sed 's/^/| /' conftest.$ac_ext >&5
24109 eval "$as_ac_var=no"
24111 rm -f conftest.err conftest.$ac_objext \
24112 conftest$ac_exeext conftest.$ac_ext
24114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24116 if test `eval echo '${'$as_ac_var'}'` = yes; then
24117 cat >>confdefs.h <<_ACEOF
24118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24119 _ACEOF
24122 done
24132 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
24133 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
24134 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24135 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
24136 echo $ECHO_N "(cached) $ECHO_C" >&6
24137 else
24141 ac_ext=cc
24142 ac_cpp='$CXXCPP $CPPFLAGS'
24143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24147 cat >conftest.$ac_ext <<_ACEOF
24148 /* confdefs.h. */
24149 _ACEOF
24150 cat confdefs.h >>conftest.$ac_ext
24151 cat >>conftest.$ac_ext <<_ACEOF
24152 /* end confdefs.h. */
24153 #include <math.h>
24155 main ()
24157 fmodf(0, 0);
24159 return 0;
24161 _ACEOF
24162 rm -f conftest.$ac_objext
24163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24164 (eval $ac_compile) 2>conftest.er1
24165 ac_status=$?
24166 grep -v '^ *+' conftest.er1 >conftest.err
24167 rm -f conftest.er1
24168 cat conftest.err >&5
24169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24170 (exit $ac_status); } &&
24171 { ac_try='test -z "$ac_cxx_werror_flag"
24172 || test ! -s conftest.err'
24173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24174 (eval $ac_try) 2>&5
24175 ac_status=$?
24176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24177 (exit $ac_status); }; } &&
24178 { ac_try='test -s conftest.$ac_objext'
24179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24180 (eval $ac_try) 2>&5
24181 ac_status=$?
24182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24183 (exit $ac_status); }; }; then
24184 glibcxx_cv_func_fmodf_use=yes
24185 else
24186 echo "$as_me: failed program was:" >&5
24187 sed 's/^/| /' conftest.$ac_ext >&5
24189 glibcxx_cv_func_fmodf_use=no
24191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24192 ac_ext=c
24193 ac_cpp='$CPP $CPPFLAGS'
24194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24202 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
24203 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
24205 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24207 for ac_func in fmodf
24209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24210 echo "$as_me:$LINENO: checking for $ac_func" >&5
24211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24212 if eval "test \"\${$as_ac_var+set}\" = set"; then
24213 echo $ECHO_N "(cached) $ECHO_C" >&6
24214 else
24215 if test x$gcc_no_link = xyes; then
24216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24218 { (exit 1); exit 1; }; }
24220 cat >conftest.$ac_ext <<_ACEOF
24221 /* confdefs.h. */
24222 _ACEOF
24223 cat confdefs.h >>conftest.$ac_ext
24224 cat >>conftest.$ac_ext <<_ACEOF
24225 /* end confdefs.h. */
24226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24228 #define $ac_func innocuous_$ac_func
24230 /* System header to define __stub macros and hopefully few prototypes,
24231 which can conflict with char $ac_func (); below.
24232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24233 <limits.h> exists even on freestanding compilers. */
24235 #ifdef __STDC__
24236 # include <limits.h>
24237 #else
24238 # include <assert.h>
24239 #endif
24241 #undef $ac_func
24243 /* Override any gcc2 internal prototype to avoid an error. */
24244 #ifdef __cplusplus
24245 extern "C"
24247 #endif
24248 /* We use char because int might match the return type of a gcc2
24249 builtin and then its argument prototype would still apply. */
24250 char $ac_func ();
24251 /* The GNU C library defines this for functions which it implements
24252 to always fail with ENOSYS. Some functions are actually named
24253 something starting with __ and the normal name is an alias. */
24254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24255 choke me
24256 #else
24257 char (*f) () = $ac_func;
24258 #endif
24259 #ifdef __cplusplus
24261 #endif
24264 main ()
24266 return f != $ac_func;
24268 return 0;
24270 _ACEOF
24271 rm -f conftest.$ac_objext conftest$ac_exeext
24272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24273 (eval $ac_link) 2>conftest.er1
24274 ac_status=$?
24275 grep -v '^ *+' conftest.er1 >conftest.err
24276 rm -f conftest.er1
24277 cat conftest.err >&5
24278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24279 (exit $ac_status); } &&
24280 { ac_try='test -z "$ac_c_werror_flag"
24281 || test ! -s conftest.err'
24282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24283 (eval $ac_try) 2>&5
24284 ac_status=$?
24285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24286 (exit $ac_status); }; } &&
24287 { ac_try='test -s conftest$ac_exeext'
24288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24289 (eval $ac_try) 2>&5
24290 ac_status=$?
24291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24292 (exit $ac_status); }; }; then
24293 eval "$as_ac_var=yes"
24294 else
24295 echo "$as_me: failed program was:" >&5
24296 sed 's/^/| /' conftest.$ac_ext >&5
24298 eval "$as_ac_var=no"
24300 rm -f conftest.err conftest.$ac_objext \
24301 conftest$ac_exeext conftest.$ac_ext
24303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24305 if test `eval echo '${'$as_ac_var'}'` = yes; then
24306 cat >>confdefs.h <<_ACEOF
24307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24308 _ACEOF
24311 done
24313 else
24315 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
24316 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
24317 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24318 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
24319 echo $ECHO_N "(cached) $ECHO_C" >&6
24320 else
24324 ac_ext=cc
24325 ac_cpp='$CXXCPP $CPPFLAGS'
24326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24330 cat >conftest.$ac_ext <<_ACEOF
24331 /* confdefs.h. */
24332 _ACEOF
24333 cat confdefs.h >>conftest.$ac_ext
24334 cat >>conftest.$ac_ext <<_ACEOF
24335 /* end confdefs.h. */
24336 #include <math.h>
24338 main ()
24340 _fmodf(0, 0);
24342 return 0;
24344 _ACEOF
24345 rm -f conftest.$ac_objext
24346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24347 (eval $ac_compile) 2>conftest.er1
24348 ac_status=$?
24349 grep -v '^ *+' conftest.er1 >conftest.err
24350 rm -f conftest.er1
24351 cat conftest.err >&5
24352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353 (exit $ac_status); } &&
24354 { ac_try='test -z "$ac_cxx_werror_flag"
24355 || test ! -s conftest.err'
24356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24357 (eval $ac_try) 2>&5
24358 ac_status=$?
24359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24360 (exit $ac_status); }; } &&
24361 { ac_try='test -s conftest.$ac_objext'
24362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24363 (eval $ac_try) 2>&5
24364 ac_status=$?
24365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366 (exit $ac_status); }; }; then
24367 glibcxx_cv_func__fmodf_use=yes
24368 else
24369 echo "$as_me: failed program was:" >&5
24370 sed 's/^/| /' conftest.$ac_ext >&5
24372 glibcxx_cv_func__fmodf_use=no
24374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24375 ac_ext=c
24376 ac_cpp='$CPP $CPPFLAGS'
24377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24385 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
24386 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
24388 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24390 for ac_func in _fmodf
24392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24393 echo "$as_me:$LINENO: checking for $ac_func" >&5
24394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24395 if eval "test \"\${$as_ac_var+set}\" = set"; then
24396 echo $ECHO_N "(cached) $ECHO_C" >&6
24397 else
24398 if test x$gcc_no_link = xyes; then
24399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24401 { (exit 1); exit 1; }; }
24403 cat >conftest.$ac_ext <<_ACEOF
24404 /* confdefs.h. */
24405 _ACEOF
24406 cat confdefs.h >>conftest.$ac_ext
24407 cat >>conftest.$ac_ext <<_ACEOF
24408 /* end confdefs.h. */
24409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24411 #define $ac_func innocuous_$ac_func
24413 /* System header to define __stub macros and hopefully few prototypes,
24414 which can conflict with char $ac_func (); below.
24415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24416 <limits.h> exists even on freestanding compilers. */
24418 #ifdef __STDC__
24419 # include <limits.h>
24420 #else
24421 # include <assert.h>
24422 #endif
24424 #undef $ac_func
24426 /* Override any gcc2 internal prototype to avoid an error. */
24427 #ifdef __cplusplus
24428 extern "C"
24430 #endif
24431 /* We use char because int might match the return type of a gcc2
24432 builtin and then its argument prototype would still apply. */
24433 char $ac_func ();
24434 /* The GNU C library defines this for functions which it implements
24435 to always fail with ENOSYS. Some functions are actually named
24436 something starting with __ and the normal name is an alias. */
24437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24438 choke me
24439 #else
24440 char (*f) () = $ac_func;
24441 #endif
24442 #ifdef __cplusplus
24444 #endif
24447 main ()
24449 return f != $ac_func;
24451 return 0;
24453 _ACEOF
24454 rm -f conftest.$ac_objext conftest$ac_exeext
24455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24456 (eval $ac_link) 2>conftest.er1
24457 ac_status=$?
24458 grep -v '^ *+' conftest.er1 >conftest.err
24459 rm -f conftest.er1
24460 cat conftest.err >&5
24461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 (exit $ac_status); } &&
24463 { ac_try='test -z "$ac_c_werror_flag"
24464 || test ! -s conftest.err'
24465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24466 (eval $ac_try) 2>&5
24467 ac_status=$?
24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469 (exit $ac_status); }; } &&
24470 { ac_try='test -s conftest$ac_exeext'
24471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24472 (eval $ac_try) 2>&5
24473 ac_status=$?
24474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24475 (exit $ac_status); }; }; then
24476 eval "$as_ac_var=yes"
24477 else
24478 echo "$as_me: failed program was:" >&5
24479 sed 's/^/| /' conftest.$ac_ext >&5
24481 eval "$as_ac_var=no"
24483 rm -f conftest.err conftest.$ac_objext \
24484 conftest$ac_exeext conftest.$ac_ext
24486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24488 if test `eval echo '${'$as_ac_var'}'` = yes; then
24489 cat >>confdefs.h <<_ACEOF
24490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24491 _ACEOF
24494 done
24504 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
24505 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
24506 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24507 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
24508 echo $ECHO_N "(cached) $ECHO_C" >&6
24509 else
24513 ac_ext=cc
24514 ac_cpp='$CXXCPP $CPPFLAGS'
24515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24519 cat >conftest.$ac_ext <<_ACEOF
24520 /* confdefs.h. */
24521 _ACEOF
24522 cat confdefs.h >>conftest.$ac_ext
24523 cat >>conftest.$ac_ext <<_ACEOF
24524 /* end confdefs.h. */
24525 #include <math.h>
24527 main ()
24529 frexpf(0, 0);
24531 return 0;
24533 _ACEOF
24534 rm -f conftest.$ac_objext
24535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24536 (eval $ac_compile) 2>conftest.er1
24537 ac_status=$?
24538 grep -v '^ *+' conftest.er1 >conftest.err
24539 rm -f conftest.er1
24540 cat conftest.err >&5
24541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542 (exit $ac_status); } &&
24543 { ac_try='test -z "$ac_cxx_werror_flag"
24544 || test ! -s conftest.err'
24545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24546 (eval $ac_try) 2>&5
24547 ac_status=$?
24548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24549 (exit $ac_status); }; } &&
24550 { ac_try='test -s conftest.$ac_objext'
24551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24552 (eval $ac_try) 2>&5
24553 ac_status=$?
24554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24555 (exit $ac_status); }; }; then
24556 glibcxx_cv_func_frexpf_use=yes
24557 else
24558 echo "$as_me: failed program was:" >&5
24559 sed 's/^/| /' conftest.$ac_ext >&5
24561 glibcxx_cv_func_frexpf_use=no
24563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24564 ac_ext=c
24565 ac_cpp='$CPP $CPPFLAGS'
24566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24574 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
24575 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
24577 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24579 for ac_func in frexpf
24581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24582 echo "$as_me:$LINENO: checking for $ac_func" >&5
24583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24584 if eval "test \"\${$as_ac_var+set}\" = set"; then
24585 echo $ECHO_N "(cached) $ECHO_C" >&6
24586 else
24587 if test x$gcc_no_link = xyes; then
24588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24590 { (exit 1); exit 1; }; }
24592 cat >conftest.$ac_ext <<_ACEOF
24593 /* confdefs.h. */
24594 _ACEOF
24595 cat confdefs.h >>conftest.$ac_ext
24596 cat >>conftest.$ac_ext <<_ACEOF
24597 /* end confdefs.h. */
24598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24600 #define $ac_func innocuous_$ac_func
24602 /* System header to define __stub macros and hopefully few prototypes,
24603 which can conflict with char $ac_func (); below.
24604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24605 <limits.h> exists even on freestanding compilers. */
24607 #ifdef __STDC__
24608 # include <limits.h>
24609 #else
24610 # include <assert.h>
24611 #endif
24613 #undef $ac_func
24615 /* Override any gcc2 internal prototype to avoid an error. */
24616 #ifdef __cplusplus
24617 extern "C"
24619 #endif
24620 /* We use char because int might match the return type of a gcc2
24621 builtin and then its argument prototype would still apply. */
24622 char $ac_func ();
24623 /* The GNU C library defines this for functions which it implements
24624 to always fail with ENOSYS. Some functions are actually named
24625 something starting with __ and the normal name is an alias. */
24626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24627 choke me
24628 #else
24629 char (*f) () = $ac_func;
24630 #endif
24631 #ifdef __cplusplus
24633 #endif
24636 main ()
24638 return f != $ac_func;
24640 return 0;
24642 _ACEOF
24643 rm -f conftest.$ac_objext conftest$ac_exeext
24644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24645 (eval $ac_link) 2>conftest.er1
24646 ac_status=$?
24647 grep -v '^ *+' conftest.er1 >conftest.err
24648 rm -f conftest.er1
24649 cat conftest.err >&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); } &&
24652 { ac_try='test -z "$ac_c_werror_flag"
24653 || test ! -s conftest.err'
24654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24655 (eval $ac_try) 2>&5
24656 ac_status=$?
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); }; } &&
24659 { ac_try='test -s conftest$ac_exeext'
24660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24661 (eval $ac_try) 2>&5
24662 ac_status=$?
24663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24664 (exit $ac_status); }; }; then
24665 eval "$as_ac_var=yes"
24666 else
24667 echo "$as_me: failed program was:" >&5
24668 sed 's/^/| /' conftest.$ac_ext >&5
24670 eval "$as_ac_var=no"
24672 rm -f conftest.err conftest.$ac_objext \
24673 conftest$ac_exeext conftest.$ac_ext
24675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24677 if test `eval echo '${'$as_ac_var'}'` = yes; then
24678 cat >>confdefs.h <<_ACEOF
24679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24680 _ACEOF
24683 done
24685 else
24687 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
24688 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
24689 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24690 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
24691 echo $ECHO_N "(cached) $ECHO_C" >&6
24692 else
24696 ac_ext=cc
24697 ac_cpp='$CXXCPP $CPPFLAGS'
24698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24702 cat >conftest.$ac_ext <<_ACEOF
24703 /* confdefs.h. */
24704 _ACEOF
24705 cat confdefs.h >>conftest.$ac_ext
24706 cat >>conftest.$ac_ext <<_ACEOF
24707 /* end confdefs.h. */
24708 #include <math.h>
24710 main ()
24712 _frexpf(0, 0);
24714 return 0;
24716 _ACEOF
24717 rm -f conftest.$ac_objext
24718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24719 (eval $ac_compile) 2>conftest.er1
24720 ac_status=$?
24721 grep -v '^ *+' conftest.er1 >conftest.err
24722 rm -f conftest.er1
24723 cat conftest.err >&5
24724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24725 (exit $ac_status); } &&
24726 { ac_try='test -z "$ac_cxx_werror_flag"
24727 || test ! -s conftest.err'
24728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24729 (eval $ac_try) 2>&5
24730 ac_status=$?
24731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24732 (exit $ac_status); }; } &&
24733 { ac_try='test -s conftest.$ac_objext'
24734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24735 (eval $ac_try) 2>&5
24736 ac_status=$?
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); }; }; then
24739 glibcxx_cv_func__frexpf_use=yes
24740 else
24741 echo "$as_me: failed program was:" >&5
24742 sed 's/^/| /' conftest.$ac_ext >&5
24744 glibcxx_cv_func__frexpf_use=no
24746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24747 ac_ext=c
24748 ac_cpp='$CPP $CPPFLAGS'
24749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24757 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
24758 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
24760 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24762 for ac_func in _frexpf
24764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24765 echo "$as_me:$LINENO: checking for $ac_func" >&5
24766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24767 if eval "test \"\${$as_ac_var+set}\" = set"; then
24768 echo $ECHO_N "(cached) $ECHO_C" >&6
24769 else
24770 if test x$gcc_no_link = xyes; then
24771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24773 { (exit 1); exit 1; }; }
24775 cat >conftest.$ac_ext <<_ACEOF
24776 /* confdefs.h. */
24777 _ACEOF
24778 cat confdefs.h >>conftest.$ac_ext
24779 cat >>conftest.$ac_ext <<_ACEOF
24780 /* end confdefs.h. */
24781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24783 #define $ac_func innocuous_$ac_func
24785 /* System header to define __stub macros and hopefully few prototypes,
24786 which can conflict with char $ac_func (); below.
24787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24788 <limits.h> exists even on freestanding compilers. */
24790 #ifdef __STDC__
24791 # include <limits.h>
24792 #else
24793 # include <assert.h>
24794 #endif
24796 #undef $ac_func
24798 /* Override any gcc2 internal prototype to avoid an error. */
24799 #ifdef __cplusplus
24800 extern "C"
24802 #endif
24803 /* We use char because int might match the return type of a gcc2
24804 builtin and then its argument prototype would still apply. */
24805 char $ac_func ();
24806 /* The GNU C library defines this for functions which it implements
24807 to always fail with ENOSYS. Some functions are actually named
24808 something starting with __ and the normal name is an alias. */
24809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24810 choke me
24811 #else
24812 char (*f) () = $ac_func;
24813 #endif
24814 #ifdef __cplusplus
24816 #endif
24819 main ()
24821 return f != $ac_func;
24823 return 0;
24825 _ACEOF
24826 rm -f conftest.$ac_objext conftest$ac_exeext
24827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24828 (eval $ac_link) 2>conftest.er1
24829 ac_status=$?
24830 grep -v '^ *+' conftest.er1 >conftest.err
24831 rm -f conftest.er1
24832 cat conftest.err >&5
24833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24834 (exit $ac_status); } &&
24835 { ac_try='test -z "$ac_c_werror_flag"
24836 || test ! -s conftest.err'
24837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24838 (eval $ac_try) 2>&5
24839 ac_status=$?
24840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24841 (exit $ac_status); }; } &&
24842 { ac_try='test -s conftest$ac_exeext'
24843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24844 (eval $ac_try) 2>&5
24845 ac_status=$?
24846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24847 (exit $ac_status); }; }; then
24848 eval "$as_ac_var=yes"
24849 else
24850 echo "$as_me: failed program was:" >&5
24851 sed 's/^/| /' conftest.$ac_ext >&5
24853 eval "$as_ac_var=no"
24855 rm -f conftest.err conftest.$ac_objext \
24856 conftest$ac_exeext conftest.$ac_ext
24858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24860 if test `eval echo '${'$as_ac_var'}'` = yes; then
24861 cat >>confdefs.h <<_ACEOF
24862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24863 _ACEOF
24866 done
24876 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
24877 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
24878 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24879 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
24880 echo $ECHO_N "(cached) $ECHO_C" >&6
24881 else
24885 ac_ext=cc
24886 ac_cpp='$CXXCPP $CPPFLAGS'
24887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24891 cat >conftest.$ac_ext <<_ACEOF
24892 /* confdefs.h. */
24893 _ACEOF
24894 cat confdefs.h >>conftest.$ac_ext
24895 cat >>conftest.$ac_ext <<_ACEOF
24896 /* end confdefs.h. */
24897 #include <math.h>
24899 main ()
24901 hypotf(0, 0);
24903 return 0;
24905 _ACEOF
24906 rm -f conftest.$ac_objext
24907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24908 (eval $ac_compile) 2>conftest.er1
24909 ac_status=$?
24910 grep -v '^ *+' conftest.er1 >conftest.err
24911 rm -f conftest.er1
24912 cat conftest.err >&5
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); } &&
24915 { ac_try='test -z "$ac_cxx_werror_flag"
24916 || test ! -s conftest.err'
24917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24918 (eval $ac_try) 2>&5
24919 ac_status=$?
24920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24921 (exit $ac_status); }; } &&
24922 { ac_try='test -s conftest.$ac_objext'
24923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24924 (eval $ac_try) 2>&5
24925 ac_status=$?
24926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24927 (exit $ac_status); }; }; then
24928 glibcxx_cv_func_hypotf_use=yes
24929 else
24930 echo "$as_me: failed program was:" >&5
24931 sed 's/^/| /' conftest.$ac_ext >&5
24933 glibcxx_cv_func_hypotf_use=no
24935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24936 ac_ext=c
24937 ac_cpp='$CPP $CPPFLAGS'
24938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24946 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
24947 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
24949 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24951 for ac_func in hypotf
24953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24954 echo "$as_me:$LINENO: checking for $ac_func" >&5
24955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24956 if eval "test \"\${$as_ac_var+set}\" = set"; then
24957 echo $ECHO_N "(cached) $ECHO_C" >&6
24958 else
24959 if test x$gcc_no_link = xyes; then
24960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24962 { (exit 1); exit 1; }; }
24964 cat >conftest.$ac_ext <<_ACEOF
24965 /* confdefs.h. */
24966 _ACEOF
24967 cat confdefs.h >>conftest.$ac_ext
24968 cat >>conftest.$ac_ext <<_ACEOF
24969 /* end confdefs.h. */
24970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24972 #define $ac_func innocuous_$ac_func
24974 /* System header to define __stub macros and hopefully few prototypes,
24975 which can conflict with char $ac_func (); below.
24976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24977 <limits.h> exists even on freestanding compilers. */
24979 #ifdef __STDC__
24980 # include <limits.h>
24981 #else
24982 # include <assert.h>
24983 #endif
24985 #undef $ac_func
24987 /* Override any gcc2 internal prototype to avoid an error. */
24988 #ifdef __cplusplus
24989 extern "C"
24991 #endif
24992 /* We use char because int might match the return type of a gcc2
24993 builtin and then its argument prototype would still apply. */
24994 char $ac_func ();
24995 /* The GNU C library defines this for functions which it implements
24996 to always fail with ENOSYS. Some functions are actually named
24997 something starting with __ and the normal name is an alias. */
24998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24999 choke me
25000 #else
25001 char (*f) () = $ac_func;
25002 #endif
25003 #ifdef __cplusplus
25005 #endif
25008 main ()
25010 return f != $ac_func;
25012 return 0;
25014 _ACEOF
25015 rm -f conftest.$ac_objext conftest$ac_exeext
25016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25017 (eval $ac_link) 2>conftest.er1
25018 ac_status=$?
25019 grep -v '^ *+' conftest.er1 >conftest.err
25020 rm -f conftest.er1
25021 cat conftest.err >&5
25022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25023 (exit $ac_status); } &&
25024 { ac_try='test -z "$ac_c_werror_flag"
25025 || test ! -s conftest.err'
25026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25027 (eval $ac_try) 2>&5
25028 ac_status=$?
25029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25030 (exit $ac_status); }; } &&
25031 { ac_try='test -s conftest$ac_exeext'
25032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25033 (eval $ac_try) 2>&5
25034 ac_status=$?
25035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25036 (exit $ac_status); }; }; then
25037 eval "$as_ac_var=yes"
25038 else
25039 echo "$as_me: failed program was:" >&5
25040 sed 's/^/| /' conftest.$ac_ext >&5
25042 eval "$as_ac_var=no"
25044 rm -f conftest.err conftest.$ac_objext \
25045 conftest$ac_exeext conftest.$ac_ext
25047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25049 if test `eval echo '${'$as_ac_var'}'` = yes; then
25050 cat >>confdefs.h <<_ACEOF
25051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25052 _ACEOF
25055 done
25057 else
25059 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
25060 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
25061 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25062 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
25063 echo $ECHO_N "(cached) $ECHO_C" >&6
25064 else
25068 ac_ext=cc
25069 ac_cpp='$CXXCPP $CPPFLAGS'
25070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25074 cat >conftest.$ac_ext <<_ACEOF
25075 /* confdefs.h. */
25076 _ACEOF
25077 cat confdefs.h >>conftest.$ac_ext
25078 cat >>conftest.$ac_ext <<_ACEOF
25079 /* end confdefs.h. */
25080 #include <math.h>
25082 main ()
25084 _hypotf(0, 0);
25086 return 0;
25088 _ACEOF
25089 rm -f conftest.$ac_objext
25090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25091 (eval $ac_compile) 2>conftest.er1
25092 ac_status=$?
25093 grep -v '^ *+' conftest.er1 >conftest.err
25094 rm -f conftest.er1
25095 cat conftest.err >&5
25096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25097 (exit $ac_status); } &&
25098 { ac_try='test -z "$ac_cxx_werror_flag"
25099 || test ! -s conftest.err'
25100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25101 (eval $ac_try) 2>&5
25102 ac_status=$?
25103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25104 (exit $ac_status); }; } &&
25105 { ac_try='test -s conftest.$ac_objext'
25106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25107 (eval $ac_try) 2>&5
25108 ac_status=$?
25109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25110 (exit $ac_status); }; }; then
25111 glibcxx_cv_func__hypotf_use=yes
25112 else
25113 echo "$as_me: failed program was:" >&5
25114 sed 's/^/| /' conftest.$ac_ext >&5
25116 glibcxx_cv_func__hypotf_use=no
25118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25119 ac_ext=c
25120 ac_cpp='$CPP $CPPFLAGS'
25121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25129 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
25130 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
25132 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25134 for ac_func in _hypotf
25136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25137 echo "$as_me:$LINENO: checking for $ac_func" >&5
25138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25139 if eval "test \"\${$as_ac_var+set}\" = set"; then
25140 echo $ECHO_N "(cached) $ECHO_C" >&6
25141 else
25142 if test x$gcc_no_link = xyes; then
25143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25145 { (exit 1); exit 1; }; }
25147 cat >conftest.$ac_ext <<_ACEOF
25148 /* confdefs.h. */
25149 _ACEOF
25150 cat confdefs.h >>conftest.$ac_ext
25151 cat >>conftest.$ac_ext <<_ACEOF
25152 /* end confdefs.h. */
25153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25155 #define $ac_func innocuous_$ac_func
25157 /* System header to define __stub macros and hopefully few prototypes,
25158 which can conflict with char $ac_func (); below.
25159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25160 <limits.h> exists even on freestanding compilers. */
25162 #ifdef __STDC__
25163 # include <limits.h>
25164 #else
25165 # include <assert.h>
25166 #endif
25168 #undef $ac_func
25170 /* Override any gcc2 internal prototype to avoid an error. */
25171 #ifdef __cplusplus
25172 extern "C"
25174 #endif
25175 /* We use char because int might match the return type of a gcc2
25176 builtin and then its argument prototype would still apply. */
25177 char $ac_func ();
25178 /* The GNU C library defines this for functions which it implements
25179 to always fail with ENOSYS. Some functions are actually named
25180 something starting with __ and the normal name is an alias. */
25181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25182 choke me
25183 #else
25184 char (*f) () = $ac_func;
25185 #endif
25186 #ifdef __cplusplus
25188 #endif
25191 main ()
25193 return f != $ac_func;
25195 return 0;
25197 _ACEOF
25198 rm -f conftest.$ac_objext conftest$ac_exeext
25199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25200 (eval $ac_link) 2>conftest.er1
25201 ac_status=$?
25202 grep -v '^ *+' conftest.er1 >conftest.err
25203 rm -f conftest.er1
25204 cat conftest.err >&5
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); } &&
25207 { ac_try='test -z "$ac_c_werror_flag"
25208 || test ! -s conftest.err'
25209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25210 (eval $ac_try) 2>&5
25211 ac_status=$?
25212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25213 (exit $ac_status); }; } &&
25214 { ac_try='test -s conftest$ac_exeext'
25215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25216 (eval $ac_try) 2>&5
25217 ac_status=$?
25218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25219 (exit $ac_status); }; }; then
25220 eval "$as_ac_var=yes"
25221 else
25222 echo "$as_me: failed program was:" >&5
25223 sed 's/^/| /' conftest.$ac_ext >&5
25225 eval "$as_ac_var=no"
25227 rm -f conftest.err conftest.$ac_objext \
25228 conftest$ac_exeext conftest.$ac_ext
25230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25232 if test `eval echo '${'$as_ac_var'}'` = yes; then
25233 cat >>confdefs.h <<_ACEOF
25234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25235 _ACEOF
25238 done
25248 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
25249 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
25250 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25251 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
25252 echo $ECHO_N "(cached) $ECHO_C" >&6
25253 else
25257 ac_ext=cc
25258 ac_cpp='$CXXCPP $CPPFLAGS'
25259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25263 cat >conftest.$ac_ext <<_ACEOF
25264 /* confdefs.h. */
25265 _ACEOF
25266 cat confdefs.h >>conftest.$ac_ext
25267 cat >>conftest.$ac_ext <<_ACEOF
25268 /* end confdefs.h. */
25269 #include <math.h>
25271 main ()
25273 ldexpf(0, 0);
25275 return 0;
25277 _ACEOF
25278 rm -f conftest.$ac_objext
25279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25280 (eval $ac_compile) 2>conftest.er1
25281 ac_status=$?
25282 grep -v '^ *+' conftest.er1 >conftest.err
25283 rm -f conftest.er1
25284 cat conftest.err >&5
25285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25286 (exit $ac_status); } &&
25287 { ac_try='test -z "$ac_cxx_werror_flag"
25288 || test ! -s conftest.err'
25289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25290 (eval $ac_try) 2>&5
25291 ac_status=$?
25292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25293 (exit $ac_status); }; } &&
25294 { ac_try='test -s conftest.$ac_objext'
25295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25296 (eval $ac_try) 2>&5
25297 ac_status=$?
25298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25299 (exit $ac_status); }; }; then
25300 glibcxx_cv_func_ldexpf_use=yes
25301 else
25302 echo "$as_me: failed program was:" >&5
25303 sed 's/^/| /' conftest.$ac_ext >&5
25305 glibcxx_cv_func_ldexpf_use=no
25307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25308 ac_ext=c
25309 ac_cpp='$CPP $CPPFLAGS'
25310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25318 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
25319 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
25321 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25323 for ac_func in ldexpf
25325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25326 echo "$as_me:$LINENO: checking for $ac_func" >&5
25327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25328 if eval "test \"\${$as_ac_var+set}\" = set"; then
25329 echo $ECHO_N "(cached) $ECHO_C" >&6
25330 else
25331 if test x$gcc_no_link = xyes; then
25332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25334 { (exit 1); exit 1; }; }
25336 cat >conftest.$ac_ext <<_ACEOF
25337 /* confdefs.h. */
25338 _ACEOF
25339 cat confdefs.h >>conftest.$ac_ext
25340 cat >>conftest.$ac_ext <<_ACEOF
25341 /* end confdefs.h. */
25342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25344 #define $ac_func innocuous_$ac_func
25346 /* System header to define __stub macros and hopefully few prototypes,
25347 which can conflict with char $ac_func (); below.
25348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25349 <limits.h> exists even on freestanding compilers. */
25351 #ifdef __STDC__
25352 # include <limits.h>
25353 #else
25354 # include <assert.h>
25355 #endif
25357 #undef $ac_func
25359 /* Override any gcc2 internal prototype to avoid an error. */
25360 #ifdef __cplusplus
25361 extern "C"
25363 #endif
25364 /* We use char because int might match the return type of a gcc2
25365 builtin and then its argument prototype would still apply. */
25366 char $ac_func ();
25367 /* The GNU C library defines this for functions which it implements
25368 to always fail with ENOSYS. Some functions are actually named
25369 something starting with __ and the normal name is an alias. */
25370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25371 choke me
25372 #else
25373 char (*f) () = $ac_func;
25374 #endif
25375 #ifdef __cplusplus
25377 #endif
25380 main ()
25382 return f != $ac_func;
25384 return 0;
25386 _ACEOF
25387 rm -f conftest.$ac_objext conftest$ac_exeext
25388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25389 (eval $ac_link) 2>conftest.er1
25390 ac_status=$?
25391 grep -v '^ *+' conftest.er1 >conftest.err
25392 rm -f conftest.er1
25393 cat conftest.err >&5
25394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25395 (exit $ac_status); } &&
25396 { ac_try='test -z "$ac_c_werror_flag"
25397 || test ! -s conftest.err'
25398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25399 (eval $ac_try) 2>&5
25400 ac_status=$?
25401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25402 (exit $ac_status); }; } &&
25403 { ac_try='test -s conftest$ac_exeext'
25404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25405 (eval $ac_try) 2>&5
25406 ac_status=$?
25407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25408 (exit $ac_status); }; }; then
25409 eval "$as_ac_var=yes"
25410 else
25411 echo "$as_me: failed program was:" >&5
25412 sed 's/^/| /' conftest.$ac_ext >&5
25414 eval "$as_ac_var=no"
25416 rm -f conftest.err conftest.$ac_objext \
25417 conftest$ac_exeext conftest.$ac_ext
25419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25421 if test `eval echo '${'$as_ac_var'}'` = yes; then
25422 cat >>confdefs.h <<_ACEOF
25423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25424 _ACEOF
25427 done
25429 else
25431 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
25432 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
25433 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25434 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
25435 echo $ECHO_N "(cached) $ECHO_C" >&6
25436 else
25440 ac_ext=cc
25441 ac_cpp='$CXXCPP $CPPFLAGS'
25442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25446 cat >conftest.$ac_ext <<_ACEOF
25447 /* confdefs.h. */
25448 _ACEOF
25449 cat confdefs.h >>conftest.$ac_ext
25450 cat >>conftest.$ac_ext <<_ACEOF
25451 /* end confdefs.h. */
25452 #include <math.h>
25454 main ()
25456 _ldexpf(0, 0);
25458 return 0;
25460 _ACEOF
25461 rm -f conftest.$ac_objext
25462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25463 (eval $ac_compile) 2>conftest.er1
25464 ac_status=$?
25465 grep -v '^ *+' conftest.er1 >conftest.err
25466 rm -f conftest.er1
25467 cat conftest.err >&5
25468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25469 (exit $ac_status); } &&
25470 { ac_try='test -z "$ac_cxx_werror_flag"
25471 || test ! -s conftest.err'
25472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25473 (eval $ac_try) 2>&5
25474 ac_status=$?
25475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25476 (exit $ac_status); }; } &&
25477 { ac_try='test -s conftest.$ac_objext'
25478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25479 (eval $ac_try) 2>&5
25480 ac_status=$?
25481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25482 (exit $ac_status); }; }; then
25483 glibcxx_cv_func__ldexpf_use=yes
25484 else
25485 echo "$as_me: failed program was:" >&5
25486 sed 's/^/| /' conftest.$ac_ext >&5
25488 glibcxx_cv_func__ldexpf_use=no
25490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25491 ac_ext=c
25492 ac_cpp='$CPP $CPPFLAGS'
25493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25501 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
25502 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
25504 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25506 for ac_func in _ldexpf
25508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25509 echo "$as_me:$LINENO: checking for $ac_func" >&5
25510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25511 if eval "test \"\${$as_ac_var+set}\" = set"; then
25512 echo $ECHO_N "(cached) $ECHO_C" >&6
25513 else
25514 if test x$gcc_no_link = xyes; then
25515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25517 { (exit 1); exit 1; }; }
25519 cat >conftest.$ac_ext <<_ACEOF
25520 /* confdefs.h. */
25521 _ACEOF
25522 cat confdefs.h >>conftest.$ac_ext
25523 cat >>conftest.$ac_ext <<_ACEOF
25524 /* end confdefs.h. */
25525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25527 #define $ac_func innocuous_$ac_func
25529 /* System header to define __stub macros and hopefully few prototypes,
25530 which can conflict with char $ac_func (); below.
25531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25532 <limits.h> exists even on freestanding compilers. */
25534 #ifdef __STDC__
25535 # include <limits.h>
25536 #else
25537 # include <assert.h>
25538 #endif
25540 #undef $ac_func
25542 /* Override any gcc2 internal prototype to avoid an error. */
25543 #ifdef __cplusplus
25544 extern "C"
25546 #endif
25547 /* We use char because int might match the return type of a gcc2
25548 builtin and then its argument prototype would still apply. */
25549 char $ac_func ();
25550 /* The GNU C library defines this for functions which it implements
25551 to always fail with ENOSYS. Some functions are actually named
25552 something starting with __ and the normal name is an alias. */
25553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25554 choke me
25555 #else
25556 char (*f) () = $ac_func;
25557 #endif
25558 #ifdef __cplusplus
25560 #endif
25563 main ()
25565 return f != $ac_func;
25567 return 0;
25569 _ACEOF
25570 rm -f conftest.$ac_objext conftest$ac_exeext
25571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25572 (eval $ac_link) 2>conftest.er1
25573 ac_status=$?
25574 grep -v '^ *+' conftest.er1 >conftest.err
25575 rm -f conftest.er1
25576 cat conftest.err >&5
25577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578 (exit $ac_status); } &&
25579 { ac_try='test -z "$ac_c_werror_flag"
25580 || test ! -s conftest.err'
25581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25582 (eval $ac_try) 2>&5
25583 ac_status=$?
25584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25585 (exit $ac_status); }; } &&
25586 { ac_try='test -s conftest$ac_exeext'
25587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25588 (eval $ac_try) 2>&5
25589 ac_status=$?
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); }; }; then
25592 eval "$as_ac_var=yes"
25593 else
25594 echo "$as_me: failed program was:" >&5
25595 sed 's/^/| /' conftest.$ac_ext >&5
25597 eval "$as_ac_var=no"
25599 rm -f conftest.err conftest.$ac_objext \
25600 conftest$ac_exeext conftest.$ac_ext
25602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25604 if test `eval echo '${'$as_ac_var'}'` = yes; then
25605 cat >>confdefs.h <<_ACEOF
25606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25607 _ACEOF
25610 done
25620 echo "$as_me:$LINENO: checking for logf declaration" >&5
25621 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
25622 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25623 if test "${glibcxx_cv_func_logf_use+set}" = set; then
25624 echo $ECHO_N "(cached) $ECHO_C" >&6
25625 else
25629 ac_ext=cc
25630 ac_cpp='$CXXCPP $CPPFLAGS'
25631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25635 cat >conftest.$ac_ext <<_ACEOF
25636 /* confdefs.h. */
25637 _ACEOF
25638 cat confdefs.h >>conftest.$ac_ext
25639 cat >>conftest.$ac_ext <<_ACEOF
25640 /* end confdefs.h. */
25641 #include <math.h>
25642 #ifdef HAVE_IEEEFP_H
25643 #include <ieeefp.h>
25644 #endif
25647 main ()
25649 logf(0);
25651 return 0;
25653 _ACEOF
25654 rm -f conftest.$ac_objext
25655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25656 (eval $ac_compile) 2>conftest.er1
25657 ac_status=$?
25658 grep -v '^ *+' conftest.er1 >conftest.err
25659 rm -f conftest.er1
25660 cat conftest.err >&5
25661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25662 (exit $ac_status); } &&
25663 { ac_try='test -z "$ac_cxx_werror_flag"
25664 || test ! -s conftest.err'
25665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25666 (eval $ac_try) 2>&5
25667 ac_status=$?
25668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25669 (exit $ac_status); }; } &&
25670 { ac_try='test -s conftest.$ac_objext'
25671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25672 (eval $ac_try) 2>&5
25673 ac_status=$?
25674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25675 (exit $ac_status); }; }; then
25676 glibcxx_cv_func_logf_use=yes
25677 else
25678 echo "$as_me: failed program was:" >&5
25679 sed 's/^/| /' conftest.$ac_ext >&5
25681 glibcxx_cv_func_logf_use=no
25683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25684 ac_ext=c
25685 ac_cpp='$CPP $CPPFLAGS'
25686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25694 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
25695 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
25697 if test x$glibcxx_cv_func_logf_use = x"yes"; then
25699 for ac_func in logf
25701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25702 echo "$as_me:$LINENO: checking for $ac_func" >&5
25703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25704 if eval "test \"\${$as_ac_var+set}\" = set"; then
25705 echo $ECHO_N "(cached) $ECHO_C" >&6
25706 else
25707 if test x$gcc_no_link = xyes; then
25708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25710 { (exit 1); exit 1; }; }
25712 cat >conftest.$ac_ext <<_ACEOF
25713 /* confdefs.h. */
25714 _ACEOF
25715 cat confdefs.h >>conftest.$ac_ext
25716 cat >>conftest.$ac_ext <<_ACEOF
25717 /* end confdefs.h. */
25718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25720 #define $ac_func innocuous_$ac_func
25722 /* System header to define __stub macros and hopefully few prototypes,
25723 which can conflict with char $ac_func (); below.
25724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25725 <limits.h> exists even on freestanding compilers. */
25727 #ifdef __STDC__
25728 # include <limits.h>
25729 #else
25730 # include <assert.h>
25731 #endif
25733 #undef $ac_func
25735 /* Override any gcc2 internal prototype to avoid an error. */
25736 #ifdef __cplusplus
25737 extern "C"
25739 #endif
25740 /* We use char because int might match the return type of a gcc2
25741 builtin and then its argument prototype would still apply. */
25742 char $ac_func ();
25743 /* The GNU C library defines this for functions which it implements
25744 to always fail with ENOSYS. Some functions are actually named
25745 something starting with __ and the normal name is an alias. */
25746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25747 choke me
25748 #else
25749 char (*f) () = $ac_func;
25750 #endif
25751 #ifdef __cplusplus
25753 #endif
25756 main ()
25758 return f != $ac_func;
25760 return 0;
25762 _ACEOF
25763 rm -f conftest.$ac_objext conftest$ac_exeext
25764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25765 (eval $ac_link) 2>conftest.er1
25766 ac_status=$?
25767 grep -v '^ *+' conftest.er1 >conftest.err
25768 rm -f conftest.er1
25769 cat conftest.err >&5
25770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25771 (exit $ac_status); } &&
25772 { ac_try='test -z "$ac_c_werror_flag"
25773 || test ! -s conftest.err'
25774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25775 (eval $ac_try) 2>&5
25776 ac_status=$?
25777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25778 (exit $ac_status); }; } &&
25779 { ac_try='test -s conftest$ac_exeext'
25780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25781 (eval $ac_try) 2>&5
25782 ac_status=$?
25783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25784 (exit $ac_status); }; }; then
25785 eval "$as_ac_var=yes"
25786 else
25787 echo "$as_me: failed program was:" >&5
25788 sed 's/^/| /' conftest.$ac_ext >&5
25790 eval "$as_ac_var=no"
25792 rm -f conftest.err conftest.$ac_objext \
25793 conftest$ac_exeext conftest.$ac_ext
25795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25797 if test `eval echo '${'$as_ac_var'}'` = yes; then
25798 cat >>confdefs.h <<_ACEOF
25799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25800 _ACEOF
25803 done
25805 else
25807 echo "$as_me:$LINENO: checking for _logf declaration" >&5
25808 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
25809 if test x${glibcxx_cv_func__logf_use+set} != xset; then
25810 if test "${glibcxx_cv_func__logf_use+set}" = set; then
25811 echo $ECHO_N "(cached) $ECHO_C" >&6
25812 else
25816 ac_ext=cc
25817 ac_cpp='$CXXCPP $CPPFLAGS'
25818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25822 cat >conftest.$ac_ext <<_ACEOF
25823 /* confdefs.h. */
25824 _ACEOF
25825 cat confdefs.h >>conftest.$ac_ext
25826 cat >>conftest.$ac_ext <<_ACEOF
25827 /* end confdefs.h. */
25828 #include <math.h>
25829 #ifdef HAVE_IEEEFP_H
25830 #include <ieeefp.h>
25831 #endif
25834 main ()
25836 _logf(0);
25838 return 0;
25840 _ACEOF
25841 rm -f conftest.$ac_objext
25842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25843 (eval $ac_compile) 2>conftest.er1
25844 ac_status=$?
25845 grep -v '^ *+' conftest.er1 >conftest.err
25846 rm -f conftest.er1
25847 cat conftest.err >&5
25848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25849 (exit $ac_status); } &&
25850 { ac_try='test -z "$ac_cxx_werror_flag"
25851 || test ! -s conftest.err'
25852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25853 (eval $ac_try) 2>&5
25854 ac_status=$?
25855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856 (exit $ac_status); }; } &&
25857 { ac_try='test -s conftest.$ac_objext'
25858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25859 (eval $ac_try) 2>&5
25860 ac_status=$?
25861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25862 (exit $ac_status); }; }; then
25863 glibcxx_cv_func__logf_use=yes
25864 else
25865 echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.$ac_ext >&5
25868 glibcxx_cv_func__logf_use=no
25870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25871 ac_ext=c
25872 ac_cpp='$CPP $CPPFLAGS'
25873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25881 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
25882 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
25884 if test x$glibcxx_cv_func__logf_use = x"yes"; then
25886 for ac_func in _logf
25888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25889 echo "$as_me:$LINENO: checking for $ac_func" >&5
25890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25891 if eval "test \"\${$as_ac_var+set}\" = set"; then
25892 echo $ECHO_N "(cached) $ECHO_C" >&6
25893 else
25894 if test x$gcc_no_link = xyes; then
25895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25897 { (exit 1); exit 1; }; }
25899 cat >conftest.$ac_ext <<_ACEOF
25900 /* confdefs.h. */
25901 _ACEOF
25902 cat confdefs.h >>conftest.$ac_ext
25903 cat >>conftest.$ac_ext <<_ACEOF
25904 /* end confdefs.h. */
25905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25907 #define $ac_func innocuous_$ac_func
25909 /* System header to define __stub macros and hopefully few prototypes,
25910 which can conflict with char $ac_func (); below.
25911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25912 <limits.h> exists even on freestanding compilers. */
25914 #ifdef __STDC__
25915 # include <limits.h>
25916 #else
25917 # include <assert.h>
25918 #endif
25920 #undef $ac_func
25922 /* Override any gcc2 internal prototype to avoid an error. */
25923 #ifdef __cplusplus
25924 extern "C"
25926 #endif
25927 /* We use char because int might match the return type of a gcc2
25928 builtin and then its argument prototype would still apply. */
25929 char $ac_func ();
25930 /* The GNU C library defines this for functions which it implements
25931 to always fail with ENOSYS. Some functions are actually named
25932 something starting with __ and the normal name is an alias. */
25933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25934 choke me
25935 #else
25936 char (*f) () = $ac_func;
25937 #endif
25938 #ifdef __cplusplus
25940 #endif
25943 main ()
25945 return f != $ac_func;
25947 return 0;
25949 _ACEOF
25950 rm -f conftest.$ac_objext conftest$ac_exeext
25951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25952 (eval $ac_link) 2>conftest.er1
25953 ac_status=$?
25954 grep -v '^ *+' conftest.er1 >conftest.err
25955 rm -f conftest.er1
25956 cat conftest.err >&5
25957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25958 (exit $ac_status); } &&
25959 { ac_try='test -z "$ac_c_werror_flag"
25960 || test ! -s conftest.err'
25961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25962 (eval $ac_try) 2>&5
25963 ac_status=$?
25964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25965 (exit $ac_status); }; } &&
25966 { ac_try='test -s conftest$ac_exeext'
25967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25968 (eval $ac_try) 2>&5
25969 ac_status=$?
25970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25971 (exit $ac_status); }; }; then
25972 eval "$as_ac_var=yes"
25973 else
25974 echo "$as_me: failed program was:" >&5
25975 sed 's/^/| /' conftest.$ac_ext >&5
25977 eval "$as_ac_var=no"
25979 rm -f conftest.err conftest.$ac_objext \
25980 conftest$ac_exeext conftest.$ac_ext
25982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25984 if test `eval echo '${'$as_ac_var'}'` = yes; then
25985 cat >>confdefs.h <<_ACEOF
25986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25987 _ACEOF
25990 done
26000 echo "$as_me:$LINENO: checking for log10f declaration" >&5
26001 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
26002 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
26003 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
26004 echo $ECHO_N "(cached) $ECHO_C" >&6
26005 else
26009 ac_ext=cc
26010 ac_cpp='$CXXCPP $CPPFLAGS'
26011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26015 cat >conftest.$ac_ext <<_ACEOF
26016 /* confdefs.h. */
26017 _ACEOF
26018 cat confdefs.h >>conftest.$ac_ext
26019 cat >>conftest.$ac_ext <<_ACEOF
26020 /* end confdefs.h. */
26021 #include <math.h>
26022 #ifdef HAVE_IEEEFP_H
26023 #include <ieeefp.h>
26024 #endif
26027 main ()
26029 log10f(0);
26031 return 0;
26033 _ACEOF
26034 rm -f conftest.$ac_objext
26035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26036 (eval $ac_compile) 2>conftest.er1
26037 ac_status=$?
26038 grep -v '^ *+' conftest.er1 >conftest.err
26039 rm -f conftest.er1
26040 cat conftest.err >&5
26041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26042 (exit $ac_status); } &&
26043 { ac_try='test -z "$ac_cxx_werror_flag"
26044 || test ! -s conftest.err'
26045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26046 (eval $ac_try) 2>&5
26047 ac_status=$?
26048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26049 (exit $ac_status); }; } &&
26050 { ac_try='test -s conftest.$ac_objext'
26051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26052 (eval $ac_try) 2>&5
26053 ac_status=$?
26054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26055 (exit $ac_status); }; }; then
26056 glibcxx_cv_func_log10f_use=yes
26057 else
26058 echo "$as_me: failed program was:" >&5
26059 sed 's/^/| /' conftest.$ac_ext >&5
26061 glibcxx_cv_func_log10f_use=no
26063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26064 ac_ext=c
26065 ac_cpp='$CPP $CPPFLAGS'
26066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26074 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
26075 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
26077 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
26079 for ac_func in log10f
26081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26082 echo "$as_me:$LINENO: checking for $ac_func" >&5
26083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26084 if eval "test \"\${$as_ac_var+set}\" = set"; then
26085 echo $ECHO_N "(cached) $ECHO_C" >&6
26086 else
26087 if test x$gcc_no_link = xyes; then
26088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26090 { (exit 1); exit 1; }; }
26092 cat >conftest.$ac_ext <<_ACEOF
26093 /* confdefs.h. */
26094 _ACEOF
26095 cat confdefs.h >>conftest.$ac_ext
26096 cat >>conftest.$ac_ext <<_ACEOF
26097 /* end confdefs.h. */
26098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26100 #define $ac_func innocuous_$ac_func
26102 /* System header to define __stub macros and hopefully few prototypes,
26103 which can conflict with char $ac_func (); below.
26104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26105 <limits.h> exists even on freestanding compilers. */
26107 #ifdef __STDC__
26108 # include <limits.h>
26109 #else
26110 # include <assert.h>
26111 #endif
26113 #undef $ac_func
26115 /* Override any gcc2 internal prototype to avoid an error. */
26116 #ifdef __cplusplus
26117 extern "C"
26119 #endif
26120 /* We use char because int might match the return type of a gcc2
26121 builtin and then its argument prototype would still apply. */
26122 char $ac_func ();
26123 /* The GNU C library defines this for functions which it implements
26124 to always fail with ENOSYS. Some functions are actually named
26125 something starting with __ and the normal name is an alias. */
26126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26127 choke me
26128 #else
26129 char (*f) () = $ac_func;
26130 #endif
26131 #ifdef __cplusplus
26133 #endif
26136 main ()
26138 return f != $ac_func;
26140 return 0;
26142 _ACEOF
26143 rm -f conftest.$ac_objext conftest$ac_exeext
26144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26145 (eval $ac_link) 2>conftest.er1
26146 ac_status=$?
26147 grep -v '^ *+' conftest.er1 >conftest.err
26148 rm -f conftest.er1
26149 cat conftest.err >&5
26150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26151 (exit $ac_status); } &&
26152 { ac_try='test -z "$ac_c_werror_flag"
26153 || test ! -s conftest.err'
26154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26155 (eval $ac_try) 2>&5
26156 ac_status=$?
26157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158 (exit $ac_status); }; } &&
26159 { ac_try='test -s conftest$ac_exeext'
26160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26161 (eval $ac_try) 2>&5
26162 ac_status=$?
26163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26164 (exit $ac_status); }; }; then
26165 eval "$as_ac_var=yes"
26166 else
26167 echo "$as_me: failed program was:" >&5
26168 sed 's/^/| /' conftest.$ac_ext >&5
26170 eval "$as_ac_var=no"
26172 rm -f conftest.err conftest.$ac_objext \
26173 conftest$ac_exeext conftest.$ac_ext
26175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26177 if test `eval echo '${'$as_ac_var'}'` = yes; then
26178 cat >>confdefs.h <<_ACEOF
26179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26180 _ACEOF
26183 done
26185 else
26187 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
26188 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
26189 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
26190 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
26191 echo $ECHO_N "(cached) $ECHO_C" >&6
26192 else
26196 ac_ext=cc
26197 ac_cpp='$CXXCPP $CPPFLAGS'
26198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26202 cat >conftest.$ac_ext <<_ACEOF
26203 /* confdefs.h. */
26204 _ACEOF
26205 cat confdefs.h >>conftest.$ac_ext
26206 cat >>conftest.$ac_ext <<_ACEOF
26207 /* end confdefs.h. */
26208 #include <math.h>
26209 #ifdef HAVE_IEEEFP_H
26210 #include <ieeefp.h>
26211 #endif
26214 main ()
26216 _log10f(0);
26218 return 0;
26220 _ACEOF
26221 rm -f conftest.$ac_objext
26222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26223 (eval $ac_compile) 2>conftest.er1
26224 ac_status=$?
26225 grep -v '^ *+' conftest.er1 >conftest.err
26226 rm -f conftest.er1
26227 cat conftest.err >&5
26228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26229 (exit $ac_status); } &&
26230 { ac_try='test -z "$ac_cxx_werror_flag"
26231 || test ! -s conftest.err'
26232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26233 (eval $ac_try) 2>&5
26234 ac_status=$?
26235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26236 (exit $ac_status); }; } &&
26237 { ac_try='test -s conftest.$ac_objext'
26238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26239 (eval $ac_try) 2>&5
26240 ac_status=$?
26241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26242 (exit $ac_status); }; }; then
26243 glibcxx_cv_func__log10f_use=yes
26244 else
26245 echo "$as_me: failed program was:" >&5
26246 sed 's/^/| /' conftest.$ac_ext >&5
26248 glibcxx_cv_func__log10f_use=no
26250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26251 ac_ext=c
26252 ac_cpp='$CPP $CPPFLAGS'
26253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26261 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
26262 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
26264 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
26266 for ac_func in _log10f
26268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26269 echo "$as_me:$LINENO: checking for $ac_func" >&5
26270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26271 if eval "test \"\${$as_ac_var+set}\" = set"; then
26272 echo $ECHO_N "(cached) $ECHO_C" >&6
26273 else
26274 if test x$gcc_no_link = xyes; then
26275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26277 { (exit 1); exit 1; }; }
26279 cat >conftest.$ac_ext <<_ACEOF
26280 /* confdefs.h. */
26281 _ACEOF
26282 cat confdefs.h >>conftest.$ac_ext
26283 cat >>conftest.$ac_ext <<_ACEOF
26284 /* end confdefs.h. */
26285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26287 #define $ac_func innocuous_$ac_func
26289 /* System header to define __stub macros and hopefully few prototypes,
26290 which can conflict with char $ac_func (); below.
26291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26292 <limits.h> exists even on freestanding compilers. */
26294 #ifdef __STDC__
26295 # include <limits.h>
26296 #else
26297 # include <assert.h>
26298 #endif
26300 #undef $ac_func
26302 /* Override any gcc2 internal prototype to avoid an error. */
26303 #ifdef __cplusplus
26304 extern "C"
26306 #endif
26307 /* We use char because int might match the return type of a gcc2
26308 builtin and then its argument prototype would still apply. */
26309 char $ac_func ();
26310 /* The GNU C library defines this for functions which it implements
26311 to always fail with ENOSYS. Some functions are actually named
26312 something starting with __ and the normal name is an alias. */
26313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26314 choke me
26315 #else
26316 char (*f) () = $ac_func;
26317 #endif
26318 #ifdef __cplusplus
26320 #endif
26323 main ()
26325 return f != $ac_func;
26327 return 0;
26329 _ACEOF
26330 rm -f conftest.$ac_objext conftest$ac_exeext
26331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26332 (eval $ac_link) 2>conftest.er1
26333 ac_status=$?
26334 grep -v '^ *+' conftest.er1 >conftest.err
26335 rm -f conftest.er1
26336 cat conftest.err >&5
26337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26338 (exit $ac_status); } &&
26339 { ac_try='test -z "$ac_c_werror_flag"
26340 || test ! -s conftest.err'
26341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26342 (eval $ac_try) 2>&5
26343 ac_status=$?
26344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26345 (exit $ac_status); }; } &&
26346 { ac_try='test -s conftest$ac_exeext'
26347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26348 (eval $ac_try) 2>&5
26349 ac_status=$?
26350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26351 (exit $ac_status); }; }; then
26352 eval "$as_ac_var=yes"
26353 else
26354 echo "$as_me: failed program was:" >&5
26355 sed 's/^/| /' conftest.$ac_ext >&5
26357 eval "$as_ac_var=no"
26359 rm -f conftest.err conftest.$ac_objext \
26360 conftest$ac_exeext conftest.$ac_ext
26362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26364 if test `eval echo '${'$as_ac_var'}'` = yes; then
26365 cat >>confdefs.h <<_ACEOF
26366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26367 _ACEOF
26370 done
26380 echo "$as_me:$LINENO: checking for modff declaration" >&5
26381 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
26382 if test x${glibcxx_cv_func_modff_use+set} != xset; then
26383 if test "${glibcxx_cv_func_modff_use+set}" = set; then
26384 echo $ECHO_N "(cached) $ECHO_C" >&6
26385 else
26389 ac_ext=cc
26390 ac_cpp='$CXXCPP $CPPFLAGS'
26391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26395 cat >conftest.$ac_ext <<_ACEOF
26396 /* confdefs.h. */
26397 _ACEOF
26398 cat confdefs.h >>conftest.$ac_ext
26399 cat >>conftest.$ac_ext <<_ACEOF
26400 /* end confdefs.h. */
26401 #include <math.h>
26403 main ()
26405 modff(0, 0);
26407 return 0;
26409 _ACEOF
26410 rm -f conftest.$ac_objext
26411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26412 (eval $ac_compile) 2>conftest.er1
26413 ac_status=$?
26414 grep -v '^ *+' conftest.er1 >conftest.err
26415 rm -f conftest.er1
26416 cat conftest.err >&5
26417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26418 (exit $ac_status); } &&
26419 { ac_try='test -z "$ac_cxx_werror_flag"
26420 || test ! -s conftest.err'
26421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26422 (eval $ac_try) 2>&5
26423 ac_status=$?
26424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26425 (exit $ac_status); }; } &&
26426 { ac_try='test -s conftest.$ac_objext'
26427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26428 (eval $ac_try) 2>&5
26429 ac_status=$?
26430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26431 (exit $ac_status); }; }; then
26432 glibcxx_cv_func_modff_use=yes
26433 else
26434 echo "$as_me: failed program was:" >&5
26435 sed 's/^/| /' conftest.$ac_ext >&5
26437 glibcxx_cv_func_modff_use=no
26439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26440 ac_ext=c
26441 ac_cpp='$CPP $CPPFLAGS'
26442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26450 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
26451 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
26453 if test x$glibcxx_cv_func_modff_use = x"yes"; then
26455 for ac_func in modff
26457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26458 echo "$as_me:$LINENO: checking for $ac_func" >&5
26459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26460 if eval "test \"\${$as_ac_var+set}\" = set"; then
26461 echo $ECHO_N "(cached) $ECHO_C" >&6
26462 else
26463 if test x$gcc_no_link = xyes; then
26464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26466 { (exit 1); exit 1; }; }
26468 cat >conftest.$ac_ext <<_ACEOF
26469 /* confdefs.h. */
26470 _ACEOF
26471 cat confdefs.h >>conftest.$ac_ext
26472 cat >>conftest.$ac_ext <<_ACEOF
26473 /* end confdefs.h. */
26474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26476 #define $ac_func innocuous_$ac_func
26478 /* System header to define __stub macros and hopefully few prototypes,
26479 which can conflict with char $ac_func (); below.
26480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26481 <limits.h> exists even on freestanding compilers. */
26483 #ifdef __STDC__
26484 # include <limits.h>
26485 #else
26486 # include <assert.h>
26487 #endif
26489 #undef $ac_func
26491 /* Override any gcc2 internal prototype to avoid an error. */
26492 #ifdef __cplusplus
26493 extern "C"
26495 #endif
26496 /* We use char because int might match the return type of a gcc2
26497 builtin and then its argument prototype would still apply. */
26498 char $ac_func ();
26499 /* The GNU C library defines this for functions which it implements
26500 to always fail with ENOSYS. Some functions are actually named
26501 something starting with __ and the normal name is an alias. */
26502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26503 choke me
26504 #else
26505 char (*f) () = $ac_func;
26506 #endif
26507 #ifdef __cplusplus
26509 #endif
26512 main ()
26514 return f != $ac_func;
26516 return 0;
26518 _ACEOF
26519 rm -f conftest.$ac_objext conftest$ac_exeext
26520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26521 (eval $ac_link) 2>conftest.er1
26522 ac_status=$?
26523 grep -v '^ *+' conftest.er1 >conftest.err
26524 rm -f conftest.er1
26525 cat conftest.err >&5
26526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26527 (exit $ac_status); } &&
26528 { ac_try='test -z "$ac_c_werror_flag"
26529 || test ! -s conftest.err'
26530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26531 (eval $ac_try) 2>&5
26532 ac_status=$?
26533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26534 (exit $ac_status); }; } &&
26535 { ac_try='test -s conftest$ac_exeext'
26536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26537 (eval $ac_try) 2>&5
26538 ac_status=$?
26539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26540 (exit $ac_status); }; }; then
26541 eval "$as_ac_var=yes"
26542 else
26543 echo "$as_me: failed program was:" >&5
26544 sed 's/^/| /' conftest.$ac_ext >&5
26546 eval "$as_ac_var=no"
26548 rm -f conftest.err conftest.$ac_objext \
26549 conftest$ac_exeext conftest.$ac_ext
26551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26553 if test `eval echo '${'$as_ac_var'}'` = yes; then
26554 cat >>confdefs.h <<_ACEOF
26555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26556 _ACEOF
26559 done
26561 else
26563 echo "$as_me:$LINENO: checking for _modff declaration" >&5
26564 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
26565 if test x${glibcxx_cv_func__modff_use+set} != xset; then
26566 if test "${glibcxx_cv_func__modff_use+set}" = set; then
26567 echo $ECHO_N "(cached) $ECHO_C" >&6
26568 else
26572 ac_ext=cc
26573 ac_cpp='$CXXCPP $CPPFLAGS'
26574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26578 cat >conftest.$ac_ext <<_ACEOF
26579 /* confdefs.h. */
26580 _ACEOF
26581 cat confdefs.h >>conftest.$ac_ext
26582 cat >>conftest.$ac_ext <<_ACEOF
26583 /* end confdefs.h. */
26584 #include <math.h>
26586 main ()
26588 _modff(0, 0);
26590 return 0;
26592 _ACEOF
26593 rm -f conftest.$ac_objext
26594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26595 (eval $ac_compile) 2>conftest.er1
26596 ac_status=$?
26597 grep -v '^ *+' conftest.er1 >conftest.err
26598 rm -f conftest.er1
26599 cat conftest.err >&5
26600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26601 (exit $ac_status); } &&
26602 { ac_try='test -z "$ac_cxx_werror_flag"
26603 || test ! -s conftest.err'
26604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26605 (eval $ac_try) 2>&5
26606 ac_status=$?
26607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26608 (exit $ac_status); }; } &&
26609 { ac_try='test -s conftest.$ac_objext'
26610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26611 (eval $ac_try) 2>&5
26612 ac_status=$?
26613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26614 (exit $ac_status); }; }; then
26615 glibcxx_cv_func__modff_use=yes
26616 else
26617 echo "$as_me: failed program was:" >&5
26618 sed 's/^/| /' conftest.$ac_ext >&5
26620 glibcxx_cv_func__modff_use=no
26622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26623 ac_ext=c
26624 ac_cpp='$CPP $CPPFLAGS'
26625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26633 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
26634 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
26636 if test x$glibcxx_cv_func__modff_use = x"yes"; then
26638 for ac_func in _modff
26640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26641 echo "$as_me:$LINENO: checking for $ac_func" >&5
26642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26643 if eval "test \"\${$as_ac_var+set}\" = set"; then
26644 echo $ECHO_N "(cached) $ECHO_C" >&6
26645 else
26646 if test x$gcc_no_link = xyes; then
26647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26649 { (exit 1); exit 1; }; }
26651 cat >conftest.$ac_ext <<_ACEOF
26652 /* confdefs.h. */
26653 _ACEOF
26654 cat confdefs.h >>conftest.$ac_ext
26655 cat >>conftest.$ac_ext <<_ACEOF
26656 /* end confdefs.h. */
26657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26659 #define $ac_func innocuous_$ac_func
26661 /* System header to define __stub macros and hopefully few prototypes,
26662 which can conflict with char $ac_func (); below.
26663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26664 <limits.h> exists even on freestanding compilers. */
26666 #ifdef __STDC__
26667 # include <limits.h>
26668 #else
26669 # include <assert.h>
26670 #endif
26672 #undef $ac_func
26674 /* Override any gcc2 internal prototype to avoid an error. */
26675 #ifdef __cplusplus
26676 extern "C"
26678 #endif
26679 /* We use char because int might match the return type of a gcc2
26680 builtin and then its argument prototype would still apply. */
26681 char $ac_func ();
26682 /* The GNU C library defines this for functions which it implements
26683 to always fail with ENOSYS. Some functions are actually named
26684 something starting with __ and the normal name is an alias. */
26685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26686 choke me
26687 #else
26688 char (*f) () = $ac_func;
26689 #endif
26690 #ifdef __cplusplus
26692 #endif
26695 main ()
26697 return f != $ac_func;
26699 return 0;
26701 _ACEOF
26702 rm -f conftest.$ac_objext conftest$ac_exeext
26703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26704 (eval $ac_link) 2>conftest.er1
26705 ac_status=$?
26706 grep -v '^ *+' conftest.er1 >conftest.err
26707 rm -f conftest.er1
26708 cat conftest.err >&5
26709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26710 (exit $ac_status); } &&
26711 { ac_try='test -z "$ac_c_werror_flag"
26712 || test ! -s conftest.err'
26713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26714 (eval $ac_try) 2>&5
26715 ac_status=$?
26716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26717 (exit $ac_status); }; } &&
26718 { ac_try='test -s conftest$ac_exeext'
26719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26720 (eval $ac_try) 2>&5
26721 ac_status=$?
26722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26723 (exit $ac_status); }; }; then
26724 eval "$as_ac_var=yes"
26725 else
26726 echo "$as_me: failed program was:" >&5
26727 sed 's/^/| /' conftest.$ac_ext >&5
26729 eval "$as_ac_var=no"
26731 rm -f conftest.err conftest.$ac_objext \
26732 conftest$ac_exeext conftest.$ac_ext
26734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26736 if test `eval echo '${'$as_ac_var'}'` = yes; then
26737 cat >>confdefs.h <<_ACEOF
26738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26739 _ACEOF
26742 done
26752 echo "$as_me:$LINENO: checking for modf declaration" >&5
26753 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
26754 if test x${glibcxx_cv_func_modf_use+set} != xset; then
26755 if test "${glibcxx_cv_func_modf_use+set}" = set; then
26756 echo $ECHO_N "(cached) $ECHO_C" >&6
26757 else
26761 ac_ext=cc
26762 ac_cpp='$CXXCPP $CPPFLAGS'
26763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26767 cat >conftest.$ac_ext <<_ACEOF
26768 /* confdefs.h. */
26769 _ACEOF
26770 cat confdefs.h >>conftest.$ac_ext
26771 cat >>conftest.$ac_ext <<_ACEOF
26772 /* end confdefs.h. */
26773 #include <math.h>
26775 main ()
26777 modf(0, 0);
26779 return 0;
26781 _ACEOF
26782 rm -f conftest.$ac_objext
26783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26784 (eval $ac_compile) 2>conftest.er1
26785 ac_status=$?
26786 grep -v '^ *+' conftest.er1 >conftest.err
26787 rm -f conftest.er1
26788 cat conftest.err >&5
26789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26790 (exit $ac_status); } &&
26791 { ac_try='test -z "$ac_cxx_werror_flag"
26792 || test ! -s conftest.err'
26793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26794 (eval $ac_try) 2>&5
26795 ac_status=$?
26796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26797 (exit $ac_status); }; } &&
26798 { ac_try='test -s conftest.$ac_objext'
26799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26800 (eval $ac_try) 2>&5
26801 ac_status=$?
26802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26803 (exit $ac_status); }; }; then
26804 glibcxx_cv_func_modf_use=yes
26805 else
26806 echo "$as_me: failed program was:" >&5
26807 sed 's/^/| /' conftest.$ac_ext >&5
26809 glibcxx_cv_func_modf_use=no
26811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26812 ac_ext=c
26813 ac_cpp='$CPP $CPPFLAGS'
26814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26822 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
26823 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
26825 if test x$glibcxx_cv_func_modf_use = x"yes"; then
26827 for ac_func in modf
26829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26830 echo "$as_me:$LINENO: checking for $ac_func" >&5
26831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26832 if eval "test \"\${$as_ac_var+set}\" = set"; then
26833 echo $ECHO_N "(cached) $ECHO_C" >&6
26834 else
26835 if test x$gcc_no_link = xyes; then
26836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26838 { (exit 1); exit 1; }; }
26840 cat >conftest.$ac_ext <<_ACEOF
26841 /* confdefs.h. */
26842 _ACEOF
26843 cat confdefs.h >>conftest.$ac_ext
26844 cat >>conftest.$ac_ext <<_ACEOF
26845 /* end confdefs.h. */
26846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26848 #define $ac_func innocuous_$ac_func
26850 /* System header to define __stub macros and hopefully few prototypes,
26851 which can conflict with char $ac_func (); below.
26852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26853 <limits.h> exists even on freestanding compilers. */
26855 #ifdef __STDC__
26856 # include <limits.h>
26857 #else
26858 # include <assert.h>
26859 #endif
26861 #undef $ac_func
26863 /* Override any gcc2 internal prototype to avoid an error. */
26864 #ifdef __cplusplus
26865 extern "C"
26867 #endif
26868 /* We use char because int might match the return type of a gcc2
26869 builtin and then its argument prototype would still apply. */
26870 char $ac_func ();
26871 /* The GNU C library defines this for functions which it implements
26872 to always fail with ENOSYS. Some functions are actually named
26873 something starting with __ and the normal name is an alias. */
26874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26875 choke me
26876 #else
26877 char (*f) () = $ac_func;
26878 #endif
26879 #ifdef __cplusplus
26881 #endif
26884 main ()
26886 return f != $ac_func;
26888 return 0;
26890 _ACEOF
26891 rm -f conftest.$ac_objext conftest$ac_exeext
26892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26893 (eval $ac_link) 2>conftest.er1
26894 ac_status=$?
26895 grep -v '^ *+' conftest.er1 >conftest.err
26896 rm -f conftest.er1
26897 cat conftest.err >&5
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); } &&
26900 { ac_try='test -z "$ac_c_werror_flag"
26901 || test ! -s conftest.err'
26902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26903 (eval $ac_try) 2>&5
26904 ac_status=$?
26905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26906 (exit $ac_status); }; } &&
26907 { ac_try='test -s conftest$ac_exeext'
26908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26909 (eval $ac_try) 2>&5
26910 ac_status=$?
26911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912 (exit $ac_status); }; }; then
26913 eval "$as_ac_var=yes"
26914 else
26915 echo "$as_me: failed program was:" >&5
26916 sed 's/^/| /' conftest.$ac_ext >&5
26918 eval "$as_ac_var=no"
26920 rm -f conftest.err conftest.$ac_objext \
26921 conftest$ac_exeext conftest.$ac_ext
26923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26925 if test `eval echo '${'$as_ac_var'}'` = yes; then
26926 cat >>confdefs.h <<_ACEOF
26927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26928 _ACEOF
26931 done
26933 else
26935 echo "$as_me:$LINENO: checking for _modf declaration" >&5
26936 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
26937 if test x${glibcxx_cv_func__modf_use+set} != xset; then
26938 if test "${glibcxx_cv_func__modf_use+set}" = set; then
26939 echo $ECHO_N "(cached) $ECHO_C" >&6
26940 else
26944 ac_ext=cc
26945 ac_cpp='$CXXCPP $CPPFLAGS'
26946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26950 cat >conftest.$ac_ext <<_ACEOF
26951 /* confdefs.h. */
26952 _ACEOF
26953 cat confdefs.h >>conftest.$ac_ext
26954 cat >>conftest.$ac_ext <<_ACEOF
26955 /* end confdefs.h. */
26956 #include <math.h>
26958 main ()
26960 _modf(0, 0);
26962 return 0;
26964 _ACEOF
26965 rm -f conftest.$ac_objext
26966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26967 (eval $ac_compile) 2>conftest.er1
26968 ac_status=$?
26969 grep -v '^ *+' conftest.er1 >conftest.err
26970 rm -f conftest.er1
26971 cat conftest.err >&5
26972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26973 (exit $ac_status); } &&
26974 { ac_try='test -z "$ac_cxx_werror_flag"
26975 || test ! -s conftest.err'
26976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26977 (eval $ac_try) 2>&5
26978 ac_status=$?
26979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26980 (exit $ac_status); }; } &&
26981 { ac_try='test -s conftest.$ac_objext'
26982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26983 (eval $ac_try) 2>&5
26984 ac_status=$?
26985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26986 (exit $ac_status); }; }; then
26987 glibcxx_cv_func__modf_use=yes
26988 else
26989 echo "$as_me: failed program was:" >&5
26990 sed 's/^/| /' conftest.$ac_ext >&5
26992 glibcxx_cv_func__modf_use=no
26994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26995 ac_ext=c
26996 ac_cpp='$CPP $CPPFLAGS'
26997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27005 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
27006 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
27008 if test x$glibcxx_cv_func__modf_use = x"yes"; then
27010 for ac_func in _modf
27012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27013 echo "$as_me:$LINENO: checking for $ac_func" >&5
27014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27015 if eval "test \"\${$as_ac_var+set}\" = set"; then
27016 echo $ECHO_N "(cached) $ECHO_C" >&6
27017 else
27018 if test x$gcc_no_link = xyes; then
27019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27021 { (exit 1); exit 1; }; }
27023 cat >conftest.$ac_ext <<_ACEOF
27024 /* confdefs.h. */
27025 _ACEOF
27026 cat confdefs.h >>conftest.$ac_ext
27027 cat >>conftest.$ac_ext <<_ACEOF
27028 /* end confdefs.h. */
27029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27031 #define $ac_func innocuous_$ac_func
27033 /* System header to define __stub macros and hopefully few prototypes,
27034 which can conflict with char $ac_func (); below.
27035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27036 <limits.h> exists even on freestanding compilers. */
27038 #ifdef __STDC__
27039 # include <limits.h>
27040 #else
27041 # include <assert.h>
27042 #endif
27044 #undef $ac_func
27046 /* Override any gcc2 internal prototype to avoid an error. */
27047 #ifdef __cplusplus
27048 extern "C"
27050 #endif
27051 /* We use char because int might match the return type of a gcc2
27052 builtin and then its argument prototype would still apply. */
27053 char $ac_func ();
27054 /* The GNU C library defines this for functions which it implements
27055 to always fail with ENOSYS. Some functions are actually named
27056 something starting with __ and the normal name is an alias. */
27057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27058 choke me
27059 #else
27060 char (*f) () = $ac_func;
27061 #endif
27062 #ifdef __cplusplus
27064 #endif
27067 main ()
27069 return f != $ac_func;
27071 return 0;
27073 _ACEOF
27074 rm -f conftest.$ac_objext conftest$ac_exeext
27075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27076 (eval $ac_link) 2>conftest.er1
27077 ac_status=$?
27078 grep -v '^ *+' conftest.er1 >conftest.err
27079 rm -f conftest.er1
27080 cat conftest.err >&5
27081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27082 (exit $ac_status); } &&
27083 { ac_try='test -z "$ac_c_werror_flag"
27084 || test ! -s conftest.err'
27085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27086 (eval $ac_try) 2>&5
27087 ac_status=$?
27088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27089 (exit $ac_status); }; } &&
27090 { ac_try='test -s conftest$ac_exeext'
27091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27092 (eval $ac_try) 2>&5
27093 ac_status=$?
27094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27095 (exit $ac_status); }; }; then
27096 eval "$as_ac_var=yes"
27097 else
27098 echo "$as_me: failed program was:" >&5
27099 sed 's/^/| /' conftest.$ac_ext >&5
27101 eval "$as_ac_var=no"
27103 rm -f conftest.err conftest.$ac_objext \
27104 conftest$ac_exeext conftest.$ac_ext
27106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27108 if test `eval echo '${'$as_ac_var'}'` = yes; then
27109 cat >>confdefs.h <<_ACEOF
27110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27111 _ACEOF
27114 done
27124 echo "$as_me:$LINENO: checking for powf declaration" >&5
27125 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
27126 if test x${glibcxx_cv_func_powf_use+set} != xset; then
27127 if test "${glibcxx_cv_func_powf_use+set}" = set; then
27128 echo $ECHO_N "(cached) $ECHO_C" >&6
27129 else
27133 ac_ext=cc
27134 ac_cpp='$CXXCPP $CPPFLAGS'
27135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27139 cat >conftest.$ac_ext <<_ACEOF
27140 /* confdefs.h. */
27141 _ACEOF
27142 cat confdefs.h >>conftest.$ac_ext
27143 cat >>conftest.$ac_ext <<_ACEOF
27144 /* end confdefs.h. */
27145 #include <math.h>
27147 main ()
27149 powf(0, 0);
27151 return 0;
27153 _ACEOF
27154 rm -f conftest.$ac_objext
27155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27156 (eval $ac_compile) 2>conftest.er1
27157 ac_status=$?
27158 grep -v '^ *+' conftest.er1 >conftest.err
27159 rm -f conftest.er1
27160 cat conftest.err >&5
27161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27162 (exit $ac_status); } &&
27163 { ac_try='test -z "$ac_cxx_werror_flag"
27164 || test ! -s conftest.err'
27165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27166 (eval $ac_try) 2>&5
27167 ac_status=$?
27168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27169 (exit $ac_status); }; } &&
27170 { ac_try='test -s conftest.$ac_objext'
27171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27172 (eval $ac_try) 2>&5
27173 ac_status=$?
27174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27175 (exit $ac_status); }; }; then
27176 glibcxx_cv_func_powf_use=yes
27177 else
27178 echo "$as_me: failed program was:" >&5
27179 sed 's/^/| /' conftest.$ac_ext >&5
27181 glibcxx_cv_func_powf_use=no
27183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27184 ac_ext=c
27185 ac_cpp='$CPP $CPPFLAGS'
27186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27194 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
27195 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
27197 if test x$glibcxx_cv_func_powf_use = x"yes"; then
27199 for ac_func in powf
27201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27202 echo "$as_me:$LINENO: checking for $ac_func" >&5
27203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27204 if eval "test \"\${$as_ac_var+set}\" = set"; then
27205 echo $ECHO_N "(cached) $ECHO_C" >&6
27206 else
27207 if test x$gcc_no_link = xyes; then
27208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27210 { (exit 1); exit 1; }; }
27212 cat >conftest.$ac_ext <<_ACEOF
27213 /* confdefs.h. */
27214 _ACEOF
27215 cat confdefs.h >>conftest.$ac_ext
27216 cat >>conftest.$ac_ext <<_ACEOF
27217 /* end confdefs.h. */
27218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27220 #define $ac_func innocuous_$ac_func
27222 /* System header to define __stub macros and hopefully few prototypes,
27223 which can conflict with char $ac_func (); below.
27224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27225 <limits.h> exists even on freestanding compilers. */
27227 #ifdef __STDC__
27228 # include <limits.h>
27229 #else
27230 # include <assert.h>
27231 #endif
27233 #undef $ac_func
27235 /* Override any gcc2 internal prototype to avoid an error. */
27236 #ifdef __cplusplus
27237 extern "C"
27239 #endif
27240 /* We use char because int might match the return type of a gcc2
27241 builtin and then its argument prototype would still apply. */
27242 char $ac_func ();
27243 /* The GNU C library defines this for functions which it implements
27244 to always fail with ENOSYS. Some functions are actually named
27245 something starting with __ and the normal name is an alias. */
27246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27247 choke me
27248 #else
27249 char (*f) () = $ac_func;
27250 #endif
27251 #ifdef __cplusplus
27253 #endif
27256 main ()
27258 return f != $ac_func;
27260 return 0;
27262 _ACEOF
27263 rm -f conftest.$ac_objext conftest$ac_exeext
27264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27265 (eval $ac_link) 2>conftest.er1
27266 ac_status=$?
27267 grep -v '^ *+' conftest.er1 >conftest.err
27268 rm -f conftest.er1
27269 cat conftest.err >&5
27270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27271 (exit $ac_status); } &&
27272 { ac_try='test -z "$ac_c_werror_flag"
27273 || test ! -s conftest.err'
27274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27275 (eval $ac_try) 2>&5
27276 ac_status=$?
27277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27278 (exit $ac_status); }; } &&
27279 { ac_try='test -s conftest$ac_exeext'
27280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27281 (eval $ac_try) 2>&5
27282 ac_status=$?
27283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27284 (exit $ac_status); }; }; then
27285 eval "$as_ac_var=yes"
27286 else
27287 echo "$as_me: failed program was:" >&5
27288 sed 's/^/| /' conftest.$ac_ext >&5
27290 eval "$as_ac_var=no"
27292 rm -f conftest.err conftest.$ac_objext \
27293 conftest$ac_exeext conftest.$ac_ext
27295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27297 if test `eval echo '${'$as_ac_var'}'` = yes; then
27298 cat >>confdefs.h <<_ACEOF
27299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27300 _ACEOF
27303 done
27305 else
27307 echo "$as_me:$LINENO: checking for _powf declaration" >&5
27308 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
27309 if test x${glibcxx_cv_func__powf_use+set} != xset; then
27310 if test "${glibcxx_cv_func__powf_use+set}" = set; then
27311 echo $ECHO_N "(cached) $ECHO_C" >&6
27312 else
27316 ac_ext=cc
27317 ac_cpp='$CXXCPP $CPPFLAGS'
27318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27322 cat >conftest.$ac_ext <<_ACEOF
27323 /* confdefs.h. */
27324 _ACEOF
27325 cat confdefs.h >>conftest.$ac_ext
27326 cat >>conftest.$ac_ext <<_ACEOF
27327 /* end confdefs.h. */
27328 #include <math.h>
27330 main ()
27332 _powf(0, 0);
27334 return 0;
27336 _ACEOF
27337 rm -f conftest.$ac_objext
27338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27339 (eval $ac_compile) 2>conftest.er1
27340 ac_status=$?
27341 grep -v '^ *+' conftest.er1 >conftest.err
27342 rm -f conftest.er1
27343 cat conftest.err >&5
27344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27345 (exit $ac_status); } &&
27346 { ac_try='test -z "$ac_cxx_werror_flag"
27347 || test ! -s conftest.err'
27348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27349 (eval $ac_try) 2>&5
27350 ac_status=$?
27351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27352 (exit $ac_status); }; } &&
27353 { ac_try='test -s conftest.$ac_objext'
27354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27355 (eval $ac_try) 2>&5
27356 ac_status=$?
27357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27358 (exit $ac_status); }; }; then
27359 glibcxx_cv_func__powf_use=yes
27360 else
27361 echo "$as_me: failed program was:" >&5
27362 sed 's/^/| /' conftest.$ac_ext >&5
27364 glibcxx_cv_func__powf_use=no
27366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27367 ac_ext=c
27368 ac_cpp='$CPP $CPPFLAGS'
27369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27377 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
27378 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
27380 if test x$glibcxx_cv_func__powf_use = x"yes"; then
27382 for ac_func in _powf
27384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27385 echo "$as_me:$LINENO: checking for $ac_func" >&5
27386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27387 if eval "test \"\${$as_ac_var+set}\" = set"; then
27388 echo $ECHO_N "(cached) $ECHO_C" >&6
27389 else
27390 if test x$gcc_no_link = xyes; then
27391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27393 { (exit 1); exit 1; }; }
27395 cat >conftest.$ac_ext <<_ACEOF
27396 /* confdefs.h. */
27397 _ACEOF
27398 cat confdefs.h >>conftest.$ac_ext
27399 cat >>conftest.$ac_ext <<_ACEOF
27400 /* end confdefs.h. */
27401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27403 #define $ac_func innocuous_$ac_func
27405 /* System header to define __stub macros and hopefully few prototypes,
27406 which can conflict with char $ac_func (); below.
27407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27408 <limits.h> exists even on freestanding compilers. */
27410 #ifdef __STDC__
27411 # include <limits.h>
27412 #else
27413 # include <assert.h>
27414 #endif
27416 #undef $ac_func
27418 /* Override any gcc2 internal prototype to avoid an error. */
27419 #ifdef __cplusplus
27420 extern "C"
27422 #endif
27423 /* We use char because int might match the return type of a gcc2
27424 builtin and then its argument prototype would still apply. */
27425 char $ac_func ();
27426 /* The GNU C library defines this for functions which it implements
27427 to always fail with ENOSYS. Some functions are actually named
27428 something starting with __ and the normal name is an alias. */
27429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27430 choke me
27431 #else
27432 char (*f) () = $ac_func;
27433 #endif
27434 #ifdef __cplusplus
27436 #endif
27439 main ()
27441 return f != $ac_func;
27443 return 0;
27445 _ACEOF
27446 rm -f conftest.$ac_objext conftest$ac_exeext
27447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27448 (eval $ac_link) 2>conftest.er1
27449 ac_status=$?
27450 grep -v '^ *+' conftest.er1 >conftest.err
27451 rm -f conftest.er1
27452 cat conftest.err >&5
27453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27454 (exit $ac_status); } &&
27455 { ac_try='test -z "$ac_c_werror_flag"
27456 || test ! -s conftest.err'
27457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27458 (eval $ac_try) 2>&5
27459 ac_status=$?
27460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27461 (exit $ac_status); }; } &&
27462 { ac_try='test -s conftest$ac_exeext'
27463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27464 (eval $ac_try) 2>&5
27465 ac_status=$?
27466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27467 (exit $ac_status); }; }; then
27468 eval "$as_ac_var=yes"
27469 else
27470 echo "$as_me: failed program was:" >&5
27471 sed 's/^/| /' conftest.$ac_ext >&5
27473 eval "$as_ac_var=no"
27475 rm -f conftest.err conftest.$ac_objext \
27476 conftest$ac_exeext conftest.$ac_ext
27478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27480 if test `eval echo '${'$as_ac_var'}'` = yes; then
27481 cat >>confdefs.h <<_ACEOF
27482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27483 _ACEOF
27486 done
27496 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
27497 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
27498 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
27499 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
27500 echo $ECHO_N "(cached) $ECHO_C" >&6
27501 else
27505 ac_ext=cc
27506 ac_cpp='$CXXCPP $CPPFLAGS'
27507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27511 cat >conftest.$ac_ext <<_ACEOF
27512 /* confdefs.h. */
27513 _ACEOF
27514 cat confdefs.h >>conftest.$ac_ext
27515 cat >>conftest.$ac_ext <<_ACEOF
27516 /* end confdefs.h. */
27517 #include <math.h>
27518 #ifdef HAVE_IEEEFP_H
27519 #include <ieeefp.h>
27520 #endif
27523 main ()
27525 sqrtf(0);
27527 return 0;
27529 _ACEOF
27530 rm -f conftest.$ac_objext
27531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27532 (eval $ac_compile) 2>conftest.er1
27533 ac_status=$?
27534 grep -v '^ *+' conftest.er1 >conftest.err
27535 rm -f conftest.er1
27536 cat conftest.err >&5
27537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27538 (exit $ac_status); } &&
27539 { ac_try='test -z "$ac_cxx_werror_flag"
27540 || test ! -s conftest.err'
27541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27542 (eval $ac_try) 2>&5
27543 ac_status=$?
27544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27545 (exit $ac_status); }; } &&
27546 { ac_try='test -s conftest.$ac_objext'
27547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27548 (eval $ac_try) 2>&5
27549 ac_status=$?
27550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 (exit $ac_status); }; }; then
27552 glibcxx_cv_func_sqrtf_use=yes
27553 else
27554 echo "$as_me: failed program was:" >&5
27555 sed 's/^/| /' conftest.$ac_ext >&5
27557 glibcxx_cv_func_sqrtf_use=no
27559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27560 ac_ext=c
27561 ac_cpp='$CPP $CPPFLAGS'
27562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27570 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
27571 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
27573 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
27575 for ac_func in sqrtf
27577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27578 echo "$as_me:$LINENO: checking for $ac_func" >&5
27579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27580 if eval "test \"\${$as_ac_var+set}\" = set"; then
27581 echo $ECHO_N "(cached) $ECHO_C" >&6
27582 else
27583 if test x$gcc_no_link = xyes; then
27584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27586 { (exit 1); exit 1; }; }
27588 cat >conftest.$ac_ext <<_ACEOF
27589 /* confdefs.h. */
27590 _ACEOF
27591 cat confdefs.h >>conftest.$ac_ext
27592 cat >>conftest.$ac_ext <<_ACEOF
27593 /* end confdefs.h. */
27594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27596 #define $ac_func innocuous_$ac_func
27598 /* System header to define __stub macros and hopefully few prototypes,
27599 which can conflict with char $ac_func (); below.
27600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27601 <limits.h> exists even on freestanding compilers. */
27603 #ifdef __STDC__
27604 # include <limits.h>
27605 #else
27606 # include <assert.h>
27607 #endif
27609 #undef $ac_func
27611 /* Override any gcc2 internal prototype to avoid an error. */
27612 #ifdef __cplusplus
27613 extern "C"
27615 #endif
27616 /* We use char because int might match the return type of a gcc2
27617 builtin and then its argument prototype would still apply. */
27618 char $ac_func ();
27619 /* The GNU C library defines this for functions which it implements
27620 to always fail with ENOSYS. Some functions are actually named
27621 something starting with __ and the normal name is an alias. */
27622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27623 choke me
27624 #else
27625 char (*f) () = $ac_func;
27626 #endif
27627 #ifdef __cplusplus
27629 #endif
27632 main ()
27634 return f != $ac_func;
27636 return 0;
27638 _ACEOF
27639 rm -f conftest.$ac_objext conftest$ac_exeext
27640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27641 (eval $ac_link) 2>conftest.er1
27642 ac_status=$?
27643 grep -v '^ *+' conftest.er1 >conftest.err
27644 rm -f conftest.er1
27645 cat conftest.err >&5
27646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647 (exit $ac_status); } &&
27648 { ac_try='test -z "$ac_c_werror_flag"
27649 || test ! -s conftest.err'
27650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27651 (eval $ac_try) 2>&5
27652 ac_status=$?
27653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27654 (exit $ac_status); }; } &&
27655 { ac_try='test -s conftest$ac_exeext'
27656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27657 (eval $ac_try) 2>&5
27658 ac_status=$?
27659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27660 (exit $ac_status); }; }; then
27661 eval "$as_ac_var=yes"
27662 else
27663 echo "$as_me: failed program was:" >&5
27664 sed 's/^/| /' conftest.$ac_ext >&5
27666 eval "$as_ac_var=no"
27668 rm -f conftest.err conftest.$ac_objext \
27669 conftest$ac_exeext conftest.$ac_ext
27671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27673 if test `eval echo '${'$as_ac_var'}'` = yes; then
27674 cat >>confdefs.h <<_ACEOF
27675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27676 _ACEOF
27679 done
27681 else
27683 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
27684 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
27685 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
27686 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
27687 echo $ECHO_N "(cached) $ECHO_C" >&6
27688 else
27692 ac_ext=cc
27693 ac_cpp='$CXXCPP $CPPFLAGS'
27694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27698 cat >conftest.$ac_ext <<_ACEOF
27699 /* confdefs.h. */
27700 _ACEOF
27701 cat confdefs.h >>conftest.$ac_ext
27702 cat >>conftest.$ac_ext <<_ACEOF
27703 /* end confdefs.h. */
27704 #include <math.h>
27705 #ifdef HAVE_IEEEFP_H
27706 #include <ieeefp.h>
27707 #endif
27710 main ()
27712 _sqrtf(0);
27714 return 0;
27716 _ACEOF
27717 rm -f conftest.$ac_objext
27718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27719 (eval $ac_compile) 2>conftest.er1
27720 ac_status=$?
27721 grep -v '^ *+' conftest.er1 >conftest.err
27722 rm -f conftest.er1
27723 cat conftest.err >&5
27724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27725 (exit $ac_status); } &&
27726 { ac_try='test -z "$ac_cxx_werror_flag"
27727 || test ! -s conftest.err'
27728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27729 (eval $ac_try) 2>&5
27730 ac_status=$?
27731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27732 (exit $ac_status); }; } &&
27733 { ac_try='test -s conftest.$ac_objext'
27734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27735 (eval $ac_try) 2>&5
27736 ac_status=$?
27737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27738 (exit $ac_status); }; }; then
27739 glibcxx_cv_func__sqrtf_use=yes
27740 else
27741 echo "$as_me: failed program was:" >&5
27742 sed 's/^/| /' conftest.$ac_ext >&5
27744 glibcxx_cv_func__sqrtf_use=no
27746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27747 ac_ext=c
27748 ac_cpp='$CPP $CPPFLAGS'
27749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27757 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
27758 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
27760 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
27762 for ac_func in _sqrtf
27764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27765 echo "$as_me:$LINENO: checking for $ac_func" >&5
27766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27767 if eval "test \"\${$as_ac_var+set}\" = set"; then
27768 echo $ECHO_N "(cached) $ECHO_C" >&6
27769 else
27770 if test x$gcc_no_link = xyes; then
27771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27773 { (exit 1); exit 1; }; }
27775 cat >conftest.$ac_ext <<_ACEOF
27776 /* confdefs.h. */
27777 _ACEOF
27778 cat confdefs.h >>conftest.$ac_ext
27779 cat >>conftest.$ac_ext <<_ACEOF
27780 /* end confdefs.h. */
27781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27783 #define $ac_func innocuous_$ac_func
27785 /* System header to define __stub macros and hopefully few prototypes,
27786 which can conflict with char $ac_func (); below.
27787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27788 <limits.h> exists even on freestanding compilers. */
27790 #ifdef __STDC__
27791 # include <limits.h>
27792 #else
27793 # include <assert.h>
27794 #endif
27796 #undef $ac_func
27798 /* Override any gcc2 internal prototype to avoid an error. */
27799 #ifdef __cplusplus
27800 extern "C"
27802 #endif
27803 /* We use char because int might match the return type of a gcc2
27804 builtin and then its argument prototype would still apply. */
27805 char $ac_func ();
27806 /* The GNU C library defines this for functions which it implements
27807 to always fail with ENOSYS. Some functions are actually named
27808 something starting with __ and the normal name is an alias. */
27809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27810 choke me
27811 #else
27812 char (*f) () = $ac_func;
27813 #endif
27814 #ifdef __cplusplus
27816 #endif
27819 main ()
27821 return f != $ac_func;
27823 return 0;
27825 _ACEOF
27826 rm -f conftest.$ac_objext conftest$ac_exeext
27827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27828 (eval $ac_link) 2>conftest.er1
27829 ac_status=$?
27830 grep -v '^ *+' conftest.er1 >conftest.err
27831 rm -f conftest.er1
27832 cat conftest.err >&5
27833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27834 (exit $ac_status); } &&
27835 { ac_try='test -z "$ac_c_werror_flag"
27836 || test ! -s conftest.err'
27837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27838 (eval $ac_try) 2>&5
27839 ac_status=$?
27840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27841 (exit $ac_status); }; } &&
27842 { ac_try='test -s conftest$ac_exeext'
27843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27844 (eval $ac_try) 2>&5
27845 ac_status=$?
27846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27847 (exit $ac_status); }; }; then
27848 eval "$as_ac_var=yes"
27849 else
27850 echo "$as_me: failed program was:" >&5
27851 sed 's/^/| /' conftest.$ac_ext >&5
27853 eval "$as_ac_var=no"
27855 rm -f conftest.err conftest.$ac_objext \
27856 conftest$ac_exeext conftest.$ac_ext
27858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27860 if test `eval echo '${'$as_ac_var'}'` = yes; then
27861 cat >>confdefs.h <<_ACEOF
27862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27863 _ACEOF
27866 done
27876 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
27877 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
27878 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
27879 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
27880 echo $ECHO_N "(cached) $ECHO_C" >&6
27881 else
27885 ac_ext=cc
27886 ac_cpp='$CXXCPP $CPPFLAGS'
27887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27891 cat >conftest.$ac_ext <<_ACEOF
27892 /* confdefs.h. */
27893 _ACEOF
27894 cat confdefs.h >>conftest.$ac_ext
27895 cat >>conftest.$ac_ext <<_ACEOF
27896 /* end confdefs.h. */
27897 #include <math.h>
27899 main ()
27901 sincosf(0, 0, 0);
27903 return 0;
27905 _ACEOF
27906 rm -f conftest.$ac_objext
27907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27908 (eval $ac_compile) 2>conftest.er1
27909 ac_status=$?
27910 grep -v '^ *+' conftest.er1 >conftest.err
27911 rm -f conftest.er1
27912 cat conftest.err >&5
27913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27914 (exit $ac_status); } &&
27915 { ac_try='test -z "$ac_cxx_werror_flag"
27916 || test ! -s conftest.err'
27917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27918 (eval $ac_try) 2>&5
27919 ac_status=$?
27920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27921 (exit $ac_status); }; } &&
27922 { ac_try='test -s conftest.$ac_objext'
27923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27924 (eval $ac_try) 2>&5
27925 ac_status=$?
27926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27927 (exit $ac_status); }; }; then
27928 glibcxx_cv_func_sincosf_use=yes
27929 else
27930 echo "$as_me: failed program was:" >&5
27931 sed 's/^/| /' conftest.$ac_ext >&5
27933 glibcxx_cv_func_sincosf_use=no
27935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27936 ac_ext=c
27937 ac_cpp='$CPP $CPPFLAGS'
27938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27946 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
27947 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
27949 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
27951 for ac_func in sincosf
27953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27954 echo "$as_me:$LINENO: checking for $ac_func" >&5
27955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27956 if eval "test \"\${$as_ac_var+set}\" = set"; then
27957 echo $ECHO_N "(cached) $ECHO_C" >&6
27958 else
27959 if test x$gcc_no_link = xyes; then
27960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27962 { (exit 1); exit 1; }; }
27964 cat >conftest.$ac_ext <<_ACEOF
27965 /* confdefs.h. */
27966 _ACEOF
27967 cat confdefs.h >>conftest.$ac_ext
27968 cat >>conftest.$ac_ext <<_ACEOF
27969 /* end confdefs.h. */
27970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27972 #define $ac_func innocuous_$ac_func
27974 /* System header to define __stub macros and hopefully few prototypes,
27975 which can conflict with char $ac_func (); below.
27976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27977 <limits.h> exists even on freestanding compilers. */
27979 #ifdef __STDC__
27980 # include <limits.h>
27981 #else
27982 # include <assert.h>
27983 #endif
27985 #undef $ac_func
27987 /* Override any gcc2 internal prototype to avoid an error. */
27988 #ifdef __cplusplus
27989 extern "C"
27991 #endif
27992 /* We use char because int might match the return type of a gcc2
27993 builtin and then its argument prototype would still apply. */
27994 char $ac_func ();
27995 /* The GNU C library defines this for functions which it implements
27996 to always fail with ENOSYS. Some functions are actually named
27997 something starting with __ and the normal name is an alias. */
27998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27999 choke me
28000 #else
28001 char (*f) () = $ac_func;
28002 #endif
28003 #ifdef __cplusplus
28005 #endif
28008 main ()
28010 return f != $ac_func;
28012 return 0;
28014 _ACEOF
28015 rm -f conftest.$ac_objext conftest$ac_exeext
28016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28017 (eval $ac_link) 2>conftest.er1
28018 ac_status=$?
28019 grep -v '^ *+' conftest.er1 >conftest.err
28020 rm -f conftest.er1
28021 cat conftest.err >&5
28022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28023 (exit $ac_status); } &&
28024 { ac_try='test -z "$ac_c_werror_flag"
28025 || test ! -s conftest.err'
28026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28027 (eval $ac_try) 2>&5
28028 ac_status=$?
28029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28030 (exit $ac_status); }; } &&
28031 { ac_try='test -s conftest$ac_exeext'
28032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28033 (eval $ac_try) 2>&5
28034 ac_status=$?
28035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28036 (exit $ac_status); }; }; then
28037 eval "$as_ac_var=yes"
28038 else
28039 echo "$as_me: failed program was:" >&5
28040 sed 's/^/| /' conftest.$ac_ext >&5
28042 eval "$as_ac_var=no"
28044 rm -f conftest.err conftest.$ac_objext \
28045 conftest$ac_exeext conftest.$ac_ext
28047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28049 if test `eval echo '${'$as_ac_var'}'` = yes; then
28050 cat >>confdefs.h <<_ACEOF
28051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28052 _ACEOF
28055 done
28057 else
28059 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
28060 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
28061 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
28062 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
28063 echo $ECHO_N "(cached) $ECHO_C" >&6
28064 else
28068 ac_ext=cc
28069 ac_cpp='$CXXCPP $CPPFLAGS'
28070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28074 cat >conftest.$ac_ext <<_ACEOF
28075 /* confdefs.h. */
28076 _ACEOF
28077 cat confdefs.h >>conftest.$ac_ext
28078 cat >>conftest.$ac_ext <<_ACEOF
28079 /* end confdefs.h. */
28080 #include <math.h>
28082 main ()
28084 _sincosf(0, 0, 0);
28086 return 0;
28088 _ACEOF
28089 rm -f conftest.$ac_objext
28090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28091 (eval $ac_compile) 2>conftest.er1
28092 ac_status=$?
28093 grep -v '^ *+' conftest.er1 >conftest.err
28094 rm -f conftest.er1
28095 cat conftest.err >&5
28096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28097 (exit $ac_status); } &&
28098 { ac_try='test -z "$ac_cxx_werror_flag"
28099 || test ! -s conftest.err'
28100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28101 (eval $ac_try) 2>&5
28102 ac_status=$?
28103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28104 (exit $ac_status); }; } &&
28105 { ac_try='test -s conftest.$ac_objext'
28106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28107 (eval $ac_try) 2>&5
28108 ac_status=$?
28109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28110 (exit $ac_status); }; }; then
28111 glibcxx_cv_func__sincosf_use=yes
28112 else
28113 echo "$as_me: failed program was:" >&5
28114 sed 's/^/| /' conftest.$ac_ext >&5
28116 glibcxx_cv_func__sincosf_use=no
28118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28119 ac_ext=c
28120 ac_cpp='$CPP $CPPFLAGS'
28121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28129 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
28130 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
28132 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
28134 for ac_func in _sincosf
28136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28137 echo "$as_me:$LINENO: checking for $ac_func" >&5
28138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28139 if eval "test \"\${$as_ac_var+set}\" = set"; then
28140 echo $ECHO_N "(cached) $ECHO_C" >&6
28141 else
28142 if test x$gcc_no_link = xyes; then
28143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28145 { (exit 1); exit 1; }; }
28147 cat >conftest.$ac_ext <<_ACEOF
28148 /* confdefs.h. */
28149 _ACEOF
28150 cat confdefs.h >>conftest.$ac_ext
28151 cat >>conftest.$ac_ext <<_ACEOF
28152 /* end confdefs.h. */
28153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28155 #define $ac_func innocuous_$ac_func
28157 /* System header to define __stub macros and hopefully few prototypes,
28158 which can conflict with char $ac_func (); below.
28159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28160 <limits.h> exists even on freestanding compilers. */
28162 #ifdef __STDC__
28163 # include <limits.h>
28164 #else
28165 # include <assert.h>
28166 #endif
28168 #undef $ac_func
28170 /* Override any gcc2 internal prototype to avoid an error. */
28171 #ifdef __cplusplus
28172 extern "C"
28174 #endif
28175 /* We use char because int might match the return type of a gcc2
28176 builtin and then its argument prototype would still apply. */
28177 char $ac_func ();
28178 /* The GNU C library defines this for functions which it implements
28179 to always fail with ENOSYS. Some functions are actually named
28180 something starting with __ and the normal name is an alias. */
28181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28182 choke me
28183 #else
28184 char (*f) () = $ac_func;
28185 #endif
28186 #ifdef __cplusplus
28188 #endif
28191 main ()
28193 return f != $ac_func;
28195 return 0;
28197 _ACEOF
28198 rm -f conftest.$ac_objext conftest$ac_exeext
28199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28200 (eval $ac_link) 2>conftest.er1
28201 ac_status=$?
28202 grep -v '^ *+' conftest.er1 >conftest.err
28203 rm -f conftest.er1
28204 cat conftest.err >&5
28205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28206 (exit $ac_status); } &&
28207 { ac_try='test -z "$ac_c_werror_flag"
28208 || test ! -s conftest.err'
28209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28210 (eval $ac_try) 2>&5
28211 ac_status=$?
28212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28213 (exit $ac_status); }; } &&
28214 { ac_try='test -s conftest$ac_exeext'
28215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28216 (eval $ac_try) 2>&5
28217 ac_status=$?
28218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28219 (exit $ac_status); }; }; then
28220 eval "$as_ac_var=yes"
28221 else
28222 echo "$as_me: failed program was:" >&5
28223 sed 's/^/| /' conftest.$ac_ext >&5
28225 eval "$as_ac_var=no"
28227 rm -f conftest.err conftest.$ac_objext \
28228 conftest$ac_exeext conftest.$ac_ext
28230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28232 if test `eval echo '${'$as_ac_var'}'` = yes; then
28233 cat >>confdefs.h <<_ACEOF
28234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28235 _ACEOF
28238 done
28248 echo "$as_me:$LINENO: checking for finitef declaration" >&5
28249 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
28250 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
28251 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
28252 echo $ECHO_N "(cached) $ECHO_C" >&6
28253 else
28257 ac_ext=cc
28258 ac_cpp='$CXXCPP $CPPFLAGS'
28259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28263 cat >conftest.$ac_ext <<_ACEOF
28264 /* confdefs.h. */
28265 _ACEOF
28266 cat confdefs.h >>conftest.$ac_ext
28267 cat >>conftest.$ac_ext <<_ACEOF
28268 /* end confdefs.h. */
28269 #include <math.h>
28270 #ifdef HAVE_IEEEFP_H
28271 #include <ieeefp.h>
28272 #endif
28275 main ()
28277 finitef(0);
28279 return 0;
28281 _ACEOF
28282 rm -f conftest.$ac_objext
28283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28284 (eval $ac_compile) 2>conftest.er1
28285 ac_status=$?
28286 grep -v '^ *+' conftest.er1 >conftest.err
28287 rm -f conftest.er1
28288 cat conftest.err >&5
28289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28290 (exit $ac_status); } &&
28291 { ac_try='test -z "$ac_cxx_werror_flag"
28292 || test ! -s conftest.err'
28293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28294 (eval $ac_try) 2>&5
28295 ac_status=$?
28296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28297 (exit $ac_status); }; } &&
28298 { ac_try='test -s conftest.$ac_objext'
28299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28300 (eval $ac_try) 2>&5
28301 ac_status=$?
28302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28303 (exit $ac_status); }; }; then
28304 glibcxx_cv_func_finitef_use=yes
28305 else
28306 echo "$as_me: failed program was:" >&5
28307 sed 's/^/| /' conftest.$ac_ext >&5
28309 glibcxx_cv_func_finitef_use=no
28311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28312 ac_ext=c
28313 ac_cpp='$CPP $CPPFLAGS'
28314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28322 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
28323 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
28325 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
28327 for ac_func in finitef
28329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28330 echo "$as_me:$LINENO: checking for $ac_func" >&5
28331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28332 if eval "test \"\${$as_ac_var+set}\" = set"; then
28333 echo $ECHO_N "(cached) $ECHO_C" >&6
28334 else
28335 if test x$gcc_no_link = xyes; then
28336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28338 { (exit 1); exit 1; }; }
28340 cat >conftest.$ac_ext <<_ACEOF
28341 /* confdefs.h. */
28342 _ACEOF
28343 cat confdefs.h >>conftest.$ac_ext
28344 cat >>conftest.$ac_ext <<_ACEOF
28345 /* end confdefs.h. */
28346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28348 #define $ac_func innocuous_$ac_func
28350 /* System header to define __stub macros and hopefully few prototypes,
28351 which can conflict with char $ac_func (); below.
28352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28353 <limits.h> exists even on freestanding compilers. */
28355 #ifdef __STDC__
28356 # include <limits.h>
28357 #else
28358 # include <assert.h>
28359 #endif
28361 #undef $ac_func
28363 /* Override any gcc2 internal prototype to avoid an error. */
28364 #ifdef __cplusplus
28365 extern "C"
28367 #endif
28368 /* We use char because int might match the return type of a gcc2
28369 builtin and then its argument prototype would still apply. */
28370 char $ac_func ();
28371 /* The GNU C library defines this for functions which it implements
28372 to always fail with ENOSYS. Some functions are actually named
28373 something starting with __ and the normal name is an alias. */
28374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28375 choke me
28376 #else
28377 char (*f) () = $ac_func;
28378 #endif
28379 #ifdef __cplusplus
28381 #endif
28384 main ()
28386 return f != $ac_func;
28388 return 0;
28390 _ACEOF
28391 rm -f conftest.$ac_objext conftest$ac_exeext
28392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28393 (eval $ac_link) 2>conftest.er1
28394 ac_status=$?
28395 grep -v '^ *+' conftest.er1 >conftest.err
28396 rm -f conftest.er1
28397 cat conftest.err >&5
28398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 (exit $ac_status); } &&
28400 { ac_try='test -z "$ac_c_werror_flag"
28401 || test ! -s conftest.err'
28402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28403 (eval $ac_try) 2>&5
28404 ac_status=$?
28405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28406 (exit $ac_status); }; } &&
28407 { ac_try='test -s conftest$ac_exeext'
28408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28409 (eval $ac_try) 2>&5
28410 ac_status=$?
28411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28412 (exit $ac_status); }; }; then
28413 eval "$as_ac_var=yes"
28414 else
28415 echo "$as_me: failed program was:" >&5
28416 sed 's/^/| /' conftest.$ac_ext >&5
28418 eval "$as_ac_var=no"
28420 rm -f conftest.err conftest.$ac_objext \
28421 conftest$ac_exeext conftest.$ac_ext
28423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28425 if test `eval echo '${'$as_ac_var'}'` = yes; then
28426 cat >>confdefs.h <<_ACEOF
28427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28428 _ACEOF
28431 done
28433 else
28435 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
28436 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
28437 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
28438 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
28439 echo $ECHO_N "(cached) $ECHO_C" >&6
28440 else
28444 ac_ext=cc
28445 ac_cpp='$CXXCPP $CPPFLAGS'
28446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28450 cat >conftest.$ac_ext <<_ACEOF
28451 /* confdefs.h. */
28452 _ACEOF
28453 cat confdefs.h >>conftest.$ac_ext
28454 cat >>conftest.$ac_ext <<_ACEOF
28455 /* end confdefs.h. */
28456 #include <math.h>
28457 #ifdef HAVE_IEEEFP_H
28458 #include <ieeefp.h>
28459 #endif
28462 main ()
28464 _finitef(0);
28466 return 0;
28468 _ACEOF
28469 rm -f conftest.$ac_objext
28470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28471 (eval $ac_compile) 2>conftest.er1
28472 ac_status=$?
28473 grep -v '^ *+' conftest.er1 >conftest.err
28474 rm -f conftest.er1
28475 cat conftest.err >&5
28476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28477 (exit $ac_status); } &&
28478 { ac_try='test -z "$ac_cxx_werror_flag"
28479 || test ! -s conftest.err'
28480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28481 (eval $ac_try) 2>&5
28482 ac_status=$?
28483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28484 (exit $ac_status); }; } &&
28485 { ac_try='test -s conftest.$ac_objext'
28486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28487 (eval $ac_try) 2>&5
28488 ac_status=$?
28489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28490 (exit $ac_status); }; }; then
28491 glibcxx_cv_func__finitef_use=yes
28492 else
28493 echo "$as_me: failed program was:" >&5
28494 sed 's/^/| /' conftest.$ac_ext >&5
28496 glibcxx_cv_func__finitef_use=no
28498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28499 ac_ext=c
28500 ac_cpp='$CPP $CPPFLAGS'
28501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28509 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
28510 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
28512 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
28514 for ac_func in _finitef
28516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28517 echo "$as_me:$LINENO: checking for $ac_func" >&5
28518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28519 if eval "test \"\${$as_ac_var+set}\" = set"; then
28520 echo $ECHO_N "(cached) $ECHO_C" >&6
28521 else
28522 if test x$gcc_no_link = xyes; then
28523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28525 { (exit 1); exit 1; }; }
28527 cat >conftest.$ac_ext <<_ACEOF
28528 /* confdefs.h. */
28529 _ACEOF
28530 cat confdefs.h >>conftest.$ac_ext
28531 cat >>conftest.$ac_ext <<_ACEOF
28532 /* end confdefs.h. */
28533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28535 #define $ac_func innocuous_$ac_func
28537 /* System header to define __stub macros and hopefully few prototypes,
28538 which can conflict with char $ac_func (); below.
28539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28540 <limits.h> exists even on freestanding compilers. */
28542 #ifdef __STDC__
28543 # include <limits.h>
28544 #else
28545 # include <assert.h>
28546 #endif
28548 #undef $ac_func
28550 /* Override any gcc2 internal prototype to avoid an error. */
28551 #ifdef __cplusplus
28552 extern "C"
28554 #endif
28555 /* We use char because int might match the return type of a gcc2
28556 builtin and then its argument prototype would still apply. */
28557 char $ac_func ();
28558 /* The GNU C library defines this for functions which it implements
28559 to always fail with ENOSYS. Some functions are actually named
28560 something starting with __ and the normal name is an alias. */
28561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28562 choke me
28563 #else
28564 char (*f) () = $ac_func;
28565 #endif
28566 #ifdef __cplusplus
28568 #endif
28571 main ()
28573 return f != $ac_func;
28575 return 0;
28577 _ACEOF
28578 rm -f conftest.$ac_objext conftest$ac_exeext
28579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28580 (eval $ac_link) 2>conftest.er1
28581 ac_status=$?
28582 grep -v '^ *+' conftest.er1 >conftest.err
28583 rm -f conftest.er1
28584 cat conftest.err >&5
28585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28586 (exit $ac_status); } &&
28587 { ac_try='test -z "$ac_c_werror_flag"
28588 || test ! -s conftest.err'
28589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28590 (eval $ac_try) 2>&5
28591 ac_status=$?
28592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28593 (exit $ac_status); }; } &&
28594 { ac_try='test -s conftest$ac_exeext'
28595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28596 (eval $ac_try) 2>&5
28597 ac_status=$?
28598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28599 (exit $ac_status); }; }; then
28600 eval "$as_ac_var=yes"
28601 else
28602 echo "$as_me: failed program was:" >&5
28603 sed 's/^/| /' conftest.$ac_ext >&5
28605 eval "$as_ac_var=no"
28607 rm -f conftest.err conftest.$ac_objext \
28608 conftest$ac_exeext conftest.$ac_ext
28610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28612 if test `eval echo '${'$as_ac_var'}'` = yes; then
28613 cat >>confdefs.h <<_ACEOF
28614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28615 _ACEOF
28618 done
28628 echo "$as_me:$LINENO: checking for long double trig functions" >&5
28629 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
28630 if test "${glibcxx_cv_func_long_double_trig_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>
28650 main ()
28652 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
28654 return 0;
28656 _ACEOF
28657 rm -f conftest.$ac_objext
28658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28659 (eval $ac_compile) 2>conftest.er1
28660 ac_status=$?
28661 grep -v '^ *+' conftest.er1 >conftest.err
28662 rm -f conftest.er1
28663 cat conftest.err >&5
28664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28665 (exit $ac_status); } &&
28666 { ac_try='test -z "$ac_cxx_werror_flag"
28667 || test ! -s conftest.err'
28668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28669 (eval $ac_try) 2>&5
28670 ac_status=$?
28671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28672 (exit $ac_status); }; } &&
28673 { ac_try='test -s conftest.$ac_objext'
28674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28675 (eval $ac_try) 2>&5
28676 ac_status=$?
28677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678 (exit $ac_status); }; }; then
28679 glibcxx_cv_func_long_double_trig_use=yes
28680 else
28681 echo "$as_me: failed program was:" >&5
28682 sed 's/^/| /' conftest.$ac_ext >&5
28684 glibcxx_cv_func_long_double_trig_use=no
28686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28687 ac_ext=c
28688 ac_cpp='$CPP $CPPFLAGS'
28689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28695 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
28696 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
28697 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
28707 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
28709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28710 echo "$as_me:$LINENO: checking for $ac_func" >&5
28711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28712 if eval "test \"\${$as_ac_var+set}\" = set"; then
28713 echo $ECHO_N "(cached) $ECHO_C" >&6
28714 else
28715 if test x$gcc_no_link = xyes; then
28716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28718 { (exit 1); exit 1; }; }
28720 cat >conftest.$ac_ext <<_ACEOF
28721 /* confdefs.h. */
28722 _ACEOF
28723 cat confdefs.h >>conftest.$ac_ext
28724 cat >>conftest.$ac_ext <<_ACEOF
28725 /* end confdefs.h. */
28726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28728 #define $ac_func innocuous_$ac_func
28730 /* System header to define __stub macros and hopefully few prototypes,
28731 which can conflict with char $ac_func (); below.
28732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28733 <limits.h> exists even on freestanding compilers. */
28735 #ifdef __STDC__
28736 # include <limits.h>
28737 #else
28738 # include <assert.h>
28739 #endif
28741 #undef $ac_func
28743 /* Override any gcc2 internal prototype to avoid an error. */
28744 #ifdef __cplusplus
28745 extern "C"
28747 #endif
28748 /* We use char because int might match the return type of a gcc2
28749 builtin and then its argument prototype would still apply. */
28750 char $ac_func ();
28751 /* The GNU C library defines this for functions which it implements
28752 to always fail with ENOSYS. Some functions are actually named
28753 something starting with __ and the normal name is an alias. */
28754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28755 choke me
28756 #else
28757 char (*f) () = $ac_func;
28758 #endif
28759 #ifdef __cplusplus
28761 #endif
28764 main ()
28766 return f != $ac_func;
28768 return 0;
28770 _ACEOF
28771 rm -f conftest.$ac_objext conftest$ac_exeext
28772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28773 (eval $ac_link) 2>conftest.er1
28774 ac_status=$?
28775 grep -v '^ *+' conftest.er1 >conftest.err
28776 rm -f conftest.er1
28777 cat conftest.err >&5
28778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28779 (exit $ac_status); } &&
28780 { ac_try='test -z "$ac_c_werror_flag"
28781 || test ! -s conftest.err'
28782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28783 (eval $ac_try) 2>&5
28784 ac_status=$?
28785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28786 (exit $ac_status); }; } &&
28787 { ac_try='test -s conftest$ac_exeext'
28788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28789 (eval $ac_try) 2>&5
28790 ac_status=$?
28791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28792 (exit $ac_status); }; }; then
28793 eval "$as_ac_var=yes"
28794 else
28795 echo "$as_me: failed program was:" >&5
28796 sed 's/^/| /' conftest.$ac_ext >&5
28798 eval "$as_ac_var=no"
28800 rm -f conftest.err conftest.$ac_objext \
28801 conftest$ac_exeext conftest.$ac_ext
28803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28805 if test `eval echo '${'$as_ac_var'}'` = yes; then
28806 cat >>confdefs.h <<_ACEOF
28807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28808 _ACEOF
28811 done
28813 else
28814 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
28815 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
28816 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
28817 echo $ECHO_N "(cached) $ECHO_C" >&6
28818 else
28822 ac_ext=cc
28823 ac_cpp='$CXXCPP $CPPFLAGS'
28824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28828 cat >conftest.$ac_ext <<_ACEOF
28829 /* confdefs.h. */
28830 _ACEOF
28831 cat confdefs.h >>conftest.$ac_ext
28832 cat >>conftest.$ac_ext <<_ACEOF
28833 /* end confdefs.h. */
28834 #include <math.h>
28836 main ()
28838 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
28840 return 0;
28842 _ACEOF
28843 rm -f conftest.$ac_objext
28844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28845 (eval $ac_compile) 2>conftest.er1
28846 ac_status=$?
28847 grep -v '^ *+' conftest.er1 >conftest.err
28848 rm -f conftest.er1
28849 cat conftest.err >&5
28850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28851 (exit $ac_status); } &&
28852 { ac_try='test -z "$ac_cxx_werror_flag"
28853 || test ! -s conftest.err'
28854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28855 (eval $ac_try) 2>&5
28856 ac_status=$?
28857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28858 (exit $ac_status); }; } &&
28859 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
28865 glibcxx_cv_func__long_double_trig_use=yes
28866 else
28867 echo "$as_me: failed program was:" >&5
28868 sed 's/^/| /' conftest.$ac_ext >&5
28870 glibcxx_cv_func__long_double_trig_use=no
28872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28873 ac_ext=c
28874 ac_cpp='$CPP $CPPFLAGS'
28875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28881 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
28882 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
28883 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
28893 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
28895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28896 echo "$as_me:$LINENO: checking for $ac_func" >&5
28897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28898 if eval "test \"\${$as_ac_var+set}\" = set"; then
28899 echo $ECHO_N "(cached) $ECHO_C" >&6
28900 else
28901 if test x$gcc_no_link = xyes; then
28902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28904 { (exit 1); exit 1; }; }
28906 cat >conftest.$ac_ext <<_ACEOF
28907 /* confdefs.h. */
28908 _ACEOF
28909 cat confdefs.h >>conftest.$ac_ext
28910 cat >>conftest.$ac_ext <<_ACEOF
28911 /* end confdefs.h. */
28912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28914 #define $ac_func innocuous_$ac_func
28916 /* System header to define __stub macros and hopefully few prototypes,
28917 which can conflict with char $ac_func (); below.
28918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28919 <limits.h> exists even on freestanding compilers. */
28921 #ifdef __STDC__
28922 # include <limits.h>
28923 #else
28924 # include <assert.h>
28925 #endif
28927 #undef $ac_func
28929 /* Override any gcc2 internal prototype to avoid an error. */
28930 #ifdef __cplusplus
28931 extern "C"
28933 #endif
28934 /* We use char because int might match the return type of a gcc2
28935 builtin and then its argument prototype would still apply. */
28936 char $ac_func ();
28937 /* The GNU C library defines this for functions which it implements
28938 to always fail with ENOSYS. Some functions are actually named
28939 something starting with __ and the normal name is an alias. */
28940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28941 choke me
28942 #else
28943 char (*f) () = $ac_func;
28944 #endif
28945 #ifdef __cplusplus
28947 #endif
28950 main ()
28952 return f != $ac_func;
28954 return 0;
28956 _ACEOF
28957 rm -f conftest.$ac_objext conftest$ac_exeext
28958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28959 (eval $ac_link) 2>conftest.er1
28960 ac_status=$?
28961 grep -v '^ *+' conftest.er1 >conftest.err
28962 rm -f conftest.er1
28963 cat conftest.err >&5
28964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28965 (exit $ac_status); } &&
28966 { ac_try='test -z "$ac_c_werror_flag"
28967 || test ! -s conftest.err'
28968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28969 (eval $ac_try) 2>&5
28970 ac_status=$?
28971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28972 (exit $ac_status); }; } &&
28973 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
28979 eval "$as_ac_var=yes"
28980 else
28981 echo "$as_me: failed program was:" >&5
28982 sed 's/^/| /' conftest.$ac_ext >&5
28984 eval "$as_ac_var=no"
28986 rm -f conftest.err conftest.$ac_objext \
28987 conftest$ac_exeext conftest.$ac_ext
28989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28991 if test `eval echo '${'$as_ac_var'}'` = yes; then
28992 cat >>confdefs.h <<_ACEOF
28993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28994 _ACEOF
28997 done
29015 echo "$as_me:$LINENO: checking for long double round functions" >&5
29016 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
29017 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
29018 echo $ECHO_N "(cached) $ECHO_C" >&6
29019 else
29023 ac_ext=cc
29024 ac_cpp='$CXXCPP $CPPFLAGS'
29025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29029 cat >conftest.$ac_ext <<_ACEOF
29030 /* confdefs.h. */
29031 _ACEOF
29032 cat confdefs.h >>conftest.$ac_ext
29033 cat >>conftest.$ac_ext <<_ACEOF
29034 /* end confdefs.h. */
29035 #include <math.h>
29037 main ()
29039 ceill (0); floorl (0);
29041 return 0;
29043 _ACEOF
29044 rm -f conftest.$ac_objext
29045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29046 (eval $ac_compile) 2>conftest.er1
29047 ac_status=$?
29048 grep -v '^ *+' conftest.er1 >conftest.err
29049 rm -f conftest.er1
29050 cat conftest.err >&5
29051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29052 (exit $ac_status); } &&
29053 { ac_try='test -z "$ac_cxx_werror_flag"
29054 || test ! -s conftest.err'
29055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29056 (eval $ac_try) 2>&5
29057 ac_status=$?
29058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29059 (exit $ac_status); }; } &&
29060 { ac_try='test -s conftest.$ac_objext'
29061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29062 (eval $ac_try) 2>&5
29063 ac_status=$?
29064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29065 (exit $ac_status); }; }; then
29066 glibcxx_cv_func_long_double_round_use=yes
29067 else
29068 echo "$as_me: failed program was:" >&5
29069 sed 's/^/| /' conftest.$ac_ext >&5
29071 glibcxx_cv_func_long_double_round_use=no
29073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29074 ac_ext=c
29075 ac_cpp='$CPP $CPPFLAGS'
29076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29082 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
29083 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
29084 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29087 for ac_func in ceill floorl
29089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29090 echo "$as_me:$LINENO: checking for $ac_func" >&5
29091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29092 if eval "test \"\${$as_ac_var+set}\" = set"; then
29093 echo $ECHO_N "(cached) $ECHO_C" >&6
29094 else
29095 if test x$gcc_no_link = xyes; then
29096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29098 { (exit 1); exit 1; }; }
29100 cat >conftest.$ac_ext <<_ACEOF
29101 /* confdefs.h. */
29102 _ACEOF
29103 cat confdefs.h >>conftest.$ac_ext
29104 cat >>conftest.$ac_ext <<_ACEOF
29105 /* end confdefs.h. */
29106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29108 #define $ac_func innocuous_$ac_func
29110 /* System header to define __stub macros and hopefully few prototypes,
29111 which can conflict with char $ac_func (); below.
29112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29113 <limits.h> exists even on freestanding compilers. */
29115 #ifdef __STDC__
29116 # include <limits.h>
29117 #else
29118 # include <assert.h>
29119 #endif
29121 #undef $ac_func
29123 /* Override any gcc2 internal prototype to avoid an error. */
29124 #ifdef __cplusplus
29125 extern "C"
29127 #endif
29128 /* We use char because int might match the return type of a gcc2
29129 builtin and then its argument prototype would still apply. */
29130 char $ac_func ();
29131 /* The GNU C library defines this for functions which it implements
29132 to always fail with ENOSYS. Some functions are actually named
29133 something starting with __ and the normal name is an alias. */
29134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29135 choke me
29136 #else
29137 char (*f) () = $ac_func;
29138 #endif
29139 #ifdef __cplusplus
29141 #endif
29144 main ()
29146 return f != $ac_func;
29148 return 0;
29150 _ACEOF
29151 rm -f conftest.$ac_objext conftest$ac_exeext
29152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29153 (eval $ac_link) 2>conftest.er1
29154 ac_status=$?
29155 grep -v '^ *+' conftest.er1 >conftest.err
29156 rm -f conftest.er1
29157 cat conftest.err >&5
29158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29159 (exit $ac_status); } &&
29160 { ac_try='test -z "$ac_c_werror_flag"
29161 || test ! -s conftest.err'
29162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29163 (eval $ac_try) 2>&5
29164 ac_status=$?
29165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29166 (exit $ac_status); }; } &&
29167 { ac_try='test -s conftest$ac_exeext'
29168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29169 (eval $ac_try) 2>&5
29170 ac_status=$?
29171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29172 (exit $ac_status); }; }; then
29173 eval "$as_ac_var=yes"
29174 else
29175 echo "$as_me: failed program was:" >&5
29176 sed 's/^/| /' conftest.$ac_ext >&5
29178 eval "$as_ac_var=no"
29180 rm -f conftest.err conftest.$ac_objext \
29181 conftest$ac_exeext conftest.$ac_ext
29183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29185 if test `eval echo '${'$as_ac_var'}'` = yes; then
29186 cat >>confdefs.h <<_ACEOF
29187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29188 _ACEOF
29191 done
29193 else
29194 echo "$as_me:$LINENO: checking for _long double round functions" >&5
29195 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
29196 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
29197 echo $ECHO_N "(cached) $ECHO_C" >&6
29198 else
29202 ac_ext=cc
29203 ac_cpp='$CXXCPP $CPPFLAGS'
29204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29208 cat >conftest.$ac_ext <<_ACEOF
29209 /* confdefs.h. */
29210 _ACEOF
29211 cat confdefs.h >>conftest.$ac_ext
29212 cat >>conftest.$ac_ext <<_ACEOF
29213 /* end confdefs.h. */
29214 #include <math.h>
29216 main ()
29218 _ceill (0); _floorl (0);
29220 return 0;
29222 _ACEOF
29223 rm -f conftest.$ac_objext
29224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29225 (eval $ac_compile) 2>conftest.er1
29226 ac_status=$?
29227 grep -v '^ *+' conftest.er1 >conftest.err
29228 rm -f conftest.er1
29229 cat conftest.err >&5
29230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29231 (exit $ac_status); } &&
29232 { ac_try='test -z "$ac_cxx_werror_flag"
29233 || test ! -s conftest.err'
29234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29235 (eval $ac_try) 2>&5
29236 ac_status=$?
29237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29238 (exit $ac_status); }; } &&
29239 { ac_try='test -s conftest.$ac_objext'
29240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29241 (eval $ac_try) 2>&5
29242 ac_status=$?
29243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29244 (exit $ac_status); }; }; then
29245 glibcxx_cv_func__long_double_round_use=yes
29246 else
29247 echo "$as_me: failed program was:" >&5
29248 sed 's/^/| /' conftest.$ac_ext >&5
29250 glibcxx_cv_func__long_double_round_use=no
29252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29253 ac_ext=c
29254 ac_cpp='$CPP $CPPFLAGS'
29255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29261 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
29262 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
29263 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
29266 for ac_func in _ceill _floorl
29268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29269 echo "$as_me:$LINENO: checking for $ac_func" >&5
29270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29271 if eval "test \"\${$as_ac_var+set}\" = set"; then
29272 echo $ECHO_N "(cached) $ECHO_C" >&6
29273 else
29274 if test x$gcc_no_link = xyes; then
29275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29277 { (exit 1); exit 1; }; }
29279 cat >conftest.$ac_ext <<_ACEOF
29280 /* confdefs.h. */
29281 _ACEOF
29282 cat confdefs.h >>conftest.$ac_ext
29283 cat >>conftest.$ac_ext <<_ACEOF
29284 /* end confdefs.h. */
29285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29287 #define $ac_func innocuous_$ac_func
29289 /* System header to define __stub macros and hopefully few prototypes,
29290 which can conflict with char $ac_func (); below.
29291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29292 <limits.h> exists even on freestanding compilers. */
29294 #ifdef __STDC__
29295 # include <limits.h>
29296 #else
29297 # include <assert.h>
29298 #endif
29300 #undef $ac_func
29302 /* Override any gcc2 internal prototype to avoid an error. */
29303 #ifdef __cplusplus
29304 extern "C"
29306 #endif
29307 /* We use char because int might match the return type of a gcc2
29308 builtin and then its argument prototype would still apply. */
29309 char $ac_func ();
29310 /* The GNU C library defines this for functions which it implements
29311 to always fail with ENOSYS. Some functions are actually named
29312 something starting with __ and the normal name is an alias. */
29313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29314 choke me
29315 #else
29316 char (*f) () = $ac_func;
29317 #endif
29318 #ifdef __cplusplus
29320 #endif
29323 main ()
29325 return f != $ac_func;
29327 return 0;
29329 _ACEOF
29330 rm -f conftest.$ac_objext conftest$ac_exeext
29331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29332 (eval $ac_link) 2>conftest.er1
29333 ac_status=$?
29334 grep -v '^ *+' conftest.er1 >conftest.err
29335 rm -f conftest.er1
29336 cat conftest.err >&5
29337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29338 (exit $ac_status); } &&
29339 { ac_try='test -z "$ac_c_werror_flag"
29340 || test ! -s conftest.err'
29341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29342 (eval $ac_try) 2>&5
29343 ac_status=$?
29344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29345 (exit $ac_status); }; } &&
29346 { ac_try='test -s conftest$ac_exeext'
29347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29348 (eval $ac_try) 2>&5
29349 ac_status=$?
29350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29351 (exit $ac_status); }; }; then
29352 eval "$as_ac_var=yes"
29353 else
29354 echo "$as_me: failed program was:" >&5
29355 sed 's/^/| /' conftest.$ac_ext >&5
29357 eval "$as_ac_var=no"
29359 rm -f conftest.err conftest.$ac_objext \
29360 conftest$ac_exeext conftest.$ac_ext
29362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29364 if test `eval echo '${'$as_ac_var'}'` = yes; then
29365 cat >>confdefs.h <<_ACEOF
29366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29367 _ACEOF
29370 done
29382 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
29383 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
29384 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
29385 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
29386 echo $ECHO_N "(cached) $ECHO_C" >&6
29387 else
29391 ac_ext=cc
29392 ac_cpp='$CXXCPP $CPPFLAGS'
29393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29397 cat >conftest.$ac_ext <<_ACEOF
29398 /* confdefs.h. */
29399 _ACEOF
29400 cat confdefs.h >>conftest.$ac_ext
29401 cat >>conftest.$ac_ext <<_ACEOF
29402 /* end confdefs.h. */
29403 #include <math.h>
29404 #ifdef HAVE_IEEEFP_H
29405 #include <ieeefp.h>
29406 #endif
29409 main ()
29411 isnanl(0);
29413 return 0;
29415 _ACEOF
29416 rm -f conftest.$ac_objext
29417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29418 (eval $ac_compile) 2>conftest.er1
29419 ac_status=$?
29420 grep -v '^ *+' conftest.er1 >conftest.err
29421 rm -f conftest.er1
29422 cat conftest.err >&5
29423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29424 (exit $ac_status); } &&
29425 { ac_try='test -z "$ac_cxx_werror_flag"
29426 || test ! -s conftest.err'
29427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29428 (eval $ac_try) 2>&5
29429 ac_status=$?
29430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29431 (exit $ac_status); }; } &&
29432 { ac_try='test -s conftest.$ac_objext'
29433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29434 (eval $ac_try) 2>&5
29435 ac_status=$?
29436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29437 (exit $ac_status); }; }; then
29438 glibcxx_cv_func_isnanl_use=yes
29439 else
29440 echo "$as_me: failed program was:" >&5
29441 sed 's/^/| /' conftest.$ac_ext >&5
29443 glibcxx_cv_func_isnanl_use=no
29445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29446 ac_ext=c
29447 ac_cpp='$CPP $CPPFLAGS'
29448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29456 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
29457 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
29459 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
29461 for ac_func in isnanl
29463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29464 echo "$as_me:$LINENO: checking for $ac_func" >&5
29465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29466 if eval "test \"\${$as_ac_var+set}\" = set"; then
29467 echo $ECHO_N "(cached) $ECHO_C" >&6
29468 else
29469 if test x$gcc_no_link = xyes; then
29470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29472 { (exit 1); exit 1; }; }
29474 cat >conftest.$ac_ext <<_ACEOF
29475 /* confdefs.h. */
29476 _ACEOF
29477 cat confdefs.h >>conftest.$ac_ext
29478 cat >>conftest.$ac_ext <<_ACEOF
29479 /* end confdefs.h. */
29480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29482 #define $ac_func innocuous_$ac_func
29484 /* System header to define __stub macros and hopefully few prototypes,
29485 which can conflict with char $ac_func (); below.
29486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29487 <limits.h> exists even on freestanding compilers. */
29489 #ifdef __STDC__
29490 # include <limits.h>
29491 #else
29492 # include <assert.h>
29493 #endif
29495 #undef $ac_func
29497 /* Override any gcc2 internal prototype to avoid an error. */
29498 #ifdef __cplusplus
29499 extern "C"
29501 #endif
29502 /* We use char because int might match the return type of a gcc2
29503 builtin and then its argument prototype would still apply. */
29504 char $ac_func ();
29505 /* The GNU C library defines this for functions which it implements
29506 to always fail with ENOSYS. Some functions are actually named
29507 something starting with __ and the normal name is an alias. */
29508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29509 choke me
29510 #else
29511 char (*f) () = $ac_func;
29512 #endif
29513 #ifdef __cplusplus
29515 #endif
29518 main ()
29520 return f != $ac_func;
29522 return 0;
29524 _ACEOF
29525 rm -f conftest.$ac_objext conftest$ac_exeext
29526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29527 (eval $ac_link) 2>conftest.er1
29528 ac_status=$?
29529 grep -v '^ *+' conftest.er1 >conftest.err
29530 rm -f conftest.er1
29531 cat conftest.err >&5
29532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29533 (exit $ac_status); } &&
29534 { ac_try='test -z "$ac_c_werror_flag"
29535 || test ! -s conftest.err'
29536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29537 (eval $ac_try) 2>&5
29538 ac_status=$?
29539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29540 (exit $ac_status); }; } &&
29541 { ac_try='test -s conftest$ac_exeext'
29542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29543 (eval $ac_try) 2>&5
29544 ac_status=$?
29545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29546 (exit $ac_status); }; }; then
29547 eval "$as_ac_var=yes"
29548 else
29549 echo "$as_me: failed program was:" >&5
29550 sed 's/^/| /' conftest.$ac_ext >&5
29552 eval "$as_ac_var=no"
29554 rm -f conftest.err conftest.$ac_objext \
29555 conftest$ac_exeext conftest.$ac_ext
29557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29559 if test `eval echo '${'$as_ac_var'}'` = yes; then
29560 cat >>confdefs.h <<_ACEOF
29561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29562 _ACEOF
29565 done
29567 else
29569 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
29570 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
29571 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
29572 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
29573 echo $ECHO_N "(cached) $ECHO_C" >&6
29574 else
29578 ac_ext=cc
29579 ac_cpp='$CXXCPP $CPPFLAGS'
29580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29584 cat >conftest.$ac_ext <<_ACEOF
29585 /* confdefs.h. */
29586 _ACEOF
29587 cat confdefs.h >>conftest.$ac_ext
29588 cat >>conftest.$ac_ext <<_ACEOF
29589 /* end confdefs.h. */
29590 #include <math.h>
29591 #ifdef HAVE_IEEEFP_H
29592 #include <ieeefp.h>
29593 #endif
29596 main ()
29598 _isnanl(0);
29600 return 0;
29602 _ACEOF
29603 rm -f conftest.$ac_objext
29604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29605 (eval $ac_compile) 2>conftest.er1
29606 ac_status=$?
29607 grep -v '^ *+' conftest.er1 >conftest.err
29608 rm -f conftest.er1
29609 cat conftest.err >&5
29610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611 (exit $ac_status); } &&
29612 { ac_try='test -z "$ac_cxx_werror_flag"
29613 || test ! -s conftest.err'
29614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29615 (eval $ac_try) 2>&5
29616 ac_status=$?
29617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29618 (exit $ac_status); }; } &&
29619 { ac_try='test -s conftest.$ac_objext'
29620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29621 (eval $ac_try) 2>&5
29622 ac_status=$?
29623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29624 (exit $ac_status); }; }; then
29625 glibcxx_cv_func__isnanl_use=yes
29626 else
29627 echo "$as_me: failed program was:" >&5
29628 sed 's/^/| /' conftest.$ac_ext >&5
29630 glibcxx_cv_func__isnanl_use=no
29632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29633 ac_ext=c
29634 ac_cpp='$CPP $CPPFLAGS'
29635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29643 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
29644 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
29646 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
29648 for ac_func in _isnanl
29650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29651 echo "$as_me:$LINENO: checking for $ac_func" >&5
29652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29653 if eval "test \"\${$as_ac_var+set}\" = set"; then
29654 echo $ECHO_N "(cached) $ECHO_C" >&6
29655 else
29656 if test x$gcc_no_link = xyes; then
29657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29659 { (exit 1); exit 1; }; }
29661 cat >conftest.$ac_ext <<_ACEOF
29662 /* confdefs.h. */
29663 _ACEOF
29664 cat confdefs.h >>conftest.$ac_ext
29665 cat >>conftest.$ac_ext <<_ACEOF
29666 /* end confdefs.h. */
29667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29669 #define $ac_func innocuous_$ac_func
29671 /* System header to define __stub macros and hopefully few prototypes,
29672 which can conflict with char $ac_func (); below.
29673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29674 <limits.h> exists even on freestanding compilers. */
29676 #ifdef __STDC__
29677 # include <limits.h>
29678 #else
29679 # include <assert.h>
29680 #endif
29682 #undef $ac_func
29684 /* Override any gcc2 internal prototype to avoid an error. */
29685 #ifdef __cplusplus
29686 extern "C"
29688 #endif
29689 /* We use char because int might match the return type of a gcc2
29690 builtin and then its argument prototype would still apply. */
29691 char $ac_func ();
29692 /* The GNU C library defines this for functions which it implements
29693 to always fail with ENOSYS. Some functions are actually named
29694 something starting with __ and the normal name is an alias. */
29695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29696 choke me
29697 #else
29698 char (*f) () = $ac_func;
29699 #endif
29700 #ifdef __cplusplus
29702 #endif
29705 main ()
29707 return f != $ac_func;
29709 return 0;
29711 _ACEOF
29712 rm -f conftest.$ac_objext conftest$ac_exeext
29713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29714 (eval $ac_link) 2>conftest.er1
29715 ac_status=$?
29716 grep -v '^ *+' conftest.er1 >conftest.err
29717 rm -f conftest.er1
29718 cat conftest.err >&5
29719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29720 (exit $ac_status); } &&
29721 { ac_try='test -z "$ac_c_werror_flag"
29722 || test ! -s conftest.err'
29723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29724 (eval $ac_try) 2>&5
29725 ac_status=$?
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); }; } &&
29728 { ac_try='test -s conftest$ac_exeext'
29729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29730 (eval $ac_try) 2>&5
29731 ac_status=$?
29732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29733 (exit $ac_status); }; }; then
29734 eval "$as_ac_var=yes"
29735 else
29736 echo "$as_me: failed program was:" >&5
29737 sed 's/^/| /' conftest.$ac_ext >&5
29739 eval "$as_ac_var=no"
29741 rm -f conftest.err conftest.$ac_objext \
29742 conftest$ac_exeext conftest.$ac_ext
29744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29746 if test `eval echo '${'$as_ac_var'}'` = yes; then
29747 cat >>confdefs.h <<_ACEOF
29748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29749 _ACEOF
29752 done
29762 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
29763 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
29764 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
29765 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
29766 echo $ECHO_N "(cached) $ECHO_C" >&6
29767 else
29771 ac_ext=cc
29772 ac_cpp='$CXXCPP $CPPFLAGS'
29773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29777 cat >conftest.$ac_ext <<_ACEOF
29778 /* confdefs.h. */
29779 _ACEOF
29780 cat confdefs.h >>conftest.$ac_ext
29781 cat >>conftest.$ac_ext <<_ACEOF
29782 /* end confdefs.h. */
29783 #include <math.h>
29784 #ifdef HAVE_IEEEFP_H
29785 #include <ieeefp.h>
29786 #endif
29789 main ()
29791 isinfl(0);
29793 return 0;
29795 _ACEOF
29796 rm -f conftest.$ac_objext
29797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29798 (eval $ac_compile) 2>conftest.er1
29799 ac_status=$?
29800 grep -v '^ *+' conftest.er1 >conftest.err
29801 rm -f conftest.er1
29802 cat conftest.err >&5
29803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29804 (exit $ac_status); } &&
29805 { ac_try='test -z "$ac_cxx_werror_flag"
29806 || test ! -s conftest.err'
29807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29808 (eval $ac_try) 2>&5
29809 ac_status=$?
29810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29811 (exit $ac_status); }; } &&
29812 { ac_try='test -s conftest.$ac_objext'
29813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29814 (eval $ac_try) 2>&5
29815 ac_status=$?
29816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29817 (exit $ac_status); }; }; then
29818 glibcxx_cv_func_isinfl_use=yes
29819 else
29820 echo "$as_me: failed program was:" >&5
29821 sed 's/^/| /' conftest.$ac_ext >&5
29823 glibcxx_cv_func_isinfl_use=no
29825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29826 ac_ext=c
29827 ac_cpp='$CPP $CPPFLAGS'
29828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29836 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
29837 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
29839 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
29841 for ac_func in isinfl
29843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29844 echo "$as_me:$LINENO: checking for $ac_func" >&5
29845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29846 if eval "test \"\${$as_ac_var+set}\" = set"; then
29847 echo $ECHO_N "(cached) $ECHO_C" >&6
29848 else
29849 if test x$gcc_no_link = xyes; then
29850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29852 { (exit 1); exit 1; }; }
29854 cat >conftest.$ac_ext <<_ACEOF
29855 /* confdefs.h. */
29856 _ACEOF
29857 cat confdefs.h >>conftest.$ac_ext
29858 cat >>conftest.$ac_ext <<_ACEOF
29859 /* end confdefs.h. */
29860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29862 #define $ac_func innocuous_$ac_func
29864 /* System header to define __stub macros and hopefully few prototypes,
29865 which can conflict with char $ac_func (); below.
29866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29867 <limits.h> exists even on freestanding compilers. */
29869 #ifdef __STDC__
29870 # include <limits.h>
29871 #else
29872 # include <assert.h>
29873 #endif
29875 #undef $ac_func
29877 /* Override any gcc2 internal prototype to avoid an error. */
29878 #ifdef __cplusplus
29879 extern "C"
29881 #endif
29882 /* We use char because int might match the return type of a gcc2
29883 builtin and then its argument prototype would still apply. */
29884 char $ac_func ();
29885 /* The GNU C library defines this for functions which it implements
29886 to always fail with ENOSYS. Some functions are actually named
29887 something starting with __ and the normal name is an alias. */
29888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29889 choke me
29890 #else
29891 char (*f) () = $ac_func;
29892 #endif
29893 #ifdef __cplusplus
29895 #endif
29898 main ()
29900 return f != $ac_func;
29902 return 0;
29904 _ACEOF
29905 rm -f conftest.$ac_objext conftest$ac_exeext
29906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29907 (eval $ac_link) 2>conftest.er1
29908 ac_status=$?
29909 grep -v '^ *+' conftest.er1 >conftest.err
29910 rm -f conftest.er1
29911 cat conftest.err >&5
29912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29913 (exit $ac_status); } &&
29914 { ac_try='test -z "$ac_c_werror_flag"
29915 || test ! -s conftest.err'
29916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29917 (eval $ac_try) 2>&5
29918 ac_status=$?
29919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29920 (exit $ac_status); }; } &&
29921 { ac_try='test -s conftest$ac_exeext'
29922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29923 (eval $ac_try) 2>&5
29924 ac_status=$?
29925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29926 (exit $ac_status); }; }; then
29927 eval "$as_ac_var=yes"
29928 else
29929 echo "$as_me: failed program was:" >&5
29930 sed 's/^/| /' conftest.$ac_ext >&5
29932 eval "$as_ac_var=no"
29934 rm -f conftest.err conftest.$ac_objext \
29935 conftest$ac_exeext conftest.$ac_ext
29937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29939 if test `eval echo '${'$as_ac_var'}'` = yes; then
29940 cat >>confdefs.h <<_ACEOF
29941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29942 _ACEOF
29945 done
29947 else
29949 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
29950 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
29951 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
29952 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
29953 echo $ECHO_N "(cached) $ECHO_C" >&6
29954 else
29958 ac_ext=cc
29959 ac_cpp='$CXXCPP $CPPFLAGS'
29960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29964 cat >conftest.$ac_ext <<_ACEOF
29965 /* confdefs.h. */
29966 _ACEOF
29967 cat confdefs.h >>conftest.$ac_ext
29968 cat >>conftest.$ac_ext <<_ACEOF
29969 /* end confdefs.h. */
29970 #include <math.h>
29971 #ifdef HAVE_IEEEFP_H
29972 #include <ieeefp.h>
29973 #endif
29976 main ()
29978 _isinfl(0);
29980 return 0;
29982 _ACEOF
29983 rm -f conftest.$ac_objext
29984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29985 (eval $ac_compile) 2>conftest.er1
29986 ac_status=$?
29987 grep -v '^ *+' conftest.er1 >conftest.err
29988 rm -f conftest.er1
29989 cat conftest.err >&5
29990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29991 (exit $ac_status); } &&
29992 { ac_try='test -z "$ac_cxx_werror_flag"
29993 || test ! -s conftest.err'
29994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29995 (eval $ac_try) 2>&5
29996 ac_status=$?
29997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29998 (exit $ac_status); }; } &&
29999 { ac_try='test -s conftest.$ac_objext'
30000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30001 (eval $ac_try) 2>&5
30002 ac_status=$?
30003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30004 (exit $ac_status); }; }; then
30005 glibcxx_cv_func__isinfl_use=yes
30006 else
30007 echo "$as_me: failed program was:" >&5
30008 sed 's/^/| /' conftest.$ac_ext >&5
30010 glibcxx_cv_func__isinfl_use=no
30012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30013 ac_ext=c
30014 ac_cpp='$CPP $CPPFLAGS'
30015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30023 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
30024 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
30026 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30028 for ac_func in _isinfl
30030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30031 echo "$as_me:$LINENO: checking for $ac_func" >&5
30032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30033 if eval "test \"\${$as_ac_var+set}\" = set"; then
30034 echo $ECHO_N "(cached) $ECHO_C" >&6
30035 else
30036 if test x$gcc_no_link = xyes; then
30037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30039 { (exit 1); exit 1; }; }
30041 cat >conftest.$ac_ext <<_ACEOF
30042 /* confdefs.h. */
30043 _ACEOF
30044 cat confdefs.h >>conftest.$ac_ext
30045 cat >>conftest.$ac_ext <<_ACEOF
30046 /* end confdefs.h. */
30047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30049 #define $ac_func innocuous_$ac_func
30051 /* System header to define __stub macros and hopefully few prototypes,
30052 which can conflict with char $ac_func (); below.
30053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30054 <limits.h> exists even on freestanding compilers. */
30056 #ifdef __STDC__
30057 # include <limits.h>
30058 #else
30059 # include <assert.h>
30060 #endif
30062 #undef $ac_func
30064 /* Override any gcc2 internal prototype to avoid an error. */
30065 #ifdef __cplusplus
30066 extern "C"
30068 #endif
30069 /* We use char because int might match the return type of a gcc2
30070 builtin and then its argument prototype would still apply. */
30071 char $ac_func ();
30072 /* The GNU C library defines this for functions which it implements
30073 to always fail with ENOSYS. Some functions are actually named
30074 something starting with __ and the normal name is an alias. */
30075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30076 choke me
30077 #else
30078 char (*f) () = $ac_func;
30079 #endif
30080 #ifdef __cplusplus
30082 #endif
30085 main ()
30087 return f != $ac_func;
30089 return 0;
30091 _ACEOF
30092 rm -f conftest.$ac_objext conftest$ac_exeext
30093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30094 (eval $ac_link) 2>conftest.er1
30095 ac_status=$?
30096 grep -v '^ *+' conftest.er1 >conftest.err
30097 rm -f conftest.er1
30098 cat conftest.err >&5
30099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30100 (exit $ac_status); } &&
30101 { ac_try='test -z "$ac_c_werror_flag"
30102 || test ! -s conftest.err'
30103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30104 (eval $ac_try) 2>&5
30105 ac_status=$?
30106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30107 (exit $ac_status); }; } &&
30108 { ac_try='test -s conftest$ac_exeext'
30109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30110 (eval $ac_try) 2>&5
30111 ac_status=$?
30112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30113 (exit $ac_status); }; }; then
30114 eval "$as_ac_var=yes"
30115 else
30116 echo "$as_me: failed program was:" >&5
30117 sed 's/^/| /' conftest.$ac_ext >&5
30119 eval "$as_ac_var=no"
30121 rm -f conftest.err conftest.$ac_objext \
30122 conftest$ac_exeext conftest.$ac_ext
30124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30126 if test `eval echo '${'$as_ac_var'}'` = yes; then
30127 cat >>confdefs.h <<_ACEOF
30128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30129 _ACEOF
30132 done
30142 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
30143 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
30144 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
30145 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
30146 echo $ECHO_N "(cached) $ECHO_C" >&6
30147 else
30151 ac_ext=cc
30152 ac_cpp='$CXXCPP $CPPFLAGS'
30153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30157 cat >conftest.$ac_ext <<_ACEOF
30158 /* confdefs.h. */
30159 _ACEOF
30160 cat confdefs.h >>conftest.$ac_ext
30161 cat >>conftest.$ac_ext <<_ACEOF
30162 /* end confdefs.h. */
30163 #include <math.h>
30165 main ()
30167 copysignl(0, 0);
30169 return 0;
30171 _ACEOF
30172 rm -f conftest.$ac_objext
30173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30174 (eval $ac_compile) 2>conftest.er1
30175 ac_status=$?
30176 grep -v '^ *+' conftest.er1 >conftest.err
30177 rm -f conftest.er1
30178 cat conftest.err >&5
30179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30180 (exit $ac_status); } &&
30181 { ac_try='test -z "$ac_cxx_werror_flag"
30182 || test ! -s conftest.err'
30183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30184 (eval $ac_try) 2>&5
30185 ac_status=$?
30186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30187 (exit $ac_status); }; } &&
30188 { ac_try='test -s conftest.$ac_objext'
30189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30190 (eval $ac_try) 2>&5
30191 ac_status=$?
30192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30193 (exit $ac_status); }; }; then
30194 glibcxx_cv_func_copysignl_use=yes
30195 else
30196 echo "$as_me: failed program was:" >&5
30197 sed 's/^/| /' conftest.$ac_ext >&5
30199 glibcxx_cv_func_copysignl_use=no
30201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30202 ac_ext=c
30203 ac_cpp='$CPP $CPPFLAGS'
30204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30212 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
30213 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
30215 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
30217 for ac_func in copysignl
30219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30220 echo "$as_me:$LINENO: checking for $ac_func" >&5
30221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30222 if eval "test \"\${$as_ac_var+set}\" = set"; then
30223 echo $ECHO_N "(cached) $ECHO_C" >&6
30224 else
30225 if test x$gcc_no_link = xyes; then
30226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30228 { (exit 1); exit 1; }; }
30230 cat >conftest.$ac_ext <<_ACEOF
30231 /* confdefs.h. */
30232 _ACEOF
30233 cat confdefs.h >>conftest.$ac_ext
30234 cat >>conftest.$ac_ext <<_ACEOF
30235 /* end confdefs.h. */
30236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30238 #define $ac_func innocuous_$ac_func
30240 /* System header to define __stub macros and hopefully few prototypes,
30241 which can conflict with char $ac_func (); below.
30242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30243 <limits.h> exists even on freestanding compilers. */
30245 #ifdef __STDC__
30246 # include <limits.h>
30247 #else
30248 # include <assert.h>
30249 #endif
30251 #undef $ac_func
30253 /* Override any gcc2 internal prototype to avoid an error. */
30254 #ifdef __cplusplus
30255 extern "C"
30257 #endif
30258 /* We use char because int might match the return type of a gcc2
30259 builtin and then its argument prototype would still apply. */
30260 char $ac_func ();
30261 /* The GNU C library defines this for functions which it implements
30262 to always fail with ENOSYS. Some functions are actually named
30263 something starting with __ and the normal name is an alias. */
30264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30265 choke me
30266 #else
30267 char (*f) () = $ac_func;
30268 #endif
30269 #ifdef __cplusplus
30271 #endif
30274 main ()
30276 return f != $ac_func;
30278 return 0;
30280 _ACEOF
30281 rm -f conftest.$ac_objext conftest$ac_exeext
30282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30283 (eval $ac_link) 2>conftest.er1
30284 ac_status=$?
30285 grep -v '^ *+' conftest.er1 >conftest.err
30286 rm -f conftest.er1
30287 cat conftest.err >&5
30288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30289 (exit $ac_status); } &&
30290 { ac_try='test -z "$ac_c_werror_flag"
30291 || test ! -s conftest.err'
30292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30293 (eval $ac_try) 2>&5
30294 ac_status=$?
30295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30296 (exit $ac_status); }; } &&
30297 { ac_try='test -s conftest$ac_exeext'
30298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30299 (eval $ac_try) 2>&5
30300 ac_status=$?
30301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30302 (exit $ac_status); }; }; then
30303 eval "$as_ac_var=yes"
30304 else
30305 echo "$as_me: failed program was:" >&5
30306 sed 's/^/| /' conftest.$ac_ext >&5
30308 eval "$as_ac_var=no"
30310 rm -f conftest.err conftest.$ac_objext \
30311 conftest$ac_exeext conftest.$ac_ext
30313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30315 if test `eval echo '${'$as_ac_var'}'` = yes; then
30316 cat >>confdefs.h <<_ACEOF
30317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30318 _ACEOF
30321 done
30323 else
30325 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
30326 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
30327 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
30328 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
30329 echo $ECHO_N "(cached) $ECHO_C" >&6
30330 else
30334 ac_ext=cc
30335 ac_cpp='$CXXCPP $CPPFLAGS'
30336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30340 cat >conftest.$ac_ext <<_ACEOF
30341 /* confdefs.h. */
30342 _ACEOF
30343 cat confdefs.h >>conftest.$ac_ext
30344 cat >>conftest.$ac_ext <<_ACEOF
30345 /* end confdefs.h. */
30346 #include <math.h>
30348 main ()
30350 _copysignl(0, 0);
30352 return 0;
30354 _ACEOF
30355 rm -f conftest.$ac_objext
30356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30357 (eval $ac_compile) 2>conftest.er1
30358 ac_status=$?
30359 grep -v '^ *+' conftest.er1 >conftest.err
30360 rm -f conftest.er1
30361 cat conftest.err >&5
30362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30363 (exit $ac_status); } &&
30364 { ac_try='test -z "$ac_cxx_werror_flag"
30365 || test ! -s conftest.err'
30366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30367 (eval $ac_try) 2>&5
30368 ac_status=$?
30369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30370 (exit $ac_status); }; } &&
30371 { ac_try='test -s conftest.$ac_objext'
30372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30373 (eval $ac_try) 2>&5
30374 ac_status=$?
30375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30376 (exit $ac_status); }; }; then
30377 glibcxx_cv_func__copysignl_use=yes
30378 else
30379 echo "$as_me: failed program was:" >&5
30380 sed 's/^/| /' conftest.$ac_ext >&5
30382 glibcxx_cv_func__copysignl_use=no
30384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30385 ac_ext=c
30386 ac_cpp='$CPP $CPPFLAGS'
30387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30395 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
30396 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
30398 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
30400 for ac_func in _copysignl
30402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30403 echo "$as_me:$LINENO: checking for $ac_func" >&5
30404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30405 if eval "test \"\${$as_ac_var+set}\" = set"; then
30406 echo $ECHO_N "(cached) $ECHO_C" >&6
30407 else
30408 if test x$gcc_no_link = xyes; then
30409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30411 { (exit 1); exit 1; }; }
30413 cat >conftest.$ac_ext <<_ACEOF
30414 /* confdefs.h. */
30415 _ACEOF
30416 cat confdefs.h >>conftest.$ac_ext
30417 cat >>conftest.$ac_ext <<_ACEOF
30418 /* end confdefs.h. */
30419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30421 #define $ac_func innocuous_$ac_func
30423 /* System header to define __stub macros and hopefully few prototypes,
30424 which can conflict with char $ac_func (); below.
30425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30426 <limits.h> exists even on freestanding compilers. */
30428 #ifdef __STDC__
30429 # include <limits.h>
30430 #else
30431 # include <assert.h>
30432 #endif
30434 #undef $ac_func
30436 /* Override any gcc2 internal prototype to avoid an error. */
30437 #ifdef __cplusplus
30438 extern "C"
30440 #endif
30441 /* We use char because int might match the return type of a gcc2
30442 builtin and then its argument prototype would still apply. */
30443 char $ac_func ();
30444 /* The GNU C library defines this for functions which it implements
30445 to always fail with ENOSYS. Some functions are actually named
30446 something starting with __ and the normal name is an alias. */
30447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30448 choke me
30449 #else
30450 char (*f) () = $ac_func;
30451 #endif
30452 #ifdef __cplusplus
30454 #endif
30457 main ()
30459 return f != $ac_func;
30461 return 0;
30463 _ACEOF
30464 rm -f conftest.$ac_objext conftest$ac_exeext
30465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30466 (eval $ac_link) 2>conftest.er1
30467 ac_status=$?
30468 grep -v '^ *+' conftest.er1 >conftest.err
30469 rm -f conftest.er1
30470 cat conftest.err >&5
30471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30472 (exit $ac_status); } &&
30473 { ac_try='test -z "$ac_c_werror_flag"
30474 || test ! -s conftest.err'
30475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30476 (eval $ac_try) 2>&5
30477 ac_status=$?
30478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30479 (exit $ac_status); }; } &&
30480 { ac_try='test -s conftest$ac_exeext'
30481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30482 (eval $ac_try) 2>&5
30483 ac_status=$?
30484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30485 (exit $ac_status); }; }; then
30486 eval "$as_ac_var=yes"
30487 else
30488 echo "$as_me: failed program was:" >&5
30489 sed 's/^/| /' conftest.$ac_ext >&5
30491 eval "$as_ac_var=no"
30493 rm -f conftest.err conftest.$ac_objext \
30494 conftest$ac_exeext conftest.$ac_ext
30496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30498 if test `eval echo '${'$as_ac_var'}'` = yes; then
30499 cat >>confdefs.h <<_ACEOF
30500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30501 _ACEOF
30504 done
30514 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
30515 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
30516 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30517 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
30518 echo $ECHO_N "(cached) $ECHO_C" >&6
30519 else
30523 ac_ext=cc
30524 ac_cpp='$CXXCPP $CPPFLAGS'
30525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30529 cat >conftest.$ac_ext <<_ACEOF
30530 /* confdefs.h. */
30531 _ACEOF
30532 cat confdefs.h >>conftest.$ac_ext
30533 cat >>conftest.$ac_ext <<_ACEOF
30534 /* end confdefs.h. */
30535 #include <math.h>
30537 main ()
30539 atan2l(0, 0);
30541 return 0;
30543 _ACEOF
30544 rm -f conftest.$ac_objext
30545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30546 (eval $ac_compile) 2>conftest.er1
30547 ac_status=$?
30548 grep -v '^ *+' conftest.er1 >conftest.err
30549 rm -f conftest.er1
30550 cat conftest.err >&5
30551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30552 (exit $ac_status); } &&
30553 { ac_try='test -z "$ac_cxx_werror_flag"
30554 || test ! -s conftest.err'
30555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30556 (eval $ac_try) 2>&5
30557 ac_status=$?
30558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30559 (exit $ac_status); }; } &&
30560 { ac_try='test -s conftest.$ac_objext'
30561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30562 (eval $ac_try) 2>&5
30563 ac_status=$?
30564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30565 (exit $ac_status); }; }; then
30566 glibcxx_cv_func_atan2l_use=yes
30567 else
30568 echo "$as_me: failed program was:" >&5
30569 sed 's/^/| /' conftest.$ac_ext >&5
30571 glibcxx_cv_func_atan2l_use=no
30573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30574 ac_ext=c
30575 ac_cpp='$CPP $CPPFLAGS'
30576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30584 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
30585 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
30587 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30589 for ac_func in atan2l
30591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30592 echo "$as_me:$LINENO: checking for $ac_func" >&5
30593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30594 if eval "test \"\${$as_ac_var+set}\" = set"; then
30595 echo $ECHO_N "(cached) $ECHO_C" >&6
30596 else
30597 if test x$gcc_no_link = xyes; then
30598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30600 { (exit 1); exit 1; }; }
30602 cat >conftest.$ac_ext <<_ACEOF
30603 /* confdefs.h. */
30604 _ACEOF
30605 cat confdefs.h >>conftest.$ac_ext
30606 cat >>conftest.$ac_ext <<_ACEOF
30607 /* end confdefs.h. */
30608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30610 #define $ac_func innocuous_$ac_func
30612 /* System header to define __stub macros and hopefully few prototypes,
30613 which can conflict with char $ac_func (); below.
30614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30615 <limits.h> exists even on freestanding compilers. */
30617 #ifdef __STDC__
30618 # include <limits.h>
30619 #else
30620 # include <assert.h>
30621 #endif
30623 #undef $ac_func
30625 /* Override any gcc2 internal prototype to avoid an error. */
30626 #ifdef __cplusplus
30627 extern "C"
30629 #endif
30630 /* We use char because int might match the return type of a gcc2
30631 builtin and then its argument prototype would still apply. */
30632 char $ac_func ();
30633 /* The GNU C library defines this for functions which it implements
30634 to always fail with ENOSYS. Some functions are actually named
30635 something starting with __ and the normal name is an alias. */
30636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30637 choke me
30638 #else
30639 char (*f) () = $ac_func;
30640 #endif
30641 #ifdef __cplusplus
30643 #endif
30646 main ()
30648 return f != $ac_func;
30650 return 0;
30652 _ACEOF
30653 rm -f conftest.$ac_objext conftest$ac_exeext
30654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30655 (eval $ac_link) 2>conftest.er1
30656 ac_status=$?
30657 grep -v '^ *+' conftest.er1 >conftest.err
30658 rm -f conftest.er1
30659 cat conftest.err >&5
30660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30661 (exit $ac_status); } &&
30662 { ac_try='test -z "$ac_c_werror_flag"
30663 || test ! -s conftest.err'
30664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30665 (eval $ac_try) 2>&5
30666 ac_status=$?
30667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30668 (exit $ac_status); }; } &&
30669 { ac_try='test -s conftest$ac_exeext'
30670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30671 (eval $ac_try) 2>&5
30672 ac_status=$?
30673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30674 (exit $ac_status); }; }; then
30675 eval "$as_ac_var=yes"
30676 else
30677 echo "$as_me: failed program was:" >&5
30678 sed 's/^/| /' conftest.$ac_ext >&5
30680 eval "$as_ac_var=no"
30682 rm -f conftest.err conftest.$ac_objext \
30683 conftest$ac_exeext conftest.$ac_ext
30685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30687 if test `eval echo '${'$as_ac_var'}'` = yes; then
30688 cat >>confdefs.h <<_ACEOF
30689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30690 _ACEOF
30693 done
30695 else
30697 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
30698 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
30699 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30700 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
30701 echo $ECHO_N "(cached) $ECHO_C" >&6
30702 else
30706 ac_ext=cc
30707 ac_cpp='$CXXCPP $CPPFLAGS'
30708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30712 cat >conftest.$ac_ext <<_ACEOF
30713 /* confdefs.h. */
30714 _ACEOF
30715 cat confdefs.h >>conftest.$ac_ext
30716 cat >>conftest.$ac_ext <<_ACEOF
30717 /* end confdefs.h. */
30718 #include <math.h>
30720 main ()
30722 _atan2l(0, 0);
30724 return 0;
30726 _ACEOF
30727 rm -f conftest.$ac_objext
30728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30729 (eval $ac_compile) 2>conftest.er1
30730 ac_status=$?
30731 grep -v '^ *+' conftest.er1 >conftest.err
30732 rm -f conftest.er1
30733 cat conftest.err >&5
30734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30735 (exit $ac_status); } &&
30736 { ac_try='test -z "$ac_cxx_werror_flag"
30737 || test ! -s conftest.err'
30738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30739 (eval $ac_try) 2>&5
30740 ac_status=$?
30741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30742 (exit $ac_status); }; } &&
30743 { ac_try='test -s conftest.$ac_objext'
30744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30745 (eval $ac_try) 2>&5
30746 ac_status=$?
30747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748 (exit $ac_status); }; }; then
30749 glibcxx_cv_func__atan2l_use=yes
30750 else
30751 echo "$as_me: failed program was:" >&5
30752 sed 's/^/| /' conftest.$ac_ext >&5
30754 glibcxx_cv_func__atan2l_use=no
30756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30757 ac_ext=c
30758 ac_cpp='$CPP $CPPFLAGS'
30759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30767 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
30768 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
30770 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30772 for ac_func in _atan2l
30774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30775 echo "$as_me:$LINENO: checking for $ac_func" >&5
30776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30777 if eval "test \"\${$as_ac_var+set}\" = set"; then
30778 echo $ECHO_N "(cached) $ECHO_C" >&6
30779 else
30780 if test x$gcc_no_link = xyes; then
30781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30783 { (exit 1); exit 1; }; }
30785 cat >conftest.$ac_ext <<_ACEOF
30786 /* confdefs.h. */
30787 _ACEOF
30788 cat confdefs.h >>conftest.$ac_ext
30789 cat >>conftest.$ac_ext <<_ACEOF
30790 /* end confdefs.h. */
30791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30793 #define $ac_func innocuous_$ac_func
30795 /* System header to define __stub macros and hopefully few prototypes,
30796 which can conflict with char $ac_func (); below.
30797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30798 <limits.h> exists even on freestanding compilers. */
30800 #ifdef __STDC__
30801 # include <limits.h>
30802 #else
30803 # include <assert.h>
30804 #endif
30806 #undef $ac_func
30808 /* Override any gcc2 internal prototype to avoid an error. */
30809 #ifdef __cplusplus
30810 extern "C"
30812 #endif
30813 /* We use char because int might match the return type of a gcc2
30814 builtin and then its argument prototype would still apply. */
30815 char $ac_func ();
30816 /* The GNU C library defines this for functions which it implements
30817 to always fail with ENOSYS. Some functions are actually named
30818 something starting with __ and the normal name is an alias. */
30819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30820 choke me
30821 #else
30822 char (*f) () = $ac_func;
30823 #endif
30824 #ifdef __cplusplus
30826 #endif
30829 main ()
30831 return f != $ac_func;
30833 return 0;
30835 _ACEOF
30836 rm -f conftest.$ac_objext conftest$ac_exeext
30837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30838 (eval $ac_link) 2>conftest.er1
30839 ac_status=$?
30840 grep -v '^ *+' conftest.er1 >conftest.err
30841 rm -f conftest.er1
30842 cat conftest.err >&5
30843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30844 (exit $ac_status); } &&
30845 { ac_try='test -z "$ac_c_werror_flag"
30846 || test ! -s conftest.err'
30847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30848 (eval $ac_try) 2>&5
30849 ac_status=$?
30850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30851 (exit $ac_status); }; } &&
30852 { ac_try='test -s conftest$ac_exeext'
30853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30854 (eval $ac_try) 2>&5
30855 ac_status=$?
30856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30857 (exit $ac_status); }; }; then
30858 eval "$as_ac_var=yes"
30859 else
30860 echo "$as_me: failed program was:" >&5
30861 sed 's/^/| /' conftest.$ac_ext >&5
30863 eval "$as_ac_var=no"
30865 rm -f conftest.err conftest.$ac_objext \
30866 conftest$ac_exeext conftest.$ac_ext
30868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30870 if test `eval echo '${'$as_ac_var'}'` = yes; then
30871 cat >>confdefs.h <<_ACEOF
30872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30873 _ACEOF
30876 done
30886 echo "$as_me:$LINENO: checking for expl declaration" >&5
30887 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
30888 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30889 if test "${glibcxx_cv_func_expl_use+set}" = set; then
30890 echo $ECHO_N "(cached) $ECHO_C" >&6
30891 else
30895 ac_ext=cc
30896 ac_cpp='$CXXCPP $CPPFLAGS'
30897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30901 cat >conftest.$ac_ext <<_ACEOF
30902 /* confdefs.h. */
30903 _ACEOF
30904 cat confdefs.h >>conftest.$ac_ext
30905 cat >>conftest.$ac_ext <<_ACEOF
30906 /* end confdefs.h. */
30907 #include <math.h>
30908 #ifdef HAVE_IEEEFP_H
30909 #include <ieeefp.h>
30910 #endif
30913 main ()
30915 expl(0);
30917 return 0;
30919 _ACEOF
30920 rm -f conftest.$ac_objext
30921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30922 (eval $ac_compile) 2>conftest.er1
30923 ac_status=$?
30924 grep -v '^ *+' conftest.er1 >conftest.err
30925 rm -f conftest.er1
30926 cat conftest.err >&5
30927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928 (exit $ac_status); } &&
30929 { ac_try='test -z "$ac_cxx_werror_flag"
30930 || test ! -s conftest.err'
30931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30932 (eval $ac_try) 2>&5
30933 ac_status=$?
30934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30935 (exit $ac_status); }; } &&
30936 { ac_try='test -s conftest.$ac_objext'
30937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30938 (eval $ac_try) 2>&5
30939 ac_status=$?
30940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30941 (exit $ac_status); }; }; then
30942 glibcxx_cv_func_expl_use=yes
30943 else
30944 echo "$as_me: failed program was:" >&5
30945 sed 's/^/| /' conftest.$ac_ext >&5
30947 glibcxx_cv_func_expl_use=no
30949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30950 ac_ext=c
30951 ac_cpp='$CPP $CPPFLAGS'
30952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30960 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
30961 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
30963 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30965 for ac_func in expl
30967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30968 echo "$as_me:$LINENO: checking for $ac_func" >&5
30969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30970 if eval "test \"\${$as_ac_var+set}\" = set"; then
30971 echo $ECHO_N "(cached) $ECHO_C" >&6
30972 else
30973 if test x$gcc_no_link = xyes; then
30974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30976 { (exit 1); exit 1; }; }
30978 cat >conftest.$ac_ext <<_ACEOF
30979 /* confdefs.h. */
30980 _ACEOF
30981 cat confdefs.h >>conftest.$ac_ext
30982 cat >>conftest.$ac_ext <<_ACEOF
30983 /* end confdefs.h. */
30984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30986 #define $ac_func innocuous_$ac_func
30988 /* System header to define __stub macros and hopefully few prototypes,
30989 which can conflict with char $ac_func (); below.
30990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30991 <limits.h> exists even on freestanding compilers. */
30993 #ifdef __STDC__
30994 # include <limits.h>
30995 #else
30996 # include <assert.h>
30997 #endif
30999 #undef $ac_func
31001 /* Override any gcc2 internal prototype to avoid an error. */
31002 #ifdef __cplusplus
31003 extern "C"
31005 #endif
31006 /* We use char because int might match the return type of a gcc2
31007 builtin and then its argument prototype would still apply. */
31008 char $ac_func ();
31009 /* The GNU C library defines this for functions which it implements
31010 to always fail with ENOSYS. Some functions are actually named
31011 something starting with __ and the normal name is an alias. */
31012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31013 choke me
31014 #else
31015 char (*f) () = $ac_func;
31016 #endif
31017 #ifdef __cplusplus
31019 #endif
31022 main ()
31024 return f != $ac_func;
31026 return 0;
31028 _ACEOF
31029 rm -f conftest.$ac_objext conftest$ac_exeext
31030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31031 (eval $ac_link) 2>conftest.er1
31032 ac_status=$?
31033 grep -v '^ *+' conftest.er1 >conftest.err
31034 rm -f conftest.er1
31035 cat conftest.err >&5
31036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31037 (exit $ac_status); } &&
31038 { ac_try='test -z "$ac_c_werror_flag"
31039 || test ! -s conftest.err'
31040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31041 (eval $ac_try) 2>&5
31042 ac_status=$?
31043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31044 (exit $ac_status); }; } &&
31045 { ac_try='test -s conftest$ac_exeext'
31046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31047 (eval $ac_try) 2>&5
31048 ac_status=$?
31049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31050 (exit $ac_status); }; }; then
31051 eval "$as_ac_var=yes"
31052 else
31053 echo "$as_me: failed program was:" >&5
31054 sed 's/^/| /' conftest.$ac_ext >&5
31056 eval "$as_ac_var=no"
31058 rm -f conftest.err conftest.$ac_objext \
31059 conftest$ac_exeext conftest.$ac_ext
31061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31063 if test `eval echo '${'$as_ac_var'}'` = yes; then
31064 cat >>confdefs.h <<_ACEOF
31065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31066 _ACEOF
31069 done
31071 else
31073 echo "$as_me:$LINENO: checking for _expl declaration" >&5
31074 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
31075 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31076 if test "${glibcxx_cv_func__expl_use+set}" = set; then
31077 echo $ECHO_N "(cached) $ECHO_C" >&6
31078 else
31082 ac_ext=cc
31083 ac_cpp='$CXXCPP $CPPFLAGS'
31084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31088 cat >conftest.$ac_ext <<_ACEOF
31089 /* confdefs.h. */
31090 _ACEOF
31091 cat confdefs.h >>conftest.$ac_ext
31092 cat >>conftest.$ac_ext <<_ACEOF
31093 /* end confdefs.h. */
31094 #include <math.h>
31095 #ifdef HAVE_IEEEFP_H
31096 #include <ieeefp.h>
31097 #endif
31100 main ()
31102 _expl(0);
31104 return 0;
31106 _ACEOF
31107 rm -f conftest.$ac_objext
31108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31109 (eval $ac_compile) 2>conftest.er1
31110 ac_status=$?
31111 grep -v '^ *+' conftest.er1 >conftest.err
31112 rm -f conftest.er1
31113 cat conftest.err >&5
31114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115 (exit $ac_status); } &&
31116 { ac_try='test -z "$ac_cxx_werror_flag"
31117 || test ! -s conftest.err'
31118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31119 (eval $ac_try) 2>&5
31120 ac_status=$?
31121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122 (exit $ac_status); }; } &&
31123 { ac_try='test -s conftest.$ac_objext'
31124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31125 (eval $ac_try) 2>&5
31126 ac_status=$?
31127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31128 (exit $ac_status); }; }; then
31129 glibcxx_cv_func__expl_use=yes
31130 else
31131 echo "$as_me: failed program was:" >&5
31132 sed 's/^/| /' conftest.$ac_ext >&5
31134 glibcxx_cv_func__expl_use=no
31136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31137 ac_ext=c
31138 ac_cpp='$CPP $CPPFLAGS'
31139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31147 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
31148 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
31150 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31152 for ac_func in _expl
31154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31155 echo "$as_me:$LINENO: checking for $ac_func" >&5
31156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31157 if eval "test \"\${$as_ac_var+set}\" = set"; then
31158 echo $ECHO_N "(cached) $ECHO_C" >&6
31159 else
31160 if test x$gcc_no_link = xyes; then
31161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31163 { (exit 1); exit 1; }; }
31165 cat >conftest.$ac_ext <<_ACEOF
31166 /* confdefs.h. */
31167 _ACEOF
31168 cat confdefs.h >>conftest.$ac_ext
31169 cat >>conftest.$ac_ext <<_ACEOF
31170 /* end confdefs.h. */
31171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31173 #define $ac_func innocuous_$ac_func
31175 /* System header to define __stub macros and hopefully few prototypes,
31176 which can conflict with char $ac_func (); below.
31177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31178 <limits.h> exists even on freestanding compilers. */
31180 #ifdef __STDC__
31181 # include <limits.h>
31182 #else
31183 # include <assert.h>
31184 #endif
31186 #undef $ac_func
31188 /* Override any gcc2 internal prototype to avoid an error. */
31189 #ifdef __cplusplus
31190 extern "C"
31192 #endif
31193 /* We use char because int might match the return type of a gcc2
31194 builtin and then its argument prototype would still apply. */
31195 char $ac_func ();
31196 /* The GNU C library defines this for functions which it implements
31197 to always fail with ENOSYS. Some functions are actually named
31198 something starting with __ and the normal name is an alias. */
31199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31200 choke me
31201 #else
31202 char (*f) () = $ac_func;
31203 #endif
31204 #ifdef __cplusplus
31206 #endif
31209 main ()
31211 return f != $ac_func;
31213 return 0;
31215 _ACEOF
31216 rm -f conftest.$ac_objext conftest$ac_exeext
31217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31218 (eval $ac_link) 2>conftest.er1
31219 ac_status=$?
31220 grep -v '^ *+' conftest.er1 >conftest.err
31221 rm -f conftest.er1
31222 cat conftest.err >&5
31223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31224 (exit $ac_status); } &&
31225 { ac_try='test -z "$ac_c_werror_flag"
31226 || test ! -s conftest.err'
31227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31228 (eval $ac_try) 2>&5
31229 ac_status=$?
31230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231 (exit $ac_status); }; } &&
31232 { ac_try='test -s conftest$ac_exeext'
31233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31234 (eval $ac_try) 2>&5
31235 ac_status=$?
31236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31237 (exit $ac_status); }; }; then
31238 eval "$as_ac_var=yes"
31239 else
31240 echo "$as_me: failed program was:" >&5
31241 sed 's/^/| /' conftest.$ac_ext >&5
31243 eval "$as_ac_var=no"
31245 rm -f conftest.err conftest.$ac_objext \
31246 conftest$ac_exeext conftest.$ac_ext
31248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31250 if test `eval echo '${'$as_ac_var'}'` = yes; then
31251 cat >>confdefs.h <<_ACEOF
31252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31253 _ACEOF
31256 done
31266 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
31267 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
31268 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31269 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
31270 echo $ECHO_N "(cached) $ECHO_C" >&6
31271 else
31275 ac_ext=cc
31276 ac_cpp='$CXXCPP $CPPFLAGS'
31277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31281 cat >conftest.$ac_ext <<_ACEOF
31282 /* confdefs.h. */
31283 _ACEOF
31284 cat confdefs.h >>conftest.$ac_ext
31285 cat >>conftest.$ac_ext <<_ACEOF
31286 /* end confdefs.h. */
31287 #include <math.h>
31288 #ifdef HAVE_IEEEFP_H
31289 #include <ieeefp.h>
31290 #endif
31293 main ()
31295 fabsl(0);
31297 return 0;
31299 _ACEOF
31300 rm -f conftest.$ac_objext
31301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31302 (eval $ac_compile) 2>conftest.er1
31303 ac_status=$?
31304 grep -v '^ *+' conftest.er1 >conftest.err
31305 rm -f conftest.er1
31306 cat conftest.err >&5
31307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31308 (exit $ac_status); } &&
31309 { ac_try='test -z "$ac_cxx_werror_flag"
31310 || test ! -s conftest.err'
31311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31312 (eval $ac_try) 2>&5
31313 ac_status=$?
31314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31315 (exit $ac_status); }; } &&
31316 { ac_try='test -s conftest.$ac_objext'
31317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31318 (eval $ac_try) 2>&5
31319 ac_status=$?
31320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31321 (exit $ac_status); }; }; then
31322 glibcxx_cv_func_fabsl_use=yes
31323 else
31324 echo "$as_me: failed program was:" >&5
31325 sed 's/^/| /' conftest.$ac_ext >&5
31327 glibcxx_cv_func_fabsl_use=no
31329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31330 ac_ext=c
31331 ac_cpp='$CPP $CPPFLAGS'
31332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31340 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
31341 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
31343 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31345 for ac_func in fabsl
31347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31348 echo "$as_me:$LINENO: checking for $ac_func" >&5
31349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31350 if eval "test \"\${$as_ac_var+set}\" = set"; then
31351 echo $ECHO_N "(cached) $ECHO_C" >&6
31352 else
31353 if test x$gcc_no_link = xyes; then
31354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31356 { (exit 1); exit 1; }; }
31358 cat >conftest.$ac_ext <<_ACEOF
31359 /* confdefs.h. */
31360 _ACEOF
31361 cat confdefs.h >>conftest.$ac_ext
31362 cat >>conftest.$ac_ext <<_ACEOF
31363 /* end confdefs.h. */
31364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31366 #define $ac_func innocuous_$ac_func
31368 /* System header to define __stub macros and hopefully few prototypes,
31369 which can conflict with char $ac_func (); below.
31370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31371 <limits.h> exists even on freestanding compilers. */
31373 #ifdef __STDC__
31374 # include <limits.h>
31375 #else
31376 # include <assert.h>
31377 #endif
31379 #undef $ac_func
31381 /* Override any gcc2 internal prototype to avoid an error. */
31382 #ifdef __cplusplus
31383 extern "C"
31385 #endif
31386 /* We use char because int might match the return type of a gcc2
31387 builtin and then its argument prototype would still apply. */
31388 char $ac_func ();
31389 /* The GNU C library defines this for functions which it implements
31390 to always fail with ENOSYS. Some functions are actually named
31391 something starting with __ and the normal name is an alias. */
31392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31393 choke me
31394 #else
31395 char (*f) () = $ac_func;
31396 #endif
31397 #ifdef __cplusplus
31399 #endif
31402 main ()
31404 return f != $ac_func;
31406 return 0;
31408 _ACEOF
31409 rm -f conftest.$ac_objext conftest$ac_exeext
31410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31411 (eval $ac_link) 2>conftest.er1
31412 ac_status=$?
31413 grep -v '^ *+' conftest.er1 >conftest.err
31414 rm -f conftest.er1
31415 cat conftest.err >&5
31416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31417 (exit $ac_status); } &&
31418 { ac_try='test -z "$ac_c_werror_flag"
31419 || test ! -s conftest.err'
31420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31421 (eval $ac_try) 2>&5
31422 ac_status=$?
31423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31424 (exit $ac_status); }; } &&
31425 { ac_try='test -s conftest$ac_exeext'
31426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31427 (eval $ac_try) 2>&5
31428 ac_status=$?
31429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31430 (exit $ac_status); }; }; then
31431 eval "$as_ac_var=yes"
31432 else
31433 echo "$as_me: failed program was:" >&5
31434 sed 's/^/| /' conftest.$ac_ext >&5
31436 eval "$as_ac_var=no"
31438 rm -f conftest.err conftest.$ac_objext \
31439 conftest$ac_exeext conftest.$ac_ext
31441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31443 if test `eval echo '${'$as_ac_var'}'` = yes; then
31444 cat >>confdefs.h <<_ACEOF
31445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31446 _ACEOF
31449 done
31451 else
31453 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
31454 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
31455 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31456 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
31457 echo $ECHO_N "(cached) $ECHO_C" >&6
31458 else
31462 ac_ext=cc
31463 ac_cpp='$CXXCPP $CPPFLAGS'
31464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31468 cat >conftest.$ac_ext <<_ACEOF
31469 /* confdefs.h. */
31470 _ACEOF
31471 cat confdefs.h >>conftest.$ac_ext
31472 cat >>conftest.$ac_ext <<_ACEOF
31473 /* end confdefs.h. */
31474 #include <math.h>
31475 #ifdef HAVE_IEEEFP_H
31476 #include <ieeefp.h>
31477 #endif
31480 main ()
31482 _fabsl(0);
31484 return 0;
31486 _ACEOF
31487 rm -f conftest.$ac_objext
31488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31489 (eval $ac_compile) 2>conftest.er1
31490 ac_status=$?
31491 grep -v '^ *+' conftest.er1 >conftest.err
31492 rm -f conftest.er1
31493 cat conftest.err >&5
31494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31495 (exit $ac_status); } &&
31496 { ac_try='test -z "$ac_cxx_werror_flag"
31497 || test ! -s conftest.err'
31498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31499 (eval $ac_try) 2>&5
31500 ac_status=$?
31501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31502 (exit $ac_status); }; } &&
31503 { ac_try='test -s conftest.$ac_objext'
31504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31505 (eval $ac_try) 2>&5
31506 ac_status=$?
31507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31508 (exit $ac_status); }; }; then
31509 glibcxx_cv_func__fabsl_use=yes
31510 else
31511 echo "$as_me: failed program was:" >&5
31512 sed 's/^/| /' conftest.$ac_ext >&5
31514 glibcxx_cv_func__fabsl_use=no
31516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31517 ac_ext=c
31518 ac_cpp='$CPP $CPPFLAGS'
31519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31527 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
31528 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
31530 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31532 for ac_func in _fabsl
31534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31535 echo "$as_me:$LINENO: checking for $ac_func" >&5
31536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31537 if eval "test \"\${$as_ac_var+set}\" = set"; then
31538 echo $ECHO_N "(cached) $ECHO_C" >&6
31539 else
31540 if test x$gcc_no_link = xyes; then
31541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31543 { (exit 1); exit 1; }; }
31545 cat >conftest.$ac_ext <<_ACEOF
31546 /* confdefs.h. */
31547 _ACEOF
31548 cat confdefs.h >>conftest.$ac_ext
31549 cat >>conftest.$ac_ext <<_ACEOF
31550 /* end confdefs.h. */
31551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31553 #define $ac_func innocuous_$ac_func
31555 /* System header to define __stub macros and hopefully few prototypes,
31556 which can conflict with char $ac_func (); below.
31557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31558 <limits.h> exists even on freestanding compilers. */
31560 #ifdef __STDC__
31561 # include <limits.h>
31562 #else
31563 # include <assert.h>
31564 #endif
31566 #undef $ac_func
31568 /* Override any gcc2 internal prototype to avoid an error. */
31569 #ifdef __cplusplus
31570 extern "C"
31572 #endif
31573 /* We use char because int might match the return type of a gcc2
31574 builtin and then its argument prototype would still apply. */
31575 char $ac_func ();
31576 /* The GNU C library defines this for functions which it implements
31577 to always fail with ENOSYS. Some functions are actually named
31578 something starting with __ and the normal name is an alias. */
31579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31580 choke me
31581 #else
31582 char (*f) () = $ac_func;
31583 #endif
31584 #ifdef __cplusplus
31586 #endif
31589 main ()
31591 return f != $ac_func;
31593 return 0;
31595 _ACEOF
31596 rm -f conftest.$ac_objext conftest$ac_exeext
31597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31598 (eval $ac_link) 2>conftest.er1
31599 ac_status=$?
31600 grep -v '^ *+' conftest.er1 >conftest.err
31601 rm -f conftest.er1
31602 cat conftest.err >&5
31603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31604 (exit $ac_status); } &&
31605 { ac_try='test -z "$ac_c_werror_flag"
31606 || test ! -s conftest.err'
31607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31608 (eval $ac_try) 2>&5
31609 ac_status=$?
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); }; } &&
31612 { ac_try='test -s conftest$ac_exeext'
31613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31614 (eval $ac_try) 2>&5
31615 ac_status=$?
31616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31617 (exit $ac_status); }; }; then
31618 eval "$as_ac_var=yes"
31619 else
31620 echo "$as_me: failed program was:" >&5
31621 sed 's/^/| /' conftest.$ac_ext >&5
31623 eval "$as_ac_var=no"
31625 rm -f conftest.err conftest.$ac_objext \
31626 conftest$ac_exeext conftest.$ac_ext
31628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31630 if test `eval echo '${'$as_ac_var'}'` = yes; then
31631 cat >>confdefs.h <<_ACEOF
31632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31633 _ACEOF
31636 done
31646 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
31647 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
31648 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31649 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
31650 echo $ECHO_N "(cached) $ECHO_C" >&6
31651 else
31655 ac_ext=cc
31656 ac_cpp='$CXXCPP $CPPFLAGS'
31657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31661 cat >conftest.$ac_ext <<_ACEOF
31662 /* confdefs.h. */
31663 _ACEOF
31664 cat confdefs.h >>conftest.$ac_ext
31665 cat >>conftest.$ac_ext <<_ACEOF
31666 /* end confdefs.h. */
31667 #include <math.h>
31669 main ()
31671 fmodl(0, 0);
31673 return 0;
31675 _ACEOF
31676 rm -f conftest.$ac_objext
31677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31678 (eval $ac_compile) 2>conftest.er1
31679 ac_status=$?
31680 grep -v '^ *+' conftest.er1 >conftest.err
31681 rm -f conftest.er1
31682 cat conftest.err >&5
31683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31684 (exit $ac_status); } &&
31685 { ac_try='test -z "$ac_cxx_werror_flag"
31686 || test ! -s conftest.err'
31687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31688 (eval $ac_try) 2>&5
31689 ac_status=$?
31690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31691 (exit $ac_status); }; } &&
31692 { ac_try='test -s conftest.$ac_objext'
31693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31694 (eval $ac_try) 2>&5
31695 ac_status=$?
31696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31697 (exit $ac_status); }; }; then
31698 glibcxx_cv_func_fmodl_use=yes
31699 else
31700 echo "$as_me: failed program was:" >&5
31701 sed 's/^/| /' conftest.$ac_ext >&5
31703 glibcxx_cv_func_fmodl_use=no
31705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31706 ac_ext=c
31707 ac_cpp='$CPP $CPPFLAGS'
31708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31716 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
31717 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
31719 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31721 for ac_func in fmodl
31723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31724 echo "$as_me:$LINENO: checking for $ac_func" >&5
31725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31726 if eval "test \"\${$as_ac_var+set}\" = set"; then
31727 echo $ECHO_N "(cached) $ECHO_C" >&6
31728 else
31729 if test x$gcc_no_link = xyes; then
31730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31732 { (exit 1); exit 1; }; }
31734 cat >conftest.$ac_ext <<_ACEOF
31735 /* confdefs.h. */
31736 _ACEOF
31737 cat confdefs.h >>conftest.$ac_ext
31738 cat >>conftest.$ac_ext <<_ACEOF
31739 /* end confdefs.h. */
31740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31742 #define $ac_func innocuous_$ac_func
31744 /* System header to define __stub macros and hopefully few prototypes,
31745 which can conflict with char $ac_func (); below.
31746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31747 <limits.h> exists even on freestanding compilers. */
31749 #ifdef __STDC__
31750 # include <limits.h>
31751 #else
31752 # include <assert.h>
31753 #endif
31755 #undef $ac_func
31757 /* Override any gcc2 internal prototype to avoid an error. */
31758 #ifdef __cplusplus
31759 extern "C"
31761 #endif
31762 /* We use char because int might match the return type of a gcc2
31763 builtin and then its argument prototype would still apply. */
31764 char $ac_func ();
31765 /* The GNU C library defines this for functions which it implements
31766 to always fail with ENOSYS. Some functions are actually named
31767 something starting with __ and the normal name is an alias. */
31768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31769 choke me
31770 #else
31771 char (*f) () = $ac_func;
31772 #endif
31773 #ifdef __cplusplus
31775 #endif
31778 main ()
31780 return f != $ac_func;
31782 return 0;
31784 _ACEOF
31785 rm -f conftest.$ac_objext conftest$ac_exeext
31786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31787 (eval $ac_link) 2>conftest.er1
31788 ac_status=$?
31789 grep -v '^ *+' conftest.er1 >conftest.err
31790 rm -f conftest.er1
31791 cat conftest.err >&5
31792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31793 (exit $ac_status); } &&
31794 { ac_try='test -z "$ac_c_werror_flag"
31795 || test ! -s conftest.err'
31796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31797 (eval $ac_try) 2>&5
31798 ac_status=$?
31799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31800 (exit $ac_status); }; } &&
31801 { ac_try='test -s conftest$ac_exeext'
31802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31803 (eval $ac_try) 2>&5
31804 ac_status=$?
31805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31806 (exit $ac_status); }; }; then
31807 eval "$as_ac_var=yes"
31808 else
31809 echo "$as_me: failed program was:" >&5
31810 sed 's/^/| /' conftest.$ac_ext >&5
31812 eval "$as_ac_var=no"
31814 rm -f conftest.err conftest.$ac_objext \
31815 conftest$ac_exeext conftest.$ac_ext
31817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31819 if test `eval echo '${'$as_ac_var'}'` = yes; then
31820 cat >>confdefs.h <<_ACEOF
31821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31822 _ACEOF
31825 done
31827 else
31829 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
31830 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
31831 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31832 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
31833 echo $ECHO_N "(cached) $ECHO_C" >&6
31834 else
31838 ac_ext=cc
31839 ac_cpp='$CXXCPP $CPPFLAGS'
31840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31844 cat >conftest.$ac_ext <<_ACEOF
31845 /* confdefs.h. */
31846 _ACEOF
31847 cat confdefs.h >>conftest.$ac_ext
31848 cat >>conftest.$ac_ext <<_ACEOF
31849 /* end confdefs.h. */
31850 #include <math.h>
31852 main ()
31854 _fmodl(0, 0);
31856 return 0;
31858 _ACEOF
31859 rm -f conftest.$ac_objext
31860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31861 (eval $ac_compile) 2>conftest.er1
31862 ac_status=$?
31863 grep -v '^ *+' conftest.er1 >conftest.err
31864 rm -f conftest.er1
31865 cat conftest.err >&5
31866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31867 (exit $ac_status); } &&
31868 { ac_try='test -z "$ac_cxx_werror_flag"
31869 || test ! -s conftest.err'
31870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31871 (eval $ac_try) 2>&5
31872 ac_status=$?
31873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31874 (exit $ac_status); }; } &&
31875 { ac_try='test -s conftest.$ac_objext'
31876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31877 (eval $ac_try) 2>&5
31878 ac_status=$?
31879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31880 (exit $ac_status); }; }; then
31881 glibcxx_cv_func__fmodl_use=yes
31882 else
31883 echo "$as_me: failed program was:" >&5
31884 sed 's/^/| /' conftest.$ac_ext >&5
31886 glibcxx_cv_func__fmodl_use=no
31888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31889 ac_ext=c
31890 ac_cpp='$CPP $CPPFLAGS'
31891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31899 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
31900 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
31902 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31904 for ac_func in _fmodl
31906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31907 echo "$as_me:$LINENO: checking for $ac_func" >&5
31908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31909 if eval "test \"\${$as_ac_var+set}\" = set"; then
31910 echo $ECHO_N "(cached) $ECHO_C" >&6
31911 else
31912 if test x$gcc_no_link = xyes; then
31913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31915 { (exit 1); exit 1; }; }
31917 cat >conftest.$ac_ext <<_ACEOF
31918 /* confdefs.h. */
31919 _ACEOF
31920 cat confdefs.h >>conftest.$ac_ext
31921 cat >>conftest.$ac_ext <<_ACEOF
31922 /* end confdefs.h. */
31923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31925 #define $ac_func innocuous_$ac_func
31927 /* System header to define __stub macros and hopefully few prototypes,
31928 which can conflict with char $ac_func (); below.
31929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31930 <limits.h> exists even on freestanding compilers. */
31932 #ifdef __STDC__
31933 # include <limits.h>
31934 #else
31935 # include <assert.h>
31936 #endif
31938 #undef $ac_func
31940 /* Override any gcc2 internal prototype to avoid an error. */
31941 #ifdef __cplusplus
31942 extern "C"
31944 #endif
31945 /* We use char because int might match the return type of a gcc2
31946 builtin and then its argument prototype would still apply. */
31947 char $ac_func ();
31948 /* The GNU C library defines this for functions which it implements
31949 to always fail with ENOSYS. Some functions are actually named
31950 something starting with __ and the normal name is an alias. */
31951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31952 choke me
31953 #else
31954 char (*f) () = $ac_func;
31955 #endif
31956 #ifdef __cplusplus
31958 #endif
31961 main ()
31963 return f != $ac_func;
31965 return 0;
31967 _ACEOF
31968 rm -f conftest.$ac_objext conftest$ac_exeext
31969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31970 (eval $ac_link) 2>conftest.er1
31971 ac_status=$?
31972 grep -v '^ *+' conftest.er1 >conftest.err
31973 rm -f conftest.er1
31974 cat conftest.err >&5
31975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976 (exit $ac_status); } &&
31977 { ac_try='test -z "$ac_c_werror_flag"
31978 || test ! -s conftest.err'
31979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31980 (eval $ac_try) 2>&5
31981 ac_status=$?
31982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31983 (exit $ac_status); }; } &&
31984 { ac_try='test -s conftest$ac_exeext'
31985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31986 (eval $ac_try) 2>&5
31987 ac_status=$?
31988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31989 (exit $ac_status); }; }; then
31990 eval "$as_ac_var=yes"
31991 else
31992 echo "$as_me: failed program was:" >&5
31993 sed 's/^/| /' conftest.$ac_ext >&5
31995 eval "$as_ac_var=no"
31997 rm -f conftest.err conftest.$ac_objext \
31998 conftest$ac_exeext conftest.$ac_ext
32000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32002 if test `eval echo '${'$as_ac_var'}'` = yes; then
32003 cat >>confdefs.h <<_ACEOF
32004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32005 _ACEOF
32008 done
32018 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
32019 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
32020 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32021 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
32022 echo $ECHO_N "(cached) $ECHO_C" >&6
32023 else
32027 ac_ext=cc
32028 ac_cpp='$CXXCPP $CPPFLAGS'
32029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32033 cat >conftest.$ac_ext <<_ACEOF
32034 /* confdefs.h. */
32035 _ACEOF
32036 cat confdefs.h >>conftest.$ac_ext
32037 cat >>conftest.$ac_ext <<_ACEOF
32038 /* end confdefs.h. */
32039 #include <math.h>
32041 main ()
32043 frexpl(0, 0);
32045 return 0;
32047 _ACEOF
32048 rm -f conftest.$ac_objext
32049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32050 (eval $ac_compile) 2>conftest.er1
32051 ac_status=$?
32052 grep -v '^ *+' conftest.er1 >conftest.err
32053 rm -f conftest.er1
32054 cat conftest.err >&5
32055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32056 (exit $ac_status); } &&
32057 { ac_try='test -z "$ac_cxx_werror_flag"
32058 || test ! -s conftest.err'
32059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32060 (eval $ac_try) 2>&5
32061 ac_status=$?
32062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32063 (exit $ac_status); }; } &&
32064 { ac_try='test -s conftest.$ac_objext'
32065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32066 (eval $ac_try) 2>&5
32067 ac_status=$?
32068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32069 (exit $ac_status); }; }; then
32070 glibcxx_cv_func_frexpl_use=yes
32071 else
32072 echo "$as_me: failed program was:" >&5
32073 sed 's/^/| /' conftest.$ac_ext >&5
32075 glibcxx_cv_func_frexpl_use=no
32077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32078 ac_ext=c
32079 ac_cpp='$CPP $CPPFLAGS'
32080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32088 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
32089 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
32091 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32093 for ac_func in frexpl
32095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32096 echo "$as_me:$LINENO: checking for $ac_func" >&5
32097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32098 if eval "test \"\${$as_ac_var+set}\" = set"; then
32099 echo $ECHO_N "(cached) $ECHO_C" >&6
32100 else
32101 if test x$gcc_no_link = xyes; then
32102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32104 { (exit 1); exit 1; }; }
32106 cat >conftest.$ac_ext <<_ACEOF
32107 /* confdefs.h. */
32108 _ACEOF
32109 cat confdefs.h >>conftest.$ac_ext
32110 cat >>conftest.$ac_ext <<_ACEOF
32111 /* end confdefs.h. */
32112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32114 #define $ac_func innocuous_$ac_func
32116 /* System header to define __stub macros and hopefully few prototypes,
32117 which can conflict with char $ac_func (); below.
32118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32119 <limits.h> exists even on freestanding compilers. */
32121 #ifdef __STDC__
32122 # include <limits.h>
32123 #else
32124 # include <assert.h>
32125 #endif
32127 #undef $ac_func
32129 /* Override any gcc2 internal prototype to avoid an error. */
32130 #ifdef __cplusplus
32131 extern "C"
32133 #endif
32134 /* We use char because int might match the return type of a gcc2
32135 builtin and then its argument prototype would still apply. */
32136 char $ac_func ();
32137 /* The GNU C library defines this for functions which it implements
32138 to always fail with ENOSYS. Some functions are actually named
32139 something starting with __ and the normal name is an alias. */
32140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32141 choke me
32142 #else
32143 char (*f) () = $ac_func;
32144 #endif
32145 #ifdef __cplusplus
32147 #endif
32150 main ()
32152 return f != $ac_func;
32154 return 0;
32156 _ACEOF
32157 rm -f conftest.$ac_objext conftest$ac_exeext
32158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32159 (eval $ac_link) 2>conftest.er1
32160 ac_status=$?
32161 grep -v '^ *+' conftest.er1 >conftest.err
32162 rm -f conftest.er1
32163 cat conftest.err >&5
32164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32165 (exit $ac_status); } &&
32166 { ac_try='test -z "$ac_c_werror_flag"
32167 || test ! -s conftest.err'
32168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32169 (eval $ac_try) 2>&5
32170 ac_status=$?
32171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172 (exit $ac_status); }; } &&
32173 { ac_try='test -s conftest$ac_exeext'
32174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32175 (eval $ac_try) 2>&5
32176 ac_status=$?
32177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32178 (exit $ac_status); }; }; then
32179 eval "$as_ac_var=yes"
32180 else
32181 echo "$as_me: failed program was:" >&5
32182 sed 's/^/| /' conftest.$ac_ext >&5
32184 eval "$as_ac_var=no"
32186 rm -f conftest.err conftest.$ac_objext \
32187 conftest$ac_exeext conftest.$ac_ext
32189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32191 if test `eval echo '${'$as_ac_var'}'` = yes; then
32192 cat >>confdefs.h <<_ACEOF
32193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32194 _ACEOF
32197 done
32199 else
32201 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
32202 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
32203 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32204 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
32205 echo $ECHO_N "(cached) $ECHO_C" >&6
32206 else
32210 ac_ext=cc
32211 ac_cpp='$CXXCPP $CPPFLAGS'
32212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32216 cat >conftest.$ac_ext <<_ACEOF
32217 /* confdefs.h. */
32218 _ACEOF
32219 cat confdefs.h >>conftest.$ac_ext
32220 cat >>conftest.$ac_ext <<_ACEOF
32221 /* end confdefs.h. */
32222 #include <math.h>
32224 main ()
32226 _frexpl(0, 0);
32228 return 0;
32230 _ACEOF
32231 rm -f conftest.$ac_objext
32232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32233 (eval $ac_compile) 2>conftest.er1
32234 ac_status=$?
32235 grep -v '^ *+' conftest.er1 >conftest.err
32236 rm -f conftest.er1
32237 cat conftest.err >&5
32238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32239 (exit $ac_status); } &&
32240 { ac_try='test -z "$ac_cxx_werror_flag"
32241 || test ! -s conftest.err'
32242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32243 (eval $ac_try) 2>&5
32244 ac_status=$?
32245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32246 (exit $ac_status); }; } &&
32247 { ac_try='test -s conftest.$ac_objext'
32248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32249 (eval $ac_try) 2>&5
32250 ac_status=$?
32251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32252 (exit $ac_status); }; }; then
32253 glibcxx_cv_func__frexpl_use=yes
32254 else
32255 echo "$as_me: failed program was:" >&5
32256 sed 's/^/| /' conftest.$ac_ext >&5
32258 glibcxx_cv_func__frexpl_use=no
32260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32261 ac_ext=c
32262 ac_cpp='$CPP $CPPFLAGS'
32263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32271 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
32272 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
32274 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32276 for ac_func in _frexpl
32278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32279 echo "$as_me:$LINENO: checking for $ac_func" >&5
32280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32281 if eval "test \"\${$as_ac_var+set}\" = set"; then
32282 echo $ECHO_N "(cached) $ECHO_C" >&6
32283 else
32284 if test x$gcc_no_link = xyes; then
32285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32287 { (exit 1); exit 1; }; }
32289 cat >conftest.$ac_ext <<_ACEOF
32290 /* confdefs.h. */
32291 _ACEOF
32292 cat confdefs.h >>conftest.$ac_ext
32293 cat >>conftest.$ac_ext <<_ACEOF
32294 /* end confdefs.h. */
32295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32297 #define $ac_func innocuous_$ac_func
32299 /* System header to define __stub macros and hopefully few prototypes,
32300 which can conflict with char $ac_func (); below.
32301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32302 <limits.h> exists even on freestanding compilers. */
32304 #ifdef __STDC__
32305 # include <limits.h>
32306 #else
32307 # include <assert.h>
32308 #endif
32310 #undef $ac_func
32312 /* Override any gcc2 internal prototype to avoid an error. */
32313 #ifdef __cplusplus
32314 extern "C"
32316 #endif
32317 /* We use char because int might match the return type of a gcc2
32318 builtin and then its argument prototype would still apply. */
32319 char $ac_func ();
32320 /* The GNU C library defines this for functions which it implements
32321 to always fail with ENOSYS. Some functions are actually named
32322 something starting with __ and the normal name is an alias. */
32323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32324 choke me
32325 #else
32326 char (*f) () = $ac_func;
32327 #endif
32328 #ifdef __cplusplus
32330 #endif
32333 main ()
32335 return f != $ac_func;
32337 return 0;
32339 _ACEOF
32340 rm -f conftest.$ac_objext conftest$ac_exeext
32341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32342 (eval $ac_link) 2>conftest.er1
32343 ac_status=$?
32344 grep -v '^ *+' conftest.er1 >conftest.err
32345 rm -f conftest.er1
32346 cat conftest.err >&5
32347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32348 (exit $ac_status); } &&
32349 { ac_try='test -z "$ac_c_werror_flag"
32350 || test ! -s conftest.err'
32351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32352 (eval $ac_try) 2>&5
32353 ac_status=$?
32354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32355 (exit $ac_status); }; } &&
32356 { ac_try='test -s conftest$ac_exeext'
32357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32358 (eval $ac_try) 2>&5
32359 ac_status=$?
32360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32361 (exit $ac_status); }; }; then
32362 eval "$as_ac_var=yes"
32363 else
32364 echo "$as_me: failed program was:" >&5
32365 sed 's/^/| /' conftest.$ac_ext >&5
32367 eval "$as_ac_var=no"
32369 rm -f conftest.err conftest.$ac_objext \
32370 conftest$ac_exeext conftest.$ac_ext
32372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32374 if test `eval echo '${'$as_ac_var'}'` = yes; then
32375 cat >>confdefs.h <<_ACEOF
32376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32377 _ACEOF
32380 done
32390 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
32391 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
32392 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32393 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
32394 echo $ECHO_N "(cached) $ECHO_C" >&6
32395 else
32399 ac_ext=cc
32400 ac_cpp='$CXXCPP $CPPFLAGS'
32401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32405 cat >conftest.$ac_ext <<_ACEOF
32406 /* confdefs.h. */
32407 _ACEOF
32408 cat confdefs.h >>conftest.$ac_ext
32409 cat >>conftest.$ac_ext <<_ACEOF
32410 /* end confdefs.h. */
32411 #include <math.h>
32413 main ()
32415 hypotl(0, 0);
32417 return 0;
32419 _ACEOF
32420 rm -f conftest.$ac_objext
32421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32422 (eval $ac_compile) 2>conftest.er1
32423 ac_status=$?
32424 grep -v '^ *+' conftest.er1 >conftest.err
32425 rm -f conftest.er1
32426 cat conftest.err >&5
32427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32428 (exit $ac_status); } &&
32429 { ac_try='test -z "$ac_cxx_werror_flag"
32430 || test ! -s conftest.err'
32431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32432 (eval $ac_try) 2>&5
32433 ac_status=$?
32434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32435 (exit $ac_status); }; } &&
32436 { ac_try='test -s conftest.$ac_objext'
32437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32438 (eval $ac_try) 2>&5
32439 ac_status=$?
32440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32441 (exit $ac_status); }; }; then
32442 glibcxx_cv_func_hypotl_use=yes
32443 else
32444 echo "$as_me: failed program was:" >&5
32445 sed 's/^/| /' conftest.$ac_ext >&5
32447 glibcxx_cv_func_hypotl_use=no
32449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32450 ac_ext=c
32451 ac_cpp='$CPP $CPPFLAGS'
32452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32460 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
32461 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
32463 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32465 for ac_func in hypotl
32467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32468 echo "$as_me:$LINENO: checking for $ac_func" >&5
32469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32470 if eval "test \"\${$as_ac_var+set}\" = set"; then
32471 echo $ECHO_N "(cached) $ECHO_C" >&6
32472 else
32473 if test x$gcc_no_link = xyes; then
32474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32476 { (exit 1); exit 1; }; }
32478 cat >conftest.$ac_ext <<_ACEOF
32479 /* confdefs.h. */
32480 _ACEOF
32481 cat confdefs.h >>conftest.$ac_ext
32482 cat >>conftest.$ac_ext <<_ACEOF
32483 /* end confdefs.h. */
32484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32486 #define $ac_func innocuous_$ac_func
32488 /* System header to define __stub macros and hopefully few prototypes,
32489 which can conflict with char $ac_func (); below.
32490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32491 <limits.h> exists even on freestanding compilers. */
32493 #ifdef __STDC__
32494 # include <limits.h>
32495 #else
32496 # include <assert.h>
32497 #endif
32499 #undef $ac_func
32501 /* Override any gcc2 internal prototype to avoid an error. */
32502 #ifdef __cplusplus
32503 extern "C"
32505 #endif
32506 /* We use char because int might match the return type of a gcc2
32507 builtin and then its argument prototype would still apply. */
32508 char $ac_func ();
32509 /* The GNU C library defines this for functions which it implements
32510 to always fail with ENOSYS. Some functions are actually named
32511 something starting with __ and the normal name is an alias. */
32512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32513 choke me
32514 #else
32515 char (*f) () = $ac_func;
32516 #endif
32517 #ifdef __cplusplus
32519 #endif
32522 main ()
32524 return f != $ac_func;
32526 return 0;
32528 _ACEOF
32529 rm -f conftest.$ac_objext conftest$ac_exeext
32530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32531 (eval $ac_link) 2>conftest.er1
32532 ac_status=$?
32533 grep -v '^ *+' conftest.er1 >conftest.err
32534 rm -f conftest.er1
32535 cat conftest.err >&5
32536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32537 (exit $ac_status); } &&
32538 { ac_try='test -z "$ac_c_werror_flag"
32539 || test ! -s conftest.err'
32540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32541 (eval $ac_try) 2>&5
32542 ac_status=$?
32543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32544 (exit $ac_status); }; } &&
32545 { ac_try='test -s conftest$ac_exeext'
32546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32547 (eval $ac_try) 2>&5
32548 ac_status=$?
32549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32550 (exit $ac_status); }; }; then
32551 eval "$as_ac_var=yes"
32552 else
32553 echo "$as_me: failed program was:" >&5
32554 sed 's/^/| /' conftest.$ac_ext >&5
32556 eval "$as_ac_var=no"
32558 rm -f conftest.err conftest.$ac_objext \
32559 conftest$ac_exeext conftest.$ac_ext
32561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32563 if test `eval echo '${'$as_ac_var'}'` = yes; then
32564 cat >>confdefs.h <<_ACEOF
32565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32566 _ACEOF
32569 done
32571 else
32573 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
32574 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
32575 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32576 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
32577 echo $ECHO_N "(cached) $ECHO_C" >&6
32578 else
32582 ac_ext=cc
32583 ac_cpp='$CXXCPP $CPPFLAGS'
32584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32588 cat >conftest.$ac_ext <<_ACEOF
32589 /* confdefs.h. */
32590 _ACEOF
32591 cat confdefs.h >>conftest.$ac_ext
32592 cat >>conftest.$ac_ext <<_ACEOF
32593 /* end confdefs.h. */
32594 #include <math.h>
32596 main ()
32598 _hypotl(0, 0);
32600 return 0;
32602 _ACEOF
32603 rm -f conftest.$ac_objext
32604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32605 (eval $ac_compile) 2>conftest.er1
32606 ac_status=$?
32607 grep -v '^ *+' conftest.er1 >conftest.err
32608 rm -f conftest.er1
32609 cat conftest.err >&5
32610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32611 (exit $ac_status); } &&
32612 { ac_try='test -z "$ac_cxx_werror_flag"
32613 || test ! -s conftest.err'
32614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32615 (eval $ac_try) 2>&5
32616 ac_status=$?
32617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32618 (exit $ac_status); }; } &&
32619 { ac_try='test -s conftest.$ac_objext'
32620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32621 (eval $ac_try) 2>&5
32622 ac_status=$?
32623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32624 (exit $ac_status); }; }; then
32625 glibcxx_cv_func__hypotl_use=yes
32626 else
32627 echo "$as_me: failed program was:" >&5
32628 sed 's/^/| /' conftest.$ac_ext >&5
32630 glibcxx_cv_func__hypotl_use=no
32632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32633 ac_ext=c
32634 ac_cpp='$CPP $CPPFLAGS'
32635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32643 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
32644 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
32646 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32648 for ac_func in _hypotl
32650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32651 echo "$as_me:$LINENO: checking for $ac_func" >&5
32652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32653 if eval "test \"\${$as_ac_var+set}\" = set"; then
32654 echo $ECHO_N "(cached) $ECHO_C" >&6
32655 else
32656 if test x$gcc_no_link = xyes; then
32657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32659 { (exit 1); exit 1; }; }
32661 cat >conftest.$ac_ext <<_ACEOF
32662 /* confdefs.h. */
32663 _ACEOF
32664 cat confdefs.h >>conftest.$ac_ext
32665 cat >>conftest.$ac_ext <<_ACEOF
32666 /* end confdefs.h. */
32667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32669 #define $ac_func innocuous_$ac_func
32671 /* System header to define __stub macros and hopefully few prototypes,
32672 which can conflict with char $ac_func (); below.
32673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32674 <limits.h> exists even on freestanding compilers. */
32676 #ifdef __STDC__
32677 # include <limits.h>
32678 #else
32679 # include <assert.h>
32680 #endif
32682 #undef $ac_func
32684 /* Override any gcc2 internal prototype to avoid an error. */
32685 #ifdef __cplusplus
32686 extern "C"
32688 #endif
32689 /* We use char because int might match the return type of a gcc2
32690 builtin and then its argument prototype would still apply. */
32691 char $ac_func ();
32692 /* The GNU C library defines this for functions which it implements
32693 to always fail with ENOSYS. Some functions are actually named
32694 something starting with __ and the normal name is an alias. */
32695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32696 choke me
32697 #else
32698 char (*f) () = $ac_func;
32699 #endif
32700 #ifdef __cplusplus
32702 #endif
32705 main ()
32707 return f != $ac_func;
32709 return 0;
32711 _ACEOF
32712 rm -f conftest.$ac_objext conftest$ac_exeext
32713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32714 (eval $ac_link) 2>conftest.er1
32715 ac_status=$?
32716 grep -v '^ *+' conftest.er1 >conftest.err
32717 rm -f conftest.er1
32718 cat conftest.err >&5
32719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32720 (exit $ac_status); } &&
32721 { ac_try='test -z "$ac_c_werror_flag"
32722 || test ! -s conftest.err'
32723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32724 (eval $ac_try) 2>&5
32725 ac_status=$?
32726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32727 (exit $ac_status); }; } &&
32728 { ac_try='test -s conftest$ac_exeext'
32729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32730 (eval $ac_try) 2>&5
32731 ac_status=$?
32732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32733 (exit $ac_status); }; }; then
32734 eval "$as_ac_var=yes"
32735 else
32736 echo "$as_me: failed program was:" >&5
32737 sed 's/^/| /' conftest.$ac_ext >&5
32739 eval "$as_ac_var=no"
32741 rm -f conftest.err conftest.$ac_objext \
32742 conftest$ac_exeext conftest.$ac_ext
32744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32746 if test `eval echo '${'$as_ac_var'}'` = yes; then
32747 cat >>confdefs.h <<_ACEOF
32748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32749 _ACEOF
32752 done
32762 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
32763 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
32764 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32765 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
32766 echo $ECHO_N "(cached) $ECHO_C" >&6
32767 else
32771 ac_ext=cc
32772 ac_cpp='$CXXCPP $CPPFLAGS'
32773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32777 cat >conftest.$ac_ext <<_ACEOF
32778 /* confdefs.h. */
32779 _ACEOF
32780 cat confdefs.h >>conftest.$ac_ext
32781 cat >>conftest.$ac_ext <<_ACEOF
32782 /* end confdefs.h. */
32783 #include <math.h>
32785 main ()
32787 ldexpl(0, 0);
32789 return 0;
32791 _ACEOF
32792 rm -f conftest.$ac_objext
32793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32794 (eval $ac_compile) 2>conftest.er1
32795 ac_status=$?
32796 grep -v '^ *+' conftest.er1 >conftest.err
32797 rm -f conftest.er1
32798 cat conftest.err >&5
32799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32800 (exit $ac_status); } &&
32801 { ac_try='test -z "$ac_cxx_werror_flag"
32802 || test ! -s conftest.err'
32803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32804 (eval $ac_try) 2>&5
32805 ac_status=$?
32806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32807 (exit $ac_status); }; } &&
32808 { ac_try='test -s conftest.$ac_objext'
32809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32810 (eval $ac_try) 2>&5
32811 ac_status=$?
32812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32813 (exit $ac_status); }; }; then
32814 glibcxx_cv_func_ldexpl_use=yes
32815 else
32816 echo "$as_me: failed program was:" >&5
32817 sed 's/^/| /' conftest.$ac_ext >&5
32819 glibcxx_cv_func_ldexpl_use=no
32821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32822 ac_ext=c
32823 ac_cpp='$CPP $CPPFLAGS'
32824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32832 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
32833 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
32835 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32837 for ac_func in ldexpl
32839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32840 echo "$as_me:$LINENO: checking for $ac_func" >&5
32841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32842 if eval "test \"\${$as_ac_var+set}\" = set"; then
32843 echo $ECHO_N "(cached) $ECHO_C" >&6
32844 else
32845 if test x$gcc_no_link = xyes; then
32846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32848 { (exit 1); exit 1; }; }
32850 cat >conftest.$ac_ext <<_ACEOF
32851 /* confdefs.h. */
32852 _ACEOF
32853 cat confdefs.h >>conftest.$ac_ext
32854 cat >>conftest.$ac_ext <<_ACEOF
32855 /* end confdefs.h. */
32856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32858 #define $ac_func innocuous_$ac_func
32860 /* System header to define __stub macros and hopefully few prototypes,
32861 which can conflict with char $ac_func (); below.
32862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32863 <limits.h> exists even on freestanding compilers. */
32865 #ifdef __STDC__
32866 # include <limits.h>
32867 #else
32868 # include <assert.h>
32869 #endif
32871 #undef $ac_func
32873 /* Override any gcc2 internal prototype to avoid an error. */
32874 #ifdef __cplusplus
32875 extern "C"
32877 #endif
32878 /* We use char because int might match the return type of a gcc2
32879 builtin and then its argument prototype would still apply. */
32880 char $ac_func ();
32881 /* The GNU C library defines this for functions which it implements
32882 to always fail with ENOSYS. Some functions are actually named
32883 something starting with __ and the normal name is an alias. */
32884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32885 choke me
32886 #else
32887 char (*f) () = $ac_func;
32888 #endif
32889 #ifdef __cplusplus
32891 #endif
32894 main ()
32896 return f != $ac_func;
32898 return 0;
32900 _ACEOF
32901 rm -f conftest.$ac_objext conftest$ac_exeext
32902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32903 (eval $ac_link) 2>conftest.er1
32904 ac_status=$?
32905 grep -v '^ *+' conftest.er1 >conftest.err
32906 rm -f conftest.er1
32907 cat conftest.err >&5
32908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32909 (exit $ac_status); } &&
32910 { ac_try='test -z "$ac_c_werror_flag"
32911 || test ! -s conftest.err'
32912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32913 (eval $ac_try) 2>&5
32914 ac_status=$?
32915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32916 (exit $ac_status); }; } &&
32917 { ac_try='test -s conftest$ac_exeext'
32918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32919 (eval $ac_try) 2>&5
32920 ac_status=$?
32921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32922 (exit $ac_status); }; }; then
32923 eval "$as_ac_var=yes"
32924 else
32925 echo "$as_me: failed program was:" >&5
32926 sed 's/^/| /' conftest.$ac_ext >&5
32928 eval "$as_ac_var=no"
32930 rm -f conftest.err conftest.$ac_objext \
32931 conftest$ac_exeext conftest.$ac_ext
32933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32935 if test `eval echo '${'$as_ac_var'}'` = yes; then
32936 cat >>confdefs.h <<_ACEOF
32937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32938 _ACEOF
32941 done
32943 else
32945 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
32946 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
32947 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32948 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
32949 echo $ECHO_N "(cached) $ECHO_C" >&6
32950 else
32954 ac_ext=cc
32955 ac_cpp='$CXXCPP $CPPFLAGS'
32956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32960 cat >conftest.$ac_ext <<_ACEOF
32961 /* confdefs.h. */
32962 _ACEOF
32963 cat confdefs.h >>conftest.$ac_ext
32964 cat >>conftest.$ac_ext <<_ACEOF
32965 /* end confdefs.h. */
32966 #include <math.h>
32968 main ()
32970 _ldexpl(0, 0);
32972 return 0;
32974 _ACEOF
32975 rm -f conftest.$ac_objext
32976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32977 (eval $ac_compile) 2>conftest.er1
32978 ac_status=$?
32979 grep -v '^ *+' conftest.er1 >conftest.err
32980 rm -f conftest.er1
32981 cat conftest.err >&5
32982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32983 (exit $ac_status); } &&
32984 { ac_try='test -z "$ac_cxx_werror_flag"
32985 || test ! -s conftest.err'
32986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32987 (eval $ac_try) 2>&5
32988 ac_status=$?
32989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32990 (exit $ac_status); }; } &&
32991 { ac_try='test -s conftest.$ac_objext'
32992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32993 (eval $ac_try) 2>&5
32994 ac_status=$?
32995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32996 (exit $ac_status); }; }; then
32997 glibcxx_cv_func__ldexpl_use=yes
32998 else
32999 echo "$as_me: failed program was:" >&5
33000 sed 's/^/| /' conftest.$ac_ext >&5
33002 glibcxx_cv_func__ldexpl_use=no
33004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33005 ac_ext=c
33006 ac_cpp='$CPP $CPPFLAGS'
33007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33015 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
33016 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
33018 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33020 for ac_func in _ldexpl
33022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33023 echo "$as_me:$LINENO: checking for $ac_func" >&5
33024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33025 if eval "test \"\${$as_ac_var+set}\" = set"; then
33026 echo $ECHO_N "(cached) $ECHO_C" >&6
33027 else
33028 if test x$gcc_no_link = xyes; then
33029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33031 { (exit 1); exit 1; }; }
33033 cat >conftest.$ac_ext <<_ACEOF
33034 /* confdefs.h. */
33035 _ACEOF
33036 cat confdefs.h >>conftest.$ac_ext
33037 cat >>conftest.$ac_ext <<_ACEOF
33038 /* end confdefs.h. */
33039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33041 #define $ac_func innocuous_$ac_func
33043 /* System header to define __stub macros and hopefully few prototypes,
33044 which can conflict with char $ac_func (); below.
33045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33046 <limits.h> exists even on freestanding compilers. */
33048 #ifdef __STDC__
33049 # include <limits.h>
33050 #else
33051 # include <assert.h>
33052 #endif
33054 #undef $ac_func
33056 /* Override any gcc2 internal prototype to avoid an error. */
33057 #ifdef __cplusplus
33058 extern "C"
33060 #endif
33061 /* We use char because int might match the return type of a gcc2
33062 builtin and then its argument prototype would still apply. */
33063 char $ac_func ();
33064 /* The GNU C library defines this for functions which it implements
33065 to always fail with ENOSYS. Some functions are actually named
33066 something starting with __ and the normal name is an alias. */
33067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33068 choke me
33069 #else
33070 char (*f) () = $ac_func;
33071 #endif
33072 #ifdef __cplusplus
33074 #endif
33077 main ()
33079 return f != $ac_func;
33081 return 0;
33083 _ACEOF
33084 rm -f conftest.$ac_objext conftest$ac_exeext
33085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33086 (eval $ac_link) 2>conftest.er1
33087 ac_status=$?
33088 grep -v '^ *+' conftest.er1 >conftest.err
33089 rm -f conftest.er1
33090 cat conftest.err >&5
33091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33092 (exit $ac_status); } &&
33093 { ac_try='test -z "$ac_c_werror_flag"
33094 || test ! -s conftest.err'
33095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33096 (eval $ac_try) 2>&5
33097 ac_status=$?
33098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33099 (exit $ac_status); }; } &&
33100 { ac_try='test -s conftest$ac_exeext'
33101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33102 (eval $ac_try) 2>&5
33103 ac_status=$?
33104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33105 (exit $ac_status); }; }; then
33106 eval "$as_ac_var=yes"
33107 else
33108 echo "$as_me: failed program was:" >&5
33109 sed 's/^/| /' conftest.$ac_ext >&5
33111 eval "$as_ac_var=no"
33113 rm -f conftest.err conftest.$ac_objext \
33114 conftest$ac_exeext conftest.$ac_ext
33116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33118 if test `eval echo '${'$as_ac_var'}'` = yes; then
33119 cat >>confdefs.h <<_ACEOF
33120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33121 _ACEOF
33124 done
33134 echo "$as_me:$LINENO: checking for logl declaration" >&5
33135 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
33136 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33137 if test "${glibcxx_cv_func_logl_use+set}" = set; then
33138 echo $ECHO_N "(cached) $ECHO_C" >&6
33139 else
33143 ac_ext=cc
33144 ac_cpp='$CXXCPP $CPPFLAGS'
33145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33149 cat >conftest.$ac_ext <<_ACEOF
33150 /* confdefs.h. */
33151 _ACEOF
33152 cat confdefs.h >>conftest.$ac_ext
33153 cat >>conftest.$ac_ext <<_ACEOF
33154 /* end confdefs.h. */
33155 #include <math.h>
33156 #ifdef HAVE_IEEEFP_H
33157 #include <ieeefp.h>
33158 #endif
33161 main ()
33163 logl(0);
33165 return 0;
33167 _ACEOF
33168 rm -f conftest.$ac_objext
33169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33170 (eval $ac_compile) 2>conftest.er1
33171 ac_status=$?
33172 grep -v '^ *+' conftest.er1 >conftest.err
33173 rm -f conftest.er1
33174 cat conftest.err >&5
33175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33176 (exit $ac_status); } &&
33177 { ac_try='test -z "$ac_cxx_werror_flag"
33178 || test ! -s conftest.err'
33179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33180 (eval $ac_try) 2>&5
33181 ac_status=$?
33182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33183 (exit $ac_status); }; } &&
33184 { ac_try='test -s conftest.$ac_objext'
33185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33186 (eval $ac_try) 2>&5
33187 ac_status=$?
33188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33189 (exit $ac_status); }; }; then
33190 glibcxx_cv_func_logl_use=yes
33191 else
33192 echo "$as_me: failed program was:" >&5
33193 sed 's/^/| /' conftest.$ac_ext >&5
33195 glibcxx_cv_func_logl_use=no
33197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33198 ac_ext=c
33199 ac_cpp='$CPP $CPPFLAGS'
33200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33208 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
33209 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
33211 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33213 for ac_func in logl
33215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33216 echo "$as_me:$LINENO: checking for $ac_func" >&5
33217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33218 if eval "test \"\${$as_ac_var+set}\" = set"; then
33219 echo $ECHO_N "(cached) $ECHO_C" >&6
33220 else
33221 if test x$gcc_no_link = xyes; then
33222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33224 { (exit 1); exit 1; }; }
33226 cat >conftest.$ac_ext <<_ACEOF
33227 /* confdefs.h. */
33228 _ACEOF
33229 cat confdefs.h >>conftest.$ac_ext
33230 cat >>conftest.$ac_ext <<_ACEOF
33231 /* end confdefs.h. */
33232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33234 #define $ac_func innocuous_$ac_func
33236 /* System header to define __stub macros and hopefully few prototypes,
33237 which can conflict with char $ac_func (); below.
33238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33239 <limits.h> exists even on freestanding compilers. */
33241 #ifdef __STDC__
33242 # include <limits.h>
33243 #else
33244 # include <assert.h>
33245 #endif
33247 #undef $ac_func
33249 /* Override any gcc2 internal prototype to avoid an error. */
33250 #ifdef __cplusplus
33251 extern "C"
33253 #endif
33254 /* We use char because int might match the return type of a gcc2
33255 builtin and then its argument prototype would still apply. */
33256 char $ac_func ();
33257 /* The GNU C library defines this for functions which it implements
33258 to always fail with ENOSYS. Some functions are actually named
33259 something starting with __ and the normal name is an alias. */
33260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33261 choke me
33262 #else
33263 char (*f) () = $ac_func;
33264 #endif
33265 #ifdef __cplusplus
33267 #endif
33270 main ()
33272 return f != $ac_func;
33274 return 0;
33276 _ACEOF
33277 rm -f conftest.$ac_objext conftest$ac_exeext
33278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33279 (eval $ac_link) 2>conftest.er1
33280 ac_status=$?
33281 grep -v '^ *+' conftest.er1 >conftest.err
33282 rm -f conftest.er1
33283 cat conftest.err >&5
33284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33285 (exit $ac_status); } &&
33286 { ac_try='test -z "$ac_c_werror_flag"
33287 || test ! -s conftest.err'
33288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33289 (eval $ac_try) 2>&5
33290 ac_status=$?
33291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33292 (exit $ac_status); }; } &&
33293 { ac_try='test -s conftest$ac_exeext'
33294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33295 (eval $ac_try) 2>&5
33296 ac_status=$?
33297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33298 (exit $ac_status); }; }; then
33299 eval "$as_ac_var=yes"
33300 else
33301 echo "$as_me: failed program was:" >&5
33302 sed 's/^/| /' conftest.$ac_ext >&5
33304 eval "$as_ac_var=no"
33306 rm -f conftest.err conftest.$ac_objext \
33307 conftest$ac_exeext conftest.$ac_ext
33309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33311 if test `eval echo '${'$as_ac_var'}'` = yes; then
33312 cat >>confdefs.h <<_ACEOF
33313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33314 _ACEOF
33317 done
33319 else
33321 echo "$as_me:$LINENO: checking for _logl declaration" >&5
33322 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
33323 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33324 if test "${glibcxx_cv_func__logl_use+set}" = set; then
33325 echo $ECHO_N "(cached) $ECHO_C" >&6
33326 else
33330 ac_ext=cc
33331 ac_cpp='$CXXCPP $CPPFLAGS'
33332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33336 cat >conftest.$ac_ext <<_ACEOF
33337 /* confdefs.h. */
33338 _ACEOF
33339 cat confdefs.h >>conftest.$ac_ext
33340 cat >>conftest.$ac_ext <<_ACEOF
33341 /* end confdefs.h. */
33342 #include <math.h>
33343 #ifdef HAVE_IEEEFP_H
33344 #include <ieeefp.h>
33345 #endif
33348 main ()
33350 _logl(0);
33352 return 0;
33354 _ACEOF
33355 rm -f conftest.$ac_objext
33356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33357 (eval $ac_compile) 2>conftest.er1
33358 ac_status=$?
33359 grep -v '^ *+' conftest.er1 >conftest.err
33360 rm -f conftest.er1
33361 cat conftest.err >&5
33362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33363 (exit $ac_status); } &&
33364 { ac_try='test -z "$ac_cxx_werror_flag"
33365 || test ! -s conftest.err'
33366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33367 (eval $ac_try) 2>&5
33368 ac_status=$?
33369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33370 (exit $ac_status); }; } &&
33371 { ac_try='test -s conftest.$ac_objext'
33372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33373 (eval $ac_try) 2>&5
33374 ac_status=$?
33375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33376 (exit $ac_status); }; }; then
33377 glibcxx_cv_func__logl_use=yes
33378 else
33379 echo "$as_me: failed program was:" >&5
33380 sed 's/^/| /' conftest.$ac_ext >&5
33382 glibcxx_cv_func__logl_use=no
33384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33385 ac_ext=c
33386 ac_cpp='$CPP $CPPFLAGS'
33387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33395 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
33396 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
33398 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33400 for ac_func in _logl
33402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33403 echo "$as_me:$LINENO: checking for $ac_func" >&5
33404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33405 if eval "test \"\${$as_ac_var+set}\" = set"; then
33406 echo $ECHO_N "(cached) $ECHO_C" >&6
33407 else
33408 if test x$gcc_no_link = xyes; then
33409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33411 { (exit 1); exit 1; }; }
33413 cat >conftest.$ac_ext <<_ACEOF
33414 /* confdefs.h. */
33415 _ACEOF
33416 cat confdefs.h >>conftest.$ac_ext
33417 cat >>conftest.$ac_ext <<_ACEOF
33418 /* end confdefs.h. */
33419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33421 #define $ac_func innocuous_$ac_func
33423 /* System header to define __stub macros and hopefully few prototypes,
33424 which can conflict with char $ac_func (); below.
33425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33426 <limits.h> exists even on freestanding compilers. */
33428 #ifdef __STDC__
33429 # include <limits.h>
33430 #else
33431 # include <assert.h>
33432 #endif
33434 #undef $ac_func
33436 /* Override any gcc2 internal prototype to avoid an error. */
33437 #ifdef __cplusplus
33438 extern "C"
33440 #endif
33441 /* We use char because int might match the return type of a gcc2
33442 builtin and then its argument prototype would still apply. */
33443 char $ac_func ();
33444 /* The GNU C library defines this for functions which it implements
33445 to always fail with ENOSYS. Some functions are actually named
33446 something starting with __ and the normal name is an alias. */
33447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33448 choke me
33449 #else
33450 char (*f) () = $ac_func;
33451 #endif
33452 #ifdef __cplusplus
33454 #endif
33457 main ()
33459 return f != $ac_func;
33461 return 0;
33463 _ACEOF
33464 rm -f conftest.$ac_objext conftest$ac_exeext
33465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33466 (eval $ac_link) 2>conftest.er1
33467 ac_status=$?
33468 grep -v '^ *+' conftest.er1 >conftest.err
33469 rm -f conftest.er1
33470 cat conftest.err >&5
33471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33472 (exit $ac_status); } &&
33473 { ac_try='test -z "$ac_c_werror_flag"
33474 || test ! -s conftest.err'
33475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33476 (eval $ac_try) 2>&5
33477 ac_status=$?
33478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33479 (exit $ac_status); }; } &&
33480 { ac_try='test -s conftest$ac_exeext'
33481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33482 (eval $ac_try) 2>&5
33483 ac_status=$?
33484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33485 (exit $ac_status); }; }; then
33486 eval "$as_ac_var=yes"
33487 else
33488 echo "$as_me: failed program was:" >&5
33489 sed 's/^/| /' conftest.$ac_ext >&5
33491 eval "$as_ac_var=no"
33493 rm -f conftest.err conftest.$ac_objext \
33494 conftest$ac_exeext conftest.$ac_ext
33496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33498 if test `eval echo '${'$as_ac_var'}'` = yes; then
33499 cat >>confdefs.h <<_ACEOF
33500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33501 _ACEOF
33504 done
33514 echo "$as_me:$LINENO: checking for log10l declaration" >&5
33515 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
33516 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33517 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
33518 echo $ECHO_N "(cached) $ECHO_C" >&6
33519 else
33523 ac_ext=cc
33524 ac_cpp='$CXXCPP $CPPFLAGS'
33525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33529 cat >conftest.$ac_ext <<_ACEOF
33530 /* confdefs.h. */
33531 _ACEOF
33532 cat confdefs.h >>conftest.$ac_ext
33533 cat >>conftest.$ac_ext <<_ACEOF
33534 /* end confdefs.h. */
33535 #include <math.h>
33536 #ifdef HAVE_IEEEFP_H
33537 #include <ieeefp.h>
33538 #endif
33541 main ()
33543 log10l(0);
33545 return 0;
33547 _ACEOF
33548 rm -f conftest.$ac_objext
33549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33550 (eval $ac_compile) 2>conftest.er1
33551 ac_status=$?
33552 grep -v '^ *+' conftest.er1 >conftest.err
33553 rm -f conftest.er1
33554 cat conftest.err >&5
33555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33556 (exit $ac_status); } &&
33557 { ac_try='test -z "$ac_cxx_werror_flag"
33558 || test ! -s conftest.err'
33559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33560 (eval $ac_try) 2>&5
33561 ac_status=$?
33562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33563 (exit $ac_status); }; } &&
33564 { ac_try='test -s conftest.$ac_objext'
33565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33566 (eval $ac_try) 2>&5
33567 ac_status=$?
33568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33569 (exit $ac_status); }; }; then
33570 glibcxx_cv_func_log10l_use=yes
33571 else
33572 echo "$as_me: failed program was:" >&5
33573 sed 's/^/| /' conftest.$ac_ext >&5
33575 glibcxx_cv_func_log10l_use=no
33577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33578 ac_ext=c
33579 ac_cpp='$CPP $CPPFLAGS'
33580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33588 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
33589 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
33591 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33593 for ac_func in log10l
33595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33596 echo "$as_me:$LINENO: checking for $ac_func" >&5
33597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33598 if eval "test \"\${$as_ac_var+set}\" = set"; then
33599 echo $ECHO_N "(cached) $ECHO_C" >&6
33600 else
33601 if test x$gcc_no_link = xyes; then
33602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33604 { (exit 1); exit 1; }; }
33606 cat >conftest.$ac_ext <<_ACEOF
33607 /* confdefs.h. */
33608 _ACEOF
33609 cat confdefs.h >>conftest.$ac_ext
33610 cat >>conftest.$ac_ext <<_ACEOF
33611 /* end confdefs.h. */
33612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33614 #define $ac_func innocuous_$ac_func
33616 /* System header to define __stub macros and hopefully few prototypes,
33617 which can conflict with char $ac_func (); below.
33618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33619 <limits.h> exists even on freestanding compilers. */
33621 #ifdef __STDC__
33622 # include <limits.h>
33623 #else
33624 # include <assert.h>
33625 #endif
33627 #undef $ac_func
33629 /* Override any gcc2 internal prototype to avoid an error. */
33630 #ifdef __cplusplus
33631 extern "C"
33633 #endif
33634 /* We use char because int might match the return type of a gcc2
33635 builtin and then its argument prototype would still apply. */
33636 char $ac_func ();
33637 /* The GNU C library defines this for functions which it implements
33638 to always fail with ENOSYS. Some functions are actually named
33639 something starting with __ and the normal name is an alias. */
33640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33641 choke me
33642 #else
33643 char (*f) () = $ac_func;
33644 #endif
33645 #ifdef __cplusplus
33647 #endif
33650 main ()
33652 return f != $ac_func;
33654 return 0;
33656 _ACEOF
33657 rm -f conftest.$ac_objext conftest$ac_exeext
33658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33659 (eval $ac_link) 2>conftest.er1
33660 ac_status=$?
33661 grep -v '^ *+' conftest.er1 >conftest.err
33662 rm -f conftest.er1
33663 cat conftest.err >&5
33664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33665 (exit $ac_status); } &&
33666 { ac_try='test -z "$ac_c_werror_flag"
33667 || test ! -s conftest.err'
33668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33669 (eval $ac_try) 2>&5
33670 ac_status=$?
33671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33672 (exit $ac_status); }; } &&
33673 { ac_try='test -s conftest$ac_exeext'
33674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33675 (eval $ac_try) 2>&5
33676 ac_status=$?
33677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33678 (exit $ac_status); }; }; then
33679 eval "$as_ac_var=yes"
33680 else
33681 echo "$as_me: failed program was:" >&5
33682 sed 's/^/| /' conftest.$ac_ext >&5
33684 eval "$as_ac_var=no"
33686 rm -f conftest.err conftest.$ac_objext \
33687 conftest$ac_exeext conftest.$ac_ext
33689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33691 if test `eval echo '${'$as_ac_var'}'` = yes; then
33692 cat >>confdefs.h <<_ACEOF
33693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33694 _ACEOF
33697 done
33699 else
33701 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
33702 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
33703 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33704 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
33705 echo $ECHO_N "(cached) $ECHO_C" >&6
33706 else
33710 ac_ext=cc
33711 ac_cpp='$CXXCPP $CPPFLAGS'
33712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33716 cat >conftest.$ac_ext <<_ACEOF
33717 /* confdefs.h. */
33718 _ACEOF
33719 cat confdefs.h >>conftest.$ac_ext
33720 cat >>conftest.$ac_ext <<_ACEOF
33721 /* end confdefs.h. */
33722 #include <math.h>
33723 #ifdef HAVE_IEEEFP_H
33724 #include <ieeefp.h>
33725 #endif
33728 main ()
33730 _log10l(0);
33732 return 0;
33734 _ACEOF
33735 rm -f conftest.$ac_objext
33736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33737 (eval $ac_compile) 2>conftest.er1
33738 ac_status=$?
33739 grep -v '^ *+' conftest.er1 >conftest.err
33740 rm -f conftest.er1
33741 cat conftest.err >&5
33742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33743 (exit $ac_status); } &&
33744 { ac_try='test -z "$ac_cxx_werror_flag"
33745 || test ! -s conftest.err'
33746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33747 (eval $ac_try) 2>&5
33748 ac_status=$?
33749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33750 (exit $ac_status); }; } &&
33751 { ac_try='test -s conftest.$ac_objext'
33752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33753 (eval $ac_try) 2>&5
33754 ac_status=$?
33755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33756 (exit $ac_status); }; }; then
33757 glibcxx_cv_func__log10l_use=yes
33758 else
33759 echo "$as_me: failed program was:" >&5
33760 sed 's/^/| /' conftest.$ac_ext >&5
33762 glibcxx_cv_func__log10l_use=no
33764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33765 ac_ext=c
33766 ac_cpp='$CPP $CPPFLAGS'
33767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33775 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
33776 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
33778 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33780 for ac_func in _log10l
33782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33783 echo "$as_me:$LINENO: checking for $ac_func" >&5
33784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33785 if eval "test \"\${$as_ac_var+set}\" = set"; then
33786 echo $ECHO_N "(cached) $ECHO_C" >&6
33787 else
33788 if test x$gcc_no_link = xyes; then
33789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33791 { (exit 1); exit 1; }; }
33793 cat >conftest.$ac_ext <<_ACEOF
33794 /* confdefs.h. */
33795 _ACEOF
33796 cat confdefs.h >>conftest.$ac_ext
33797 cat >>conftest.$ac_ext <<_ACEOF
33798 /* end confdefs.h. */
33799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33801 #define $ac_func innocuous_$ac_func
33803 /* System header to define __stub macros and hopefully few prototypes,
33804 which can conflict with char $ac_func (); below.
33805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33806 <limits.h> exists even on freestanding compilers. */
33808 #ifdef __STDC__
33809 # include <limits.h>
33810 #else
33811 # include <assert.h>
33812 #endif
33814 #undef $ac_func
33816 /* Override any gcc2 internal prototype to avoid an error. */
33817 #ifdef __cplusplus
33818 extern "C"
33820 #endif
33821 /* We use char because int might match the return type of a gcc2
33822 builtin and then its argument prototype would still apply. */
33823 char $ac_func ();
33824 /* The GNU C library defines this for functions which it implements
33825 to always fail with ENOSYS. Some functions are actually named
33826 something starting with __ and the normal name is an alias. */
33827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33828 choke me
33829 #else
33830 char (*f) () = $ac_func;
33831 #endif
33832 #ifdef __cplusplus
33834 #endif
33837 main ()
33839 return f != $ac_func;
33841 return 0;
33843 _ACEOF
33844 rm -f conftest.$ac_objext conftest$ac_exeext
33845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33846 (eval $ac_link) 2>conftest.er1
33847 ac_status=$?
33848 grep -v '^ *+' conftest.er1 >conftest.err
33849 rm -f conftest.er1
33850 cat conftest.err >&5
33851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33852 (exit $ac_status); } &&
33853 { ac_try='test -z "$ac_c_werror_flag"
33854 || test ! -s conftest.err'
33855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33856 (eval $ac_try) 2>&5
33857 ac_status=$?
33858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33859 (exit $ac_status); }; } &&
33860 { ac_try='test -s conftest$ac_exeext'
33861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33862 (eval $ac_try) 2>&5
33863 ac_status=$?
33864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33865 (exit $ac_status); }; }; then
33866 eval "$as_ac_var=yes"
33867 else
33868 echo "$as_me: failed program was:" >&5
33869 sed 's/^/| /' conftest.$ac_ext >&5
33871 eval "$as_ac_var=no"
33873 rm -f conftest.err conftest.$ac_objext \
33874 conftest$ac_exeext conftest.$ac_ext
33876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33878 if test `eval echo '${'$as_ac_var'}'` = yes; then
33879 cat >>confdefs.h <<_ACEOF
33880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33881 _ACEOF
33884 done
33894 echo "$as_me:$LINENO: checking for modfl declaration" >&5
33895 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
33896 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33897 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
33898 echo $ECHO_N "(cached) $ECHO_C" >&6
33899 else
33903 ac_ext=cc
33904 ac_cpp='$CXXCPP $CPPFLAGS'
33905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33909 cat >conftest.$ac_ext <<_ACEOF
33910 /* confdefs.h. */
33911 _ACEOF
33912 cat confdefs.h >>conftest.$ac_ext
33913 cat >>conftest.$ac_ext <<_ACEOF
33914 /* end confdefs.h. */
33915 #include <math.h>
33917 main ()
33919 modfl(0, 0);
33921 return 0;
33923 _ACEOF
33924 rm -f conftest.$ac_objext
33925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33926 (eval $ac_compile) 2>conftest.er1
33927 ac_status=$?
33928 grep -v '^ *+' conftest.er1 >conftest.err
33929 rm -f conftest.er1
33930 cat conftest.err >&5
33931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33932 (exit $ac_status); } &&
33933 { ac_try='test -z "$ac_cxx_werror_flag"
33934 || test ! -s conftest.err'
33935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33936 (eval $ac_try) 2>&5
33937 ac_status=$?
33938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33939 (exit $ac_status); }; } &&
33940 { ac_try='test -s conftest.$ac_objext'
33941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33942 (eval $ac_try) 2>&5
33943 ac_status=$?
33944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33945 (exit $ac_status); }; }; then
33946 glibcxx_cv_func_modfl_use=yes
33947 else
33948 echo "$as_me: failed program was:" >&5
33949 sed 's/^/| /' conftest.$ac_ext >&5
33951 glibcxx_cv_func_modfl_use=no
33953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33954 ac_ext=c
33955 ac_cpp='$CPP $CPPFLAGS'
33956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33964 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
33965 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
33967 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33969 for ac_func in modfl
33971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33972 echo "$as_me:$LINENO: checking for $ac_func" >&5
33973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33974 if eval "test \"\${$as_ac_var+set}\" = set"; then
33975 echo $ECHO_N "(cached) $ECHO_C" >&6
33976 else
33977 if test x$gcc_no_link = xyes; then
33978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33980 { (exit 1); exit 1; }; }
33982 cat >conftest.$ac_ext <<_ACEOF
33983 /* confdefs.h. */
33984 _ACEOF
33985 cat confdefs.h >>conftest.$ac_ext
33986 cat >>conftest.$ac_ext <<_ACEOF
33987 /* end confdefs.h. */
33988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33990 #define $ac_func innocuous_$ac_func
33992 /* System header to define __stub macros and hopefully few prototypes,
33993 which can conflict with char $ac_func (); below.
33994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33995 <limits.h> exists even on freestanding compilers. */
33997 #ifdef __STDC__
33998 # include <limits.h>
33999 #else
34000 # include <assert.h>
34001 #endif
34003 #undef $ac_func
34005 /* Override any gcc2 internal prototype to avoid an error. */
34006 #ifdef __cplusplus
34007 extern "C"
34009 #endif
34010 /* We use char because int might match the return type of a gcc2
34011 builtin and then its argument prototype would still apply. */
34012 char $ac_func ();
34013 /* The GNU C library defines this for functions which it implements
34014 to always fail with ENOSYS. Some functions are actually named
34015 something starting with __ and the normal name is an alias. */
34016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34017 choke me
34018 #else
34019 char (*f) () = $ac_func;
34020 #endif
34021 #ifdef __cplusplus
34023 #endif
34026 main ()
34028 return f != $ac_func;
34030 return 0;
34032 _ACEOF
34033 rm -f conftest.$ac_objext conftest$ac_exeext
34034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34035 (eval $ac_link) 2>conftest.er1
34036 ac_status=$?
34037 grep -v '^ *+' conftest.er1 >conftest.err
34038 rm -f conftest.er1
34039 cat conftest.err >&5
34040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34041 (exit $ac_status); } &&
34042 { ac_try='test -z "$ac_c_werror_flag"
34043 || test ! -s conftest.err'
34044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34045 (eval $ac_try) 2>&5
34046 ac_status=$?
34047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34048 (exit $ac_status); }; } &&
34049 { ac_try='test -s conftest$ac_exeext'
34050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34051 (eval $ac_try) 2>&5
34052 ac_status=$?
34053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34054 (exit $ac_status); }; }; then
34055 eval "$as_ac_var=yes"
34056 else
34057 echo "$as_me: failed program was:" >&5
34058 sed 's/^/| /' conftest.$ac_ext >&5
34060 eval "$as_ac_var=no"
34062 rm -f conftest.err conftest.$ac_objext \
34063 conftest$ac_exeext conftest.$ac_ext
34065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34067 if test `eval echo '${'$as_ac_var'}'` = yes; then
34068 cat >>confdefs.h <<_ACEOF
34069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34070 _ACEOF
34073 done
34075 else
34077 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
34078 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
34079 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34080 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
34081 echo $ECHO_N "(cached) $ECHO_C" >&6
34082 else
34086 ac_ext=cc
34087 ac_cpp='$CXXCPP $CPPFLAGS'
34088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34092 cat >conftest.$ac_ext <<_ACEOF
34093 /* confdefs.h. */
34094 _ACEOF
34095 cat confdefs.h >>conftest.$ac_ext
34096 cat >>conftest.$ac_ext <<_ACEOF
34097 /* end confdefs.h. */
34098 #include <math.h>
34100 main ()
34102 _modfl(0, 0);
34104 return 0;
34106 _ACEOF
34107 rm -f conftest.$ac_objext
34108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34109 (eval $ac_compile) 2>conftest.er1
34110 ac_status=$?
34111 grep -v '^ *+' conftest.er1 >conftest.err
34112 rm -f conftest.er1
34113 cat conftest.err >&5
34114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34115 (exit $ac_status); } &&
34116 { ac_try='test -z "$ac_cxx_werror_flag"
34117 || test ! -s conftest.err'
34118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34119 (eval $ac_try) 2>&5
34120 ac_status=$?
34121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34122 (exit $ac_status); }; } &&
34123 { ac_try='test -s conftest.$ac_objext'
34124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34125 (eval $ac_try) 2>&5
34126 ac_status=$?
34127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34128 (exit $ac_status); }; }; then
34129 glibcxx_cv_func__modfl_use=yes
34130 else
34131 echo "$as_me: failed program was:" >&5
34132 sed 's/^/| /' conftest.$ac_ext >&5
34134 glibcxx_cv_func__modfl_use=no
34136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34137 ac_ext=c
34138 ac_cpp='$CPP $CPPFLAGS'
34139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34147 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
34148 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
34150 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34152 for ac_func in _modfl
34154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34155 echo "$as_me:$LINENO: checking for $ac_func" >&5
34156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34157 if eval "test \"\${$as_ac_var+set}\" = set"; then
34158 echo $ECHO_N "(cached) $ECHO_C" >&6
34159 else
34160 if test x$gcc_no_link = xyes; then
34161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34163 { (exit 1); exit 1; }; }
34165 cat >conftest.$ac_ext <<_ACEOF
34166 /* confdefs.h. */
34167 _ACEOF
34168 cat confdefs.h >>conftest.$ac_ext
34169 cat >>conftest.$ac_ext <<_ACEOF
34170 /* end confdefs.h. */
34171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34173 #define $ac_func innocuous_$ac_func
34175 /* System header to define __stub macros and hopefully few prototypes,
34176 which can conflict with char $ac_func (); below.
34177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34178 <limits.h> exists even on freestanding compilers. */
34180 #ifdef __STDC__
34181 # include <limits.h>
34182 #else
34183 # include <assert.h>
34184 #endif
34186 #undef $ac_func
34188 /* Override any gcc2 internal prototype to avoid an error. */
34189 #ifdef __cplusplus
34190 extern "C"
34192 #endif
34193 /* We use char because int might match the return type of a gcc2
34194 builtin and then its argument prototype would still apply. */
34195 char $ac_func ();
34196 /* The GNU C library defines this for functions which it implements
34197 to always fail with ENOSYS. Some functions are actually named
34198 something starting with __ and the normal name is an alias. */
34199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34200 choke me
34201 #else
34202 char (*f) () = $ac_func;
34203 #endif
34204 #ifdef __cplusplus
34206 #endif
34209 main ()
34211 return f != $ac_func;
34213 return 0;
34215 _ACEOF
34216 rm -f conftest.$ac_objext conftest$ac_exeext
34217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34218 (eval $ac_link) 2>conftest.er1
34219 ac_status=$?
34220 grep -v '^ *+' conftest.er1 >conftest.err
34221 rm -f conftest.er1
34222 cat conftest.err >&5
34223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224 (exit $ac_status); } &&
34225 { ac_try='test -z "$ac_c_werror_flag"
34226 || test ! -s conftest.err'
34227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34228 (eval $ac_try) 2>&5
34229 ac_status=$?
34230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34231 (exit $ac_status); }; } &&
34232 { ac_try='test -s conftest$ac_exeext'
34233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34234 (eval $ac_try) 2>&5
34235 ac_status=$?
34236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34237 (exit $ac_status); }; }; then
34238 eval "$as_ac_var=yes"
34239 else
34240 echo "$as_me: failed program was:" >&5
34241 sed 's/^/| /' conftest.$ac_ext >&5
34243 eval "$as_ac_var=no"
34245 rm -f conftest.err conftest.$ac_objext \
34246 conftest$ac_exeext conftest.$ac_ext
34248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34250 if test `eval echo '${'$as_ac_var'}'` = yes; then
34251 cat >>confdefs.h <<_ACEOF
34252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34253 _ACEOF
34256 done
34266 echo "$as_me:$LINENO: checking for powl declaration" >&5
34267 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
34268 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34269 if test "${glibcxx_cv_func_powl_use+set}" = set; then
34270 echo $ECHO_N "(cached) $ECHO_C" >&6
34271 else
34275 ac_ext=cc
34276 ac_cpp='$CXXCPP $CPPFLAGS'
34277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34281 cat >conftest.$ac_ext <<_ACEOF
34282 /* confdefs.h. */
34283 _ACEOF
34284 cat confdefs.h >>conftest.$ac_ext
34285 cat >>conftest.$ac_ext <<_ACEOF
34286 /* end confdefs.h. */
34287 #include <math.h>
34289 main ()
34291 powl(0, 0);
34293 return 0;
34295 _ACEOF
34296 rm -f conftest.$ac_objext
34297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34298 (eval $ac_compile) 2>conftest.er1
34299 ac_status=$?
34300 grep -v '^ *+' conftest.er1 >conftest.err
34301 rm -f conftest.er1
34302 cat conftest.err >&5
34303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34304 (exit $ac_status); } &&
34305 { ac_try='test -z "$ac_cxx_werror_flag"
34306 || test ! -s conftest.err'
34307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34308 (eval $ac_try) 2>&5
34309 ac_status=$?
34310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34311 (exit $ac_status); }; } &&
34312 { ac_try='test -s conftest.$ac_objext'
34313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34314 (eval $ac_try) 2>&5
34315 ac_status=$?
34316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34317 (exit $ac_status); }; }; then
34318 glibcxx_cv_func_powl_use=yes
34319 else
34320 echo "$as_me: failed program was:" >&5
34321 sed 's/^/| /' conftest.$ac_ext >&5
34323 glibcxx_cv_func_powl_use=no
34325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34326 ac_ext=c
34327 ac_cpp='$CPP $CPPFLAGS'
34328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34336 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
34337 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
34339 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34341 for ac_func in powl
34343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34344 echo "$as_me:$LINENO: checking for $ac_func" >&5
34345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34346 if eval "test \"\${$as_ac_var+set}\" = set"; then
34347 echo $ECHO_N "(cached) $ECHO_C" >&6
34348 else
34349 if test x$gcc_no_link = xyes; then
34350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34352 { (exit 1); exit 1; }; }
34354 cat >conftest.$ac_ext <<_ACEOF
34355 /* confdefs.h. */
34356 _ACEOF
34357 cat confdefs.h >>conftest.$ac_ext
34358 cat >>conftest.$ac_ext <<_ACEOF
34359 /* end confdefs.h. */
34360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34362 #define $ac_func innocuous_$ac_func
34364 /* System header to define __stub macros and hopefully few prototypes,
34365 which can conflict with char $ac_func (); below.
34366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34367 <limits.h> exists even on freestanding compilers. */
34369 #ifdef __STDC__
34370 # include <limits.h>
34371 #else
34372 # include <assert.h>
34373 #endif
34375 #undef $ac_func
34377 /* Override any gcc2 internal prototype to avoid an error. */
34378 #ifdef __cplusplus
34379 extern "C"
34381 #endif
34382 /* We use char because int might match the return type of a gcc2
34383 builtin and then its argument prototype would still apply. */
34384 char $ac_func ();
34385 /* The GNU C library defines this for functions which it implements
34386 to always fail with ENOSYS. Some functions are actually named
34387 something starting with __ and the normal name is an alias. */
34388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34389 choke me
34390 #else
34391 char (*f) () = $ac_func;
34392 #endif
34393 #ifdef __cplusplus
34395 #endif
34398 main ()
34400 return f != $ac_func;
34402 return 0;
34404 _ACEOF
34405 rm -f conftest.$ac_objext conftest$ac_exeext
34406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34407 (eval $ac_link) 2>conftest.er1
34408 ac_status=$?
34409 grep -v '^ *+' conftest.er1 >conftest.err
34410 rm -f conftest.er1
34411 cat conftest.err >&5
34412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34413 (exit $ac_status); } &&
34414 { ac_try='test -z "$ac_c_werror_flag"
34415 || test ! -s conftest.err'
34416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34417 (eval $ac_try) 2>&5
34418 ac_status=$?
34419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34420 (exit $ac_status); }; } &&
34421 { ac_try='test -s conftest$ac_exeext'
34422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34423 (eval $ac_try) 2>&5
34424 ac_status=$?
34425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34426 (exit $ac_status); }; }; then
34427 eval "$as_ac_var=yes"
34428 else
34429 echo "$as_me: failed program was:" >&5
34430 sed 's/^/| /' conftest.$ac_ext >&5
34432 eval "$as_ac_var=no"
34434 rm -f conftest.err conftest.$ac_objext \
34435 conftest$ac_exeext conftest.$ac_ext
34437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34439 if test `eval echo '${'$as_ac_var'}'` = yes; then
34440 cat >>confdefs.h <<_ACEOF
34441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34442 _ACEOF
34445 done
34447 else
34449 echo "$as_me:$LINENO: checking for _powl declaration" >&5
34450 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
34451 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34452 if test "${glibcxx_cv_func__powl_use+set}" = set; then
34453 echo $ECHO_N "(cached) $ECHO_C" >&6
34454 else
34458 ac_ext=cc
34459 ac_cpp='$CXXCPP $CPPFLAGS'
34460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34464 cat >conftest.$ac_ext <<_ACEOF
34465 /* confdefs.h. */
34466 _ACEOF
34467 cat confdefs.h >>conftest.$ac_ext
34468 cat >>conftest.$ac_ext <<_ACEOF
34469 /* end confdefs.h. */
34470 #include <math.h>
34472 main ()
34474 _powl(0, 0);
34476 return 0;
34478 _ACEOF
34479 rm -f conftest.$ac_objext
34480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34481 (eval $ac_compile) 2>conftest.er1
34482 ac_status=$?
34483 grep -v '^ *+' conftest.er1 >conftest.err
34484 rm -f conftest.er1
34485 cat conftest.err >&5
34486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34487 (exit $ac_status); } &&
34488 { ac_try='test -z "$ac_cxx_werror_flag"
34489 || test ! -s conftest.err'
34490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34491 (eval $ac_try) 2>&5
34492 ac_status=$?
34493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34494 (exit $ac_status); }; } &&
34495 { ac_try='test -s conftest.$ac_objext'
34496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34497 (eval $ac_try) 2>&5
34498 ac_status=$?
34499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34500 (exit $ac_status); }; }; then
34501 glibcxx_cv_func__powl_use=yes
34502 else
34503 echo "$as_me: failed program was:" >&5
34504 sed 's/^/| /' conftest.$ac_ext >&5
34506 glibcxx_cv_func__powl_use=no
34508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34509 ac_ext=c
34510 ac_cpp='$CPP $CPPFLAGS'
34511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34519 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
34520 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
34522 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34524 for ac_func in _powl
34526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34527 echo "$as_me:$LINENO: checking for $ac_func" >&5
34528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34529 if eval "test \"\${$as_ac_var+set}\" = set"; then
34530 echo $ECHO_N "(cached) $ECHO_C" >&6
34531 else
34532 if test x$gcc_no_link = xyes; then
34533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34535 { (exit 1); exit 1; }; }
34537 cat >conftest.$ac_ext <<_ACEOF
34538 /* confdefs.h. */
34539 _ACEOF
34540 cat confdefs.h >>conftest.$ac_ext
34541 cat >>conftest.$ac_ext <<_ACEOF
34542 /* end confdefs.h. */
34543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34545 #define $ac_func innocuous_$ac_func
34547 /* System header to define __stub macros and hopefully few prototypes,
34548 which can conflict with char $ac_func (); below.
34549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34550 <limits.h> exists even on freestanding compilers. */
34552 #ifdef __STDC__
34553 # include <limits.h>
34554 #else
34555 # include <assert.h>
34556 #endif
34558 #undef $ac_func
34560 /* Override any gcc2 internal prototype to avoid an error. */
34561 #ifdef __cplusplus
34562 extern "C"
34564 #endif
34565 /* We use char because int might match the return type of a gcc2
34566 builtin and then its argument prototype would still apply. */
34567 char $ac_func ();
34568 /* The GNU C library defines this for functions which it implements
34569 to always fail with ENOSYS. Some functions are actually named
34570 something starting with __ and the normal name is an alias. */
34571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34572 choke me
34573 #else
34574 char (*f) () = $ac_func;
34575 #endif
34576 #ifdef __cplusplus
34578 #endif
34581 main ()
34583 return f != $ac_func;
34585 return 0;
34587 _ACEOF
34588 rm -f conftest.$ac_objext conftest$ac_exeext
34589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34590 (eval $ac_link) 2>conftest.er1
34591 ac_status=$?
34592 grep -v '^ *+' conftest.er1 >conftest.err
34593 rm -f conftest.er1
34594 cat conftest.err >&5
34595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34596 (exit $ac_status); } &&
34597 { ac_try='test -z "$ac_c_werror_flag"
34598 || test ! -s conftest.err'
34599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34600 (eval $ac_try) 2>&5
34601 ac_status=$?
34602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34603 (exit $ac_status); }; } &&
34604 { ac_try='test -s conftest$ac_exeext'
34605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34606 (eval $ac_try) 2>&5
34607 ac_status=$?
34608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34609 (exit $ac_status); }; }; then
34610 eval "$as_ac_var=yes"
34611 else
34612 echo "$as_me: failed program was:" >&5
34613 sed 's/^/| /' conftest.$ac_ext >&5
34615 eval "$as_ac_var=no"
34617 rm -f conftest.err conftest.$ac_objext \
34618 conftest$ac_exeext conftest.$ac_ext
34620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34622 if test `eval echo '${'$as_ac_var'}'` = yes; then
34623 cat >>confdefs.h <<_ACEOF
34624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34625 _ACEOF
34628 done
34638 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
34639 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
34640 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34641 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
34642 echo $ECHO_N "(cached) $ECHO_C" >&6
34643 else
34647 ac_ext=cc
34648 ac_cpp='$CXXCPP $CPPFLAGS'
34649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34653 cat >conftest.$ac_ext <<_ACEOF
34654 /* confdefs.h. */
34655 _ACEOF
34656 cat confdefs.h >>conftest.$ac_ext
34657 cat >>conftest.$ac_ext <<_ACEOF
34658 /* end confdefs.h. */
34659 #include <math.h>
34660 #ifdef HAVE_IEEEFP_H
34661 #include <ieeefp.h>
34662 #endif
34665 main ()
34667 sqrtl(0);
34669 return 0;
34671 _ACEOF
34672 rm -f conftest.$ac_objext
34673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34674 (eval $ac_compile) 2>conftest.er1
34675 ac_status=$?
34676 grep -v '^ *+' conftest.er1 >conftest.err
34677 rm -f conftest.er1
34678 cat conftest.err >&5
34679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34680 (exit $ac_status); } &&
34681 { ac_try='test -z "$ac_cxx_werror_flag"
34682 || test ! -s conftest.err'
34683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34684 (eval $ac_try) 2>&5
34685 ac_status=$?
34686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34687 (exit $ac_status); }; } &&
34688 { ac_try='test -s conftest.$ac_objext'
34689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34690 (eval $ac_try) 2>&5
34691 ac_status=$?
34692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34693 (exit $ac_status); }; }; then
34694 glibcxx_cv_func_sqrtl_use=yes
34695 else
34696 echo "$as_me: failed program was:" >&5
34697 sed 's/^/| /' conftest.$ac_ext >&5
34699 glibcxx_cv_func_sqrtl_use=no
34701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34702 ac_ext=c
34703 ac_cpp='$CPP $CPPFLAGS'
34704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34712 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
34713 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
34715 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34717 for ac_func in sqrtl
34719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34720 echo "$as_me:$LINENO: checking for $ac_func" >&5
34721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34722 if eval "test \"\${$as_ac_var+set}\" = set"; then
34723 echo $ECHO_N "(cached) $ECHO_C" >&6
34724 else
34725 if test x$gcc_no_link = xyes; then
34726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34728 { (exit 1); exit 1; }; }
34730 cat >conftest.$ac_ext <<_ACEOF
34731 /* confdefs.h. */
34732 _ACEOF
34733 cat confdefs.h >>conftest.$ac_ext
34734 cat >>conftest.$ac_ext <<_ACEOF
34735 /* end confdefs.h. */
34736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34738 #define $ac_func innocuous_$ac_func
34740 /* System header to define __stub macros and hopefully few prototypes,
34741 which can conflict with char $ac_func (); below.
34742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34743 <limits.h> exists even on freestanding compilers. */
34745 #ifdef __STDC__
34746 # include <limits.h>
34747 #else
34748 # include <assert.h>
34749 #endif
34751 #undef $ac_func
34753 /* Override any gcc2 internal prototype to avoid an error. */
34754 #ifdef __cplusplus
34755 extern "C"
34757 #endif
34758 /* We use char because int might match the return type of a gcc2
34759 builtin and then its argument prototype would still apply. */
34760 char $ac_func ();
34761 /* The GNU C library defines this for functions which it implements
34762 to always fail with ENOSYS. Some functions are actually named
34763 something starting with __ and the normal name is an alias. */
34764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34765 choke me
34766 #else
34767 char (*f) () = $ac_func;
34768 #endif
34769 #ifdef __cplusplus
34771 #endif
34774 main ()
34776 return f != $ac_func;
34778 return 0;
34780 _ACEOF
34781 rm -f conftest.$ac_objext conftest$ac_exeext
34782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34783 (eval $ac_link) 2>conftest.er1
34784 ac_status=$?
34785 grep -v '^ *+' conftest.er1 >conftest.err
34786 rm -f conftest.er1
34787 cat conftest.err >&5
34788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34789 (exit $ac_status); } &&
34790 { ac_try='test -z "$ac_c_werror_flag"
34791 || test ! -s conftest.err'
34792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34793 (eval $ac_try) 2>&5
34794 ac_status=$?
34795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34796 (exit $ac_status); }; } &&
34797 { ac_try='test -s conftest$ac_exeext'
34798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34799 (eval $ac_try) 2>&5
34800 ac_status=$?
34801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34802 (exit $ac_status); }; }; then
34803 eval "$as_ac_var=yes"
34804 else
34805 echo "$as_me: failed program was:" >&5
34806 sed 's/^/| /' conftest.$ac_ext >&5
34808 eval "$as_ac_var=no"
34810 rm -f conftest.err conftest.$ac_objext \
34811 conftest$ac_exeext conftest.$ac_ext
34813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34815 if test `eval echo '${'$as_ac_var'}'` = yes; then
34816 cat >>confdefs.h <<_ACEOF
34817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34818 _ACEOF
34821 done
34823 else
34825 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
34826 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
34827 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34828 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
34829 echo $ECHO_N "(cached) $ECHO_C" >&6
34830 else
34834 ac_ext=cc
34835 ac_cpp='$CXXCPP $CPPFLAGS'
34836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34840 cat >conftest.$ac_ext <<_ACEOF
34841 /* confdefs.h. */
34842 _ACEOF
34843 cat confdefs.h >>conftest.$ac_ext
34844 cat >>conftest.$ac_ext <<_ACEOF
34845 /* end confdefs.h. */
34846 #include <math.h>
34847 #ifdef HAVE_IEEEFP_H
34848 #include <ieeefp.h>
34849 #endif
34852 main ()
34854 _sqrtl(0);
34856 return 0;
34858 _ACEOF
34859 rm -f conftest.$ac_objext
34860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34861 (eval $ac_compile) 2>conftest.er1
34862 ac_status=$?
34863 grep -v '^ *+' conftest.er1 >conftest.err
34864 rm -f conftest.er1
34865 cat conftest.err >&5
34866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34867 (exit $ac_status); } &&
34868 { ac_try='test -z "$ac_cxx_werror_flag"
34869 || test ! -s conftest.err'
34870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34871 (eval $ac_try) 2>&5
34872 ac_status=$?
34873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34874 (exit $ac_status); }; } &&
34875 { ac_try='test -s conftest.$ac_objext'
34876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34877 (eval $ac_try) 2>&5
34878 ac_status=$?
34879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34880 (exit $ac_status); }; }; then
34881 glibcxx_cv_func__sqrtl_use=yes
34882 else
34883 echo "$as_me: failed program was:" >&5
34884 sed 's/^/| /' conftest.$ac_ext >&5
34886 glibcxx_cv_func__sqrtl_use=no
34888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34889 ac_ext=c
34890 ac_cpp='$CPP $CPPFLAGS'
34891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34899 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
34900 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
34902 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34904 for ac_func in _sqrtl
34906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34907 echo "$as_me:$LINENO: checking for $ac_func" >&5
34908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34909 if eval "test \"\${$as_ac_var+set}\" = set"; then
34910 echo $ECHO_N "(cached) $ECHO_C" >&6
34911 else
34912 if test x$gcc_no_link = xyes; then
34913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34915 { (exit 1); exit 1; }; }
34917 cat >conftest.$ac_ext <<_ACEOF
34918 /* confdefs.h. */
34919 _ACEOF
34920 cat confdefs.h >>conftest.$ac_ext
34921 cat >>conftest.$ac_ext <<_ACEOF
34922 /* end confdefs.h. */
34923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34925 #define $ac_func innocuous_$ac_func
34927 /* System header to define __stub macros and hopefully few prototypes,
34928 which can conflict with char $ac_func (); below.
34929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34930 <limits.h> exists even on freestanding compilers. */
34932 #ifdef __STDC__
34933 # include <limits.h>
34934 #else
34935 # include <assert.h>
34936 #endif
34938 #undef $ac_func
34940 /* Override any gcc2 internal prototype to avoid an error. */
34941 #ifdef __cplusplus
34942 extern "C"
34944 #endif
34945 /* We use char because int might match the return type of a gcc2
34946 builtin and then its argument prototype would still apply. */
34947 char $ac_func ();
34948 /* The GNU C library defines this for functions which it implements
34949 to always fail with ENOSYS. Some functions are actually named
34950 something starting with __ and the normal name is an alias. */
34951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34952 choke me
34953 #else
34954 char (*f) () = $ac_func;
34955 #endif
34956 #ifdef __cplusplus
34958 #endif
34961 main ()
34963 return f != $ac_func;
34965 return 0;
34967 _ACEOF
34968 rm -f conftest.$ac_objext conftest$ac_exeext
34969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34970 (eval $ac_link) 2>conftest.er1
34971 ac_status=$?
34972 grep -v '^ *+' conftest.er1 >conftest.err
34973 rm -f conftest.er1
34974 cat conftest.err >&5
34975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34976 (exit $ac_status); } &&
34977 { ac_try='test -z "$ac_c_werror_flag"
34978 || test ! -s conftest.err'
34979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34980 (eval $ac_try) 2>&5
34981 ac_status=$?
34982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34983 (exit $ac_status); }; } &&
34984 { ac_try='test -s conftest$ac_exeext'
34985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34986 (eval $ac_try) 2>&5
34987 ac_status=$?
34988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34989 (exit $ac_status); }; }; then
34990 eval "$as_ac_var=yes"
34991 else
34992 echo "$as_me: failed program was:" >&5
34993 sed 's/^/| /' conftest.$ac_ext >&5
34995 eval "$as_ac_var=no"
34997 rm -f conftest.err conftest.$ac_objext \
34998 conftest$ac_exeext conftest.$ac_ext
35000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35002 if test `eval echo '${'$as_ac_var'}'` = yes; then
35003 cat >>confdefs.h <<_ACEOF
35004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35005 _ACEOF
35008 done
35018 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
35019 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
35020 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35021 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
35022 echo $ECHO_N "(cached) $ECHO_C" >&6
35023 else
35027 ac_ext=cc
35028 ac_cpp='$CXXCPP $CPPFLAGS'
35029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35033 cat >conftest.$ac_ext <<_ACEOF
35034 /* confdefs.h. */
35035 _ACEOF
35036 cat confdefs.h >>conftest.$ac_ext
35037 cat >>conftest.$ac_ext <<_ACEOF
35038 /* end confdefs.h. */
35039 #include <math.h>
35041 main ()
35043 sincosl(0, 0, 0);
35045 return 0;
35047 _ACEOF
35048 rm -f conftest.$ac_objext
35049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35050 (eval $ac_compile) 2>conftest.er1
35051 ac_status=$?
35052 grep -v '^ *+' conftest.er1 >conftest.err
35053 rm -f conftest.er1
35054 cat conftest.err >&5
35055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35056 (exit $ac_status); } &&
35057 { ac_try='test -z "$ac_cxx_werror_flag"
35058 || test ! -s conftest.err'
35059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35060 (eval $ac_try) 2>&5
35061 ac_status=$?
35062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35063 (exit $ac_status); }; } &&
35064 { ac_try='test -s conftest.$ac_objext'
35065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35066 (eval $ac_try) 2>&5
35067 ac_status=$?
35068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35069 (exit $ac_status); }; }; then
35070 glibcxx_cv_func_sincosl_use=yes
35071 else
35072 echo "$as_me: failed program was:" >&5
35073 sed 's/^/| /' conftest.$ac_ext >&5
35075 glibcxx_cv_func_sincosl_use=no
35077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35078 ac_ext=c
35079 ac_cpp='$CPP $CPPFLAGS'
35080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35088 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
35089 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
35091 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35093 for ac_func in sincosl
35095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35096 echo "$as_me:$LINENO: checking for $ac_func" >&5
35097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35098 if eval "test \"\${$as_ac_var+set}\" = set"; then
35099 echo $ECHO_N "(cached) $ECHO_C" >&6
35100 else
35101 if test x$gcc_no_link = xyes; then
35102 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35103 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35104 { (exit 1); exit 1; }; }
35106 cat >conftest.$ac_ext <<_ACEOF
35107 /* confdefs.h. */
35108 _ACEOF
35109 cat confdefs.h >>conftest.$ac_ext
35110 cat >>conftest.$ac_ext <<_ACEOF
35111 /* end confdefs.h. */
35112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35114 #define $ac_func innocuous_$ac_func
35116 /* System header to define __stub macros and hopefully few prototypes,
35117 which can conflict with char $ac_func (); below.
35118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35119 <limits.h> exists even on freestanding compilers. */
35121 #ifdef __STDC__
35122 # include <limits.h>
35123 #else
35124 # include <assert.h>
35125 #endif
35127 #undef $ac_func
35129 /* Override any gcc2 internal prototype to avoid an error. */
35130 #ifdef __cplusplus
35131 extern "C"
35133 #endif
35134 /* We use char because int might match the return type of a gcc2
35135 builtin and then its argument prototype would still apply. */
35136 char $ac_func ();
35137 /* The GNU C library defines this for functions which it implements
35138 to always fail with ENOSYS. Some functions are actually named
35139 something starting with __ and the normal name is an alias. */
35140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35141 choke me
35142 #else
35143 char (*f) () = $ac_func;
35144 #endif
35145 #ifdef __cplusplus
35147 #endif
35150 main ()
35152 return f != $ac_func;
35154 return 0;
35156 _ACEOF
35157 rm -f conftest.$ac_objext conftest$ac_exeext
35158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35159 (eval $ac_link) 2>conftest.er1
35160 ac_status=$?
35161 grep -v '^ *+' conftest.er1 >conftest.err
35162 rm -f conftest.er1
35163 cat conftest.err >&5
35164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35165 (exit $ac_status); } &&
35166 { ac_try='test -z "$ac_c_werror_flag"
35167 || test ! -s conftest.err'
35168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35169 (eval $ac_try) 2>&5
35170 ac_status=$?
35171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35172 (exit $ac_status); }; } &&
35173 { ac_try='test -s conftest$ac_exeext'
35174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35175 (eval $ac_try) 2>&5
35176 ac_status=$?
35177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35178 (exit $ac_status); }; }; then
35179 eval "$as_ac_var=yes"
35180 else
35181 echo "$as_me: failed program was:" >&5
35182 sed 's/^/| /' conftest.$ac_ext >&5
35184 eval "$as_ac_var=no"
35186 rm -f conftest.err conftest.$ac_objext \
35187 conftest$ac_exeext conftest.$ac_ext
35189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35191 if test `eval echo '${'$as_ac_var'}'` = yes; then
35192 cat >>confdefs.h <<_ACEOF
35193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35194 _ACEOF
35197 done
35199 else
35201 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
35202 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
35203 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35204 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
35205 echo $ECHO_N "(cached) $ECHO_C" >&6
35206 else
35210 ac_ext=cc
35211 ac_cpp='$CXXCPP $CPPFLAGS'
35212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35216 cat >conftest.$ac_ext <<_ACEOF
35217 /* confdefs.h. */
35218 _ACEOF
35219 cat confdefs.h >>conftest.$ac_ext
35220 cat >>conftest.$ac_ext <<_ACEOF
35221 /* end confdefs.h. */
35222 #include <math.h>
35224 main ()
35226 _sincosl(0, 0, 0);
35228 return 0;
35230 _ACEOF
35231 rm -f conftest.$ac_objext
35232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35233 (eval $ac_compile) 2>conftest.er1
35234 ac_status=$?
35235 grep -v '^ *+' conftest.er1 >conftest.err
35236 rm -f conftest.er1
35237 cat conftest.err >&5
35238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35239 (exit $ac_status); } &&
35240 { ac_try='test -z "$ac_cxx_werror_flag"
35241 || test ! -s conftest.err'
35242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35243 (eval $ac_try) 2>&5
35244 ac_status=$?
35245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35246 (exit $ac_status); }; } &&
35247 { ac_try='test -s conftest.$ac_objext'
35248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35249 (eval $ac_try) 2>&5
35250 ac_status=$?
35251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35252 (exit $ac_status); }; }; then
35253 glibcxx_cv_func__sincosl_use=yes
35254 else
35255 echo "$as_me: failed program was:" >&5
35256 sed 's/^/| /' conftest.$ac_ext >&5
35258 glibcxx_cv_func__sincosl_use=no
35260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35261 ac_ext=c
35262 ac_cpp='$CPP $CPPFLAGS'
35263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35271 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
35272 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
35274 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35276 for ac_func in _sincosl
35278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35279 echo "$as_me:$LINENO: checking for $ac_func" >&5
35280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35281 if eval "test \"\${$as_ac_var+set}\" = set"; then
35282 echo $ECHO_N "(cached) $ECHO_C" >&6
35283 else
35284 if test x$gcc_no_link = xyes; then
35285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35287 { (exit 1); exit 1; }; }
35289 cat >conftest.$ac_ext <<_ACEOF
35290 /* confdefs.h. */
35291 _ACEOF
35292 cat confdefs.h >>conftest.$ac_ext
35293 cat >>conftest.$ac_ext <<_ACEOF
35294 /* end confdefs.h. */
35295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35297 #define $ac_func innocuous_$ac_func
35299 /* System header to define __stub macros and hopefully few prototypes,
35300 which can conflict with char $ac_func (); below.
35301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35302 <limits.h> exists even on freestanding compilers. */
35304 #ifdef __STDC__
35305 # include <limits.h>
35306 #else
35307 # include <assert.h>
35308 #endif
35310 #undef $ac_func
35312 /* Override any gcc2 internal prototype to avoid an error. */
35313 #ifdef __cplusplus
35314 extern "C"
35316 #endif
35317 /* We use char because int might match the return type of a gcc2
35318 builtin and then its argument prototype would still apply. */
35319 char $ac_func ();
35320 /* The GNU C library defines this for functions which it implements
35321 to always fail with ENOSYS. Some functions are actually named
35322 something starting with __ and the normal name is an alias. */
35323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35324 choke me
35325 #else
35326 char (*f) () = $ac_func;
35327 #endif
35328 #ifdef __cplusplus
35330 #endif
35333 main ()
35335 return f != $ac_func;
35337 return 0;
35339 _ACEOF
35340 rm -f conftest.$ac_objext conftest$ac_exeext
35341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35342 (eval $ac_link) 2>conftest.er1
35343 ac_status=$?
35344 grep -v '^ *+' conftest.er1 >conftest.err
35345 rm -f conftest.er1
35346 cat conftest.err >&5
35347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35348 (exit $ac_status); } &&
35349 { ac_try='test -z "$ac_c_werror_flag"
35350 || test ! -s conftest.err'
35351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35352 (eval $ac_try) 2>&5
35353 ac_status=$?
35354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35355 (exit $ac_status); }; } &&
35356 { ac_try='test -s conftest$ac_exeext'
35357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35358 (eval $ac_try) 2>&5
35359 ac_status=$?
35360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35361 (exit $ac_status); }; }; then
35362 eval "$as_ac_var=yes"
35363 else
35364 echo "$as_me: failed program was:" >&5
35365 sed 's/^/| /' conftest.$ac_ext >&5
35367 eval "$as_ac_var=no"
35369 rm -f conftest.err conftest.$ac_objext \
35370 conftest$ac_exeext conftest.$ac_ext
35372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35374 if test `eval echo '${'$as_ac_var'}'` = yes; then
35375 cat >>confdefs.h <<_ACEOF
35376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35377 _ACEOF
35380 done
35390 echo "$as_me:$LINENO: checking for finitel declaration" >&5
35391 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
35392 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35393 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
35394 echo $ECHO_N "(cached) $ECHO_C" >&6
35395 else
35399 ac_ext=cc
35400 ac_cpp='$CXXCPP $CPPFLAGS'
35401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35405 cat >conftest.$ac_ext <<_ACEOF
35406 /* confdefs.h. */
35407 _ACEOF
35408 cat confdefs.h >>conftest.$ac_ext
35409 cat >>conftest.$ac_ext <<_ACEOF
35410 /* end confdefs.h. */
35411 #include <math.h>
35412 #ifdef HAVE_IEEEFP_H
35413 #include <ieeefp.h>
35414 #endif
35417 main ()
35419 finitel(0);
35421 return 0;
35423 _ACEOF
35424 rm -f conftest.$ac_objext
35425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35426 (eval $ac_compile) 2>conftest.er1
35427 ac_status=$?
35428 grep -v '^ *+' conftest.er1 >conftest.err
35429 rm -f conftest.er1
35430 cat conftest.err >&5
35431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35432 (exit $ac_status); } &&
35433 { ac_try='test -z "$ac_cxx_werror_flag"
35434 || test ! -s conftest.err'
35435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35436 (eval $ac_try) 2>&5
35437 ac_status=$?
35438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35439 (exit $ac_status); }; } &&
35440 { ac_try='test -s conftest.$ac_objext'
35441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35442 (eval $ac_try) 2>&5
35443 ac_status=$?
35444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35445 (exit $ac_status); }; }; then
35446 glibcxx_cv_func_finitel_use=yes
35447 else
35448 echo "$as_me: failed program was:" >&5
35449 sed 's/^/| /' conftest.$ac_ext >&5
35451 glibcxx_cv_func_finitel_use=no
35453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35454 ac_ext=c
35455 ac_cpp='$CPP $CPPFLAGS'
35456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35464 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
35465 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
35467 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35469 for ac_func in finitel
35471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35472 echo "$as_me:$LINENO: checking for $ac_func" >&5
35473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35474 if eval "test \"\${$as_ac_var+set}\" = set"; then
35475 echo $ECHO_N "(cached) $ECHO_C" >&6
35476 else
35477 if test x$gcc_no_link = xyes; then
35478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35480 { (exit 1); exit 1; }; }
35482 cat >conftest.$ac_ext <<_ACEOF
35483 /* confdefs.h. */
35484 _ACEOF
35485 cat confdefs.h >>conftest.$ac_ext
35486 cat >>conftest.$ac_ext <<_ACEOF
35487 /* end confdefs.h. */
35488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35490 #define $ac_func innocuous_$ac_func
35492 /* System header to define __stub macros and hopefully few prototypes,
35493 which can conflict with char $ac_func (); below.
35494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35495 <limits.h> exists even on freestanding compilers. */
35497 #ifdef __STDC__
35498 # include <limits.h>
35499 #else
35500 # include <assert.h>
35501 #endif
35503 #undef $ac_func
35505 /* Override any gcc2 internal prototype to avoid an error. */
35506 #ifdef __cplusplus
35507 extern "C"
35509 #endif
35510 /* We use char because int might match the return type of a gcc2
35511 builtin and then its argument prototype would still apply. */
35512 char $ac_func ();
35513 /* The GNU C library defines this for functions which it implements
35514 to always fail with ENOSYS. Some functions are actually named
35515 something starting with __ and the normal name is an alias. */
35516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35517 choke me
35518 #else
35519 char (*f) () = $ac_func;
35520 #endif
35521 #ifdef __cplusplus
35523 #endif
35526 main ()
35528 return f != $ac_func;
35530 return 0;
35532 _ACEOF
35533 rm -f conftest.$ac_objext conftest$ac_exeext
35534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35535 (eval $ac_link) 2>conftest.er1
35536 ac_status=$?
35537 grep -v '^ *+' conftest.er1 >conftest.err
35538 rm -f conftest.er1
35539 cat conftest.err >&5
35540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35541 (exit $ac_status); } &&
35542 { ac_try='test -z "$ac_c_werror_flag"
35543 || test ! -s conftest.err'
35544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35545 (eval $ac_try) 2>&5
35546 ac_status=$?
35547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35548 (exit $ac_status); }; } &&
35549 { ac_try='test -s conftest$ac_exeext'
35550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35551 (eval $ac_try) 2>&5
35552 ac_status=$?
35553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35554 (exit $ac_status); }; }; then
35555 eval "$as_ac_var=yes"
35556 else
35557 echo "$as_me: failed program was:" >&5
35558 sed 's/^/| /' conftest.$ac_ext >&5
35560 eval "$as_ac_var=no"
35562 rm -f conftest.err conftest.$ac_objext \
35563 conftest$ac_exeext conftest.$ac_ext
35565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35567 if test `eval echo '${'$as_ac_var'}'` = yes; then
35568 cat >>confdefs.h <<_ACEOF
35569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35570 _ACEOF
35573 done
35575 else
35577 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
35578 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
35579 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35580 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
35581 echo $ECHO_N "(cached) $ECHO_C" >&6
35582 else
35586 ac_ext=cc
35587 ac_cpp='$CXXCPP $CPPFLAGS'
35588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35592 cat >conftest.$ac_ext <<_ACEOF
35593 /* confdefs.h. */
35594 _ACEOF
35595 cat confdefs.h >>conftest.$ac_ext
35596 cat >>conftest.$ac_ext <<_ACEOF
35597 /* end confdefs.h. */
35598 #include <math.h>
35599 #ifdef HAVE_IEEEFP_H
35600 #include <ieeefp.h>
35601 #endif
35604 main ()
35606 _finitel(0);
35608 return 0;
35610 _ACEOF
35611 rm -f conftest.$ac_objext
35612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35613 (eval $ac_compile) 2>conftest.er1
35614 ac_status=$?
35615 grep -v '^ *+' conftest.er1 >conftest.err
35616 rm -f conftest.er1
35617 cat conftest.err >&5
35618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35619 (exit $ac_status); } &&
35620 { ac_try='test -z "$ac_cxx_werror_flag"
35621 || test ! -s conftest.err'
35622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35623 (eval $ac_try) 2>&5
35624 ac_status=$?
35625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35626 (exit $ac_status); }; } &&
35627 { ac_try='test -s conftest.$ac_objext'
35628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35629 (eval $ac_try) 2>&5
35630 ac_status=$?
35631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35632 (exit $ac_status); }; }; then
35633 glibcxx_cv_func__finitel_use=yes
35634 else
35635 echo "$as_me: failed program was:" >&5
35636 sed 's/^/| /' conftest.$ac_ext >&5
35638 glibcxx_cv_func__finitel_use=no
35640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35641 ac_ext=c
35642 ac_cpp='$CPP $CPPFLAGS'
35643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35651 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
35652 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
35654 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35656 for ac_func in _finitel
35658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35659 echo "$as_me:$LINENO: checking for $ac_func" >&5
35660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35661 if eval "test \"\${$as_ac_var+set}\" = set"; then
35662 echo $ECHO_N "(cached) $ECHO_C" >&6
35663 else
35664 if test x$gcc_no_link = xyes; then
35665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35667 { (exit 1); exit 1; }; }
35669 cat >conftest.$ac_ext <<_ACEOF
35670 /* confdefs.h. */
35671 _ACEOF
35672 cat confdefs.h >>conftest.$ac_ext
35673 cat >>conftest.$ac_ext <<_ACEOF
35674 /* end confdefs.h. */
35675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35677 #define $ac_func innocuous_$ac_func
35679 /* System header to define __stub macros and hopefully few prototypes,
35680 which can conflict with char $ac_func (); below.
35681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35682 <limits.h> exists even on freestanding compilers. */
35684 #ifdef __STDC__
35685 # include <limits.h>
35686 #else
35687 # include <assert.h>
35688 #endif
35690 #undef $ac_func
35692 /* Override any gcc2 internal prototype to avoid an error. */
35693 #ifdef __cplusplus
35694 extern "C"
35696 #endif
35697 /* We use char because int might match the return type of a gcc2
35698 builtin and then its argument prototype would still apply. */
35699 char $ac_func ();
35700 /* The GNU C library defines this for functions which it implements
35701 to always fail with ENOSYS. Some functions are actually named
35702 something starting with __ and the normal name is an alias. */
35703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35704 choke me
35705 #else
35706 char (*f) () = $ac_func;
35707 #endif
35708 #ifdef __cplusplus
35710 #endif
35713 main ()
35715 return f != $ac_func;
35717 return 0;
35719 _ACEOF
35720 rm -f conftest.$ac_objext conftest$ac_exeext
35721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35722 (eval $ac_link) 2>conftest.er1
35723 ac_status=$?
35724 grep -v '^ *+' conftest.er1 >conftest.err
35725 rm -f conftest.er1
35726 cat conftest.err >&5
35727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35728 (exit $ac_status); } &&
35729 { ac_try='test -z "$ac_c_werror_flag"
35730 || test ! -s conftest.err'
35731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35732 (eval $ac_try) 2>&5
35733 ac_status=$?
35734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35735 (exit $ac_status); }; } &&
35736 { ac_try='test -s conftest$ac_exeext'
35737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35738 (eval $ac_try) 2>&5
35739 ac_status=$?
35740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35741 (exit $ac_status); }; }; then
35742 eval "$as_ac_var=yes"
35743 else
35744 echo "$as_me: failed program was:" >&5
35745 sed 's/^/| /' conftest.$ac_ext >&5
35747 eval "$as_ac_var=no"
35749 rm -f conftest.err conftest.$ac_objext \
35750 conftest$ac_exeext conftest.$ac_ext
35752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35754 if test `eval echo '${'$as_ac_var'}'` = yes; then
35755 cat >>confdefs.h <<_ACEOF
35756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35757 _ACEOF
35760 done
35769 LIBS="$ac_save_LIBS"
35770 CXXFLAGS="$ac_save_CXXFLAGS"
35774 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
35775 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
35776 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
35777 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
35778 echo $ECHO_N "(cached) $ECHO_C" >&6
35779 else
35783 ac_ext=cc
35784 ac_cpp='$CXXCPP $CPPFLAGS'
35785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35789 cat >conftest.$ac_ext <<_ACEOF
35790 /* confdefs.h. */
35791 _ACEOF
35792 cat confdefs.h >>conftest.$ac_ext
35793 cat >>conftest.$ac_ext <<_ACEOF
35794 /* end confdefs.h. */
35795 #include <math.h>
35797 main ()
35799 __builtin_abs(0);
35801 return 0;
35803 _ACEOF
35804 rm -f conftest.$ac_objext
35805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35806 (eval $ac_compile) 2>conftest.er1
35807 ac_status=$?
35808 grep -v '^ *+' conftest.er1 >conftest.err
35809 rm -f conftest.er1
35810 cat conftest.err >&5
35811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35812 (exit $ac_status); } &&
35813 { ac_try='test -z "$ac_cxx_werror_flag"
35814 || test ! -s conftest.err'
35815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35816 (eval $ac_try) 2>&5
35817 ac_status=$?
35818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35819 (exit $ac_status); }; } &&
35820 { ac_try='test -s conftest.$ac_objext'
35821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35822 (eval $ac_try) 2>&5
35823 ac_status=$?
35824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35825 (exit $ac_status); }; }; then
35826 glibcxx_cv_func___builtin_abs_use=yes
35827 else
35828 echo "$as_me: failed program was:" >&5
35829 sed 's/^/| /' conftest.$ac_ext >&5
35831 glibcxx_cv_func___builtin_abs_use=no
35833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35834 ac_ext=c
35835 ac_cpp='$CPP $CPPFLAGS'
35836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35844 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
35845 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
35846 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
35847 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
35848 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
35849 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
35850 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
35851 echo $ECHO_N "(cached) $ECHO_C" >&6
35852 else
35854 if test x$gcc_no_link = xyes; then
35855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35857 { (exit 1); exit 1; }; }
35859 cat >conftest.$ac_ext <<_ACEOF
35860 /* confdefs.h. */
35861 _ACEOF
35862 cat confdefs.h >>conftest.$ac_ext
35863 cat >>conftest.$ac_ext <<_ACEOF
35864 /* end confdefs.h. */
35865 #include <math.h>
35867 main ()
35869 __builtin_abs(0);
35871 return 0;
35873 _ACEOF
35874 rm -f conftest.$ac_objext conftest$ac_exeext
35875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35876 (eval $ac_link) 2>conftest.er1
35877 ac_status=$?
35878 grep -v '^ *+' conftest.er1 >conftest.err
35879 rm -f conftest.er1
35880 cat conftest.err >&5
35881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35882 (exit $ac_status); } &&
35883 { ac_try='test -z "$ac_c_werror_flag"
35884 || test ! -s conftest.err'
35885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35886 (eval $ac_try) 2>&5
35887 ac_status=$?
35888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35889 (exit $ac_status); }; } &&
35890 { ac_try='test -s conftest$ac_exeext'
35891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35892 (eval $ac_try) 2>&5
35893 ac_status=$?
35894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35895 (exit $ac_status); }; }; then
35896 glibcxx_cv_func___builtin_abs_link=yes
35897 else
35898 echo "$as_me: failed program was:" >&5
35899 sed 's/^/| /' conftest.$ac_ext >&5
35901 glibcxx_cv_func___builtin_abs_link=no
35903 rm -f conftest.err conftest.$ac_objext \
35904 conftest$ac_exeext conftest.$ac_ext
35909 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
35910 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
35912 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
35914 cat >>confdefs.h <<\_ACEOF
35915 #define HAVE___BUILTIN_ABS 1
35916 _ACEOF
35923 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
35924 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
35925 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
35926 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
35927 echo $ECHO_N "(cached) $ECHO_C" >&6
35928 else
35932 ac_ext=cc
35933 ac_cpp='$CXXCPP $CPPFLAGS'
35934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35938 cat >conftest.$ac_ext <<_ACEOF
35939 /* confdefs.h. */
35940 _ACEOF
35941 cat confdefs.h >>conftest.$ac_ext
35942 cat >>conftest.$ac_ext <<_ACEOF
35943 /* end confdefs.h. */
35944 #include <math.h>
35946 main ()
35948 __builtin_fabsf(0);
35950 return 0;
35952 _ACEOF
35953 rm -f conftest.$ac_objext
35954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35955 (eval $ac_compile) 2>conftest.er1
35956 ac_status=$?
35957 grep -v '^ *+' conftest.er1 >conftest.err
35958 rm -f conftest.er1
35959 cat conftest.err >&5
35960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35961 (exit $ac_status); } &&
35962 { ac_try='test -z "$ac_cxx_werror_flag"
35963 || test ! -s conftest.err'
35964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35965 (eval $ac_try) 2>&5
35966 ac_status=$?
35967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35968 (exit $ac_status); }; } &&
35969 { ac_try='test -s conftest.$ac_objext'
35970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35971 (eval $ac_try) 2>&5
35972 ac_status=$?
35973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35974 (exit $ac_status); }; }; then
35975 glibcxx_cv_func___builtin_fabsf_use=yes
35976 else
35977 echo "$as_me: failed program was:" >&5
35978 sed 's/^/| /' conftest.$ac_ext >&5
35980 glibcxx_cv_func___builtin_fabsf_use=no
35982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35983 ac_ext=c
35984 ac_cpp='$CPP $CPPFLAGS'
35985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35993 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
35994 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
35995 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
35996 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
35997 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
35998 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
35999 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
36000 echo $ECHO_N "(cached) $ECHO_C" >&6
36001 else
36003 if test x$gcc_no_link = xyes; then
36004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36006 { (exit 1); exit 1; }; }
36008 cat >conftest.$ac_ext <<_ACEOF
36009 /* confdefs.h. */
36010 _ACEOF
36011 cat confdefs.h >>conftest.$ac_ext
36012 cat >>conftest.$ac_ext <<_ACEOF
36013 /* end confdefs.h. */
36014 #include <math.h>
36016 main ()
36018 __builtin_fabsf(0);
36020 return 0;
36022 _ACEOF
36023 rm -f conftest.$ac_objext conftest$ac_exeext
36024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36025 (eval $ac_link) 2>conftest.er1
36026 ac_status=$?
36027 grep -v '^ *+' conftest.er1 >conftest.err
36028 rm -f conftest.er1
36029 cat conftest.err >&5
36030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36031 (exit $ac_status); } &&
36032 { ac_try='test -z "$ac_c_werror_flag"
36033 || test ! -s conftest.err'
36034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36035 (eval $ac_try) 2>&5
36036 ac_status=$?
36037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36038 (exit $ac_status); }; } &&
36039 { ac_try='test -s conftest$ac_exeext'
36040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36041 (eval $ac_try) 2>&5
36042 ac_status=$?
36043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36044 (exit $ac_status); }; }; then
36045 glibcxx_cv_func___builtin_fabsf_link=yes
36046 else
36047 echo "$as_me: failed program was:" >&5
36048 sed 's/^/| /' conftest.$ac_ext >&5
36050 glibcxx_cv_func___builtin_fabsf_link=no
36052 rm -f conftest.err conftest.$ac_objext \
36053 conftest$ac_exeext conftest.$ac_ext
36058 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
36059 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
36061 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
36063 cat >>confdefs.h <<\_ACEOF
36064 #define HAVE___BUILTIN_FABSF 1
36065 _ACEOF
36072 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
36073 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
36074 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
36075 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
36076 echo $ECHO_N "(cached) $ECHO_C" >&6
36077 else
36081 ac_ext=cc
36082 ac_cpp='$CXXCPP $CPPFLAGS'
36083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36087 cat >conftest.$ac_ext <<_ACEOF
36088 /* confdefs.h. */
36089 _ACEOF
36090 cat confdefs.h >>conftest.$ac_ext
36091 cat >>conftest.$ac_ext <<_ACEOF
36092 /* end confdefs.h. */
36093 #include <math.h>
36095 main ()
36097 __builtin_fabs(0);
36099 return 0;
36101 _ACEOF
36102 rm -f conftest.$ac_objext
36103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36104 (eval $ac_compile) 2>conftest.er1
36105 ac_status=$?
36106 grep -v '^ *+' conftest.er1 >conftest.err
36107 rm -f conftest.er1
36108 cat conftest.err >&5
36109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36110 (exit $ac_status); } &&
36111 { ac_try='test -z "$ac_cxx_werror_flag"
36112 || test ! -s conftest.err'
36113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36114 (eval $ac_try) 2>&5
36115 ac_status=$?
36116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36117 (exit $ac_status); }; } &&
36118 { ac_try='test -s conftest.$ac_objext'
36119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36120 (eval $ac_try) 2>&5
36121 ac_status=$?
36122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36123 (exit $ac_status); }; }; then
36124 glibcxx_cv_func___builtin_fabs_use=yes
36125 else
36126 echo "$as_me: failed program was:" >&5
36127 sed 's/^/| /' conftest.$ac_ext >&5
36129 glibcxx_cv_func___builtin_fabs_use=no
36131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36132 ac_ext=c
36133 ac_cpp='$CPP $CPPFLAGS'
36134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36142 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
36143 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
36144 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
36145 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
36146 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
36147 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
36148 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
36149 echo $ECHO_N "(cached) $ECHO_C" >&6
36150 else
36152 if test x$gcc_no_link = xyes; then
36153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36155 { (exit 1); exit 1; }; }
36157 cat >conftest.$ac_ext <<_ACEOF
36158 /* confdefs.h. */
36159 _ACEOF
36160 cat confdefs.h >>conftest.$ac_ext
36161 cat >>conftest.$ac_ext <<_ACEOF
36162 /* end confdefs.h. */
36163 #include <math.h>
36165 main ()
36167 __builtin_fabs(0);
36169 return 0;
36171 _ACEOF
36172 rm -f conftest.$ac_objext conftest$ac_exeext
36173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36174 (eval $ac_link) 2>conftest.er1
36175 ac_status=$?
36176 grep -v '^ *+' conftest.er1 >conftest.err
36177 rm -f conftest.er1
36178 cat conftest.err >&5
36179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36180 (exit $ac_status); } &&
36181 { ac_try='test -z "$ac_c_werror_flag"
36182 || test ! -s conftest.err'
36183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36184 (eval $ac_try) 2>&5
36185 ac_status=$?
36186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36187 (exit $ac_status); }; } &&
36188 { ac_try='test -s conftest$ac_exeext'
36189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36190 (eval $ac_try) 2>&5
36191 ac_status=$?
36192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36193 (exit $ac_status); }; }; then
36194 glibcxx_cv_func___builtin_fabs_link=yes
36195 else
36196 echo "$as_me: failed program was:" >&5
36197 sed 's/^/| /' conftest.$ac_ext >&5
36199 glibcxx_cv_func___builtin_fabs_link=no
36201 rm -f conftest.err conftest.$ac_objext \
36202 conftest$ac_exeext conftest.$ac_ext
36207 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
36208 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
36210 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
36212 cat >>confdefs.h <<\_ACEOF
36213 #define HAVE___BUILTIN_FABS 1
36214 _ACEOF
36221 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
36222 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
36223 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
36224 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
36225 echo $ECHO_N "(cached) $ECHO_C" >&6
36226 else
36230 ac_ext=cc
36231 ac_cpp='$CXXCPP $CPPFLAGS'
36232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36236 cat >conftest.$ac_ext <<_ACEOF
36237 /* confdefs.h. */
36238 _ACEOF
36239 cat confdefs.h >>conftest.$ac_ext
36240 cat >>conftest.$ac_ext <<_ACEOF
36241 /* end confdefs.h. */
36242 #include <math.h>
36244 main ()
36246 __builtin_fabsl(0);
36248 return 0;
36250 _ACEOF
36251 rm -f conftest.$ac_objext
36252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36253 (eval $ac_compile) 2>conftest.er1
36254 ac_status=$?
36255 grep -v '^ *+' conftest.er1 >conftest.err
36256 rm -f conftest.er1
36257 cat conftest.err >&5
36258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36259 (exit $ac_status); } &&
36260 { ac_try='test -z "$ac_cxx_werror_flag"
36261 || test ! -s conftest.err'
36262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36263 (eval $ac_try) 2>&5
36264 ac_status=$?
36265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36266 (exit $ac_status); }; } &&
36267 { ac_try='test -s conftest.$ac_objext'
36268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36269 (eval $ac_try) 2>&5
36270 ac_status=$?
36271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36272 (exit $ac_status); }; }; then
36273 glibcxx_cv_func___builtin_fabsl_use=yes
36274 else
36275 echo "$as_me: failed program was:" >&5
36276 sed 's/^/| /' conftest.$ac_ext >&5
36278 glibcxx_cv_func___builtin_fabsl_use=no
36280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36281 ac_ext=c
36282 ac_cpp='$CPP $CPPFLAGS'
36283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36291 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
36292 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
36293 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
36294 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
36295 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
36296 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
36297 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
36298 echo $ECHO_N "(cached) $ECHO_C" >&6
36299 else
36301 if test x$gcc_no_link = xyes; then
36302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36304 { (exit 1); exit 1; }; }
36306 cat >conftest.$ac_ext <<_ACEOF
36307 /* confdefs.h. */
36308 _ACEOF
36309 cat confdefs.h >>conftest.$ac_ext
36310 cat >>conftest.$ac_ext <<_ACEOF
36311 /* end confdefs.h. */
36312 #include <math.h>
36314 main ()
36316 __builtin_fabsl(0);
36318 return 0;
36320 _ACEOF
36321 rm -f conftest.$ac_objext conftest$ac_exeext
36322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36323 (eval $ac_link) 2>conftest.er1
36324 ac_status=$?
36325 grep -v '^ *+' conftest.er1 >conftest.err
36326 rm -f conftest.er1
36327 cat conftest.err >&5
36328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36329 (exit $ac_status); } &&
36330 { ac_try='test -z "$ac_c_werror_flag"
36331 || test ! -s conftest.err'
36332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36333 (eval $ac_try) 2>&5
36334 ac_status=$?
36335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36336 (exit $ac_status); }; } &&
36337 { ac_try='test -s conftest$ac_exeext'
36338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36339 (eval $ac_try) 2>&5
36340 ac_status=$?
36341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36342 (exit $ac_status); }; }; then
36343 glibcxx_cv_func___builtin_fabsl_link=yes
36344 else
36345 echo "$as_me: failed program was:" >&5
36346 sed 's/^/| /' conftest.$ac_ext >&5
36348 glibcxx_cv_func___builtin_fabsl_link=no
36350 rm -f conftest.err conftest.$ac_objext \
36351 conftest$ac_exeext conftest.$ac_ext
36356 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
36357 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
36359 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
36361 cat >>confdefs.h <<\_ACEOF
36362 #define HAVE___BUILTIN_FABSL 1
36363 _ACEOF
36370 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
36371 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
36372 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
36373 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
36374 echo $ECHO_N "(cached) $ECHO_C" >&6
36375 else
36379 ac_ext=cc
36380 ac_cpp='$CXXCPP $CPPFLAGS'
36381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36385 cat >conftest.$ac_ext <<_ACEOF
36386 /* confdefs.h. */
36387 _ACEOF
36388 cat confdefs.h >>conftest.$ac_ext
36389 cat >>conftest.$ac_ext <<_ACEOF
36390 /* end confdefs.h. */
36391 #include <math.h>
36393 main ()
36395 __builtin_labs(0);
36397 return 0;
36399 _ACEOF
36400 rm -f conftest.$ac_objext
36401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36402 (eval $ac_compile) 2>conftest.er1
36403 ac_status=$?
36404 grep -v '^ *+' conftest.er1 >conftest.err
36405 rm -f conftest.er1
36406 cat conftest.err >&5
36407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36408 (exit $ac_status); } &&
36409 { ac_try='test -z "$ac_cxx_werror_flag"
36410 || test ! -s conftest.err'
36411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36412 (eval $ac_try) 2>&5
36413 ac_status=$?
36414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36415 (exit $ac_status); }; } &&
36416 { ac_try='test -s conftest.$ac_objext'
36417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36418 (eval $ac_try) 2>&5
36419 ac_status=$?
36420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36421 (exit $ac_status); }; }; then
36422 glibcxx_cv_func___builtin_labs_use=yes
36423 else
36424 echo "$as_me: failed program was:" >&5
36425 sed 's/^/| /' conftest.$ac_ext >&5
36427 glibcxx_cv_func___builtin_labs_use=no
36429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36430 ac_ext=c
36431 ac_cpp='$CPP $CPPFLAGS'
36432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36440 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
36441 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
36442 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
36443 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
36444 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
36445 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
36446 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
36447 echo $ECHO_N "(cached) $ECHO_C" >&6
36448 else
36450 if test x$gcc_no_link = xyes; then
36451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36453 { (exit 1); exit 1; }; }
36455 cat >conftest.$ac_ext <<_ACEOF
36456 /* confdefs.h. */
36457 _ACEOF
36458 cat confdefs.h >>conftest.$ac_ext
36459 cat >>conftest.$ac_ext <<_ACEOF
36460 /* end confdefs.h. */
36461 #include <math.h>
36463 main ()
36465 __builtin_labs(0);
36467 return 0;
36469 _ACEOF
36470 rm -f conftest.$ac_objext conftest$ac_exeext
36471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36472 (eval $ac_link) 2>conftest.er1
36473 ac_status=$?
36474 grep -v '^ *+' conftest.er1 >conftest.err
36475 rm -f conftest.er1
36476 cat conftest.err >&5
36477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36478 (exit $ac_status); } &&
36479 { ac_try='test -z "$ac_c_werror_flag"
36480 || test ! -s conftest.err'
36481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36482 (eval $ac_try) 2>&5
36483 ac_status=$?
36484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36485 (exit $ac_status); }; } &&
36486 { ac_try='test -s conftest$ac_exeext'
36487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36488 (eval $ac_try) 2>&5
36489 ac_status=$?
36490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36491 (exit $ac_status); }; }; then
36492 glibcxx_cv_func___builtin_labs_link=yes
36493 else
36494 echo "$as_me: failed program was:" >&5
36495 sed 's/^/| /' conftest.$ac_ext >&5
36497 glibcxx_cv_func___builtin_labs_link=no
36499 rm -f conftest.err conftest.$ac_objext \
36500 conftest$ac_exeext conftest.$ac_ext
36505 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
36506 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
36508 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
36510 cat >>confdefs.h <<\_ACEOF
36511 #define HAVE___BUILTIN_LABS 1
36512 _ACEOF
36520 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
36521 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
36522 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
36523 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
36524 echo $ECHO_N "(cached) $ECHO_C" >&6
36525 else
36529 ac_ext=cc
36530 ac_cpp='$CXXCPP $CPPFLAGS'
36531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36535 cat >conftest.$ac_ext <<_ACEOF
36536 /* confdefs.h. */
36537 _ACEOF
36538 cat confdefs.h >>conftest.$ac_ext
36539 cat >>conftest.$ac_ext <<_ACEOF
36540 /* end confdefs.h. */
36541 #include <math.h>
36543 main ()
36545 __builtin_sqrtf(0);
36547 return 0;
36549 _ACEOF
36550 rm -f conftest.$ac_objext
36551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36552 (eval $ac_compile) 2>conftest.er1
36553 ac_status=$?
36554 grep -v '^ *+' conftest.er1 >conftest.err
36555 rm -f conftest.er1
36556 cat conftest.err >&5
36557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36558 (exit $ac_status); } &&
36559 { ac_try='test -z "$ac_cxx_werror_flag"
36560 || test ! -s conftest.err'
36561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36562 (eval $ac_try) 2>&5
36563 ac_status=$?
36564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36565 (exit $ac_status); }; } &&
36566 { ac_try='test -s conftest.$ac_objext'
36567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36568 (eval $ac_try) 2>&5
36569 ac_status=$?
36570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36571 (exit $ac_status); }; }; then
36572 glibcxx_cv_func___builtin_sqrtf_use=yes
36573 else
36574 echo "$as_me: failed program was:" >&5
36575 sed 's/^/| /' conftest.$ac_ext >&5
36577 glibcxx_cv_func___builtin_sqrtf_use=no
36579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36580 ac_ext=c
36581 ac_cpp='$CPP $CPPFLAGS'
36582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36590 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
36591 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
36592 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
36593 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
36594 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
36595 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
36596 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
36597 echo $ECHO_N "(cached) $ECHO_C" >&6
36598 else
36600 if test x$gcc_no_link = xyes; then
36601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36603 { (exit 1); exit 1; }; }
36605 cat >conftest.$ac_ext <<_ACEOF
36606 /* confdefs.h. */
36607 _ACEOF
36608 cat confdefs.h >>conftest.$ac_ext
36609 cat >>conftest.$ac_ext <<_ACEOF
36610 /* end confdefs.h. */
36611 #include <math.h>
36613 main ()
36615 __builtin_sqrtf(0);
36617 return 0;
36619 _ACEOF
36620 rm -f conftest.$ac_objext conftest$ac_exeext
36621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36622 (eval $ac_link) 2>conftest.er1
36623 ac_status=$?
36624 grep -v '^ *+' conftest.er1 >conftest.err
36625 rm -f conftest.er1
36626 cat conftest.err >&5
36627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36628 (exit $ac_status); } &&
36629 { ac_try='test -z "$ac_c_werror_flag"
36630 || test ! -s conftest.err'
36631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36632 (eval $ac_try) 2>&5
36633 ac_status=$?
36634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36635 (exit $ac_status); }; } &&
36636 { ac_try='test -s conftest$ac_exeext'
36637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36638 (eval $ac_try) 2>&5
36639 ac_status=$?
36640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36641 (exit $ac_status); }; }; then
36642 glibcxx_cv_func___builtin_sqrtf_link=yes
36643 else
36644 echo "$as_me: failed program was:" >&5
36645 sed 's/^/| /' conftest.$ac_ext >&5
36647 glibcxx_cv_func___builtin_sqrtf_link=no
36649 rm -f conftest.err conftest.$ac_objext \
36650 conftest$ac_exeext conftest.$ac_ext
36655 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
36656 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
36658 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
36660 cat >>confdefs.h <<\_ACEOF
36661 #define HAVE___BUILTIN_SQRTF 1
36662 _ACEOF
36669 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
36670 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
36671 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
36672 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
36673 echo $ECHO_N "(cached) $ECHO_C" >&6
36674 else
36678 ac_ext=cc
36679 ac_cpp='$CXXCPP $CPPFLAGS'
36680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36684 cat >conftest.$ac_ext <<_ACEOF
36685 /* confdefs.h. */
36686 _ACEOF
36687 cat confdefs.h >>conftest.$ac_ext
36688 cat >>conftest.$ac_ext <<_ACEOF
36689 /* end confdefs.h. */
36690 #include <math.h>
36692 main ()
36694 __builtin_sqrt(0);
36696 return 0;
36698 _ACEOF
36699 rm -f conftest.$ac_objext
36700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36701 (eval $ac_compile) 2>conftest.er1
36702 ac_status=$?
36703 grep -v '^ *+' conftest.er1 >conftest.err
36704 rm -f conftest.er1
36705 cat conftest.err >&5
36706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36707 (exit $ac_status); } &&
36708 { ac_try='test -z "$ac_cxx_werror_flag"
36709 || test ! -s conftest.err'
36710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36711 (eval $ac_try) 2>&5
36712 ac_status=$?
36713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36714 (exit $ac_status); }; } &&
36715 { ac_try='test -s conftest.$ac_objext'
36716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36717 (eval $ac_try) 2>&5
36718 ac_status=$?
36719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36720 (exit $ac_status); }; }; then
36721 glibcxx_cv_func___builtin_sqrt_use=yes
36722 else
36723 echo "$as_me: failed program was:" >&5
36724 sed 's/^/| /' conftest.$ac_ext >&5
36726 glibcxx_cv_func___builtin_sqrt_use=no
36728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36729 ac_ext=c
36730 ac_cpp='$CPP $CPPFLAGS'
36731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36739 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
36740 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
36741 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
36742 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
36743 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
36744 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
36745 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
36746 echo $ECHO_N "(cached) $ECHO_C" >&6
36747 else
36749 if test x$gcc_no_link = xyes; then
36750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36752 { (exit 1); exit 1; }; }
36754 cat >conftest.$ac_ext <<_ACEOF
36755 /* confdefs.h. */
36756 _ACEOF
36757 cat confdefs.h >>conftest.$ac_ext
36758 cat >>conftest.$ac_ext <<_ACEOF
36759 /* end confdefs.h. */
36760 #include <math.h>
36762 main ()
36764 __builtin_sqrt(0);
36766 return 0;
36768 _ACEOF
36769 rm -f conftest.$ac_objext conftest$ac_exeext
36770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36771 (eval $ac_link) 2>conftest.er1
36772 ac_status=$?
36773 grep -v '^ *+' conftest.er1 >conftest.err
36774 rm -f conftest.er1
36775 cat conftest.err >&5
36776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36777 (exit $ac_status); } &&
36778 { ac_try='test -z "$ac_c_werror_flag"
36779 || test ! -s conftest.err'
36780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36781 (eval $ac_try) 2>&5
36782 ac_status=$?
36783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36784 (exit $ac_status); }; } &&
36785 { ac_try='test -s conftest$ac_exeext'
36786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36787 (eval $ac_try) 2>&5
36788 ac_status=$?
36789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36790 (exit $ac_status); }; }; then
36791 glibcxx_cv_func___builtin_sqrt_link=yes
36792 else
36793 echo "$as_me: failed program was:" >&5
36794 sed 's/^/| /' conftest.$ac_ext >&5
36796 glibcxx_cv_func___builtin_sqrt_link=no
36798 rm -f conftest.err conftest.$ac_objext \
36799 conftest$ac_exeext conftest.$ac_ext
36804 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
36805 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
36807 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
36809 cat >>confdefs.h <<\_ACEOF
36810 #define HAVE___BUILTIN_SQRT 1
36811 _ACEOF
36818 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
36819 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
36820 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
36821 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
36822 echo $ECHO_N "(cached) $ECHO_C" >&6
36823 else
36827 ac_ext=cc
36828 ac_cpp='$CXXCPP $CPPFLAGS'
36829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36833 cat >conftest.$ac_ext <<_ACEOF
36834 /* confdefs.h. */
36835 _ACEOF
36836 cat confdefs.h >>conftest.$ac_ext
36837 cat >>conftest.$ac_ext <<_ACEOF
36838 /* end confdefs.h. */
36839 #include <math.h>
36841 main ()
36843 __builtin_sqrtl(0);
36845 return 0;
36847 _ACEOF
36848 rm -f conftest.$ac_objext
36849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36850 (eval $ac_compile) 2>conftest.er1
36851 ac_status=$?
36852 grep -v '^ *+' conftest.er1 >conftest.err
36853 rm -f conftest.er1
36854 cat conftest.err >&5
36855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36856 (exit $ac_status); } &&
36857 { ac_try='test -z "$ac_cxx_werror_flag"
36858 || test ! -s conftest.err'
36859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36860 (eval $ac_try) 2>&5
36861 ac_status=$?
36862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36863 (exit $ac_status); }; } &&
36864 { ac_try='test -s conftest.$ac_objext'
36865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36866 (eval $ac_try) 2>&5
36867 ac_status=$?
36868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36869 (exit $ac_status); }; }; then
36870 glibcxx_cv_func___builtin_sqrtl_use=yes
36871 else
36872 echo "$as_me: failed program was:" >&5
36873 sed 's/^/| /' conftest.$ac_ext >&5
36875 glibcxx_cv_func___builtin_sqrtl_use=no
36877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36878 ac_ext=c
36879 ac_cpp='$CPP $CPPFLAGS'
36880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36888 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
36889 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
36890 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
36891 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
36892 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
36893 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
36894 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
36895 echo $ECHO_N "(cached) $ECHO_C" >&6
36896 else
36898 if test x$gcc_no_link = xyes; then
36899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36901 { (exit 1); exit 1; }; }
36903 cat >conftest.$ac_ext <<_ACEOF
36904 /* confdefs.h. */
36905 _ACEOF
36906 cat confdefs.h >>conftest.$ac_ext
36907 cat >>conftest.$ac_ext <<_ACEOF
36908 /* end confdefs.h. */
36909 #include <math.h>
36911 main ()
36913 __builtin_sqrtl(0);
36915 return 0;
36917 _ACEOF
36918 rm -f conftest.$ac_objext conftest$ac_exeext
36919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36920 (eval $ac_link) 2>conftest.er1
36921 ac_status=$?
36922 grep -v '^ *+' conftest.er1 >conftest.err
36923 rm -f conftest.er1
36924 cat conftest.err >&5
36925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36926 (exit $ac_status); } &&
36927 { ac_try='test -z "$ac_c_werror_flag"
36928 || test ! -s conftest.err'
36929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36930 (eval $ac_try) 2>&5
36931 ac_status=$?
36932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36933 (exit $ac_status); }; } &&
36934 { ac_try='test -s conftest$ac_exeext'
36935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36936 (eval $ac_try) 2>&5
36937 ac_status=$?
36938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36939 (exit $ac_status); }; }; then
36940 glibcxx_cv_func___builtin_sqrtl_link=yes
36941 else
36942 echo "$as_me: failed program was:" >&5
36943 sed 's/^/| /' conftest.$ac_ext >&5
36945 glibcxx_cv_func___builtin_sqrtl_link=no
36947 rm -f conftest.err conftest.$ac_objext \
36948 conftest$ac_exeext conftest.$ac_ext
36953 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
36954 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
36956 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
36958 cat >>confdefs.h <<\_ACEOF
36959 #define HAVE___BUILTIN_SQRTL 1
36960 _ACEOF
36968 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
36969 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
36970 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
36971 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
36972 echo $ECHO_N "(cached) $ECHO_C" >&6
36973 else
36977 ac_ext=cc
36978 ac_cpp='$CXXCPP $CPPFLAGS'
36979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36983 cat >conftest.$ac_ext <<_ACEOF
36984 /* confdefs.h. */
36985 _ACEOF
36986 cat confdefs.h >>conftest.$ac_ext
36987 cat >>conftest.$ac_ext <<_ACEOF
36988 /* end confdefs.h. */
36989 #include <math.h>
36991 main ()
36993 __builtin_sinf(0);
36995 return 0;
36997 _ACEOF
36998 rm -f conftest.$ac_objext
36999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37000 (eval $ac_compile) 2>conftest.er1
37001 ac_status=$?
37002 grep -v '^ *+' conftest.er1 >conftest.err
37003 rm -f conftest.er1
37004 cat conftest.err >&5
37005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37006 (exit $ac_status); } &&
37007 { ac_try='test -z "$ac_cxx_werror_flag"
37008 || test ! -s conftest.err'
37009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37010 (eval $ac_try) 2>&5
37011 ac_status=$?
37012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37013 (exit $ac_status); }; } &&
37014 { ac_try='test -s conftest.$ac_objext'
37015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37016 (eval $ac_try) 2>&5
37017 ac_status=$?
37018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37019 (exit $ac_status); }; }; then
37020 glibcxx_cv_func___builtin_sinf_use=yes
37021 else
37022 echo "$as_me: failed program was:" >&5
37023 sed 's/^/| /' conftest.$ac_ext >&5
37025 glibcxx_cv_func___builtin_sinf_use=no
37027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37028 ac_ext=c
37029 ac_cpp='$CPP $CPPFLAGS'
37030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37038 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
37039 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
37040 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
37041 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
37042 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
37043 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
37044 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
37045 echo $ECHO_N "(cached) $ECHO_C" >&6
37046 else
37048 if test x$gcc_no_link = xyes; then
37049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37051 { (exit 1); exit 1; }; }
37053 cat >conftest.$ac_ext <<_ACEOF
37054 /* confdefs.h. */
37055 _ACEOF
37056 cat confdefs.h >>conftest.$ac_ext
37057 cat >>conftest.$ac_ext <<_ACEOF
37058 /* end confdefs.h. */
37059 #include <math.h>
37061 main ()
37063 __builtin_sinf(0);
37065 return 0;
37067 _ACEOF
37068 rm -f conftest.$ac_objext conftest$ac_exeext
37069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37070 (eval $ac_link) 2>conftest.er1
37071 ac_status=$?
37072 grep -v '^ *+' conftest.er1 >conftest.err
37073 rm -f conftest.er1
37074 cat conftest.err >&5
37075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37076 (exit $ac_status); } &&
37077 { ac_try='test -z "$ac_c_werror_flag"
37078 || test ! -s conftest.err'
37079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37080 (eval $ac_try) 2>&5
37081 ac_status=$?
37082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37083 (exit $ac_status); }; } &&
37084 { ac_try='test -s conftest$ac_exeext'
37085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37086 (eval $ac_try) 2>&5
37087 ac_status=$?
37088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37089 (exit $ac_status); }; }; then
37090 glibcxx_cv_func___builtin_sinf_link=yes
37091 else
37092 echo "$as_me: failed program was:" >&5
37093 sed 's/^/| /' conftest.$ac_ext >&5
37095 glibcxx_cv_func___builtin_sinf_link=no
37097 rm -f conftest.err conftest.$ac_objext \
37098 conftest$ac_exeext conftest.$ac_ext
37103 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
37104 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
37106 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
37108 cat >>confdefs.h <<\_ACEOF
37109 #define HAVE___BUILTIN_SINF 1
37110 _ACEOF
37117 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
37118 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
37119 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
37120 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
37121 echo $ECHO_N "(cached) $ECHO_C" >&6
37122 else
37126 ac_ext=cc
37127 ac_cpp='$CXXCPP $CPPFLAGS'
37128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37132 cat >conftest.$ac_ext <<_ACEOF
37133 /* confdefs.h. */
37134 _ACEOF
37135 cat confdefs.h >>conftest.$ac_ext
37136 cat >>conftest.$ac_ext <<_ACEOF
37137 /* end confdefs.h. */
37138 #include <math.h>
37140 main ()
37142 __builtin_sin(0);
37144 return 0;
37146 _ACEOF
37147 rm -f conftest.$ac_objext
37148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37149 (eval $ac_compile) 2>conftest.er1
37150 ac_status=$?
37151 grep -v '^ *+' conftest.er1 >conftest.err
37152 rm -f conftest.er1
37153 cat conftest.err >&5
37154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37155 (exit $ac_status); } &&
37156 { ac_try='test -z "$ac_cxx_werror_flag"
37157 || test ! -s conftest.err'
37158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37159 (eval $ac_try) 2>&5
37160 ac_status=$?
37161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37162 (exit $ac_status); }; } &&
37163 { ac_try='test -s conftest.$ac_objext'
37164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37165 (eval $ac_try) 2>&5
37166 ac_status=$?
37167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37168 (exit $ac_status); }; }; then
37169 glibcxx_cv_func___builtin_sin_use=yes
37170 else
37171 echo "$as_me: failed program was:" >&5
37172 sed 's/^/| /' conftest.$ac_ext >&5
37174 glibcxx_cv_func___builtin_sin_use=no
37176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37177 ac_ext=c
37178 ac_cpp='$CPP $CPPFLAGS'
37179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37187 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
37188 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
37189 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
37190 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
37191 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
37192 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
37193 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
37194 echo $ECHO_N "(cached) $ECHO_C" >&6
37195 else
37197 if test x$gcc_no_link = xyes; then
37198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37200 { (exit 1); exit 1; }; }
37202 cat >conftest.$ac_ext <<_ACEOF
37203 /* confdefs.h. */
37204 _ACEOF
37205 cat confdefs.h >>conftest.$ac_ext
37206 cat >>conftest.$ac_ext <<_ACEOF
37207 /* end confdefs.h. */
37208 #include <math.h>
37210 main ()
37212 __builtin_sin(0);
37214 return 0;
37216 _ACEOF
37217 rm -f conftest.$ac_objext conftest$ac_exeext
37218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37219 (eval $ac_link) 2>conftest.er1
37220 ac_status=$?
37221 grep -v '^ *+' conftest.er1 >conftest.err
37222 rm -f conftest.er1
37223 cat conftest.err >&5
37224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37225 (exit $ac_status); } &&
37226 { ac_try='test -z "$ac_c_werror_flag"
37227 || test ! -s conftest.err'
37228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37229 (eval $ac_try) 2>&5
37230 ac_status=$?
37231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37232 (exit $ac_status); }; } &&
37233 { ac_try='test -s conftest$ac_exeext'
37234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37235 (eval $ac_try) 2>&5
37236 ac_status=$?
37237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37238 (exit $ac_status); }; }; then
37239 glibcxx_cv_func___builtin_sin_link=yes
37240 else
37241 echo "$as_me: failed program was:" >&5
37242 sed 's/^/| /' conftest.$ac_ext >&5
37244 glibcxx_cv_func___builtin_sin_link=no
37246 rm -f conftest.err conftest.$ac_objext \
37247 conftest$ac_exeext conftest.$ac_ext
37252 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
37253 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
37255 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
37257 cat >>confdefs.h <<\_ACEOF
37258 #define HAVE___BUILTIN_SIN 1
37259 _ACEOF
37266 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
37267 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
37268 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
37269 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
37270 echo $ECHO_N "(cached) $ECHO_C" >&6
37271 else
37275 ac_ext=cc
37276 ac_cpp='$CXXCPP $CPPFLAGS'
37277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37281 cat >conftest.$ac_ext <<_ACEOF
37282 /* confdefs.h. */
37283 _ACEOF
37284 cat confdefs.h >>conftest.$ac_ext
37285 cat >>conftest.$ac_ext <<_ACEOF
37286 /* end confdefs.h. */
37287 #include <math.h>
37289 main ()
37291 __builtin_sinl(0);
37293 return 0;
37295 _ACEOF
37296 rm -f conftest.$ac_objext
37297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37298 (eval $ac_compile) 2>conftest.er1
37299 ac_status=$?
37300 grep -v '^ *+' conftest.er1 >conftest.err
37301 rm -f conftest.er1
37302 cat conftest.err >&5
37303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37304 (exit $ac_status); } &&
37305 { ac_try='test -z "$ac_cxx_werror_flag"
37306 || test ! -s conftest.err'
37307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37308 (eval $ac_try) 2>&5
37309 ac_status=$?
37310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37311 (exit $ac_status); }; } &&
37312 { ac_try='test -s conftest.$ac_objext'
37313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37314 (eval $ac_try) 2>&5
37315 ac_status=$?
37316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37317 (exit $ac_status); }; }; then
37318 glibcxx_cv_func___builtin_sinl_use=yes
37319 else
37320 echo "$as_me: failed program was:" >&5
37321 sed 's/^/| /' conftest.$ac_ext >&5
37323 glibcxx_cv_func___builtin_sinl_use=no
37325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37326 ac_ext=c
37327 ac_cpp='$CPP $CPPFLAGS'
37328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37336 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
37337 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
37338 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
37339 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
37340 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
37341 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
37342 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
37343 echo $ECHO_N "(cached) $ECHO_C" >&6
37344 else
37346 if test x$gcc_no_link = xyes; then
37347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37349 { (exit 1); exit 1; }; }
37351 cat >conftest.$ac_ext <<_ACEOF
37352 /* confdefs.h. */
37353 _ACEOF
37354 cat confdefs.h >>conftest.$ac_ext
37355 cat >>conftest.$ac_ext <<_ACEOF
37356 /* end confdefs.h. */
37357 #include <math.h>
37359 main ()
37361 __builtin_sinl(0);
37363 return 0;
37365 _ACEOF
37366 rm -f conftest.$ac_objext conftest$ac_exeext
37367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37368 (eval $ac_link) 2>conftest.er1
37369 ac_status=$?
37370 grep -v '^ *+' conftest.er1 >conftest.err
37371 rm -f conftest.er1
37372 cat conftest.err >&5
37373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37374 (exit $ac_status); } &&
37375 { ac_try='test -z "$ac_c_werror_flag"
37376 || test ! -s conftest.err'
37377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37378 (eval $ac_try) 2>&5
37379 ac_status=$?
37380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37381 (exit $ac_status); }; } &&
37382 { ac_try='test -s conftest$ac_exeext'
37383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37384 (eval $ac_try) 2>&5
37385 ac_status=$?
37386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37387 (exit $ac_status); }; }; then
37388 glibcxx_cv_func___builtin_sinl_link=yes
37389 else
37390 echo "$as_me: failed program was:" >&5
37391 sed 's/^/| /' conftest.$ac_ext >&5
37393 glibcxx_cv_func___builtin_sinl_link=no
37395 rm -f conftest.err conftest.$ac_objext \
37396 conftest$ac_exeext conftest.$ac_ext
37401 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
37402 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
37404 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
37406 cat >>confdefs.h <<\_ACEOF
37407 #define HAVE___BUILTIN_SINL 1
37408 _ACEOF
37416 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
37417 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
37418 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
37419 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
37420 echo $ECHO_N "(cached) $ECHO_C" >&6
37421 else
37425 ac_ext=cc
37426 ac_cpp='$CXXCPP $CPPFLAGS'
37427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37431 cat >conftest.$ac_ext <<_ACEOF
37432 /* confdefs.h. */
37433 _ACEOF
37434 cat confdefs.h >>conftest.$ac_ext
37435 cat >>conftest.$ac_ext <<_ACEOF
37436 /* end confdefs.h. */
37437 #include <math.h>
37439 main ()
37441 __builtin_cosf(0);
37443 return 0;
37445 _ACEOF
37446 rm -f conftest.$ac_objext
37447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37448 (eval $ac_compile) 2>conftest.er1
37449 ac_status=$?
37450 grep -v '^ *+' conftest.er1 >conftest.err
37451 rm -f conftest.er1
37452 cat conftest.err >&5
37453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37454 (exit $ac_status); } &&
37455 { ac_try='test -z "$ac_cxx_werror_flag"
37456 || test ! -s conftest.err'
37457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37458 (eval $ac_try) 2>&5
37459 ac_status=$?
37460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37461 (exit $ac_status); }; } &&
37462 { ac_try='test -s conftest.$ac_objext'
37463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37464 (eval $ac_try) 2>&5
37465 ac_status=$?
37466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37467 (exit $ac_status); }; }; then
37468 glibcxx_cv_func___builtin_cosf_use=yes
37469 else
37470 echo "$as_me: failed program was:" >&5
37471 sed 's/^/| /' conftest.$ac_ext >&5
37473 glibcxx_cv_func___builtin_cosf_use=no
37475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37476 ac_ext=c
37477 ac_cpp='$CPP $CPPFLAGS'
37478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37486 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
37487 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
37488 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
37489 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
37490 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
37491 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
37492 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
37493 echo $ECHO_N "(cached) $ECHO_C" >&6
37494 else
37496 if test x$gcc_no_link = xyes; then
37497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37499 { (exit 1); exit 1; }; }
37501 cat >conftest.$ac_ext <<_ACEOF
37502 /* confdefs.h. */
37503 _ACEOF
37504 cat confdefs.h >>conftest.$ac_ext
37505 cat >>conftest.$ac_ext <<_ACEOF
37506 /* end confdefs.h. */
37507 #include <math.h>
37509 main ()
37511 __builtin_cosf(0);
37513 return 0;
37515 _ACEOF
37516 rm -f conftest.$ac_objext conftest$ac_exeext
37517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37518 (eval $ac_link) 2>conftest.er1
37519 ac_status=$?
37520 grep -v '^ *+' conftest.er1 >conftest.err
37521 rm -f conftest.er1
37522 cat conftest.err >&5
37523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37524 (exit $ac_status); } &&
37525 { ac_try='test -z "$ac_c_werror_flag"
37526 || test ! -s conftest.err'
37527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37528 (eval $ac_try) 2>&5
37529 ac_status=$?
37530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37531 (exit $ac_status); }; } &&
37532 { ac_try='test -s conftest$ac_exeext'
37533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37534 (eval $ac_try) 2>&5
37535 ac_status=$?
37536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37537 (exit $ac_status); }; }; then
37538 glibcxx_cv_func___builtin_cosf_link=yes
37539 else
37540 echo "$as_me: failed program was:" >&5
37541 sed 's/^/| /' conftest.$ac_ext >&5
37543 glibcxx_cv_func___builtin_cosf_link=no
37545 rm -f conftest.err conftest.$ac_objext \
37546 conftest$ac_exeext conftest.$ac_ext
37551 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
37552 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
37554 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
37556 cat >>confdefs.h <<\_ACEOF
37557 #define HAVE___BUILTIN_COSF 1
37558 _ACEOF
37565 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
37566 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
37567 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
37568 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
37569 echo $ECHO_N "(cached) $ECHO_C" >&6
37570 else
37574 ac_ext=cc
37575 ac_cpp='$CXXCPP $CPPFLAGS'
37576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37580 cat >conftest.$ac_ext <<_ACEOF
37581 /* confdefs.h. */
37582 _ACEOF
37583 cat confdefs.h >>conftest.$ac_ext
37584 cat >>conftest.$ac_ext <<_ACEOF
37585 /* end confdefs.h. */
37586 #include <math.h>
37588 main ()
37590 __builtin_cos(0);
37592 return 0;
37594 _ACEOF
37595 rm -f conftest.$ac_objext
37596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37597 (eval $ac_compile) 2>conftest.er1
37598 ac_status=$?
37599 grep -v '^ *+' conftest.er1 >conftest.err
37600 rm -f conftest.er1
37601 cat conftest.err >&5
37602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37603 (exit $ac_status); } &&
37604 { ac_try='test -z "$ac_cxx_werror_flag"
37605 || test ! -s conftest.err'
37606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37607 (eval $ac_try) 2>&5
37608 ac_status=$?
37609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37610 (exit $ac_status); }; } &&
37611 { ac_try='test -s conftest.$ac_objext'
37612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37613 (eval $ac_try) 2>&5
37614 ac_status=$?
37615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37616 (exit $ac_status); }; }; then
37617 glibcxx_cv_func___builtin_cos_use=yes
37618 else
37619 echo "$as_me: failed program was:" >&5
37620 sed 's/^/| /' conftest.$ac_ext >&5
37622 glibcxx_cv_func___builtin_cos_use=no
37624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37625 ac_ext=c
37626 ac_cpp='$CPP $CPPFLAGS'
37627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37635 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
37636 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
37637 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
37638 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
37639 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
37640 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
37641 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
37642 echo $ECHO_N "(cached) $ECHO_C" >&6
37643 else
37645 if test x$gcc_no_link = xyes; then
37646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37648 { (exit 1); exit 1; }; }
37650 cat >conftest.$ac_ext <<_ACEOF
37651 /* confdefs.h. */
37652 _ACEOF
37653 cat confdefs.h >>conftest.$ac_ext
37654 cat >>conftest.$ac_ext <<_ACEOF
37655 /* end confdefs.h. */
37656 #include <math.h>
37658 main ()
37660 __builtin_cos(0);
37662 return 0;
37664 _ACEOF
37665 rm -f conftest.$ac_objext conftest$ac_exeext
37666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37667 (eval $ac_link) 2>conftest.er1
37668 ac_status=$?
37669 grep -v '^ *+' conftest.er1 >conftest.err
37670 rm -f conftest.er1
37671 cat conftest.err >&5
37672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37673 (exit $ac_status); } &&
37674 { ac_try='test -z "$ac_c_werror_flag"
37675 || test ! -s conftest.err'
37676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37677 (eval $ac_try) 2>&5
37678 ac_status=$?
37679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37680 (exit $ac_status); }; } &&
37681 { ac_try='test -s conftest$ac_exeext'
37682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37683 (eval $ac_try) 2>&5
37684 ac_status=$?
37685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37686 (exit $ac_status); }; }; then
37687 glibcxx_cv_func___builtin_cos_link=yes
37688 else
37689 echo "$as_me: failed program was:" >&5
37690 sed 's/^/| /' conftest.$ac_ext >&5
37692 glibcxx_cv_func___builtin_cos_link=no
37694 rm -f conftest.err conftest.$ac_objext \
37695 conftest$ac_exeext conftest.$ac_ext
37700 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
37701 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
37703 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
37705 cat >>confdefs.h <<\_ACEOF
37706 #define HAVE___BUILTIN_COS 1
37707 _ACEOF
37714 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
37715 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
37716 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
37717 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
37718 echo $ECHO_N "(cached) $ECHO_C" >&6
37719 else
37723 ac_ext=cc
37724 ac_cpp='$CXXCPP $CPPFLAGS'
37725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37729 cat >conftest.$ac_ext <<_ACEOF
37730 /* confdefs.h. */
37731 _ACEOF
37732 cat confdefs.h >>conftest.$ac_ext
37733 cat >>conftest.$ac_ext <<_ACEOF
37734 /* end confdefs.h. */
37735 #include <math.h>
37737 main ()
37739 __builtin_cosl(0);
37741 return 0;
37743 _ACEOF
37744 rm -f conftest.$ac_objext
37745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37746 (eval $ac_compile) 2>conftest.er1
37747 ac_status=$?
37748 grep -v '^ *+' conftest.er1 >conftest.err
37749 rm -f conftest.er1
37750 cat conftest.err >&5
37751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37752 (exit $ac_status); } &&
37753 { ac_try='test -z "$ac_cxx_werror_flag"
37754 || test ! -s conftest.err'
37755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37756 (eval $ac_try) 2>&5
37757 ac_status=$?
37758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37759 (exit $ac_status); }; } &&
37760 { ac_try='test -s conftest.$ac_objext'
37761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37762 (eval $ac_try) 2>&5
37763 ac_status=$?
37764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37765 (exit $ac_status); }; }; then
37766 glibcxx_cv_func___builtin_cosl_use=yes
37767 else
37768 echo "$as_me: failed program was:" >&5
37769 sed 's/^/| /' conftest.$ac_ext >&5
37771 glibcxx_cv_func___builtin_cosl_use=no
37773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37774 ac_ext=c
37775 ac_cpp='$CPP $CPPFLAGS'
37776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37784 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
37785 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
37786 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
37787 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
37788 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
37789 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
37790 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
37791 echo $ECHO_N "(cached) $ECHO_C" >&6
37792 else
37794 if test x$gcc_no_link = xyes; then
37795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37797 { (exit 1); exit 1; }; }
37799 cat >conftest.$ac_ext <<_ACEOF
37800 /* confdefs.h. */
37801 _ACEOF
37802 cat confdefs.h >>conftest.$ac_ext
37803 cat >>conftest.$ac_ext <<_ACEOF
37804 /* end confdefs.h. */
37805 #include <math.h>
37807 main ()
37809 __builtin_cosl(0);
37811 return 0;
37813 _ACEOF
37814 rm -f conftest.$ac_objext conftest$ac_exeext
37815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37816 (eval $ac_link) 2>conftest.er1
37817 ac_status=$?
37818 grep -v '^ *+' conftest.er1 >conftest.err
37819 rm -f conftest.er1
37820 cat conftest.err >&5
37821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37822 (exit $ac_status); } &&
37823 { ac_try='test -z "$ac_c_werror_flag"
37824 || test ! -s conftest.err'
37825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37826 (eval $ac_try) 2>&5
37827 ac_status=$?
37828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37829 (exit $ac_status); }; } &&
37830 { ac_try='test -s conftest$ac_exeext'
37831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37832 (eval $ac_try) 2>&5
37833 ac_status=$?
37834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37835 (exit $ac_status); }; }; then
37836 glibcxx_cv_func___builtin_cosl_link=yes
37837 else
37838 echo "$as_me: failed program was:" >&5
37839 sed 's/^/| /' conftest.$ac_ext >&5
37841 glibcxx_cv_func___builtin_cosl_link=no
37843 rm -f conftest.err conftest.$ac_objext \
37844 conftest$ac_exeext conftest.$ac_ext
37849 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
37850 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
37852 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
37854 cat >>confdefs.h <<\_ACEOF
37855 #define HAVE___BUILTIN_COSL 1
37856 _ACEOF
37865 echo "$as_me:$LINENO: checking for main in -lm" >&5
37866 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
37867 if test "${ac_cv_lib_m_main+set}" = set; then
37868 echo $ECHO_N "(cached) $ECHO_C" >&6
37869 else
37870 ac_check_lib_save_LIBS=$LIBS
37871 LIBS="-lm $LIBS"
37872 if test x$gcc_no_link = xyes; then
37873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37875 { (exit 1); exit 1; }; }
37877 cat >conftest.$ac_ext <<_ACEOF
37878 /* confdefs.h. */
37879 _ACEOF
37880 cat confdefs.h >>conftest.$ac_ext
37881 cat >>conftest.$ac_ext <<_ACEOF
37882 /* end confdefs.h. */
37886 main ()
37888 main ();
37890 return 0;
37892 _ACEOF
37893 rm -f conftest.$ac_objext conftest$ac_exeext
37894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37895 (eval $ac_link) 2>conftest.er1
37896 ac_status=$?
37897 grep -v '^ *+' conftest.er1 >conftest.err
37898 rm -f conftest.er1
37899 cat conftest.err >&5
37900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37901 (exit $ac_status); } &&
37902 { ac_try='test -z "$ac_c_werror_flag"
37903 || test ! -s conftest.err'
37904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37905 (eval $ac_try) 2>&5
37906 ac_status=$?
37907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37908 (exit $ac_status); }; } &&
37909 { ac_try='test -s conftest$ac_exeext'
37910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37911 (eval $ac_try) 2>&5
37912 ac_status=$?
37913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37914 (exit $ac_status); }; }; then
37915 ac_cv_lib_m_main=yes
37916 else
37917 echo "$as_me: failed program was:" >&5
37918 sed 's/^/| /' conftest.$ac_ext >&5
37920 ac_cv_lib_m_main=no
37922 rm -f conftest.err conftest.$ac_objext \
37923 conftest$ac_exeext conftest.$ac_ext
37924 LIBS=$ac_check_lib_save_LIBS
37926 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
37927 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
37928 if test $ac_cv_lib_m_main = yes; then
37929 cat >>confdefs.h <<_ACEOF
37930 #define HAVE_LIBM 1
37931 _ACEOF
37933 LIBS="-lm $LIBS"
37938 for ac_func in copysignf
37940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37941 echo "$as_me:$LINENO: checking for $ac_func" >&5
37942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37943 if eval "test \"\${$as_ac_var+set}\" = set"; then
37944 echo $ECHO_N "(cached) $ECHO_C" >&6
37945 else
37946 if test x$gcc_no_link = xyes; then
37947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37949 { (exit 1); exit 1; }; }
37951 cat >conftest.$ac_ext <<_ACEOF
37952 /* confdefs.h. */
37953 _ACEOF
37954 cat confdefs.h >>conftest.$ac_ext
37955 cat >>conftest.$ac_ext <<_ACEOF
37956 /* end confdefs.h. */
37957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37959 #define $ac_func innocuous_$ac_func
37961 /* System header to define __stub macros and hopefully few prototypes,
37962 which can conflict with char $ac_func (); below.
37963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37964 <limits.h> exists even on freestanding compilers. */
37966 #ifdef __STDC__
37967 # include <limits.h>
37968 #else
37969 # include <assert.h>
37970 #endif
37972 #undef $ac_func
37974 /* Override any gcc2 internal prototype to avoid an error. */
37975 #ifdef __cplusplus
37976 extern "C"
37978 #endif
37979 /* We use char because int might match the return type of a gcc2
37980 builtin and then its argument prototype would still apply. */
37981 char $ac_func ();
37982 /* The GNU C library defines this for functions which it implements
37983 to always fail with ENOSYS. Some functions are actually named
37984 something starting with __ and the normal name is an alias. */
37985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37986 choke me
37987 #else
37988 char (*f) () = $ac_func;
37989 #endif
37990 #ifdef __cplusplus
37992 #endif
37995 main ()
37997 return f != $ac_func;
37999 return 0;
38001 _ACEOF
38002 rm -f conftest.$ac_objext conftest$ac_exeext
38003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38004 (eval $ac_link) 2>conftest.er1
38005 ac_status=$?
38006 grep -v '^ *+' conftest.er1 >conftest.err
38007 rm -f conftest.er1
38008 cat conftest.err >&5
38009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38010 (exit $ac_status); } &&
38011 { ac_try='test -z "$ac_c_werror_flag"
38012 || test ! -s conftest.err'
38013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38014 (eval $ac_try) 2>&5
38015 ac_status=$?
38016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38017 (exit $ac_status); }; } &&
38018 { ac_try='test -s conftest$ac_exeext'
38019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38020 (eval $ac_try) 2>&5
38021 ac_status=$?
38022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38023 (exit $ac_status); }; }; then
38024 eval "$as_ac_var=yes"
38025 else
38026 echo "$as_me: failed program was:" >&5
38027 sed 's/^/| /' conftest.$ac_ext >&5
38029 eval "$as_ac_var=no"
38031 rm -f conftest.err conftest.$ac_objext \
38032 conftest$ac_exeext conftest.$ac_ext
38034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38036 if test `eval echo '${'$as_ac_var'}'` = yes; then
38037 cat >>confdefs.h <<_ACEOF
38038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38039 _ACEOF
38041 else
38042 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
38044 done
38048 for ac_func in __signbit
38050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38051 echo "$as_me:$LINENO: checking for $ac_func" >&5
38052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38053 if eval "test \"\${$as_ac_var+set}\" = set"; then
38054 echo $ECHO_N "(cached) $ECHO_C" >&6
38055 else
38056 if test x$gcc_no_link = xyes; then
38057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38059 { (exit 1); exit 1; }; }
38061 cat >conftest.$ac_ext <<_ACEOF
38062 /* confdefs.h. */
38063 _ACEOF
38064 cat confdefs.h >>conftest.$ac_ext
38065 cat >>conftest.$ac_ext <<_ACEOF
38066 /* end confdefs.h. */
38067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38069 #define $ac_func innocuous_$ac_func
38071 /* System header to define __stub macros and hopefully few prototypes,
38072 which can conflict with char $ac_func (); below.
38073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38074 <limits.h> exists even on freestanding compilers. */
38076 #ifdef __STDC__
38077 # include <limits.h>
38078 #else
38079 # include <assert.h>
38080 #endif
38082 #undef $ac_func
38084 /* Override any gcc2 internal prototype to avoid an error. */
38085 #ifdef __cplusplus
38086 extern "C"
38088 #endif
38089 /* We use char because int might match the return type of a gcc2
38090 builtin and then its argument prototype would still apply. */
38091 char $ac_func ();
38092 /* The GNU C library defines this for functions which it implements
38093 to always fail with ENOSYS. Some functions are actually named
38094 something starting with __ and the normal name is an alias. */
38095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38096 choke me
38097 #else
38098 char (*f) () = $ac_func;
38099 #endif
38100 #ifdef __cplusplus
38102 #endif
38105 main ()
38107 return f != $ac_func;
38109 return 0;
38111 _ACEOF
38112 rm -f conftest.$ac_objext conftest$ac_exeext
38113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38114 (eval $ac_link) 2>conftest.er1
38115 ac_status=$?
38116 grep -v '^ *+' conftest.er1 >conftest.err
38117 rm -f conftest.er1
38118 cat conftest.err >&5
38119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38120 (exit $ac_status); } &&
38121 { ac_try='test -z "$ac_c_werror_flag"
38122 || test ! -s conftest.err'
38123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38124 (eval $ac_try) 2>&5
38125 ac_status=$?
38126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38127 (exit $ac_status); }; } &&
38128 { ac_try='test -s conftest$ac_exeext'
38129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38130 (eval $ac_try) 2>&5
38131 ac_status=$?
38132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38133 (exit $ac_status); }; }; then
38134 eval "$as_ac_var=yes"
38135 else
38136 echo "$as_me: failed program was:" >&5
38137 sed 's/^/| /' conftest.$ac_ext >&5
38139 eval "$as_ac_var=no"
38141 rm -f conftest.err conftest.$ac_objext \
38142 conftest$ac_exeext conftest.$ac_ext
38144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38146 if test `eval echo '${'$as_ac_var'}'` = yes; then
38147 cat >>confdefs.h <<_ACEOF
38148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38149 _ACEOF
38151 else
38152 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
38154 done
38158 for ac_func in __signbitf
38160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38161 echo "$as_me:$LINENO: checking for $ac_func" >&5
38162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38163 if eval "test \"\${$as_ac_var+set}\" = set"; then
38164 echo $ECHO_N "(cached) $ECHO_C" >&6
38165 else
38166 if test x$gcc_no_link = xyes; then
38167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38169 { (exit 1); exit 1; }; }
38171 cat >conftest.$ac_ext <<_ACEOF
38172 /* confdefs.h. */
38173 _ACEOF
38174 cat confdefs.h >>conftest.$ac_ext
38175 cat >>conftest.$ac_ext <<_ACEOF
38176 /* end confdefs.h. */
38177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38179 #define $ac_func innocuous_$ac_func
38181 /* System header to define __stub macros and hopefully few prototypes,
38182 which can conflict with char $ac_func (); below.
38183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38184 <limits.h> exists even on freestanding compilers. */
38186 #ifdef __STDC__
38187 # include <limits.h>
38188 #else
38189 # include <assert.h>
38190 #endif
38192 #undef $ac_func
38194 /* Override any gcc2 internal prototype to avoid an error. */
38195 #ifdef __cplusplus
38196 extern "C"
38198 #endif
38199 /* We use char because int might match the return type of a gcc2
38200 builtin and then its argument prototype would still apply. */
38201 char $ac_func ();
38202 /* The GNU C library defines this for functions which it implements
38203 to always fail with ENOSYS. Some functions are actually named
38204 something starting with __ and the normal name is an alias. */
38205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38206 choke me
38207 #else
38208 char (*f) () = $ac_func;
38209 #endif
38210 #ifdef __cplusplus
38212 #endif
38215 main ()
38217 return f != $ac_func;
38219 return 0;
38221 _ACEOF
38222 rm -f conftest.$ac_objext conftest$ac_exeext
38223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38224 (eval $ac_link) 2>conftest.er1
38225 ac_status=$?
38226 grep -v '^ *+' conftest.er1 >conftest.err
38227 rm -f conftest.er1
38228 cat conftest.err >&5
38229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38230 (exit $ac_status); } &&
38231 { ac_try='test -z "$ac_c_werror_flag"
38232 || test ! -s conftest.err'
38233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38234 (eval $ac_try) 2>&5
38235 ac_status=$?
38236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38237 (exit $ac_status); }; } &&
38238 { ac_try='test -s conftest$ac_exeext'
38239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38240 (eval $ac_try) 2>&5
38241 ac_status=$?
38242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38243 (exit $ac_status); }; }; then
38244 eval "$as_ac_var=yes"
38245 else
38246 echo "$as_me: failed program was:" >&5
38247 sed 's/^/| /' conftest.$ac_ext >&5
38249 eval "$as_ac_var=no"
38251 rm -f conftest.err conftest.$ac_objext \
38252 conftest$ac_exeext conftest.$ac_ext
38254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38256 if test `eval echo '${'$as_ac_var'}'` = yes; then
38257 cat >>confdefs.h <<_ACEOF
38258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38259 _ACEOF
38261 else
38262 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
38264 done
38267 if test x$ac_cv_func_copysignl = x"yes"; then
38269 for ac_func in __signbitl
38271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38272 echo "$as_me:$LINENO: checking for $ac_func" >&5
38273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38274 if eval "test \"\${$as_ac_var+set}\" = set"; then
38275 echo $ECHO_N "(cached) $ECHO_C" >&6
38276 else
38277 if test x$gcc_no_link = xyes; then
38278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38280 { (exit 1); exit 1; }; }
38282 cat >conftest.$ac_ext <<_ACEOF
38283 /* confdefs.h. */
38284 _ACEOF
38285 cat confdefs.h >>conftest.$ac_ext
38286 cat >>conftest.$ac_ext <<_ACEOF
38287 /* end confdefs.h. */
38288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38290 #define $ac_func innocuous_$ac_func
38292 /* System header to define __stub macros and hopefully few prototypes,
38293 which can conflict with char $ac_func (); below.
38294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38295 <limits.h> exists even on freestanding compilers. */
38297 #ifdef __STDC__
38298 # include <limits.h>
38299 #else
38300 # include <assert.h>
38301 #endif
38303 #undef $ac_func
38305 /* Override any gcc2 internal prototype to avoid an error. */
38306 #ifdef __cplusplus
38307 extern "C"
38309 #endif
38310 /* We use char because int might match the return type of a gcc2
38311 builtin and then its argument prototype would still apply. */
38312 char $ac_func ();
38313 /* The GNU C library defines this for functions which it implements
38314 to always fail with ENOSYS. Some functions are actually named
38315 something starting with __ and the normal name is an alias. */
38316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38317 choke me
38318 #else
38319 char (*f) () = $ac_func;
38320 #endif
38321 #ifdef __cplusplus
38323 #endif
38326 main ()
38328 return f != $ac_func;
38330 return 0;
38332 _ACEOF
38333 rm -f conftest.$ac_objext conftest$ac_exeext
38334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38335 (eval $ac_link) 2>conftest.er1
38336 ac_status=$?
38337 grep -v '^ *+' conftest.er1 >conftest.err
38338 rm -f conftest.er1
38339 cat conftest.err >&5
38340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38341 (exit $ac_status); } &&
38342 { ac_try='test -z "$ac_c_werror_flag"
38343 || test ! -s conftest.err'
38344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38345 (eval $ac_try) 2>&5
38346 ac_status=$?
38347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38348 (exit $ac_status); }; } &&
38349 { ac_try='test -s conftest$ac_exeext'
38350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38351 (eval $ac_try) 2>&5
38352 ac_status=$?
38353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38354 (exit $ac_status); }; }; then
38355 eval "$as_ac_var=yes"
38356 else
38357 echo "$as_me: failed program was:" >&5
38358 sed 's/^/| /' conftest.$ac_ext >&5
38360 eval "$as_ac_var=no"
38362 rm -f conftest.err conftest.$ac_objext \
38363 conftest$ac_exeext conftest.$ac_ext
38365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38367 if test `eval echo '${'$as_ac_var'}'` = yes; then
38368 cat >>confdefs.h <<_ACEOF
38369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38370 _ACEOF
38372 else
38373 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
38375 done
38379 # Used in libmath/Makefile.am.
38380 if test -n "$LIBMATHOBJS"; then
38381 need_libmath=yes
38386 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38387 ac_save_CXXFLAGS="$CXXFLAGS"
38388 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38391 echo "$as_me:$LINENO: checking for strtold declaration" >&5
38392 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
38393 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38394 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
38395 echo $ECHO_N "(cached) $ECHO_C" >&6
38396 else
38400 ac_ext=cc
38401 ac_cpp='$CXXCPP $CPPFLAGS'
38402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38406 cat >conftest.$ac_ext <<_ACEOF
38407 /* confdefs.h. */
38408 _ACEOF
38409 cat confdefs.h >>conftest.$ac_ext
38410 cat >>conftest.$ac_ext <<_ACEOF
38411 /* end confdefs.h. */
38412 #include <stdlib.h>
38414 main ()
38416 strtold(0, 0);
38418 return 0;
38420 _ACEOF
38421 rm -f conftest.$ac_objext
38422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38423 (eval $ac_compile) 2>conftest.er1
38424 ac_status=$?
38425 grep -v '^ *+' conftest.er1 >conftest.err
38426 rm -f conftest.er1
38427 cat conftest.err >&5
38428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38429 (exit $ac_status); } &&
38430 { ac_try='test -z "$ac_cxx_werror_flag"
38431 || test ! -s conftest.err'
38432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38433 (eval $ac_try) 2>&5
38434 ac_status=$?
38435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38436 (exit $ac_status); }; } &&
38437 { ac_try='test -s conftest.$ac_objext'
38438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38439 (eval $ac_try) 2>&5
38440 ac_status=$?
38441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38442 (exit $ac_status); }; }; then
38443 glibcxx_cv_func_strtold_use=yes
38444 else
38445 echo "$as_me: failed program was:" >&5
38446 sed 's/^/| /' conftest.$ac_ext >&5
38448 glibcxx_cv_func_strtold_use=no
38450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38451 ac_ext=c
38452 ac_cpp='$CPP $CPPFLAGS'
38453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38461 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
38462 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
38463 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38465 for ac_func in strtold
38467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38468 echo "$as_me:$LINENO: checking for $ac_func" >&5
38469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38470 if eval "test \"\${$as_ac_var+set}\" = set"; then
38471 echo $ECHO_N "(cached) $ECHO_C" >&6
38472 else
38473 if test x$gcc_no_link = xyes; then
38474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38476 { (exit 1); exit 1; }; }
38478 cat >conftest.$ac_ext <<_ACEOF
38479 /* confdefs.h. */
38480 _ACEOF
38481 cat confdefs.h >>conftest.$ac_ext
38482 cat >>conftest.$ac_ext <<_ACEOF
38483 /* end confdefs.h. */
38484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38486 #define $ac_func innocuous_$ac_func
38488 /* System header to define __stub macros and hopefully few prototypes,
38489 which can conflict with char $ac_func (); below.
38490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38491 <limits.h> exists even on freestanding compilers. */
38493 #ifdef __STDC__
38494 # include <limits.h>
38495 #else
38496 # include <assert.h>
38497 #endif
38499 #undef $ac_func
38501 /* Override any gcc2 internal prototype to avoid an error. */
38502 #ifdef __cplusplus
38503 extern "C"
38505 #endif
38506 /* We use char because int might match the return type of a gcc2
38507 builtin and then its argument prototype would still apply. */
38508 char $ac_func ();
38509 /* The GNU C library defines this for functions which it implements
38510 to always fail with ENOSYS. Some functions are actually named
38511 something starting with __ and the normal name is an alias. */
38512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38513 choke me
38514 #else
38515 char (*f) () = $ac_func;
38516 #endif
38517 #ifdef __cplusplus
38519 #endif
38522 main ()
38524 return f != $ac_func;
38526 return 0;
38528 _ACEOF
38529 rm -f conftest.$ac_objext conftest$ac_exeext
38530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38531 (eval $ac_link) 2>conftest.er1
38532 ac_status=$?
38533 grep -v '^ *+' conftest.er1 >conftest.err
38534 rm -f conftest.er1
38535 cat conftest.err >&5
38536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38537 (exit $ac_status); } &&
38538 { ac_try='test -z "$ac_c_werror_flag"
38539 || test ! -s conftest.err'
38540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38541 (eval $ac_try) 2>&5
38542 ac_status=$?
38543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38544 (exit $ac_status); }; } &&
38545 { ac_try='test -s conftest$ac_exeext'
38546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38547 (eval $ac_try) 2>&5
38548 ac_status=$?
38549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38550 (exit $ac_status); }; }; then
38551 eval "$as_ac_var=yes"
38552 else
38553 echo "$as_me: failed program was:" >&5
38554 sed 's/^/| /' conftest.$ac_ext >&5
38556 eval "$as_ac_var=no"
38558 rm -f conftest.err conftest.$ac_objext \
38559 conftest$ac_exeext conftest.$ac_ext
38561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38563 if test `eval echo '${'$as_ac_var'}'` = yes; then
38564 cat >>confdefs.h <<_ACEOF
38565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38566 _ACEOF
38569 done
38577 echo "$as_me:$LINENO: checking for strtof declaration" >&5
38578 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
38579 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38580 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
38581 echo $ECHO_N "(cached) $ECHO_C" >&6
38582 else
38586 ac_ext=cc
38587 ac_cpp='$CXXCPP $CPPFLAGS'
38588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38592 cat >conftest.$ac_ext <<_ACEOF
38593 /* confdefs.h. */
38594 _ACEOF
38595 cat confdefs.h >>conftest.$ac_ext
38596 cat >>conftest.$ac_ext <<_ACEOF
38597 /* end confdefs.h. */
38598 #include <stdlib.h>
38600 main ()
38602 strtof(0, 0);
38604 return 0;
38606 _ACEOF
38607 rm -f conftest.$ac_objext
38608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38609 (eval $ac_compile) 2>conftest.er1
38610 ac_status=$?
38611 grep -v '^ *+' conftest.er1 >conftest.err
38612 rm -f conftest.er1
38613 cat conftest.err >&5
38614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38615 (exit $ac_status); } &&
38616 { ac_try='test -z "$ac_cxx_werror_flag"
38617 || test ! -s conftest.err'
38618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38619 (eval $ac_try) 2>&5
38620 ac_status=$?
38621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38622 (exit $ac_status); }; } &&
38623 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
38629 glibcxx_cv_func_strtof_use=yes
38630 else
38631 echo "$as_me: failed program was:" >&5
38632 sed 's/^/| /' conftest.$ac_ext >&5
38634 glibcxx_cv_func_strtof_use=no
38636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38637 ac_ext=c
38638 ac_cpp='$CPP $CPPFLAGS'
38639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38647 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
38648 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
38649 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38651 for ac_func in strtof
38653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38654 echo "$as_me:$LINENO: checking for $ac_func" >&5
38655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38656 if eval "test \"\${$as_ac_var+set}\" = set"; then
38657 echo $ECHO_N "(cached) $ECHO_C" >&6
38658 else
38659 if test x$gcc_no_link = xyes; then
38660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38662 { (exit 1); exit 1; }; }
38664 cat >conftest.$ac_ext <<_ACEOF
38665 /* confdefs.h. */
38666 _ACEOF
38667 cat confdefs.h >>conftest.$ac_ext
38668 cat >>conftest.$ac_ext <<_ACEOF
38669 /* end confdefs.h. */
38670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38672 #define $ac_func innocuous_$ac_func
38674 /* System header to define __stub macros and hopefully few prototypes,
38675 which can conflict with char $ac_func (); below.
38676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38677 <limits.h> exists even on freestanding compilers. */
38679 #ifdef __STDC__
38680 # include <limits.h>
38681 #else
38682 # include <assert.h>
38683 #endif
38685 #undef $ac_func
38687 /* Override any gcc2 internal prototype to avoid an error. */
38688 #ifdef __cplusplus
38689 extern "C"
38691 #endif
38692 /* We use char because int might match the return type of a gcc2
38693 builtin and then its argument prototype would still apply. */
38694 char $ac_func ();
38695 /* The GNU C library defines this for functions which it implements
38696 to always fail with ENOSYS. Some functions are actually named
38697 something starting with __ and the normal name is an alias. */
38698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38699 choke me
38700 #else
38701 char (*f) () = $ac_func;
38702 #endif
38703 #ifdef __cplusplus
38705 #endif
38708 main ()
38710 return f != $ac_func;
38712 return 0;
38714 _ACEOF
38715 rm -f conftest.$ac_objext conftest$ac_exeext
38716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38717 (eval $ac_link) 2>conftest.er1
38718 ac_status=$?
38719 grep -v '^ *+' conftest.er1 >conftest.err
38720 rm -f conftest.er1
38721 cat conftest.err >&5
38722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38723 (exit $ac_status); } &&
38724 { ac_try='test -z "$ac_c_werror_flag"
38725 || test ! -s conftest.err'
38726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38727 (eval $ac_try) 2>&5
38728 ac_status=$?
38729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38730 (exit $ac_status); }; } &&
38731 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
38737 eval "$as_ac_var=yes"
38738 else
38739 echo "$as_me: failed program was:" >&5
38740 sed 's/^/| /' conftest.$ac_ext >&5
38742 eval "$as_ac_var=no"
38744 rm -f conftest.err conftest.$ac_objext \
38745 conftest$ac_exeext conftest.$ac_ext
38747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38749 if test `eval echo '${'$as_ac_var'}'` = yes; then
38750 cat >>confdefs.h <<_ACEOF
38751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38752 _ACEOF
38755 done
38763 CXXFLAGS="$ac_save_CXXFLAGS"
38766 # For showmanyc_helper().
38769 for ac_header in sys/ioctl.h sys/filio.h
38771 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38773 echo "$as_me:$LINENO: checking for $ac_header" >&5
38774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38776 echo $ECHO_N "(cached) $ECHO_C" >&6
38778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38780 else
38781 # Is the header compilable?
38782 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38783 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
38791 #include <$ac_header>
38792 _ACEOF
38793 rm -f conftest.$ac_objext
38794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38795 (eval $ac_compile) 2>conftest.er1
38796 ac_status=$?
38797 grep -v '^ *+' conftest.er1 >conftest.err
38798 rm -f conftest.er1
38799 cat conftest.err >&5
38800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38801 (exit $ac_status); } &&
38802 { ac_try='test -z "$ac_c_werror_flag"
38803 || test ! -s conftest.err'
38804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38805 (eval $ac_try) 2>&5
38806 ac_status=$?
38807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38808 (exit $ac_status); }; } &&
38809 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
38815 ac_header_compiler=yes
38816 else
38817 echo "$as_me: failed program was:" >&5
38818 sed 's/^/| /' conftest.$ac_ext >&5
38820 ac_header_compiler=no
38822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38823 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38824 echo "${ECHO_T}$ac_header_compiler" >&6
38826 # Is the header present?
38827 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38828 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38829 cat >conftest.$ac_ext <<_ACEOF
38830 /* confdefs.h. */
38831 _ACEOF
38832 cat confdefs.h >>conftest.$ac_ext
38833 cat >>conftest.$ac_ext <<_ACEOF
38834 /* end confdefs.h. */
38835 #include <$ac_header>
38836 _ACEOF
38837 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38838 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38839 ac_status=$?
38840 grep -v '^ *+' conftest.er1 >conftest.err
38841 rm -f conftest.er1
38842 cat conftest.err >&5
38843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38844 (exit $ac_status); } >/dev/null; then
38845 if test -s conftest.err; then
38846 ac_cpp_err=$ac_c_preproc_warn_flag
38847 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38848 else
38849 ac_cpp_err=
38851 else
38852 ac_cpp_err=yes
38854 if test -z "$ac_cpp_err"; then
38855 ac_header_preproc=yes
38856 else
38857 echo "$as_me: failed program was:" >&5
38858 sed 's/^/| /' conftest.$ac_ext >&5
38860 ac_header_preproc=no
38862 rm -f conftest.err conftest.$ac_ext
38863 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38864 echo "${ECHO_T}$ac_header_preproc" >&6
38866 # So? What about this header?
38867 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38868 yes:no: )
38869 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38870 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38871 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38872 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38873 ac_header_preproc=yes
38875 no:yes:* )
38876 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38877 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38878 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38879 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38880 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38881 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38882 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38883 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38885 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38886 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38887 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38889 cat <<\_ASBOX
38890 ## ----------------------------------------- ##
38891 ## Report this to the package-unused lists. ##
38892 ## ----------------------------------------- ##
38893 _ASBOX
38895 sed "s/^/$as_me: WARNING: /" >&2
38897 esac
38898 echo "$as_me:$LINENO: checking for $ac_header" >&5
38899 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38900 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38901 echo $ECHO_N "(cached) $ECHO_C" >&6
38902 else
38903 eval "$as_ac_Header=\$ac_header_preproc"
38905 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38906 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38909 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38910 cat >>confdefs.h <<_ACEOF
38911 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38912 _ACEOF
38916 done
38919 echo "$as_me:$LINENO: checking for poll" >&5
38920 echo $ECHO_N "checking for poll... $ECHO_C" >&6
38921 if test "${glibcxx_cv_POLL+set}" = set; then
38922 echo $ECHO_N "(cached) $ECHO_C" >&6
38923 else
38925 if test x$gcc_no_link = xyes; then
38926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38928 { (exit 1); exit 1; }; }
38930 cat >conftest.$ac_ext <<_ACEOF
38931 /* confdefs.h. */
38932 _ACEOF
38933 cat confdefs.h >>conftest.$ac_ext
38934 cat >>conftest.$ac_ext <<_ACEOF
38935 /* end confdefs.h. */
38936 #include <poll.h>
38938 main ()
38940 struct pollfd pfd[1];
38941 pfd[0].events = POLLIN;
38942 poll(pfd, 1, 0);
38944 return 0;
38946 _ACEOF
38947 rm -f conftest.$ac_objext conftest$ac_exeext
38948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38949 (eval $ac_link) 2>conftest.er1
38950 ac_status=$?
38951 grep -v '^ *+' conftest.er1 >conftest.err
38952 rm -f conftest.er1
38953 cat conftest.err >&5
38954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38955 (exit $ac_status); } &&
38956 { ac_try='test -z "$ac_c_werror_flag"
38957 || test ! -s conftest.err'
38958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38959 (eval $ac_try) 2>&5
38960 ac_status=$?
38961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38962 (exit $ac_status); }; } &&
38963 { ac_try='test -s conftest$ac_exeext'
38964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38965 (eval $ac_try) 2>&5
38966 ac_status=$?
38967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38968 (exit $ac_status); }; }; then
38969 glibcxx_cv_POLL=yes
38970 else
38971 echo "$as_me: failed program was:" >&5
38972 sed 's/^/| /' conftest.$ac_ext >&5
38974 glibcxx_cv_POLL=no
38976 rm -f conftest.err conftest.$ac_objext \
38977 conftest$ac_exeext conftest.$ac_ext
38981 if test $glibcxx_cv_POLL = yes; then
38983 cat >>confdefs.h <<\_ACEOF
38984 #define HAVE_POLL 1
38985 _ACEOF
38988 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
38989 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
38992 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
38993 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
38994 if test "${glibcxx_cv_S_ISREG+set}" = set; then
38995 echo $ECHO_N "(cached) $ECHO_C" >&6
38996 else
38998 if test x$gcc_no_link = xyes; then
38999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39001 { (exit 1); exit 1; }; }
39003 cat >conftest.$ac_ext <<_ACEOF
39004 /* confdefs.h. */
39005 _ACEOF
39006 cat confdefs.h >>conftest.$ac_ext
39007 cat >>conftest.$ac_ext <<_ACEOF
39008 /* end confdefs.h. */
39009 #include <sys/stat.h>
39011 main ()
39013 struct stat buffer;
39014 fstat(0, &buffer);
39015 S_ISREG(buffer.st_mode);
39017 return 0;
39019 _ACEOF
39020 rm -f conftest.$ac_objext conftest$ac_exeext
39021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39022 (eval $ac_link) 2>conftest.er1
39023 ac_status=$?
39024 grep -v '^ *+' conftest.er1 >conftest.err
39025 rm -f conftest.er1
39026 cat conftest.err >&5
39027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39028 (exit $ac_status); } &&
39029 { ac_try='test -z "$ac_c_werror_flag"
39030 || test ! -s conftest.err'
39031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39032 (eval $ac_try) 2>&5
39033 ac_status=$?
39034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39035 (exit $ac_status); }; } &&
39036 { ac_try='test -s conftest$ac_exeext'
39037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39038 (eval $ac_try) 2>&5
39039 ac_status=$?
39040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39041 (exit $ac_status); }; }; then
39042 glibcxx_cv_S_ISREG=yes
39043 else
39044 echo "$as_me: failed program was:" >&5
39045 sed 's/^/| /' conftest.$ac_ext >&5
39047 glibcxx_cv_S_ISREG=no
39049 rm -f conftest.err conftest.$ac_objext \
39050 conftest$ac_exeext conftest.$ac_ext
39054 if test "${glibcxx_cv_S_IFREG+set}" = set; then
39055 echo $ECHO_N "(cached) $ECHO_C" >&6
39056 else
39058 if test x$gcc_no_link = xyes; then
39059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39061 { (exit 1); exit 1; }; }
39063 cat >conftest.$ac_ext <<_ACEOF
39064 /* confdefs.h. */
39065 _ACEOF
39066 cat confdefs.h >>conftest.$ac_ext
39067 cat >>conftest.$ac_ext <<_ACEOF
39068 /* end confdefs.h. */
39069 #include <sys/stat.h>
39071 main ()
39073 struct stat buffer;
39074 fstat(0, &buffer);
39075 S_IFREG & buffer.st_mode;
39077 return 0;
39079 _ACEOF
39080 rm -f conftest.$ac_objext conftest$ac_exeext
39081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39082 (eval $ac_link) 2>conftest.er1
39083 ac_status=$?
39084 grep -v '^ *+' conftest.er1 >conftest.err
39085 rm -f conftest.er1
39086 cat conftest.err >&5
39087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39088 (exit $ac_status); } &&
39089 { ac_try='test -z "$ac_c_werror_flag"
39090 || test ! -s conftest.err'
39091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39092 (eval $ac_try) 2>&5
39093 ac_status=$?
39094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39095 (exit $ac_status); }; } &&
39096 { ac_try='test -s conftest$ac_exeext'
39097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39098 (eval $ac_try) 2>&5
39099 ac_status=$?
39100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39101 (exit $ac_status); }; }; then
39102 glibcxx_cv_S_IFREG=yes
39103 else
39104 echo "$as_me: failed program was:" >&5
39105 sed 's/^/| /' conftest.$ac_ext >&5
39107 glibcxx_cv_S_IFREG=no
39109 rm -f conftest.err conftest.$ac_objext \
39110 conftest$ac_exeext conftest.$ac_ext
39114 res=no
39115 if test $glibcxx_cv_S_ISREG = yes; then
39117 cat >>confdefs.h <<\_ACEOF
39118 #define HAVE_S_ISREG 1
39119 _ACEOF
39121 res=S_ISREG
39122 elif test $glibcxx_cv_S_IFREG = yes; then
39124 cat >>confdefs.h <<\_ACEOF
39125 #define HAVE_S_IFREG 1
39126 _ACEOF
39128 res=S_IFREG
39130 echo "$as_me:$LINENO: result: $res" >&5
39131 echo "${ECHO_T}$res" >&6
39134 # For xsputn_2().
39136 for ac_header in sys/uio.h
39138 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39140 echo "$as_me:$LINENO: checking for $ac_header" >&5
39141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39143 echo $ECHO_N "(cached) $ECHO_C" >&6
39145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39146 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39147 else
39148 # Is the header compilable?
39149 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39150 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39151 cat >conftest.$ac_ext <<_ACEOF
39152 /* confdefs.h. */
39153 _ACEOF
39154 cat confdefs.h >>conftest.$ac_ext
39155 cat >>conftest.$ac_ext <<_ACEOF
39156 /* end confdefs.h. */
39157 $ac_includes_default
39158 #include <$ac_header>
39159 _ACEOF
39160 rm -f conftest.$ac_objext
39161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39162 (eval $ac_compile) 2>conftest.er1
39163 ac_status=$?
39164 grep -v '^ *+' conftest.er1 >conftest.err
39165 rm -f conftest.er1
39166 cat conftest.err >&5
39167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39168 (exit $ac_status); } &&
39169 { ac_try='test -z "$ac_c_werror_flag"
39170 || test ! -s conftest.err'
39171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39172 (eval $ac_try) 2>&5
39173 ac_status=$?
39174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39175 (exit $ac_status); }; } &&
39176 { ac_try='test -s conftest.$ac_objext'
39177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39178 (eval $ac_try) 2>&5
39179 ac_status=$?
39180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39181 (exit $ac_status); }; }; then
39182 ac_header_compiler=yes
39183 else
39184 echo "$as_me: failed program was:" >&5
39185 sed 's/^/| /' conftest.$ac_ext >&5
39187 ac_header_compiler=no
39189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39191 echo "${ECHO_T}$ac_header_compiler" >&6
39193 # Is the header present?
39194 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39196 cat >conftest.$ac_ext <<_ACEOF
39197 /* confdefs.h. */
39198 _ACEOF
39199 cat confdefs.h >>conftest.$ac_ext
39200 cat >>conftest.$ac_ext <<_ACEOF
39201 /* end confdefs.h. */
39202 #include <$ac_header>
39203 _ACEOF
39204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39205 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39206 ac_status=$?
39207 grep -v '^ *+' conftest.er1 >conftest.err
39208 rm -f conftest.er1
39209 cat conftest.err >&5
39210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39211 (exit $ac_status); } >/dev/null; then
39212 if test -s conftest.err; then
39213 ac_cpp_err=$ac_c_preproc_warn_flag
39214 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39215 else
39216 ac_cpp_err=
39218 else
39219 ac_cpp_err=yes
39221 if test -z "$ac_cpp_err"; then
39222 ac_header_preproc=yes
39223 else
39224 echo "$as_me: failed program was:" >&5
39225 sed 's/^/| /' conftest.$ac_ext >&5
39227 ac_header_preproc=no
39229 rm -f conftest.err conftest.$ac_ext
39230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39231 echo "${ECHO_T}$ac_header_preproc" >&6
39233 # So? What about this header?
39234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39235 yes:no: )
39236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39240 ac_header_preproc=yes
39242 no:yes:* )
39243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39246 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39250 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39256 cat <<\_ASBOX
39257 ## ----------------------------------------- ##
39258 ## Report this to the package-unused lists. ##
39259 ## ----------------------------------------- ##
39260 _ASBOX
39262 sed "s/^/$as_me: WARNING: /" >&2
39264 esac
39265 echo "$as_me:$LINENO: checking for $ac_header" >&5
39266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39268 echo $ECHO_N "(cached) $ECHO_C" >&6
39269 else
39270 eval "$as_ac_Header=\$ac_header_preproc"
39272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39277 cat >>confdefs.h <<_ACEOF
39278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39279 _ACEOF
39283 done
39286 echo "$as_me:$LINENO: checking for writev" >&5
39287 echo $ECHO_N "checking for writev... $ECHO_C" >&6
39288 if test "${glibcxx_cv_WRITEV+set}" = set; then
39289 echo $ECHO_N "(cached) $ECHO_C" >&6
39290 else
39292 if test x$gcc_no_link = xyes; then
39293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39295 { (exit 1); exit 1; }; }
39297 cat >conftest.$ac_ext <<_ACEOF
39298 /* confdefs.h. */
39299 _ACEOF
39300 cat confdefs.h >>conftest.$ac_ext
39301 cat >>conftest.$ac_ext <<_ACEOF
39302 /* end confdefs.h. */
39303 #include <sys/uio.h>
39305 main ()
39307 struct iovec iov[2];
39308 writev(0, iov, 0);
39310 return 0;
39312 _ACEOF
39313 rm -f conftest.$ac_objext conftest$ac_exeext
39314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39315 (eval $ac_link) 2>conftest.er1
39316 ac_status=$?
39317 grep -v '^ *+' conftest.er1 >conftest.err
39318 rm -f conftest.er1
39319 cat conftest.err >&5
39320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39321 (exit $ac_status); } &&
39322 { ac_try='test -z "$ac_c_werror_flag"
39323 || test ! -s conftest.err'
39324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39325 (eval $ac_try) 2>&5
39326 ac_status=$?
39327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39328 (exit $ac_status); }; } &&
39329 { ac_try='test -s conftest$ac_exeext'
39330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39331 (eval $ac_try) 2>&5
39332 ac_status=$?
39333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39334 (exit $ac_status); }; }; then
39335 glibcxx_cv_WRITEV=yes
39336 else
39337 echo "$as_me: failed program was:" >&5
39338 sed 's/^/| /' conftest.$ac_ext >&5
39340 glibcxx_cv_WRITEV=no
39342 rm -f conftest.err conftest.$ac_objext \
39343 conftest$ac_exeext conftest.$ac_ext
39347 if test $glibcxx_cv_WRITEV = yes; then
39349 cat >>confdefs.h <<\_ACEOF
39350 #define HAVE_WRITEV 1
39351 _ACEOF
39354 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
39355 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
39358 # For the __streamoff_base_type typedef.
39360 echo "$as_me:$LINENO: checking for int64_t" >&5
39361 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
39362 if test "${glibcxx_cv_INT64_T+set}" = set; then
39363 echo $ECHO_N "(cached) $ECHO_C" >&6
39364 else
39366 cat >conftest.$ac_ext <<_ACEOF
39367 /* confdefs.h. */
39368 _ACEOF
39369 cat confdefs.h >>conftest.$ac_ext
39370 cat >>conftest.$ac_ext <<_ACEOF
39371 /* end confdefs.h. */
39372 #include <stdint.h>
39374 main ()
39376 int64_t var;
39378 return 0;
39380 _ACEOF
39381 rm -f conftest.$ac_objext
39382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39383 (eval $ac_compile) 2>conftest.er1
39384 ac_status=$?
39385 grep -v '^ *+' conftest.er1 >conftest.err
39386 rm -f conftest.er1
39387 cat conftest.err >&5
39388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39389 (exit $ac_status); } &&
39390 { ac_try='test -z "$ac_c_werror_flag"
39391 || test ! -s conftest.err'
39392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39393 (eval $ac_try) 2>&5
39394 ac_status=$?
39395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39396 (exit $ac_status); }; } &&
39397 { ac_try='test -s conftest.$ac_objext'
39398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39399 (eval $ac_try) 2>&5
39400 ac_status=$?
39401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39402 (exit $ac_status); }; }; then
39403 glibcxx_cv_INT64_T=yes
39404 else
39405 echo "$as_me: failed program was:" >&5
39406 sed 's/^/| /' conftest.$ac_ext >&5
39408 glibcxx_cv_INT64_T=no
39410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39414 if test $glibcxx_cv_INT64_T = yes; then
39416 cat >>confdefs.h <<\_ACEOF
39417 #define HAVE_INT64_T 1
39418 _ACEOF
39421 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
39422 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
39425 # For LFS support.
39429 ac_ext=cc
39430 ac_cpp='$CXXCPP $CPPFLAGS'
39431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39435 ac_save_CXXFLAGS="$CXXFLAGS"
39436 CXXFLAGS="$CXXFLAGS -fno-exceptions"
39437 echo "$as_me:$LINENO: checking for LFS support" >&5
39438 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
39439 if test "${glibcxx_cv_LFS+set}" = set; then
39440 echo $ECHO_N "(cached) $ECHO_C" >&6
39441 else
39443 if test x$gcc_no_link = xyes; then
39444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39446 { (exit 1); exit 1; }; }
39448 cat >conftest.$ac_ext <<_ACEOF
39449 /* confdefs.h. */
39450 _ACEOF
39451 cat confdefs.h >>conftest.$ac_ext
39452 cat >>conftest.$ac_ext <<_ACEOF
39453 /* end confdefs.h. */
39454 #include <unistd.h>
39455 #include <stdio.h>
39456 #include <sys/stat.h>
39459 main ()
39461 FILE* fp;
39462 fopen64("t", "w");
39463 fseeko64(fp, 0, SEEK_CUR);
39464 ftello64(fp);
39465 lseek64(1, 0, SEEK_CUR);
39466 struct stat64 buf;
39467 fstat64(1, &buf);
39469 return 0;
39471 _ACEOF
39472 rm -f conftest.$ac_objext conftest$ac_exeext
39473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39474 (eval $ac_link) 2>conftest.er1
39475 ac_status=$?
39476 grep -v '^ *+' conftest.er1 >conftest.err
39477 rm -f conftest.er1
39478 cat conftest.err >&5
39479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39480 (exit $ac_status); } &&
39481 { ac_try='test -z "$ac_cxx_werror_flag"
39482 || test ! -s conftest.err'
39483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39484 (eval $ac_try) 2>&5
39485 ac_status=$?
39486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39487 (exit $ac_status); }; } &&
39488 { ac_try='test -s conftest$ac_exeext'
39489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39490 (eval $ac_try) 2>&5
39491 ac_status=$?
39492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39493 (exit $ac_status); }; }; then
39494 glibcxx_cv_LFS=yes
39495 else
39496 echo "$as_me: failed program was:" >&5
39497 sed 's/^/| /' conftest.$ac_ext >&5
39499 glibcxx_cv_LFS=no
39501 rm -f conftest.err conftest.$ac_objext \
39502 conftest$ac_exeext conftest.$ac_ext
39506 if test $glibcxx_cv_LFS = yes; then
39508 cat >>confdefs.h <<\_ACEOF
39509 #define _GLIBCXX_USE_LFS 1
39510 _ACEOF
39513 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
39514 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
39515 CXXFLAGS="$ac_save_CXXFLAGS"
39516 ac_ext=c
39517 ac_cpp='$CPP $CPPFLAGS'
39518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39524 # For C99 support to TR1.
39529 ac_ext=cc
39530 ac_cpp='$CXXCPP $CPPFLAGS'
39531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39536 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
39537 # undefined and fake C99 facilities may be spuriously enabled.
39538 ac_save_CXXFLAGS="$CXXFLAGS"
39539 CXXFLAGS="$CXXFLAGS -std=c++98"
39541 # Check for the existence of <complex.h> complex math functions used
39542 # by tr1/complex.
39544 for ac_header in complex.h
39546 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39548 echo "$as_me:$LINENO: checking for $ac_header" >&5
39549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39551 echo $ECHO_N "(cached) $ECHO_C" >&6
39553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39555 else
39556 # Is the header compilable?
39557 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39558 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39559 cat >conftest.$ac_ext <<_ACEOF
39560 /* confdefs.h. */
39561 _ACEOF
39562 cat confdefs.h >>conftest.$ac_ext
39563 cat >>conftest.$ac_ext <<_ACEOF
39564 /* end confdefs.h. */
39565 $ac_includes_default
39566 #include <$ac_header>
39567 _ACEOF
39568 rm -f conftest.$ac_objext
39569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39570 (eval $ac_compile) 2>conftest.er1
39571 ac_status=$?
39572 grep -v '^ *+' conftest.er1 >conftest.err
39573 rm -f conftest.er1
39574 cat conftest.err >&5
39575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39576 (exit $ac_status); } &&
39577 { ac_try='test -z "$ac_cxx_werror_flag"
39578 || test ! -s conftest.err'
39579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39580 (eval $ac_try) 2>&5
39581 ac_status=$?
39582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39583 (exit $ac_status); }; } &&
39584 { ac_try='test -s conftest.$ac_objext'
39585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39586 (eval $ac_try) 2>&5
39587 ac_status=$?
39588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39589 (exit $ac_status); }; }; then
39590 ac_header_compiler=yes
39591 else
39592 echo "$as_me: failed program was:" >&5
39593 sed 's/^/| /' conftest.$ac_ext >&5
39595 ac_header_compiler=no
39597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39598 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39599 echo "${ECHO_T}$ac_header_compiler" >&6
39601 # Is the header present?
39602 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39603 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39604 cat >conftest.$ac_ext <<_ACEOF
39605 /* confdefs.h. */
39606 _ACEOF
39607 cat confdefs.h >>conftest.$ac_ext
39608 cat >>conftest.$ac_ext <<_ACEOF
39609 /* end confdefs.h. */
39610 #include <$ac_header>
39611 _ACEOF
39612 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39613 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39614 ac_status=$?
39615 grep -v '^ *+' conftest.er1 >conftest.err
39616 rm -f conftest.er1
39617 cat conftest.err >&5
39618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39619 (exit $ac_status); } >/dev/null; then
39620 if test -s conftest.err; then
39621 ac_cpp_err=$ac_cxx_preproc_warn_flag
39622 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39623 else
39624 ac_cpp_err=
39626 else
39627 ac_cpp_err=yes
39629 if test -z "$ac_cpp_err"; then
39630 ac_header_preproc=yes
39631 else
39632 echo "$as_me: failed program was:" >&5
39633 sed 's/^/| /' conftest.$ac_ext >&5
39635 ac_header_preproc=no
39637 rm -f conftest.err conftest.$ac_ext
39638 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39639 echo "${ECHO_T}$ac_header_preproc" >&6
39641 # So? What about this header?
39642 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39643 yes:no: )
39644 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39645 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39646 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39647 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39648 ac_header_preproc=yes
39650 no:yes:* )
39651 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39652 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39653 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39654 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39655 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39656 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39657 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39658 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39659 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39660 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39661 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39662 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39664 cat <<\_ASBOX
39665 ## ----------------------------------------- ##
39666 ## Report this to the package-unused lists. ##
39667 ## ----------------------------------------- ##
39668 _ASBOX
39670 sed "s/^/$as_me: WARNING: /" >&2
39672 esac
39673 echo "$as_me:$LINENO: checking for $ac_header" >&5
39674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39676 echo $ECHO_N "(cached) $ECHO_C" >&6
39677 else
39678 eval "$as_ac_Header=\$ac_header_preproc"
39680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39685 cat >>confdefs.h <<_ACEOF
39686 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39687 _ACEOF
39688 ac_has_complex_h=yes
39689 else
39690 ac_has_complex_h=no
39693 done
39695 ac_c99_complex_tr1=no;
39696 if test x"$ac_has_complex_h" = x"yes"; then
39697 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
39698 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
39699 cat >conftest.$ac_ext <<_ACEOF
39700 /* confdefs.h. */
39701 _ACEOF
39702 cat confdefs.h >>conftest.$ac_ext
39703 cat >>conftest.$ac_ext <<_ACEOF
39704 /* end confdefs.h. */
39705 #include <complex.h>
39707 main ()
39709 typedef __complex__ float float_type; float_type tmpf;
39710 cacosf(tmpf);
39711 casinf(tmpf);
39712 catanf(tmpf);
39713 cacoshf(tmpf);
39714 casinhf(tmpf);
39715 catanhf(tmpf);
39716 typedef __complex__ double double_type; double_type tmpd;
39717 cacos(tmpd);
39718 casin(tmpd);
39719 catan(tmpd);
39720 cacosh(tmpd);
39721 casinh(tmpd);
39722 catanh(tmpd);
39723 typedef __complex__ long double ld_type; ld_type tmpld;
39724 cacosl(tmpld);
39725 casinl(tmpld);
39726 catanl(tmpld);
39727 cacoshl(tmpld);
39728 casinhl(tmpld);
39729 catanhl(tmpld);
39732 return 0;
39734 _ACEOF
39735 rm -f conftest.$ac_objext
39736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39737 (eval $ac_compile) 2>conftest.er1
39738 ac_status=$?
39739 grep -v '^ *+' conftest.er1 >conftest.err
39740 rm -f conftest.er1
39741 cat conftest.err >&5
39742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39743 (exit $ac_status); } &&
39744 { ac_try='test -z "$ac_cxx_werror_flag"
39745 || test ! -s conftest.err'
39746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39747 (eval $ac_try) 2>&5
39748 ac_status=$?
39749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39750 (exit $ac_status); }; } &&
39751 { ac_try='test -s conftest.$ac_objext'
39752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39753 (eval $ac_try) 2>&5
39754 ac_status=$?
39755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39756 (exit $ac_status); }; }; then
39757 ac_c99_complex_tr1=yes
39758 else
39759 echo "$as_me: failed program was:" >&5
39760 sed 's/^/| /' conftest.$ac_ext >&5
39762 ac_c99_complex_tr1=no
39764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39766 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
39767 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
39768 if test x"$ac_c99_complex_tr1" = x"yes"; then
39770 cat >>confdefs.h <<\_ACEOF
39771 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
39772 _ACEOF
39776 # Check for the existence of <ctype.h> functions.
39777 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
39778 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
39779 if test "${ac_c99_ctype_tr1+set}" = set; then
39780 echo $ECHO_N "(cached) $ECHO_C" >&6
39781 else
39783 cat >conftest.$ac_ext <<_ACEOF
39784 /* confdefs.h. */
39785 _ACEOF
39786 cat confdefs.h >>conftest.$ac_ext
39787 cat >>conftest.$ac_ext <<_ACEOF
39788 /* end confdefs.h. */
39789 #include <ctype.h>
39791 main ()
39793 int ch;
39794 int ret;
39795 ret = isblank(ch);
39798 return 0;
39800 _ACEOF
39801 rm -f conftest.$ac_objext
39802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39803 (eval $ac_compile) 2>conftest.er1
39804 ac_status=$?
39805 grep -v '^ *+' conftest.er1 >conftest.err
39806 rm -f conftest.er1
39807 cat conftest.err >&5
39808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39809 (exit $ac_status); } &&
39810 { ac_try='test -z "$ac_cxx_werror_flag"
39811 || test ! -s conftest.err'
39812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39813 (eval $ac_try) 2>&5
39814 ac_status=$?
39815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39816 (exit $ac_status); }; } &&
39817 { ac_try='test -s conftest.$ac_objext'
39818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39819 (eval $ac_try) 2>&5
39820 ac_status=$?
39821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39822 (exit $ac_status); }; }; then
39823 ac_c99_ctype_tr1=yes
39824 else
39825 echo "$as_me: failed program was:" >&5
39826 sed 's/^/| /' conftest.$ac_ext >&5
39828 ac_c99_ctype_tr1=no
39830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39834 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
39835 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
39836 if test x"$ac_c99_ctype_tr1" = x"yes"; then
39838 cat >>confdefs.h <<\_ACEOF
39839 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
39840 _ACEOF
39844 # Check for the existence of <fenv.h> functions.
39846 for ac_header in fenv.h
39848 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39850 echo "$as_me:$LINENO: checking for $ac_header" >&5
39851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39853 echo $ECHO_N "(cached) $ECHO_C" >&6
39855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39857 else
39858 # Is the header compilable?
39859 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39861 cat >conftest.$ac_ext <<_ACEOF
39862 /* confdefs.h. */
39863 _ACEOF
39864 cat confdefs.h >>conftest.$ac_ext
39865 cat >>conftest.$ac_ext <<_ACEOF
39866 /* end confdefs.h. */
39867 $ac_includes_default
39868 #include <$ac_header>
39869 _ACEOF
39870 rm -f conftest.$ac_objext
39871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39872 (eval $ac_compile) 2>conftest.er1
39873 ac_status=$?
39874 grep -v '^ *+' conftest.er1 >conftest.err
39875 rm -f conftest.er1
39876 cat conftest.err >&5
39877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39878 (exit $ac_status); } &&
39879 { ac_try='test -z "$ac_cxx_werror_flag"
39880 || test ! -s conftest.err'
39881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39882 (eval $ac_try) 2>&5
39883 ac_status=$?
39884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39885 (exit $ac_status); }; } &&
39886 { ac_try='test -s conftest.$ac_objext'
39887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39888 (eval $ac_try) 2>&5
39889 ac_status=$?
39890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39891 (exit $ac_status); }; }; then
39892 ac_header_compiler=yes
39893 else
39894 echo "$as_me: failed program was:" >&5
39895 sed 's/^/| /' conftest.$ac_ext >&5
39897 ac_header_compiler=no
39899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39900 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39901 echo "${ECHO_T}$ac_header_compiler" >&6
39903 # Is the header present?
39904 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39905 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39906 cat >conftest.$ac_ext <<_ACEOF
39907 /* confdefs.h. */
39908 _ACEOF
39909 cat confdefs.h >>conftest.$ac_ext
39910 cat >>conftest.$ac_ext <<_ACEOF
39911 /* end confdefs.h. */
39912 #include <$ac_header>
39913 _ACEOF
39914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39915 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39916 ac_status=$?
39917 grep -v '^ *+' conftest.er1 >conftest.err
39918 rm -f conftest.er1
39919 cat conftest.err >&5
39920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39921 (exit $ac_status); } >/dev/null; then
39922 if test -s conftest.err; then
39923 ac_cpp_err=$ac_cxx_preproc_warn_flag
39924 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39925 else
39926 ac_cpp_err=
39928 else
39929 ac_cpp_err=yes
39931 if test -z "$ac_cpp_err"; then
39932 ac_header_preproc=yes
39933 else
39934 echo "$as_me: failed program was:" >&5
39935 sed 's/^/| /' conftest.$ac_ext >&5
39937 ac_header_preproc=no
39939 rm -f conftest.err conftest.$ac_ext
39940 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39941 echo "${ECHO_T}$ac_header_preproc" >&6
39943 # So? What about this header?
39944 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39945 yes:no: )
39946 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39947 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39949 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39950 ac_header_preproc=yes
39952 no:yes:* )
39953 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39954 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39955 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39956 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39957 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39958 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39959 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39960 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39963 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39964 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39966 cat <<\_ASBOX
39967 ## ----------------------------------------- ##
39968 ## Report this to the package-unused lists. ##
39969 ## ----------------------------------------- ##
39970 _ASBOX
39972 sed "s/^/$as_me: WARNING: /" >&2
39974 esac
39975 echo "$as_me:$LINENO: checking for $ac_header" >&5
39976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39978 echo $ECHO_N "(cached) $ECHO_C" >&6
39979 else
39980 eval "$as_ac_Header=\$ac_header_preproc"
39982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39986 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39987 cat >>confdefs.h <<_ACEOF
39988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39989 _ACEOF
39990 ac_has_fenv_h=yes
39991 else
39992 ac_has_fenv_h=no
39995 done
39997 ac_c99_fenv_tr1=no;
39998 if test x"$ac_has_fenv_h" = x"yes"; then
39999 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
40000 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
40001 cat >conftest.$ac_ext <<_ACEOF
40002 /* confdefs.h. */
40003 _ACEOF
40004 cat confdefs.h >>conftest.$ac_ext
40005 cat >>conftest.$ac_ext <<_ACEOF
40006 /* end confdefs.h. */
40007 #include <fenv.h>
40009 main ()
40011 int except, mode;
40012 fexcept_t* pflag;
40013 fenv_t* penv;
40014 int ret;
40015 ret = feclearexcept(except);
40016 ret = fegetexceptflag(pflag, except);
40017 ret = feraiseexcept(except);
40018 ret = fesetexceptflag(pflag, except);
40019 ret = fetestexcept(except);
40020 ret = fegetround();
40021 ret = fesetround(mode);
40022 ret = fegetenv(penv);
40023 ret = feholdexcept(penv);
40024 ret = fesetenv(penv);
40025 ret = feupdateenv(penv);
40028 return 0;
40030 _ACEOF
40031 rm -f conftest.$ac_objext
40032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40033 (eval $ac_compile) 2>conftest.er1
40034 ac_status=$?
40035 grep -v '^ *+' conftest.er1 >conftest.err
40036 rm -f conftest.er1
40037 cat conftest.err >&5
40038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40039 (exit $ac_status); } &&
40040 { ac_try='test -z "$ac_cxx_werror_flag"
40041 || test ! -s conftest.err'
40042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40043 (eval $ac_try) 2>&5
40044 ac_status=$?
40045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40046 (exit $ac_status); }; } &&
40047 { ac_try='test -s conftest.$ac_objext'
40048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40049 (eval $ac_try) 2>&5
40050 ac_status=$?
40051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40052 (exit $ac_status); }; }; then
40053 ac_c99_fenv_tr1=yes
40054 else
40055 echo "$as_me: failed program was:" >&5
40056 sed 's/^/| /' conftest.$ac_ext >&5
40058 ac_c99_fenv_tr1=no
40060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40062 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
40063 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
40064 if test x"$ac_c99_fenv_tr1" = x"yes"; then
40066 cat >>confdefs.h <<\_ACEOF
40067 #define _GLIBCXX_USE_C99_FENV_TR1 1
40068 _ACEOF
40072 # Check for the existence of <stdint.h> types.
40073 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
40074 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
40075 if test "${ac_c99_stdint_tr1+set}" = set; then
40076 echo $ECHO_N "(cached) $ECHO_C" >&6
40077 else
40079 cat >conftest.$ac_ext <<_ACEOF
40080 /* confdefs.h. */
40081 _ACEOF
40082 cat confdefs.h >>conftest.$ac_ext
40083 cat >>conftest.$ac_ext <<_ACEOF
40084 /* end confdefs.h. */
40085 #include <stdint.h>
40087 main ()
40089 typedef int8_t my_int8_t;
40090 typedef int16_t my_int16_t;
40091 typedef int32_t my_int32_t;
40092 typedef int64_t my_int64_t;
40093 typedef int_fast8_t my_int_fast8_t;
40094 typedef int_fast16_t my_int_fast16_t;
40095 typedef int_fast32_t my_int_fast32_t;
40096 typedef int_fast64_t my_int_fast64_t;
40097 typedef int_least8_t my_int_least8_t;
40098 typedef int_least16_t my_int_least16_t;
40099 typedef int_least32_t my_int_least32_t;
40100 typedef int_least64_t my_int_least64_t;
40101 typedef intmax_t my_intmax_t;
40102 typedef intptr_t my_intptr_t;
40103 typedef uint8_t my_uint8_t;
40104 typedef uint16_t my_uint16_t;
40105 typedef uint32_t my_uint32_t;
40106 typedef uint64_t my_uint64_t;
40107 typedef uint_fast8_t my_uint_fast8_t;
40108 typedef uint_fast16_t my_uint_fast16_t;
40109 typedef uint_fast32_t my_uint_fast32_t;
40110 typedef uint_fast64_t my_uint_fast64_t;
40111 typedef uint_least8_t my_uint_least8_t;
40112 typedef uint_least16_t my_uint_least16_t;
40113 typedef uint_least32_t my_uint_least32_t;
40114 typedef uint_least64_t my_uint_least64_t;
40115 typedef uintmax_t my_uintmax_t;
40116 typedef uintptr_t my_uintptr_t;
40119 return 0;
40121 _ACEOF
40122 rm -f conftest.$ac_objext
40123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40124 (eval $ac_compile) 2>conftest.er1
40125 ac_status=$?
40126 grep -v '^ *+' conftest.er1 >conftest.err
40127 rm -f conftest.er1
40128 cat conftest.err >&5
40129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40130 (exit $ac_status); } &&
40131 { ac_try='test -z "$ac_cxx_werror_flag"
40132 || test ! -s conftest.err'
40133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40134 (eval $ac_try) 2>&5
40135 ac_status=$?
40136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40137 (exit $ac_status); }; } &&
40138 { ac_try='test -s conftest.$ac_objext'
40139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40140 (eval $ac_try) 2>&5
40141 ac_status=$?
40142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40143 (exit $ac_status); }; }; then
40144 ac_c99_stdint_tr1=yes
40145 else
40146 echo "$as_me: failed program was:" >&5
40147 sed 's/^/| /' conftest.$ac_ext >&5
40149 ac_c99_stdint_tr1=no
40151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40155 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
40156 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
40157 if test x"$ac_c99_stdint_tr1" = x"yes"; then
40159 cat >>confdefs.h <<\_ACEOF
40160 #define _GLIBCXX_USE_C99_STDINT_TR1 1
40161 _ACEOF
40165 # Check for the existence of <math.h> functions.
40166 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
40167 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
40168 if test "${ac_c99_math_tr1+set}" = set; then
40169 echo $ECHO_N "(cached) $ECHO_C" >&6
40170 else
40172 cat >conftest.$ac_ext <<_ACEOF
40173 /* confdefs.h. */
40174 _ACEOF
40175 cat confdefs.h >>conftest.$ac_ext
40176 cat >>conftest.$ac_ext <<_ACEOF
40177 /* end confdefs.h. */
40178 #include <math.h>
40180 main ()
40182 typedef double_t my_double_t;
40183 typedef float_t my_float_t;
40184 acosh(0.0);
40185 acoshf(0.0f);
40186 acoshl(0.0l);
40187 asinh(0.0);
40188 asinhf(0.0f);
40189 asinhl(0.0l);
40190 atanh(0.0);
40191 atanhf(0.0f);
40192 atanhl(0.0l);
40193 cbrt(0.0);
40194 cbrtf(0.0f);
40195 cbrtl(0.0l);
40196 copysign(0.0, 0.0);
40197 copysignf(0.0f, 0.0f);
40198 copysignl(0.0l, 0.0l);
40199 erf(0.0);
40200 erff(0.0f);
40201 erfl(0.0l);
40202 erfc(0.0);
40203 erfcf(0.0f);
40204 erfcl(0.0l);
40205 exp2(0.0);
40206 exp2f(0.0f);
40207 exp2l(0.0l);
40208 expm1(0.0);
40209 expm1f(0.0f);
40210 expm1l(0.0l);
40211 fdim(0.0, 0.0);
40212 fdimf(0.0f, 0.0f);
40213 fdiml(0.0l, 0.0l);
40214 fma(0.0, 0.0, 0.0);
40215 fmaf(0.0f, 0.0f, 0.0f);
40216 fmal(0.0l, 0.0l, 0.0l);
40217 fmax(0.0, 0.0);
40218 fmaxf(0.0f, 0.0f);
40219 fmaxl(0.0l, 0.0l);
40220 fmin(0.0, 0.0);
40221 fminf(0.0f, 0.0f);
40222 fminl(0.0l, 0.0l);
40223 hypot(0.0, 0.0);
40224 hypotf(0.0f, 0.0f);
40225 hypotl(0.0l, 0.0l);
40226 ilogb(0.0);
40227 ilogbf(0.0f);
40228 ilogbl(0.0l);
40229 lgamma(0.0);
40230 lgammaf(0.0f);
40231 lgammal(0.0l);
40232 llrint(0.0);
40233 llrintf(0.0f);
40234 llrintl(0.0l);
40235 llround(0.0);
40236 llroundf(0.0f);
40237 llroundl(0.0l);
40238 log1p(0.0);
40239 log1pf(0.0f);
40240 log1pl(0.0l);
40241 log2(0.0);
40242 log2f(0.0f);
40243 log2l(0.0l);
40244 logb(0.0);
40245 logbf(0.0f);
40246 logbl(0.0l);
40247 lrint(0.0);
40248 lrintf(0.0f);
40249 lrintl(0.0l);
40250 lround(0.0);
40251 lroundf(0.0f);
40252 lroundl(0.0l);
40253 nan(0);
40254 nanf(0);
40255 nanl(0);
40256 nearbyint(0.0);
40257 nearbyintf(0.0f);
40258 nearbyintl(0.0l);
40259 nextafter(0.0, 0.0);
40260 nextafterf(0.0f, 0.0f);
40261 nextafterl(0.0l, 0.0l);
40262 nexttoward(0.0, 0.0);
40263 nexttowardf(0.0f, 0.0f);
40264 nexttowardl(0.0l, 0.0l);
40265 remainder(0.0, 0.0);
40266 remainderf(0.0f, 0.0f);
40267 remainderl(0.0l, 0.0l);
40268 remquo(0.0, 0.0, 0);
40269 remquo(0.0f, 0.0f, 0);
40270 remquo(0.0l, 0.0l, 0);
40271 rint(0.0);
40272 rintf(0.0f);
40273 rintl(0.0l);
40274 round(0.0);
40275 roundf(0.0f);
40276 roundl(0.0l);
40277 scalbln(0.0, 0l);
40278 scalblnf(0.0f, 0l);
40279 scalblnl(0.0l, 0l);
40280 scalbn(0.0, 0);
40281 scalbnf(0.0f, 0);
40282 scalbnl(0.0l, 0);
40283 tgamma(0.0);
40284 tgammaf(0.0f);
40285 tgammal(0.0l);
40286 trunc(0.0);
40287 truncf(0.0f);
40288 truncl(0.0l);
40291 return 0;
40293 _ACEOF
40294 rm -f conftest.$ac_objext
40295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40296 (eval $ac_compile) 2>conftest.er1
40297 ac_status=$?
40298 grep -v '^ *+' conftest.er1 >conftest.err
40299 rm -f conftest.er1
40300 cat conftest.err >&5
40301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40302 (exit $ac_status); } &&
40303 { ac_try='test -z "$ac_cxx_werror_flag"
40304 || test ! -s conftest.err'
40305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40306 (eval $ac_try) 2>&5
40307 ac_status=$?
40308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40309 (exit $ac_status); }; } &&
40310 { ac_try='test -s conftest.$ac_objext'
40311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40312 (eval $ac_try) 2>&5
40313 ac_status=$?
40314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40315 (exit $ac_status); }; }; then
40316 ac_c99_math_tr1=yes
40317 else
40318 echo "$as_me: failed program was:" >&5
40319 sed 's/^/| /' conftest.$ac_ext >&5
40321 ac_c99_math_tr1=no
40323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40327 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
40328 echo "${ECHO_T}$ac_c99_math_tr1" >&6
40329 if test x"$ac_c99_math_tr1" = x"yes"; then
40331 cat >>confdefs.h <<\_ACEOF
40332 #define _GLIBCXX_USE_C99_MATH_TR1 1
40333 _ACEOF
40337 # Check for the existence of <inttypes.h> functions (NB: doesn't make
40338 # sense if the previous check fails, per C99, 7.8/1).
40339 ac_c99_inttypes_tr1=no;
40340 if test x"$ac_c99_stdint_tr1" = x"yes"; then
40341 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
40342 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
40343 cat >conftest.$ac_ext <<_ACEOF
40344 /* confdefs.h. */
40345 _ACEOF
40346 cat confdefs.h >>conftest.$ac_ext
40347 cat >>conftest.$ac_ext <<_ACEOF
40348 /* end confdefs.h. */
40349 #include <inttypes.h>
40351 main ()
40353 intmax_t i, numer, denom, base;
40354 const char* s;
40355 char** endptr;
40356 intmax_t ret = imaxabs(i);
40357 imaxdiv_t dret = imaxdiv(numer, denom);
40358 ret = strtoimax(s, endptr, base);
40359 uintmax_t uret = strtoumax(s, endptr, base);
40362 return 0;
40364 _ACEOF
40365 rm -f conftest.$ac_objext
40366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40367 (eval $ac_compile) 2>conftest.er1
40368 ac_status=$?
40369 grep -v '^ *+' conftest.er1 >conftest.err
40370 rm -f conftest.er1
40371 cat conftest.err >&5
40372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40373 (exit $ac_status); } &&
40374 { ac_try='test -z "$ac_cxx_werror_flag"
40375 || test ! -s conftest.err'
40376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40377 (eval $ac_try) 2>&5
40378 ac_status=$?
40379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40380 (exit $ac_status); }; } &&
40381 { ac_try='test -s conftest.$ac_objext'
40382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40383 (eval $ac_try) 2>&5
40384 ac_status=$?
40385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40386 (exit $ac_status); }; }; then
40387 ac_c99_inttypes_tr1=yes
40388 else
40389 echo "$as_me: failed program was:" >&5
40390 sed 's/^/| /' conftest.$ac_ext >&5
40392 ac_c99_inttypes_tr1=no
40394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40396 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
40397 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
40398 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
40400 cat >>confdefs.h <<\_ACEOF
40401 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
40402 _ACEOF
40406 # Check for the existence of the <stdbool.h> header.
40408 for ac_header in stdbool.h
40410 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40412 echo "$as_me:$LINENO: checking for $ac_header" >&5
40413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40415 echo $ECHO_N "(cached) $ECHO_C" >&6
40417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40418 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40419 else
40420 # Is the header compilable?
40421 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40422 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40423 cat >conftest.$ac_ext <<_ACEOF
40424 /* confdefs.h. */
40425 _ACEOF
40426 cat confdefs.h >>conftest.$ac_ext
40427 cat >>conftest.$ac_ext <<_ACEOF
40428 /* end confdefs.h. */
40429 $ac_includes_default
40430 #include <$ac_header>
40431 _ACEOF
40432 rm -f conftest.$ac_objext
40433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40434 (eval $ac_compile) 2>conftest.er1
40435 ac_status=$?
40436 grep -v '^ *+' conftest.er1 >conftest.err
40437 rm -f conftest.er1
40438 cat conftest.err >&5
40439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40440 (exit $ac_status); } &&
40441 { ac_try='test -z "$ac_cxx_werror_flag"
40442 || test ! -s conftest.err'
40443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40444 (eval $ac_try) 2>&5
40445 ac_status=$?
40446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40447 (exit $ac_status); }; } &&
40448 { ac_try='test -s conftest.$ac_objext'
40449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40450 (eval $ac_try) 2>&5
40451 ac_status=$?
40452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40453 (exit $ac_status); }; }; then
40454 ac_header_compiler=yes
40455 else
40456 echo "$as_me: failed program was:" >&5
40457 sed 's/^/| /' conftest.$ac_ext >&5
40459 ac_header_compiler=no
40461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40462 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40463 echo "${ECHO_T}$ac_header_compiler" >&6
40465 # Is the header present?
40466 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40467 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40468 cat >conftest.$ac_ext <<_ACEOF
40469 /* confdefs.h. */
40470 _ACEOF
40471 cat confdefs.h >>conftest.$ac_ext
40472 cat >>conftest.$ac_ext <<_ACEOF
40473 /* end confdefs.h. */
40474 #include <$ac_header>
40475 _ACEOF
40476 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40477 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40478 ac_status=$?
40479 grep -v '^ *+' conftest.er1 >conftest.err
40480 rm -f conftest.er1
40481 cat conftest.err >&5
40482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40483 (exit $ac_status); } >/dev/null; then
40484 if test -s conftest.err; then
40485 ac_cpp_err=$ac_cxx_preproc_warn_flag
40486 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40487 else
40488 ac_cpp_err=
40490 else
40491 ac_cpp_err=yes
40493 if test -z "$ac_cpp_err"; then
40494 ac_header_preproc=yes
40495 else
40496 echo "$as_me: failed program was:" >&5
40497 sed 's/^/| /' conftest.$ac_ext >&5
40499 ac_header_preproc=no
40501 rm -f conftest.err conftest.$ac_ext
40502 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40503 echo "${ECHO_T}$ac_header_preproc" >&6
40505 # So? What about this header?
40506 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40507 yes:no: )
40508 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40509 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40511 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40512 ac_header_preproc=yes
40514 no:yes:* )
40515 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40516 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40517 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40518 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40519 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40520 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40521 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40522 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40524 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40525 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40526 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40528 cat <<\_ASBOX
40529 ## ----------------------------------------- ##
40530 ## Report this to the package-unused lists. ##
40531 ## ----------------------------------------- ##
40532 _ASBOX
40534 sed "s/^/$as_me: WARNING: /" >&2
40536 esac
40537 echo "$as_me:$LINENO: checking for $ac_header" >&5
40538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40540 echo $ECHO_N "(cached) $ECHO_C" >&6
40541 else
40542 eval "$as_ac_Header=\$ac_header_preproc"
40544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40545 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40548 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40549 cat >>confdefs.h <<_ACEOF
40550 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40551 _ACEOF
40555 done
40558 CXXFLAGS="$ac_save_CXXFLAGS"
40559 ac_ext=c
40560 ac_cpp='$CPP $CPPFLAGS'
40561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40567 # For dev/random and dev/urandom for TR1.
40570 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
40571 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
40572 if test "${ac_random_tr1+set}" = set; then
40573 echo $ECHO_N "(cached) $ECHO_C" >&6
40574 else
40576 if test "$cross_compiling" = yes; then
40577 ac_random_tr1=no
40578 else
40579 cat >conftest.$ac_ext <<_ACEOF
40580 /* confdefs.h. */
40581 _ACEOF
40582 cat confdefs.h >>conftest.$ac_ext
40583 cat >>conftest.$ac_ext <<_ACEOF
40584 /* end confdefs.h. */
40585 #include <stdio.h>
40586 int main()
40588 return !(fopen("/dev/random", "r")
40589 && fopen("/dev/urandom", "r"));
40592 _ACEOF
40593 rm -f conftest$ac_exeext
40594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40595 (eval $ac_link) 2>&5
40596 ac_status=$?
40597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40598 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40600 (eval $ac_try) 2>&5
40601 ac_status=$?
40602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40603 (exit $ac_status); }; }; then
40604 ac_random_tr1=yes
40605 else
40606 echo "$as_me: program exited with status $ac_status" >&5
40607 echo "$as_me: failed program was:" >&5
40608 sed 's/^/| /' conftest.$ac_ext >&5
40610 ( exit $ac_status )
40611 ac_random_tr1=no
40613 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40618 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
40619 echo "${ECHO_T}$ac_random_tr1" >&6
40620 if test x"$ac_random_tr1" = x"yes"; then
40622 cat >>confdefs.h <<\_ACEOF
40623 #define _GLIBCXX_USE_RANDOM_TR1 1
40624 _ACEOF
40630 # For TLS support.
40632 # Check whether --enable-tls or --disable-tls was given.
40633 if test "${enable_tls+set}" = set; then
40634 enableval="$enable_tls"
40636 case "$enableval" in
40637 yes|no) ;;
40638 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
40639 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
40640 { (exit 1); exit 1; }; } ;;
40641 esac
40643 else
40644 enable_tls=yes
40647 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
40648 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
40649 if test "${gcc_cv_have_tls+set}" = set; then
40650 echo $ECHO_N "(cached) $ECHO_C" >&6
40651 else
40653 if test "$cross_compiling" = yes; then
40654 if test x$gcc_no_link = xyes; then
40655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40657 { (exit 1); exit 1; }; }
40659 cat >conftest.$ac_ext <<_ACEOF
40660 __thread int a; int b; int main() { return a = b; }
40661 _ACEOF
40662 rm -f conftest.$ac_objext conftest$ac_exeext
40663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40664 (eval $ac_link) 2>conftest.er1
40665 ac_status=$?
40666 grep -v '^ *+' conftest.er1 >conftest.err
40667 rm -f conftest.er1
40668 cat conftest.err >&5
40669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40670 (exit $ac_status); } &&
40671 { ac_try='test -z "$ac_c_werror_flag"
40672 || test ! -s conftest.err'
40673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40674 (eval $ac_try) 2>&5
40675 ac_status=$?
40676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40677 (exit $ac_status); }; } &&
40678 { ac_try='test -s conftest$ac_exeext'
40679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40680 (eval $ac_try) 2>&5
40681 ac_status=$?
40682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40683 (exit $ac_status); }; }; then
40684 gcc_cv_have_tls=yes
40685 else
40686 echo "$as_me: failed program was:" >&5
40687 sed 's/^/| /' conftest.$ac_ext >&5
40689 gcc_cv_have_tls=no
40691 rm -f conftest.err conftest.$ac_objext \
40692 conftest$ac_exeext conftest.$ac_ext
40695 else
40696 cat >conftest.$ac_ext <<_ACEOF
40697 __thread int a; int b; int main() { return a = b; }
40698 _ACEOF
40699 rm -f conftest$ac_exeext
40700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40701 (eval $ac_link) 2>&5
40702 ac_status=$?
40703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40704 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40706 (eval $ac_try) 2>&5
40707 ac_status=$?
40708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40709 (exit $ac_status); }; }; then
40710 chktls_save_LDFLAGS="$LDFLAGS"
40711 LDFLAGS="-static $LDFLAGS"
40712 if test x$gcc_no_link = xyes; then
40713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40715 { (exit 1); exit 1; }; }
40717 cat >conftest.$ac_ext <<_ACEOF
40718 int main() { return 0; }
40719 _ACEOF
40720 rm -f conftest.$ac_objext conftest$ac_exeext
40721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40722 (eval $ac_link) 2>conftest.er1
40723 ac_status=$?
40724 grep -v '^ *+' conftest.er1 >conftest.err
40725 rm -f conftest.er1
40726 cat conftest.err >&5
40727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40728 (exit $ac_status); } &&
40729 { ac_try='test -z "$ac_c_werror_flag"
40730 || test ! -s conftest.err'
40731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40732 (eval $ac_try) 2>&5
40733 ac_status=$?
40734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40735 (exit $ac_status); }; } &&
40736 { ac_try='test -s conftest$ac_exeext'
40737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40738 (eval $ac_try) 2>&5
40739 ac_status=$?
40740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40741 (exit $ac_status); }; }; then
40742 if test "$cross_compiling" = yes; then
40743 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40744 See \`config.log' for more details." >&5
40745 echo "$as_me: error: cannot run test program while cross compiling
40746 See \`config.log' for more details." >&2;}
40747 { (exit 1); exit 1; }; }
40748 else
40749 cat >conftest.$ac_ext <<_ACEOF
40750 __thread int a; int b; int main() { return a = b; }
40751 _ACEOF
40752 rm -f conftest$ac_exeext
40753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40754 (eval $ac_link) 2>&5
40755 ac_status=$?
40756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40757 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40759 (eval $ac_try) 2>&5
40760 ac_status=$?
40761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40762 (exit $ac_status); }; }; then
40763 gcc_cv_have_tls=yes
40764 else
40765 echo "$as_me: program exited with status $ac_status" >&5
40766 echo "$as_me: failed program was:" >&5
40767 sed 's/^/| /' conftest.$ac_ext >&5
40769 ( exit $ac_status )
40770 gcc_cv_have_tls=no
40772 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40774 else
40775 echo "$as_me: failed program was:" >&5
40776 sed 's/^/| /' conftest.$ac_ext >&5
40778 gcc_cv_have_tls=yes
40780 rm -f conftest.err conftest.$ac_objext \
40781 conftest$ac_exeext conftest.$ac_ext
40782 LDFLAGS="$chktls_save_LDFLAGS"
40783 if test $gcc_cv_have_tls = yes; then
40784 chktls_save_CFLAGS="$CFLAGS"
40785 thread_CFLAGS=failed
40786 for flag in '' '-pthread' '-lpthread'; do
40787 CFLAGS="$flag $chktls_save_CFLAGS"
40788 if test x$gcc_no_link = xyes; then
40789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40791 { (exit 1); exit 1; }; }
40793 cat >conftest.$ac_ext <<_ACEOF
40794 /* confdefs.h. */
40795 _ACEOF
40796 cat confdefs.h >>conftest.$ac_ext
40797 cat >>conftest.$ac_ext <<_ACEOF
40798 /* end confdefs.h. */
40799 #include <pthread.h>
40800 void *g(void *d) { return NULL; }
40802 main ()
40804 pthread_t t; pthread_create(&t,NULL,g,NULL);
40806 return 0;
40808 _ACEOF
40809 rm -f conftest.$ac_objext conftest$ac_exeext
40810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40811 (eval $ac_link) 2>conftest.er1
40812 ac_status=$?
40813 grep -v '^ *+' conftest.er1 >conftest.err
40814 rm -f conftest.er1
40815 cat conftest.err >&5
40816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40817 (exit $ac_status); } &&
40818 { ac_try='test -z "$ac_c_werror_flag"
40819 || test ! -s conftest.err'
40820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40821 (eval $ac_try) 2>&5
40822 ac_status=$?
40823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40824 (exit $ac_status); }; } &&
40825 { ac_try='test -s conftest$ac_exeext'
40826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40827 (eval $ac_try) 2>&5
40828 ac_status=$?
40829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40830 (exit $ac_status); }; }; then
40831 thread_CFLAGS="$flag"
40832 else
40833 echo "$as_me: failed program was:" >&5
40834 sed 's/^/| /' conftest.$ac_ext >&5
40837 rm -f conftest.err conftest.$ac_objext \
40838 conftest$ac_exeext conftest.$ac_ext
40839 if test "X$thread_CFLAGS" != Xfailed; then
40840 break
40842 done
40843 CFLAGS="$chktls_save_CFLAGS"
40844 if test "X$thread_CFLAGS" != Xfailed; then
40845 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
40846 if test "$cross_compiling" = yes; then
40847 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40848 See \`config.log' for more details." >&5
40849 echo "$as_me: error: cannot run test program while cross compiling
40850 See \`config.log' for more details." >&2;}
40851 { (exit 1); exit 1; }; }
40852 else
40853 cat >conftest.$ac_ext <<_ACEOF
40854 /* confdefs.h. */
40855 _ACEOF
40856 cat confdefs.h >>conftest.$ac_ext
40857 cat >>conftest.$ac_ext <<_ACEOF
40858 /* end confdefs.h. */
40859 #include <pthread.h>
40860 __thread int a;
40861 static int *a_in_other_thread;
40862 static void *
40863 thread_func (void *arg)
40865 a_in_other_thread = &a;
40866 return (void *)0;
40869 main ()
40871 pthread_t thread;
40872 void *thread_retval;
40873 int *a_in_main_thread;
40874 if (pthread_create (&thread, (pthread_attr_t *)0,
40875 thread_func, (void *)0))
40876 return 0;
40877 a_in_main_thread = &a;
40878 if (pthread_join (thread, &thread_retval))
40879 return 0;
40880 return (a_in_other_thread == a_in_main_thread);
40882 return 0;
40884 _ACEOF
40885 rm -f conftest$ac_exeext
40886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40887 (eval $ac_link) 2>&5
40888 ac_status=$?
40889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40890 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40892 (eval $ac_try) 2>&5
40893 ac_status=$?
40894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40895 (exit $ac_status); }; }; then
40896 gcc_cv_have_tls=yes
40897 else
40898 echo "$as_me: program exited with status $ac_status" >&5
40899 echo "$as_me: failed program was:" >&5
40900 sed 's/^/| /' conftest.$ac_ext >&5
40902 ( exit $ac_status )
40903 gcc_cv_have_tls=no
40905 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40907 CFLAGS="$chktls_save_CFLAGS"
40910 else
40911 echo "$as_me: program exited with status $ac_status" >&5
40912 echo "$as_me: failed program was:" >&5
40913 sed 's/^/| /' conftest.$ac_ext >&5
40915 ( exit $ac_status )
40916 gcc_cv_have_tls=no
40918 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40921 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
40922 echo "${ECHO_T}$gcc_cv_have_tls" >&6
40923 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
40925 cat >>confdefs.h <<\_ACEOF
40926 #define HAVE_TLS 1
40927 _ACEOF
40931 # For _Unwind_GetIPInfo.
40935 ac_ext=cc
40936 ac_cpp='$CXXCPP $CPPFLAGS'
40937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40941 ac_save_CXXFLAGS="$CXXFLAGS"
40942 CXXFLAGS="$CXXFLAGS -fno-exceptions"
40943 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
40944 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
40945 if test "${gcc_cv_getipinfo+set}" = set; then
40946 echo $ECHO_N "(cached) $ECHO_C" >&6
40947 else
40949 if test x$gcc_no_link = xyes; then
40950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40952 { (exit 1); exit 1; }; }
40954 cat >conftest.$ac_ext <<_ACEOF
40955 /* confdefs.h. */
40956 _ACEOF
40957 cat confdefs.h >>conftest.$ac_ext
40958 cat >>conftest.$ac_ext <<_ACEOF
40959 /* end confdefs.h. */
40960 extern "C" { extern void _Unwind_GetIPInfo(); }
40962 main ()
40964 _Unwind_GetIPInfo();
40966 return 0;
40968 _ACEOF
40969 rm -f conftest.$ac_objext conftest$ac_exeext
40970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40971 (eval $ac_link) 2>conftest.er1
40972 ac_status=$?
40973 grep -v '^ *+' conftest.er1 >conftest.err
40974 rm -f conftest.er1
40975 cat conftest.err >&5
40976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40977 (exit $ac_status); } &&
40978 { ac_try='test -z "$ac_cxx_werror_flag"
40979 || test ! -s conftest.err'
40980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40981 (eval $ac_try) 2>&5
40982 ac_status=$?
40983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40984 (exit $ac_status); }; } &&
40985 { ac_try='test -s conftest$ac_exeext'
40986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40987 (eval $ac_try) 2>&5
40988 ac_status=$?
40989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40990 (exit $ac_status); }; }; then
40991 gcc_cv_getipinfo=yes
40992 else
40993 echo "$as_me: failed program was:" >&5
40994 sed 's/^/| /' conftest.$ac_ext >&5
40996 gcc_cv_getipinfo=no
40998 rm -f conftest.err conftest.$ac_objext \
40999 conftest$ac_exeext conftest.$ac_ext
41003 if test $gcc_cv_getipinfo = yes; then
41005 cat >>confdefs.h <<\_ACEOF
41006 #define HAVE_GETIPINFO 1
41007 _ACEOF
41010 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
41011 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
41012 CXXFLAGS="$ac_save_CXXFLAGS"
41013 ac_ext=c
41014 ac_cpp='$CPP $CPPFLAGS'
41015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41022 if test "${ac_cv_header_locale_h+set}" = set; then
41023 echo "$as_me:$LINENO: checking for locale.h" >&5
41024 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41025 if test "${ac_cv_header_locale_h+set}" = set; then
41026 echo $ECHO_N "(cached) $ECHO_C" >&6
41028 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41029 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41030 else
41031 # Is the header compilable?
41032 echo "$as_me:$LINENO: checking locale.h usability" >&5
41033 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
41034 cat >conftest.$ac_ext <<_ACEOF
41035 /* confdefs.h. */
41036 _ACEOF
41037 cat confdefs.h >>conftest.$ac_ext
41038 cat >>conftest.$ac_ext <<_ACEOF
41039 /* end confdefs.h. */
41040 $ac_includes_default
41041 #include <locale.h>
41042 _ACEOF
41043 rm -f conftest.$ac_objext
41044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41045 (eval $ac_compile) 2>conftest.er1
41046 ac_status=$?
41047 grep -v '^ *+' conftest.er1 >conftest.err
41048 rm -f conftest.er1
41049 cat conftest.err >&5
41050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41051 (exit $ac_status); } &&
41052 { ac_try='test -z "$ac_c_werror_flag"
41053 || test ! -s conftest.err'
41054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41055 (eval $ac_try) 2>&5
41056 ac_status=$?
41057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41058 (exit $ac_status); }; } &&
41059 { ac_try='test -s conftest.$ac_objext'
41060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41061 (eval $ac_try) 2>&5
41062 ac_status=$?
41063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41064 (exit $ac_status); }; }; then
41065 ac_header_compiler=yes
41066 else
41067 echo "$as_me: failed program was:" >&5
41068 sed 's/^/| /' conftest.$ac_ext >&5
41070 ac_header_compiler=no
41072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41073 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41074 echo "${ECHO_T}$ac_header_compiler" >&6
41076 # Is the header present?
41077 echo "$as_me:$LINENO: checking locale.h presence" >&5
41078 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
41079 cat >conftest.$ac_ext <<_ACEOF
41080 /* confdefs.h. */
41081 _ACEOF
41082 cat confdefs.h >>conftest.$ac_ext
41083 cat >>conftest.$ac_ext <<_ACEOF
41084 /* end confdefs.h. */
41085 #include <locale.h>
41086 _ACEOF
41087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41088 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41089 ac_status=$?
41090 grep -v '^ *+' conftest.er1 >conftest.err
41091 rm -f conftest.er1
41092 cat conftest.err >&5
41093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41094 (exit $ac_status); } >/dev/null; then
41095 if test -s conftest.err; then
41096 ac_cpp_err=$ac_c_preproc_warn_flag
41097 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41098 else
41099 ac_cpp_err=
41101 else
41102 ac_cpp_err=yes
41104 if test -z "$ac_cpp_err"; then
41105 ac_header_preproc=yes
41106 else
41107 echo "$as_me: failed program was:" >&5
41108 sed 's/^/| /' conftest.$ac_ext >&5
41110 ac_header_preproc=no
41112 rm -f conftest.err conftest.$ac_ext
41113 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41114 echo "${ECHO_T}$ac_header_preproc" >&6
41116 # So? What about this header?
41117 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41118 yes:no: )
41119 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
41120 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
41121 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
41122 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
41123 ac_header_preproc=yes
41125 no:yes:* )
41126 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
41127 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
41128 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
41129 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
41130 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
41131 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
41132 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
41133 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
41134 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
41135 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
41136 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
41137 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
41139 cat <<\_ASBOX
41140 ## ----------------------------------------- ##
41141 ## Report this to the package-unused lists. ##
41142 ## ----------------------------------------- ##
41143 _ASBOX
41145 sed "s/^/$as_me: WARNING: /" >&2
41147 esac
41148 echo "$as_me:$LINENO: checking for locale.h" >&5
41149 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41150 if test "${ac_cv_header_locale_h+set}" = set; then
41151 echo $ECHO_N "(cached) $ECHO_C" >&6
41152 else
41153 ac_cv_header_locale_h=$ac_header_preproc
41155 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41156 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41159 if test $ac_cv_header_locale_h = yes; then
41161 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
41162 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
41163 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
41164 echo $ECHO_N "(cached) $ECHO_C" >&6
41165 else
41166 if test x$gcc_no_link = xyes; then
41167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41169 { (exit 1); exit 1; }; }
41171 cat >conftest.$ac_ext <<_ACEOF
41172 /* confdefs.h. */
41173 _ACEOF
41174 cat confdefs.h >>conftest.$ac_ext
41175 cat >>conftest.$ac_ext <<_ACEOF
41176 /* end confdefs.h. */
41177 #include <locale.h>
41179 main ()
41181 return LC_MESSAGES
41183 return 0;
41185 _ACEOF
41186 rm -f conftest.$ac_objext conftest$ac_exeext
41187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41188 (eval $ac_link) 2>conftest.er1
41189 ac_status=$?
41190 grep -v '^ *+' conftest.er1 >conftest.err
41191 rm -f conftest.er1
41192 cat conftest.err >&5
41193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41194 (exit $ac_status); } &&
41195 { ac_try='test -z "$ac_c_werror_flag"
41196 || test ! -s conftest.err'
41197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41198 (eval $ac_try) 2>&5
41199 ac_status=$?
41200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41201 (exit $ac_status); }; } &&
41202 { ac_try='test -s conftest$ac_exeext'
41203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41204 (eval $ac_try) 2>&5
41205 ac_status=$?
41206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41207 (exit $ac_status); }; }; then
41208 ac_cv_val_LC_MESSAGES=yes
41209 else
41210 echo "$as_me: failed program was:" >&5
41211 sed 's/^/| /' conftest.$ac_ext >&5
41213 ac_cv_val_LC_MESSAGES=no
41215 rm -f conftest.err conftest.$ac_objext \
41216 conftest$ac_exeext conftest.$ac_ext
41218 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
41219 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
41220 if test $ac_cv_val_LC_MESSAGES = yes; then
41222 cat >>confdefs.h <<\_ACEOF
41223 #define HAVE_LC_MESSAGES 1
41224 _ACEOF
41233 cat >conftest.$ac_ext <<_ACEOF
41234 /* confdefs.h. */
41235 _ACEOF
41236 cat confdefs.h >>conftest.$ac_ext
41237 cat >>conftest.$ac_ext <<_ACEOF
41238 /* end confdefs.h. */
41239 #include <setjmp.h>
41241 main ()
41243 sigjmp_buf env;
41244 while (! sigsetjmp (env, 1))
41245 siglongjmp (env, 1);
41248 return 0;
41250 _ACEOF
41251 rm -f conftest.$ac_objext
41252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41253 (eval $ac_compile) 2>conftest.er1
41254 ac_status=$?
41255 grep -v '^ *+' conftest.er1 >conftest.err
41256 rm -f conftest.er1
41257 cat conftest.err >&5
41258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41259 (exit $ac_status); } &&
41260 { ac_try='test -z "$ac_c_werror_flag"
41261 || test ! -s conftest.err'
41262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41263 (eval $ac_try) 2>&5
41264 ac_status=$?
41265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41266 (exit $ac_status); }; } &&
41267 { ac_try='test -s conftest.$ac_objext'
41268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41269 (eval $ac_try) 2>&5
41270 ac_status=$?
41271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41272 (exit $ac_status); }; }; then
41274 cat >>confdefs.h <<\_ACEOF
41275 #define HAVE_SIGSETJMP 1
41276 _ACEOF
41278 else
41279 echo "$as_me: failed program was:" >&5
41280 sed 's/^/| /' conftest.$ac_ext >&5
41283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41285 if test x$gcc_no_link = xyes; then
41286 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
41287 ac_cv_func_mmap_fixed_mapped=no
41290 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
41293 for ac_header in stdlib.h unistd.h
41295 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41297 echo "$as_me:$LINENO: checking for $ac_header" >&5
41298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41300 echo $ECHO_N "(cached) $ECHO_C" >&6
41302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41304 else
41305 # Is the header compilable?
41306 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41307 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41308 cat >conftest.$ac_ext <<_ACEOF
41309 /* confdefs.h. */
41310 _ACEOF
41311 cat confdefs.h >>conftest.$ac_ext
41312 cat >>conftest.$ac_ext <<_ACEOF
41313 /* end confdefs.h. */
41314 $ac_includes_default
41315 #include <$ac_header>
41316 _ACEOF
41317 rm -f conftest.$ac_objext
41318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41319 (eval $ac_compile) 2>conftest.er1
41320 ac_status=$?
41321 grep -v '^ *+' conftest.er1 >conftest.err
41322 rm -f conftest.er1
41323 cat conftest.err >&5
41324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41325 (exit $ac_status); } &&
41326 { ac_try='test -z "$ac_c_werror_flag"
41327 || test ! -s conftest.err'
41328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41329 (eval $ac_try) 2>&5
41330 ac_status=$?
41331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41332 (exit $ac_status); }; } &&
41333 { ac_try='test -s conftest.$ac_objext'
41334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41335 (eval $ac_try) 2>&5
41336 ac_status=$?
41337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41338 (exit $ac_status); }; }; then
41339 ac_header_compiler=yes
41340 else
41341 echo "$as_me: failed program was:" >&5
41342 sed 's/^/| /' conftest.$ac_ext >&5
41344 ac_header_compiler=no
41346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41347 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41348 echo "${ECHO_T}$ac_header_compiler" >&6
41350 # Is the header present?
41351 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41352 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41353 cat >conftest.$ac_ext <<_ACEOF
41354 /* confdefs.h. */
41355 _ACEOF
41356 cat confdefs.h >>conftest.$ac_ext
41357 cat >>conftest.$ac_ext <<_ACEOF
41358 /* end confdefs.h. */
41359 #include <$ac_header>
41360 _ACEOF
41361 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41362 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41363 ac_status=$?
41364 grep -v '^ *+' conftest.er1 >conftest.err
41365 rm -f conftest.er1
41366 cat conftest.err >&5
41367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41368 (exit $ac_status); } >/dev/null; then
41369 if test -s conftest.err; then
41370 ac_cpp_err=$ac_c_preproc_warn_flag
41371 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41372 else
41373 ac_cpp_err=
41375 else
41376 ac_cpp_err=yes
41378 if test -z "$ac_cpp_err"; then
41379 ac_header_preproc=yes
41380 else
41381 echo "$as_me: failed program was:" >&5
41382 sed 's/^/| /' conftest.$ac_ext >&5
41384 ac_header_preproc=no
41386 rm -f conftest.err conftest.$ac_ext
41387 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41388 echo "${ECHO_T}$ac_header_preproc" >&6
41390 # So? What about this header?
41391 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41392 yes:no: )
41393 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41394 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41396 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41397 ac_header_preproc=yes
41399 no:yes:* )
41400 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41401 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41402 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41403 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41404 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41405 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41406 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41407 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41409 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41410 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41411 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41413 cat <<\_ASBOX
41414 ## ----------------------------------------- ##
41415 ## Report this to the package-unused lists. ##
41416 ## ----------------------------------------- ##
41417 _ASBOX
41419 sed "s/^/$as_me: WARNING: /" >&2
41421 esac
41422 echo "$as_me:$LINENO: checking for $ac_header" >&5
41423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41425 echo $ECHO_N "(cached) $ECHO_C" >&6
41426 else
41427 eval "$as_ac_Header=\$ac_header_preproc"
41429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41433 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41434 cat >>confdefs.h <<_ACEOF
41435 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41436 _ACEOF
41440 done
41443 for ac_func in getpagesize
41445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41446 echo "$as_me:$LINENO: checking for $ac_func" >&5
41447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41448 if eval "test \"\${$as_ac_var+set}\" = set"; then
41449 echo $ECHO_N "(cached) $ECHO_C" >&6
41450 else
41451 if test x$gcc_no_link = xyes; then
41452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41454 { (exit 1); exit 1; }; }
41456 cat >conftest.$ac_ext <<_ACEOF
41457 /* confdefs.h. */
41458 _ACEOF
41459 cat confdefs.h >>conftest.$ac_ext
41460 cat >>conftest.$ac_ext <<_ACEOF
41461 /* end confdefs.h. */
41462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41464 #define $ac_func innocuous_$ac_func
41466 /* System header to define __stub macros and hopefully few prototypes,
41467 which can conflict with char $ac_func (); below.
41468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41469 <limits.h> exists even on freestanding compilers. */
41471 #ifdef __STDC__
41472 # include <limits.h>
41473 #else
41474 # include <assert.h>
41475 #endif
41477 #undef $ac_func
41479 /* Override any gcc2 internal prototype to avoid an error. */
41480 #ifdef __cplusplus
41481 extern "C"
41483 #endif
41484 /* We use char because int might match the return type of a gcc2
41485 builtin and then its argument prototype would still apply. */
41486 char $ac_func ();
41487 /* The GNU C library defines this for functions which it implements
41488 to always fail with ENOSYS. Some functions are actually named
41489 something starting with __ and the normal name is an alias. */
41490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41491 choke me
41492 #else
41493 char (*f) () = $ac_func;
41494 #endif
41495 #ifdef __cplusplus
41497 #endif
41500 main ()
41502 return f != $ac_func;
41504 return 0;
41506 _ACEOF
41507 rm -f conftest.$ac_objext conftest$ac_exeext
41508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41509 (eval $ac_link) 2>conftest.er1
41510 ac_status=$?
41511 grep -v '^ *+' conftest.er1 >conftest.err
41512 rm -f conftest.er1
41513 cat conftest.err >&5
41514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41515 (exit $ac_status); } &&
41516 { ac_try='test -z "$ac_c_werror_flag"
41517 || test ! -s conftest.err'
41518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41519 (eval $ac_try) 2>&5
41520 ac_status=$?
41521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41522 (exit $ac_status); }; } &&
41523 { ac_try='test -s conftest$ac_exeext'
41524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41525 (eval $ac_try) 2>&5
41526 ac_status=$?
41527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41528 (exit $ac_status); }; }; then
41529 eval "$as_ac_var=yes"
41530 else
41531 echo "$as_me: failed program was:" >&5
41532 sed 's/^/| /' conftest.$ac_ext >&5
41534 eval "$as_ac_var=no"
41536 rm -f conftest.err conftest.$ac_objext \
41537 conftest$ac_exeext conftest.$ac_ext
41539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41541 if test `eval echo '${'$as_ac_var'}'` = yes; then
41542 cat >>confdefs.h <<_ACEOF
41543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41544 _ACEOF
41547 done
41549 echo "$as_me:$LINENO: checking for working mmap" >&5
41550 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
41551 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
41552 echo $ECHO_N "(cached) $ECHO_C" >&6
41553 else
41554 if test "$cross_compiling" = yes; then
41555 ac_cv_func_mmap_fixed_mapped=no
41556 else
41557 cat >conftest.$ac_ext <<_ACEOF
41558 /* confdefs.h. */
41559 _ACEOF
41560 cat confdefs.h >>conftest.$ac_ext
41561 cat >>conftest.$ac_ext <<_ACEOF
41562 /* end confdefs.h. */
41563 $ac_includes_default
41564 /* malloc might have been renamed as rpl_malloc. */
41565 #undef malloc
41567 /* Thanks to Mike Haertel and Jim Avera for this test.
41568 Here is a matrix of mmap possibilities:
41569 mmap private not fixed
41570 mmap private fixed at somewhere currently unmapped
41571 mmap private fixed at somewhere already mapped
41572 mmap shared not fixed
41573 mmap shared fixed at somewhere currently unmapped
41574 mmap shared fixed at somewhere already mapped
41575 For private mappings, we should verify that changes cannot be read()
41576 back from the file, nor mmap's back from the file at a different
41577 address. (There have been systems where private was not correctly
41578 implemented like the infamous i386 svr4.0, and systems where the
41579 VM page cache was not coherent with the file system buffer cache
41580 like early versions of FreeBSD and possibly contemporary NetBSD.)
41581 For shared mappings, we should conversely verify that changes get
41582 propagated back to all the places they're supposed to be.
41584 Grep wants private fixed already mapped.
41585 The main things grep needs to know about mmap are:
41586 * does it exist and is it safe to write into the mmap'd area
41587 * how to use it (BSD variants) */
41589 #include <fcntl.h>
41590 #include <sys/mman.h>
41592 #if !STDC_HEADERS && !HAVE_STDLIB_H
41593 char *malloc ();
41594 #endif
41596 /* This mess was copied from the GNU getpagesize.h. */
41597 #if !HAVE_GETPAGESIZE
41598 /* Assume that all systems that can run configure have sys/param.h. */
41599 # if !HAVE_SYS_PARAM_H
41600 # define HAVE_SYS_PARAM_H 1
41601 # endif
41603 # ifdef _SC_PAGESIZE
41604 # define getpagesize() sysconf(_SC_PAGESIZE)
41605 # else /* no _SC_PAGESIZE */
41606 # if HAVE_SYS_PARAM_H
41607 # include <sys/param.h>
41608 # ifdef EXEC_PAGESIZE
41609 # define getpagesize() EXEC_PAGESIZE
41610 # else /* no EXEC_PAGESIZE */
41611 # ifdef NBPG
41612 # define getpagesize() NBPG * CLSIZE
41613 # ifndef CLSIZE
41614 # define CLSIZE 1
41615 # endif /* no CLSIZE */
41616 # else /* no NBPG */
41617 # ifdef NBPC
41618 # define getpagesize() NBPC
41619 # else /* no NBPC */
41620 # ifdef PAGESIZE
41621 # define getpagesize() PAGESIZE
41622 # endif /* PAGESIZE */
41623 # endif /* no NBPC */
41624 # endif /* no NBPG */
41625 # endif /* no EXEC_PAGESIZE */
41626 # else /* no HAVE_SYS_PARAM_H */
41627 # define getpagesize() 8192 /* punt totally */
41628 # endif /* no HAVE_SYS_PARAM_H */
41629 # endif /* no _SC_PAGESIZE */
41631 #endif /* no HAVE_GETPAGESIZE */
41634 main ()
41636 char *data, *data2, *data3;
41637 int i, pagesize;
41638 int fd;
41640 pagesize = getpagesize ();
41642 /* First, make a file with some known garbage in it. */
41643 data = (char *) malloc (pagesize);
41644 if (!data)
41645 exit (1);
41646 for (i = 0; i < pagesize; ++i)
41647 *(data + i) = rand ();
41648 umask (0);
41649 fd = creat ("conftest.mmap", 0600);
41650 if (fd < 0)
41651 exit (1);
41652 if (write (fd, data, pagesize) != pagesize)
41653 exit (1);
41654 close (fd);
41656 /* Next, try to mmap the file at a fixed address which already has
41657 something else allocated at it. If we can, also make sure that
41658 we see the same garbage. */
41659 fd = open ("conftest.mmap", O_RDWR);
41660 if (fd < 0)
41661 exit (1);
41662 data2 = (char *) malloc (2 * pagesize);
41663 if (!data2)
41664 exit (1);
41665 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
41666 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
41667 MAP_PRIVATE | MAP_FIXED, fd, 0L))
41668 exit (1);
41669 for (i = 0; i < pagesize; ++i)
41670 if (*(data + i) != *(data2 + i))
41671 exit (1);
41673 /* Finally, make sure that changes to the mapped area do not
41674 percolate back to the file as seen by read(). (This is a bug on
41675 some variants of i386 svr4.0.) */
41676 for (i = 0; i < pagesize; ++i)
41677 *(data2 + i) = *(data2 + i) + 1;
41678 data3 = (char *) malloc (pagesize);
41679 if (!data3)
41680 exit (1);
41681 if (read (fd, data3, pagesize) != pagesize)
41682 exit (1);
41683 for (i = 0; i < pagesize; ++i)
41684 if (*(data + i) != *(data3 + i))
41685 exit (1);
41686 close (fd);
41687 exit (0);
41689 _ACEOF
41690 rm -f conftest$ac_exeext
41691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41692 (eval $ac_link) 2>&5
41693 ac_status=$?
41694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41695 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41697 (eval $ac_try) 2>&5
41698 ac_status=$?
41699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41700 (exit $ac_status); }; }; then
41701 ac_cv_func_mmap_fixed_mapped=yes
41702 else
41703 echo "$as_me: program exited with status $ac_status" >&5
41704 echo "$as_me: failed program was:" >&5
41705 sed 's/^/| /' conftest.$ac_ext >&5
41707 ( exit $ac_status )
41708 ac_cv_func_mmap_fixed_mapped=no
41710 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41713 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
41714 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
41715 if test $ac_cv_func_mmap_fixed_mapped = yes; then
41717 cat >>confdefs.h <<\_ACEOF
41718 #define HAVE_MMAP 1
41719 _ACEOF
41722 rm -f conftest.mmap
41726 # For iconv support.
41728 if test "X$prefix" = "XNONE"; then
41729 acl_final_prefix="$ac_default_prefix"
41730 else
41731 acl_final_prefix="$prefix"
41733 if test "X$exec_prefix" = "XNONE"; then
41734 acl_final_exec_prefix='${prefix}'
41735 else
41736 acl_final_exec_prefix="$exec_prefix"
41738 acl_save_prefix="$prefix"
41739 prefix="$acl_final_prefix"
41740 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
41741 prefix="$acl_save_prefix"
41744 # Check whether --with-gnu-ld or --without-gnu-ld was given.
41745 if test "${with_gnu_ld+set}" = set; then
41746 withval="$with_gnu_ld"
41747 test "$withval" = no || with_gnu_ld=yes
41748 else
41749 with_gnu_ld=no
41751 # Prepare PATH_SEPARATOR.
41752 # The user is always right.
41753 if test "${PATH_SEPARATOR+set}" != set; then
41754 echo "#! /bin/sh" >conf$$.sh
41755 echo "exit 0" >>conf$$.sh
41756 chmod +x conf$$.sh
41757 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41758 PATH_SEPARATOR=';'
41759 else
41760 PATH_SEPARATOR=:
41762 rm -f conf$$.sh
41764 ac_prog=ld
41765 if test "$GCC" = yes; then
41766 # Check if gcc -print-prog-name=ld gives a path.
41767 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
41768 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
41769 case $host in
41770 *-*-mingw*)
41771 # gcc leaves a trailing carriage return which upsets mingw
41772 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
41774 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
41775 esac
41776 case $ac_prog in
41777 # Accept absolute paths.
41778 [\\/]* | [A-Za-z]:[\\/]*)
41779 re_direlt='/[^/][^/]*/\.\./'
41780 # Canonicalize the path of ld
41781 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
41782 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
41783 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
41784 done
41785 test -z "$LD" && LD="$ac_prog"
41788 # If it fails, then pretend we aren't using GCC.
41789 ac_prog=ld
41792 # If it is relative, then search for the first ld in PATH.
41793 with_gnu_ld=unknown
41795 esac
41796 elif test "$with_gnu_ld" = yes; then
41797 echo "$as_me:$LINENO: checking for GNU ld" >&5
41798 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
41799 else
41800 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
41801 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
41803 if test "${acl_cv_path_LD+set}" = set; then
41804 echo $ECHO_N "(cached) $ECHO_C" >&6
41805 else
41806 if test -z "$LD"; then
41807 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
41808 for ac_dir in $PATH; do
41809 test -z "$ac_dir" && ac_dir=.
41810 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
41811 acl_cv_path_LD="$ac_dir/$ac_prog"
41812 # Check to see if the program is GNU ld. I'd rather use --version,
41813 # but apparently some GNU ld's only accept -v.
41814 # Break only if it was the GNU/non-GNU ld that we prefer.
41815 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
41816 test "$with_gnu_ld" != no && break
41817 else
41818 test "$with_gnu_ld" != yes && break
41821 done
41822 IFS="$ac_save_ifs"
41823 else
41824 acl_cv_path_LD="$LD" # Let the user override the test with a path.
41828 LD="$acl_cv_path_LD"
41829 if test -n "$LD"; then
41830 echo "$as_me:$LINENO: result: $LD" >&5
41831 echo "${ECHO_T}$LD" >&6
41832 else
41833 echo "$as_me:$LINENO: result: no" >&5
41834 echo "${ECHO_T}no" >&6
41836 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
41837 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
41838 { (exit 1); exit 1; }; }
41839 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
41840 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
41841 if test "${acl_cv_prog_gnu_ld+set}" = set; then
41842 echo $ECHO_N "(cached) $ECHO_C" >&6
41843 else
41844 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
41845 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
41846 acl_cv_prog_gnu_ld=yes
41847 else
41848 acl_cv_prog_gnu_ld=no
41851 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
41852 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
41853 with_gnu_ld=$acl_cv_prog_gnu_ld
41857 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
41858 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
41859 if test "${acl_cv_rpath+set}" = set; then
41860 echo $ECHO_N "(cached) $ECHO_C" >&6
41861 else
41863 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
41864 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
41865 . ./conftest.sh
41866 rm -f ./conftest.sh
41867 acl_cv_rpath=done
41870 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
41871 echo "${ECHO_T}$acl_cv_rpath" >&6
41872 wl="$acl_cv_wl"
41873 libext="$acl_cv_libext"
41874 shlibext="$acl_cv_shlibext"
41875 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
41876 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
41877 hardcode_direct="$acl_cv_hardcode_direct"
41878 hardcode_minus_L="$acl_cv_hardcode_minus_L"
41879 # Check whether --enable-rpath or --disable-rpath was given.
41880 if test "${enable_rpath+set}" = set; then
41881 enableval="$enable_rpath"
41883 else
41884 enable_rpath=yes
41893 use_additional=yes
41895 acl_save_prefix="$prefix"
41896 prefix="$acl_final_prefix"
41897 acl_save_exec_prefix="$exec_prefix"
41898 exec_prefix="$acl_final_exec_prefix"
41900 eval additional_includedir=\"$includedir\"
41901 eval additional_libdir=\"$libdir\"
41903 exec_prefix="$acl_save_exec_prefix"
41904 prefix="$acl_save_prefix"
41907 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
41908 if test "${with_libiconv_prefix+set}" = set; then
41909 withval="$with_libiconv_prefix"
41911 if test "X$withval" = "Xno"; then
41912 use_additional=no
41913 else
41914 if test "X$withval" = "X"; then
41916 acl_save_prefix="$prefix"
41917 prefix="$acl_final_prefix"
41918 acl_save_exec_prefix="$exec_prefix"
41919 exec_prefix="$acl_final_exec_prefix"
41921 eval additional_includedir=\"$includedir\"
41922 eval additional_libdir=\"$libdir\"
41924 exec_prefix="$acl_save_exec_prefix"
41925 prefix="$acl_save_prefix"
41927 else
41928 additional_includedir="$withval/include"
41929 additional_libdir="$withval/lib"
41934 LIBICONV=
41935 LTLIBICONV=
41936 INCICONV=
41937 rpathdirs=
41938 ltrpathdirs=
41939 names_already_handled=
41940 names_next_round='iconv '
41941 while test -n "$names_next_round"; do
41942 names_this_round="$names_next_round"
41943 names_next_round=
41944 for name in $names_this_round; do
41945 already_handled=
41946 for n in $names_already_handled; do
41947 if test "$n" = "$name"; then
41948 already_handled=yes
41949 break
41951 done
41952 if test -z "$already_handled"; then
41953 names_already_handled="$names_already_handled $name"
41954 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
41955 eval value=\"\$HAVE_LIB$uppername\"
41956 if test -n "$value"; then
41957 if test "$value" = yes; then
41958 eval value=\"\$LIB$uppername\"
41959 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
41960 eval value=\"\$LTLIB$uppername\"
41961 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
41962 else
41965 else
41966 found_dir=
41967 found_la=
41968 found_so=
41969 found_a=
41970 if test $use_additional = yes; then
41971 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
41972 found_dir="$additional_libdir"
41973 found_so="$additional_libdir/lib$name.$shlibext"
41974 if test -f "$additional_libdir/lib$name.la"; then
41975 found_la="$additional_libdir/lib$name.la"
41977 else
41978 if test -f "$additional_libdir/lib$name.$libext"; then
41979 found_dir="$additional_libdir"
41980 found_a="$additional_libdir/lib$name.$libext"
41981 if test -f "$additional_libdir/lib$name.la"; then
41982 found_la="$additional_libdir/lib$name.la"
41987 if test "X$found_dir" = "X"; then
41988 for x in $LDFLAGS $LTLIBICONV; do
41990 acl_save_prefix="$prefix"
41991 prefix="$acl_final_prefix"
41992 acl_save_exec_prefix="$exec_prefix"
41993 exec_prefix="$acl_final_exec_prefix"
41994 eval x=\"$x\"
41995 exec_prefix="$acl_save_exec_prefix"
41996 prefix="$acl_save_prefix"
41998 case "$x" in
41999 -L*)
42000 dir=`echo "X$x" | sed -e 's/^X-L//'`
42001 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
42002 found_dir="$dir"
42003 found_so="$dir/lib$name.$shlibext"
42004 if test -f "$dir/lib$name.la"; then
42005 found_la="$dir/lib$name.la"
42007 else
42008 if test -f "$dir/lib$name.$libext"; then
42009 found_dir="$dir"
42010 found_a="$dir/lib$name.$libext"
42011 if test -f "$dir/lib$name.la"; then
42012 found_la="$dir/lib$name.la"
42017 esac
42018 if test "X$found_dir" != "X"; then
42019 break
42021 done
42023 if test "X$found_dir" != "X"; then
42024 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
42025 if test "X$found_so" != "X"; then
42026 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
42027 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42028 else
42029 haveit=
42030 for x in $ltrpathdirs; do
42031 if test "X$x" = "X$found_dir"; then
42032 haveit=yes
42033 break
42035 done
42036 if test -z "$haveit"; then
42037 ltrpathdirs="$ltrpathdirs $found_dir"
42039 if test "$hardcode_direct" = yes; then
42040 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42041 else
42042 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
42043 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42044 haveit=
42045 for x in $rpathdirs; do
42046 if test "X$x" = "X$found_dir"; then
42047 haveit=yes
42048 break
42050 done
42051 if test -z "$haveit"; then
42052 rpathdirs="$rpathdirs $found_dir"
42054 else
42055 haveit=
42056 for x in $LDFLAGS $LIBICONV; do
42058 acl_save_prefix="$prefix"
42059 prefix="$acl_final_prefix"
42060 acl_save_exec_prefix="$exec_prefix"
42061 exec_prefix="$acl_final_exec_prefix"
42062 eval x=\"$x\"
42063 exec_prefix="$acl_save_exec_prefix"
42064 prefix="$acl_save_prefix"
42066 if test "X$x" = "X-L$found_dir"; then
42067 haveit=yes
42068 break
42070 done
42071 if test -z "$haveit"; then
42072 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
42074 if test "$hardcode_minus_L" != no; then
42075 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42076 else
42077 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42082 else
42083 if test "X$found_a" != "X"; then
42084 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
42085 else
42086 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
42089 additional_includedir=
42090 case "$found_dir" in
42091 */lib | */lib/)
42092 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42093 additional_includedir="$basedir/include"
42095 esac
42096 if test "X$additional_includedir" != "X"; then
42097 if test "X$additional_includedir" != "X/usr/include"; then
42098 haveit=
42099 if test "X$additional_includedir" = "X/usr/local/include"; then
42100 if test -n "$GCC"; then
42101 case $host_os in
42102 linux*) haveit=yes;;
42103 esac
42106 if test -z "$haveit"; then
42107 for x in $CPPFLAGS $INCICONV; do
42109 acl_save_prefix="$prefix"
42110 prefix="$acl_final_prefix"
42111 acl_save_exec_prefix="$exec_prefix"
42112 exec_prefix="$acl_final_exec_prefix"
42113 eval x=\"$x\"
42114 exec_prefix="$acl_save_exec_prefix"
42115 prefix="$acl_save_prefix"
42117 if test "X$x" = "X-I$additional_includedir"; then
42118 haveit=yes
42119 break
42121 done
42122 if test -z "$haveit"; then
42123 if test -d "$additional_includedir"; then
42124 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
42130 if test -n "$found_la"; then
42131 save_libdir="$libdir"
42132 case "$found_la" in
42133 */* | *\\*) . "$found_la" ;;
42134 *) . "./$found_la" ;;
42135 esac
42136 libdir="$save_libdir"
42137 for dep in $dependency_libs; do
42138 case "$dep" in
42139 -L*)
42140 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
42141 if test "X$additional_libdir" != "X/usr/lib"; then
42142 haveit=
42143 if test "X$additional_libdir" = "X/usr/local/lib"; then
42144 if test -n "$GCC"; then
42145 case $host_os in
42146 linux*) haveit=yes;;
42147 esac
42150 if test -z "$haveit"; then
42151 haveit=
42152 for x in $LDFLAGS $LIBICONV; do
42154 acl_save_prefix="$prefix"
42155 prefix="$acl_final_prefix"
42156 acl_save_exec_prefix="$exec_prefix"
42157 exec_prefix="$acl_final_exec_prefix"
42158 eval x=\"$x\"
42159 exec_prefix="$acl_save_exec_prefix"
42160 prefix="$acl_save_prefix"
42162 if test "X$x" = "X-L$additional_libdir"; then
42163 haveit=yes
42164 break
42166 done
42167 if test -z "$haveit"; then
42168 if test -d "$additional_libdir"; then
42169 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
42172 haveit=
42173 for x in $LDFLAGS $LTLIBICONV; do
42175 acl_save_prefix="$prefix"
42176 prefix="$acl_final_prefix"
42177 acl_save_exec_prefix="$exec_prefix"
42178 exec_prefix="$acl_final_exec_prefix"
42179 eval x=\"$x\"
42180 exec_prefix="$acl_save_exec_prefix"
42181 prefix="$acl_save_prefix"
42183 if test "X$x" = "X-L$additional_libdir"; then
42184 haveit=yes
42185 break
42187 done
42188 if test -z "$haveit"; then
42189 if test -d "$additional_libdir"; then
42190 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
42196 -R*)
42197 dir=`echo "X$dep" | sed -e 's/^X-R//'`
42198 if test "$enable_rpath" != no; then
42199 haveit=
42200 for x in $rpathdirs; do
42201 if test "X$x" = "X$dir"; then
42202 haveit=yes
42203 break
42205 done
42206 if test -z "$haveit"; then
42207 rpathdirs="$rpathdirs $dir"
42209 haveit=
42210 for x in $ltrpathdirs; do
42211 if test "X$x" = "X$dir"; then
42212 haveit=yes
42213 break
42215 done
42216 if test -z "$haveit"; then
42217 ltrpathdirs="$ltrpathdirs $dir"
42221 -l*)
42222 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
42224 *.la)
42225 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
42228 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
42229 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
42231 esac
42232 done
42234 else
42235 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42236 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
42240 done
42241 done
42242 if test "X$rpathdirs" != "X"; then
42243 if test -n "$hardcode_libdir_separator"; then
42244 alldirs=
42245 for found_dir in $rpathdirs; do
42246 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
42247 done
42248 acl_save_libdir="$libdir"
42249 libdir="$alldirs"
42250 eval flag=\"$hardcode_libdir_flag_spec\"
42251 libdir="$acl_save_libdir"
42252 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42253 else
42254 for found_dir in $rpathdirs; do
42255 acl_save_libdir="$libdir"
42256 libdir="$found_dir"
42257 eval flag=\"$hardcode_libdir_flag_spec\"
42258 libdir="$acl_save_libdir"
42259 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42260 done
42263 if test "X$ltrpathdirs" != "X"; then
42264 for found_dir in $ltrpathdirs; do
42265 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
42266 done
42275 am_save_CPPFLAGS="$CPPFLAGS"
42277 for element in $INCICONV; do
42278 haveit=
42279 for x in $CPPFLAGS; do
42281 acl_save_prefix="$prefix"
42282 prefix="$acl_final_prefix"
42283 acl_save_exec_prefix="$exec_prefix"
42284 exec_prefix="$acl_final_exec_prefix"
42285 eval x=\"$x\"
42286 exec_prefix="$acl_save_exec_prefix"
42287 prefix="$acl_save_prefix"
42289 if test "X$x" = "X$element"; then
42290 haveit=yes
42291 break
42293 done
42294 if test -z "$haveit"; then
42295 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
42297 done
42300 echo "$as_me:$LINENO: checking for iconv" >&5
42301 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
42302 if test "${am_cv_func_iconv+set}" = set; then
42303 echo $ECHO_N "(cached) $ECHO_C" >&6
42304 else
42306 am_cv_func_iconv="no, consider installing GNU libiconv"
42307 am_cv_lib_iconv=no
42308 if test x$gcc_no_link = xyes; then
42309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42311 { (exit 1); exit 1; }; }
42313 cat >conftest.$ac_ext <<_ACEOF
42314 /* confdefs.h. */
42315 _ACEOF
42316 cat confdefs.h >>conftest.$ac_ext
42317 cat >>conftest.$ac_ext <<_ACEOF
42318 /* end confdefs.h. */
42319 #include <stdlib.h>
42320 #include <iconv.h>
42322 main ()
42324 iconv_t cd = iconv_open("","");
42325 iconv(cd,NULL,NULL,NULL,NULL);
42326 iconv_close(cd);
42328 return 0;
42330 _ACEOF
42331 rm -f conftest.$ac_objext conftest$ac_exeext
42332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42333 (eval $ac_link) 2>conftest.er1
42334 ac_status=$?
42335 grep -v '^ *+' conftest.er1 >conftest.err
42336 rm -f conftest.er1
42337 cat conftest.err >&5
42338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42339 (exit $ac_status); } &&
42340 { ac_try='test -z "$ac_c_werror_flag"
42341 || test ! -s conftest.err'
42342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42343 (eval $ac_try) 2>&5
42344 ac_status=$?
42345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42346 (exit $ac_status); }; } &&
42347 { ac_try='test -s conftest$ac_exeext'
42348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42349 (eval $ac_try) 2>&5
42350 ac_status=$?
42351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42352 (exit $ac_status); }; }; then
42353 am_cv_func_iconv=yes
42354 else
42355 echo "$as_me: failed program was:" >&5
42356 sed 's/^/| /' conftest.$ac_ext >&5
42359 rm -f conftest.err conftest.$ac_objext \
42360 conftest$ac_exeext conftest.$ac_ext
42361 if test "$am_cv_func_iconv" != yes; then
42362 am_save_LIBS="$LIBS"
42363 LIBS="$LIBS $LIBICONV"
42364 if test x$gcc_no_link = xyes; then
42365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42367 { (exit 1); exit 1; }; }
42369 cat >conftest.$ac_ext <<_ACEOF
42370 /* confdefs.h. */
42371 _ACEOF
42372 cat confdefs.h >>conftest.$ac_ext
42373 cat >>conftest.$ac_ext <<_ACEOF
42374 /* end confdefs.h. */
42375 #include <stdlib.h>
42376 #include <iconv.h>
42378 main ()
42380 iconv_t cd = iconv_open("","");
42381 iconv(cd,NULL,NULL,NULL,NULL);
42382 iconv_close(cd);
42384 return 0;
42386 _ACEOF
42387 rm -f conftest.$ac_objext conftest$ac_exeext
42388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42389 (eval $ac_link) 2>conftest.er1
42390 ac_status=$?
42391 grep -v '^ *+' conftest.er1 >conftest.err
42392 rm -f conftest.er1
42393 cat conftest.err >&5
42394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42395 (exit $ac_status); } &&
42396 { ac_try='test -z "$ac_c_werror_flag"
42397 || test ! -s conftest.err'
42398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42399 (eval $ac_try) 2>&5
42400 ac_status=$?
42401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42402 (exit $ac_status); }; } &&
42403 { ac_try='test -s conftest$ac_exeext'
42404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42405 (eval $ac_try) 2>&5
42406 ac_status=$?
42407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42408 (exit $ac_status); }; }; then
42409 am_cv_lib_iconv=yes
42410 am_cv_func_iconv=yes
42411 else
42412 echo "$as_me: failed program was:" >&5
42413 sed 's/^/| /' conftest.$ac_ext >&5
42416 rm -f conftest.err conftest.$ac_objext \
42417 conftest$ac_exeext conftest.$ac_ext
42418 LIBS="$am_save_LIBS"
42422 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
42423 echo "${ECHO_T}$am_cv_func_iconv" >&6
42424 if test "$am_cv_func_iconv" = yes; then
42426 cat >>confdefs.h <<\_ACEOF
42427 #define HAVE_ICONV 1
42428 _ACEOF
42431 if test "$am_cv_lib_iconv" = yes; then
42432 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
42433 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
42434 echo "$as_me:$LINENO: result: $LIBICONV" >&5
42435 echo "${ECHO_T}$LIBICONV" >&6
42436 else
42437 CPPFLAGS="$am_save_CPPFLAGS"
42438 LIBICONV=
42439 LTLIBICONV=
42444 if test "$am_cv_func_iconv" = yes; then
42445 echo "$as_me:$LINENO: checking for iconv declaration" >&5
42446 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
42447 if test "${am_cv_proto_iconv+set}" = set; then
42448 echo $ECHO_N "(cached) $ECHO_C" >&6
42449 else
42451 cat >conftest.$ac_ext <<_ACEOF
42452 /* confdefs.h. */
42453 _ACEOF
42454 cat confdefs.h >>conftest.$ac_ext
42455 cat >>conftest.$ac_ext <<_ACEOF
42456 /* end confdefs.h. */
42458 #include <stdlib.h>
42459 #include <iconv.h>
42460 extern
42461 #ifdef __cplusplus
42463 #endif
42464 #if defined(__STDC__) || defined(__cplusplus)
42465 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
42466 #else
42467 size_t iconv();
42468 #endif
42471 main ()
42475 return 0;
42477 _ACEOF
42478 rm -f conftest.$ac_objext
42479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42480 (eval $ac_compile) 2>conftest.er1
42481 ac_status=$?
42482 grep -v '^ *+' conftest.er1 >conftest.err
42483 rm -f conftest.er1
42484 cat conftest.err >&5
42485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42486 (exit $ac_status); } &&
42487 { ac_try='test -z "$ac_c_werror_flag"
42488 || test ! -s conftest.err'
42489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42490 (eval $ac_try) 2>&5
42491 ac_status=$?
42492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42493 (exit $ac_status); }; } &&
42494 { ac_try='test -s conftest.$ac_objext'
42495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42496 (eval $ac_try) 2>&5
42497 ac_status=$?
42498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42499 (exit $ac_status); }; }; then
42500 am_cv_proto_iconv_arg1=""
42501 else
42502 echo "$as_me: failed program was:" >&5
42503 sed 's/^/| /' conftest.$ac_ext >&5
42505 am_cv_proto_iconv_arg1="const"
42507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42508 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);"
42511 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42512 echo "$as_me:$LINENO: result: ${ac_t:-
42513 }$am_cv_proto_iconv" >&5
42514 echo "${ECHO_T}${ac_t:-
42515 }$am_cv_proto_iconv" >&6
42517 cat >>confdefs.h <<_ACEOF
42518 #define ICONV_CONST $am_cv_proto_iconv_arg1
42519 _ACEOF
42524 else
42526 # This lets us hard-code the functionality we know we'll have in the cross
42527 # target environment. "Let" is a sugar-coated word placed on an especially
42528 # dull and tedious hack, actually.
42530 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
42531 # that involve linking, can't be used:
42532 # "cannot open sim-crt0.o"
42533 # "cannot open crt0.o"
42534 # etc. All this is because there currently exists no unified, consistent
42535 # way for top level CC information to be passed down to target directories:
42536 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
42537 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
42538 # crosses can be removed.
42540 # If Canadian cross, then don't pick up tools from the build directory.
42541 # Used only in GLIBCXX_EXPORT_INCLUDES.
42542 if test -n "$with_cross_host" &&
42543 test x"$build_alias" != x"$with_cross_host" &&
42544 test x"$build" != x"$target";
42545 then
42546 CANADIAN=yes
42547 else
42548 CANADIAN=no
42551 # Construct crosses by hand, eliminating bits that need ld...
42552 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
42553 # GLIBCXX_CHECK_MATH_SUPPORT
42555 # First, test for "known" system libraries. We may be using newlib even
42556 # on a hosted environment.
42557 if test "x${with_newlib}" = "xyes"; then
42558 os_include_dir="os/newlib"
42559 cat >>confdefs.h <<\_ACEOF
42560 #define HAVE_HYPOT 1
42561 _ACEOF
42564 # GLIBCXX_CHECK_STDLIB_SUPPORT
42565 cat >>confdefs.h <<\_ACEOF
42566 #define HAVE_STRTOF 1
42567 _ACEOF
42569 # AC_FUNC_MMAP
42570 cat >>confdefs.h <<\_ACEOF
42571 #define HAVE_MMAP 1
42572 _ACEOF
42575 cat >>confdefs.h <<\_ACEOF
42576 #define HAVE_ACOSF 1
42577 _ACEOF
42579 cat >>confdefs.h <<\_ACEOF
42580 #define HAVE_ASINF 1
42581 _ACEOF
42583 cat >>confdefs.h <<\_ACEOF
42584 #define HAVE_ATAN2F 1
42585 _ACEOF
42587 cat >>confdefs.h <<\_ACEOF
42588 #define HAVE_ATANF 1
42589 _ACEOF
42591 cat >>confdefs.h <<\_ACEOF
42592 #define HAVE_CEILF 1
42593 _ACEOF
42595 cat >>confdefs.h <<\_ACEOF
42596 #define HAVE_COPYSIGN 1
42597 _ACEOF
42599 cat >>confdefs.h <<\_ACEOF
42600 #define HAVE_COPYSIGNF 1
42601 _ACEOF
42603 cat >>confdefs.h <<\_ACEOF
42604 #define HAVE_COSF 1
42605 _ACEOF
42607 cat >>confdefs.h <<\_ACEOF
42608 #define HAVE_COSHF 1
42609 _ACEOF
42611 cat >>confdefs.h <<\_ACEOF
42612 #define HAVE_EXPF 1
42613 _ACEOF
42615 cat >>confdefs.h <<\_ACEOF
42616 #define HAVE_FABSF 1
42617 _ACEOF
42619 cat >>confdefs.h <<\_ACEOF
42620 #define HAVE_FLOORF 1
42621 _ACEOF
42623 cat >>confdefs.h <<\_ACEOF
42624 #define HAVE_FMODF 1
42625 _ACEOF
42627 cat >>confdefs.h <<\_ACEOF
42628 #define HAVE_FREXPF 1
42629 _ACEOF
42631 cat >>confdefs.h <<\_ACEOF
42632 #define HAVE_LDEXPF 1
42633 _ACEOF
42635 cat >>confdefs.h <<\_ACEOF
42636 #define HAVE_LOG10F 1
42637 _ACEOF
42639 cat >>confdefs.h <<\_ACEOF
42640 #define HAVE_LOGF 1
42641 _ACEOF
42643 cat >>confdefs.h <<\_ACEOF
42644 #define HAVE_MODFF 1
42645 _ACEOF
42647 cat >>confdefs.h <<\_ACEOF
42648 #define HAVE_POWF 1
42649 _ACEOF
42651 cat >>confdefs.h <<\_ACEOF
42652 #define HAVE_SINF 1
42653 _ACEOF
42655 cat >>confdefs.h <<\_ACEOF
42656 #define HAVE_SINHF 1
42657 _ACEOF
42659 cat >>confdefs.h <<\_ACEOF
42660 #define HAVE_SQRTF 1
42661 _ACEOF
42663 cat >>confdefs.h <<\_ACEOF
42664 #define HAVE_TANF 1
42665 _ACEOF
42667 cat >>confdefs.h <<\_ACEOF
42668 #define HAVE_TANHF 1
42669 _ACEOF
42672 cat >>confdefs.h <<\_ACEOF
42673 #define HAVE_S_ISREG 1
42674 _ACEOF
42676 cat >>confdefs.h <<\_ACEOF
42677 #define HAVE_S_IFREG 1
42678 _ACEOF
42681 cat >>confdefs.h <<\_ACEOF
42682 #define HAVE_ICONV 1
42683 _ACEOF
42685 else
42687 # Base decisions on target environment.
42688 case "${host}" in
42689 arm*-*-symbianelf*)
42690 # This is a freestanding configuration; there is nothing to do here.
42693 mips*-sde-elf*)
42694 # These definitions are for the SDE C library rather than newlib.
42710 for ac_header in float.h inttypes.h locale.h \
42711 stdint.h stdlib.h string.h unistd.h wchar.h \
42712 machine/endian.h sys/ioctl.h sys/resource.h \
42713 sys/stat.h sys/time.h sys/types.h sys/uio.h
42715 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42717 echo "$as_me:$LINENO: checking for $ac_header" >&5
42718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42720 echo $ECHO_N "(cached) $ECHO_C" >&6
42722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42724 else
42725 # Is the header compilable?
42726 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42727 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42728 cat >conftest.$ac_ext <<_ACEOF
42729 /* confdefs.h. */
42730 _ACEOF
42731 cat confdefs.h >>conftest.$ac_ext
42732 cat >>conftest.$ac_ext <<_ACEOF
42733 /* end confdefs.h. */
42734 $ac_includes_default
42735 #include <$ac_header>
42736 _ACEOF
42737 rm -f conftest.$ac_objext
42738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42739 (eval $ac_compile) 2>conftest.er1
42740 ac_status=$?
42741 grep -v '^ *+' conftest.er1 >conftest.err
42742 rm -f conftest.er1
42743 cat conftest.err >&5
42744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42745 (exit $ac_status); } &&
42746 { ac_try='test -z "$ac_c_werror_flag"
42747 || test ! -s conftest.err'
42748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42749 (eval $ac_try) 2>&5
42750 ac_status=$?
42751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42752 (exit $ac_status); }; } &&
42753 { ac_try='test -s conftest.$ac_objext'
42754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42755 (eval $ac_try) 2>&5
42756 ac_status=$?
42757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42758 (exit $ac_status); }; }; then
42759 ac_header_compiler=yes
42760 else
42761 echo "$as_me: failed program was:" >&5
42762 sed 's/^/| /' conftest.$ac_ext >&5
42764 ac_header_compiler=no
42766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42767 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42768 echo "${ECHO_T}$ac_header_compiler" >&6
42770 # Is the header present?
42771 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42772 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42773 cat >conftest.$ac_ext <<_ACEOF
42774 /* confdefs.h. */
42775 _ACEOF
42776 cat confdefs.h >>conftest.$ac_ext
42777 cat >>conftest.$ac_ext <<_ACEOF
42778 /* end confdefs.h. */
42779 #include <$ac_header>
42780 _ACEOF
42781 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42782 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
42783 ac_status=$?
42784 grep -v '^ *+' conftest.er1 >conftest.err
42785 rm -f conftest.er1
42786 cat conftest.err >&5
42787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42788 (exit $ac_status); } >/dev/null; then
42789 if test -s conftest.err; then
42790 ac_cpp_err=$ac_c_preproc_warn_flag
42791 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
42792 else
42793 ac_cpp_err=
42795 else
42796 ac_cpp_err=yes
42798 if test -z "$ac_cpp_err"; then
42799 ac_header_preproc=yes
42800 else
42801 echo "$as_me: failed program was:" >&5
42802 sed 's/^/| /' conftest.$ac_ext >&5
42804 ac_header_preproc=no
42806 rm -f conftest.err conftest.$ac_ext
42807 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42808 echo "${ECHO_T}$ac_header_preproc" >&6
42810 # So? What about this header?
42811 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42812 yes:no: )
42813 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42814 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42815 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42816 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42817 ac_header_preproc=yes
42819 no:yes:* )
42820 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42821 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42822 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
42823 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
42824 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42825 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42826 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
42827 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
42828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42829 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42830 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42831 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42833 cat <<\_ASBOX
42834 ## ----------------------------------------- ##
42835 ## Report this to the package-unused lists. ##
42836 ## ----------------------------------------- ##
42837 _ASBOX
42839 sed "s/^/$as_me: WARNING: /" >&2
42841 esac
42842 echo "$as_me:$LINENO: checking for $ac_header" >&5
42843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42845 echo $ECHO_N "(cached) $ECHO_C" >&6
42846 else
42847 eval "$as_ac_Header=\$ac_header_preproc"
42849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42853 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42854 cat >>confdefs.h <<_ACEOF
42855 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42856 _ACEOF
42860 done
42862 SECTION_FLAGS='-ffunction-sections -fdata-sections'
42865 # All these tests are for C++; save the language and the compiler flags.
42866 # The CXXFLAGS thing is suspicious, but based on similar bits previously
42867 # found in GLIBCXX_CONFIGURE.
42870 ac_ext=cc
42871 ac_cpp='$CXXCPP $CPPFLAGS'
42872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42876 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42877 ac_save_CXXFLAGS="$CXXFLAGS"
42879 # Check for maintainer-mode bits.
42880 if test x"$USE_MAINTAINER_MODE" = xno; then
42881 WERROR=''
42882 else
42883 WERROR='-Werror'
42886 # Check for -ffunction-sections -fdata-sections
42887 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
42888 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
42889 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
42890 cat >conftest.$ac_ext <<_ACEOF
42891 /* confdefs.h. */
42892 _ACEOF
42893 cat confdefs.h >>conftest.$ac_ext
42894 cat >>conftest.$ac_ext <<_ACEOF
42895 /* end confdefs.h. */
42896 int foo; void bar() { };
42898 main ()
42902 return 0;
42904 _ACEOF
42905 rm -f conftest.$ac_objext
42906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42907 (eval $ac_compile) 2>conftest.er1
42908 ac_status=$?
42909 grep -v '^ *+' conftest.er1 >conftest.err
42910 rm -f conftest.er1
42911 cat conftest.err >&5
42912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42913 (exit $ac_status); } &&
42914 { ac_try='test -z "$ac_cxx_werror_flag"
42915 || test ! -s conftest.err'
42916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42917 (eval $ac_try) 2>&5
42918 ac_status=$?
42919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42920 (exit $ac_status); }; } &&
42921 { ac_try='test -s conftest.$ac_objext'
42922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42923 (eval $ac_try) 2>&5
42924 ac_status=$?
42925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42926 (exit $ac_status); }; }; then
42927 ac_fdsections=yes
42928 else
42929 echo "$as_me: failed program was:" >&5
42930 sed 's/^/| /' conftest.$ac_ext >&5
42932 ac_fdsections=no
42934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42935 if test "$ac_test_CXXFLAGS" = set; then
42936 CXXFLAGS="$ac_save_CXXFLAGS"
42937 else
42938 # this is the suspicious part
42939 CXXFLAGS=''
42941 if test x"$ac_fdsections" = x"yes"; then
42942 SECTION_FLAGS='-ffunction-sections -fdata-sections'
42944 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
42945 echo "${ECHO_T}$ac_fdsections" >&6
42947 ac_ext=c
42948 ac_cpp='$CPP $CPPFLAGS'
42949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42957 # If we're not using GNU ld, then there's no point in even trying these
42958 # tests. Check for that first. We should have already tested for gld
42959 # by now (in libtool), but require it now just to be safe...
42960 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
42961 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
42965 # The name set by libtool depends on the version of libtool. Shame on us
42966 # for depending on an impl detail, but c'est la vie. Older versions used
42967 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
42968 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
42969 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
42970 # set (hence we're using an older libtool), then set it.
42971 if test x${with_gnu_ld+set} != xset; then
42972 if test x${ac_cv_prog_gnu_ld+set} != xset; then
42973 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
42974 with_gnu_ld=no
42975 else
42976 with_gnu_ld=$ac_cv_prog_gnu_ld
42980 # Start by getting the version number. I think the libtool test already
42981 # does some of this, but throws away the result.
42982 if test x"$with_gnu_ld" = x"yes"; then
42983 echo "$as_me:$LINENO: checking for ld version" >&5
42984 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
42986 ldver=`$LD --version 2>/dev/null | head -1 | \
42987 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
42989 glibcxx_gnu_ld_version=`echo $ldver | \
42990 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
42991 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
42992 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
42995 # Set --gc-sections.
42996 glibcxx_gcsections_min_ld=21602
42997 if test x"$with_gnu_ld" = x"yes" &&
42998 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43000 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
43001 # NB: This flag only works reliably after 2.16.1. Configure tests
43002 # for this are difficult, so hard wire a value that should work.
43004 ac_test_CFLAGS="${CFLAGS+set}"
43005 ac_save_CFLAGS="$CFLAGS"
43006 CFLAGS='-Wl,--gc-sections'
43008 # Check for -Wl,--gc-sections
43009 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
43010 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
43011 if test x$gcc_no_link = xyes; then
43012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43014 { (exit 1); exit 1; }; }
43016 cat >conftest.$ac_ext <<_ACEOF
43017 /* confdefs.h. */
43018 _ACEOF
43019 cat confdefs.h >>conftest.$ac_ext
43020 cat >>conftest.$ac_ext <<_ACEOF
43021 /* end confdefs.h. */
43022 int one(void) { return 1; }
43023 int two(void) { return 2; }
43026 main ()
43028 two();
43030 return 0;
43032 _ACEOF
43033 rm -f conftest.$ac_objext conftest$ac_exeext
43034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43035 (eval $ac_link) 2>conftest.er1
43036 ac_status=$?
43037 grep -v '^ *+' conftest.er1 >conftest.err
43038 rm -f conftest.er1
43039 cat conftest.err >&5
43040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43041 (exit $ac_status); } &&
43042 { ac_try='test -z "$ac_c_werror_flag"
43043 || test ! -s conftest.err'
43044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43045 (eval $ac_try) 2>&5
43046 ac_status=$?
43047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43048 (exit $ac_status); }; } &&
43049 { ac_try='test -s conftest$ac_exeext'
43050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43051 (eval $ac_try) 2>&5
43052 ac_status=$?
43053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43054 (exit $ac_status); }; }; then
43055 ac_gcsections=yes
43056 else
43057 echo "$as_me: failed program was:" >&5
43058 sed 's/^/| /' conftest.$ac_ext >&5
43060 ac_gcsections=no
43062 rm -f conftest.err conftest.$ac_objext \
43063 conftest$ac_exeext conftest.$ac_ext
43064 if test "$ac_gcsections" = "yes"; then
43065 rm -f conftest.c
43066 touch conftest.c
43067 if $CC -c conftest.c; then
43068 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43069 grep "Warning: gc-sections option ignored" > /dev/null; then
43070 ac_gcsections=no
43073 rm -f conftest.c conftest.o conftest
43075 if test "$ac_gcsections" = "yes"; then
43076 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43078 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
43079 echo "${ECHO_T}$ac_gcsections" >&6
43081 if test "$ac_test_CFLAGS" = set; then
43082 CFLAGS="$ac_save_CFLAGS"
43083 else
43084 # this is the suspicious part
43085 CFLAGS=''
43089 # Set -z,relro.
43090 # Note this is only for shared objects.
43091 ac_ld_relro=no
43092 if test x"$with_gnu_ld" = x"yes"; then
43093 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
43094 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
43095 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43096 if test -n "$cxx_z_relo"; then
43097 OPT_LDFLAGS="-Wl,-z,relro"
43098 ac_ld_relro=yes
43100 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
43101 echo "${ECHO_T}$ac_ld_relro" >&6
43104 # Set linker optimization flags.
43105 if test x"$with_gnu_ld" = x"yes"; then
43106 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43113 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43114 ac_save_CXXFLAGS="$CXXFLAGS"
43115 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43117 echo "$as_me:$LINENO: checking for sin in -lm" >&5
43118 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
43119 if test "${ac_cv_lib_m_sin+set}" = set; then
43120 echo $ECHO_N "(cached) $ECHO_C" >&6
43121 else
43122 ac_check_lib_save_LIBS=$LIBS
43123 LIBS="-lm $LIBS"
43124 if test x$gcc_no_link = xyes; then
43125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43127 { (exit 1); exit 1; }; }
43129 cat >conftest.$ac_ext <<_ACEOF
43130 /* confdefs.h. */
43131 _ACEOF
43132 cat confdefs.h >>conftest.$ac_ext
43133 cat >>conftest.$ac_ext <<_ACEOF
43134 /* end confdefs.h. */
43136 /* Override any gcc2 internal prototype to avoid an error. */
43137 #ifdef __cplusplus
43138 extern "C"
43139 #endif
43140 /* We use char because int might match the return type of a gcc2
43141 builtin and then its argument prototype would still apply. */
43142 char sin ();
43144 main ()
43146 sin ();
43148 return 0;
43150 _ACEOF
43151 rm -f conftest.$ac_objext conftest$ac_exeext
43152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43153 (eval $ac_link) 2>conftest.er1
43154 ac_status=$?
43155 grep -v '^ *+' conftest.er1 >conftest.err
43156 rm -f conftest.er1
43157 cat conftest.err >&5
43158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43159 (exit $ac_status); } &&
43160 { ac_try='test -z "$ac_c_werror_flag"
43161 || test ! -s conftest.err'
43162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43163 (eval $ac_try) 2>&5
43164 ac_status=$?
43165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43166 (exit $ac_status); }; } &&
43167 { ac_try='test -s conftest$ac_exeext'
43168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43169 (eval $ac_try) 2>&5
43170 ac_status=$?
43171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43172 (exit $ac_status); }; }; then
43173 ac_cv_lib_m_sin=yes
43174 else
43175 echo "$as_me: failed program was:" >&5
43176 sed 's/^/| /' conftest.$ac_ext >&5
43178 ac_cv_lib_m_sin=no
43180 rm -f conftest.err conftest.$ac_objext \
43181 conftest$ac_exeext conftest.$ac_ext
43182 LIBS=$ac_check_lib_save_LIBS
43184 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
43185 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
43186 if test $ac_cv_lib_m_sin = yes; then
43187 libm="-lm"
43190 ac_save_LIBS="$LIBS"
43191 LIBS="$LIBS $libm"
43195 echo "$as_me:$LINENO: checking for isinf declaration" >&5
43196 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
43197 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43198 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
43199 echo $ECHO_N "(cached) $ECHO_C" >&6
43200 else
43204 ac_ext=cc
43205 ac_cpp='$CXXCPP $CPPFLAGS'
43206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43210 cat >conftest.$ac_ext <<_ACEOF
43211 /* confdefs.h. */
43212 _ACEOF
43213 cat confdefs.h >>conftest.$ac_ext
43214 cat >>conftest.$ac_ext <<_ACEOF
43215 /* end confdefs.h. */
43216 #include <math.h>
43217 #ifdef HAVE_IEEEFP_H
43218 #include <ieeefp.h>
43219 #endif
43222 main ()
43224 isinf(0);
43226 return 0;
43228 _ACEOF
43229 rm -f conftest.$ac_objext
43230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43231 (eval $ac_compile) 2>conftest.er1
43232 ac_status=$?
43233 grep -v '^ *+' conftest.er1 >conftest.err
43234 rm -f conftest.er1
43235 cat conftest.err >&5
43236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43237 (exit $ac_status); } &&
43238 { ac_try='test -z "$ac_cxx_werror_flag"
43239 || test ! -s conftest.err'
43240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43241 (eval $ac_try) 2>&5
43242 ac_status=$?
43243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43244 (exit $ac_status); }; } &&
43245 { ac_try='test -s conftest.$ac_objext'
43246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43247 (eval $ac_try) 2>&5
43248 ac_status=$?
43249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43250 (exit $ac_status); }; }; then
43251 glibcxx_cv_func_isinf_use=yes
43252 else
43253 echo "$as_me: failed program was:" >&5
43254 sed 's/^/| /' conftest.$ac_ext >&5
43256 glibcxx_cv_func_isinf_use=no
43258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43259 ac_ext=c
43260 ac_cpp='$CPP $CPPFLAGS'
43261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43269 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
43270 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
43272 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43274 for ac_func in isinf
43276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43277 echo "$as_me:$LINENO: checking for $ac_func" >&5
43278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43279 if eval "test \"\${$as_ac_var+set}\" = set"; then
43280 echo $ECHO_N "(cached) $ECHO_C" >&6
43281 else
43282 if test x$gcc_no_link = xyes; then
43283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43285 { (exit 1); exit 1; }; }
43287 cat >conftest.$ac_ext <<_ACEOF
43288 /* confdefs.h. */
43289 _ACEOF
43290 cat confdefs.h >>conftest.$ac_ext
43291 cat >>conftest.$ac_ext <<_ACEOF
43292 /* end confdefs.h. */
43293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43295 #define $ac_func innocuous_$ac_func
43297 /* System header to define __stub macros and hopefully few prototypes,
43298 which can conflict with char $ac_func (); below.
43299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43300 <limits.h> exists even on freestanding compilers. */
43302 #ifdef __STDC__
43303 # include <limits.h>
43304 #else
43305 # include <assert.h>
43306 #endif
43308 #undef $ac_func
43310 /* Override any gcc2 internal prototype to avoid an error. */
43311 #ifdef __cplusplus
43312 extern "C"
43314 #endif
43315 /* We use char because int might match the return type of a gcc2
43316 builtin and then its argument prototype would still apply. */
43317 char $ac_func ();
43318 /* The GNU C library defines this for functions which it implements
43319 to always fail with ENOSYS. Some functions are actually named
43320 something starting with __ and the normal name is an alias. */
43321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43322 choke me
43323 #else
43324 char (*f) () = $ac_func;
43325 #endif
43326 #ifdef __cplusplus
43328 #endif
43331 main ()
43333 return f != $ac_func;
43335 return 0;
43337 _ACEOF
43338 rm -f conftest.$ac_objext conftest$ac_exeext
43339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43340 (eval $ac_link) 2>conftest.er1
43341 ac_status=$?
43342 grep -v '^ *+' conftest.er1 >conftest.err
43343 rm -f conftest.er1
43344 cat conftest.err >&5
43345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43346 (exit $ac_status); } &&
43347 { ac_try='test -z "$ac_c_werror_flag"
43348 || test ! -s conftest.err'
43349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43350 (eval $ac_try) 2>&5
43351 ac_status=$?
43352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43353 (exit $ac_status); }; } &&
43354 { ac_try='test -s conftest$ac_exeext'
43355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43356 (eval $ac_try) 2>&5
43357 ac_status=$?
43358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43359 (exit $ac_status); }; }; then
43360 eval "$as_ac_var=yes"
43361 else
43362 echo "$as_me: failed program was:" >&5
43363 sed 's/^/| /' conftest.$ac_ext >&5
43365 eval "$as_ac_var=no"
43367 rm -f conftest.err conftest.$ac_objext \
43368 conftest$ac_exeext conftest.$ac_ext
43370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43372 if test `eval echo '${'$as_ac_var'}'` = yes; then
43373 cat >>confdefs.h <<_ACEOF
43374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43375 _ACEOF
43378 done
43380 else
43382 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
43383 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
43384 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43385 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
43386 echo $ECHO_N "(cached) $ECHO_C" >&6
43387 else
43391 ac_ext=cc
43392 ac_cpp='$CXXCPP $CPPFLAGS'
43393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43397 cat >conftest.$ac_ext <<_ACEOF
43398 /* confdefs.h. */
43399 _ACEOF
43400 cat confdefs.h >>conftest.$ac_ext
43401 cat >>conftest.$ac_ext <<_ACEOF
43402 /* end confdefs.h. */
43403 #include <math.h>
43404 #ifdef HAVE_IEEEFP_H
43405 #include <ieeefp.h>
43406 #endif
43409 main ()
43411 _isinf(0);
43413 return 0;
43415 _ACEOF
43416 rm -f conftest.$ac_objext
43417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43418 (eval $ac_compile) 2>conftest.er1
43419 ac_status=$?
43420 grep -v '^ *+' conftest.er1 >conftest.err
43421 rm -f conftest.er1
43422 cat conftest.err >&5
43423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43424 (exit $ac_status); } &&
43425 { ac_try='test -z "$ac_cxx_werror_flag"
43426 || test ! -s conftest.err'
43427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43428 (eval $ac_try) 2>&5
43429 ac_status=$?
43430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43431 (exit $ac_status); }; } &&
43432 { ac_try='test -s conftest.$ac_objext'
43433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43434 (eval $ac_try) 2>&5
43435 ac_status=$?
43436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43437 (exit $ac_status); }; }; then
43438 glibcxx_cv_func__isinf_use=yes
43439 else
43440 echo "$as_me: failed program was:" >&5
43441 sed 's/^/| /' conftest.$ac_ext >&5
43443 glibcxx_cv_func__isinf_use=no
43445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43446 ac_ext=c
43447 ac_cpp='$CPP $CPPFLAGS'
43448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43456 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
43457 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
43459 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43461 for ac_func in _isinf
43463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43464 echo "$as_me:$LINENO: checking for $ac_func" >&5
43465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43466 if eval "test \"\${$as_ac_var+set}\" = set"; then
43467 echo $ECHO_N "(cached) $ECHO_C" >&6
43468 else
43469 if test x$gcc_no_link = xyes; then
43470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43472 { (exit 1); exit 1; }; }
43474 cat >conftest.$ac_ext <<_ACEOF
43475 /* confdefs.h. */
43476 _ACEOF
43477 cat confdefs.h >>conftest.$ac_ext
43478 cat >>conftest.$ac_ext <<_ACEOF
43479 /* end confdefs.h. */
43480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43482 #define $ac_func innocuous_$ac_func
43484 /* System header to define __stub macros and hopefully few prototypes,
43485 which can conflict with char $ac_func (); below.
43486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43487 <limits.h> exists even on freestanding compilers. */
43489 #ifdef __STDC__
43490 # include <limits.h>
43491 #else
43492 # include <assert.h>
43493 #endif
43495 #undef $ac_func
43497 /* Override any gcc2 internal prototype to avoid an error. */
43498 #ifdef __cplusplus
43499 extern "C"
43501 #endif
43502 /* We use char because int might match the return type of a gcc2
43503 builtin and then its argument prototype would still apply. */
43504 char $ac_func ();
43505 /* The GNU C library defines this for functions which it implements
43506 to always fail with ENOSYS. Some functions are actually named
43507 something starting with __ and the normal name is an alias. */
43508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43509 choke me
43510 #else
43511 char (*f) () = $ac_func;
43512 #endif
43513 #ifdef __cplusplus
43515 #endif
43518 main ()
43520 return f != $ac_func;
43522 return 0;
43524 _ACEOF
43525 rm -f conftest.$ac_objext conftest$ac_exeext
43526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43527 (eval $ac_link) 2>conftest.er1
43528 ac_status=$?
43529 grep -v '^ *+' conftest.er1 >conftest.err
43530 rm -f conftest.er1
43531 cat conftest.err >&5
43532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43533 (exit $ac_status); } &&
43534 { ac_try='test -z "$ac_c_werror_flag"
43535 || test ! -s conftest.err'
43536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43537 (eval $ac_try) 2>&5
43538 ac_status=$?
43539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43540 (exit $ac_status); }; } &&
43541 { ac_try='test -s conftest$ac_exeext'
43542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43543 (eval $ac_try) 2>&5
43544 ac_status=$?
43545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43546 (exit $ac_status); }; }; then
43547 eval "$as_ac_var=yes"
43548 else
43549 echo "$as_me: failed program was:" >&5
43550 sed 's/^/| /' conftest.$ac_ext >&5
43552 eval "$as_ac_var=no"
43554 rm -f conftest.err conftest.$ac_objext \
43555 conftest$ac_exeext conftest.$ac_ext
43557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43559 if test `eval echo '${'$as_ac_var'}'` = yes; then
43560 cat >>confdefs.h <<_ACEOF
43561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43562 _ACEOF
43565 done
43575 echo "$as_me:$LINENO: checking for isnan declaration" >&5
43576 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
43577 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43578 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
43579 echo $ECHO_N "(cached) $ECHO_C" >&6
43580 else
43584 ac_ext=cc
43585 ac_cpp='$CXXCPP $CPPFLAGS'
43586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43590 cat >conftest.$ac_ext <<_ACEOF
43591 /* confdefs.h. */
43592 _ACEOF
43593 cat confdefs.h >>conftest.$ac_ext
43594 cat >>conftest.$ac_ext <<_ACEOF
43595 /* end confdefs.h. */
43596 #include <math.h>
43597 #ifdef HAVE_IEEEFP_H
43598 #include <ieeefp.h>
43599 #endif
43602 main ()
43604 isnan(0);
43606 return 0;
43608 _ACEOF
43609 rm -f conftest.$ac_objext
43610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43611 (eval $ac_compile) 2>conftest.er1
43612 ac_status=$?
43613 grep -v '^ *+' conftest.er1 >conftest.err
43614 rm -f conftest.er1
43615 cat conftest.err >&5
43616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43617 (exit $ac_status); } &&
43618 { ac_try='test -z "$ac_cxx_werror_flag"
43619 || test ! -s conftest.err'
43620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43621 (eval $ac_try) 2>&5
43622 ac_status=$?
43623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43624 (exit $ac_status); }; } &&
43625 { ac_try='test -s conftest.$ac_objext'
43626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43627 (eval $ac_try) 2>&5
43628 ac_status=$?
43629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43630 (exit $ac_status); }; }; then
43631 glibcxx_cv_func_isnan_use=yes
43632 else
43633 echo "$as_me: failed program was:" >&5
43634 sed 's/^/| /' conftest.$ac_ext >&5
43636 glibcxx_cv_func_isnan_use=no
43638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43639 ac_ext=c
43640 ac_cpp='$CPP $CPPFLAGS'
43641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43649 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
43650 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
43652 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43654 for ac_func in isnan
43656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43657 echo "$as_me:$LINENO: checking for $ac_func" >&5
43658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43659 if eval "test \"\${$as_ac_var+set}\" = set"; then
43660 echo $ECHO_N "(cached) $ECHO_C" >&6
43661 else
43662 if test x$gcc_no_link = xyes; then
43663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43665 { (exit 1); exit 1; }; }
43667 cat >conftest.$ac_ext <<_ACEOF
43668 /* confdefs.h. */
43669 _ACEOF
43670 cat confdefs.h >>conftest.$ac_ext
43671 cat >>conftest.$ac_ext <<_ACEOF
43672 /* end confdefs.h. */
43673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43675 #define $ac_func innocuous_$ac_func
43677 /* System header to define __stub macros and hopefully few prototypes,
43678 which can conflict with char $ac_func (); below.
43679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43680 <limits.h> exists even on freestanding compilers. */
43682 #ifdef __STDC__
43683 # include <limits.h>
43684 #else
43685 # include <assert.h>
43686 #endif
43688 #undef $ac_func
43690 /* Override any gcc2 internal prototype to avoid an error. */
43691 #ifdef __cplusplus
43692 extern "C"
43694 #endif
43695 /* We use char because int might match the return type of a gcc2
43696 builtin and then its argument prototype would still apply. */
43697 char $ac_func ();
43698 /* The GNU C library defines this for functions which it implements
43699 to always fail with ENOSYS. Some functions are actually named
43700 something starting with __ and the normal name is an alias. */
43701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43702 choke me
43703 #else
43704 char (*f) () = $ac_func;
43705 #endif
43706 #ifdef __cplusplus
43708 #endif
43711 main ()
43713 return f != $ac_func;
43715 return 0;
43717 _ACEOF
43718 rm -f conftest.$ac_objext conftest$ac_exeext
43719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43720 (eval $ac_link) 2>conftest.er1
43721 ac_status=$?
43722 grep -v '^ *+' conftest.er1 >conftest.err
43723 rm -f conftest.er1
43724 cat conftest.err >&5
43725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43726 (exit $ac_status); } &&
43727 { ac_try='test -z "$ac_c_werror_flag"
43728 || test ! -s conftest.err'
43729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43730 (eval $ac_try) 2>&5
43731 ac_status=$?
43732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43733 (exit $ac_status); }; } &&
43734 { ac_try='test -s conftest$ac_exeext'
43735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43736 (eval $ac_try) 2>&5
43737 ac_status=$?
43738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43739 (exit $ac_status); }; }; then
43740 eval "$as_ac_var=yes"
43741 else
43742 echo "$as_me: failed program was:" >&5
43743 sed 's/^/| /' conftest.$ac_ext >&5
43745 eval "$as_ac_var=no"
43747 rm -f conftest.err conftest.$ac_objext \
43748 conftest$ac_exeext conftest.$ac_ext
43750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43752 if test `eval echo '${'$as_ac_var'}'` = yes; then
43753 cat >>confdefs.h <<_ACEOF
43754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43755 _ACEOF
43758 done
43760 else
43762 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
43763 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
43764 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
43765 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
43766 echo $ECHO_N "(cached) $ECHO_C" >&6
43767 else
43771 ac_ext=cc
43772 ac_cpp='$CXXCPP $CPPFLAGS'
43773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43777 cat >conftest.$ac_ext <<_ACEOF
43778 /* confdefs.h. */
43779 _ACEOF
43780 cat confdefs.h >>conftest.$ac_ext
43781 cat >>conftest.$ac_ext <<_ACEOF
43782 /* end confdefs.h. */
43783 #include <math.h>
43784 #ifdef HAVE_IEEEFP_H
43785 #include <ieeefp.h>
43786 #endif
43789 main ()
43791 _isnan(0);
43793 return 0;
43795 _ACEOF
43796 rm -f conftest.$ac_objext
43797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43798 (eval $ac_compile) 2>conftest.er1
43799 ac_status=$?
43800 grep -v '^ *+' conftest.er1 >conftest.err
43801 rm -f conftest.er1
43802 cat conftest.err >&5
43803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43804 (exit $ac_status); } &&
43805 { ac_try='test -z "$ac_cxx_werror_flag"
43806 || test ! -s conftest.err'
43807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43808 (eval $ac_try) 2>&5
43809 ac_status=$?
43810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43811 (exit $ac_status); }; } &&
43812 { ac_try='test -s conftest.$ac_objext'
43813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43814 (eval $ac_try) 2>&5
43815 ac_status=$?
43816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43817 (exit $ac_status); }; }; then
43818 glibcxx_cv_func__isnan_use=yes
43819 else
43820 echo "$as_me: failed program was:" >&5
43821 sed 's/^/| /' conftest.$ac_ext >&5
43823 glibcxx_cv_func__isnan_use=no
43825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43826 ac_ext=c
43827 ac_cpp='$CPP $CPPFLAGS'
43828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43836 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
43837 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
43839 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
43841 for ac_func in _isnan
43843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43844 echo "$as_me:$LINENO: checking for $ac_func" >&5
43845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43846 if eval "test \"\${$as_ac_var+set}\" = set"; then
43847 echo $ECHO_N "(cached) $ECHO_C" >&6
43848 else
43849 if test x$gcc_no_link = xyes; then
43850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43852 { (exit 1); exit 1; }; }
43854 cat >conftest.$ac_ext <<_ACEOF
43855 /* confdefs.h. */
43856 _ACEOF
43857 cat confdefs.h >>conftest.$ac_ext
43858 cat >>conftest.$ac_ext <<_ACEOF
43859 /* end confdefs.h. */
43860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43862 #define $ac_func innocuous_$ac_func
43864 /* System header to define __stub macros and hopefully few prototypes,
43865 which can conflict with char $ac_func (); below.
43866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43867 <limits.h> exists even on freestanding compilers. */
43869 #ifdef __STDC__
43870 # include <limits.h>
43871 #else
43872 # include <assert.h>
43873 #endif
43875 #undef $ac_func
43877 /* Override any gcc2 internal prototype to avoid an error. */
43878 #ifdef __cplusplus
43879 extern "C"
43881 #endif
43882 /* We use char because int might match the return type of a gcc2
43883 builtin and then its argument prototype would still apply. */
43884 char $ac_func ();
43885 /* The GNU C library defines this for functions which it implements
43886 to always fail with ENOSYS. Some functions are actually named
43887 something starting with __ and the normal name is an alias. */
43888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43889 choke me
43890 #else
43891 char (*f) () = $ac_func;
43892 #endif
43893 #ifdef __cplusplus
43895 #endif
43898 main ()
43900 return f != $ac_func;
43902 return 0;
43904 _ACEOF
43905 rm -f conftest.$ac_objext conftest$ac_exeext
43906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43907 (eval $ac_link) 2>conftest.er1
43908 ac_status=$?
43909 grep -v '^ *+' conftest.er1 >conftest.err
43910 rm -f conftest.er1
43911 cat conftest.err >&5
43912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43913 (exit $ac_status); } &&
43914 { ac_try='test -z "$ac_c_werror_flag"
43915 || test ! -s conftest.err'
43916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43917 (eval $ac_try) 2>&5
43918 ac_status=$?
43919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43920 (exit $ac_status); }; } &&
43921 { ac_try='test -s conftest$ac_exeext'
43922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43923 (eval $ac_try) 2>&5
43924 ac_status=$?
43925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43926 (exit $ac_status); }; }; then
43927 eval "$as_ac_var=yes"
43928 else
43929 echo "$as_me: failed program was:" >&5
43930 sed 's/^/| /' conftest.$ac_ext >&5
43932 eval "$as_ac_var=no"
43934 rm -f conftest.err conftest.$ac_objext \
43935 conftest$ac_exeext conftest.$ac_ext
43937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43939 if test `eval echo '${'$as_ac_var'}'` = yes; then
43940 cat >>confdefs.h <<_ACEOF
43941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43942 _ACEOF
43945 done
43955 echo "$as_me:$LINENO: checking for finite declaration" >&5
43956 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
43957 if test x${glibcxx_cv_func_finite_use+set} != xset; then
43958 if test "${glibcxx_cv_func_finite_use+set}" = set; then
43959 echo $ECHO_N "(cached) $ECHO_C" >&6
43960 else
43964 ac_ext=cc
43965 ac_cpp='$CXXCPP $CPPFLAGS'
43966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43970 cat >conftest.$ac_ext <<_ACEOF
43971 /* confdefs.h. */
43972 _ACEOF
43973 cat confdefs.h >>conftest.$ac_ext
43974 cat >>conftest.$ac_ext <<_ACEOF
43975 /* end confdefs.h. */
43976 #include <math.h>
43977 #ifdef HAVE_IEEEFP_H
43978 #include <ieeefp.h>
43979 #endif
43982 main ()
43984 finite(0);
43986 return 0;
43988 _ACEOF
43989 rm -f conftest.$ac_objext
43990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43991 (eval $ac_compile) 2>conftest.er1
43992 ac_status=$?
43993 grep -v '^ *+' conftest.er1 >conftest.err
43994 rm -f conftest.er1
43995 cat conftest.err >&5
43996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43997 (exit $ac_status); } &&
43998 { ac_try='test -z "$ac_cxx_werror_flag"
43999 || test ! -s conftest.err'
44000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44001 (eval $ac_try) 2>&5
44002 ac_status=$?
44003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44004 (exit $ac_status); }; } &&
44005 { ac_try='test -s conftest.$ac_objext'
44006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44007 (eval $ac_try) 2>&5
44008 ac_status=$?
44009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44010 (exit $ac_status); }; }; then
44011 glibcxx_cv_func_finite_use=yes
44012 else
44013 echo "$as_me: failed program was:" >&5
44014 sed 's/^/| /' conftest.$ac_ext >&5
44016 glibcxx_cv_func_finite_use=no
44018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44019 ac_ext=c
44020 ac_cpp='$CPP $CPPFLAGS'
44021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44029 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
44030 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
44032 if test x$glibcxx_cv_func_finite_use = x"yes"; then
44034 for ac_func in finite
44036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44037 echo "$as_me:$LINENO: checking for $ac_func" >&5
44038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44039 if eval "test \"\${$as_ac_var+set}\" = set"; then
44040 echo $ECHO_N "(cached) $ECHO_C" >&6
44041 else
44042 if test x$gcc_no_link = xyes; then
44043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44045 { (exit 1); exit 1; }; }
44047 cat >conftest.$ac_ext <<_ACEOF
44048 /* confdefs.h. */
44049 _ACEOF
44050 cat confdefs.h >>conftest.$ac_ext
44051 cat >>conftest.$ac_ext <<_ACEOF
44052 /* end confdefs.h. */
44053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44055 #define $ac_func innocuous_$ac_func
44057 /* System header to define __stub macros and hopefully few prototypes,
44058 which can conflict with char $ac_func (); below.
44059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44060 <limits.h> exists even on freestanding compilers. */
44062 #ifdef __STDC__
44063 # include <limits.h>
44064 #else
44065 # include <assert.h>
44066 #endif
44068 #undef $ac_func
44070 /* Override any gcc2 internal prototype to avoid an error. */
44071 #ifdef __cplusplus
44072 extern "C"
44074 #endif
44075 /* We use char because int might match the return type of a gcc2
44076 builtin and then its argument prototype would still apply. */
44077 char $ac_func ();
44078 /* The GNU C library defines this for functions which it implements
44079 to always fail with ENOSYS. Some functions are actually named
44080 something starting with __ and the normal name is an alias. */
44081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44082 choke me
44083 #else
44084 char (*f) () = $ac_func;
44085 #endif
44086 #ifdef __cplusplus
44088 #endif
44091 main ()
44093 return f != $ac_func;
44095 return 0;
44097 _ACEOF
44098 rm -f conftest.$ac_objext conftest$ac_exeext
44099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44100 (eval $ac_link) 2>conftest.er1
44101 ac_status=$?
44102 grep -v '^ *+' conftest.er1 >conftest.err
44103 rm -f conftest.er1
44104 cat conftest.err >&5
44105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44106 (exit $ac_status); } &&
44107 { ac_try='test -z "$ac_c_werror_flag"
44108 || test ! -s conftest.err'
44109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44110 (eval $ac_try) 2>&5
44111 ac_status=$?
44112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44113 (exit $ac_status); }; } &&
44114 { ac_try='test -s conftest$ac_exeext'
44115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44116 (eval $ac_try) 2>&5
44117 ac_status=$?
44118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44119 (exit $ac_status); }; }; then
44120 eval "$as_ac_var=yes"
44121 else
44122 echo "$as_me: failed program was:" >&5
44123 sed 's/^/| /' conftest.$ac_ext >&5
44125 eval "$as_ac_var=no"
44127 rm -f conftest.err conftest.$ac_objext \
44128 conftest$ac_exeext conftest.$ac_ext
44130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44132 if test `eval echo '${'$as_ac_var'}'` = yes; then
44133 cat >>confdefs.h <<_ACEOF
44134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44135 _ACEOF
44138 done
44140 else
44142 echo "$as_me:$LINENO: checking for _finite declaration" >&5
44143 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
44144 if test x${glibcxx_cv_func__finite_use+set} != xset; then
44145 if test "${glibcxx_cv_func__finite_use+set}" = set; then
44146 echo $ECHO_N "(cached) $ECHO_C" >&6
44147 else
44151 ac_ext=cc
44152 ac_cpp='$CXXCPP $CPPFLAGS'
44153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44157 cat >conftest.$ac_ext <<_ACEOF
44158 /* confdefs.h. */
44159 _ACEOF
44160 cat confdefs.h >>conftest.$ac_ext
44161 cat >>conftest.$ac_ext <<_ACEOF
44162 /* end confdefs.h. */
44163 #include <math.h>
44164 #ifdef HAVE_IEEEFP_H
44165 #include <ieeefp.h>
44166 #endif
44169 main ()
44171 _finite(0);
44173 return 0;
44175 _ACEOF
44176 rm -f conftest.$ac_objext
44177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44178 (eval $ac_compile) 2>conftest.er1
44179 ac_status=$?
44180 grep -v '^ *+' conftest.er1 >conftest.err
44181 rm -f conftest.er1
44182 cat conftest.err >&5
44183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44184 (exit $ac_status); } &&
44185 { ac_try='test -z "$ac_cxx_werror_flag"
44186 || test ! -s conftest.err'
44187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44188 (eval $ac_try) 2>&5
44189 ac_status=$?
44190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44191 (exit $ac_status); }; } &&
44192 { ac_try='test -s conftest.$ac_objext'
44193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44194 (eval $ac_try) 2>&5
44195 ac_status=$?
44196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44197 (exit $ac_status); }; }; then
44198 glibcxx_cv_func__finite_use=yes
44199 else
44200 echo "$as_me: failed program was:" >&5
44201 sed 's/^/| /' conftest.$ac_ext >&5
44203 glibcxx_cv_func__finite_use=no
44205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44206 ac_ext=c
44207 ac_cpp='$CPP $CPPFLAGS'
44208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44216 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
44217 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
44219 if test x$glibcxx_cv_func__finite_use = x"yes"; then
44221 for ac_func in _finite
44223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44224 echo "$as_me:$LINENO: checking for $ac_func" >&5
44225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44226 if eval "test \"\${$as_ac_var+set}\" = set"; then
44227 echo $ECHO_N "(cached) $ECHO_C" >&6
44228 else
44229 if test x$gcc_no_link = xyes; then
44230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44232 { (exit 1); exit 1; }; }
44234 cat >conftest.$ac_ext <<_ACEOF
44235 /* confdefs.h. */
44236 _ACEOF
44237 cat confdefs.h >>conftest.$ac_ext
44238 cat >>conftest.$ac_ext <<_ACEOF
44239 /* end confdefs.h. */
44240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44242 #define $ac_func innocuous_$ac_func
44244 /* System header to define __stub macros and hopefully few prototypes,
44245 which can conflict with char $ac_func (); below.
44246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44247 <limits.h> exists even on freestanding compilers. */
44249 #ifdef __STDC__
44250 # include <limits.h>
44251 #else
44252 # include <assert.h>
44253 #endif
44255 #undef $ac_func
44257 /* Override any gcc2 internal prototype to avoid an error. */
44258 #ifdef __cplusplus
44259 extern "C"
44261 #endif
44262 /* We use char because int might match the return type of a gcc2
44263 builtin and then its argument prototype would still apply. */
44264 char $ac_func ();
44265 /* The GNU C library defines this for functions which it implements
44266 to always fail with ENOSYS. Some functions are actually named
44267 something starting with __ and the normal name is an alias. */
44268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44269 choke me
44270 #else
44271 char (*f) () = $ac_func;
44272 #endif
44273 #ifdef __cplusplus
44275 #endif
44278 main ()
44280 return f != $ac_func;
44282 return 0;
44284 _ACEOF
44285 rm -f conftest.$ac_objext conftest$ac_exeext
44286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44287 (eval $ac_link) 2>conftest.er1
44288 ac_status=$?
44289 grep -v '^ *+' conftest.er1 >conftest.err
44290 rm -f conftest.er1
44291 cat conftest.err >&5
44292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44293 (exit $ac_status); } &&
44294 { ac_try='test -z "$ac_c_werror_flag"
44295 || test ! -s conftest.err'
44296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44297 (eval $ac_try) 2>&5
44298 ac_status=$?
44299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44300 (exit $ac_status); }; } &&
44301 { ac_try='test -s conftest$ac_exeext'
44302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44303 (eval $ac_try) 2>&5
44304 ac_status=$?
44305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44306 (exit $ac_status); }; }; then
44307 eval "$as_ac_var=yes"
44308 else
44309 echo "$as_me: failed program was:" >&5
44310 sed 's/^/| /' conftest.$ac_ext >&5
44312 eval "$as_ac_var=no"
44314 rm -f conftest.err conftest.$ac_objext \
44315 conftest$ac_exeext conftest.$ac_ext
44317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44319 if test `eval echo '${'$as_ac_var'}'` = yes; then
44320 cat >>confdefs.h <<_ACEOF
44321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44322 _ACEOF
44325 done
44335 echo "$as_me:$LINENO: checking for copysign declaration" >&5
44336 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
44337 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
44338 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
44339 echo $ECHO_N "(cached) $ECHO_C" >&6
44340 else
44344 ac_ext=cc
44345 ac_cpp='$CXXCPP $CPPFLAGS'
44346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44350 cat >conftest.$ac_ext <<_ACEOF
44351 /* confdefs.h. */
44352 _ACEOF
44353 cat confdefs.h >>conftest.$ac_ext
44354 cat >>conftest.$ac_ext <<_ACEOF
44355 /* end confdefs.h. */
44356 #include <math.h>
44358 main ()
44360 copysign(0, 0);
44362 return 0;
44364 _ACEOF
44365 rm -f conftest.$ac_objext
44366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44367 (eval $ac_compile) 2>conftest.er1
44368 ac_status=$?
44369 grep -v '^ *+' conftest.er1 >conftest.err
44370 rm -f conftest.er1
44371 cat conftest.err >&5
44372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44373 (exit $ac_status); } &&
44374 { ac_try='test -z "$ac_cxx_werror_flag"
44375 || test ! -s conftest.err'
44376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44377 (eval $ac_try) 2>&5
44378 ac_status=$?
44379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44380 (exit $ac_status); }; } &&
44381 { ac_try='test -s conftest.$ac_objext'
44382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44383 (eval $ac_try) 2>&5
44384 ac_status=$?
44385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44386 (exit $ac_status); }; }; then
44387 glibcxx_cv_func_copysign_use=yes
44388 else
44389 echo "$as_me: failed program was:" >&5
44390 sed 's/^/| /' conftest.$ac_ext >&5
44392 glibcxx_cv_func_copysign_use=no
44394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44395 ac_ext=c
44396 ac_cpp='$CPP $CPPFLAGS'
44397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44405 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
44406 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
44408 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
44410 for ac_func in copysign
44412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44413 echo "$as_me:$LINENO: checking for $ac_func" >&5
44414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44415 if eval "test \"\${$as_ac_var+set}\" = set"; then
44416 echo $ECHO_N "(cached) $ECHO_C" >&6
44417 else
44418 if test x$gcc_no_link = xyes; then
44419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44421 { (exit 1); exit 1; }; }
44423 cat >conftest.$ac_ext <<_ACEOF
44424 /* confdefs.h. */
44425 _ACEOF
44426 cat confdefs.h >>conftest.$ac_ext
44427 cat >>conftest.$ac_ext <<_ACEOF
44428 /* end confdefs.h. */
44429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44431 #define $ac_func innocuous_$ac_func
44433 /* System header to define __stub macros and hopefully few prototypes,
44434 which can conflict with char $ac_func (); below.
44435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44436 <limits.h> exists even on freestanding compilers. */
44438 #ifdef __STDC__
44439 # include <limits.h>
44440 #else
44441 # include <assert.h>
44442 #endif
44444 #undef $ac_func
44446 /* Override any gcc2 internal prototype to avoid an error. */
44447 #ifdef __cplusplus
44448 extern "C"
44450 #endif
44451 /* We use char because int might match the return type of a gcc2
44452 builtin and then its argument prototype would still apply. */
44453 char $ac_func ();
44454 /* The GNU C library defines this for functions which it implements
44455 to always fail with ENOSYS. Some functions are actually named
44456 something starting with __ and the normal name is an alias. */
44457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44458 choke me
44459 #else
44460 char (*f) () = $ac_func;
44461 #endif
44462 #ifdef __cplusplus
44464 #endif
44467 main ()
44469 return f != $ac_func;
44471 return 0;
44473 _ACEOF
44474 rm -f conftest.$ac_objext conftest$ac_exeext
44475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44476 (eval $ac_link) 2>conftest.er1
44477 ac_status=$?
44478 grep -v '^ *+' conftest.er1 >conftest.err
44479 rm -f conftest.er1
44480 cat conftest.err >&5
44481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44482 (exit $ac_status); } &&
44483 { ac_try='test -z "$ac_c_werror_flag"
44484 || test ! -s conftest.err'
44485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44486 (eval $ac_try) 2>&5
44487 ac_status=$?
44488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44489 (exit $ac_status); }; } &&
44490 { ac_try='test -s conftest$ac_exeext'
44491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44492 (eval $ac_try) 2>&5
44493 ac_status=$?
44494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44495 (exit $ac_status); }; }; then
44496 eval "$as_ac_var=yes"
44497 else
44498 echo "$as_me: failed program was:" >&5
44499 sed 's/^/| /' conftest.$ac_ext >&5
44501 eval "$as_ac_var=no"
44503 rm -f conftest.err conftest.$ac_objext \
44504 conftest$ac_exeext conftest.$ac_ext
44506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44508 if test `eval echo '${'$as_ac_var'}'` = yes; then
44509 cat >>confdefs.h <<_ACEOF
44510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44511 _ACEOF
44514 done
44516 else
44518 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
44519 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
44520 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
44521 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
44522 echo $ECHO_N "(cached) $ECHO_C" >&6
44523 else
44527 ac_ext=cc
44528 ac_cpp='$CXXCPP $CPPFLAGS'
44529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44533 cat >conftest.$ac_ext <<_ACEOF
44534 /* confdefs.h. */
44535 _ACEOF
44536 cat confdefs.h >>conftest.$ac_ext
44537 cat >>conftest.$ac_ext <<_ACEOF
44538 /* end confdefs.h. */
44539 #include <math.h>
44541 main ()
44543 _copysign(0, 0);
44545 return 0;
44547 _ACEOF
44548 rm -f conftest.$ac_objext
44549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44550 (eval $ac_compile) 2>conftest.er1
44551 ac_status=$?
44552 grep -v '^ *+' conftest.er1 >conftest.err
44553 rm -f conftest.er1
44554 cat conftest.err >&5
44555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44556 (exit $ac_status); } &&
44557 { ac_try='test -z "$ac_cxx_werror_flag"
44558 || test ! -s conftest.err'
44559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44560 (eval $ac_try) 2>&5
44561 ac_status=$?
44562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44563 (exit $ac_status); }; } &&
44564 { ac_try='test -s conftest.$ac_objext'
44565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44566 (eval $ac_try) 2>&5
44567 ac_status=$?
44568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44569 (exit $ac_status); }; }; then
44570 glibcxx_cv_func__copysign_use=yes
44571 else
44572 echo "$as_me: failed program was:" >&5
44573 sed 's/^/| /' conftest.$ac_ext >&5
44575 glibcxx_cv_func__copysign_use=no
44577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44578 ac_ext=c
44579 ac_cpp='$CPP $CPPFLAGS'
44580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
44589 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
44591 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
44593 for ac_func in _copysign
44595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44596 echo "$as_me:$LINENO: checking for $ac_func" >&5
44597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44598 if eval "test \"\${$as_ac_var+set}\" = set"; then
44599 echo $ECHO_N "(cached) $ECHO_C" >&6
44600 else
44601 if test x$gcc_no_link = xyes; then
44602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44604 { (exit 1); exit 1; }; }
44606 cat >conftest.$ac_ext <<_ACEOF
44607 /* confdefs.h. */
44608 _ACEOF
44609 cat confdefs.h >>conftest.$ac_ext
44610 cat >>conftest.$ac_ext <<_ACEOF
44611 /* end confdefs.h. */
44612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44614 #define $ac_func innocuous_$ac_func
44616 /* System header to define __stub macros and hopefully few prototypes,
44617 which can conflict with char $ac_func (); below.
44618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44619 <limits.h> exists even on freestanding compilers. */
44621 #ifdef __STDC__
44622 # include <limits.h>
44623 #else
44624 # include <assert.h>
44625 #endif
44627 #undef $ac_func
44629 /* Override any gcc2 internal prototype to avoid an error. */
44630 #ifdef __cplusplus
44631 extern "C"
44633 #endif
44634 /* We use char because int might match the return type of a gcc2
44635 builtin and then its argument prototype would still apply. */
44636 char $ac_func ();
44637 /* The GNU C library defines this for functions which it implements
44638 to always fail with ENOSYS. Some functions are actually named
44639 something starting with __ and the normal name is an alias. */
44640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44641 choke me
44642 #else
44643 char (*f) () = $ac_func;
44644 #endif
44645 #ifdef __cplusplus
44647 #endif
44650 main ()
44652 return f != $ac_func;
44654 return 0;
44656 _ACEOF
44657 rm -f conftest.$ac_objext conftest$ac_exeext
44658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44659 (eval $ac_link) 2>conftest.er1
44660 ac_status=$?
44661 grep -v '^ *+' conftest.er1 >conftest.err
44662 rm -f conftest.er1
44663 cat conftest.err >&5
44664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44665 (exit $ac_status); } &&
44666 { ac_try='test -z "$ac_c_werror_flag"
44667 || test ! -s conftest.err'
44668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44669 (eval $ac_try) 2>&5
44670 ac_status=$?
44671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44672 (exit $ac_status); }; } &&
44673 { ac_try='test -s conftest$ac_exeext'
44674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44675 (eval $ac_try) 2>&5
44676 ac_status=$?
44677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44678 (exit $ac_status); }; }; then
44679 eval "$as_ac_var=yes"
44680 else
44681 echo "$as_me: failed program was:" >&5
44682 sed 's/^/| /' conftest.$ac_ext >&5
44684 eval "$as_ac_var=no"
44686 rm -f conftest.err conftest.$ac_objext \
44687 conftest$ac_exeext conftest.$ac_ext
44689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44691 if test `eval echo '${'$as_ac_var'}'` = yes; then
44692 cat >>confdefs.h <<_ACEOF
44693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44694 _ACEOF
44697 done
44707 echo "$as_me:$LINENO: checking for sincos declaration" >&5
44708 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
44709 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
44710 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
44711 echo $ECHO_N "(cached) $ECHO_C" >&6
44712 else
44716 ac_ext=cc
44717 ac_cpp='$CXXCPP $CPPFLAGS'
44718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44722 cat >conftest.$ac_ext <<_ACEOF
44723 /* confdefs.h. */
44724 _ACEOF
44725 cat confdefs.h >>conftest.$ac_ext
44726 cat >>conftest.$ac_ext <<_ACEOF
44727 /* end confdefs.h. */
44728 #include <math.h>
44730 main ()
44732 sincos(0, 0, 0);
44734 return 0;
44736 _ACEOF
44737 rm -f conftest.$ac_objext
44738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44739 (eval $ac_compile) 2>conftest.er1
44740 ac_status=$?
44741 grep -v '^ *+' conftest.er1 >conftest.err
44742 rm -f conftest.er1
44743 cat conftest.err >&5
44744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44745 (exit $ac_status); } &&
44746 { ac_try='test -z "$ac_cxx_werror_flag"
44747 || test ! -s conftest.err'
44748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44749 (eval $ac_try) 2>&5
44750 ac_status=$?
44751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44752 (exit $ac_status); }; } &&
44753 { ac_try='test -s conftest.$ac_objext'
44754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44755 (eval $ac_try) 2>&5
44756 ac_status=$?
44757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44758 (exit $ac_status); }; }; then
44759 glibcxx_cv_func_sincos_use=yes
44760 else
44761 echo "$as_me: failed program was:" >&5
44762 sed 's/^/| /' conftest.$ac_ext >&5
44764 glibcxx_cv_func_sincos_use=no
44766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44767 ac_ext=c
44768 ac_cpp='$CPP $CPPFLAGS'
44769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44777 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
44778 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
44780 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
44782 for ac_func in sincos
44784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44785 echo "$as_me:$LINENO: checking for $ac_func" >&5
44786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44787 if eval "test \"\${$as_ac_var+set}\" = set"; then
44788 echo $ECHO_N "(cached) $ECHO_C" >&6
44789 else
44790 if test x$gcc_no_link = xyes; then
44791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44793 { (exit 1); exit 1; }; }
44795 cat >conftest.$ac_ext <<_ACEOF
44796 /* confdefs.h. */
44797 _ACEOF
44798 cat confdefs.h >>conftest.$ac_ext
44799 cat >>conftest.$ac_ext <<_ACEOF
44800 /* end confdefs.h. */
44801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44803 #define $ac_func innocuous_$ac_func
44805 /* System header to define __stub macros and hopefully few prototypes,
44806 which can conflict with char $ac_func (); below.
44807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44808 <limits.h> exists even on freestanding compilers. */
44810 #ifdef __STDC__
44811 # include <limits.h>
44812 #else
44813 # include <assert.h>
44814 #endif
44816 #undef $ac_func
44818 /* Override any gcc2 internal prototype to avoid an error. */
44819 #ifdef __cplusplus
44820 extern "C"
44822 #endif
44823 /* We use char because int might match the return type of a gcc2
44824 builtin and then its argument prototype would still apply. */
44825 char $ac_func ();
44826 /* The GNU C library defines this for functions which it implements
44827 to always fail with ENOSYS. Some functions are actually named
44828 something starting with __ and the normal name is an alias. */
44829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44830 choke me
44831 #else
44832 char (*f) () = $ac_func;
44833 #endif
44834 #ifdef __cplusplus
44836 #endif
44839 main ()
44841 return f != $ac_func;
44843 return 0;
44845 _ACEOF
44846 rm -f conftest.$ac_objext conftest$ac_exeext
44847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44848 (eval $ac_link) 2>conftest.er1
44849 ac_status=$?
44850 grep -v '^ *+' conftest.er1 >conftest.err
44851 rm -f conftest.er1
44852 cat conftest.err >&5
44853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44854 (exit $ac_status); } &&
44855 { ac_try='test -z "$ac_c_werror_flag"
44856 || test ! -s conftest.err'
44857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44858 (eval $ac_try) 2>&5
44859 ac_status=$?
44860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44861 (exit $ac_status); }; } &&
44862 { ac_try='test -s conftest$ac_exeext'
44863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44864 (eval $ac_try) 2>&5
44865 ac_status=$?
44866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44867 (exit $ac_status); }; }; then
44868 eval "$as_ac_var=yes"
44869 else
44870 echo "$as_me: failed program was:" >&5
44871 sed 's/^/| /' conftest.$ac_ext >&5
44873 eval "$as_ac_var=no"
44875 rm -f conftest.err conftest.$ac_objext \
44876 conftest$ac_exeext conftest.$ac_ext
44878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44880 if test `eval echo '${'$as_ac_var'}'` = yes; then
44881 cat >>confdefs.h <<_ACEOF
44882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44883 _ACEOF
44886 done
44888 else
44890 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
44891 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
44892 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
44893 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
44894 echo $ECHO_N "(cached) $ECHO_C" >&6
44895 else
44899 ac_ext=cc
44900 ac_cpp='$CXXCPP $CPPFLAGS'
44901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44905 cat >conftest.$ac_ext <<_ACEOF
44906 /* confdefs.h. */
44907 _ACEOF
44908 cat confdefs.h >>conftest.$ac_ext
44909 cat >>conftest.$ac_ext <<_ACEOF
44910 /* end confdefs.h. */
44911 #include <math.h>
44913 main ()
44915 _sincos(0, 0, 0);
44917 return 0;
44919 _ACEOF
44920 rm -f conftest.$ac_objext
44921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44922 (eval $ac_compile) 2>conftest.er1
44923 ac_status=$?
44924 grep -v '^ *+' conftest.er1 >conftest.err
44925 rm -f conftest.er1
44926 cat conftest.err >&5
44927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44928 (exit $ac_status); } &&
44929 { ac_try='test -z "$ac_cxx_werror_flag"
44930 || test ! -s conftest.err'
44931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44932 (eval $ac_try) 2>&5
44933 ac_status=$?
44934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44935 (exit $ac_status); }; } &&
44936 { ac_try='test -s conftest.$ac_objext'
44937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44938 (eval $ac_try) 2>&5
44939 ac_status=$?
44940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44941 (exit $ac_status); }; }; then
44942 glibcxx_cv_func__sincos_use=yes
44943 else
44944 echo "$as_me: failed program was:" >&5
44945 sed 's/^/| /' conftest.$ac_ext >&5
44947 glibcxx_cv_func__sincos_use=no
44949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44950 ac_ext=c
44951 ac_cpp='$CPP $CPPFLAGS'
44952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44960 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
44961 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
44963 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
44965 for ac_func in _sincos
44967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44968 echo "$as_me:$LINENO: checking for $ac_func" >&5
44969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44970 if eval "test \"\${$as_ac_var+set}\" = set"; then
44971 echo $ECHO_N "(cached) $ECHO_C" >&6
44972 else
44973 if test x$gcc_no_link = xyes; then
44974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44976 { (exit 1); exit 1; }; }
44978 cat >conftest.$ac_ext <<_ACEOF
44979 /* confdefs.h. */
44980 _ACEOF
44981 cat confdefs.h >>conftest.$ac_ext
44982 cat >>conftest.$ac_ext <<_ACEOF
44983 /* end confdefs.h. */
44984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44986 #define $ac_func innocuous_$ac_func
44988 /* System header to define __stub macros and hopefully few prototypes,
44989 which can conflict with char $ac_func (); below.
44990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44991 <limits.h> exists even on freestanding compilers. */
44993 #ifdef __STDC__
44994 # include <limits.h>
44995 #else
44996 # include <assert.h>
44997 #endif
44999 #undef $ac_func
45001 /* Override any gcc2 internal prototype to avoid an error. */
45002 #ifdef __cplusplus
45003 extern "C"
45005 #endif
45006 /* We use char because int might match the return type of a gcc2
45007 builtin and then its argument prototype would still apply. */
45008 char $ac_func ();
45009 /* The GNU C library defines this for functions which it implements
45010 to always fail with ENOSYS. Some functions are actually named
45011 something starting with __ and the normal name is an alias. */
45012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45013 choke me
45014 #else
45015 char (*f) () = $ac_func;
45016 #endif
45017 #ifdef __cplusplus
45019 #endif
45022 main ()
45024 return f != $ac_func;
45026 return 0;
45028 _ACEOF
45029 rm -f conftest.$ac_objext conftest$ac_exeext
45030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45031 (eval $ac_link) 2>conftest.er1
45032 ac_status=$?
45033 grep -v '^ *+' conftest.er1 >conftest.err
45034 rm -f conftest.er1
45035 cat conftest.err >&5
45036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45037 (exit $ac_status); } &&
45038 { ac_try='test -z "$ac_c_werror_flag"
45039 || test ! -s conftest.err'
45040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45041 (eval $ac_try) 2>&5
45042 ac_status=$?
45043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45044 (exit $ac_status); }; } &&
45045 { ac_try='test -s conftest$ac_exeext'
45046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45047 (eval $ac_try) 2>&5
45048 ac_status=$?
45049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45050 (exit $ac_status); }; }; then
45051 eval "$as_ac_var=yes"
45052 else
45053 echo "$as_me: failed program was:" >&5
45054 sed 's/^/| /' conftest.$ac_ext >&5
45056 eval "$as_ac_var=no"
45058 rm -f conftest.err conftest.$ac_objext \
45059 conftest$ac_exeext conftest.$ac_ext
45061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45063 if test `eval echo '${'$as_ac_var'}'` = yes; then
45064 cat >>confdefs.h <<_ACEOF
45065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45066 _ACEOF
45069 done
45079 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
45080 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
45081 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45082 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
45083 echo $ECHO_N "(cached) $ECHO_C" >&6
45084 else
45088 ac_ext=cc
45089 ac_cpp='$CXXCPP $CPPFLAGS'
45090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45094 cat >conftest.$ac_ext <<_ACEOF
45095 /* confdefs.h. */
45096 _ACEOF
45097 cat confdefs.h >>conftest.$ac_ext
45098 cat >>conftest.$ac_ext <<_ACEOF
45099 /* end confdefs.h. */
45100 #include <math.h>
45101 #ifdef HAVE_IEEEFP_H
45102 #include <ieeefp.h>
45103 #endif
45106 main ()
45108 fpclass(0);
45110 return 0;
45112 _ACEOF
45113 rm -f conftest.$ac_objext
45114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45115 (eval $ac_compile) 2>conftest.er1
45116 ac_status=$?
45117 grep -v '^ *+' conftest.er1 >conftest.err
45118 rm -f conftest.er1
45119 cat conftest.err >&5
45120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45121 (exit $ac_status); } &&
45122 { ac_try='test -z "$ac_cxx_werror_flag"
45123 || test ! -s conftest.err'
45124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45125 (eval $ac_try) 2>&5
45126 ac_status=$?
45127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45128 (exit $ac_status); }; } &&
45129 { ac_try='test -s conftest.$ac_objext'
45130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45131 (eval $ac_try) 2>&5
45132 ac_status=$?
45133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45134 (exit $ac_status); }; }; then
45135 glibcxx_cv_func_fpclass_use=yes
45136 else
45137 echo "$as_me: failed program was:" >&5
45138 sed 's/^/| /' conftest.$ac_ext >&5
45140 glibcxx_cv_func_fpclass_use=no
45142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45143 ac_ext=c
45144 ac_cpp='$CPP $CPPFLAGS'
45145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45153 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
45154 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
45156 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45158 for ac_func in fpclass
45160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45161 echo "$as_me:$LINENO: checking for $ac_func" >&5
45162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45163 if eval "test \"\${$as_ac_var+set}\" = set"; then
45164 echo $ECHO_N "(cached) $ECHO_C" >&6
45165 else
45166 if test x$gcc_no_link = xyes; then
45167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45169 { (exit 1); exit 1; }; }
45171 cat >conftest.$ac_ext <<_ACEOF
45172 /* confdefs.h. */
45173 _ACEOF
45174 cat confdefs.h >>conftest.$ac_ext
45175 cat >>conftest.$ac_ext <<_ACEOF
45176 /* end confdefs.h. */
45177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45179 #define $ac_func innocuous_$ac_func
45181 /* System header to define __stub macros and hopefully few prototypes,
45182 which can conflict with char $ac_func (); below.
45183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45184 <limits.h> exists even on freestanding compilers. */
45186 #ifdef __STDC__
45187 # include <limits.h>
45188 #else
45189 # include <assert.h>
45190 #endif
45192 #undef $ac_func
45194 /* Override any gcc2 internal prototype to avoid an error. */
45195 #ifdef __cplusplus
45196 extern "C"
45198 #endif
45199 /* We use char because int might match the return type of a gcc2
45200 builtin and then its argument prototype would still apply. */
45201 char $ac_func ();
45202 /* The GNU C library defines this for functions which it implements
45203 to always fail with ENOSYS. Some functions are actually named
45204 something starting with __ and the normal name is an alias. */
45205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45206 choke me
45207 #else
45208 char (*f) () = $ac_func;
45209 #endif
45210 #ifdef __cplusplus
45212 #endif
45215 main ()
45217 return f != $ac_func;
45219 return 0;
45221 _ACEOF
45222 rm -f conftest.$ac_objext conftest$ac_exeext
45223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45224 (eval $ac_link) 2>conftest.er1
45225 ac_status=$?
45226 grep -v '^ *+' conftest.er1 >conftest.err
45227 rm -f conftest.er1
45228 cat conftest.err >&5
45229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45230 (exit $ac_status); } &&
45231 { ac_try='test -z "$ac_c_werror_flag"
45232 || test ! -s conftest.err'
45233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45234 (eval $ac_try) 2>&5
45235 ac_status=$?
45236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45237 (exit $ac_status); }; } &&
45238 { ac_try='test -s conftest$ac_exeext'
45239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45240 (eval $ac_try) 2>&5
45241 ac_status=$?
45242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45243 (exit $ac_status); }; }; then
45244 eval "$as_ac_var=yes"
45245 else
45246 echo "$as_me: failed program was:" >&5
45247 sed 's/^/| /' conftest.$ac_ext >&5
45249 eval "$as_ac_var=no"
45251 rm -f conftest.err conftest.$ac_objext \
45252 conftest$ac_exeext conftest.$ac_ext
45254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45256 if test `eval echo '${'$as_ac_var'}'` = yes; then
45257 cat >>confdefs.h <<_ACEOF
45258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45259 _ACEOF
45262 done
45264 else
45266 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
45267 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
45268 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45269 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
45270 echo $ECHO_N "(cached) $ECHO_C" >&6
45271 else
45275 ac_ext=cc
45276 ac_cpp='$CXXCPP $CPPFLAGS'
45277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45281 cat >conftest.$ac_ext <<_ACEOF
45282 /* confdefs.h. */
45283 _ACEOF
45284 cat confdefs.h >>conftest.$ac_ext
45285 cat >>conftest.$ac_ext <<_ACEOF
45286 /* end confdefs.h. */
45287 #include <math.h>
45288 #ifdef HAVE_IEEEFP_H
45289 #include <ieeefp.h>
45290 #endif
45293 main ()
45295 _fpclass(0);
45297 return 0;
45299 _ACEOF
45300 rm -f conftest.$ac_objext
45301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45302 (eval $ac_compile) 2>conftest.er1
45303 ac_status=$?
45304 grep -v '^ *+' conftest.er1 >conftest.err
45305 rm -f conftest.er1
45306 cat conftest.err >&5
45307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45308 (exit $ac_status); } &&
45309 { ac_try='test -z "$ac_cxx_werror_flag"
45310 || test ! -s conftest.err'
45311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45312 (eval $ac_try) 2>&5
45313 ac_status=$?
45314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45315 (exit $ac_status); }; } &&
45316 { ac_try='test -s conftest.$ac_objext'
45317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45318 (eval $ac_try) 2>&5
45319 ac_status=$?
45320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45321 (exit $ac_status); }; }; then
45322 glibcxx_cv_func__fpclass_use=yes
45323 else
45324 echo "$as_me: failed program was:" >&5
45325 sed 's/^/| /' conftest.$ac_ext >&5
45327 glibcxx_cv_func__fpclass_use=no
45329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45330 ac_ext=c
45331 ac_cpp='$CPP $CPPFLAGS'
45332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45340 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
45341 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
45343 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45345 for ac_func in _fpclass
45347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45348 echo "$as_me:$LINENO: checking for $ac_func" >&5
45349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45350 if eval "test \"\${$as_ac_var+set}\" = set"; then
45351 echo $ECHO_N "(cached) $ECHO_C" >&6
45352 else
45353 if test x$gcc_no_link = xyes; then
45354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45356 { (exit 1); exit 1; }; }
45358 cat >conftest.$ac_ext <<_ACEOF
45359 /* confdefs.h. */
45360 _ACEOF
45361 cat confdefs.h >>conftest.$ac_ext
45362 cat >>conftest.$ac_ext <<_ACEOF
45363 /* end confdefs.h. */
45364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45366 #define $ac_func innocuous_$ac_func
45368 /* System header to define __stub macros and hopefully few prototypes,
45369 which can conflict with char $ac_func (); below.
45370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45371 <limits.h> exists even on freestanding compilers. */
45373 #ifdef __STDC__
45374 # include <limits.h>
45375 #else
45376 # include <assert.h>
45377 #endif
45379 #undef $ac_func
45381 /* Override any gcc2 internal prototype to avoid an error. */
45382 #ifdef __cplusplus
45383 extern "C"
45385 #endif
45386 /* We use char because int might match the return type of a gcc2
45387 builtin and then its argument prototype would still apply. */
45388 char $ac_func ();
45389 /* The GNU C library defines this for functions which it implements
45390 to always fail with ENOSYS. Some functions are actually named
45391 something starting with __ and the normal name is an alias. */
45392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45393 choke me
45394 #else
45395 char (*f) () = $ac_func;
45396 #endif
45397 #ifdef __cplusplus
45399 #endif
45402 main ()
45404 return f != $ac_func;
45406 return 0;
45408 _ACEOF
45409 rm -f conftest.$ac_objext conftest$ac_exeext
45410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45411 (eval $ac_link) 2>conftest.er1
45412 ac_status=$?
45413 grep -v '^ *+' conftest.er1 >conftest.err
45414 rm -f conftest.er1
45415 cat conftest.err >&5
45416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45417 (exit $ac_status); } &&
45418 { ac_try='test -z "$ac_c_werror_flag"
45419 || test ! -s conftest.err'
45420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45421 (eval $ac_try) 2>&5
45422 ac_status=$?
45423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45424 (exit $ac_status); }; } &&
45425 { ac_try='test -s conftest$ac_exeext'
45426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45427 (eval $ac_try) 2>&5
45428 ac_status=$?
45429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45430 (exit $ac_status); }; }; then
45431 eval "$as_ac_var=yes"
45432 else
45433 echo "$as_me: failed program was:" >&5
45434 sed 's/^/| /' conftest.$ac_ext >&5
45436 eval "$as_ac_var=no"
45438 rm -f conftest.err conftest.$ac_objext \
45439 conftest$ac_exeext conftest.$ac_ext
45441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45443 if test `eval echo '${'$as_ac_var'}'` = yes; then
45444 cat >>confdefs.h <<_ACEOF
45445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45446 _ACEOF
45449 done
45459 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
45460 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
45461 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45462 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
45463 echo $ECHO_N "(cached) $ECHO_C" >&6
45464 else
45468 ac_ext=cc
45469 ac_cpp='$CXXCPP $CPPFLAGS'
45470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45474 cat >conftest.$ac_ext <<_ACEOF
45475 /* confdefs.h. */
45476 _ACEOF
45477 cat confdefs.h >>conftest.$ac_ext
45478 cat >>conftest.$ac_ext <<_ACEOF
45479 /* end confdefs.h. */
45480 #include <math.h>
45481 #ifdef HAVE_IEEEFP_H
45482 #include <ieeefp.h>
45483 #endif
45486 main ()
45488 qfpclass(0);
45490 return 0;
45492 _ACEOF
45493 rm -f conftest.$ac_objext
45494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45495 (eval $ac_compile) 2>conftest.er1
45496 ac_status=$?
45497 grep -v '^ *+' conftest.er1 >conftest.err
45498 rm -f conftest.er1
45499 cat conftest.err >&5
45500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45501 (exit $ac_status); } &&
45502 { ac_try='test -z "$ac_cxx_werror_flag"
45503 || test ! -s conftest.err'
45504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45505 (eval $ac_try) 2>&5
45506 ac_status=$?
45507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45508 (exit $ac_status); }; } &&
45509 { ac_try='test -s conftest.$ac_objext'
45510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45511 (eval $ac_try) 2>&5
45512 ac_status=$?
45513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45514 (exit $ac_status); }; }; then
45515 glibcxx_cv_func_qfpclass_use=yes
45516 else
45517 echo "$as_me: failed program was:" >&5
45518 sed 's/^/| /' conftest.$ac_ext >&5
45520 glibcxx_cv_func_qfpclass_use=no
45522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45523 ac_ext=c
45524 ac_cpp='$CPP $CPPFLAGS'
45525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45533 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
45534 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
45536 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45538 for ac_func in qfpclass
45540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45541 echo "$as_me:$LINENO: checking for $ac_func" >&5
45542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45543 if eval "test \"\${$as_ac_var+set}\" = set"; then
45544 echo $ECHO_N "(cached) $ECHO_C" >&6
45545 else
45546 if test x$gcc_no_link = xyes; then
45547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45549 { (exit 1); exit 1; }; }
45551 cat >conftest.$ac_ext <<_ACEOF
45552 /* confdefs.h. */
45553 _ACEOF
45554 cat confdefs.h >>conftest.$ac_ext
45555 cat >>conftest.$ac_ext <<_ACEOF
45556 /* end confdefs.h. */
45557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45559 #define $ac_func innocuous_$ac_func
45561 /* System header to define __stub macros and hopefully few prototypes,
45562 which can conflict with char $ac_func (); below.
45563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45564 <limits.h> exists even on freestanding compilers. */
45566 #ifdef __STDC__
45567 # include <limits.h>
45568 #else
45569 # include <assert.h>
45570 #endif
45572 #undef $ac_func
45574 /* Override any gcc2 internal prototype to avoid an error. */
45575 #ifdef __cplusplus
45576 extern "C"
45578 #endif
45579 /* We use char because int might match the return type of a gcc2
45580 builtin and then its argument prototype would still apply. */
45581 char $ac_func ();
45582 /* The GNU C library defines this for functions which it implements
45583 to always fail with ENOSYS. Some functions are actually named
45584 something starting with __ and the normal name is an alias. */
45585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45586 choke me
45587 #else
45588 char (*f) () = $ac_func;
45589 #endif
45590 #ifdef __cplusplus
45592 #endif
45595 main ()
45597 return f != $ac_func;
45599 return 0;
45601 _ACEOF
45602 rm -f conftest.$ac_objext conftest$ac_exeext
45603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45604 (eval $ac_link) 2>conftest.er1
45605 ac_status=$?
45606 grep -v '^ *+' conftest.er1 >conftest.err
45607 rm -f conftest.er1
45608 cat conftest.err >&5
45609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45610 (exit $ac_status); } &&
45611 { ac_try='test -z "$ac_c_werror_flag"
45612 || test ! -s conftest.err'
45613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45614 (eval $ac_try) 2>&5
45615 ac_status=$?
45616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45617 (exit $ac_status); }; } &&
45618 { ac_try='test -s conftest$ac_exeext'
45619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45620 (eval $ac_try) 2>&5
45621 ac_status=$?
45622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45623 (exit $ac_status); }; }; then
45624 eval "$as_ac_var=yes"
45625 else
45626 echo "$as_me: failed program was:" >&5
45627 sed 's/^/| /' conftest.$ac_ext >&5
45629 eval "$as_ac_var=no"
45631 rm -f conftest.err conftest.$ac_objext \
45632 conftest$ac_exeext conftest.$ac_ext
45634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45636 if test `eval echo '${'$as_ac_var'}'` = yes; then
45637 cat >>confdefs.h <<_ACEOF
45638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45639 _ACEOF
45642 done
45644 else
45646 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
45647 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
45648 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45649 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
45650 echo $ECHO_N "(cached) $ECHO_C" >&6
45651 else
45655 ac_ext=cc
45656 ac_cpp='$CXXCPP $CPPFLAGS'
45657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45661 cat >conftest.$ac_ext <<_ACEOF
45662 /* confdefs.h. */
45663 _ACEOF
45664 cat confdefs.h >>conftest.$ac_ext
45665 cat >>conftest.$ac_ext <<_ACEOF
45666 /* end confdefs.h. */
45667 #include <math.h>
45668 #ifdef HAVE_IEEEFP_H
45669 #include <ieeefp.h>
45670 #endif
45673 main ()
45675 _qfpclass(0);
45677 return 0;
45679 _ACEOF
45680 rm -f conftest.$ac_objext
45681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45682 (eval $ac_compile) 2>conftest.er1
45683 ac_status=$?
45684 grep -v '^ *+' conftest.er1 >conftest.err
45685 rm -f conftest.er1
45686 cat conftest.err >&5
45687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45688 (exit $ac_status); } &&
45689 { ac_try='test -z "$ac_cxx_werror_flag"
45690 || test ! -s conftest.err'
45691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45692 (eval $ac_try) 2>&5
45693 ac_status=$?
45694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45695 (exit $ac_status); }; } &&
45696 { ac_try='test -s conftest.$ac_objext'
45697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45698 (eval $ac_try) 2>&5
45699 ac_status=$?
45700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45701 (exit $ac_status); }; }; then
45702 glibcxx_cv_func__qfpclass_use=yes
45703 else
45704 echo "$as_me: failed program was:" >&5
45705 sed 's/^/| /' conftest.$ac_ext >&5
45707 glibcxx_cv_func__qfpclass_use=no
45709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45710 ac_ext=c
45711 ac_cpp='$CPP $CPPFLAGS'
45712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45720 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
45721 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
45723 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45725 for ac_func in _qfpclass
45727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45728 echo "$as_me:$LINENO: checking for $ac_func" >&5
45729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45730 if eval "test \"\${$as_ac_var+set}\" = set"; then
45731 echo $ECHO_N "(cached) $ECHO_C" >&6
45732 else
45733 if test x$gcc_no_link = xyes; then
45734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45736 { (exit 1); exit 1; }; }
45738 cat >conftest.$ac_ext <<_ACEOF
45739 /* confdefs.h. */
45740 _ACEOF
45741 cat confdefs.h >>conftest.$ac_ext
45742 cat >>conftest.$ac_ext <<_ACEOF
45743 /* end confdefs.h. */
45744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45746 #define $ac_func innocuous_$ac_func
45748 /* System header to define __stub macros and hopefully few prototypes,
45749 which can conflict with char $ac_func (); below.
45750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45751 <limits.h> exists even on freestanding compilers. */
45753 #ifdef __STDC__
45754 # include <limits.h>
45755 #else
45756 # include <assert.h>
45757 #endif
45759 #undef $ac_func
45761 /* Override any gcc2 internal prototype to avoid an error. */
45762 #ifdef __cplusplus
45763 extern "C"
45765 #endif
45766 /* We use char because int might match the return type of a gcc2
45767 builtin and then its argument prototype would still apply. */
45768 char $ac_func ();
45769 /* The GNU C library defines this for functions which it implements
45770 to always fail with ENOSYS. Some functions are actually named
45771 something starting with __ and the normal name is an alias. */
45772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45773 choke me
45774 #else
45775 char (*f) () = $ac_func;
45776 #endif
45777 #ifdef __cplusplus
45779 #endif
45782 main ()
45784 return f != $ac_func;
45786 return 0;
45788 _ACEOF
45789 rm -f conftest.$ac_objext conftest$ac_exeext
45790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45791 (eval $ac_link) 2>conftest.er1
45792 ac_status=$?
45793 grep -v '^ *+' conftest.er1 >conftest.err
45794 rm -f conftest.er1
45795 cat conftest.err >&5
45796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45797 (exit $ac_status); } &&
45798 { ac_try='test -z "$ac_c_werror_flag"
45799 || test ! -s conftest.err'
45800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45801 (eval $ac_try) 2>&5
45802 ac_status=$?
45803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45804 (exit $ac_status); }; } &&
45805 { ac_try='test -s conftest$ac_exeext'
45806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45807 (eval $ac_try) 2>&5
45808 ac_status=$?
45809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45810 (exit $ac_status); }; }; then
45811 eval "$as_ac_var=yes"
45812 else
45813 echo "$as_me: failed program was:" >&5
45814 sed 's/^/| /' conftest.$ac_ext >&5
45816 eval "$as_ac_var=no"
45818 rm -f conftest.err conftest.$ac_objext \
45819 conftest$ac_exeext conftest.$ac_ext
45821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45823 if test `eval echo '${'$as_ac_var'}'` = yes; then
45824 cat >>confdefs.h <<_ACEOF
45825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45826 _ACEOF
45829 done
45839 echo "$as_me:$LINENO: checking for hypot declaration" >&5
45840 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
45841 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45842 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
45843 echo $ECHO_N "(cached) $ECHO_C" >&6
45844 else
45848 ac_ext=cc
45849 ac_cpp='$CXXCPP $CPPFLAGS'
45850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45854 cat >conftest.$ac_ext <<_ACEOF
45855 /* confdefs.h. */
45856 _ACEOF
45857 cat confdefs.h >>conftest.$ac_ext
45858 cat >>conftest.$ac_ext <<_ACEOF
45859 /* end confdefs.h. */
45860 #include <math.h>
45862 main ()
45864 hypot(0, 0);
45866 return 0;
45868 _ACEOF
45869 rm -f conftest.$ac_objext
45870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45871 (eval $ac_compile) 2>conftest.er1
45872 ac_status=$?
45873 grep -v '^ *+' conftest.er1 >conftest.err
45874 rm -f conftest.er1
45875 cat conftest.err >&5
45876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45877 (exit $ac_status); } &&
45878 { ac_try='test -z "$ac_cxx_werror_flag"
45879 || test ! -s conftest.err'
45880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45881 (eval $ac_try) 2>&5
45882 ac_status=$?
45883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45884 (exit $ac_status); }; } &&
45885 { ac_try='test -s conftest.$ac_objext'
45886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45887 (eval $ac_try) 2>&5
45888 ac_status=$?
45889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45890 (exit $ac_status); }; }; then
45891 glibcxx_cv_func_hypot_use=yes
45892 else
45893 echo "$as_me: failed program was:" >&5
45894 sed 's/^/| /' conftest.$ac_ext >&5
45896 glibcxx_cv_func_hypot_use=no
45898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45899 ac_ext=c
45900 ac_cpp='$CPP $CPPFLAGS'
45901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45909 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
45910 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
45912 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45914 for ac_func in hypot
45916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45917 echo "$as_me:$LINENO: checking for $ac_func" >&5
45918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45919 if eval "test \"\${$as_ac_var+set}\" = set"; then
45920 echo $ECHO_N "(cached) $ECHO_C" >&6
45921 else
45922 if test x$gcc_no_link = xyes; then
45923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45925 { (exit 1); exit 1; }; }
45927 cat >conftest.$ac_ext <<_ACEOF
45928 /* confdefs.h. */
45929 _ACEOF
45930 cat confdefs.h >>conftest.$ac_ext
45931 cat >>conftest.$ac_ext <<_ACEOF
45932 /* end confdefs.h. */
45933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45935 #define $ac_func innocuous_$ac_func
45937 /* System header to define __stub macros and hopefully few prototypes,
45938 which can conflict with char $ac_func (); below.
45939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45940 <limits.h> exists even on freestanding compilers. */
45942 #ifdef __STDC__
45943 # include <limits.h>
45944 #else
45945 # include <assert.h>
45946 #endif
45948 #undef $ac_func
45950 /* Override any gcc2 internal prototype to avoid an error. */
45951 #ifdef __cplusplus
45952 extern "C"
45954 #endif
45955 /* We use char because int might match the return type of a gcc2
45956 builtin and then its argument prototype would still apply. */
45957 char $ac_func ();
45958 /* The GNU C library defines this for functions which it implements
45959 to always fail with ENOSYS. Some functions are actually named
45960 something starting with __ and the normal name is an alias. */
45961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45962 choke me
45963 #else
45964 char (*f) () = $ac_func;
45965 #endif
45966 #ifdef __cplusplus
45968 #endif
45971 main ()
45973 return f != $ac_func;
45975 return 0;
45977 _ACEOF
45978 rm -f conftest.$ac_objext conftest$ac_exeext
45979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45980 (eval $ac_link) 2>conftest.er1
45981 ac_status=$?
45982 grep -v '^ *+' conftest.er1 >conftest.err
45983 rm -f conftest.er1
45984 cat conftest.err >&5
45985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45986 (exit $ac_status); } &&
45987 { ac_try='test -z "$ac_c_werror_flag"
45988 || test ! -s conftest.err'
45989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45990 (eval $ac_try) 2>&5
45991 ac_status=$?
45992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45993 (exit $ac_status); }; } &&
45994 { ac_try='test -s conftest$ac_exeext'
45995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45996 (eval $ac_try) 2>&5
45997 ac_status=$?
45998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45999 (exit $ac_status); }; }; then
46000 eval "$as_ac_var=yes"
46001 else
46002 echo "$as_me: failed program was:" >&5
46003 sed 's/^/| /' conftest.$ac_ext >&5
46005 eval "$as_ac_var=no"
46007 rm -f conftest.err conftest.$ac_objext \
46008 conftest$ac_exeext conftest.$ac_ext
46010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46012 if test `eval echo '${'$as_ac_var'}'` = yes; then
46013 cat >>confdefs.h <<_ACEOF
46014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46015 _ACEOF
46018 done
46020 else
46022 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
46023 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
46024 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46025 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
46026 echo $ECHO_N "(cached) $ECHO_C" >&6
46027 else
46031 ac_ext=cc
46032 ac_cpp='$CXXCPP $CPPFLAGS'
46033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46037 cat >conftest.$ac_ext <<_ACEOF
46038 /* confdefs.h. */
46039 _ACEOF
46040 cat confdefs.h >>conftest.$ac_ext
46041 cat >>conftest.$ac_ext <<_ACEOF
46042 /* end confdefs.h. */
46043 #include <math.h>
46045 main ()
46047 _hypot(0, 0);
46049 return 0;
46051 _ACEOF
46052 rm -f conftest.$ac_objext
46053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46054 (eval $ac_compile) 2>conftest.er1
46055 ac_status=$?
46056 grep -v '^ *+' conftest.er1 >conftest.err
46057 rm -f conftest.er1
46058 cat conftest.err >&5
46059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46060 (exit $ac_status); } &&
46061 { ac_try='test -z "$ac_cxx_werror_flag"
46062 || test ! -s conftest.err'
46063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46064 (eval $ac_try) 2>&5
46065 ac_status=$?
46066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46067 (exit $ac_status); }; } &&
46068 { ac_try='test -s conftest.$ac_objext'
46069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46070 (eval $ac_try) 2>&5
46071 ac_status=$?
46072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46073 (exit $ac_status); }; }; then
46074 glibcxx_cv_func__hypot_use=yes
46075 else
46076 echo "$as_me: failed program was:" >&5
46077 sed 's/^/| /' conftest.$ac_ext >&5
46079 glibcxx_cv_func__hypot_use=no
46081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46082 ac_ext=c
46083 ac_cpp='$CPP $CPPFLAGS'
46084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46092 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
46093 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
46095 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46097 for ac_func in _hypot
46099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46100 echo "$as_me:$LINENO: checking for $ac_func" >&5
46101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46102 if eval "test \"\${$as_ac_var+set}\" = set"; then
46103 echo $ECHO_N "(cached) $ECHO_C" >&6
46104 else
46105 if test x$gcc_no_link = xyes; then
46106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46108 { (exit 1); exit 1; }; }
46110 cat >conftest.$ac_ext <<_ACEOF
46111 /* confdefs.h. */
46112 _ACEOF
46113 cat confdefs.h >>conftest.$ac_ext
46114 cat >>conftest.$ac_ext <<_ACEOF
46115 /* end confdefs.h. */
46116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46118 #define $ac_func innocuous_$ac_func
46120 /* System header to define __stub macros and hopefully few prototypes,
46121 which can conflict with char $ac_func (); below.
46122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46123 <limits.h> exists even on freestanding compilers. */
46125 #ifdef __STDC__
46126 # include <limits.h>
46127 #else
46128 # include <assert.h>
46129 #endif
46131 #undef $ac_func
46133 /* Override any gcc2 internal prototype to avoid an error. */
46134 #ifdef __cplusplus
46135 extern "C"
46137 #endif
46138 /* We use char because int might match the return type of a gcc2
46139 builtin and then its argument prototype would still apply. */
46140 char $ac_func ();
46141 /* The GNU C library defines this for functions which it implements
46142 to always fail with ENOSYS. Some functions are actually named
46143 something starting with __ and the normal name is an alias. */
46144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46145 choke me
46146 #else
46147 char (*f) () = $ac_func;
46148 #endif
46149 #ifdef __cplusplus
46151 #endif
46154 main ()
46156 return f != $ac_func;
46158 return 0;
46160 _ACEOF
46161 rm -f conftest.$ac_objext conftest$ac_exeext
46162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46163 (eval $ac_link) 2>conftest.er1
46164 ac_status=$?
46165 grep -v '^ *+' conftest.er1 >conftest.err
46166 rm -f conftest.er1
46167 cat conftest.err >&5
46168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46169 (exit $ac_status); } &&
46170 { ac_try='test -z "$ac_c_werror_flag"
46171 || test ! -s conftest.err'
46172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46173 (eval $ac_try) 2>&5
46174 ac_status=$?
46175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46176 (exit $ac_status); }; } &&
46177 { ac_try='test -s conftest$ac_exeext'
46178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46179 (eval $ac_try) 2>&5
46180 ac_status=$?
46181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46182 (exit $ac_status); }; }; then
46183 eval "$as_ac_var=yes"
46184 else
46185 echo "$as_me: failed program was:" >&5
46186 sed 's/^/| /' conftest.$ac_ext >&5
46188 eval "$as_ac_var=no"
46190 rm -f conftest.err conftest.$ac_objext \
46191 conftest$ac_exeext conftest.$ac_ext
46193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46195 if test `eval echo '${'$as_ac_var'}'` = yes; then
46196 cat >>confdefs.h <<_ACEOF
46197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46198 _ACEOF
46201 done
46211 echo "$as_me:$LINENO: checking for float trig functions" >&5
46212 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
46213 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
46214 echo $ECHO_N "(cached) $ECHO_C" >&6
46215 else
46219 ac_ext=cc
46220 ac_cpp='$CXXCPP $CPPFLAGS'
46221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46225 cat >conftest.$ac_ext <<_ACEOF
46226 /* confdefs.h. */
46227 _ACEOF
46228 cat confdefs.h >>conftest.$ac_ext
46229 cat >>conftest.$ac_ext <<_ACEOF
46230 /* end confdefs.h. */
46231 #include <math.h>
46233 main ()
46235 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46237 return 0;
46239 _ACEOF
46240 rm -f conftest.$ac_objext
46241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46242 (eval $ac_compile) 2>conftest.er1
46243 ac_status=$?
46244 grep -v '^ *+' conftest.er1 >conftest.err
46245 rm -f conftest.er1
46246 cat conftest.err >&5
46247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46248 (exit $ac_status); } &&
46249 { ac_try='test -z "$ac_cxx_werror_flag"
46250 || test ! -s conftest.err'
46251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46252 (eval $ac_try) 2>&5
46253 ac_status=$?
46254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46255 (exit $ac_status); }; } &&
46256 { ac_try='test -s conftest.$ac_objext'
46257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46258 (eval $ac_try) 2>&5
46259 ac_status=$?
46260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46261 (exit $ac_status); }; }; then
46262 glibcxx_cv_func_float_trig_use=yes
46263 else
46264 echo "$as_me: failed program was:" >&5
46265 sed 's/^/| /' conftest.$ac_ext >&5
46267 glibcxx_cv_func_float_trig_use=no
46269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46270 ac_ext=c
46271 ac_cpp='$CPP $CPPFLAGS'
46272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46278 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
46279 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
46280 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46290 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46293 echo "$as_me:$LINENO: checking for $ac_func" >&5
46294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46295 if eval "test \"\${$as_ac_var+set}\" = set"; then
46296 echo $ECHO_N "(cached) $ECHO_C" >&6
46297 else
46298 if test x$gcc_no_link = xyes; then
46299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46301 { (exit 1); exit 1; }; }
46303 cat >conftest.$ac_ext <<_ACEOF
46304 /* confdefs.h. */
46305 _ACEOF
46306 cat confdefs.h >>conftest.$ac_ext
46307 cat >>conftest.$ac_ext <<_ACEOF
46308 /* end confdefs.h. */
46309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46311 #define $ac_func innocuous_$ac_func
46313 /* System header to define __stub macros and hopefully few prototypes,
46314 which can conflict with char $ac_func (); below.
46315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46316 <limits.h> exists even on freestanding compilers. */
46318 #ifdef __STDC__
46319 # include <limits.h>
46320 #else
46321 # include <assert.h>
46322 #endif
46324 #undef $ac_func
46326 /* Override any gcc2 internal prototype to avoid an error. */
46327 #ifdef __cplusplus
46328 extern "C"
46330 #endif
46331 /* We use char because int might match the return type of a gcc2
46332 builtin and then its argument prototype would still apply. */
46333 char $ac_func ();
46334 /* The GNU C library defines this for functions which it implements
46335 to always fail with ENOSYS. Some functions are actually named
46336 something starting with __ and the normal name is an alias. */
46337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46338 choke me
46339 #else
46340 char (*f) () = $ac_func;
46341 #endif
46342 #ifdef __cplusplus
46344 #endif
46347 main ()
46349 return f != $ac_func;
46351 return 0;
46353 _ACEOF
46354 rm -f conftest.$ac_objext conftest$ac_exeext
46355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46356 (eval $ac_link) 2>conftest.er1
46357 ac_status=$?
46358 grep -v '^ *+' conftest.er1 >conftest.err
46359 rm -f conftest.er1
46360 cat conftest.err >&5
46361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46362 (exit $ac_status); } &&
46363 { ac_try='test -z "$ac_c_werror_flag"
46364 || test ! -s conftest.err'
46365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46366 (eval $ac_try) 2>&5
46367 ac_status=$?
46368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46369 (exit $ac_status); }; } &&
46370 { ac_try='test -s conftest$ac_exeext'
46371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46372 (eval $ac_try) 2>&5
46373 ac_status=$?
46374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46375 (exit $ac_status); }; }; then
46376 eval "$as_ac_var=yes"
46377 else
46378 echo "$as_me: failed program was:" >&5
46379 sed 's/^/| /' conftest.$ac_ext >&5
46381 eval "$as_ac_var=no"
46383 rm -f conftest.err conftest.$ac_objext \
46384 conftest$ac_exeext conftest.$ac_ext
46386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46388 if test `eval echo '${'$as_ac_var'}'` = yes; then
46389 cat >>confdefs.h <<_ACEOF
46390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46391 _ACEOF
46394 done
46396 else
46397 echo "$as_me:$LINENO: checking for _float trig functions" >&5
46398 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46399 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46400 echo $ECHO_N "(cached) $ECHO_C" >&6
46401 else
46405 ac_ext=cc
46406 ac_cpp='$CXXCPP $CPPFLAGS'
46407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46411 cat >conftest.$ac_ext <<_ACEOF
46412 /* confdefs.h. */
46413 _ACEOF
46414 cat confdefs.h >>conftest.$ac_ext
46415 cat >>conftest.$ac_ext <<_ACEOF
46416 /* end confdefs.h. */
46417 #include <math.h>
46419 main ()
46421 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46423 return 0;
46425 _ACEOF
46426 rm -f conftest.$ac_objext
46427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46428 (eval $ac_compile) 2>conftest.er1
46429 ac_status=$?
46430 grep -v '^ *+' conftest.er1 >conftest.err
46431 rm -f conftest.er1
46432 cat conftest.err >&5
46433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46434 (exit $ac_status); } &&
46435 { ac_try='test -z "$ac_cxx_werror_flag"
46436 || test ! -s conftest.err'
46437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46438 (eval $ac_try) 2>&5
46439 ac_status=$?
46440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46441 (exit $ac_status); }; } &&
46442 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
46448 glibcxx_cv_func__float_trig_use=yes
46449 else
46450 echo "$as_me: failed program was:" >&5
46451 sed 's/^/| /' conftest.$ac_ext >&5
46453 glibcxx_cv_func__float_trig_use=no
46455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46456 ac_ext=c
46457 ac_cpp='$CPP $CPPFLAGS'
46458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46464 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
46465 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
46466 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46476 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46479 echo "$as_me:$LINENO: checking for $ac_func" >&5
46480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46481 if eval "test \"\${$as_ac_var+set}\" = set"; then
46482 echo $ECHO_N "(cached) $ECHO_C" >&6
46483 else
46484 if test x$gcc_no_link = xyes; then
46485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46487 { (exit 1); exit 1; }; }
46489 cat >conftest.$ac_ext <<_ACEOF
46490 /* confdefs.h. */
46491 _ACEOF
46492 cat confdefs.h >>conftest.$ac_ext
46493 cat >>conftest.$ac_ext <<_ACEOF
46494 /* end confdefs.h. */
46495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46497 #define $ac_func innocuous_$ac_func
46499 /* System header to define __stub macros and hopefully few prototypes,
46500 which can conflict with char $ac_func (); below.
46501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46502 <limits.h> exists even on freestanding compilers. */
46504 #ifdef __STDC__
46505 # include <limits.h>
46506 #else
46507 # include <assert.h>
46508 #endif
46510 #undef $ac_func
46512 /* Override any gcc2 internal prototype to avoid an error. */
46513 #ifdef __cplusplus
46514 extern "C"
46516 #endif
46517 /* We use char because int might match the return type of a gcc2
46518 builtin and then its argument prototype would still apply. */
46519 char $ac_func ();
46520 /* The GNU C library defines this for functions which it implements
46521 to always fail with ENOSYS. Some functions are actually named
46522 something starting with __ and the normal name is an alias. */
46523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46524 choke me
46525 #else
46526 char (*f) () = $ac_func;
46527 #endif
46528 #ifdef __cplusplus
46530 #endif
46533 main ()
46535 return f != $ac_func;
46537 return 0;
46539 _ACEOF
46540 rm -f conftest.$ac_objext conftest$ac_exeext
46541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46542 (eval $ac_link) 2>conftest.er1
46543 ac_status=$?
46544 grep -v '^ *+' conftest.er1 >conftest.err
46545 rm -f conftest.er1
46546 cat conftest.err >&5
46547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46548 (exit $ac_status); } &&
46549 { ac_try='test -z "$ac_c_werror_flag"
46550 || test ! -s conftest.err'
46551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46552 (eval $ac_try) 2>&5
46553 ac_status=$?
46554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46555 (exit $ac_status); }; } &&
46556 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
46562 eval "$as_ac_var=yes"
46563 else
46564 echo "$as_me: failed program was:" >&5
46565 sed 's/^/| /' conftest.$ac_ext >&5
46567 eval "$as_ac_var=no"
46569 rm -f conftest.err conftest.$ac_objext \
46570 conftest$ac_exeext conftest.$ac_ext
46572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46574 if test `eval echo '${'$as_ac_var'}'` = yes; then
46575 cat >>confdefs.h <<_ACEOF
46576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46577 _ACEOF
46580 done
46598 echo "$as_me:$LINENO: checking for float round functions" >&5
46599 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
46600 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
46601 echo $ECHO_N "(cached) $ECHO_C" >&6
46602 else
46606 ac_ext=cc
46607 ac_cpp='$CXXCPP $CPPFLAGS'
46608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46612 cat >conftest.$ac_ext <<_ACEOF
46613 /* confdefs.h. */
46614 _ACEOF
46615 cat confdefs.h >>conftest.$ac_ext
46616 cat >>conftest.$ac_ext <<_ACEOF
46617 /* end confdefs.h. */
46618 #include <math.h>
46620 main ()
46622 ceilf (0); floorf (0);
46624 return 0;
46626 _ACEOF
46627 rm -f conftest.$ac_objext
46628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46629 (eval $ac_compile) 2>conftest.er1
46630 ac_status=$?
46631 grep -v '^ *+' conftest.er1 >conftest.err
46632 rm -f conftest.er1
46633 cat conftest.err >&5
46634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46635 (exit $ac_status); } &&
46636 { ac_try='test -z "$ac_cxx_werror_flag"
46637 || test ! -s conftest.err'
46638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46639 (eval $ac_try) 2>&5
46640 ac_status=$?
46641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46642 (exit $ac_status); }; } &&
46643 { ac_try='test -s conftest.$ac_objext'
46644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46645 (eval $ac_try) 2>&5
46646 ac_status=$?
46647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46648 (exit $ac_status); }; }; then
46649 glibcxx_cv_func_float_round_use=yes
46650 else
46651 echo "$as_me: failed program was:" >&5
46652 sed 's/^/| /' conftest.$ac_ext >&5
46654 glibcxx_cv_func_float_round_use=no
46656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46657 ac_ext=c
46658 ac_cpp='$CPP $CPPFLAGS'
46659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46665 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
46666 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
46667 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46670 for ac_func in ceilf floorf
46672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46673 echo "$as_me:$LINENO: checking for $ac_func" >&5
46674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46675 if eval "test \"\${$as_ac_var+set}\" = set"; then
46676 echo $ECHO_N "(cached) $ECHO_C" >&6
46677 else
46678 if test x$gcc_no_link = xyes; then
46679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46681 { (exit 1); exit 1; }; }
46683 cat >conftest.$ac_ext <<_ACEOF
46684 /* confdefs.h. */
46685 _ACEOF
46686 cat confdefs.h >>conftest.$ac_ext
46687 cat >>conftest.$ac_ext <<_ACEOF
46688 /* end confdefs.h. */
46689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46691 #define $ac_func innocuous_$ac_func
46693 /* System header to define __stub macros and hopefully few prototypes,
46694 which can conflict with char $ac_func (); below.
46695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46696 <limits.h> exists even on freestanding compilers. */
46698 #ifdef __STDC__
46699 # include <limits.h>
46700 #else
46701 # include <assert.h>
46702 #endif
46704 #undef $ac_func
46706 /* Override any gcc2 internal prototype to avoid an error. */
46707 #ifdef __cplusplus
46708 extern "C"
46710 #endif
46711 /* We use char because int might match the return type of a gcc2
46712 builtin and then its argument prototype would still apply. */
46713 char $ac_func ();
46714 /* The GNU C library defines this for functions which it implements
46715 to always fail with ENOSYS. Some functions are actually named
46716 something starting with __ and the normal name is an alias. */
46717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46718 choke me
46719 #else
46720 char (*f) () = $ac_func;
46721 #endif
46722 #ifdef __cplusplus
46724 #endif
46727 main ()
46729 return f != $ac_func;
46731 return 0;
46733 _ACEOF
46734 rm -f conftest.$ac_objext conftest$ac_exeext
46735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46736 (eval $ac_link) 2>conftest.er1
46737 ac_status=$?
46738 grep -v '^ *+' conftest.er1 >conftest.err
46739 rm -f conftest.er1
46740 cat conftest.err >&5
46741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46742 (exit $ac_status); } &&
46743 { ac_try='test -z "$ac_c_werror_flag"
46744 || test ! -s conftest.err'
46745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46746 (eval $ac_try) 2>&5
46747 ac_status=$?
46748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46749 (exit $ac_status); }; } &&
46750 { ac_try='test -s conftest$ac_exeext'
46751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46752 (eval $ac_try) 2>&5
46753 ac_status=$?
46754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46755 (exit $ac_status); }; }; then
46756 eval "$as_ac_var=yes"
46757 else
46758 echo "$as_me: failed program was:" >&5
46759 sed 's/^/| /' conftest.$ac_ext >&5
46761 eval "$as_ac_var=no"
46763 rm -f conftest.err conftest.$ac_objext \
46764 conftest$ac_exeext conftest.$ac_ext
46766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46768 if test `eval echo '${'$as_ac_var'}'` = yes; then
46769 cat >>confdefs.h <<_ACEOF
46770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46771 _ACEOF
46774 done
46776 else
46777 echo "$as_me:$LINENO: checking for _float round functions" >&5
46778 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
46779 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
46780 echo $ECHO_N "(cached) $ECHO_C" >&6
46781 else
46785 ac_ext=cc
46786 ac_cpp='$CXXCPP $CPPFLAGS'
46787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46791 cat >conftest.$ac_ext <<_ACEOF
46792 /* confdefs.h. */
46793 _ACEOF
46794 cat confdefs.h >>conftest.$ac_ext
46795 cat >>conftest.$ac_ext <<_ACEOF
46796 /* end confdefs.h. */
46797 #include <math.h>
46799 main ()
46801 _ceilf (0); _floorf (0);
46803 return 0;
46805 _ACEOF
46806 rm -f conftest.$ac_objext
46807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46808 (eval $ac_compile) 2>conftest.er1
46809 ac_status=$?
46810 grep -v '^ *+' conftest.er1 >conftest.err
46811 rm -f conftest.er1
46812 cat conftest.err >&5
46813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46814 (exit $ac_status); } &&
46815 { ac_try='test -z "$ac_cxx_werror_flag"
46816 || test ! -s conftest.err'
46817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46818 (eval $ac_try) 2>&5
46819 ac_status=$?
46820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46821 (exit $ac_status); }; } &&
46822 { ac_try='test -s conftest.$ac_objext'
46823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46824 (eval $ac_try) 2>&5
46825 ac_status=$?
46826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46827 (exit $ac_status); }; }; then
46828 glibcxx_cv_func__float_round_use=yes
46829 else
46830 echo "$as_me: failed program was:" >&5
46831 sed 's/^/| /' conftest.$ac_ext >&5
46833 glibcxx_cv_func__float_round_use=no
46835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46836 ac_ext=c
46837 ac_cpp='$CPP $CPPFLAGS'
46838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46844 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
46845 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
46846 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46849 for ac_func in _ceilf _floorf
46851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46852 echo "$as_me:$LINENO: checking for $ac_func" >&5
46853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46854 if eval "test \"\${$as_ac_var+set}\" = set"; then
46855 echo $ECHO_N "(cached) $ECHO_C" >&6
46856 else
46857 if test x$gcc_no_link = xyes; then
46858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46860 { (exit 1); exit 1; }; }
46862 cat >conftest.$ac_ext <<_ACEOF
46863 /* confdefs.h. */
46864 _ACEOF
46865 cat confdefs.h >>conftest.$ac_ext
46866 cat >>conftest.$ac_ext <<_ACEOF
46867 /* end confdefs.h. */
46868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46870 #define $ac_func innocuous_$ac_func
46872 /* System header to define __stub macros and hopefully few prototypes,
46873 which can conflict with char $ac_func (); below.
46874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46875 <limits.h> exists even on freestanding compilers. */
46877 #ifdef __STDC__
46878 # include <limits.h>
46879 #else
46880 # include <assert.h>
46881 #endif
46883 #undef $ac_func
46885 /* Override any gcc2 internal prototype to avoid an error. */
46886 #ifdef __cplusplus
46887 extern "C"
46889 #endif
46890 /* We use char because int might match the return type of a gcc2
46891 builtin and then its argument prototype would still apply. */
46892 char $ac_func ();
46893 /* The GNU C library defines this for functions which it implements
46894 to always fail with ENOSYS. Some functions are actually named
46895 something starting with __ and the normal name is an alias. */
46896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46897 choke me
46898 #else
46899 char (*f) () = $ac_func;
46900 #endif
46901 #ifdef __cplusplus
46903 #endif
46906 main ()
46908 return f != $ac_func;
46910 return 0;
46912 _ACEOF
46913 rm -f conftest.$ac_objext conftest$ac_exeext
46914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46915 (eval $ac_link) 2>conftest.er1
46916 ac_status=$?
46917 grep -v '^ *+' conftest.er1 >conftest.err
46918 rm -f conftest.er1
46919 cat conftest.err >&5
46920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46921 (exit $ac_status); } &&
46922 { ac_try='test -z "$ac_c_werror_flag"
46923 || test ! -s conftest.err'
46924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46925 (eval $ac_try) 2>&5
46926 ac_status=$?
46927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46928 (exit $ac_status); }; } &&
46929 { ac_try='test -s conftest$ac_exeext'
46930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46931 (eval $ac_try) 2>&5
46932 ac_status=$?
46933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46934 (exit $ac_status); }; }; then
46935 eval "$as_ac_var=yes"
46936 else
46937 echo "$as_me: failed program was:" >&5
46938 sed 's/^/| /' conftest.$ac_ext >&5
46940 eval "$as_ac_var=no"
46942 rm -f conftest.err conftest.$ac_objext \
46943 conftest$ac_exeext conftest.$ac_ext
46945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46947 if test `eval echo '${'$as_ac_var'}'` = yes; then
46948 cat >>confdefs.h <<_ACEOF
46949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46950 _ACEOF
46953 done
46965 echo "$as_me:$LINENO: checking for expf declaration" >&5
46966 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
46967 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46968 if test "${glibcxx_cv_func_expf_use+set}" = set; then
46969 echo $ECHO_N "(cached) $ECHO_C" >&6
46970 else
46974 ac_ext=cc
46975 ac_cpp='$CXXCPP $CPPFLAGS'
46976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46980 cat >conftest.$ac_ext <<_ACEOF
46981 /* confdefs.h. */
46982 _ACEOF
46983 cat confdefs.h >>conftest.$ac_ext
46984 cat >>conftest.$ac_ext <<_ACEOF
46985 /* end confdefs.h. */
46986 #include <math.h>
46987 #ifdef HAVE_IEEEFP_H
46988 #include <ieeefp.h>
46989 #endif
46992 main ()
46994 expf(0);
46996 return 0;
46998 _ACEOF
46999 rm -f conftest.$ac_objext
47000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47001 (eval $ac_compile) 2>conftest.er1
47002 ac_status=$?
47003 grep -v '^ *+' conftest.er1 >conftest.err
47004 rm -f conftest.er1
47005 cat conftest.err >&5
47006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47007 (exit $ac_status); } &&
47008 { ac_try='test -z "$ac_cxx_werror_flag"
47009 || test ! -s conftest.err'
47010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47011 (eval $ac_try) 2>&5
47012 ac_status=$?
47013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47014 (exit $ac_status); }; } &&
47015 { ac_try='test -s conftest.$ac_objext'
47016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47017 (eval $ac_try) 2>&5
47018 ac_status=$?
47019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47020 (exit $ac_status); }; }; then
47021 glibcxx_cv_func_expf_use=yes
47022 else
47023 echo "$as_me: failed program was:" >&5
47024 sed 's/^/| /' conftest.$ac_ext >&5
47026 glibcxx_cv_func_expf_use=no
47028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47029 ac_ext=c
47030 ac_cpp='$CPP $CPPFLAGS'
47031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47039 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
47040 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
47042 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47044 for ac_func in expf
47046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47047 echo "$as_me:$LINENO: checking for $ac_func" >&5
47048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47049 if eval "test \"\${$as_ac_var+set}\" = set"; then
47050 echo $ECHO_N "(cached) $ECHO_C" >&6
47051 else
47052 if test x$gcc_no_link = xyes; then
47053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47055 { (exit 1); exit 1; }; }
47057 cat >conftest.$ac_ext <<_ACEOF
47058 /* confdefs.h. */
47059 _ACEOF
47060 cat confdefs.h >>conftest.$ac_ext
47061 cat >>conftest.$ac_ext <<_ACEOF
47062 /* end confdefs.h. */
47063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47065 #define $ac_func innocuous_$ac_func
47067 /* System header to define __stub macros and hopefully few prototypes,
47068 which can conflict with char $ac_func (); below.
47069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47070 <limits.h> exists even on freestanding compilers. */
47072 #ifdef __STDC__
47073 # include <limits.h>
47074 #else
47075 # include <assert.h>
47076 #endif
47078 #undef $ac_func
47080 /* Override any gcc2 internal prototype to avoid an error. */
47081 #ifdef __cplusplus
47082 extern "C"
47084 #endif
47085 /* We use char because int might match the return type of a gcc2
47086 builtin and then its argument prototype would still apply. */
47087 char $ac_func ();
47088 /* The GNU C library defines this for functions which it implements
47089 to always fail with ENOSYS. Some functions are actually named
47090 something starting with __ and the normal name is an alias. */
47091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47092 choke me
47093 #else
47094 char (*f) () = $ac_func;
47095 #endif
47096 #ifdef __cplusplus
47098 #endif
47101 main ()
47103 return f != $ac_func;
47105 return 0;
47107 _ACEOF
47108 rm -f conftest.$ac_objext conftest$ac_exeext
47109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47110 (eval $ac_link) 2>conftest.er1
47111 ac_status=$?
47112 grep -v '^ *+' conftest.er1 >conftest.err
47113 rm -f conftest.er1
47114 cat conftest.err >&5
47115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47116 (exit $ac_status); } &&
47117 { ac_try='test -z "$ac_c_werror_flag"
47118 || test ! -s conftest.err'
47119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47120 (eval $ac_try) 2>&5
47121 ac_status=$?
47122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47123 (exit $ac_status); }; } &&
47124 { ac_try='test -s conftest$ac_exeext'
47125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47126 (eval $ac_try) 2>&5
47127 ac_status=$?
47128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47129 (exit $ac_status); }; }; then
47130 eval "$as_ac_var=yes"
47131 else
47132 echo "$as_me: failed program was:" >&5
47133 sed 's/^/| /' conftest.$ac_ext >&5
47135 eval "$as_ac_var=no"
47137 rm -f conftest.err conftest.$ac_objext \
47138 conftest$ac_exeext conftest.$ac_ext
47140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47142 if test `eval echo '${'$as_ac_var'}'` = yes; then
47143 cat >>confdefs.h <<_ACEOF
47144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47145 _ACEOF
47148 done
47150 else
47152 echo "$as_me:$LINENO: checking for _expf declaration" >&5
47153 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
47154 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47155 if test "${glibcxx_cv_func__expf_use+set}" = set; then
47156 echo $ECHO_N "(cached) $ECHO_C" >&6
47157 else
47161 ac_ext=cc
47162 ac_cpp='$CXXCPP $CPPFLAGS'
47163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47167 cat >conftest.$ac_ext <<_ACEOF
47168 /* confdefs.h. */
47169 _ACEOF
47170 cat confdefs.h >>conftest.$ac_ext
47171 cat >>conftest.$ac_ext <<_ACEOF
47172 /* end confdefs.h. */
47173 #include <math.h>
47174 #ifdef HAVE_IEEEFP_H
47175 #include <ieeefp.h>
47176 #endif
47179 main ()
47181 _expf(0);
47183 return 0;
47185 _ACEOF
47186 rm -f conftest.$ac_objext
47187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47188 (eval $ac_compile) 2>conftest.er1
47189 ac_status=$?
47190 grep -v '^ *+' conftest.er1 >conftest.err
47191 rm -f conftest.er1
47192 cat conftest.err >&5
47193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47194 (exit $ac_status); } &&
47195 { ac_try='test -z "$ac_cxx_werror_flag"
47196 || test ! -s conftest.err'
47197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47198 (eval $ac_try) 2>&5
47199 ac_status=$?
47200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47201 (exit $ac_status); }; } &&
47202 { ac_try='test -s conftest.$ac_objext'
47203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47204 (eval $ac_try) 2>&5
47205 ac_status=$?
47206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47207 (exit $ac_status); }; }; then
47208 glibcxx_cv_func__expf_use=yes
47209 else
47210 echo "$as_me: failed program was:" >&5
47211 sed 's/^/| /' conftest.$ac_ext >&5
47213 glibcxx_cv_func__expf_use=no
47215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47216 ac_ext=c
47217 ac_cpp='$CPP $CPPFLAGS'
47218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47226 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
47227 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
47229 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47231 for ac_func in _expf
47233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47234 echo "$as_me:$LINENO: checking for $ac_func" >&5
47235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47236 if eval "test \"\${$as_ac_var+set}\" = set"; then
47237 echo $ECHO_N "(cached) $ECHO_C" >&6
47238 else
47239 if test x$gcc_no_link = xyes; then
47240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47242 { (exit 1); exit 1; }; }
47244 cat >conftest.$ac_ext <<_ACEOF
47245 /* confdefs.h. */
47246 _ACEOF
47247 cat confdefs.h >>conftest.$ac_ext
47248 cat >>conftest.$ac_ext <<_ACEOF
47249 /* end confdefs.h. */
47250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47252 #define $ac_func innocuous_$ac_func
47254 /* System header to define __stub macros and hopefully few prototypes,
47255 which can conflict with char $ac_func (); below.
47256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47257 <limits.h> exists even on freestanding compilers. */
47259 #ifdef __STDC__
47260 # include <limits.h>
47261 #else
47262 # include <assert.h>
47263 #endif
47265 #undef $ac_func
47267 /* Override any gcc2 internal prototype to avoid an error. */
47268 #ifdef __cplusplus
47269 extern "C"
47271 #endif
47272 /* We use char because int might match the return type of a gcc2
47273 builtin and then its argument prototype would still apply. */
47274 char $ac_func ();
47275 /* The GNU C library defines this for functions which it implements
47276 to always fail with ENOSYS. Some functions are actually named
47277 something starting with __ and the normal name is an alias. */
47278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47279 choke me
47280 #else
47281 char (*f) () = $ac_func;
47282 #endif
47283 #ifdef __cplusplus
47285 #endif
47288 main ()
47290 return f != $ac_func;
47292 return 0;
47294 _ACEOF
47295 rm -f conftest.$ac_objext conftest$ac_exeext
47296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47297 (eval $ac_link) 2>conftest.er1
47298 ac_status=$?
47299 grep -v '^ *+' conftest.er1 >conftest.err
47300 rm -f conftest.er1
47301 cat conftest.err >&5
47302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47303 (exit $ac_status); } &&
47304 { ac_try='test -z "$ac_c_werror_flag"
47305 || test ! -s conftest.err'
47306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47307 (eval $ac_try) 2>&5
47308 ac_status=$?
47309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47310 (exit $ac_status); }; } &&
47311 { ac_try='test -s conftest$ac_exeext'
47312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47313 (eval $ac_try) 2>&5
47314 ac_status=$?
47315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47316 (exit $ac_status); }; }; then
47317 eval "$as_ac_var=yes"
47318 else
47319 echo "$as_me: failed program was:" >&5
47320 sed 's/^/| /' conftest.$ac_ext >&5
47322 eval "$as_ac_var=no"
47324 rm -f conftest.err conftest.$ac_objext \
47325 conftest$ac_exeext conftest.$ac_ext
47327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47329 if test `eval echo '${'$as_ac_var'}'` = yes; then
47330 cat >>confdefs.h <<_ACEOF
47331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47332 _ACEOF
47335 done
47345 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
47346 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
47347 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47348 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
47349 echo $ECHO_N "(cached) $ECHO_C" >&6
47350 else
47354 ac_ext=cc
47355 ac_cpp='$CXXCPP $CPPFLAGS'
47356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47360 cat >conftest.$ac_ext <<_ACEOF
47361 /* confdefs.h. */
47362 _ACEOF
47363 cat confdefs.h >>conftest.$ac_ext
47364 cat >>conftest.$ac_ext <<_ACEOF
47365 /* end confdefs.h. */
47366 #include <math.h>
47367 #ifdef HAVE_IEEEFP_H
47368 #include <ieeefp.h>
47369 #endif
47372 main ()
47374 isnanf(0);
47376 return 0;
47378 _ACEOF
47379 rm -f conftest.$ac_objext
47380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47381 (eval $ac_compile) 2>conftest.er1
47382 ac_status=$?
47383 grep -v '^ *+' conftest.er1 >conftest.err
47384 rm -f conftest.er1
47385 cat conftest.err >&5
47386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47387 (exit $ac_status); } &&
47388 { ac_try='test -z "$ac_cxx_werror_flag"
47389 || test ! -s conftest.err'
47390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47391 (eval $ac_try) 2>&5
47392 ac_status=$?
47393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47394 (exit $ac_status); }; } &&
47395 { ac_try='test -s conftest.$ac_objext'
47396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47397 (eval $ac_try) 2>&5
47398 ac_status=$?
47399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47400 (exit $ac_status); }; }; then
47401 glibcxx_cv_func_isnanf_use=yes
47402 else
47403 echo "$as_me: failed program was:" >&5
47404 sed 's/^/| /' conftest.$ac_ext >&5
47406 glibcxx_cv_func_isnanf_use=no
47408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47409 ac_ext=c
47410 ac_cpp='$CPP $CPPFLAGS'
47411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47419 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
47420 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
47422 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47424 for ac_func in isnanf
47426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47427 echo "$as_me:$LINENO: checking for $ac_func" >&5
47428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47429 if eval "test \"\${$as_ac_var+set}\" = set"; then
47430 echo $ECHO_N "(cached) $ECHO_C" >&6
47431 else
47432 if test x$gcc_no_link = xyes; then
47433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47435 { (exit 1); exit 1; }; }
47437 cat >conftest.$ac_ext <<_ACEOF
47438 /* confdefs.h. */
47439 _ACEOF
47440 cat confdefs.h >>conftest.$ac_ext
47441 cat >>conftest.$ac_ext <<_ACEOF
47442 /* end confdefs.h. */
47443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47445 #define $ac_func innocuous_$ac_func
47447 /* System header to define __stub macros and hopefully few prototypes,
47448 which can conflict with char $ac_func (); below.
47449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47450 <limits.h> exists even on freestanding compilers. */
47452 #ifdef __STDC__
47453 # include <limits.h>
47454 #else
47455 # include <assert.h>
47456 #endif
47458 #undef $ac_func
47460 /* Override any gcc2 internal prototype to avoid an error. */
47461 #ifdef __cplusplus
47462 extern "C"
47464 #endif
47465 /* We use char because int might match the return type of a gcc2
47466 builtin and then its argument prototype would still apply. */
47467 char $ac_func ();
47468 /* The GNU C library defines this for functions which it implements
47469 to always fail with ENOSYS. Some functions are actually named
47470 something starting with __ and the normal name is an alias. */
47471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47472 choke me
47473 #else
47474 char (*f) () = $ac_func;
47475 #endif
47476 #ifdef __cplusplus
47478 #endif
47481 main ()
47483 return f != $ac_func;
47485 return 0;
47487 _ACEOF
47488 rm -f conftest.$ac_objext conftest$ac_exeext
47489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47490 (eval $ac_link) 2>conftest.er1
47491 ac_status=$?
47492 grep -v '^ *+' conftest.er1 >conftest.err
47493 rm -f conftest.er1
47494 cat conftest.err >&5
47495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47496 (exit $ac_status); } &&
47497 { ac_try='test -z "$ac_c_werror_flag"
47498 || test ! -s conftest.err'
47499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47500 (eval $ac_try) 2>&5
47501 ac_status=$?
47502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47503 (exit $ac_status); }; } &&
47504 { ac_try='test -s conftest$ac_exeext'
47505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47506 (eval $ac_try) 2>&5
47507 ac_status=$?
47508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47509 (exit $ac_status); }; }; then
47510 eval "$as_ac_var=yes"
47511 else
47512 echo "$as_me: failed program was:" >&5
47513 sed 's/^/| /' conftest.$ac_ext >&5
47515 eval "$as_ac_var=no"
47517 rm -f conftest.err conftest.$ac_objext \
47518 conftest$ac_exeext conftest.$ac_ext
47520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47522 if test `eval echo '${'$as_ac_var'}'` = yes; then
47523 cat >>confdefs.h <<_ACEOF
47524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47525 _ACEOF
47528 done
47530 else
47532 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
47533 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
47534 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47535 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
47536 echo $ECHO_N "(cached) $ECHO_C" >&6
47537 else
47541 ac_ext=cc
47542 ac_cpp='$CXXCPP $CPPFLAGS'
47543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47547 cat >conftest.$ac_ext <<_ACEOF
47548 /* confdefs.h. */
47549 _ACEOF
47550 cat confdefs.h >>conftest.$ac_ext
47551 cat >>conftest.$ac_ext <<_ACEOF
47552 /* end confdefs.h. */
47553 #include <math.h>
47554 #ifdef HAVE_IEEEFP_H
47555 #include <ieeefp.h>
47556 #endif
47559 main ()
47561 _isnanf(0);
47563 return 0;
47565 _ACEOF
47566 rm -f conftest.$ac_objext
47567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47568 (eval $ac_compile) 2>conftest.er1
47569 ac_status=$?
47570 grep -v '^ *+' conftest.er1 >conftest.err
47571 rm -f conftest.er1
47572 cat conftest.err >&5
47573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47574 (exit $ac_status); } &&
47575 { ac_try='test -z "$ac_cxx_werror_flag"
47576 || test ! -s conftest.err'
47577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47578 (eval $ac_try) 2>&5
47579 ac_status=$?
47580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47581 (exit $ac_status); }; } &&
47582 { ac_try='test -s conftest.$ac_objext'
47583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47584 (eval $ac_try) 2>&5
47585 ac_status=$?
47586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47587 (exit $ac_status); }; }; then
47588 glibcxx_cv_func__isnanf_use=yes
47589 else
47590 echo "$as_me: failed program was:" >&5
47591 sed 's/^/| /' conftest.$ac_ext >&5
47593 glibcxx_cv_func__isnanf_use=no
47595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47596 ac_ext=c
47597 ac_cpp='$CPP $CPPFLAGS'
47598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47606 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
47607 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
47609 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47611 for ac_func in _isnanf
47613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47614 echo "$as_me:$LINENO: checking for $ac_func" >&5
47615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47616 if eval "test \"\${$as_ac_var+set}\" = set"; then
47617 echo $ECHO_N "(cached) $ECHO_C" >&6
47618 else
47619 if test x$gcc_no_link = xyes; then
47620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47622 { (exit 1); exit 1; }; }
47624 cat >conftest.$ac_ext <<_ACEOF
47625 /* confdefs.h. */
47626 _ACEOF
47627 cat confdefs.h >>conftest.$ac_ext
47628 cat >>conftest.$ac_ext <<_ACEOF
47629 /* end confdefs.h. */
47630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47632 #define $ac_func innocuous_$ac_func
47634 /* System header to define __stub macros and hopefully few prototypes,
47635 which can conflict with char $ac_func (); below.
47636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47637 <limits.h> exists even on freestanding compilers. */
47639 #ifdef __STDC__
47640 # include <limits.h>
47641 #else
47642 # include <assert.h>
47643 #endif
47645 #undef $ac_func
47647 /* Override any gcc2 internal prototype to avoid an error. */
47648 #ifdef __cplusplus
47649 extern "C"
47651 #endif
47652 /* We use char because int might match the return type of a gcc2
47653 builtin and then its argument prototype would still apply. */
47654 char $ac_func ();
47655 /* The GNU C library defines this for functions which it implements
47656 to always fail with ENOSYS. Some functions are actually named
47657 something starting with __ and the normal name is an alias. */
47658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47659 choke me
47660 #else
47661 char (*f) () = $ac_func;
47662 #endif
47663 #ifdef __cplusplus
47665 #endif
47668 main ()
47670 return f != $ac_func;
47672 return 0;
47674 _ACEOF
47675 rm -f conftest.$ac_objext conftest$ac_exeext
47676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47677 (eval $ac_link) 2>conftest.er1
47678 ac_status=$?
47679 grep -v '^ *+' conftest.er1 >conftest.err
47680 rm -f conftest.er1
47681 cat conftest.err >&5
47682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47683 (exit $ac_status); } &&
47684 { ac_try='test -z "$ac_c_werror_flag"
47685 || test ! -s conftest.err'
47686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47687 (eval $ac_try) 2>&5
47688 ac_status=$?
47689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47690 (exit $ac_status); }; } &&
47691 { ac_try='test -s conftest$ac_exeext'
47692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47693 (eval $ac_try) 2>&5
47694 ac_status=$?
47695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47696 (exit $ac_status); }; }; then
47697 eval "$as_ac_var=yes"
47698 else
47699 echo "$as_me: failed program was:" >&5
47700 sed 's/^/| /' conftest.$ac_ext >&5
47702 eval "$as_ac_var=no"
47704 rm -f conftest.err conftest.$ac_objext \
47705 conftest$ac_exeext conftest.$ac_ext
47707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47709 if test `eval echo '${'$as_ac_var'}'` = yes; then
47710 cat >>confdefs.h <<_ACEOF
47711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47712 _ACEOF
47715 done
47725 echo "$as_me:$LINENO: checking for isinff declaration" >&5
47726 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
47727 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47728 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
47729 echo $ECHO_N "(cached) $ECHO_C" >&6
47730 else
47734 ac_ext=cc
47735 ac_cpp='$CXXCPP $CPPFLAGS'
47736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47740 cat >conftest.$ac_ext <<_ACEOF
47741 /* confdefs.h. */
47742 _ACEOF
47743 cat confdefs.h >>conftest.$ac_ext
47744 cat >>conftest.$ac_ext <<_ACEOF
47745 /* end confdefs.h. */
47746 #include <math.h>
47747 #ifdef HAVE_IEEEFP_H
47748 #include <ieeefp.h>
47749 #endif
47752 main ()
47754 isinff(0);
47756 return 0;
47758 _ACEOF
47759 rm -f conftest.$ac_objext
47760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47761 (eval $ac_compile) 2>conftest.er1
47762 ac_status=$?
47763 grep -v '^ *+' conftest.er1 >conftest.err
47764 rm -f conftest.er1
47765 cat conftest.err >&5
47766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47767 (exit $ac_status); } &&
47768 { ac_try='test -z "$ac_cxx_werror_flag"
47769 || test ! -s conftest.err'
47770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47771 (eval $ac_try) 2>&5
47772 ac_status=$?
47773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47774 (exit $ac_status); }; } &&
47775 { ac_try='test -s conftest.$ac_objext'
47776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47777 (eval $ac_try) 2>&5
47778 ac_status=$?
47779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47780 (exit $ac_status); }; }; then
47781 glibcxx_cv_func_isinff_use=yes
47782 else
47783 echo "$as_me: failed program was:" >&5
47784 sed 's/^/| /' conftest.$ac_ext >&5
47786 glibcxx_cv_func_isinff_use=no
47788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47789 ac_ext=c
47790 ac_cpp='$CPP $CPPFLAGS'
47791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47799 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
47800 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
47802 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47804 for ac_func in isinff
47806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47807 echo "$as_me:$LINENO: checking for $ac_func" >&5
47808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47809 if eval "test \"\${$as_ac_var+set}\" = set"; then
47810 echo $ECHO_N "(cached) $ECHO_C" >&6
47811 else
47812 if test x$gcc_no_link = xyes; then
47813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47815 { (exit 1); exit 1; }; }
47817 cat >conftest.$ac_ext <<_ACEOF
47818 /* confdefs.h. */
47819 _ACEOF
47820 cat confdefs.h >>conftest.$ac_ext
47821 cat >>conftest.$ac_ext <<_ACEOF
47822 /* end confdefs.h. */
47823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47825 #define $ac_func innocuous_$ac_func
47827 /* System header to define __stub macros and hopefully few prototypes,
47828 which can conflict with char $ac_func (); below.
47829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47830 <limits.h> exists even on freestanding compilers. */
47832 #ifdef __STDC__
47833 # include <limits.h>
47834 #else
47835 # include <assert.h>
47836 #endif
47838 #undef $ac_func
47840 /* Override any gcc2 internal prototype to avoid an error. */
47841 #ifdef __cplusplus
47842 extern "C"
47844 #endif
47845 /* We use char because int might match the return type of a gcc2
47846 builtin and then its argument prototype would still apply. */
47847 char $ac_func ();
47848 /* The GNU C library defines this for functions which it implements
47849 to always fail with ENOSYS. Some functions are actually named
47850 something starting with __ and the normal name is an alias. */
47851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47852 choke me
47853 #else
47854 char (*f) () = $ac_func;
47855 #endif
47856 #ifdef __cplusplus
47858 #endif
47861 main ()
47863 return f != $ac_func;
47865 return 0;
47867 _ACEOF
47868 rm -f conftest.$ac_objext conftest$ac_exeext
47869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47870 (eval $ac_link) 2>conftest.er1
47871 ac_status=$?
47872 grep -v '^ *+' conftest.er1 >conftest.err
47873 rm -f conftest.er1
47874 cat conftest.err >&5
47875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47876 (exit $ac_status); } &&
47877 { ac_try='test -z "$ac_c_werror_flag"
47878 || test ! -s conftest.err'
47879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47880 (eval $ac_try) 2>&5
47881 ac_status=$?
47882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47883 (exit $ac_status); }; } &&
47884 { ac_try='test -s conftest$ac_exeext'
47885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47886 (eval $ac_try) 2>&5
47887 ac_status=$?
47888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47889 (exit $ac_status); }; }; then
47890 eval "$as_ac_var=yes"
47891 else
47892 echo "$as_me: failed program was:" >&5
47893 sed 's/^/| /' conftest.$ac_ext >&5
47895 eval "$as_ac_var=no"
47897 rm -f conftest.err conftest.$ac_objext \
47898 conftest$ac_exeext conftest.$ac_ext
47900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47902 if test `eval echo '${'$as_ac_var'}'` = yes; then
47903 cat >>confdefs.h <<_ACEOF
47904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47905 _ACEOF
47908 done
47910 else
47912 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
47913 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
47914 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47915 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
47916 echo $ECHO_N "(cached) $ECHO_C" >&6
47917 else
47921 ac_ext=cc
47922 ac_cpp='$CXXCPP $CPPFLAGS'
47923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47927 cat >conftest.$ac_ext <<_ACEOF
47928 /* confdefs.h. */
47929 _ACEOF
47930 cat confdefs.h >>conftest.$ac_ext
47931 cat >>conftest.$ac_ext <<_ACEOF
47932 /* end confdefs.h. */
47933 #include <math.h>
47934 #ifdef HAVE_IEEEFP_H
47935 #include <ieeefp.h>
47936 #endif
47939 main ()
47941 _isinff(0);
47943 return 0;
47945 _ACEOF
47946 rm -f conftest.$ac_objext
47947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47948 (eval $ac_compile) 2>conftest.er1
47949 ac_status=$?
47950 grep -v '^ *+' conftest.er1 >conftest.err
47951 rm -f conftest.er1
47952 cat conftest.err >&5
47953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47954 (exit $ac_status); } &&
47955 { ac_try='test -z "$ac_cxx_werror_flag"
47956 || test ! -s conftest.err'
47957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47958 (eval $ac_try) 2>&5
47959 ac_status=$?
47960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47961 (exit $ac_status); }; } &&
47962 { ac_try='test -s conftest.$ac_objext'
47963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47964 (eval $ac_try) 2>&5
47965 ac_status=$?
47966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47967 (exit $ac_status); }; }; then
47968 glibcxx_cv_func__isinff_use=yes
47969 else
47970 echo "$as_me: failed program was:" >&5
47971 sed 's/^/| /' conftest.$ac_ext >&5
47973 glibcxx_cv_func__isinff_use=no
47975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47976 ac_ext=c
47977 ac_cpp='$CPP $CPPFLAGS'
47978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47986 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
47987 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
47989 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47991 for ac_func in _isinff
47993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47994 echo "$as_me:$LINENO: checking for $ac_func" >&5
47995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47996 if eval "test \"\${$as_ac_var+set}\" = set"; then
47997 echo $ECHO_N "(cached) $ECHO_C" >&6
47998 else
47999 if test x$gcc_no_link = xyes; then
48000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48002 { (exit 1); exit 1; }; }
48004 cat >conftest.$ac_ext <<_ACEOF
48005 /* confdefs.h. */
48006 _ACEOF
48007 cat confdefs.h >>conftest.$ac_ext
48008 cat >>conftest.$ac_ext <<_ACEOF
48009 /* end confdefs.h. */
48010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48012 #define $ac_func innocuous_$ac_func
48014 /* System header to define __stub macros and hopefully few prototypes,
48015 which can conflict with char $ac_func (); below.
48016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48017 <limits.h> exists even on freestanding compilers. */
48019 #ifdef __STDC__
48020 # include <limits.h>
48021 #else
48022 # include <assert.h>
48023 #endif
48025 #undef $ac_func
48027 /* Override any gcc2 internal prototype to avoid an error. */
48028 #ifdef __cplusplus
48029 extern "C"
48031 #endif
48032 /* We use char because int might match the return type of a gcc2
48033 builtin and then its argument prototype would still apply. */
48034 char $ac_func ();
48035 /* The GNU C library defines this for functions which it implements
48036 to always fail with ENOSYS. Some functions are actually named
48037 something starting with __ and the normal name is an alias. */
48038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48039 choke me
48040 #else
48041 char (*f) () = $ac_func;
48042 #endif
48043 #ifdef __cplusplus
48045 #endif
48048 main ()
48050 return f != $ac_func;
48052 return 0;
48054 _ACEOF
48055 rm -f conftest.$ac_objext conftest$ac_exeext
48056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48057 (eval $ac_link) 2>conftest.er1
48058 ac_status=$?
48059 grep -v '^ *+' conftest.er1 >conftest.err
48060 rm -f conftest.er1
48061 cat conftest.err >&5
48062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48063 (exit $ac_status); } &&
48064 { ac_try='test -z "$ac_c_werror_flag"
48065 || test ! -s conftest.err'
48066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48067 (eval $ac_try) 2>&5
48068 ac_status=$?
48069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48070 (exit $ac_status); }; } &&
48071 { ac_try='test -s conftest$ac_exeext'
48072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48073 (eval $ac_try) 2>&5
48074 ac_status=$?
48075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48076 (exit $ac_status); }; }; then
48077 eval "$as_ac_var=yes"
48078 else
48079 echo "$as_me: failed program was:" >&5
48080 sed 's/^/| /' conftest.$ac_ext >&5
48082 eval "$as_ac_var=no"
48084 rm -f conftest.err conftest.$ac_objext \
48085 conftest$ac_exeext conftest.$ac_ext
48087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48089 if test `eval echo '${'$as_ac_var'}'` = yes; then
48090 cat >>confdefs.h <<_ACEOF
48091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48092 _ACEOF
48095 done
48105 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
48106 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
48107 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48108 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
48109 echo $ECHO_N "(cached) $ECHO_C" >&6
48110 else
48114 ac_ext=cc
48115 ac_cpp='$CXXCPP $CPPFLAGS'
48116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48120 cat >conftest.$ac_ext <<_ACEOF
48121 /* confdefs.h. */
48122 _ACEOF
48123 cat confdefs.h >>conftest.$ac_ext
48124 cat >>conftest.$ac_ext <<_ACEOF
48125 /* end confdefs.h. */
48126 #include <math.h>
48128 main ()
48130 atan2f(0, 0);
48132 return 0;
48134 _ACEOF
48135 rm -f conftest.$ac_objext
48136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48137 (eval $ac_compile) 2>conftest.er1
48138 ac_status=$?
48139 grep -v '^ *+' conftest.er1 >conftest.err
48140 rm -f conftest.er1
48141 cat conftest.err >&5
48142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48143 (exit $ac_status); } &&
48144 { ac_try='test -z "$ac_cxx_werror_flag"
48145 || test ! -s conftest.err'
48146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48147 (eval $ac_try) 2>&5
48148 ac_status=$?
48149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48150 (exit $ac_status); }; } &&
48151 { ac_try='test -s conftest.$ac_objext'
48152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48153 (eval $ac_try) 2>&5
48154 ac_status=$?
48155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48156 (exit $ac_status); }; }; then
48157 glibcxx_cv_func_atan2f_use=yes
48158 else
48159 echo "$as_me: failed program was:" >&5
48160 sed 's/^/| /' conftest.$ac_ext >&5
48162 glibcxx_cv_func_atan2f_use=no
48164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48165 ac_ext=c
48166 ac_cpp='$CPP $CPPFLAGS'
48167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48175 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
48176 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
48178 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48180 for ac_func in atan2f
48182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48183 echo "$as_me:$LINENO: checking for $ac_func" >&5
48184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48185 if eval "test \"\${$as_ac_var+set}\" = set"; then
48186 echo $ECHO_N "(cached) $ECHO_C" >&6
48187 else
48188 if test x$gcc_no_link = xyes; then
48189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48191 { (exit 1); exit 1; }; }
48193 cat >conftest.$ac_ext <<_ACEOF
48194 /* confdefs.h. */
48195 _ACEOF
48196 cat confdefs.h >>conftest.$ac_ext
48197 cat >>conftest.$ac_ext <<_ACEOF
48198 /* end confdefs.h. */
48199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48201 #define $ac_func innocuous_$ac_func
48203 /* System header to define __stub macros and hopefully few prototypes,
48204 which can conflict with char $ac_func (); below.
48205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48206 <limits.h> exists even on freestanding compilers. */
48208 #ifdef __STDC__
48209 # include <limits.h>
48210 #else
48211 # include <assert.h>
48212 #endif
48214 #undef $ac_func
48216 /* Override any gcc2 internal prototype to avoid an error. */
48217 #ifdef __cplusplus
48218 extern "C"
48220 #endif
48221 /* We use char because int might match the return type of a gcc2
48222 builtin and then its argument prototype would still apply. */
48223 char $ac_func ();
48224 /* The GNU C library defines this for functions which it implements
48225 to always fail with ENOSYS. Some functions are actually named
48226 something starting with __ and the normal name is an alias. */
48227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48228 choke me
48229 #else
48230 char (*f) () = $ac_func;
48231 #endif
48232 #ifdef __cplusplus
48234 #endif
48237 main ()
48239 return f != $ac_func;
48241 return 0;
48243 _ACEOF
48244 rm -f conftest.$ac_objext conftest$ac_exeext
48245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48246 (eval $ac_link) 2>conftest.er1
48247 ac_status=$?
48248 grep -v '^ *+' conftest.er1 >conftest.err
48249 rm -f conftest.er1
48250 cat conftest.err >&5
48251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48252 (exit $ac_status); } &&
48253 { ac_try='test -z "$ac_c_werror_flag"
48254 || test ! -s conftest.err'
48255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48256 (eval $ac_try) 2>&5
48257 ac_status=$?
48258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48259 (exit $ac_status); }; } &&
48260 { ac_try='test -s conftest$ac_exeext'
48261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48262 (eval $ac_try) 2>&5
48263 ac_status=$?
48264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48265 (exit $ac_status); }; }; then
48266 eval "$as_ac_var=yes"
48267 else
48268 echo "$as_me: failed program was:" >&5
48269 sed 's/^/| /' conftest.$ac_ext >&5
48271 eval "$as_ac_var=no"
48273 rm -f conftest.err conftest.$ac_objext \
48274 conftest$ac_exeext conftest.$ac_ext
48276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48278 if test `eval echo '${'$as_ac_var'}'` = yes; then
48279 cat >>confdefs.h <<_ACEOF
48280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48281 _ACEOF
48284 done
48286 else
48288 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
48289 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
48290 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48291 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
48292 echo $ECHO_N "(cached) $ECHO_C" >&6
48293 else
48297 ac_ext=cc
48298 ac_cpp='$CXXCPP $CPPFLAGS'
48299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48303 cat >conftest.$ac_ext <<_ACEOF
48304 /* confdefs.h. */
48305 _ACEOF
48306 cat confdefs.h >>conftest.$ac_ext
48307 cat >>conftest.$ac_ext <<_ACEOF
48308 /* end confdefs.h. */
48309 #include <math.h>
48311 main ()
48313 _atan2f(0, 0);
48315 return 0;
48317 _ACEOF
48318 rm -f conftest.$ac_objext
48319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48320 (eval $ac_compile) 2>conftest.er1
48321 ac_status=$?
48322 grep -v '^ *+' conftest.er1 >conftest.err
48323 rm -f conftest.er1
48324 cat conftest.err >&5
48325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48326 (exit $ac_status); } &&
48327 { ac_try='test -z "$ac_cxx_werror_flag"
48328 || test ! -s conftest.err'
48329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48330 (eval $ac_try) 2>&5
48331 ac_status=$?
48332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48333 (exit $ac_status); }; } &&
48334 { ac_try='test -s conftest.$ac_objext'
48335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48336 (eval $ac_try) 2>&5
48337 ac_status=$?
48338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48339 (exit $ac_status); }; }; then
48340 glibcxx_cv_func__atan2f_use=yes
48341 else
48342 echo "$as_me: failed program was:" >&5
48343 sed 's/^/| /' conftest.$ac_ext >&5
48345 glibcxx_cv_func__atan2f_use=no
48347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48348 ac_ext=c
48349 ac_cpp='$CPP $CPPFLAGS'
48350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48358 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
48359 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
48361 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48363 for ac_func in _atan2f
48365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48366 echo "$as_me:$LINENO: checking for $ac_func" >&5
48367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48368 if eval "test \"\${$as_ac_var+set}\" = set"; then
48369 echo $ECHO_N "(cached) $ECHO_C" >&6
48370 else
48371 if test x$gcc_no_link = xyes; then
48372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48374 { (exit 1); exit 1; }; }
48376 cat >conftest.$ac_ext <<_ACEOF
48377 /* confdefs.h. */
48378 _ACEOF
48379 cat confdefs.h >>conftest.$ac_ext
48380 cat >>conftest.$ac_ext <<_ACEOF
48381 /* end confdefs.h. */
48382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48384 #define $ac_func innocuous_$ac_func
48386 /* System header to define __stub macros and hopefully few prototypes,
48387 which can conflict with char $ac_func (); below.
48388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48389 <limits.h> exists even on freestanding compilers. */
48391 #ifdef __STDC__
48392 # include <limits.h>
48393 #else
48394 # include <assert.h>
48395 #endif
48397 #undef $ac_func
48399 /* Override any gcc2 internal prototype to avoid an error. */
48400 #ifdef __cplusplus
48401 extern "C"
48403 #endif
48404 /* We use char because int might match the return type of a gcc2
48405 builtin and then its argument prototype would still apply. */
48406 char $ac_func ();
48407 /* The GNU C library defines this for functions which it implements
48408 to always fail with ENOSYS. Some functions are actually named
48409 something starting with __ and the normal name is an alias. */
48410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48411 choke me
48412 #else
48413 char (*f) () = $ac_func;
48414 #endif
48415 #ifdef __cplusplus
48417 #endif
48420 main ()
48422 return f != $ac_func;
48424 return 0;
48426 _ACEOF
48427 rm -f conftest.$ac_objext conftest$ac_exeext
48428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48429 (eval $ac_link) 2>conftest.er1
48430 ac_status=$?
48431 grep -v '^ *+' conftest.er1 >conftest.err
48432 rm -f conftest.er1
48433 cat conftest.err >&5
48434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48435 (exit $ac_status); } &&
48436 { ac_try='test -z "$ac_c_werror_flag"
48437 || test ! -s conftest.err'
48438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48439 (eval $ac_try) 2>&5
48440 ac_status=$?
48441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48442 (exit $ac_status); }; } &&
48443 { ac_try='test -s conftest$ac_exeext'
48444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48445 (eval $ac_try) 2>&5
48446 ac_status=$?
48447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48448 (exit $ac_status); }; }; then
48449 eval "$as_ac_var=yes"
48450 else
48451 echo "$as_me: failed program was:" >&5
48452 sed 's/^/| /' conftest.$ac_ext >&5
48454 eval "$as_ac_var=no"
48456 rm -f conftest.err conftest.$ac_objext \
48457 conftest$ac_exeext conftest.$ac_ext
48459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48461 if test `eval echo '${'$as_ac_var'}'` = yes; then
48462 cat >>confdefs.h <<_ACEOF
48463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48464 _ACEOF
48467 done
48477 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
48478 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
48479 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48480 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
48481 echo $ECHO_N "(cached) $ECHO_C" >&6
48482 else
48486 ac_ext=cc
48487 ac_cpp='$CXXCPP $CPPFLAGS'
48488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48492 cat >conftest.$ac_ext <<_ACEOF
48493 /* confdefs.h. */
48494 _ACEOF
48495 cat confdefs.h >>conftest.$ac_ext
48496 cat >>conftest.$ac_ext <<_ACEOF
48497 /* end confdefs.h. */
48498 #include <math.h>
48499 #ifdef HAVE_IEEEFP_H
48500 #include <ieeefp.h>
48501 #endif
48504 main ()
48506 fabsf(0);
48508 return 0;
48510 _ACEOF
48511 rm -f conftest.$ac_objext
48512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48513 (eval $ac_compile) 2>conftest.er1
48514 ac_status=$?
48515 grep -v '^ *+' conftest.er1 >conftest.err
48516 rm -f conftest.er1
48517 cat conftest.err >&5
48518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48519 (exit $ac_status); } &&
48520 { ac_try='test -z "$ac_cxx_werror_flag"
48521 || test ! -s conftest.err'
48522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48523 (eval $ac_try) 2>&5
48524 ac_status=$?
48525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48526 (exit $ac_status); }; } &&
48527 { ac_try='test -s conftest.$ac_objext'
48528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48529 (eval $ac_try) 2>&5
48530 ac_status=$?
48531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48532 (exit $ac_status); }; }; then
48533 glibcxx_cv_func_fabsf_use=yes
48534 else
48535 echo "$as_me: failed program was:" >&5
48536 sed 's/^/| /' conftest.$ac_ext >&5
48538 glibcxx_cv_func_fabsf_use=no
48540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48541 ac_ext=c
48542 ac_cpp='$CPP $CPPFLAGS'
48543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48551 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
48552 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
48554 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48556 for ac_func in fabsf
48558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48559 echo "$as_me:$LINENO: checking for $ac_func" >&5
48560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48561 if eval "test \"\${$as_ac_var+set}\" = set"; then
48562 echo $ECHO_N "(cached) $ECHO_C" >&6
48563 else
48564 if test x$gcc_no_link = xyes; then
48565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48567 { (exit 1); exit 1; }; }
48569 cat >conftest.$ac_ext <<_ACEOF
48570 /* confdefs.h. */
48571 _ACEOF
48572 cat confdefs.h >>conftest.$ac_ext
48573 cat >>conftest.$ac_ext <<_ACEOF
48574 /* end confdefs.h. */
48575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48577 #define $ac_func innocuous_$ac_func
48579 /* System header to define __stub macros and hopefully few prototypes,
48580 which can conflict with char $ac_func (); below.
48581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48582 <limits.h> exists even on freestanding compilers. */
48584 #ifdef __STDC__
48585 # include <limits.h>
48586 #else
48587 # include <assert.h>
48588 #endif
48590 #undef $ac_func
48592 /* Override any gcc2 internal prototype to avoid an error. */
48593 #ifdef __cplusplus
48594 extern "C"
48596 #endif
48597 /* We use char because int might match the return type of a gcc2
48598 builtin and then its argument prototype would still apply. */
48599 char $ac_func ();
48600 /* The GNU C library defines this for functions which it implements
48601 to always fail with ENOSYS. Some functions are actually named
48602 something starting with __ and the normal name is an alias. */
48603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48604 choke me
48605 #else
48606 char (*f) () = $ac_func;
48607 #endif
48608 #ifdef __cplusplus
48610 #endif
48613 main ()
48615 return f != $ac_func;
48617 return 0;
48619 _ACEOF
48620 rm -f conftest.$ac_objext conftest$ac_exeext
48621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48622 (eval $ac_link) 2>conftest.er1
48623 ac_status=$?
48624 grep -v '^ *+' conftest.er1 >conftest.err
48625 rm -f conftest.er1
48626 cat conftest.err >&5
48627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48628 (exit $ac_status); } &&
48629 { ac_try='test -z "$ac_c_werror_flag"
48630 || test ! -s conftest.err'
48631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48632 (eval $ac_try) 2>&5
48633 ac_status=$?
48634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48635 (exit $ac_status); }; } &&
48636 { ac_try='test -s conftest$ac_exeext'
48637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48638 (eval $ac_try) 2>&5
48639 ac_status=$?
48640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48641 (exit $ac_status); }; }; then
48642 eval "$as_ac_var=yes"
48643 else
48644 echo "$as_me: failed program was:" >&5
48645 sed 's/^/| /' conftest.$ac_ext >&5
48647 eval "$as_ac_var=no"
48649 rm -f conftest.err conftest.$ac_objext \
48650 conftest$ac_exeext conftest.$ac_ext
48652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48654 if test `eval echo '${'$as_ac_var'}'` = yes; then
48655 cat >>confdefs.h <<_ACEOF
48656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48657 _ACEOF
48660 done
48662 else
48664 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
48665 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
48666 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48667 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
48668 echo $ECHO_N "(cached) $ECHO_C" >&6
48669 else
48673 ac_ext=cc
48674 ac_cpp='$CXXCPP $CPPFLAGS'
48675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48679 cat >conftest.$ac_ext <<_ACEOF
48680 /* confdefs.h. */
48681 _ACEOF
48682 cat confdefs.h >>conftest.$ac_ext
48683 cat >>conftest.$ac_ext <<_ACEOF
48684 /* end confdefs.h. */
48685 #include <math.h>
48686 #ifdef HAVE_IEEEFP_H
48687 #include <ieeefp.h>
48688 #endif
48691 main ()
48693 _fabsf(0);
48695 return 0;
48697 _ACEOF
48698 rm -f conftest.$ac_objext
48699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48700 (eval $ac_compile) 2>conftest.er1
48701 ac_status=$?
48702 grep -v '^ *+' conftest.er1 >conftest.err
48703 rm -f conftest.er1
48704 cat conftest.err >&5
48705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48706 (exit $ac_status); } &&
48707 { ac_try='test -z "$ac_cxx_werror_flag"
48708 || test ! -s conftest.err'
48709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48710 (eval $ac_try) 2>&5
48711 ac_status=$?
48712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48713 (exit $ac_status); }; } &&
48714 { ac_try='test -s conftest.$ac_objext'
48715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48716 (eval $ac_try) 2>&5
48717 ac_status=$?
48718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48719 (exit $ac_status); }; }; then
48720 glibcxx_cv_func__fabsf_use=yes
48721 else
48722 echo "$as_me: failed program was:" >&5
48723 sed 's/^/| /' conftest.$ac_ext >&5
48725 glibcxx_cv_func__fabsf_use=no
48727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48728 ac_ext=c
48729 ac_cpp='$CPP $CPPFLAGS'
48730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48738 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
48739 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
48741 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48743 for ac_func in _fabsf
48745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48746 echo "$as_me:$LINENO: checking for $ac_func" >&5
48747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48748 if eval "test \"\${$as_ac_var+set}\" = set"; then
48749 echo $ECHO_N "(cached) $ECHO_C" >&6
48750 else
48751 if test x$gcc_no_link = xyes; then
48752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48754 { (exit 1); exit 1; }; }
48756 cat >conftest.$ac_ext <<_ACEOF
48757 /* confdefs.h. */
48758 _ACEOF
48759 cat confdefs.h >>conftest.$ac_ext
48760 cat >>conftest.$ac_ext <<_ACEOF
48761 /* end confdefs.h. */
48762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48764 #define $ac_func innocuous_$ac_func
48766 /* System header to define __stub macros and hopefully few prototypes,
48767 which can conflict with char $ac_func (); below.
48768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48769 <limits.h> exists even on freestanding compilers. */
48771 #ifdef __STDC__
48772 # include <limits.h>
48773 #else
48774 # include <assert.h>
48775 #endif
48777 #undef $ac_func
48779 /* Override any gcc2 internal prototype to avoid an error. */
48780 #ifdef __cplusplus
48781 extern "C"
48783 #endif
48784 /* We use char because int might match the return type of a gcc2
48785 builtin and then its argument prototype would still apply. */
48786 char $ac_func ();
48787 /* The GNU C library defines this for functions which it implements
48788 to always fail with ENOSYS. Some functions are actually named
48789 something starting with __ and the normal name is an alias. */
48790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48791 choke me
48792 #else
48793 char (*f) () = $ac_func;
48794 #endif
48795 #ifdef __cplusplus
48797 #endif
48800 main ()
48802 return f != $ac_func;
48804 return 0;
48806 _ACEOF
48807 rm -f conftest.$ac_objext conftest$ac_exeext
48808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48809 (eval $ac_link) 2>conftest.er1
48810 ac_status=$?
48811 grep -v '^ *+' conftest.er1 >conftest.err
48812 rm -f conftest.er1
48813 cat conftest.err >&5
48814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48815 (exit $ac_status); } &&
48816 { ac_try='test -z "$ac_c_werror_flag"
48817 || test ! -s conftest.err'
48818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48819 (eval $ac_try) 2>&5
48820 ac_status=$?
48821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48822 (exit $ac_status); }; } &&
48823 { ac_try='test -s conftest$ac_exeext'
48824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48825 (eval $ac_try) 2>&5
48826 ac_status=$?
48827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48828 (exit $ac_status); }; }; then
48829 eval "$as_ac_var=yes"
48830 else
48831 echo "$as_me: failed program was:" >&5
48832 sed 's/^/| /' conftest.$ac_ext >&5
48834 eval "$as_ac_var=no"
48836 rm -f conftest.err conftest.$ac_objext \
48837 conftest$ac_exeext conftest.$ac_ext
48839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48841 if test `eval echo '${'$as_ac_var'}'` = yes; then
48842 cat >>confdefs.h <<_ACEOF
48843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48844 _ACEOF
48847 done
48857 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
48858 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
48859 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48860 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
48861 echo $ECHO_N "(cached) $ECHO_C" >&6
48862 else
48866 ac_ext=cc
48867 ac_cpp='$CXXCPP $CPPFLAGS'
48868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48872 cat >conftest.$ac_ext <<_ACEOF
48873 /* confdefs.h. */
48874 _ACEOF
48875 cat confdefs.h >>conftest.$ac_ext
48876 cat >>conftest.$ac_ext <<_ACEOF
48877 /* end confdefs.h. */
48878 #include <math.h>
48880 main ()
48882 fmodf(0, 0);
48884 return 0;
48886 _ACEOF
48887 rm -f conftest.$ac_objext
48888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48889 (eval $ac_compile) 2>conftest.er1
48890 ac_status=$?
48891 grep -v '^ *+' conftest.er1 >conftest.err
48892 rm -f conftest.er1
48893 cat conftest.err >&5
48894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48895 (exit $ac_status); } &&
48896 { ac_try='test -z "$ac_cxx_werror_flag"
48897 || test ! -s conftest.err'
48898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48899 (eval $ac_try) 2>&5
48900 ac_status=$?
48901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48902 (exit $ac_status); }; } &&
48903 { ac_try='test -s conftest.$ac_objext'
48904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48905 (eval $ac_try) 2>&5
48906 ac_status=$?
48907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48908 (exit $ac_status); }; }; then
48909 glibcxx_cv_func_fmodf_use=yes
48910 else
48911 echo "$as_me: failed program was:" >&5
48912 sed 's/^/| /' conftest.$ac_ext >&5
48914 glibcxx_cv_func_fmodf_use=no
48916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48917 ac_ext=c
48918 ac_cpp='$CPP $CPPFLAGS'
48919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48927 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
48928 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
48930 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48932 for ac_func in fmodf
48934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48935 echo "$as_me:$LINENO: checking for $ac_func" >&5
48936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48937 if eval "test \"\${$as_ac_var+set}\" = set"; then
48938 echo $ECHO_N "(cached) $ECHO_C" >&6
48939 else
48940 if test x$gcc_no_link = xyes; then
48941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48943 { (exit 1); exit 1; }; }
48945 cat >conftest.$ac_ext <<_ACEOF
48946 /* confdefs.h. */
48947 _ACEOF
48948 cat confdefs.h >>conftest.$ac_ext
48949 cat >>conftest.$ac_ext <<_ACEOF
48950 /* end confdefs.h. */
48951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48953 #define $ac_func innocuous_$ac_func
48955 /* System header to define __stub macros and hopefully few prototypes,
48956 which can conflict with char $ac_func (); below.
48957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48958 <limits.h> exists even on freestanding compilers. */
48960 #ifdef __STDC__
48961 # include <limits.h>
48962 #else
48963 # include <assert.h>
48964 #endif
48966 #undef $ac_func
48968 /* Override any gcc2 internal prototype to avoid an error. */
48969 #ifdef __cplusplus
48970 extern "C"
48972 #endif
48973 /* We use char because int might match the return type of a gcc2
48974 builtin and then its argument prototype would still apply. */
48975 char $ac_func ();
48976 /* The GNU C library defines this for functions which it implements
48977 to always fail with ENOSYS. Some functions are actually named
48978 something starting with __ and the normal name is an alias. */
48979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48980 choke me
48981 #else
48982 char (*f) () = $ac_func;
48983 #endif
48984 #ifdef __cplusplus
48986 #endif
48989 main ()
48991 return f != $ac_func;
48993 return 0;
48995 _ACEOF
48996 rm -f conftest.$ac_objext conftest$ac_exeext
48997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48998 (eval $ac_link) 2>conftest.er1
48999 ac_status=$?
49000 grep -v '^ *+' conftest.er1 >conftest.err
49001 rm -f conftest.er1
49002 cat conftest.err >&5
49003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49004 (exit $ac_status); } &&
49005 { ac_try='test -z "$ac_c_werror_flag"
49006 || test ! -s conftest.err'
49007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49008 (eval $ac_try) 2>&5
49009 ac_status=$?
49010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49011 (exit $ac_status); }; } &&
49012 { ac_try='test -s conftest$ac_exeext'
49013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49014 (eval $ac_try) 2>&5
49015 ac_status=$?
49016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49017 (exit $ac_status); }; }; then
49018 eval "$as_ac_var=yes"
49019 else
49020 echo "$as_me: failed program was:" >&5
49021 sed 's/^/| /' conftest.$ac_ext >&5
49023 eval "$as_ac_var=no"
49025 rm -f conftest.err conftest.$ac_objext \
49026 conftest$ac_exeext conftest.$ac_ext
49028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49030 if test `eval echo '${'$as_ac_var'}'` = yes; then
49031 cat >>confdefs.h <<_ACEOF
49032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49033 _ACEOF
49036 done
49038 else
49040 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
49041 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
49042 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49043 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
49044 echo $ECHO_N "(cached) $ECHO_C" >&6
49045 else
49049 ac_ext=cc
49050 ac_cpp='$CXXCPP $CPPFLAGS'
49051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49055 cat >conftest.$ac_ext <<_ACEOF
49056 /* confdefs.h. */
49057 _ACEOF
49058 cat confdefs.h >>conftest.$ac_ext
49059 cat >>conftest.$ac_ext <<_ACEOF
49060 /* end confdefs.h. */
49061 #include <math.h>
49063 main ()
49065 _fmodf(0, 0);
49067 return 0;
49069 _ACEOF
49070 rm -f conftest.$ac_objext
49071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49072 (eval $ac_compile) 2>conftest.er1
49073 ac_status=$?
49074 grep -v '^ *+' conftest.er1 >conftest.err
49075 rm -f conftest.er1
49076 cat conftest.err >&5
49077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49078 (exit $ac_status); } &&
49079 { ac_try='test -z "$ac_cxx_werror_flag"
49080 || test ! -s conftest.err'
49081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49082 (eval $ac_try) 2>&5
49083 ac_status=$?
49084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49085 (exit $ac_status); }; } &&
49086 { ac_try='test -s conftest.$ac_objext'
49087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49088 (eval $ac_try) 2>&5
49089 ac_status=$?
49090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49091 (exit $ac_status); }; }; then
49092 glibcxx_cv_func__fmodf_use=yes
49093 else
49094 echo "$as_me: failed program was:" >&5
49095 sed 's/^/| /' conftest.$ac_ext >&5
49097 glibcxx_cv_func__fmodf_use=no
49099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49100 ac_ext=c
49101 ac_cpp='$CPP $CPPFLAGS'
49102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49110 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
49111 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
49113 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49115 for ac_func in _fmodf
49117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49118 echo "$as_me:$LINENO: checking for $ac_func" >&5
49119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49120 if eval "test \"\${$as_ac_var+set}\" = set"; then
49121 echo $ECHO_N "(cached) $ECHO_C" >&6
49122 else
49123 if test x$gcc_no_link = xyes; then
49124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49126 { (exit 1); exit 1; }; }
49128 cat >conftest.$ac_ext <<_ACEOF
49129 /* confdefs.h. */
49130 _ACEOF
49131 cat confdefs.h >>conftest.$ac_ext
49132 cat >>conftest.$ac_ext <<_ACEOF
49133 /* end confdefs.h. */
49134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49136 #define $ac_func innocuous_$ac_func
49138 /* System header to define __stub macros and hopefully few prototypes,
49139 which can conflict with char $ac_func (); below.
49140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49141 <limits.h> exists even on freestanding compilers. */
49143 #ifdef __STDC__
49144 # include <limits.h>
49145 #else
49146 # include <assert.h>
49147 #endif
49149 #undef $ac_func
49151 /* Override any gcc2 internal prototype to avoid an error. */
49152 #ifdef __cplusplus
49153 extern "C"
49155 #endif
49156 /* We use char because int might match the return type of a gcc2
49157 builtin and then its argument prototype would still apply. */
49158 char $ac_func ();
49159 /* The GNU C library defines this for functions which it implements
49160 to always fail with ENOSYS. Some functions are actually named
49161 something starting with __ and the normal name is an alias. */
49162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49163 choke me
49164 #else
49165 char (*f) () = $ac_func;
49166 #endif
49167 #ifdef __cplusplus
49169 #endif
49172 main ()
49174 return f != $ac_func;
49176 return 0;
49178 _ACEOF
49179 rm -f conftest.$ac_objext conftest$ac_exeext
49180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49181 (eval $ac_link) 2>conftest.er1
49182 ac_status=$?
49183 grep -v '^ *+' conftest.er1 >conftest.err
49184 rm -f conftest.er1
49185 cat conftest.err >&5
49186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49187 (exit $ac_status); } &&
49188 { ac_try='test -z "$ac_c_werror_flag"
49189 || test ! -s conftest.err'
49190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49191 (eval $ac_try) 2>&5
49192 ac_status=$?
49193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49194 (exit $ac_status); }; } &&
49195 { ac_try='test -s conftest$ac_exeext'
49196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49197 (eval $ac_try) 2>&5
49198 ac_status=$?
49199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49200 (exit $ac_status); }; }; then
49201 eval "$as_ac_var=yes"
49202 else
49203 echo "$as_me: failed program was:" >&5
49204 sed 's/^/| /' conftest.$ac_ext >&5
49206 eval "$as_ac_var=no"
49208 rm -f conftest.err conftest.$ac_objext \
49209 conftest$ac_exeext conftest.$ac_ext
49211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49213 if test `eval echo '${'$as_ac_var'}'` = yes; then
49214 cat >>confdefs.h <<_ACEOF
49215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49216 _ACEOF
49219 done
49229 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
49230 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
49231 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49232 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
49233 echo $ECHO_N "(cached) $ECHO_C" >&6
49234 else
49238 ac_ext=cc
49239 ac_cpp='$CXXCPP $CPPFLAGS'
49240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49244 cat >conftest.$ac_ext <<_ACEOF
49245 /* confdefs.h. */
49246 _ACEOF
49247 cat confdefs.h >>conftest.$ac_ext
49248 cat >>conftest.$ac_ext <<_ACEOF
49249 /* end confdefs.h. */
49250 #include <math.h>
49252 main ()
49254 frexpf(0, 0);
49256 return 0;
49258 _ACEOF
49259 rm -f conftest.$ac_objext
49260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49261 (eval $ac_compile) 2>conftest.er1
49262 ac_status=$?
49263 grep -v '^ *+' conftest.er1 >conftest.err
49264 rm -f conftest.er1
49265 cat conftest.err >&5
49266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49267 (exit $ac_status); } &&
49268 { ac_try='test -z "$ac_cxx_werror_flag"
49269 || test ! -s conftest.err'
49270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49271 (eval $ac_try) 2>&5
49272 ac_status=$?
49273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49274 (exit $ac_status); }; } &&
49275 { ac_try='test -s conftest.$ac_objext'
49276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49277 (eval $ac_try) 2>&5
49278 ac_status=$?
49279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49280 (exit $ac_status); }; }; then
49281 glibcxx_cv_func_frexpf_use=yes
49282 else
49283 echo "$as_me: failed program was:" >&5
49284 sed 's/^/| /' conftest.$ac_ext >&5
49286 glibcxx_cv_func_frexpf_use=no
49288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49289 ac_ext=c
49290 ac_cpp='$CPP $CPPFLAGS'
49291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49299 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
49300 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
49302 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49304 for ac_func in frexpf
49306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49307 echo "$as_me:$LINENO: checking for $ac_func" >&5
49308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49309 if eval "test \"\${$as_ac_var+set}\" = set"; then
49310 echo $ECHO_N "(cached) $ECHO_C" >&6
49311 else
49312 if test x$gcc_no_link = xyes; then
49313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49315 { (exit 1); exit 1; }; }
49317 cat >conftest.$ac_ext <<_ACEOF
49318 /* confdefs.h. */
49319 _ACEOF
49320 cat confdefs.h >>conftest.$ac_ext
49321 cat >>conftest.$ac_ext <<_ACEOF
49322 /* end confdefs.h. */
49323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49325 #define $ac_func innocuous_$ac_func
49327 /* System header to define __stub macros and hopefully few prototypes,
49328 which can conflict with char $ac_func (); below.
49329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49330 <limits.h> exists even on freestanding compilers. */
49332 #ifdef __STDC__
49333 # include <limits.h>
49334 #else
49335 # include <assert.h>
49336 #endif
49338 #undef $ac_func
49340 /* Override any gcc2 internal prototype to avoid an error. */
49341 #ifdef __cplusplus
49342 extern "C"
49344 #endif
49345 /* We use char because int might match the return type of a gcc2
49346 builtin and then its argument prototype would still apply. */
49347 char $ac_func ();
49348 /* The GNU C library defines this for functions which it implements
49349 to always fail with ENOSYS. Some functions are actually named
49350 something starting with __ and the normal name is an alias. */
49351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49352 choke me
49353 #else
49354 char (*f) () = $ac_func;
49355 #endif
49356 #ifdef __cplusplus
49358 #endif
49361 main ()
49363 return f != $ac_func;
49365 return 0;
49367 _ACEOF
49368 rm -f conftest.$ac_objext conftest$ac_exeext
49369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49370 (eval $ac_link) 2>conftest.er1
49371 ac_status=$?
49372 grep -v '^ *+' conftest.er1 >conftest.err
49373 rm -f conftest.er1
49374 cat conftest.err >&5
49375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49376 (exit $ac_status); } &&
49377 { ac_try='test -z "$ac_c_werror_flag"
49378 || test ! -s conftest.err'
49379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49380 (eval $ac_try) 2>&5
49381 ac_status=$?
49382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49383 (exit $ac_status); }; } &&
49384 { ac_try='test -s conftest$ac_exeext'
49385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49386 (eval $ac_try) 2>&5
49387 ac_status=$?
49388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49389 (exit $ac_status); }; }; then
49390 eval "$as_ac_var=yes"
49391 else
49392 echo "$as_me: failed program was:" >&5
49393 sed 's/^/| /' conftest.$ac_ext >&5
49395 eval "$as_ac_var=no"
49397 rm -f conftest.err conftest.$ac_objext \
49398 conftest$ac_exeext conftest.$ac_ext
49400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49402 if test `eval echo '${'$as_ac_var'}'` = yes; then
49403 cat >>confdefs.h <<_ACEOF
49404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49405 _ACEOF
49408 done
49410 else
49412 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
49413 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
49414 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49415 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
49416 echo $ECHO_N "(cached) $ECHO_C" >&6
49417 else
49421 ac_ext=cc
49422 ac_cpp='$CXXCPP $CPPFLAGS'
49423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49427 cat >conftest.$ac_ext <<_ACEOF
49428 /* confdefs.h. */
49429 _ACEOF
49430 cat confdefs.h >>conftest.$ac_ext
49431 cat >>conftest.$ac_ext <<_ACEOF
49432 /* end confdefs.h. */
49433 #include <math.h>
49435 main ()
49437 _frexpf(0, 0);
49439 return 0;
49441 _ACEOF
49442 rm -f conftest.$ac_objext
49443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49444 (eval $ac_compile) 2>conftest.er1
49445 ac_status=$?
49446 grep -v '^ *+' conftest.er1 >conftest.err
49447 rm -f conftest.er1
49448 cat conftest.err >&5
49449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49450 (exit $ac_status); } &&
49451 { ac_try='test -z "$ac_cxx_werror_flag"
49452 || test ! -s conftest.err'
49453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49454 (eval $ac_try) 2>&5
49455 ac_status=$?
49456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49457 (exit $ac_status); }; } &&
49458 { ac_try='test -s conftest.$ac_objext'
49459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49460 (eval $ac_try) 2>&5
49461 ac_status=$?
49462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49463 (exit $ac_status); }; }; then
49464 glibcxx_cv_func__frexpf_use=yes
49465 else
49466 echo "$as_me: failed program was:" >&5
49467 sed 's/^/| /' conftest.$ac_ext >&5
49469 glibcxx_cv_func__frexpf_use=no
49471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49472 ac_ext=c
49473 ac_cpp='$CPP $CPPFLAGS'
49474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49482 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
49483 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
49485 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49487 for ac_func in _frexpf
49489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49490 echo "$as_me:$LINENO: checking for $ac_func" >&5
49491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49492 if eval "test \"\${$as_ac_var+set}\" = set"; then
49493 echo $ECHO_N "(cached) $ECHO_C" >&6
49494 else
49495 if test x$gcc_no_link = xyes; then
49496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49498 { (exit 1); exit 1; }; }
49500 cat >conftest.$ac_ext <<_ACEOF
49501 /* confdefs.h. */
49502 _ACEOF
49503 cat confdefs.h >>conftest.$ac_ext
49504 cat >>conftest.$ac_ext <<_ACEOF
49505 /* end confdefs.h. */
49506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49508 #define $ac_func innocuous_$ac_func
49510 /* System header to define __stub macros and hopefully few prototypes,
49511 which can conflict with char $ac_func (); below.
49512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49513 <limits.h> exists even on freestanding compilers. */
49515 #ifdef __STDC__
49516 # include <limits.h>
49517 #else
49518 # include <assert.h>
49519 #endif
49521 #undef $ac_func
49523 /* Override any gcc2 internal prototype to avoid an error. */
49524 #ifdef __cplusplus
49525 extern "C"
49527 #endif
49528 /* We use char because int might match the return type of a gcc2
49529 builtin and then its argument prototype would still apply. */
49530 char $ac_func ();
49531 /* The GNU C library defines this for functions which it implements
49532 to always fail with ENOSYS. Some functions are actually named
49533 something starting with __ and the normal name is an alias. */
49534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49535 choke me
49536 #else
49537 char (*f) () = $ac_func;
49538 #endif
49539 #ifdef __cplusplus
49541 #endif
49544 main ()
49546 return f != $ac_func;
49548 return 0;
49550 _ACEOF
49551 rm -f conftest.$ac_objext conftest$ac_exeext
49552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49553 (eval $ac_link) 2>conftest.er1
49554 ac_status=$?
49555 grep -v '^ *+' conftest.er1 >conftest.err
49556 rm -f conftest.er1
49557 cat conftest.err >&5
49558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49559 (exit $ac_status); } &&
49560 { ac_try='test -z "$ac_c_werror_flag"
49561 || test ! -s conftest.err'
49562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49563 (eval $ac_try) 2>&5
49564 ac_status=$?
49565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49566 (exit $ac_status); }; } &&
49567 { ac_try='test -s conftest$ac_exeext'
49568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49569 (eval $ac_try) 2>&5
49570 ac_status=$?
49571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49572 (exit $ac_status); }; }; then
49573 eval "$as_ac_var=yes"
49574 else
49575 echo "$as_me: failed program was:" >&5
49576 sed 's/^/| /' conftest.$ac_ext >&5
49578 eval "$as_ac_var=no"
49580 rm -f conftest.err conftest.$ac_objext \
49581 conftest$ac_exeext conftest.$ac_ext
49583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49585 if test `eval echo '${'$as_ac_var'}'` = yes; then
49586 cat >>confdefs.h <<_ACEOF
49587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49588 _ACEOF
49591 done
49601 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
49602 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
49603 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49604 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
49605 echo $ECHO_N "(cached) $ECHO_C" >&6
49606 else
49610 ac_ext=cc
49611 ac_cpp='$CXXCPP $CPPFLAGS'
49612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49616 cat >conftest.$ac_ext <<_ACEOF
49617 /* confdefs.h. */
49618 _ACEOF
49619 cat confdefs.h >>conftest.$ac_ext
49620 cat >>conftest.$ac_ext <<_ACEOF
49621 /* end confdefs.h. */
49622 #include <math.h>
49624 main ()
49626 hypotf(0, 0);
49628 return 0;
49630 _ACEOF
49631 rm -f conftest.$ac_objext
49632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49633 (eval $ac_compile) 2>conftest.er1
49634 ac_status=$?
49635 grep -v '^ *+' conftest.er1 >conftest.err
49636 rm -f conftest.er1
49637 cat conftest.err >&5
49638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49639 (exit $ac_status); } &&
49640 { ac_try='test -z "$ac_cxx_werror_flag"
49641 || test ! -s conftest.err'
49642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49643 (eval $ac_try) 2>&5
49644 ac_status=$?
49645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49646 (exit $ac_status); }; } &&
49647 { ac_try='test -s conftest.$ac_objext'
49648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49649 (eval $ac_try) 2>&5
49650 ac_status=$?
49651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49652 (exit $ac_status); }; }; then
49653 glibcxx_cv_func_hypotf_use=yes
49654 else
49655 echo "$as_me: failed program was:" >&5
49656 sed 's/^/| /' conftest.$ac_ext >&5
49658 glibcxx_cv_func_hypotf_use=no
49660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49661 ac_ext=c
49662 ac_cpp='$CPP $CPPFLAGS'
49663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49671 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
49672 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
49674 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49676 for ac_func in hypotf
49678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49679 echo "$as_me:$LINENO: checking for $ac_func" >&5
49680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49681 if eval "test \"\${$as_ac_var+set}\" = set"; then
49682 echo $ECHO_N "(cached) $ECHO_C" >&6
49683 else
49684 if test x$gcc_no_link = xyes; then
49685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49687 { (exit 1); exit 1; }; }
49689 cat >conftest.$ac_ext <<_ACEOF
49690 /* confdefs.h. */
49691 _ACEOF
49692 cat confdefs.h >>conftest.$ac_ext
49693 cat >>conftest.$ac_ext <<_ACEOF
49694 /* end confdefs.h. */
49695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49697 #define $ac_func innocuous_$ac_func
49699 /* System header to define __stub macros and hopefully few prototypes,
49700 which can conflict with char $ac_func (); below.
49701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49702 <limits.h> exists even on freestanding compilers. */
49704 #ifdef __STDC__
49705 # include <limits.h>
49706 #else
49707 # include <assert.h>
49708 #endif
49710 #undef $ac_func
49712 /* Override any gcc2 internal prototype to avoid an error. */
49713 #ifdef __cplusplus
49714 extern "C"
49716 #endif
49717 /* We use char because int might match the return type of a gcc2
49718 builtin and then its argument prototype would still apply. */
49719 char $ac_func ();
49720 /* The GNU C library defines this for functions which it implements
49721 to always fail with ENOSYS. Some functions are actually named
49722 something starting with __ and the normal name is an alias. */
49723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49724 choke me
49725 #else
49726 char (*f) () = $ac_func;
49727 #endif
49728 #ifdef __cplusplus
49730 #endif
49733 main ()
49735 return f != $ac_func;
49737 return 0;
49739 _ACEOF
49740 rm -f conftest.$ac_objext conftest$ac_exeext
49741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49742 (eval $ac_link) 2>conftest.er1
49743 ac_status=$?
49744 grep -v '^ *+' conftest.er1 >conftest.err
49745 rm -f conftest.er1
49746 cat conftest.err >&5
49747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49748 (exit $ac_status); } &&
49749 { ac_try='test -z "$ac_c_werror_flag"
49750 || test ! -s conftest.err'
49751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49752 (eval $ac_try) 2>&5
49753 ac_status=$?
49754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49755 (exit $ac_status); }; } &&
49756 { ac_try='test -s conftest$ac_exeext'
49757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49758 (eval $ac_try) 2>&5
49759 ac_status=$?
49760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49761 (exit $ac_status); }; }; then
49762 eval "$as_ac_var=yes"
49763 else
49764 echo "$as_me: failed program was:" >&5
49765 sed 's/^/| /' conftest.$ac_ext >&5
49767 eval "$as_ac_var=no"
49769 rm -f conftest.err conftest.$ac_objext \
49770 conftest$ac_exeext conftest.$ac_ext
49772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49774 if test `eval echo '${'$as_ac_var'}'` = yes; then
49775 cat >>confdefs.h <<_ACEOF
49776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49777 _ACEOF
49780 done
49782 else
49784 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
49785 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
49786 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49787 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
49788 echo $ECHO_N "(cached) $ECHO_C" >&6
49789 else
49793 ac_ext=cc
49794 ac_cpp='$CXXCPP $CPPFLAGS'
49795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49799 cat >conftest.$ac_ext <<_ACEOF
49800 /* confdefs.h. */
49801 _ACEOF
49802 cat confdefs.h >>conftest.$ac_ext
49803 cat >>conftest.$ac_ext <<_ACEOF
49804 /* end confdefs.h. */
49805 #include <math.h>
49807 main ()
49809 _hypotf(0, 0);
49811 return 0;
49813 _ACEOF
49814 rm -f conftest.$ac_objext
49815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49816 (eval $ac_compile) 2>conftest.er1
49817 ac_status=$?
49818 grep -v '^ *+' conftest.er1 >conftest.err
49819 rm -f conftest.er1
49820 cat conftest.err >&5
49821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49822 (exit $ac_status); } &&
49823 { ac_try='test -z "$ac_cxx_werror_flag"
49824 || test ! -s conftest.err'
49825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49826 (eval $ac_try) 2>&5
49827 ac_status=$?
49828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49829 (exit $ac_status); }; } &&
49830 { ac_try='test -s conftest.$ac_objext'
49831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49832 (eval $ac_try) 2>&5
49833 ac_status=$?
49834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49835 (exit $ac_status); }; }; then
49836 glibcxx_cv_func__hypotf_use=yes
49837 else
49838 echo "$as_me: failed program was:" >&5
49839 sed 's/^/| /' conftest.$ac_ext >&5
49841 glibcxx_cv_func__hypotf_use=no
49843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49844 ac_ext=c
49845 ac_cpp='$CPP $CPPFLAGS'
49846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49854 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
49855 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
49857 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49859 for ac_func in _hypotf
49861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49862 echo "$as_me:$LINENO: checking for $ac_func" >&5
49863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49864 if eval "test \"\${$as_ac_var+set}\" = set"; then
49865 echo $ECHO_N "(cached) $ECHO_C" >&6
49866 else
49867 if test x$gcc_no_link = xyes; then
49868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49870 { (exit 1); exit 1; }; }
49872 cat >conftest.$ac_ext <<_ACEOF
49873 /* confdefs.h. */
49874 _ACEOF
49875 cat confdefs.h >>conftest.$ac_ext
49876 cat >>conftest.$ac_ext <<_ACEOF
49877 /* end confdefs.h. */
49878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49880 #define $ac_func innocuous_$ac_func
49882 /* System header to define __stub macros and hopefully few prototypes,
49883 which can conflict with char $ac_func (); below.
49884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49885 <limits.h> exists even on freestanding compilers. */
49887 #ifdef __STDC__
49888 # include <limits.h>
49889 #else
49890 # include <assert.h>
49891 #endif
49893 #undef $ac_func
49895 /* Override any gcc2 internal prototype to avoid an error. */
49896 #ifdef __cplusplus
49897 extern "C"
49899 #endif
49900 /* We use char because int might match the return type of a gcc2
49901 builtin and then its argument prototype would still apply. */
49902 char $ac_func ();
49903 /* The GNU C library defines this for functions which it implements
49904 to always fail with ENOSYS. Some functions are actually named
49905 something starting with __ and the normal name is an alias. */
49906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49907 choke me
49908 #else
49909 char (*f) () = $ac_func;
49910 #endif
49911 #ifdef __cplusplus
49913 #endif
49916 main ()
49918 return f != $ac_func;
49920 return 0;
49922 _ACEOF
49923 rm -f conftest.$ac_objext conftest$ac_exeext
49924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49925 (eval $ac_link) 2>conftest.er1
49926 ac_status=$?
49927 grep -v '^ *+' conftest.er1 >conftest.err
49928 rm -f conftest.er1
49929 cat conftest.err >&5
49930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49931 (exit $ac_status); } &&
49932 { ac_try='test -z "$ac_c_werror_flag"
49933 || test ! -s conftest.err'
49934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49935 (eval $ac_try) 2>&5
49936 ac_status=$?
49937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49938 (exit $ac_status); }; } &&
49939 { ac_try='test -s conftest$ac_exeext'
49940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49941 (eval $ac_try) 2>&5
49942 ac_status=$?
49943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49944 (exit $ac_status); }; }; then
49945 eval "$as_ac_var=yes"
49946 else
49947 echo "$as_me: failed program was:" >&5
49948 sed 's/^/| /' conftest.$ac_ext >&5
49950 eval "$as_ac_var=no"
49952 rm -f conftest.err conftest.$ac_objext \
49953 conftest$ac_exeext conftest.$ac_ext
49955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49957 if test `eval echo '${'$as_ac_var'}'` = yes; then
49958 cat >>confdefs.h <<_ACEOF
49959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49960 _ACEOF
49963 done
49973 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
49974 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
49975 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49976 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
49977 echo $ECHO_N "(cached) $ECHO_C" >&6
49978 else
49982 ac_ext=cc
49983 ac_cpp='$CXXCPP $CPPFLAGS'
49984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49988 cat >conftest.$ac_ext <<_ACEOF
49989 /* confdefs.h. */
49990 _ACEOF
49991 cat confdefs.h >>conftest.$ac_ext
49992 cat >>conftest.$ac_ext <<_ACEOF
49993 /* end confdefs.h. */
49994 #include <math.h>
49996 main ()
49998 ldexpf(0, 0);
50000 return 0;
50002 _ACEOF
50003 rm -f conftest.$ac_objext
50004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50005 (eval $ac_compile) 2>conftest.er1
50006 ac_status=$?
50007 grep -v '^ *+' conftest.er1 >conftest.err
50008 rm -f conftest.er1
50009 cat conftest.err >&5
50010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50011 (exit $ac_status); } &&
50012 { ac_try='test -z "$ac_cxx_werror_flag"
50013 || test ! -s conftest.err'
50014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50015 (eval $ac_try) 2>&5
50016 ac_status=$?
50017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50018 (exit $ac_status); }; } &&
50019 { ac_try='test -s conftest.$ac_objext'
50020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50021 (eval $ac_try) 2>&5
50022 ac_status=$?
50023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50024 (exit $ac_status); }; }; then
50025 glibcxx_cv_func_ldexpf_use=yes
50026 else
50027 echo "$as_me: failed program was:" >&5
50028 sed 's/^/| /' conftest.$ac_ext >&5
50030 glibcxx_cv_func_ldexpf_use=no
50032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50033 ac_ext=c
50034 ac_cpp='$CPP $CPPFLAGS'
50035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50043 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
50044 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
50046 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50048 for ac_func in ldexpf
50050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50051 echo "$as_me:$LINENO: checking for $ac_func" >&5
50052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50053 if eval "test \"\${$as_ac_var+set}\" = set"; then
50054 echo $ECHO_N "(cached) $ECHO_C" >&6
50055 else
50056 if test x$gcc_no_link = xyes; then
50057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50059 { (exit 1); exit 1; }; }
50061 cat >conftest.$ac_ext <<_ACEOF
50062 /* confdefs.h. */
50063 _ACEOF
50064 cat confdefs.h >>conftest.$ac_ext
50065 cat >>conftest.$ac_ext <<_ACEOF
50066 /* end confdefs.h. */
50067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50069 #define $ac_func innocuous_$ac_func
50071 /* System header to define __stub macros and hopefully few prototypes,
50072 which can conflict with char $ac_func (); below.
50073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50074 <limits.h> exists even on freestanding compilers. */
50076 #ifdef __STDC__
50077 # include <limits.h>
50078 #else
50079 # include <assert.h>
50080 #endif
50082 #undef $ac_func
50084 /* Override any gcc2 internal prototype to avoid an error. */
50085 #ifdef __cplusplus
50086 extern "C"
50088 #endif
50089 /* We use char because int might match the return type of a gcc2
50090 builtin and then its argument prototype would still apply. */
50091 char $ac_func ();
50092 /* The GNU C library defines this for functions which it implements
50093 to always fail with ENOSYS. Some functions are actually named
50094 something starting with __ and the normal name is an alias. */
50095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50096 choke me
50097 #else
50098 char (*f) () = $ac_func;
50099 #endif
50100 #ifdef __cplusplus
50102 #endif
50105 main ()
50107 return f != $ac_func;
50109 return 0;
50111 _ACEOF
50112 rm -f conftest.$ac_objext conftest$ac_exeext
50113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50114 (eval $ac_link) 2>conftest.er1
50115 ac_status=$?
50116 grep -v '^ *+' conftest.er1 >conftest.err
50117 rm -f conftest.er1
50118 cat conftest.err >&5
50119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50120 (exit $ac_status); } &&
50121 { ac_try='test -z "$ac_c_werror_flag"
50122 || test ! -s conftest.err'
50123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50124 (eval $ac_try) 2>&5
50125 ac_status=$?
50126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50127 (exit $ac_status); }; } &&
50128 { ac_try='test -s conftest$ac_exeext'
50129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50130 (eval $ac_try) 2>&5
50131 ac_status=$?
50132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50133 (exit $ac_status); }; }; then
50134 eval "$as_ac_var=yes"
50135 else
50136 echo "$as_me: failed program was:" >&5
50137 sed 's/^/| /' conftest.$ac_ext >&5
50139 eval "$as_ac_var=no"
50141 rm -f conftest.err conftest.$ac_objext \
50142 conftest$ac_exeext conftest.$ac_ext
50144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50146 if test `eval echo '${'$as_ac_var'}'` = yes; then
50147 cat >>confdefs.h <<_ACEOF
50148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50149 _ACEOF
50152 done
50154 else
50156 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
50157 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
50158 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50159 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
50160 echo $ECHO_N "(cached) $ECHO_C" >&6
50161 else
50165 ac_ext=cc
50166 ac_cpp='$CXXCPP $CPPFLAGS'
50167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50171 cat >conftest.$ac_ext <<_ACEOF
50172 /* confdefs.h. */
50173 _ACEOF
50174 cat confdefs.h >>conftest.$ac_ext
50175 cat >>conftest.$ac_ext <<_ACEOF
50176 /* end confdefs.h. */
50177 #include <math.h>
50179 main ()
50181 _ldexpf(0, 0);
50183 return 0;
50185 _ACEOF
50186 rm -f conftest.$ac_objext
50187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50188 (eval $ac_compile) 2>conftest.er1
50189 ac_status=$?
50190 grep -v '^ *+' conftest.er1 >conftest.err
50191 rm -f conftest.er1
50192 cat conftest.err >&5
50193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50194 (exit $ac_status); } &&
50195 { ac_try='test -z "$ac_cxx_werror_flag"
50196 || test ! -s conftest.err'
50197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50198 (eval $ac_try) 2>&5
50199 ac_status=$?
50200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50201 (exit $ac_status); }; } &&
50202 { ac_try='test -s conftest.$ac_objext'
50203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50204 (eval $ac_try) 2>&5
50205 ac_status=$?
50206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50207 (exit $ac_status); }; }; then
50208 glibcxx_cv_func__ldexpf_use=yes
50209 else
50210 echo "$as_me: failed program was:" >&5
50211 sed 's/^/| /' conftest.$ac_ext >&5
50213 glibcxx_cv_func__ldexpf_use=no
50215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50216 ac_ext=c
50217 ac_cpp='$CPP $CPPFLAGS'
50218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50226 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
50227 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
50229 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50231 for ac_func in _ldexpf
50233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50234 echo "$as_me:$LINENO: checking for $ac_func" >&5
50235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50236 if eval "test \"\${$as_ac_var+set}\" = set"; then
50237 echo $ECHO_N "(cached) $ECHO_C" >&6
50238 else
50239 if test x$gcc_no_link = xyes; then
50240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50242 { (exit 1); exit 1; }; }
50244 cat >conftest.$ac_ext <<_ACEOF
50245 /* confdefs.h. */
50246 _ACEOF
50247 cat confdefs.h >>conftest.$ac_ext
50248 cat >>conftest.$ac_ext <<_ACEOF
50249 /* end confdefs.h. */
50250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50252 #define $ac_func innocuous_$ac_func
50254 /* System header to define __stub macros and hopefully few prototypes,
50255 which can conflict with char $ac_func (); below.
50256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50257 <limits.h> exists even on freestanding compilers. */
50259 #ifdef __STDC__
50260 # include <limits.h>
50261 #else
50262 # include <assert.h>
50263 #endif
50265 #undef $ac_func
50267 /* Override any gcc2 internal prototype to avoid an error. */
50268 #ifdef __cplusplus
50269 extern "C"
50271 #endif
50272 /* We use char because int might match the return type of a gcc2
50273 builtin and then its argument prototype would still apply. */
50274 char $ac_func ();
50275 /* The GNU C library defines this for functions which it implements
50276 to always fail with ENOSYS. Some functions are actually named
50277 something starting with __ and the normal name is an alias. */
50278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50279 choke me
50280 #else
50281 char (*f) () = $ac_func;
50282 #endif
50283 #ifdef __cplusplus
50285 #endif
50288 main ()
50290 return f != $ac_func;
50292 return 0;
50294 _ACEOF
50295 rm -f conftest.$ac_objext conftest$ac_exeext
50296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50297 (eval $ac_link) 2>conftest.er1
50298 ac_status=$?
50299 grep -v '^ *+' conftest.er1 >conftest.err
50300 rm -f conftest.er1
50301 cat conftest.err >&5
50302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50303 (exit $ac_status); } &&
50304 { ac_try='test -z "$ac_c_werror_flag"
50305 || test ! -s conftest.err'
50306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50307 (eval $ac_try) 2>&5
50308 ac_status=$?
50309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50310 (exit $ac_status); }; } &&
50311 { ac_try='test -s conftest$ac_exeext'
50312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50313 (eval $ac_try) 2>&5
50314 ac_status=$?
50315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50316 (exit $ac_status); }; }; then
50317 eval "$as_ac_var=yes"
50318 else
50319 echo "$as_me: failed program was:" >&5
50320 sed 's/^/| /' conftest.$ac_ext >&5
50322 eval "$as_ac_var=no"
50324 rm -f conftest.err conftest.$ac_objext \
50325 conftest$ac_exeext conftest.$ac_ext
50327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50329 if test `eval echo '${'$as_ac_var'}'` = yes; then
50330 cat >>confdefs.h <<_ACEOF
50331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50332 _ACEOF
50335 done
50345 echo "$as_me:$LINENO: checking for logf declaration" >&5
50346 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
50347 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50348 if test "${glibcxx_cv_func_logf_use+set}" = set; then
50349 echo $ECHO_N "(cached) $ECHO_C" >&6
50350 else
50354 ac_ext=cc
50355 ac_cpp='$CXXCPP $CPPFLAGS'
50356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50360 cat >conftest.$ac_ext <<_ACEOF
50361 /* confdefs.h. */
50362 _ACEOF
50363 cat confdefs.h >>conftest.$ac_ext
50364 cat >>conftest.$ac_ext <<_ACEOF
50365 /* end confdefs.h. */
50366 #include <math.h>
50367 #ifdef HAVE_IEEEFP_H
50368 #include <ieeefp.h>
50369 #endif
50372 main ()
50374 logf(0);
50376 return 0;
50378 _ACEOF
50379 rm -f conftest.$ac_objext
50380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50381 (eval $ac_compile) 2>conftest.er1
50382 ac_status=$?
50383 grep -v '^ *+' conftest.er1 >conftest.err
50384 rm -f conftest.er1
50385 cat conftest.err >&5
50386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50387 (exit $ac_status); } &&
50388 { ac_try='test -z "$ac_cxx_werror_flag"
50389 || test ! -s conftest.err'
50390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50391 (eval $ac_try) 2>&5
50392 ac_status=$?
50393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50394 (exit $ac_status); }; } &&
50395 { ac_try='test -s conftest.$ac_objext'
50396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50397 (eval $ac_try) 2>&5
50398 ac_status=$?
50399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50400 (exit $ac_status); }; }; then
50401 glibcxx_cv_func_logf_use=yes
50402 else
50403 echo "$as_me: failed program was:" >&5
50404 sed 's/^/| /' conftest.$ac_ext >&5
50406 glibcxx_cv_func_logf_use=no
50408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50409 ac_ext=c
50410 ac_cpp='$CPP $CPPFLAGS'
50411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50419 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
50420 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
50422 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50424 for ac_func in logf
50426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50427 echo "$as_me:$LINENO: checking for $ac_func" >&5
50428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50429 if eval "test \"\${$as_ac_var+set}\" = set"; then
50430 echo $ECHO_N "(cached) $ECHO_C" >&6
50431 else
50432 if test x$gcc_no_link = xyes; then
50433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50435 { (exit 1); exit 1; }; }
50437 cat >conftest.$ac_ext <<_ACEOF
50438 /* confdefs.h. */
50439 _ACEOF
50440 cat confdefs.h >>conftest.$ac_ext
50441 cat >>conftest.$ac_ext <<_ACEOF
50442 /* end confdefs.h. */
50443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50445 #define $ac_func innocuous_$ac_func
50447 /* System header to define __stub macros and hopefully few prototypes,
50448 which can conflict with char $ac_func (); below.
50449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50450 <limits.h> exists even on freestanding compilers. */
50452 #ifdef __STDC__
50453 # include <limits.h>
50454 #else
50455 # include <assert.h>
50456 #endif
50458 #undef $ac_func
50460 /* Override any gcc2 internal prototype to avoid an error. */
50461 #ifdef __cplusplus
50462 extern "C"
50464 #endif
50465 /* We use char because int might match the return type of a gcc2
50466 builtin and then its argument prototype would still apply. */
50467 char $ac_func ();
50468 /* The GNU C library defines this for functions which it implements
50469 to always fail with ENOSYS. Some functions are actually named
50470 something starting with __ and the normal name is an alias. */
50471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50472 choke me
50473 #else
50474 char (*f) () = $ac_func;
50475 #endif
50476 #ifdef __cplusplus
50478 #endif
50481 main ()
50483 return f != $ac_func;
50485 return 0;
50487 _ACEOF
50488 rm -f conftest.$ac_objext conftest$ac_exeext
50489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50490 (eval $ac_link) 2>conftest.er1
50491 ac_status=$?
50492 grep -v '^ *+' conftest.er1 >conftest.err
50493 rm -f conftest.er1
50494 cat conftest.err >&5
50495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50496 (exit $ac_status); } &&
50497 { ac_try='test -z "$ac_c_werror_flag"
50498 || test ! -s conftest.err'
50499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50500 (eval $ac_try) 2>&5
50501 ac_status=$?
50502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50503 (exit $ac_status); }; } &&
50504 { ac_try='test -s conftest$ac_exeext'
50505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50506 (eval $ac_try) 2>&5
50507 ac_status=$?
50508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50509 (exit $ac_status); }; }; then
50510 eval "$as_ac_var=yes"
50511 else
50512 echo "$as_me: failed program was:" >&5
50513 sed 's/^/| /' conftest.$ac_ext >&5
50515 eval "$as_ac_var=no"
50517 rm -f conftest.err conftest.$ac_objext \
50518 conftest$ac_exeext conftest.$ac_ext
50520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50522 if test `eval echo '${'$as_ac_var'}'` = yes; then
50523 cat >>confdefs.h <<_ACEOF
50524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50525 _ACEOF
50528 done
50530 else
50532 echo "$as_me:$LINENO: checking for _logf declaration" >&5
50533 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
50534 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50535 if test "${glibcxx_cv_func__logf_use+set}" = set; then
50536 echo $ECHO_N "(cached) $ECHO_C" >&6
50537 else
50541 ac_ext=cc
50542 ac_cpp='$CXXCPP $CPPFLAGS'
50543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50547 cat >conftest.$ac_ext <<_ACEOF
50548 /* confdefs.h. */
50549 _ACEOF
50550 cat confdefs.h >>conftest.$ac_ext
50551 cat >>conftest.$ac_ext <<_ACEOF
50552 /* end confdefs.h. */
50553 #include <math.h>
50554 #ifdef HAVE_IEEEFP_H
50555 #include <ieeefp.h>
50556 #endif
50559 main ()
50561 _logf(0);
50563 return 0;
50565 _ACEOF
50566 rm -f conftest.$ac_objext
50567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50568 (eval $ac_compile) 2>conftest.er1
50569 ac_status=$?
50570 grep -v '^ *+' conftest.er1 >conftest.err
50571 rm -f conftest.er1
50572 cat conftest.err >&5
50573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50574 (exit $ac_status); } &&
50575 { ac_try='test -z "$ac_cxx_werror_flag"
50576 || test ! -s conftest.err'
50577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50578 (eval $ac_try) 2>&5
50579 ac_status=$?
50580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50581 (exit $ac_status); }; } &&
50582 { ac_try='test -s conftest.$ac_objext'
50583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50584 (eval $ac_try) 2>&5
50585 ac_status=$?
50586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50587 (exit $ac_status); }; }; then
50588 glibcxx_cv_func__logf_use=yes
50589 else
50590 echo "$as_me: failed program was:" >&5
50591 sed 's/^/| /' conftest.$ac_ext >&5
50593 glibcxx_cv_func__logf_use=no
50595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50596 ac_ext=c
50597 ac_cpp='$CPP $CPPFLAGS'
50598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50606 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
50607 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
50609 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50611 for ac_func in _logf
50613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50614 echo "$as_me:$LINENO: checking for $ac_func" >&5
50615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50616 if eval "test \"\${$as_ac_var+set}\" = set"; then
50617 echo $ECHO_N "(cached) $ECHO_C" >&6
50618 else
50619 if test x$gcc_no_link = xyes; then
50620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50622 { (exit 1); exit 1; }; }
50624 cat >conftest.$ac_ext <<_ACEOF
50625 /* confdefs.h. */
50626 _ACEOF
50627 cat confdefs.h >>conftest.$ac_ext
50628 cat >>conftest.$ac_ext <<_ACEOF
50629 /* end confdefs.h. */
50630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50632 #define $ac_func innocuous_$ac_func
50634 /* System header to define __stub macros and hopefully few prototypes,
50635 which can conflict with char $ac_func (); below.
50636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50637 <limits.h> exists even on freestanding compilers. */
50639 #ifdef __STDC__
50640 # include <limits.h>
50641 #else
50642 # include <assert.h>
50643 #endif
50645 #undef $ac_func
50647 /* Override any gcc2 internal prototype to avoid an error. */
50648 #ifdef __cplusplus
50649 extern "C"
50651 #endif
50652 /* We use char because int might match the return type of a gcc2
50653 builtin and then its argument prototype would still apply. */
50654 char $ac_func ();
50655 /* The GNU C library defines this for functions which it implements
50656 to always fail with ENOSYS. Some functions are actually named
50657 something starting with __ and the normal name is an alias. */
50658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50659 choke me
50660 #else
50661 char (*f) () = $ac_func;
50662 #endif
50663 #ifdef __cplusplus
50665 #endif
50668 main ()
50670 return f != $ac_func;
50672 return 0;
50674 _ACEOF
50675 rm -f conftest.$ac_objext conftest$ac_exeext
50676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50677 (eval $ac_link) 2>conftest.er1
50678 ac_status=$?
50679 grep -v '^ *+' conftest.er1 >conftest.err
50680 rm -f conftest.er1
50681 cat conftest.err >&5
50682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50683 (exit $ac_status); } &&
50684 { ac_try='test -z "$ac_c_werror_flag"
50685 || test ! -s conftest.err'
50686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50687 (eval $ac_try) 2>&5
50688 ac_status=$?
50689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50690 (exit $ac_status); }; } &&
50691 { ac_try='test -s conftest$ac_exeext'
50692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50693 (eval $ac_try) 2>&5
50694 ac_status=$?
50695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50696 (exit $ac_status); }; }; then
50697 eval "$as_ac_var=yes"
50698 else
50699 echo "$as_me: failed program was:" >&5
50700 sed 's/^/| /' conftest.$ac_ext >&5
50702 eval "$as_ac_var=no"
50704 rm -f conftest.err conftest.$ac_objext \
50705 conftest$ac_exeext conftest.$ac_ext
50707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50709 if test `eval echo '${'$as_ac_var'}'` = yes; then
50710 cat >>confdefs.h <<_ACEOF
50711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50712 _ACEOF
50715 done
50725 echo "$as_me:$LINENO: checking for log10f declaration" >&5
50726 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
50727 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50728 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
50729 echo $ECHO_N "(cached) $ECHO_C" >&6
50730 else
50734 ac_ext=cc
50735 ac_cpp='$CXXCPP $CPPFLAGS'
50736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50740 cat >conftest.$ac_ext <<_ACEOF
50741 /* confdefs.h. */
50742 _ACEOF
50743 cat confdefs.h >>conftest.$ac_ext
50744 cat >>conftest.$ac_ext <<_ACEOF
50745 /* end confdefs.h. */
50746 #include <math.h>
50747 #ifdef HAVE_IEEEFP_H
50748 #include <ieeefp.h>
50749 #endif
50752 main ()
50754 log10f(0);
50756 return 0;
50758 _ACEOF
50759 rm -f conftest.$ac_objext
50760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50761 (eval $ac_compile) 2>conftest.er1
50762 ac_status=$?
50763 grep -v '^ *+' conftest.er1 >conftest.err
50764 rm -f conftest.er1
50765 cat conftest.err >&5
50766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50767 (exit $ac_status); } &&
50768 { ac_try='test -z "$ac_cxx_werror_flag"
50769 || test ! -s conftest.err'
50770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50771 (eval $ac_try) 2>&5
50772 ac_status=$?
50773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50774 (exit $ac_status); }; } &&
50775 { ac_try='test -s conftest.$ac_objext'
50776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50777 (eval $ac_try) 2>&5
50778 ac_status=$?
50779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50780 (exit $ac_status); }; }; then
50781 glibcxx_cv_func_log10f_use=yes
50782 else
50783 echo "$as_me: failed program was:" >&5
50784 sed 's/^/| /' conftest.$ac_ext >&5
50786 glibcxx_cv_func_log10f_use=no
50788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50789 ac_ext=c
50790 ac_cpp='$CPP $CPPFLAGS'
50791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50799 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
50800 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
50802 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50804 for ac_func in log10f
50806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50807 echo "$as_me:$LINENO: checking for $ac_func" >&5
50808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50809 if eval "test \"\${$as_ac_var+set}\" = set"; then
50810 echo $ECHO_N "(cached) $ECHO_C" >&6
50811 else
50812 if test x$gcc_no_link = xyes; then
50813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50815 { (exit 1); exit 1; }; }
50817 cat >conftest.$ac_ext <<_ACEOF
50818 /* confdefs.h. */
50819 _ACEOF
50820 cat confdefs.h >>conftest.$ac_ext
50821 cat >>conftest.$ac_ext <<_ACEOF
50822 /* end confdefs.h. */
50823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50825 #define $ac_func innocuous_$ac_func
50827 /* System header to define __stub macros and hopefully few prototypes,
50828 which can conflict with char $ac_func (); below.
50829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50830 <limits.h> exists even on freestanding compilers. */
50832 #ifdef __STDC__
50833 # include <limits.h>
50834 #else
50835 # include <assert.h>
50836 #endif
50838 #undef $ac_func
50840 /* Override any gcc2 internal prototype to avoid an error. */
50841 #ifdef __cplusplus
50842 extern "C"
50844 #endif
50845 /* We use char because int might match the return type of a gcc2
50846 builtin and then its argument prototype would still apply. */
50847 char $ac_func ();
50848 /* The GNU C library defines this for functions which it implements
50849 to always fail with ENOSYS. Some functions are actually named
50850 something starting with __ and the normal name is an alias. */
50851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50852 choke me
50853 #else
50854 char (*f) () = $ac_func;
50855 #endif
50856 #ifdef __cplusplus
50858 #endif
50861 main ()
50863 return f != $ac_func;
50865 return 0;
50867 _ACEOF
50868 rm -f conftest.$ac_objext conftest$ac_exeext
50869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50870 (eval $ac_link) 2>conftest.er1
50871 ac_status=$?
50872 grep -v '^ *+' conftest.er1 >conftest.err
50873 rm -f conftest.er1
50874 cat conftest.err >&5
50875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50876 (exit $ac_status); } &&
50877 { ac_try='test -z "$ac_c_werror_flag"
50878 || test ! -s conftest.err'
50879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50880 (eval $ac_try) 2>&5
50881 ac_status=$?
50882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50883 (exit $ac_status); }; } &&
50884 { ac_try='test -s conftest$ac_exeext'
50885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50886 (eval $ac_try) 2>&5
50887 ac_status=$?
50888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50889 (exit $ac_status); }; }; then
50890 eval "$as_ac_var=yes"
50891 else
50892 echo "$as_me: failed program was:" >&5
50893 sed 's/^/| /' conftest.$ac_ext >&5
50895 eval "$as_ac_var=no"
50897 rm -f conftest.err conftest.$ac_objext \
50898 conftest$ac_exeext conftest.$ac_ext
50900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50902 if test `eval echo '${'$as_ac_var'}'` = yes; then
50903 cat >>confdefs.h <<_ACEOF
50904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50905 _ACEOF
50908 done
50910 else
50912 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
50913 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
50914 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50915 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
50916 echo $ECHO_N "(cached) $ECHO_C" >&6
50917 else
50921 ac_ext=cc
50922 ac_cpp='$CXXCPP $CPPFLAGS'
50923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50927 cat >conftest.$ac_ext <<_ACEOF
50928 /* confdefs.h. */
50929 _ACEOF
50930 cat confdefs.h >>conftest.$ac_ext
50931 cat >>conftest.$ac_ext <<_ACEOF
50932 /* end confdefs.h. */
50933 #include <math.h>
50934 #ifdef HAVE_IEEEFP_H
50935 #include <ieeefp.h>
50936 #endif
50939 main ()
50941 _log10f(0);
50943 return 0;
50945 _ACEOF
50946 rm -f conftest.$ac_objext
50947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50948 (eval $ac_compile) 2>conftest.er1
50949 ac_status=$?
50950 grep -v '^ *+' conftest.er1 >conftest.err
50951 rm -f conftest.er1
50952 cat conftest.err >&5
50953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50954 (exit $ac_status); } &&
50955 { ac_try='test -z "$ac_cxx_werror_flag"
50956 || test ! -s conftest.err'
50957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50958 (eval $ac_try) 2>&5
50959 ac_status=$?
50960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50961 (exit $ac_status); }; } &&
50962 { ac_try='test -s conftest.$ac_objext'
50963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50964 (eval $ac_try) 2>&5
50965 ac_status=$?
50966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50967 (exit $ac_status); }; }; then
50968 glibcxx_cv_func__log10f_use=yes
50969 else
50970 echo "$as_me: failed program was:" >&5
50971 sed 's/^/| /' conftest.$ac_ext >&5
50973 glibcxx_cv_func__log10f_use=no
50975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50976 ac_ext=c
50977 ac_cpp='$CPP $CPPFLAGS'
50978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50986 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
50987 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
50989 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50991 for ac_func in _log10f
50993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50994 echo "$as_me:$LINENO: checking for $ac_func" >&5
50995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50996 if eval "test \"\${$as_ac_var+set}\" = set"; then
50997 echo $ECHO_N "(cached) $ECHO_C" >&6
50998 else
50999 if test x$gcc_no_link = xyes; then
51000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51002 { (exit 1); exit 1; }; }
51004 cat >conftest.$ac_ext <<_ACEOF
51005 /* confdefs.h. */
51006 _ACEOF
51007 cat confdefs.h >>conftest.$ac_ext
51008 cat >>conftest.$ac_ext <<_ACEOF
51009 /* end confdefs.h. */
51010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51012 #define $ac_func innocuous_$ac_func
51014 /* System header to define __stub macros and hopefully few prototypes,
51015 which can conflict with char $ac_func (); below.
51016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51017 <limits.h> exists even on freestanding compilers. */
51019 #ifdef __STDC__
51020 # include <limits.h>
51021 #else
51022 # include <assert.h>
51023 #endif
51025 #undef $ac_func
51027 /* Override any gcc2 internal prototype to avoid an error. */
51028 #ifdef __cplusplus
51029 extern "C"
51031 #endif
51032 /* We use char because int might match the return type of a gcc2
51033 builtin and then its argument prototype would still apply. */
51034 char $ac_func ();
51035 /* The GNU C library defines this for functions which it implements
51036 to always fail with ENOSYS. Some functions are actually named
51037 something starting with __ and the normal name is an alias. */
51038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51039 choke me
51040 #else
51041 char (*f) () = $ac_func;
51042 #endif
51043 #ifdef __cplusplus
51045 #endif
51048 main ()
51050 return f != $ac_func;
51052 return 0;
51054 _ACEOF
51055 rm -f conftest.$ac_objext conftest$ac_exeext
51056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51057 (eval $ac_link) 2>conftest.er1
51058 ac_status=$?
51059 grep -v '^ *+' conftest.er1 >conftest.err
51060 rm -f conftest.er1
51061 cat conftest.err >&5
51062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51063 (exit $ac_status); } &&
51064 { ac_try='test -z "$ac_c_werror_flag"
51065 || test ! -s conftest.err'
51066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51067 (eval $ac_try) 2>&5
51068 ac_status=$?
51069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51070 (exit $ac_status); }; } &&
51071 { ac_try='test -s conftest$ac_exeext'
51072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51073 (eval $ac_try) 2>&5
51074 ac_status=$?
51075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51076 (exit $ac_status); }; }; then
51077 eval "$as_ac_var=yes"
51078 else
51079 echo "$as_me: failed program was:" >&5
51080 sed 's/^/| /' conftest.$ac_ext >&5
51082 eval "$as_ac_var=no"
51084 rm -f conftest.err conftest.$ac_objext \
51085 conftest$ac_exeext conftest.$ac_ext
51087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51089 if test `eval echo '${'$as_ac_var'}'` = yes; then
51090 cat >>confdefs.h <<_ACEOF
51091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51092 _ACEOF
51095 done
51105 echo "$as_me:$LINENO: checking for modff declaration" >&5
51106 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
51107 if test x${glibcxx_cv_func_modff_use+set} != xset; then
51108 if test "${glibcxx_cv_func_modff_use+set}" = set; then
51109 echo $ECHO_N "(cached) $ECHO_C" >&6
51110 else
51114 ac_ext=cc
51115 ac_cpp='$CXXCPP $CPPFLAGS'
51116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51120 cat >conftest.$ac_ext <<_ACEOF
51121 /* confdefs.h. */
51122 _ACEOF
51123 cat confdefs.h >>conftest.$ac_ext
51124 cat >>conftest.$ac_ext <<_ACEOF
51125 /* end confdefs.h. */
51126 #include <math.h>
51128 main ()
51130 modff(0, 0);
51132 return 0;
51134 _ACEOF
51135 rm -f conftest.$ac_objext
51136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51137 (eval $ac_compile) 2>conftest.er1
51138 ac_status=$?
51139 grep -v '^ *+' conftest.er1 >conftest.err
51140 rm -f conftest.er1
51141 cat conftest.err >&5
51142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51143 (exit $ac_status); } &&
51144 { ac_try='test -z "$ac_cxx_werror_flag"
51145 || test ! -s conftest.err'
51146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51147 (eval $ac_try) 2>&5
51148 ac_status=$?
51149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51150 (exit $ac_status); }; } &&
51151 { ac_try='test -s conftest.$ac_objext'
51152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51153 (eval $ac_try) 2>&5
51154 ac_status=$?
51155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51156 (exit $ac_status); }; }; then
51157 glibcxx_cv_func_modff_use=yes
51158 else
51159 echo "$as_me: failed program was:" >&5
51160 sed 's/^/| /' conftest.$ac_ext >&5
51162 glibcxx_cv_func_modff_use=no
51164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51165 ac_ext=c
51166 ac_cpp='$CPP $CPPFLAGS'
51167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51175 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
51176 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
51178 if test x$glibcxx_cv_func_modff_use = x"yes"; then
51180 for ac_func in modff
51182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51183 echo "$as_me:$LINENO: checking for $ac_func" >&5
51184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51185 if eval "test \"\${$as_ac_var+set}\" = set"; then
51186 echo $ECHO_N "(cached) $ECHO_C" >&6
51187 else
51188 if test x$gcc_no_link = xyes; then
51189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51191 { (exit 1); exit 1; }; }
51193 cat >conftest.$ac_ext <<_ACEOF
51194 /* confdefs.h. */
51195 _ACEOF
51196 cat confdefs.h >>conftest.$ac_ext
51197 cat >>conftest.$ac_ext <<_ACEOF
51198 /* end confdefs.h. */
51199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51201 #define $ac_func innocuous_$ac_func
51203 /* System header to define __stub macros and hopefully few prototypes,
51204 which can conflict with char $ac_func (); below.
51205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51206 <limits.h> exists even on freestanding compilers. */
51208 #ifdef __STDC__
51209 # include <limits.h>
51210 #else
51211 # include <assert.h>
51212 #endif
51214 #undef $ac_func
51216 /* Override any gcc2 internal prototype to avoid an error. */
51217 #ifdef __cplusplus
51218 extern "C"
51220 #endif
51221 /* We use char because int might match the return type of a gcc2
51222 builtin and then its argument prototype would still apply. */
51223 char $ac_func ();
51224 /* The GNU C library defines this for functions which it implements
51225 to always fail with ENOSYS. Some functions are actually named
51226 something starting with __ and the normal name is an alias. */
51227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51228 choke me
51229 #else
51230 char (*f) () = $ac_func;
51231 #endif
51232 #ifdef __cplusplus
51234 #endif
51237 main ()
51239 return f != $ac_func;
51241 return 0;
51243 _ACEOF
51244 rm -f conftest.$ac_objext conftest$ac_exeext
51245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51246 (eval $ac_link) 2>conftest.er1
51247 ac_status=$?
51248 grep -v '^ *+' conftest.er1 >conftest.err
51249 rm -f conftest.er1
51250 cat conftest.err >&5
51251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51252 (exit $ac_status); } &&
51253 { ac_try='test -z "$ac_c_werror_flag"
51254 || test ! -s conftest.err'
51255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51256 (eval $ac_try) 2>&5
51257 ac_status=$?
51258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51259 (exit $ac_status); }; } &&
51260 { ac_try='test -s conftest$ac_exeext'
51261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51262 (eval $ac_try) 2>&5
51263 ac_status=$?
51264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51265 (exit $ac_status); }; }; then
51266 eval "$as_ac_var=yes"
51267 else
51268 echo "$as_me: failed program was:" >&5
51269 sed 's/^/| /' conftest.$ac_ext >&5
51271 eval "$as_ac_var=no"
51273 rm -f conftest.err conftest.$ac_objext \
51274 conftest$ac_exeext conftest.$ac_ext
51276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51278 if test `eval echo '${'$as_ac_var'}'` = yes; then
51279 cat >>confdefs.h <<_ACEOF
51280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51281 _ACEOF
51284 done
51286 else
51288 echo "$as_me:$LINENO: checking for _modff declaration" >&5
51289 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
51290 if test x${glibcxx_cv_func__modff_use+set} != xset; then
51291 if test "${glibcxx_cv_func__modff_use+set}" = set; then
51292 echo $ECHO_N "(cached) $ECHO_C" >&6
51293 else
51297 ac_ext=cc
51298 ac_cpp='$CXXCPP $CPPFLAGS'
51299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51303 cat >conftest.$ac_ext <<_ACEOF
51304 /* confdefs.h. */
51305 _ACEOF
51306 cat confdefs.h >>conftest.$ac_ext
51307 cat >>conftest.$ac_ext <<_ACEOF
51308 /* end confdefs.h. */
51309 #include <math.h>
51311 main ()
51313 _modff(0, 0);
51315 return 0;
51317 _ACEOF
51318 rm -f conftest.$ac_objext
51319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51320 (eval $ac_compile) 2>conftest.er1
51321 ac_status=$?
51322 grep -v '^ *+' conftest.er1 >conftest.err
51323 rm -f conftest.er1
51324 cat conftest.err >&5
51325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51326 (exit $ac_status); } &&
51327 { ac_try='test -z "$ac_cxx_werror_flag"
51328 || test ! -s conftest.err'
51329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51330 (eval $ac_try) 2>&5
51331 ac_status=$?
51332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51333 (exit $ac_status); }; } &&
51334 { ac_try='test -s conftest.$ac_objext'
51335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51336 (eval $ac_try) 2>&5
51337 ac_status=$?
51338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51339 (exit $ac_status); }; }; then
51340 glibcxx_cv_func__modff_use=yes
51341 else
51342 echo "$as_me: failed program was:" >&5
51343 sed 's/^/| /' conftest.$ac_ext >&5
51345 glibcxx_cv_func__modff_use=no
51347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51348 ac_ext=c
51349 ac_cpp='$CPP $CPPFLAGS'
51350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51358 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
51359 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
51361 if test x$glibcxx_cv_func__modff_use = x"yes"; then
51363 for ac_func in _modff
51365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51366 echo "$as_me:$LINENO: checking for $ac_func" >&5
51367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51368 if eval "test \"\${$as_ac_var+set}\" = set"; then
51369 echo $ECHO_N "(cached) $ECHO_C" >&6
51370 else
51371 if test x$gcc_no_link = xyes; then
51372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51374 { (exit 1); exit 1; }; }
51376 cat >conftest.$ac_ext <<_ACEOF
51377 /* confdefs.h. */
51378 _ACEOF
51379 cat confdefs.h >>conftest.$ac_ext
51380 cat >>conftest.$ac_ext <<_ACEOF
51381 /* end confdefs.h. */
51382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51384 #define $ac_func innocuous_$ac_func
51386 /* System header to define __stub macros and hopefully few prototypes,
51387 which can conflict with char $ac_func (); below.
51388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51389 <limits.h> exists even on freestanding compilers. */
51391 #ifdef __STDC__
51392 # include <limits.h>
51393 #else
51394 # include <assert.h>
51395 #endif
51397 #undef $ac_func
51399 /* Override any gcc2 internal prototype to avoid an error. */
51400 #ifdef __cplusplus
51401 extern "C"
51403 #endif
51404 /* We use char because int might match the return type of a gcc2
51405 builtin and then its argument prototype would still apply. */
51406 char $ac_func ();
51407 /* The GNU C library defines this for functions which it implements
51408 to always fail with ENOSYS. Some functions are actually named
51409 something starting with __ and the normal name is an alias. */
51410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51411 choke me
51412 #else
51413 char (*f) () = $ac_func;
51414 #endif
51415 #ifdef __cplusplus
51417 #endif
51420 main ()
51422 return f != $ac_func;
51424 return 0;
51426 _ACEOF
51427 rm -f conftest.$ac_objext conftest$ac_exeext
51428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51429 (eval $ac_link) 2>conftest.er1
51430 ac_status=$?
51431 grep -v '^ *+' conftest.er1 >conftest.err
51432 rm -f conftest.er1
51433 cat conftest.err >&5
51434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51435 (exit $ac_status); } &&
51436 { ac_try='test -z "$ac_c_werror_flag"
51437 || test ! -s conftest.err'
51438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51439 (eval $ac_try) 2>&5
51440 ac_status=$?
51441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51442 (exit $ac_status); }; } &&
51443 { ac_try='test -s conftest$ac_exeext'
51444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51445 (eval $ac_try) 2>&5
51446 ac_status=$?
51447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51448 (exit $ac_status); }; }; then
51449 eval "$as_ac_var=yes"
51450 else
51451 echo "$as_me: failed program was:" >&5
51452 sed 's/^/| /' conftest.$ac_ext >&5
51454 eval "$as_ac_var=no"
51456 rm -f conftest.err conftest.$ac_objext \
51457 conftest$ac_exeext conftest.$ac_ext
51459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51461 if test `eval echo '${'$as_ac_var'}'` = yes; then
51462 cat >>confdefs.h <<_ACEOF
51463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51464 _ACEOF
51467 done
51477 echo "$as_me:$LINENO: checking for modf declaration" >&5
51478 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
51479 if test x${glibcxx_cv_func_modf_use+set} != xset; then
51480 if test "${glibcxx_cv_func_modf_use+set}" = set; then
51481 echo $ECHO_N "(cached) $ECHO_C" >&6
51482 else
51486 ac_ext=cc
51487 ac_cpp='$CXXCPP $CPPFLAGS'
51488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51492 cat >conftest.$ac_ext <<_ACEOF
51493 /* confdefs.h. */
51494 _ACEOF
51495 cat confdefs.h >>conftest.$ac_ext
51496 cat >>conftest.$ac_ext <<_ACEOF
51497 /* end confdefs.h. */
51498 #include <math.h>
51500 main ()
51502 modf(0, 0);
51504 return 0;
51506 _ACEOF
51507 rm -f conftest.$ac_objext
51508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51509 (eval $ac_compile) 2>conftest.er1
51510 ac_status=$?
51511 grep -v '^ *+' conftest.er1 >conftest.err
51512 rm -f conftest.er1
51513 cat conftest.err >&5
51514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51515 (exit $ac_status); } &&
51516 { ac_try='test -z "$ac_cxx_werror_flag"
51517 || test ! -s conftest.err'
51518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51519 (eval $ac_try) 2>&5
51520 ac_status=$?
51521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51522 (exit $ac_status); }; } &&
51523 { ac_try='test -s conftest.$ac_objext'
51524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51525 (eval $ac_try) 2>&5
51526 ac_status=$?
51527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51528 (exit $ac_status); }; }; then
51529 glibcxx_cv_func_modf_use=yes
51530 else
51531 echo "$as_me: failed program was:" >&5
51532 sed 's/^/| /' conftest.$ac_ext >&5
51534 glibcxx_cv_func_modf_use=no
51536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51537 ac_ext=c
51538 ac_cpp='$CPP $CPPFLAGS'
51539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51547 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
51548 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
51550 if test x$glibcxx_cv_func_modf_use = x"yes"; then
51552 for ac_func in modf
51554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51555 echo "$as_me:$LINENO: checking for $ac_func" >&5
51556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51557 if eval "test \"\${$as_ac_var+set}\" = set"; then
51558 echo $ECHO_N "(cached) $ECHO_C" >&6
51559 else
51560 if test x$gcc_no_link = xyes; then
51561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51563 { (exit 1); exit 1; }; }
51565 cat >conftest.$ac_ext <<_ACEOF
51566 /* confdefs.h. */
51567 _ACEOF
51568 cat confdefs.h >>conftest.$ac_ext
51569 cat >>conftest.$ac_ext <<_ACEOF
51570 /* end confdefs.h. */
51571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51573 #define $ac_func innocuous_$ac_func
51575 /* System header to define __stub macros and hopefully few prototypes,
51576 which can conflict with char $ac_func (); below.
51577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51578 <limits.h> exists even on freestanding compilers. */
51580 #ifdef __STDC__
51581 # include <limits.h>
51582 #else
51583 # include <assert.h>
51584 #endif
51586 #undef $ac_func
51588 /* Override any gcc2 internal prototype to avoid an error. */
51589 #ifdef __cplusplus
51590 extern "C"
51592 #endif
51593 /* We use char because int might match the return type of a gcc2
51594 builtin and then its argument prototype would still apply. */
51595 char $ac_func ();
51596 /* The GNU C library defines this for functions which it implements
51597 to always fail with ENOSYS. Some functions are actually named
51598 something starting with __ and the normal name is an alias. */
51599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51600 choke me
51601 #else
51602 char (*f) () = $ac_func;
51603 #endif
51604 #ifdef __cplusplus
51606 #endif
51609 main ()
51611 return f != $ac_func;
51613 return 0;
51615 _ACEOF
51616 rm -f conftest.$ac_objext conftest$ac_exeext
51617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51618 (eval $ac_link) 2>conftest.er1
51619 ac_status=$?
51620 grep -v '^ *+' conftest.er1 >conftest.err
51621 rm -f conftest.er1
51622 cat conftest.err >&5
51623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51624 (exit $ac_status); } &&
51625 { ac_try='test -z "$ac_c_werror_flag"
51626 || test ! -s conftest.err'
51627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51628 (eval $ac_try) 2>&5
51629 ac_status=$?
51630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51631 (exit $ac_status); }; } &&
51632 { ac_try='test -s conftest$ac_exeext'
51633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51634 (eval $ac_try) 2>&5
51635 ac_status=$?
51636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51637 (exit $ac_status); }; }; then
51638 eval "$as_ac_var=yes"
51639 else
51640 echo "$as_me: failed program was:" >&5
51641 sed 's/^/| /' conftest.$ac_ext >&5
51643 eval "$as_ac_var=no"
51645 rm -f conftest.err conftest.$ac_objext \
51646 conftest$ac_exeext conftest.$ac_ext
51648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51650 if test `eval echo '${'$as_ac_var'}'` = yes; then
51651 cat >>confdefs.h <<_ACEOF
51652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51653 _ACEOF
51656 done
51658 else
51660 echo "$as_me:$LINENO: checking for _modf declaration" >&5
51661 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
51662 if test x${glibcxx_cv_func__modf_use+set} != xset; then
51663 if test "${glibcxx_cv_func__modf_use+set}" = set; then
51664 echo $ECHO_N "(cached) $ECHO_C" >&6
51665 else
51669 ac_ext=cc
51670 ac_cpp='$CXXCPP $CPPFLAGS'
51671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51675 cat >conftest.$ac_ext <<_ACEOF
51676 /* confdefs.h. */
51677 _ACEOF
51678 cat confdefs.h >>conftest.$ac_ext
51679 cat >>conftest.$ac_ext <<_ACEOF
51680 /* end confdefs.h. */
51681 #include <math.h>
51683 main ()
51685 _modf(0, 0);
51687 return 0;
51689 _ACEOF
51690 rm -f conftest.$ac_objext
51691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51692 (eval $ac_compile) 2>conftest.er1
51693 ac_status=$?
51694 grep -v '^ *+' conftest.er1 >conftest.err
51695 rm -f conftest.er1
51696 cat conftest.err >&5
51697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51698 (exit $ac_status); } &&
51699 { ac_try='test -z "$ac_cxx_werror_flag"
51700 || test ! -s conftest.err'
51701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51702 (eval $ac_try) 2>&5
51703 ac_status=$?
51704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51705 (exit $ac_status); }; } &&
51706 { ac_try='test -s conftest.$ac_objext'
51707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51708 (eval $ac_try) 2>&5
51709 ac_status=$?
51710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51711 (exit $ac_status); }; }; then
51712 glibcxx_cv_func__modf_use=yes
51713 else
51714 echo "$as_me: failed program was:" >&5
51715 sed 's/^/| /' conftest.$ac_ext >&5
51717 glibcxx_cv_func__modf_use=no
51719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51720 ac_ext=c
51721 ac_cpp='$CPP $CPPFLAGS'
51722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51730 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
51731 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
51733 if test x$glibcxx_cv_func__modf_use = x"yes"; then
51735 for ac_func in _modf
51737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51738 echo "$as_me:$LINENO: checking for $ac_func" >&5
51739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51740 if eval "test \"\${$as_ac_var+set}\" = set"; then
51741 echo $ECHO_N "(cached) $ECHO_C" >&6
51742 else
51743 if test x$gcc_no_link = xyes; then
51744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51746 { (exit 1); exit 1; }; }
51748 cat >conftest.$ac_ext <<_ACEOF
51749 /* confdefs.h. */
51750 _ACEOF
51751 cat confdefs.h >>conftest.$ac_ext
51752 cat >>conftest.$ac_ext <<_ACEOF
51753 /* end confdefs.h. */
51754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51756 #define $ac_func innocuous_$ac_func
51758 /* System header to define __stub macros and hopefully few prototypes,
51759 which can conflict with char $ac_func (); below.
51760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51761 <limits.h> exists even on freestanding compilers. */
51763 #ifdef __STDC__
51764 # include <limits.h>
51765 #else
51766 # include <assert.h>
51767 #endif
51769 #undef $ac_func
51771 /* Override any gcc2 internal prototype to avoid an error. */
51772 #ifdef __cplusplus
51773 extern "C"
51775 #endif
51776 /* We use char because int might match the return type of a gcc2
51777 builtin and then its argument prototype would still apply. */
51778 char $ac_func ();
51779 /* The GNU C library defines this for functions which it implements
51780 to always fail with ENOSYS. Some functions are actually named
51781 something starting with __ and the normal name is an alias. */
51782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51783 choke me
51784 #else
51785 char (*f) () = $ac_func;
51786 #endif
51787 #ifdef __cplusplus
51789 #endif
51792 main ()
51794 return f != $ac_func;
51796 return 0;
51798 _ACEOF
51799 rm -f conftest.$ac_objext conftest$ac_exeext
51800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51801 (eval $ac_link) 2>conftest.er1
51802 ac_status=$?
51803 grep -v '^ *+' conftest.er1 >conftest.err
51804 rm -f conftest.er1
51805 cat conftest.err >&5
51806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51807 (exit $ac_status); } &&
51808 { ac_try='test -z "$ac_c_werror_flag"
51809 || test ! -s conftest.err'
51810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51811 (eval $ac_try) 2>&5
51812 ac_status=$?
51813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51814 (exit $ac_status); }; } &&
51815 { ac_try='test -s conftest$ac_exeext'
51816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51817 (eval $ac_try) 2>&5
51818 ac_status=$?
51819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51820 (exit $ac_status); }; }; then
51821 eval "$as_ac_var=yes"
51822 else
51823 echo "$as_me: failed program was:" >&5
51824 sed 's/^/| /' conftest.$ac_ext >&5
51826 eval "$as_ac_var=no"
51828 rm -f conftest.err conftest.$ac_objext \
51829 conftest$ac_exeext conftest.$ac_ext
51831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51833 if test `eval echo '${'$as_ac_var'}'` = yes; then
51834 cat >>confdefs.h <<_ACEOF
51835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51836 _ACEOF
51839 done
51849 echo "$as_me:$LINENO: checking for powf declaration" >&5
51850 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
51851 if test x${glibcxx_cv_func_powf_use+set} != xset; then
51852 if test "${glibcxx_cv_func_powf_use+set}" = set; then
51853 echo $ECHO_N "(cached) $ECHO_C" >&6
51854 else
51858 ac_ext=cc
51859 ac_cpp='$CXXCPP $CPPFLAGS'
51860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51864 cat >conftest.$ac_ext <<_ACEOF
51865 /* confdefs.h. */
51866 _ACEOF
51867 cat confdefs.h >>conftest.$ac_ext
51868 cat >>conftest.$ac_ext <<_ACEOF
51869 /* end confdefs.h. */
51870 #include <math.h>
51872 main ()
51874 powf(0, 0);
51876 return 0;
51878 _ACEOF
51879 rm -f conftest.$ac_objext
51880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51881 (eval $ac_compile) 2>conftest.er1
51882 ac_status=$?
51883 grep -v '^ *+' conftest.er1 >conftest.err
51884 rm -f conftest.er1
51885 cat conftest.err >&5
51886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51887 (exit $ac_status); } &&
51888 { ac_try='test -z "$ac_cxx_werror_flag"
51889 || test ! -s conftest.err'
51890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51891 (eval $ac_try) 2>&5
51892 ac_status=$?
51893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51894 (exit $ac_status); }; } &&
51895 { ac_try='test -s conftest.$ac_objext'
51896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51897 (eval $ac_try) 2>&5
51898 ac_status=$?
51899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51900 (exit $ac_status); }; }; then
51901 glibcxx_cv_func_powf_use=yes
51902 else
51903 echo "$as_me: failed program was:" >&5
51904 sed 's/^/| /' conftest.$ac_ext >&5
51906 glibcxx_cv_func_powf_use=no
51908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51909 ac_ext=c
51910 ac_cpp='$CPP $CPPFLAGS'
51911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51919 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
51920 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
51922 if test x$glibcxx_cv_func_powf_use = x"yes"; then
51924 for ac_func in powf
51926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51927 echo "$as_me:$LINENO: checking for $ac_func" >&5
51928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51929 if eval "test \"\${$as_ac_var+set}\" = set"; then
51930 echo $ECHO_N "(cached) $ECHO_C" >&6
51931 else
51932 if test x$gcc_no_link = xyes; then
51933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51935 { (exit 1); exit 1; }; }
51937 cat >conftest.$ac_ext <<_ACEOF
51938 /* confdefs.h. */
51939 _ACEOF
51940 cat confdefs.h >>conftest.$ac_ext
51941 cat >>conftest.$ac_ext <<_ACEOF
51942 /* end confdefs.h. */
51943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51945 #define $ac_func innocuous_$ac_func
51947 /* System header to define __stub macros and hopefully few prototypes,
51948 which can conflict with char $ac_func (); below.
51949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51950 <limits.h> exists even on freestanding compilers. */
51952 #ifdef __STDC__
51953 # include <limits.h>
51954 #else
51955 # include <assert.h>
51956 #endif
51958 #undef $ac_func
51960 /* Override any gcc2 internal prototype to avoid an error. */
51961 #ifdef __cplusplus
51962 extern "C"
51964 #endif
51965 /* We use char because int might match the return type of a gcc2
51966 builtin and then its argument prototype would still apply. */
51967 char $ac_func ();
51968 /* The GNU C library defines this for functions which it implements
51969 to always fail with ENOSYS. Some functions are actually named
51970 something starting with __ and the normal name is an alias. */
51971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51972 choke me
51973 #else
51974 char (*f) () = $ac_func;
51975 #endif
51976 #ifdef __cplusplus
51978 #endif
51981 main ()
51983 return f != $ac_func;
51985 return 0;
51987 _ACEOF
51988 rm -f conftest.$ac_objext conftest$ac_exeext
51989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51990 (eval $ac_link) 2>conftest.er1
51991 ac_status=$?
51992 grep -v '^ *+' conftest.er1 >conftest.err
51993 rm -f conftest.er1
51994 cat conftest.err >&5
51995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51996 (exit $ac_status); } &&
51997 { ac_try='test -z "$ac_c_werror_flag"
51998 || test ! -s conftest.err'
51999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52000 (eval $ac_try) 2>&5
52001 ac_status=$?
52002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52003 (exit $ac_status); }; } &&
52004 { ac_try='test -s conftest$ac_exeext'
52005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52006 (eval $ac_try) 2>&5
52007 ac_status=$?
52008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52009 (exit $ac_status); }; }; then
52010 eval "$as_ac_var=yes"
52011 else
52012 echo "$as_me: failed program was:" >&5
52013 sed 's/^/| /' conftest.$ac_ext >&5
52015 eval "$as_ac_var=no"
52017 rm -f conftest.err conftest.$ac_objext \
52018 conftest$ac_exeext conftest.$ac_ext
52020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52022 if test `eval echo '${'$as_ac_var'}'` = yes; then
52023 cat >>confdefs.h <<_ACEOF
52024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52025 _ACEOF
52028 done
52030 else
52032 echo "$as_me:$LINENO: checking for _powf declaration" >&5
52033 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
52034 if test x${glibcxx_cv_func__powf_use+set} != xset; then
52035 if test "${glibcxx_cv_func__powf_use+set}" = set; then
52036 echo $ECHO_N "(cached) $ECHO_C" >&6
52037 else
52041 ac_ext=cc
52042 ac_cpp='$CXXCPP $CPPFLAGS'
52043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52047 cat >conftest.$ac_ext <<_ACEOF
52048 /* confdefs.h. */
52049 _ACEOF
52050 cat confdefs.h >>conftest.$ac_ext
52051 cat >>conftest.$ac_ext <<_ACEOF
52052 /* end confdefs.h. */
52053 #include <math.h>
52055 main ()
52057 _powf(0, 0);
52059 return 0;
52061 _ACEOF
52062 rm -f conftest.$ac_objext
52063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52064 (eval $ac_compile) 2>conftest.er1
52065 ac_status=$?
52066 grep -v '^ *+' conftest.er1 >conftest.err
52067 rm -f conftest.er1
52068 cat conftest.err >&5
52069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52070 (exit $ac_status); } &&
52071 { ac_try='test -z "$ac_cxx_werror_flag"
52072 || test ! -s conftest.err'
52073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52074 (eval $ac_try) 2>&5
52075 ac_status=$?
52076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52077 (exit $ac_status); }; } &&
52078 { ac_try='test -s conftest.$ac_objext'
52079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52080 (eval $ac_try) 2>&5
52081 ac_status=$?
52082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52083 (exit $ac_status); }; }; then
52084 glibcxx_cv_func__powf_use=yes
52085 else
52086 echo "$as_me: failed program was:" >&5
52087 sed 's/^/| /' conftest.$ac_ext >&5
52089 glibcxx_cv_func__powf_use=no
52091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52092 ac_ext=c
52093 ac_cpp='$CPP $CPPFLAGS'
52094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52102 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
52103 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
52105 if test x$glibcxx_cv_func__powf_use = x"yes"; then
52107 for ac_func in _powf
52109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52110 echo "$as_me:$LINENO: checking for $ac_func" >&5
52111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52112 if eval "test \"\${$as_ac_var+set}\" = set"; then
52113 echo $ECHO_N "(cached) $ECHO_C" >&6
52114 else
52115 if test x$gcc_no_link = xyes; then
52116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52118 { (exit 1); exit 1; }; }
52120 cat >conftest.$ac_ext <<_ACEOF
52121 /* confdefs.h. */
52122 _ACEOF
52123 cat confdefs.h >>conftest.$ac_ext
52124 cat >>conftest.$ac_ext <<_ACEOF
52125 /* end confdefs.h. */
52126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52128 #define $ac_func innocuous_$ac_func
52130 /* System header to define __stub macros and hopefully few prototypes,
52131 which can conflict with char $ac_func (); below.
52132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52133 <limits.h> exists even on freestanding compilers. */
52135 #ifdef __STDC__
52136 # include <limits.h>
52137 #else
52138 # include <assert.h>
52139 #endif
52141 #undef $ac_func
52143 /* Override any gcc2 internal prototype to avoid an error. */
52144 #ifdef __cplusplus
52145 extern "C"
52147 #endif
52148 /* We use char because int might match the return type of a gcc2
52149 builtin and then its argument prototype would still apply. */
52150 char $ac_func ();
52151 /* The GNU C library defines this for functions which it implements
52152 to always fail with ENOSYS. Some functions are actually named
52153 something starting with __ and the normal name is an alias. */
52154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52155 choke me
52156 #else
52157 char (*f) () = $ac_func;
52158 #endif
52159 #ifdef __cplusplus
52161 #endif
52164 main ()
52166 return f != $ac_func;
52168 return 0;
52170 _ACEOF
52171 rm -f conftest.$ac_objext conftest$ac_exeext
52172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52173 (eval $ac_link) 2>conftest.er1
52174 ac_status=$?
52175 grep -v '^ *+' conftest.er1 >conftest.err
52176 rm -f conftest.er1
52177 cat conftest.err >&5
52178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52179 (exit $ac_status); } &&
52180 { ac_try='test -z "$ac_c_werror_flag"
52181 || test ! -s conftest.err'
52182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52183 (eval $ac_try) 2>&5
52184 ac_status=$?
52185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52186 (exit $ac_status); }; } &&
52187 { ac_try='test -s conftest$ac_exeext'
52188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52189 (eval $ac_try) 2>&5
52190 ac_status=$?
52191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52192 (exit $ac_status); }; }; then
52193 eval "$as_ac_var=yes"
52194 else
52195 echo "$as_me: failed program was:" >&5
52196 sed 's/^/| /' conftest.$ac_ext >&5
52198 eval "$as_ac_var=no"
52200 rm -f conftest.err conftest.$ac_objext \
52201 conftest$ac_exeext conftest.$ac_ext
52203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52205 if test `eval echo '${'$as_ac_var'}'` = yes; then
52206 cat >>confdefs.h <<_ACEOF
52207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52208 _ACEOF
52211 done
52221 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
52222 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
52223 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52224 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
52225 echo $ECHO_N "(cached) $ECHO_C" >&6
52226 else
52230 ac_ext=cc
52231 ac_cpp='$CXXCPP $CPPFLAGS'
52232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52236 cat >conftest.$ac_ext <<_ACEOF
52237 /* confdefs.h. */
52238 _ACEOF
52239 cat confdefs.h >>conftest.$ac_ext
52240 cat >>conftest.$ac_ext <<_ACEOF
52241 /* end confdefs.h. */
52242 #include <math.h>
52243 #ifdef HAVE_IEEEFP_H
52244 #include <ieeefp.h>
52245 #endif
52248 main ()
52250 sqrtf(0);
52252 return 0;
52254 _ACEOF
52255 rm -f conftest.$ac_objext
52256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52257 (eval $ac_compile) 2>conftest.er1
52258 ac_status=$?
52259 grep -v '^ *+' conftest.er1 >conftest.err
52260 rm -f conftest.er1
52261 cat conftest.err >&5
52262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52263 (exit $ac_status); } &&
52264 { ac_try='test -z "$ac_cxx_werror_flag"
52265 || test ! -s conftest.err'
52266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52267 (eval $ac_try) 2>&5
52268 ac_status=$?
52269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52270 (exit $ac_status); }; } &&
52271 { ac_try='test -s conftest.$ac_objext'
52272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52273 (eval $ac_try) 2>&5
52274 ac_status=$?
52275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52276 (exit $ac_status); }; }; then
52277 glibcxx_cv_func_sqrtf_use=yes
52278 else
52279 echo "$as_me: failed program was:" >&5
52280 sed 's/^/| /' conftest.$ac_ext >&5
52282 glibcxx_cv_func_sqrtf_use=no
52284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52285 ac_ext=c
52286 ac_cpp='$CPP $CPPFLAGS'
52287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52295 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
52296 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
52298 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
52300 for ac_func in sqrtf
52302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52303 echo "$as_me:$LINENO: checking for $ac_func" >&5
52304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52305 if eval "test \"\${$as_ac_var+set}\" = set"; then
52306 echo $ECHO_N "(cached) $ECHO_C" >&6
52307 else
52308 if test x$gcc_no_link = xyes; then
52309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52311 { (exit 1); exit 1; }; }
52313 cat >conftest.$ac_ext <<_ACEOF
52314 /* confdefs.h. */
52315 _ACEOF
52316 cat confdefs.h >>conftest.$ac_ext
52317 cat >>conftest.$ac_ext <<_ACEOF
52318 /* end confdefs.h. */
52319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52321 #define $ac_func innocuous_$ac_func
52323 /* System header to define __stub macros and hopefully few prototypes,
52324 which can conflict with char $ac_func (); below.
52325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52326 <limits.h> exists even on freestanding compilers. */
52328 #ifdef __STDC__
52329 # include <limits.h>
52330 #else
52331 # include <assert.h>
52332 #endif
52334 #undef $ac_func
52336 /* Override any gcc2 internal prototype to avoid an error. */
52337 #ifdef __cplusplus
52338 extern "C"
52340 #endif
52341 /* We use char because int might match the return type of a gcc2
52342 builtin and then its argument prototype would still apply. */
52343 char $ac_func ();
52344 /* The GNU C library defines this for functions which it implements
52345 to always fail with ENOSYS. Some functions are actually named
52346 something starting with __ and the normal name is an alias. */
52347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52348 choke me
52349 #else
52350 char (*f) () = $ac_func;
52351 #endif
52352 #ifdef __cplusplus
52354 #endif
52357 main ()
52359 return f != $ac_func;
52361 return 0;
52363 _ACEOF
52364 rm -f conftest.$ac_objext conftest$ac_exeext
52365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52366 (eval $ac_link) 2>conftest.er1
52367 ac_status=$?
52368 grep -v '^ *+' conftest.er1 >conftest.err
52369 rm -f conftest.er1
52370 cat conftest.err >&5
52371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52372 (exit $ac_status); } &&
52373 { ac_try='test -z "$ac_c_werror_flag"
52374 || test ! -s conftest.err'
52375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52376 (eval $ac_try) 2>&5
52377 ac_status=$?
52378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52379 (exit $ac_status); }; } &&
52380 { ac_try='test -s conftest$ac_exeext'
52381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52382 (eval $ac_try) 2>&5
52383 ac_status=$?
52384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52385 (exit $ac_status); }; }; then
52386 eval "$as_ac_var=yes"
52387 else
52388 echo "$as_me: failed program was:" >&5
52389 sed 's/^/| /' conftest.$ac_ext >&5
52391 eval "$as_ac_var=no"
52393 rm -f conftest.err conftest.$ac_objext \
52394 conftest$ac_exeext conftest.$ac_ext
52396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52398 if test `eval echo '${'$as_ac_var'}'` = yes; then
52399 cat >>confdefs.h <<_ACEOF
52400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52401 _ACEOF
52404 done
52406 else
52408 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
52409 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
52410 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
52411 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
52412 echo $ECHO_N "(cached) $ECHO_C" >&6
52413 else
52417 ac_ext=cc
52418 ac_cpp='$CXXCPP $CPPFLAGS'
52419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52423 cat >conftest.$ac_ext <<_ACEOF
52424 /* confdefs.h. */
52425 _ACEOF
52426 cat confdefs.h >>conftest.$ac_ext
52427 cat >>conftest.$ac_ext <<_ACEOF
52428 /* end confdefs.h. */
52429 #include <math.h>
52430 #ifdef HAVE_IEEEFP_H
52431 #include <ieeefp.h>
52432 #endif
52435 main ()
52437 _sqrtf(0);
52439 return 0;
52441 _ACEOF
52442 rm -f conftest.$ac_objext
52443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52444 (eval $ac_compile) 2>conftest.er1
52445 ac_status=$?
52446 grep -v '^ *+' conftest.er1 >conftest.err
52447 rm -f conftest.er1
52448 cat conftest.err >&5
52449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52450 (exit $ac_status); } &&
52451 { ac_try='test -z "$ac_cxx_werror_flag"
52452 || test ! -s conftest.err'
52453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52454 (eval $ac_try) 2>&5
52455 ac_status=$?
52456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52457 (exit $ac_status); }; } &&
52458 { ac_try='test -s conftest.$ac_objext'
52459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52460 (eval $ac_try) 2>&5
52461 ac_status=$?
52462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52463 (exit $ac_status); }; }; then
52464 glibcxx_cv_func__sqrtf_use=yes
52465 else
52466 echo "$as_me: failed program was:" >&5
52467 sed 's/^/| /' conftest.$ac_ext >&5
52469 glibcxx_cv_func__sqrtf_use=no
52471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52472 ac_ext=c
52473 ac_cpp='$CPP $CPPFLAGS'
52474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52482 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
52483 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
52485 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
52487 for ac_func in _sqrtf
52489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52490 echo "$as_me:$LINENO: checking for $ac_func" >&5
52491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52492 if eval "test \"\${$as_ac_var+set}\" = set"; then
52493 echo $ECHO_N "(cached) $ECHO_C" >&6
52494 else
52495 if test x$gcc_no_link = xyes; then
52496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52498 { (exit 1); exit 1; }; }
52500 cat >conftest.$ac_ext <<_ACEOF
52501 /* confdefs.h. */
52502 _ACEOF
52503 cat confdefs.h >>conftest.$ac_ext
52504 cat >>conftest.$ac_ext <<_ACEOF
52505 /* end confdefs.h. */
52506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52508 #define $ac_func innocuous_$ac_func
52510 /* System header to define __stub macros and hopefully few prototypes,
52511 which can conflict with char $ac_func (); below.
52512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52513 <limits.h> exists even on freestanding compilers. */
52515 #ifdef __STDC__
52516 # include <limits.h>
52517 #else
52518 # include <assert.h>
52519 #endif
52521 #undef $ac_func
52523 /* Override any gcc2 internal prototype to avoid an error. */
52524 #ifdef __cplusplus
52525 extern "C"
52527 #endif
52528 /* We use char because int might match the return type of a gcc2
52529 builtin and then its argument prototype would still apply. */
52530 char $ac_func ();
52531 /* The GNU C library defines this for functions which it implements
52532 to always fail with ENOSYS. Some functions are actually named
52533 something starting with __ and the normal name is an alias. */
52534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52535 choke me
52536 #else
52537 char (*f) () = $ac_func;
52538 #endif
52539 #ifdef __cplusplus
52541 #endif
52544 main ()
52546 return f != $ac_func;
52548 return 0;
52550 _ACEOF
52551 rm -f conftest.$ac_objext conftest$ac_exeext
52552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52553 (eval $ac_link) 2>conftest.er1
52554 ac_status=$?
52555 grep -v '^ *+' conftest.er1 >conftest.err
52556 rm -f conftest.er1
52557 cat conftest.err >&5
52558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52559 (exit $ac_status); } &&
52560 { ac_try='test -z "$ac_c_werror_flag"
52561 || test ! -s conftest.err'
52562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52563 (eval $ac_try) 2>&5
52564 ac_status=$?
52565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52566 (exit $ac_status); }; } &&
52567 { ac_try='test -s conftest$ac_exeext'
52568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52569 (eval $ac_try) 2>&5
52570 ac_status=$?
52571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52572 (exit $ac_status); }; }; then
52573 eval "$as_ac_var=yes"
52574 else
52575 echo "$as_me: failed program was:" >&5
52576 sed 's/^/| /' conftest.$ac_ext >&5
52578 eval "$as_ac_var=no"
52580 rm -f conftest.err conftest.$ac_objext \
52581 conftest$ac_exeext conftest.$ac_ext
52583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52585 if test `eval echo '${'$as_ac_var'}'` = yes; then
52586 cat >>confdefs.h <<_ACEOF
52587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52588 _ACEOF
52591 done
52601 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
52602 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
52603 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
52604 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
52605 echo $ECHO_N "(cached) $ECHO_C" >&6
52606 else
52610 ac_ext=cc
52611 ac_cpp='$CXXCPP $CPPFLAGS'
52612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52616 cat >conftest.$ac_ext <<_ACEOF
52617 /* confdefs.h. */
52618 _ACEOF
52619 cat confdefs.h >>conftest.$ac_ext
52620 cat >>conftest.$ac_ext <<_ACEOF
52621 /* end confdefs.h. */
52622 #include <math.h>
52624 main ()
52626 sincosf(0, 0, 0);
52628 return 0;
52630 _ACEOF
52631 rm -f conftest.$ac_objext
52632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52633 (eval $ac_compile) 2>conftest.er1
52634 ac_status=$?
52635 grep -v '^ *+' conftest.er1 >conftest.err
52636 rm -f conftest.er1
52637 cat conftest.err >&5
52638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52639 (exit $ac_status); } &&
52640 { ac_try='test -z "$ac_cxx_werror_flag"
52641 || test ! -s conftest.err'
52642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52643 (eval $ac_try) 2>&5
52644 ac_status=$?
52645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52646 (exit $ac_status); }; } &&
52647 { ac_try='test -s conftest.$ac_objext'
52648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52649 (eval $ac_try) 2>&5
52650 ac_status=$?
52651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52652 (exit $ac_status); }; }; then
52653 glibcxx_cv_func_sincosf_use=yes
52654 else
52655 echo "$as_me: failed program was:" >&5
52656 sed 's/^/| /' conftest.$ac_ext >&5
52658 glibcxx_cv_func_sincosf_use=no
52660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52661 ac_ext=c
52662 ac_cpp='$CPP $CPPFLAGS'
52663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52671 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
52672 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
52674 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
52676 for ac_func in sincosf
52678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52679 echo "$as_me:$LINENO: checking for $ac_func" >&5
52680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52681 if eval "test \"\${$as_ac_var+set}\" = set"; then
52682 echo $ECHO_N "(cached) $ECHO_C" >&6
52683 else
52684 if test x$gcc_no_link = xyes; then
52685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52687 { (exit 1); exit 1; }; }
52689 cat >conftest.$ac_ext <<_ACEOF
52690 /* confdefs.h. */
52691 _ACEOF
52692 cat confdefs.h >>conftest.$ac_ext
52693 cat >>conftest.$ac_ext <<_ACEOF
52694 /* end confdefs.h. */
52695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52697 #define $ac_func innocuous_$ac_func
52699 /* System header to define __stub macros and hopefully few prototypes,
52700 which can conflict with char $ac_func (); below.
52701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52702 <limits.h> exists even on freestanding compilers. */
52704 #ifdef __STDC__
52705 # include <limits.h>
52706 #else
52707 # include <assert.h>
52708 #endif
52710 #undef $ac_func
52712 /* Override any gcc2 internal prototype to avoid an error. */
52713 #ifdef __cplusplus
52714 extern "C"
52716 #endif
52717 /* We use char because int might match the return type of a gcc2
52718 builtin and then its argument prototype would still apply. */
52719 char $ac_func ();
52720 /* The GNU C library defines this for functions which it implements
52721 to always fail with ENOSYS. Some functions are actually named
52722 something starting with __ and the normal name is an alias. */
52723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52724 choke me
52725 #else
52726 char (*f) () = $ac_func;
52727 #endif
52728 #ifdef __cplusplus
52730 #endif
52733 main ()
52735 return f != $ac_func;
52737 return 0;
52739 _ACEOF
52740 rm -f conftest.$ac_objext conftest$ac_exeext
52741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52742 (eval $ac_link) 2>conftest.er1
52743 ac_status=$?
52744 grep -v '^ *+' conftest.er1 >conftest.err
52745 rm -f conftest.er1
52746 cat conftest.err >&5
52747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52748 (exit $ac_status); } &&
52749 { ac_try='test -z "$ac_c_werror_flag"
52750 || test ! -s conftest.err'
52751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52752 (eval $ac_try) 2>&5
52753 ac_status=$?
52754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52755 (exit $ac_status); }; } &&
52756 { ac_try='test -s conftest$ac_exeext'
52757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52758 (eval $ac_try) 2>&5
52759 ac_status=$?
52760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52761 (exit $ac_status); }; }; then
52762 eval "$as_ac_var=yes"
52763 else
52764 echo "$as_me: failed program was:" >&5
52765 sed 's/^/| /' conftest.$ac_ext >&5
52767 eval "$as_ac_var=no"
52769 rm -f conftest.err conftest.$ac_objext \
52770 conftest$ac_exeext conftest.$ac_ext
52772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52774 if test `eval echo '${'$as_ac_var'}'` = yes; then
52775 cat >>confdefs.h <<_ACEOF
52776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52777 _ACEOF
52780 done
52782 else
52784 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
52785 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
52786 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
52787 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
52788 echo $ECHO_N "(cached) $ECHO_C" >&6
52789 else
52793 ac_ext=cc
52794 ac_cpp='$CXXCPP $CPPFLAGS'
52795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52799 cat >conftest.$ac_ext <<_ACEOF
52800 /* confdefs.h. */
52801 _ACEOF
52802 cat confdefs.h >>conftest.$ac_ext
52803 cat >>conftest.$ac_ext <<_ACEOF
52804 /* end confdefs.h. */
52805 #include <math.h>
52807 main ()
52809 _sincosf(0, 0, 0);
52811 return 0;
52813 _ACEOF
52814 rm -f conftest.$ac_objext
52815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52816 (eval $ac_compile) 2>conftest.er1
52817 ac_status=$?
52818 grep -v '^ *+' conftest.er1 >conftest.err
52819 rm -f conftest.er1
52820 cat conftest.err >&5
52821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52822 (exit $ac_status); } &&
52823 { ac_try='test -z "$ac_cxx_werror_flag"
52824 || test ! -s conftest.err'
52825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52826 (eval $ac_try) 2>&5
52827 ac_status=$?
52828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52829 (exit $ac_status); }; } &&
52830 { ac_try='test -s conftest.$ac_objext'
52831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52832 (eval $ac_try) 2>&5
52833 ac_status=$?
52834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52835 (exit $ac_status); }; }; then
52836 glibcxx_cv_func__sincosf_use=yes
52837 else
52838 echo "$as_me: failed program was:" >&5
52839 sed 's/^/| /' conftest.$ac_ext >&5
52841 glibcxx_cv_func__sincosf_use=no
52843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52844 ac_ext=c
52845 ac_cpp='$CPP $CPPFLAGS'
52846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52854 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
52855 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
52857 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
52859 for ac_func in _sincosf
52861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52862 echo "$as_me:$LINENO: checking for $ac_func" >&5
52863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52864 if eval "test \"\${$as_ac_var+set}\" = set"; then
52865 echo $ECHO_N "(cached) $ECHO_C" >&6
52866 else
52867 if test x$gcc_no_link = xyes; then
52868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52870 { (exit 1); exit 1; }; }
52872 cat >conftest.$ac_ext <<_ACEOF
52873 /* confdefs.h. */
52874 _ACEOF
52875 cat confdefs.h >>conftest.$ac_ext
52876 cat >>conftest.$ac_ext <<_ACEOF
52877 /* end confdefs.h. */
52878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52880 #define $ac_func innocuous_$ac_func
52882 /* System header to define __stub macros and hopefully few prototypes,
52883 which can conflict with char $ac_func (); below.
52884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52885 <limits.h> exists even on freestanding compilers. */
52887 #ifdef __STDC__
52888 # include <limits.h>
52889 #else
52890 # include <assert.h>
52891 #endif
52893 #undef $ac_func
52895 /* Override any gcc2 internal prototype to avoid an error. */
52896 #ifdef __cplusplus
52897 extern "C"
52899 #endif
52900 /* We use char because int might match the return type of a gcc2
52901 builtin and then its argument prototype would still apply. */
52902 char $ac_func ();
52903 /* The GNU C library defines this for functions which it implements
52904 to always fail with ENOSYS. Some functions are actually named
52905 something starting with __ and the normal name is an alias. */
52906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52907 choke me
52908 #else
52909 char (*f) () = $ac_func;
52910 #endif
52911 #ifdef __cplusplus
52913 #endif
52916 main ()
52918 return f != $ac_func;
52920 return 0;
52922 _ACEOF
52923 rm -f conftest.$ac_objext conftest$ac_exeext
52924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52925 (eval $ac_link) 2>conftest.er1
52926 ac_status=$?
52927 grep -v '^ *+' conftest.er1 >conftest.err
52928 rm -f conftest.er1
52929 cat conftest.err >&5
52930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52931 (exit $ac_status); } &&
52932 { ac_try='test -z "$ac_c_werror_flag"
52933 || test ! -s conftest.err'
52934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52935 (eval $ac_try) 2>&5
52936 ac_status=$?
52937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52938 (exit $ac_status); }; } &&
52939 { ac_try='test -s conftest$ac_exeext'
52940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52941 (eval $ac_try) 2>&5
52942 ac_status=$?
52943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52944 (exit $ac_status); }; }; then
52945 eval "$as_ac_var=yes"
52946 else
52947 echo "$as_me: failed program was:" >&5
52948 sed 's/^/| /' conftest.$ac_ext >&5
52950 eval "$as_ac_var=no"
52952 rm -f conftest.err conftest.$ac_objext \
52953 conftest$ac_exeext conftest.$ac_ext
52955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52957 if test `eval echo '${'$as_ac_var'}'` = yes; then
52958 cat >>confdefs.h <<_ACEOF
52959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52960 _ACEOF
52963 done
52973 echo "$as_me:$LINENO: checking for finitef declaration" >&5
52974 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
52975 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
52976 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
52977 echo $ECHO_N "(cached) $ECHO_C" >&6
52978 else
52982 ac_ext=cc
52983 ac_cpp='$CXXCPP $CPPFLAGS'
52984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52988 cat >conftest.$ac_ext <<_ACEOF
52989 /* confdefs.h. */
52990 _ACEOF
52991 cat confdefs.h >>conftest.$ac_ext
52992 cat >>conftest.$ac_ext <<_ACEOF
52993 /* end confdefs.h. */
52994 #include <math.h>
52995 #ifdef HAVE_IEEEFP_H
52996 #include <ieeefp.h>
52997 #endif
53000 main ()
53002 finitef(0);
53004 return 0;
53006 _ACEOF
53007 rm -f conftest.$ac_objext
53008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53009 (eval $ac_compile) 2>conftest.er1
53010 ac_status=$?
53011 grep -v '^ *+' conftest.er1 >conftest.err
53012 rm -f conftest.er1
53013 cat conftest.err >&5
53014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53015 (exit $ac_status); } &&
53016 { ac_try='test -z "$ac_cxx_werror_flag"
53017 || test ! -s conftest.err'
53018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53019 (eval $ac_try) 2>&5
53020 ac_status=$?
53021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53022 (exit $ac_status); }; } &&
53023 { ac_try='test -s conftest.$ac_objext'
53024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53025 (eval $ac_try) 2>&5
53026 ac_status=$?
53027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53028 (exit $ac_status); }; }; then
53029 glibcxx_cv_func_finitef_use=yes
53030 else
53031 echo "$as_me: failed program was:" >&5
53032 sed 's/^/| /' conftest.$ac_ext >&5
53034 glibcxx_cv_func_finitef_use=no
53036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53037 ac_ext=c
53038 ac_cpp='$CPP $CPPFLAGS'
53039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53047 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
53048 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
53050 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53052 for ac_func in finitef
53054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53055 echo "$as_me:$LINENO: checking for $ac_func" >&5
53056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53057 if eval "test \"\${$as_ac_var+set}\" = set"; then
53058 echo $ECHO_N "(cached) $ECHO_C" >&6
53059 else
53060 if test x$gcc_no_link = xyes; then
53061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53063 { (exit 1); exit 1; }; }
53065 cat >conftest.$ac_ext <<_ACEOF
53066 /* confdefs.h. */
53067 _ACEOF
53068 cat confdefs.h >>conftest.$ac_ext
53069 cat >>conftest.$ac_ext <<_ACEOF
53070 /* end confdefs.h. */
53071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53073 #define $ac_func innocuous_$ac_func
53075 /* System header to define __stub macros and hopefully few prototypes,
53076 which can conflict with char $ac_func (); below.
53077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53078 <limits.h> exists even on freestanding compilers. */
53080 #ifdef __STDC__
53081 # include <limits.h>
53082 #else
53083 # include <assert.h>
53084 #endif
53086 #undef $ac_func
53088 /* Override any gcc2 internal prototype to avoid an error. */
53089 #ifdef __cplusplus
53090 extern "C"
53092 #endif
53093 /* We use char because int might match the return type of a gcc2
53094 builtin and then its argument prototype would still apply. */
53095 char $ac_func ();
53096 /* The GNU C library defines this for functions which it implements
53097 to always fail with ENOSYS. Some functions are actually named
53098 something starting with __ and the normal name is an alias. */
53099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53100 choke me
53101 #else
53102 char (*f) () = $ac_func;
53103 #endif
53104 #ifdef __cplusplus
53106 #endif
53109 main ()
53111 return f != $ac_func;
53113 return 0;
53115 _ACEOF
53116 rm -f conftest.$ac_objext conftest$ac_exeext
53117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53118 (eval $ac_link) 2>conftest.er1
53119 ac_status=$?
53120 grep -v '^ *+' conftest.er1 >conftest.err
53121 rm -f conftest.er1
53122 cat conftest.err >&5
53123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53124 (exit $ac_status); } &&
53125 { ac_try='test -z "$ac_c_werror_flag"
53126 || test ! -s conftest.err'
53127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53128 (eval $ac_try) 2>&5
53129 ac_status=$?
53130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53131 (exit $ac_status); }; } &&
53132 { ac_try='test -s conftest$ac_exeext'
53133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53134 (eval $ac_try) 2>&5
53135 ac_status=$?
53136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53137 (exit $ac_status); }; }; then
53138 eval "$as_ac_var=yes"
53139 else
53140 echo "$as_me: failed program was:" >&5
53141 sed 's/^/| /' conftest.$ac_ext >&5
53143 eval "$as_ac_var=no"
53145 rm -f conftest.err conftest.$ac_objext \
53146 conftest$ac_exeext conftest.$ac_ext
53148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53150 if test `eval echo '${'$as_ac_var'}'` = yes; then
53151 cat >>confdefs.h <<_ACEOF
53152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53153 _ACEOF
53156 done
53158 else
53160 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
53161 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
53162 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53163 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
53164 echo $ECHO_N "(cached) $ECHO_C" >&6
53165 else
53169 ac_ext=cc
53170 ac_cpp='$CXXCPP $CPPFLAGS'
53171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53175 cat >conftest.$ac_ext <<_ACEOF
53176 /* confdefs.h. */
53177 _ACEOF
53178 cat confdefs.h >>conftest.$ac_ext
53179 cat >>conftest.$ac_ext <<_ACEOF
53180 /* end confdefs.h. */
53181 #include <math.h>
53182 #ifdef HAVE_IEEEFP_H
53183 #include <ieeefp.h>
53184 #endif
53187 main ()
53189 _finitef(0);
53191 return 0;
53193 _ACEOF
53194 rm -f conftest.$ac_objext
53195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53196 (eval $ac_compile) 2>conftest.er1
53197 ac_status=$?
53198 grep -v '^ *+' conftest.er1 >conftest.err
53199 rm -f conftest.er1
53200 cat conftest.err >&5
53201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53202 (exit $ac_status); } &&
53203 { ac_try='test -z "$ac_cxx_werror_flag"
53204 || test ! -s conftest.err'
53205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53206 (eval $ac_try) 2>&5
53207 ac_status=$?
53208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53209 (exit $ac_status); }; } &&
53210 { ac_try='test -s conftest.$ac_objext'
53211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53212 (eval $ac_try) 2>&5
53213 ac_status=$?
53214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53215 (exit $ac_status); }; }; then
53216 glibcxx_cv_func__finitef_use=yes
53217 else
53218 echo "$as_me: failed program was:" >&5
53219 sed 's/^/| /' conftest.$ac_ext >&5
53221 glibcxx_cv_func__finitef_use=no
53223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53224 ac_ext=c
53225 ac_cpp='$CPP $CPPFLAGS'
53226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53234 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
53235 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
53237 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53239 for ac_func in _finitef
53241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53242 echo "$as_me:$LINENO: checking for $ac_func" >&5
53243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53244 if eval "test \"\${$as_ac_var+set}\" = set"; then
53245 echo $ECHO_N "(cached) $ECHO_C" >&6
53246 else
53247 if test x$gcc_no_link = xyes; then
53248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53250 { (exit 1); exit 1; }; }
53252 cat >conftest.$ac_ext <<_ACEOF
53253 /* confdefs.h. */
53254 _ACEOF
53255 cat confdefs.h >>conftest.$ac_ext
53256 cat >>conftest.$ac_ext <<_ACEOF
53257 /* end confdefs.h. */
53258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53260 #define $ac_func innocuous_$ac_func
53262 /* System header to define __stub macros and hopefully few prototypes,
53263 which can conflict with char $ac_func (); below.
53264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53265 <limits.h> exists even on freestanding compilers. */
53267 #ifdef __STDC__
53268 # include <limits.h>
53269 #else
53270 # include <assert.h>
53271 #endif
53273 #undef $ac_func
53275 /* Override any gcc2 internal prototype to avoid an error. */
53276 #ifdef __cplusplus
53277 extern "C"
53279 #endif
53280 /* We use char because int might match the return type of a gcc2
53281 builtin and then its argument prototype would still apply. */
53282 char $ac_func ();
53283 /* The GNU C library defines this for functions which it implements
53284 to always fail with ENOSYS. Some functions are actually named
53285 something starting with __ and the normal name is an alias. */
53286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53287 choke me
53288 #else
53289 char (*f) () = $ac_func;
53290 #endif
53291 #ifdef __cplusplus
53293 #endif
53296 main ()
53298 return f != $ac_func;
53300 return 0;
53302 _ACEOF
53303 rm -f conftest.$ac_objext conftest$ac_exeext
53304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53305 (eval $ac_link) 2>conftest.er1
53306 ac_status=$?
53307 grep -v '^ *+' conftest.er1 >conftest.err
53308 rm -f conftest.er1
53309 cat conftest.err >&5
53310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53311 (exit $ac_status); } &&
53312 { ac_try='test -z "$ac_c_werror_flag"
53313 || test ! -s conftest.err'
53314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53315 (eval $ac_try) 2>&5
53316 ac_status=$?
53317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53318 (exit $ac_status); }; } &&
53319 { ac_try='test -s conftest$ac_exeext'
53320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53321 (eval $ac_try) 2>&5
53322 ac_status=$?
53323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53324 (exit $ac_status); }; }; then
53325 eval "$as_ac_var=yes"
53326 else
53327 echo "$as_me: failed program was:" >&5
53328 sed 's/^/| /' conftest.$ac_ext >&5
53330 eval "$as_ac_var=no"
53332 rm -f conftest.err conftest.$ac_objext \
53333 conftest$ac_exeext conftest.$ac_ext
53335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53337 if test `eval echo '${'$as_ac_var'}'` = yes; then
53338 cat >>confdefs.h <<_ACEOF
53339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53340 _ACEOF
53343 done
53353 echo "$as_me:$LINENO: checking for long double trig functions" >&5
53354 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
53355 if test "${glibcxx_cv_func_long_double_trig_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>
53375 main ()
53377 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53379 return 0;
53381 _ACEOF
53382 rm -f conftest.$ac_objext
53383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53384 (eval $ac_compile) 2>conftest.er1
53385 ac_status=$?
53386 grep -v '^ *+' conftest.er1 >conftest.err
53387 rm -f conftest.er1
53388 cat conftest.err >&5
53389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53390 (exit $ac_status); } &&
53391 { ac_try='test -z "$ac_cxx_werror_flag"
53392 || test ! -s conftest.err'
53393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53394 (eval $ac_try) 2>&5
53395 ac_status=$?
53396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53397 (exit $ac_status); }; } &&
53398 { ac_try='test -s conftest.$ac_objext'
53399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53400 (eval $ac_try) 2>&5
53401 ac_status=$?
53402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53403 (exit $ac_status); }; }; then
53404 glibcxx_cv_func_long_double_trig_use=yes
53405 else
53406 echo "$as_me: failed program was:" >&5
53407 sed 's/^/| /' conftest.$ac_ext >&5
53409 glibcxx_cv_func_long_double_trig_use=no
53411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53412 ac_ext=c
53413 ac_cpp='$CPP $CPPFLAGS'
53414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53420 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
53421 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
53422 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53432 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53435 echo "$as_me:$LINENO: checking for $ac_func" >&5
53436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53437 if eval "test \"\${$as_ac_var+set}\" = set"; then
53438 echo $ECHO_N "(cached) $ECHO_C" >&6
53439 else
53440 if test x$gcc_no_link = xyes; then
53441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53443 { (exit 1); exit 1; }; }
53445 cat >conftest.$ac_ext <<_ACEOF
53446 /* confdefs.h. */
53447 _ACEOF
53448 cat confdefs.h >>conftest.$ac_ext
53449 cat >>conftest.$ac_ext <<_ACEOF
53450 /* end confdefs.h. */
53451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53453 #define $ac_func innocuous_$ac_func
53455 /* System header to define __stub macros and hopefully few prototypes,
53456 which can conflict with char $ac_func (); below.
53457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53458 <limits.h> exists even on freestanding compilers. */
53460 #ifdef __STDC__
53461 # include <limits.h>
53462 #else
53463 # include <assert.h>
53464 #endif
53466 #undef $ac_func
53468 /* Override any gcc2 internal prototype to avoid an error. */
53469 #ifdef __cplusplus
53470 extern "C"
53472 #endif
53473 /* We use char because int might match the return type of a gcc2
53474 builtin and then its argument prototype would still apply. */
53475 char $ac_func ();
53476 /* The GNU C library defines this for functions which it implements
53477 to always fail with ENOSYS. Some functions are actually named
53478 something starting with __ and the normal name is an alias. */
53479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53480 choke me
53481 #else
53482 char (*f) () = $ac_func;
53483 #endif
53484 #ifdef __cplusplus
53486 #endif
53489 main ()
53491 return f != $ac_func;
53493 return 0;
53495 _ACEOF
53496 rm -f conftest.$ac_objext conftest$ac_exeext
53497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53498 (eval $ac_link) 2>conftest.er1
53499 ac_status=$?
53500 grep -v '^ *+' conftest.er1 >conftest.err
53501 rm -f conftest.er1
53502 cat conftest.err >&5
53503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53504 (exit $ac_status); } &&
53505 { ac_try='test -z "$ac_c_werror_flag"
53506 || test ! -s conftest.err'
53507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53508 (eval $ac_try) 2>&5
53509 ac_status=$?
53510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53511 (exit $ac_status); }; } &&
53512 { ac_try='test -s conftest$ac_exeext'
53513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53514 (eval $ac_try) 2>&5
53515 ac_status=$?
53516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53517 (exit $ac_status); }; }; then
53518 eval "$as_ac_var=yes"
53519 else
53520 echo "$as_me: failed program was:" >&5
53521 sed 's/^/| /' conftest.$ac_ext >&5
53523 eval "$as_ac_var=no"
53525 rm -f conftest.err conftest.$ac_objext \
53526 conftest$ac_exeext conftest.$ac_ext
53528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53530 if test `eval echo '${'$as_ac_var'}'` = yes; then
53531 cat >>confdefs.h <<_ACEOF
53532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53533 _ACEOF
53536 done
53538 else
53539 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
53540 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
53541 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
53542 echo $ECHO_N "(cached) $ECHO_C" >&6
53543 else
53547 ac_ext=cc
53548 ac_cpp='$CXXCPP $CPPFLAGS'
53549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53553 cat >conftest.$ac_ext <<_ACEOF
53554 /* confdefs.h. */
53555 _ACEOF
53556 cat confdefs.h >>conftest.$ac_ext
53557 cat >>conftest.$ac_ext <<_ACEOF
53558 /* end confdefs.h. */
53559 #include <math.h>
53561 main ()
53563 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53565 return 0;
53567 _ACEOF
53568 rm -f conftest.$ac_objext
53569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53570 (eval $ac_compile) 2>conftest.er1
53571 ac_status=$?
53572 grep -v '^ *+' conftest.er1 >conftest.err
53573 rm -f conftest.er1
53574 cat conftest.err >&5
53575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53576 (exit $ac_status); } &&
53577 { ac_try='test -z "$ac_cxx_werror_flag"
53578 || test ! -s conftest.err'
53579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53580 (eval $ac_try) 2>&5
53581 ac_status=$?
53582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53583 (exit $ac_status); }; } &&
53584 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
53590 glibcxx_cv_func__long_double_trig_use=yes
53591 else
53592 echo "$as_me: failed program was:" >&5
53593 sed 's/^/| /' conftest.$ac_ext >&5
53595 glibcxx_cv_func__long_double_trig_use=no
53597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53598 ac_ext=c
53599 ac_cpp='$CPP $CPPFLAGS'
53600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53606 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
53607 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
53608 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53618 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53621 echo "$as_me:$LINENO: checking for $ac_func" >&5
53622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53623 if eval "test \"\${$as_ac_var+set}\" = set"; then
53624 echo $ECHO_N "(cached) $ECHO_C" >&6
53625 else
53626 if test x$gcc_no_link = xyes; then
53627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53629 { (exit 1); exit 1; }; }
53631 cat >conftest.$ac_ext <<_ACEOF
53632 /* confdefs.h. */
53633 _ACEOF
53634 cat confdefs.h >>conftest.$ac_ext
53635 cat >>conftest.$ac_ext <<_ACEOF
53636 /* end confdefs.h. */
53637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53639 #define $ac_func innocuous_$ac_func
53641 /* System header to define __stub macros and hopefully few prototypes,
53642 which can conflict with char $ac_func (); below.
53643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53644 <limits.h> exists even on freestanding compilers. */
53646 #ifdef __STDC__
53647 # include <limits.h>
53648 #else
53649 # include <assert.h>
53650 #endif
53652 #undef $ac_func
53654 /* Override any gcc2 internal prototype to avoid an error. */
53655 #ifdef __cplusplus
53656 extern "C"
53658 #endif
53659 /* We use char because int might match the return type of a gcc2
53660 builtin and then its argument prototype would still apply. */
53661 char $ac_func ();
53662 /* The GNU C library defines this for functions which it implements
53663 to always fail with ENOSYS. Some functions are actually named
53664 something starting with __ and the normal name is an alias. */
53665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53666 choke me
53667 #else
53668 char (*f) () = $ac_func;
53669 #endif
53670 #ifdef __cplusplus
53672 #endif
53675 main ()
53677 return f != $ac_func;
53679 return 0;
53681 _ACEOF
53682 rm -f conftest.$ac_objext conftest$ac_exeext
53683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53684 (eval $ac_link) 2>conftest.er1
53685 ac_status=$?
53686 grep -v '^ *+' conftest.er1 >conftest.err
53687 rm -f conftest.er1
53688 cat conftest.err >&5
53689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53690 (exit $ac_status); } &&
53691 { ac_try='test -z "$ac_c_werror_flag"
53692 || test ! -s conftest.err'
53693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53694 (eval $ac_try) 2>&5
53695 ac_status=$?
53696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53697 (exit $ac_status); }; } &&
53698 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
53704 eval "$as_ac_var=yes"
53705 else
53706 echo "$as_me: failed program was:" >&5
53707 sed 's/^/| /' conftest.$ac_ext >&5
53709 eval "$as_ac_var=no"
53711 rm -f conftest.err conftest.$ac_objext \
53712 conftest$ac_exeext conftest.$ac_ext
53714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53716 if test `eval echo '${'$as_ac_var'}'` = yes; then
53717 cat >>confdefs.h <<_ACEOF
53718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53719 _ACEOF
53722 done
53740 echo "$as_me:$LINENO: checking for long double round functions" >&5
53741 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
53742 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
53743 echo $ECHO_N "(cached) $ECHO_C" >&6
53744 else
53748 ac_ext=cc
53749 ac_cpp='$CXXCPP $CPPFLAGS'
53750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53754 cat >conftest.$ac_ext <<_ACEOF
53755 /* confdefs.h. */
53756 _ACEOF
53757 cat confdefs.h >>conftest.$ac_ext
53758 cat >>conftest.$ac_ext <<_ACEOF
53759 /* end confdefs.h. */
53760 #include <math.h>
53762 main ()
53764 ceill (0); floorl (0);
53766 return 0;
53768 _ACEOF
53769 rm -f conftest.$ac_objext
53770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53771 (eval $ac_compile) 2>conftest.er1
53772 ac_status=$?
53773 grep -v '^ *+' conftest.er1 >conftest.err
53774 rm -f conftest.er1
53775 cat conftest.err >&5
53776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53777 (exit $ac_status); } &&
53778 { ac_try='test -z "$ac_cxx_werror_flag"
53779 || test ! -s conftest.err'
53780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53781 (eval $ac_try) 2>&5
53782 ac_status=$?
53783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53784 (exit $ac_status); }; } &&
53785 { ac_try='test -s conftest.$ac_objext'
53786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53787 (eval $ac_try) 2>&5
53788 ac_status=$?
53789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53790 (exit $ac_status); }; }; then
53791 glibcxx_cv_func_long_double_round_use=yes
53792 else
53793 echo "$as_me: failed program was:" >&5
53794 sed 's/^/| /' conftest.$ac_ext >&5
53796 glibcxx_cv_func_long_double_round_use=no
53798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53799 ac_ext=c
53800 ac_cpp='$CPP $CPPFLAGS'
53801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53807 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
53808 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
53809 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
53812 for ac_func in ceill floorl
53814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53815 echo "$as_me:$LINENO: checking for $ac_func" >&5
53816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53817 if eval "test \"\${$as_ac_var+set}\" = set"; then
53818 echo $ECHO_N "(cached) $ECHO_C" >&6
53819 else
53820 if test x$gcc_no_link = xyes; then
53821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53823 { (exit 1); exit 1; }; }
53825 cat >conftest.$ac_ext <<_ACEOF
53826 /* confdefs.h. */
53827 _ACEOF
53828 cat confdefs.h >>conftest.$ac_ext
53829 cat >>conftest.$ac_ext <<_ACEOF
53830 /* end confdefs.h. */
53831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53833 #define $ac_func innocuous_$ac_func
53835 /* System header to define __stub macros and hopefully few prototypes,
53836 which can conflict with char $ac_func (); below.
53837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53838 <limits.h> exists even on freestanding compilers. */
53840 #ifdef __STDC__
53841 # include <limits.h>
53842 #else
53843 # include <assert.h>
53844 #endif
53846 #undef $ac_func
53848 /* Override any gcc2 internal prototype to avoid an error. */
53849 #ifdef __cplusplus
53850 extern "C"
53852 #endif
53853 /* We use char because int might match the return type of a gcc2
53854 builtin and then its argument prototype would still apply. */
53855 char $ac_func ();
53856 /* The GNU C library defines this for functions which it implements
53857 to always fail with ENOSYS. Some functions are actually named
53858 something starting with __ and the normal name is an alias. */
53859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53860 choke me
53861 #else
53862 char (*f) () = $ac_func;
53863 #endif
53864 #ifdef __cplusplus
53866 #endif
53869 main ()
53871 return f != $ac_func;
53873 return 0;
53875 _ACEOF
53876 rm -f conftest.$ac_objext conftest$ac_exeext
53877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53878 (eval $ac_link) 2>conftest.er1
53879 ac_status=$?
53880 grep -v '^ *+' conftest.er1 >conftest.err
53881 rm -f conftest.er1
53882 cat conftest.err >&5
53883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53884 (exit $ac_status); } &&
53885 { ac_try='test -z "$ac_c_werror_flag"
53886 || test ! -s conftest.err'
53887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53888 (eval $ac_try) 2>&5
53889 ac_status=$?
53890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53891 (exit $ac_status); }; } &&
53892 { ac_try='test -s conftest$ac_exeext'
53893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53894 (eval $ac_try) 2>&5
53895 ac_status=$?
53896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53897 (exit $ac_status); }; }; then
53898 eval "$as_ac_var=yes"
53899 else
53900 echo "$as_me: failed program was:" >&5
53901 sed 's/^/| /' conftest.$ac_ext >&5
53903 eval "$as_ac_var=no"
53905 rm -f conftest.err conftest.$ac_objext \
53906 conftest$ac_exeext conftest.$ac_ext
53908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53910 if test `eval echo '${'$as_ac_var'}'` = yes; then
53911 cat >>confdefs.h <<_ACEOF
53912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53913 _ACEOF
53916 done
53918 else
53919 echo "$as_me:$LINENO: checking for _long double round functions" >&5
53920 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
53921 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
53922 echo $ECHO_N "(cached) $ECHO_C" >&6
53923 else
53927 ac_ext=cc
53928 ac_cpp='$CXXCPP $CPPFLAGS'
53929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53933 cat >conftest.$ac_ext <<_ACEOF
53934 /* confdefs.h. */
53935 _ACEOF
53936 cat confdefs.h >>conftest.$ac_ext
53937 cat >>conftest.$ac_ext <<_ACEOF
53938 /* end confdefs.h. */
53939 #include <math.h>
53941 main ()
53943 _ceill (0); _floorl (0);
53945 return 0;
53947 _ACEOF
53948 rm -f conftest.$ac_objext
53949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53950 (eval $ac_compile) 2>conftest.er1
53951 ac_status=$?
53952 grep -v '^ *+' conftest.er1 >conftest.err
53953 rm -f conftest.er1
53954 cat conftest.err >&5
53955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53956 (exit $ac_status); } &&
53957 { ac_try='test -z "$ac_cxx_werror_flag"
53958 || test ! -s conftest.err'
53959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53960 (eval $ac_try) 2>&5
53961 ac_status=$?
53962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53963 (exit $ac_status); }; } &&
53964 { ac_try='test -s conftest.$ac_objext'
53965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53966 (eval $ac_try) 2>&5
53967 ac_status=$?
53968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53969 (exit $ac_status); }; }; then
53970 glibcxx_cv_func__long_double_round_use=yes
53971 else
53972 echo "$as_me: failed program was:" >&5
53973 sed 's/^/| /' conftest.$ac_ext >&5
53975 glibcxx_cv_func__long_double_round_use=no
53977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53978 ac_ext=c
53979 ac_cpp='$CPP $CPPFLAGS'
53980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53986 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
53987 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
53988 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
53991 for ac_func in _ceill _floorl
53993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53994 echo "$as_me:$LINENO: checking for $ac_func" >&5
53995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53996 if eval "test \"\${$as_ac_var+set}\" = set"; then
53997 echo $ECHO_N "(cached) $ECHO_C" >&6
53998 else
53999 if test x$gcc_no_link = xyes; then
54000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54002 { (exit 1); exit 1; }; }
54004 cat >conftest.$ac_ext <<_ACEOF
54005 /* confdefs.h. */
54006 _ACEOF
54007 cat confdefs.h >>conftest.$ac_ext
54008 cat >>conftest.$ac_ext <<_ACEOF
54009 /* end confdefs.h. */
54010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54012 #define $ac_func innocuous_$ac_func
54014 /* System header to define __stub macros and hopefully few prototypes,
54015 which can conflict with char $ac_func (); below.
54016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54017 <limits.h> exists even on freestanding compilers. */
54019 #ifdef __STDC__
54020 # include <limits.h>
54021 #else
54022 # include <assert.h>
54023 #endif
54025 #undef $ac_func
54027 /* Override any gcc2 internal prototype to avoid an error. */
54028 #ifdef __cplusplus
54029 extern "C"
54031 #endif
54032 /* We use char because int might match the return type of a gcc2
54033 builtin and then its argument prototype would still apply. */
54034 char $ac_func ();
54035 /* The GNU C library defines this for functions which it implements
54036 to always fail with ENOSYS. Some functions are actually named
54037 something starting with __ and the normal name is an alias. */
54038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54039 choke me
54040 #else
54041 char (*f) () = $ac_func;
54042 #endif
54043 #ifdef __cplusplus
54045 #endif
54048 main ()
54050 return f != $ac_func;
54052 return 0;
54054 _ACEOF
54055 rm -f conftest.$ac_objext conftest$ac_exeext
54056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54057 (eval $ac_link) 2>conftest.er1
54058 ac_status=$?
54059 grep -v '^ *+' conftest.er1 >conftest.err
54060 rm -f conftest.er1
54061 cat conftest.err >&5
54062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54063 (exit $ac_status); } &&
54064 { ac_try='test -z "$ac_c_werror_flag"
54065 || test ! -s conftest.err'
54066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54067 (eval $ac_try) 2>&5
54068 ac_status=$?
54069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54070 (exit $ac_status); }; } &&
54071 { ac_try='test -s conftest$ac_exeext'
54072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54073 (eval $ac_try) 2>&5
54074 ac_status=$?
54075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54076 (exit $ac_status); }; }; then
54077 eval "$as_ac_var=yes"
54078 else
54079 echo "$as_me: failed program was:" >&5
54080 sed 's/^/| /' conftest.$ac_ext >&5
54082 eval "$as_ac_var=no"
54084 rm -f conftest.err conftest.$ac_objext \
54085 conftest$ac_exeext conftest.$ac_ext
54087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54089 if test `eval echo '${'$as_ac_var'}'` = yes; then
54090 cat >>confdefs.h <<_ACEOF
54091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54092 _ACEOF
54095 done
54107 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
54108 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
54109 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54110 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
54111 echo $ECHO_N "(cached) $ECHO_C" >&6
54112 else
54116 ac_ext=cc
54117 ac_cpp='$CXXCPP $CPPFLAGS'
54118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54122 cat >conftest.$ac_ext <<_ACEOF
54123 /* confdefs.h. */
54124 _ACEOF
54125 cat confdefs.h >>conftest.$ac_ext
54126 cat >>conftest.$ac_ext <<_ACEOF
54127 /* end confdefs.h. */
54128 #include <math.h>
54129 #ifdef HAVE_IEEEFP_H
54130 #include <ieeefp.h>
54131 #endif
54134 main ()
54136 isnanl(0);
54138 return 0;
54140 _ACEOF
54141 rm -f conftest.$ac_objext
54142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54143 (eval $ac_compile) 2>conftest.er1
54144 ac_status=$?
54145 grep -v '^ *+' conftest.er1 >conftest.err
54146 rm -f conftest.er1
54147 cat conftest.err >&5
54148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54149 (exit $ac_status); } &&
54150 { ac_try='test -z "$ac_cxx_werror_flag"
54151 || test ! -s conftest.err'
54152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54153 (eval $ac_try) 2>&5
54154 ac_status=$?
54155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54156 (exit $ac_status); }; } &&
54157 { ac_try='test -s conftest.$ac_objext'
54158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54159 (eval $ac_try) 2>&5
54160 ac_status=$?
54161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54162 (exit $ac_status); }; }; then
54163 glibcxx_cv_func_isnanl_use=yes
54164 else
54165 echo "$as_me: failed program was:" >&5
54166 sed 's/^/| /' conftest.$ac_ext >&5
54168 glibcxx_cv_func_isnanl_use=no
54170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54171 ac_ext=c
54172 ac_cpp='$CPP $CPPFLAGS'
54173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54181 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
54182 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
54184 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54186 for ac_func in isnanl
54188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54189 echo "$as_me:$LINENO: checking for $ac_func" >&5
54190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54191 if eval "test \"\${$as_ac_var+set}\" = set"; then
54192 echo $ECHO_N "(cached) $ECHO_C" >&6
54193 else
54194 if test x$gcc_no_link = xyes; then
54195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54197 { (exit 1); exit 1; }; }
54199 cat >conftest.$ac_ext <<_ACEOF
54200 /* confdefs.h. */
54201 _ACEOF
54202 cat confdefs.h >>conftest.$ac_ext
54203 cat >>conftest.$ac_ext <<_ACEOF
54204 /* end confdefs.h. */
54205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54207 #define $ac_func innocuous_$ac_func
54209 /* System header to define __stub macros and hopefully few prototypes,
54210 which can conflict with char $ac_func (); below.
54211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54212 <limits.h> exists even on freestanding compilers. */
54214 #ifdef __STDC__
54215 # include <limits.h>
54216 #else
54217 # include <assert.h>
54218 #endif
54220 #undef $ac_func
54222 /* Override any gcc2 internal prototype to avoid an error. */
54223 #ifdef __cplusplus
54224 extern "C"
54226 #endif
54227 /* We use char because int might match the return type of a gcc2
54228 builtin and then its argument prototype would still apply. */
54229 char $ac_func ();
54230 /* The GNU C library defines this for functions which it implements
54231 to always fail with ENOSYS. Some functions are actually named
54232 something starting with __ and the normal name is an alias. */
54233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54234 choke me
54235 #else
54236 char (*f) () = $ac_func;
54237 #endif
54238 #ifdef __cplusplus
54240 #endif
54243 main ()
54245 return f != $ac_func;
54247 return 0;
54249 _ACEOF
54250 rm -f conftest.$ac_objext conftest$ac_exeext
54251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54252 (eval $ac_link) 2>conftest.er1
54253 ac_status=$?
54254 grep -v '^ *+' conftest.er1 >conftest.err
54255 rm -f conftest.er1
54256 cat conftest.err >&5
54257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54258 (exit $ac_status); } &&
54259 { ac_try='test -z "$ac_c_werror_flag"
54260 || test ! -s conftest.err'
54261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54262 (eval $ac_try) 2>&5
54263 ac_status=$?
54264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54265 (exit $ac_status); }; } &&
54266 { ac_try='test -s conftest$ac_exeext'
54267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54268 (eval $ac_try) 2>&5
54269 ac_status=$?
54270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54271 (exit $ac_status); }; }; then
54272 eval "$as_ac_var=yes"
54273 else
54274 echo "$as_me: failed program was:" >&5
54275 sed 's/^/| /' conftest.$ac_ext >&5
54277 eval "$as_ac_var=no"
54279 rm -f conftest.err conftest.$ac_objext \
54280 conftest$ac_exeext conftest.$ac_ext
54282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54284 if test `eval echo '${'$as_ac_var'}'` = yes; then
54285 cat >>confdefs.h <<_ACEOF
54286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54287 _ACEOF
54290 done
54292 else
54294 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
54295 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
54296 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54297 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
54298 echo $ECHO_N "(cached) $ECHO_C" >&6
54299 else
54303 ac_ext=cc
54304 ac_cpp='$CXXCPP $CPPFLAGS'
54305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54309 cat >conftest.$ac_ext <<_ACEOF
54310 /* confdefs.h. */
54311 _ACEOF
54312 cat confdefs.h >>conftest.$ac_ext
54313 cat >>conftest.$ac_ext <<_ACEOF
54314 /* end confdefs.h. */
54315 #include <math.h>
54316 #ifdef HAVE_IEEEFP_H
54317 #include <ieeefp.h>
54318 #endif
54321 main ()
54323 _isnanl(0);
54325 return 0;
54327 _ACEOF
54328 rm -f conftest.$ac_objext
54329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54330 (eval $ac_compile) 2>conftest.er1
54331 ac_status=$?
54332 grep -v '^ *+' conftest.er1 >conftest.err
54333 rm -f conftest.er1
54334 cat conftest.err >&5
54335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54336 (exit $ac_status); } &&
54337 { ac_try='test -z "$ac_cxx_werror_flag"
54338 || test ! -s conftest.err'
54339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54340 (eval $ac_try) 2>&5
54341 ac_status=$?
54342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54343 (exit $ac_status); }; } &&
54344 { ac_try='test -s conftest.$ac_objext'
54345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54346 (eval $ac_try) 2>&5
54347 ac_status=$?
54348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54349 (exit $ac_status); }; }; then
54350 glibcxx_cv_func__isnanl_use=yes
54351 else
54352 echo "$as_me: failed program was:" >&5
54353 sed 's/^/| /' conftest.$ac_ext >&5
54355 glibcxx_cv_func__isnanl_use=no
54357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54358 ac_ext=c
54359 ac_cpp='$CPP $CPPFLAGS'
54360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54368 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
54369 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
54371 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54373 for ac_func in _isnanl
54375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54376 echo "$as_me:$LINENO: checking for $ac_func" >&5
54377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54378 if eval "test \"\${$as_ac_var+set}\" = set"; then
54379 echo $ECHO_N "(cached) $ECHO_C" >&6
54380 else
54381 if test x$gcc_no_link = xyes; then
54382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54384 { (exit 1); exit 1; }; }
54386 cat >conftest.$ac_ext <<_ACEOF
54387 /* confdefs.h. */
54388 _ACEOF
54389 cat confdefs.h >>conftest.$ac_ext
54390 cat >>conftest.$ac_ext <<_ACEOF
54391 /* end confdefs.h. */
54392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54394 #define $ac_func innocuous_$ac_func
54396 /* System header to define __stub macros and hopefully few prototypes,
54397 which can conflict with char $ac_func (); below.
54398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54399 <limits.h> exists even on freestanding compilers. */
54401 #ifdef __STDC__
54402 # include <limits.h>
54403 #else
54404 # include <assert.h>
54405 #endif
54407 #undef $ac_func
54409 /* Override any gcc2 internal prototype to avoid an error. */
54410 #ifdef __cplusplus
54411 extern "C"
54413 #endif
54414 /* We use char because int might match the return type of a gcc2
54415 builtin and then its argument prototype would still apply. */
54416 char $ac_func ();
54417 /* The GNU C library defines this for functions which it implements
54418 to always fail with ENOSYS. Some functions are actually named
54419 something starting with __ and the normal name is an alias. */
54420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54421 choke me
54422 #else
54423 char (*f) () = $ac_func;
54424 #endif
54425 #ifdef __cplusplus
54427 #endif
54430 main ()
54432 return f != $ac_func;
54434 return 0;
54436 _ACEOF
54437 rm -f conftest.$ac_objext conftest$ac_exeext
54438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54439 (eval $ac_link) 2>conftest.er1
54440 ac_status=$?
54441 grep -v '^ *+' conftest.er1 >conftest.err
54442 rm -f conftest.er1
54443 cat conftest.err >&5
54444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54445 (exit $ac_status); } &&
54446 { ac_try='test -z "$ac_c_werror_flag"
54447 || test ! -s conftest.err'
54448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54449 (eval $ac_try) 2>&5
54450 ac_status=$?
54451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54452 (exit $ac_status); }; } &&
54453 { ac_try='test -s conftest$ac_exeext'
54454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54455 (eval $ac_try) 2>&5
54456 ac_status=$?
54457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54458 (exit $ac_status); }; }; then
54459 eval "$as_ac_var=yes"
54460 else
54461 echo "$as_me: failed program was:" >&5
54462 sed 's/^/| /' conftest.$ac_ext >&5
54464 eval "$as_ac_var=no"
54466 rm -f conftest.err conftest.$ac_objext \
54467 conftest$ac_exeext conftest.$ac_ext
54469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54471 if test `eval echo '${'$as_ac_var'}'` = yes; then
54472 cat >>confdefs.h <<_ACEOF
54473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54474 _ACEOF
54477 done
54487 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
54488 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
54489 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54490 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
54491 echo $ECHO_N "(cached) $ECHO_C" >&6
54492 else
54496 ac_ext=cc
54497 ac_cpp='$CXXCPP $CPPFLAGS'
54498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54502 cat >conftest.$ac_ext <<_ACEOF
54503 /* confdefs.h. */
54504 _ACEOF
54505 cat confdefs.h >>conftest.$ac_ext
54506 cat >>conftest.$ac_ext <<_ACEOF
54507 /* end confdefs.h. */
54508 #include <math.h>
54509 #ifdef HAVE_IEEEFP_H
54510 #include <ieeefp.h>
54511 #endif
54514 main ()
54516 isinfl(0);
54518 return 0;
54520 _ACEOF
54521 rm -f conftest.$ac_objext
54522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54523 (eval $ac_compile) 2>conftest.er1
54524 ac_status=$?
54525 grep -v '^ *+' conftest.er1 >conftest.err
54526 rm -f conftest.er1
54527 cat conftest.err >&5
54528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54529 (exit $ac_status); } &&
54530 { ac_try='test -z "$ac_cxx_werror_flag"
54531 || test ! -s conftest.err'
54532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54533 (eval $ac_try) 2>&5
54534 ac_status=$?
54535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54536 (exit $ac_status); }; } &&
54537 { ac_try='test -s conftest.$ac_objext'
54538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54539 (eval $ac_try) 2>&5
54540 ac_status=$?
54541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54542 (exit $ac_status); }; }; then
54543 glibcxx_cv_func_isinfl_use=yes
54544 else
54545 echo "$as_me: failed program was:" >&5
54546 sed 's/^/| /' conftest.$ac_ext >&5
54548 glibcxx_cv_func_isinfl_use=no
54550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54551 ac_ext=c
54552 ac_cpp='$CPP $CPPFLAGS'
54553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54561 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
54562 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
54564 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54566 for ac_func in isinfl
54568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54569 echo "$as_me:$LINENO: checking for $ac_func" >&5
54570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54571 if eval "test \"\${$as_ac_var+set}\" = set"; then
54572 echo $ECHO_N "(cached) $ECHO_C" >&6
54573 else
54574 if test x$gcc_no_link = xyes; then
54575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54577 { (exit 1); exit 1; }; }
54579 cat >conftest.$ac_ext <<_ACEOF
54580 /* confdefs.h. */
54581 _ACEOF
54582 cat confdefs.h >>conftest.$ac_ext
54583 cat >>conftest.$ac_ext <<_ACEOF
54584 /* end confdefs.h. */
54585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54587 #define $ac_func innocuous_$ac_func
54589 /* System header to define __stub macros and hopefully few prototypes,
54590 which can conflict with char $ac_func (); below.
54591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54592 <limits.h> exists even on freestanding compilers. */
54594 #ifdef __STDC__
54595 # include <limits.h>
54596 #else
54597 # include <assert.h>
54598 #endif
54600 #undef $ac_func
54602 /* Override any gcc2 internal prototype to avoid an error. */
54603 #ifdef __cplusplus
54604 extern "C"
54606 #endif
54607 /* We use char because int might match the return type of a gcc2
54608 builtin and then its argument prototype would still apply. */
54609 char $ac_func ();
54610 /* The GNU C library defines this for functions which it implements
54611 to always fail with ENOSYS. Some functions are actually named
54612 something starting with __ and the normal name is an alias. */
54613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54614 choke me
54615 #else
54616 char (*f) () = $ac_func;
54617 #endif
54618 #ifdef __cplusplus
54620 #endif
54623 main ()
54625 return f != $ac_func;
54627 return 0;
54629 _ACEOF
54630 rm -f conftest.$ac_objext conftest$ac_exeext
54631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54632 (eval $ac_link) 2>conftest.er1
54633 ac_status=$?
54634 grep -v '^ *+' conftest.er1 >conftest.err
54635 rm -f conftest.er1
54636 cat conftest.err >&5
54637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54638 (exit $ac_status); } &&
54639 { ac_try='test -z "$ac_c_werror_flag"
54640 || test ! -s conftest.err'
54641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54642 (eval $ac_try) 2>&5
54643 ac_status=$?
54644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54645 (exit $ac_status); }; } &&
54646 { ac_try='test -s conftest$ac_exeext'
54647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54648 (eval $ac_try) 2>&5
54649 ac_status=$?
54650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54651 (exit $ac_status); }; }; then
54652 eval "$as_ac_var=yes"
54653 else
54654 echo "$as_me: failed program was:" >&5
54655 sed 's/^/| /' conftest.$ac_ext >&5
54657 eval "$as_ac_var=no"
54659 rm -f conftest.err conftest.$ac_objext \
54660 conftest$ac_exeext conftest.$ac_ext
54662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54664 if test `eval echo '${'$as_ac_var'}'` = yes; then
54665 cat >>confdefs.h <<_ACEOF
54666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54667 _ACEOF
54670 done
54672 else
54674 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
54675 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
54676 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54677 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
54678 echo $ECHO_N "(cached) $ECHO_C" >&6
54679 else
54683 ac_ext=cc
54684 ac_cpp='$CXXCPP $CPPFLAGS'
54685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54689 cat >conftest.$ac_ext <<_ACEOF
54690 /* confdefs.h. */
54691 _ACEOF
54692 cat confdefs.h >>conftest.$ac_ext
54693 cat >>conftest.$ac_ext <<_ACEOF
54694 /* end confdefs.h. */
54695 #include <math.h>
54696 #ifdef HAVE_IEEEFP_H
54697 #include <ieeefp.h>
54698 #endif
54701 main ()
54703 _isinfl(0);
54705 return 0;
54707 _ACEOF
54708 rm -f conftest.$ac_objext
54709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54710 (eval $ac_compile) 2>conftest.er1
54711 ac_status=$?
54712 grep -v '^ *+' conftest.er1 >conftest.err
54713 rm -f conftest.er1
54714 cat conftest.err >&5
54715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54716 (exit $ac_status); } &&
54717 { ac_try='test -z "$ac_cxx_werror_flag"
54718 || test ! -s conftest.err'
54719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54720 (eval $ac_try) 2>&5
54721 ac_status=$?
54722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54723 (exit $ac_status); }; } &&
54724 { ac_try='test -s conftest.$ac_objext'
54725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54726 (eval $ac_try) 2>&5
54727 ac_status=$?
54728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54729 (exit $ac_status); }; }; then
54730 glibcxx_cv_func__isinfl_use=yes
54731 else
54732 echo "$as_me: failed program was:" >&5
54733 sed 's/^/| /' conftest.$ac_ext >&5
54735 glibcxx_cv_func__isinfl_use=no
54737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54738 ac_ext=c
54739 ac_cpp='$CPP $CPPFLAGS'
54740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54748 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
54749 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
54751 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54753 for ac_func in _isinfl
54755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54756 echo "$as_me:$LINENO: checking for $ac_func" >&5
54757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54758 if eval "test \"\${$as_ac_var+set}\" = set"; then
54759 echo $ECHO_N "(cached) $ECHO_C" >&6
54760 else
54761 if test x$gcc_no_link = xyes; then
54762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54764 { (exit 1); exit 1; }; }
54766 cat >conftest.$ac_ext <<_ACEOF
54767 /* confdefs.h. */
54768 _ACEOF
54769 cat confdefs.h >>conftest.$ac_ext
54770 cat >>conftest.$ac_ext <<_ACEOF
54771 /* end confdefs.h. */
54772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54774 #define $ac_func innocuous_$ac_func
54776 /* System header to define __stub macros and hopefully few prototypes,
54777 which can conflict with char $ac_func (); below.
54778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54779 <limits.h> exists even on freestanding compilers. */
54781 #ifdef __STDC__
54782 # include <limits.h>
54783 #else
54784 # include <assert.h>
54785 #endif
54787 #undef $ac_func
54789 /* Override any gcc2 internal prototype to avoid an error. */
54790 #ifdef __cplusplus
54791 extern "C"
54793 #endif
54794 /* We use char because int might match the return type of a gcc2
54795 builtin and then its argument prototype would still apply. */
54796 char $ac_func ();
54797 /* The GNU C library defines this for functions which it implements
54798 to always fail with ENOSYS. Some functions are actually named
54799 something starting with __ and the normal name is an alias. */
54800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54801 choke me
54802 #else
54803 char (*f) () = $ac_func;
54804 #endif
54805 #ifdef __cplusplus
54807 #endif
54810 main ()
54812 return f != $ac_func;
54814 return 0;
54816 _ACEOF
54817 rm -f conftest.$ac_objext conftest$ac_exeext
54818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54819 (eval $ac_link) 2>conftest.er1
54820 ac_status=$?
54821 grep -v '^ *+' conftest.er1 >conftest.err
54822 rm -f conftest.er1
54823 cat conftest.err >&5
54824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54825 (exit $ac_status); } &&
54826 { ac_try='test -z "$ac_c_werror_flag"
54827 || test ! -s conftest.err'
54828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54829 (eval $ac_try) 2>&5
54830 ac_status=$?
54831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54832 (exit $ac_status); }; } &&
54833 { ac_try='test -s conftest$ac_exeext'
54834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54835 (eval $ac_try) 2>&5
54836 ac_status=$?
54837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54838 (exit $ac_status); }; }; then
54839 eval "$as_ac_var=yes"
54840 else
54841 echo "$as_me: failed program was:" >&5
54842 sed 's/^/| /' conftest.$ac_ext >&5
54844 eval "$as_ac_var=no"
54846 rm -f conftest.err conftest.$ac_objext \
54847 conftest$ac_exeext conftest.$ac_ext
54849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54851 if test `eval echo '${'$as_ac_var'}'` = yes; then
54852 cat >>confdefs.h <<_ACEOF
54853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54854 _ACEOF
54857 done
54867 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
54868 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
54869 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
54870 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
54871 echo $ECHO_N "(cached) $ECHO_C" >&6
54872 else
54876 ac_ext=cc
54877 ac_cpp='$CXXCPP $CPPFLAGS'
54878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54882 cat >conftest.$ac_ext <<_ACEOF
54883 /* confdefs.h. */
54884 _ACEOF
54885 cat confdefs.h >>conftest.$ac_ext
54886 cat >>conftest.$ac_ext <<_ACEOF
54887 /* end confdefs.h. */
54888 #include <math.h>
54890 main ()
54892 copysignl(0, 0);
54894 return 0;
54896 _ACEOF
54897 rm -f conftest.$ac_objext
54898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54899 (eval $ac_compile) 2>conftest.er1
54900 ac_status=$?
54901 grep -v '^ *+' conftest.er1 >conftest.err
54902 rm -f conftest.er1
54903 cat conftest.err >&5
54904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54905 (exit $ac_status); } &&
54906 { ac_try='test -z "$ac_cxx_werror_flag"
54907 || test ! -s conftest.err'
54908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54909 (eval $ac_try) 2>&5
54910 ac_status=$?
54911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54912 (exit $ac_status); }; } &&
54913 { ac_try='test -s conftest.$ac_objext'
54914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54915 (eval $ac_try) 2>&5
54916 ac_status=$?
54917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54918 (exit $ac_status); }; }; then
54919 glibcxx_cv_func_copysignl_use=yes
54920 else
54921 echo "$as_me: failed program was:" >&5
54922 sed 's/^/| /' conftest.$ac_ext >&5
54924 glibcxx_cv_func_copysignl_use=no
54926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54927 ac_ext=c
54928 ac_cpp='$CPP $CPPFLAGS'
54929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54937 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
54938 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
54940 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
54942 for ac_func in copysignl
54944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54945 echo "$as_me:$LINENO: checking for $ac_func" >&5
54946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54947 if eval "test \"\${$as_ac_var+set}\" = set"; then
54948 echo $ECHO_N "(cached) $ECHO_C" >&6
54949 else
54950 if test x$gcc_no_link = xyes; then
54951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54953 { (exit 1); exit 1; }; }
54955 cat >conftest.$ac_ext <<_ACEOF
54956 /* confdefs.h. */
54957 _ACEOF
54958 cat confdefs.h >>conftest.$ac_ext
54959 cat >>conftest.$ac_ext <<_ACEOF
54960 /* end confdefs.h. */
54961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54963 #define $ac_func innocuous_$ac_func
54965 /* System header to define __stub macros and hopefully few prototypes,
54966 which can conflict with char $ac_func (); below.
54967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54968 <limits.h> exists even on freestanding compilers. */
54970 #ifdef __STDC__
54971 # include <limits.h>
54972 #else
54973 # include <assert.h>
54974 #endif
54976 #undef $ac_func
54978 /* Override any gcc2 internal prototype to avoid an error. */
54979 #ifdef __cplusplus
54980 extern "C"
54982 #endif
54983 /* We use char because int might match the return type of a gcc2
54984 builtin and then its argument prototype would still apply. */
54985 char $ac_func ();
54986 /* The GNU C library defines this for functions which it implements
54987 to always fail with ENOSYS. Some functions are actually named
54988 something starting with __ and the normal name is an alias. */
54989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54990 choke me
54991 #else
54992 char (*f) () = $ac_func;
54993 #endif
54994 #ifdef __cplusplus
54996 #endif
54999 main ()
55001 return f != $ac_func;
55003 return 0;
55005 _ACEOF
55006 rm -f conftest.$ac_objext conftest$ac_exeext
55007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55008 (eval $ac_link) 2>conftest.er1
55009 ac_status=$?
55010 grep -v '^ *+' conftest.er1 >conftest.err
55011 rm -f conftest.er1
55012 cat conftest.err >&5
55013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55014 (exit $ac_status); } &&
55015 { ac_try='test -z "$ac_c_werror_flag"
55016 || test ! -s conftest.err'
55017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55018 (eval $ac_try) 2>&5
55019 ac_status=$?
55020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55021 (exit $ac_status); }; } &&
55022 { ac_try='test -s conftest$ac_exeext'
55023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55024 (eval $ac_try) 2>&5
55025 ac_status=$?
55026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55027 (exit $ac_status); }; }; then
55028 eval "$as_ac_var=yes"
55029 else
55030 echo "$as_me: failed program was:" >&5
55031 sed 's/^/| /' conftest.$ac_ext >&5
55033 eval "$as_ac_var=no"
55035 rm -f conftest.err conftest.$ac_objext \
55036 conftest$ac_exeext conftest.$ac_ext
55038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55040 if test `eval echo '${'$as_ac_var'}'` = yes; then
55041 cat >>confdefs.h <<_ACEOF
55042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55043 _ACEOF
55046 done
55048 else
55050 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
55051 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
55052 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
55053 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
55054 echo $ECHO_N "(cached) $ECHO_C" >&6
55055 else
55059 ac_ext=cc
55060 ac_cpp='$CXXCPP $CPPFLAGS'
55061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55065 cat >conftest.$ac_ext <<_ACEOF
55066 /* confdefs.h. */
55067 _ACEOF
55068 cat confdefs.h >>conftest.$ac_ext
55069 cat >>conftest.$ac_ext <<_ACEOF
55070 /* end confdefs.h. */
55071 #include <math.h>
55073 main ()
55075 _copysignl(0, 0);
55077 return 0;
55079 _ACEOF
55080 rm -f conftest.$ac_objext
55081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55082 (eval $ac_compile) 2>conftest.er1
55083 ac_status=$?
55084 grep -v '^ *+' conftest.er1 >conftest.err
55085 rm -f conftest.er1
55086 cat conftest.err >&5
55087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55088 (exit $ac_status); } &&
55089 { ac_try='test -z "$ac_cxx_werror_flag"
55090 || test ! -s conftest.err'
55091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55092 (eval $ac_try) 2>&5
55093 ac_status=$?
55094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55095 (exit $ac_status); }; } &&
55096 { ac_try='test -s conftest.$ac_objext'
55097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55098 (eval $ac_try) 2>&5
55099 ac_status=$?
55100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55101 (exit $ac_status); }; }; then
55102 glibcxx_cv_func__copysignl_use=yes
55103 else
55104 echo "$as_me: failed program was:" >&5
55105 sed 's/^/| /' conftest.$ac_ext >&5
55107 glibcxx_cv_func__copysignl_use=no
55109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55110 ac_ext=c
55111 ac_cpp='$CPP $CPPFLAGS'
55112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55120 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
55121 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
55123 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
55125 for ac_func in _copysignl
55127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55128 echo "$as_me:$LINENO: checking for $ac_func" >&5
55129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55130 if eval "test \"\${$as_ac_var+set}\" = set"; then
55131 echo $ECHO_N "(cached) $ECHO_C" >&6
55132 else
55133 if test x$gcc_no_link = xyes; then
55134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55136 { (exit 1); exit 1; }; }
55138 cat >conftest.$ac_ext <<_ACEOF
55139 /* confdefs.h. */
55140 _ACEOF
55141 cat confdefs.h >>conftest.$ac_ext
55142 cat >>conftest.$ac_ext <<_ACEOF
55143 /* end confdefs.h. */
55144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55146 #define $ac_func innocuous_$ac_func
55148 /* System header to define __stub macros and hopefully few prototypes,
55149 which can conflict with char $ac_func (); below.
55150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55151 <limits.h> exists even on freestanding compilers. */
55153 #ifdef __STDC__
55154 # include <limits.h>
55155 #else
55156 # include <assert.h>
55157 #endif
55159 #undef $ac_func
55161 /* Override any gcc2 internal prototype to avoid an error. */
55162 #ifdef __cplusplus
55163 extern "C"
55165 #endif
55166 /* We use char because int might match the return type of a gcc2
55167 builtin and then its argument prototype would still apply. */
55168 char $ac_func ();
55169 /* The GNU C library defines this for functions which it implements
55170 to always fail with ENOSYS. Some functions are actually named
55171 something starting with __ and the normal name is an alias. */
55172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55173 choke me
55174 #else
55175 char (*f) () = $ac_func;
55176 #endif
55177 #ifdef __cplusplus
55179 #endif
55182 main ()
55184 return f != $ac_func;
55186 return 0;
55188 _ACEOF
55189 rm -f conftest.$ac_objext conftest$ac_exeext
55190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55191 (eval $ac_link) 2>conftest.er1
55192 ac_status=$?
55193 grep -v '^ *+' conftest.er1 >conftest.err
55194 rm -f conftest.er1
55195 cat conftest.err >&5
55196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55197 (exit $ac_status); } &&
55198 { ac_try='test -z "$ac_c_werror_flag"
55199 || test ! -s conftest.err'
55200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55201 (eval $ac_try) 2>&5
55202 ac_status=$?
55203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55204 (exit $ac_status); }; } &&
55205 { ac_try='test -s conftest$ac_exeext'
55206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55207 (eval $ac_try) 2>&5
55208 ac_status=$?
55209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55210 (exit $ac_status); }; }; then
55211 eval "$as_ac_var=yes"
55212 else
55213 echo "$as_me: failed program was:" >&5
55214 sed 's/^/| /' conftest.$ac_ext >&5
55216 eval "$as_ac_var=no"
55218 rm -f conftest.err conftest.$ac_objext \
55219 conftest$ac_exeext conftest.$ac_ext
55221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55223 if test `eval echo '${'$as_ac_var'}'` = yes; then
55224 cat >>confdefs.h <<_ACEOF
55225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55226 _ACEOF
55229 done
55239 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
55240 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
55241 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55242 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
55243 echo $ECHO_N "(cached) $ECHO_C" >&6
55244 else
55248 ac_ext=cc
55249 ac_cpp='$CXXCPP $CPPFLAGS'
55250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55254 cat >conftest.$ac_ext <<_ACEOF
55255 /* confdefs.h. */
55256 _ACEOF
55257 cat confdefs.h >>conftest.$ac_ext
55258 cat >>conftest.$ac_ext <<_ACEOF
55259 /* end confdefs.h. */
55260 #include <math.h>
55262 main ()
55264 atan2l(0, 0);
55266 return 0;
55268 _ACEOF
55269 rm -f conftest.$ac_objext
55270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55271 (eval $ac_compile) 2>conftest.er1
55272 ac_status=$?
55273 grep -v '^ *+' conftest.er1 >conftest.err
55274 rm -f conftest.er1
55275 cat conftest.err >&5
55276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55277 (exit $ac_status); } &&
55278 { ac_try='test -z "$ac_cxx_werror_flag"
55279 || test ! -s conftest.err'
55280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55281 (eval $ac_try) 2>&5
55282 ac_status=$?
55283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55284 (exit $ac_status); }; } &&
55285 { ac_try='test -s conftest.$ac_objext'
55286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55287 (eval $ac_try) 2>&5
55288 ac_status=$?
55289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55290 (exit $ac_status); }; }; then
55291 glibcxx_cv_func_atan2l_use=yes
55292 else
55293 echo "$as_me: failed program was:" >&5
55294 sed 's/^/| /' conftest.$ac_ext >&5
55296 glibcxx_cv_func_atan2l_use=no
55298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55299 ac_ext=c
55300 ac_cpp='$CPP $CPPFLAGS'
55301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55309 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
55310 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
55312 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55314 for ac_func in atan2l
55316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55317 echo "$as_me:$LINENO: checking for $ac_func" >&5
55318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55319 if eval "test \"\${$as_ac_var+set}\" = set"; then
55320 echo $ECHO_N "(cached) $ECHO_C" >&6
55321 else
55322 if test x$gcc_no_link = xyes; then
55323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55325 { (exit 1); exit 1; }; }
55327 cat >conftest.$ac_ext <<_ACEOF
55328 /* confdefs.h. */
55329 _ACEOF
55330 cat confdefs.h >>conftest.$ac_ext
55331 cat >>conftest.$ac_ext <<_ACEOF
55332 /* end confdefs.h. */
55333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55335 #define $ac_func innocuous_$ac_func
55337 /* System header to define __stub macros and hopefully few prototypes,
55338 which can conflict with char $ac_func (); below.
55339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55340 <limits.h> exists even on freestanding compilers. */
55342 #ifdef __STDC__
55343 # include <limits.h>
55344 #else
55345 # include <assert.h>
55346 #endif
55348 #undef $ac_func
55350 /* Override any gcc2 internal prototype to avoid an error. */
55351 #ifdef __cplusplus
55352 extern "C"
55354 #endif
55355 /* We use char because int might match the return type of a gcc2
55356 builtin and then its argument prototype would still apply. */
55357 char $ac_func ();
55358 /* The GNU C library defines this for functions which it implements
55359 to always fail with ENOSYS. Some functions are actually named
55360 something starting with __ and the normal name is an alias. */
55361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55362 choke me
55363 #else
55364 char (*f) () = $ac_func;
55365 #endif
55366 #ifdef __cplusplus
55368 #endif
55371 main ()
55373 return f != $ac_func;
55375 return 0;
55377 _ACEOF
55378 rm -f conftest.$ac_objext conftest$ac_exeext
55379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55380 (eval $ac_link) 2>conftest.er1
55381 ac_status=$?
55382 grep -v '^ *+' conftest.er1 >conftest.err
55383 rm -f conftest.er1
55384 cat conftest.err >&5
55385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55386 (exit $ac_status); } &&
55387 { ac_try='test -z "$ac_c_werror_flag"
55388 || test ! -s conftest.err'
55389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55390 (eval $ac_try) 2>&5
55391 ac_status=$?
55392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55393 (exit $ac_status); }; } &&
55394 { ac_try='test -s conftest$ac_exeext'
55395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55396 (eval $ac_try) 2>&5
55397 ac_status=$?
55398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55399 (exit $ac_status); }; }; then
55400 eval "$as_ac_var=yes"
55401 else
55402 echo "$as_me: failed program was:" >&5
55403 sed 's/^/| /' conftest.$ac_ext >&5
55405 eval "$as_ac_var=no"
55407 rm -f conftest.err conftest.$ac_objext \
55408 conftest$ac_exeext conftest.$ac_ext
55410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55412 if test `eval echo '${'$as_ac_var'}'` = yes; then
55413 cat >>confdefs.h <<_ACEOF
55414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55415 _ACEOF
55418 done
55420 else
55422 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
55423 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
55424 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55425 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
55426 echo $ECHO_N "(cached) $ECHO_C" >&6
55427 else
55431 ac_ext=cc
55432 ac_cpp='$CXXCPP $CPPFLAGS'
55433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55437 cat >conftest.$ac_ext <<_ACEOF
55438 /* confdefs.h. */
55439 _ACEOF
55440 cat confdefs.h >>conftest.$ac_ext
55441 cat >>conftest.$ac_ext <<_ACEOF
55442 /* end confdefs.h. */
55443 #include <math.h>
55445 main ()
55447 _atan2l(0, 0);
55449 return 0;
55451 _ACEOF
55452 rm -f conftest.$ac_objext
55453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55454 (eval $ac_compile) 2>conftest.er1
55455 ac_status=$?
55456 grep -v '^ *+' conftest.er1 >conftest.err
55457 rm -f conftest.er1
55458 cat conftest.err >&5
55459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55460 (exit $ac_status); } &&
55461 { ac_try='test -z "$ac_cxx_werror_flag"
55462 || test ! -s conftest.err'
55463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55464 (eval $ac_try) 2>&5
55465 ac_status=$?
55466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55467 (exit $ac_status); }; } &&
55468 { ac_try='test -s conftest.$ac_objext'
55469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55470 (eval $ac_try) 2>&5
55471 ac_status=$?
55472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55473 (exit $ac_status); }; }; then
55474 glibcxx_cv_func__atan2l_use=yes
55475 else
55476 echo "$as_me: failed program was:" >&5
55477 sed 's/^/| /' conftest.$ac_ext >&5
55479 glibcxx_cv_func__atan2l_use=no
55481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55482 ac_ext=c
55483 ac_cpp='$CPP $CPPFLAGS'
55484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55492 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
55493 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
55495 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55497 for ac_func in _atan2l
55499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55500 echo "$as_me:$LINENO: checking for $ac_func" >&5
55501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55502 if eval "test \"\${$as_ac_var+set}\" = set"; then
55503 echo $ECHO_N "(cached) $ECHO_C" >&6
55504 else
55505 if test x$gcc_no_link = xyes; then
55506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55508 { (exit 1); exit 1; }; }
55510 cat >conftest.$ac_ext <<_ACEOF
55511 /* confdefs.h. */
55512 _ACEOF
55513 cat confdefs.h >>conftest.$ac_ext
55514 cat >>conftest.$ac_ext <<_ACEOF
55515 /* end confdefs.h. */
55516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55518 #define $ac_func innocuous_$ac_func
55520 /* System header to define __stub macros and hopefully few prototypes,
55521 which can conflict with char $ac_func (); below.
55522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55523 <limits.h> exists even on freestanding compilers. */
55525 #ifdef __STDC__
55526 # include <limits.h>
55527 #else
55528 # include <assert.h>
55529 #endif
55531 #undef $ac_func
55533 /* Override any gcc2 internal prototype to avoid an error. */
55534 #ifdef __cplusplus
55535 extern "C"
55537 #endif
55538 /* We use char because int might match the return type of a gcc2
55539 builtin and then its argument prototype would still apply. */
55540 char $ac_func ();
55541 /* The GNU C library defines this for functions which it implements
55542 to always fail with ENOSYS. Some functions are actually named
55543 something starting with __ and the normal name is an alias. */
55544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55545 choke me
55546 #else
55547 char (*f) () = $ac_func;
55548 #endif
55549 #ifdef __cplusplus
55551 #endif
55554 main ()
55556 return f != $ac_func;
55558 return 0;
55560 _ACEOF
55561 rm -f conftest.$ac_objext conftest$ac_exeext
55562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55563 (eval $ac_link) 2>conftest.er1
55564 ac_status=$?
55565 grep -v '^ *+' conftest.er1 >conftest.err
55566 rm -f conftest.er1
55567 cat conftest.err >&5
55568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55569 (exit $ac_status); } &&
55570 { ac_try='test -z "$ac_c_werror_flag"
55571 || test ! -s conftest.err'
55572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55573 (eval $ac_try) 2>&5
55574 ac_status=$?
55575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55576 (exit $ac_status); }; } &&
55577 { ac_try='test -s conftest$ac_exeext'
55578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55579 (eval $ac_try) 2>&5
55580 ac_status=$?
55581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55582 (exit $ac_status); }; }; then
55583 eval "$as_ac_var=yes"
55584 else
55585 echo "$as_me: failed program was:" >&5
55586 sed 's/^/| /' conftest.$ac_ext >&5
55588 eval "$as_ac_var=no"
55590 rm -f conftest.err conftest.$ac_objext \
55591 conftest$ac_exeext conftest.$ac_ext
55593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55595 if test `eval echo '${'$as_ac_var'}'` = yes; then
55596 cat >>confdefs.h <<_ACEOF
55597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55598 _ACEOF
55601 done
55611 echo "$as_me:$LINENO: checking for expl declaration" >&5
55612 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
55613 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55614 if test "${glibcxx_cv_func_expl_use+set}" = set; then
55615 echo $ECHO_N "(cached) $ECHO_C" >&6
55616 else
55620 ac_ext=cc
55621 ac_cpp='$CXXCPP $CPPFLAGS'
55622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55626 cat >conftest.$ac_ext <<_ACEOF
55627 /* confdefs.h. */
55628 _ACEOF
55629 cat confdefs.h >>conftest.$ac_ext
55630 cat >>conftest.$ac_ext <<_ACEOF
55631 /* end confdefs.h. */
55632 #include <math.h>
55633 #ifdef HAVE_IEEEFP_H
55634 #include <ieeefp.h>
55635 #endif
55638 main ()
55640 expl(0);
55642 return 0;
55644 _ACEOF
55645 rm -f conftest.$ac_objext
55646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55647 (eval $ac_compile) 2>conftest.er1
55648 ac_status=$?
55649 grep -v '^ *+' conftest.er1 >conftest.err
55650 rm -f conftest.er1
55651 cat conftest.err >&5
55652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55653 (exit $ac_status); } &&
55654 { ac_try='test -z "$ac_cxx_werror_flag"
55655 || test ! -s conftest.err'
55656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55657 (eval $ac_try) 2>&5
55658 ac_status=$?
55659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55660 (exit $ac_status); }; } &&
55661 { ac_try='test -s conftest.$ac_objext'
55662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55663 (eval $ac_try) 2>&5
55664 ac_status=$?
55665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55666 (exit $ac_status); }; }; then
55667 glibcxx_cv_func_expl_use=yes
55668 else
55669 echo "$as_me: failed program was:" >&5
55670 sed 's/^/| /' conftest.$ac_ext >&5
55672 glibcxx_cv_func_expl_use=no
55674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55675 ac_ext=c
55676 ac_cpp='$CPP $CPPFLAGS'
55677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55685 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
55686 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
55688 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55690 for ac_func in expl
55692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55693 echo "$as_me:$LINENO: checking for $ac_func" >&5
55694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55695 if eval "test \"\${$as_ac_var+set}\" = set"; then
55696 echo $ECHO_N "(cached) $ECHO_C" >&6
55697 else
55698 if test x$gcc_no_link = xyes; then
55699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55701 { (exit 1); exit 1; }; }
55703 cat >conftest.$ac_ext <<_ACEOF
55704 /* confdefs.h. */
55705 _ACEOF
55706 cat confdefs.h >>conftest.$ac_ext
55707 cat >>conftest.$ac_ext <<_ACEOF
55708 /* end confdefs.h. */
55709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55711 #define $ac_func innocuous_$ac_func
55713 /* System header to define __stub macros and hopefully few prototypes,
55714 which can conflict with char $ac_func (); below.
55715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55716 <limits.h> exists even on freestanding compilers. */
55718 #ifdef __STDC__
55719 # include <limits.h>
55720 #else
55721 # include <assert.h>
55722 #endif
55724 #undef $ac_func
55726 /* Override any gcc2 internal prototype to avoid an error. */
55727 #ifdef __cplusplus
55728 extern "C"
55730 #endif
55731 /* We use char because int might match the return type of a gcc2
55732 builtin and then its argument prototype would still apply. */
55733 char $ac_func ();
55734 /* The GNU C library defines this for functions which it implements
55735 to always fail with ENOSYS. Some functions are actually named
55736 something starting with __ and the normal name is an alias. */
55737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55738 choke me
55739 #else
55740 char (*f) () = $ac_func;
55741 #endif
55742 #ifdef __cplusplus
55744 #endif
55747 main ()
55749 return f != $ac_func;
55751 return 0;
55753 _ACEOF
55754 rm -f conftest.$ac_objext conftest$ac_exeext
55755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55756 (eval $ac_link) 2>conftest.er1
55757 ac_status=$?
55758 grep -v '^ *+' conftest.er1 >conftest.err
55759 rm -f conftest.er1
55760 cat conftest.err >&5
55761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55762 (exit $ac_status); } &&
55763 { ac_try='test -z "$ac_c_werror_flag"
55764 || test ! -s conftest.err'
55765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55766 (eval $ac_try) 2>&5
55767 ac_status=$?
55768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55769 (exit $ac_status); }; } &&
55770 { ac_try='test -s conftest$ac_exeext'
55771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55772 (eval $ac_try) 2>&5
55773 ac_status=$?
55774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55775 (exit $ac_status); }; }; then
55776 eval "$as_ac_var=yes"
55777 else
55778 echo "$as_me: failed program was:" >&5
55779 sed 's/^/| /' conftest.$ac_ext >&5
55781 eval "$as_ac_var=no"
55783 rm -f conftest.err conftest.$ac_objext \
55784 conftest$ac_exeext conftest.$ac_ext
55786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55788 if test `eval echo '${'$as_ac_var'}'` = yes; then
55789 cat >>confdefs.h <<_ACEOF
55790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55791 _ACEOF
55794 done
55796 else
55798 echo "$as_me:$LINENO: checking for _expl declaration" >&5
55799 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
55800 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55801 if test "${glibcxx_cv_func__expl_use+set}" = set; then
55802 echo $ECHO_N "(cached) $ECHO_C" >&6
55803 else
55807 ac_ext=cc
55808 ac_cpp='$CXXCPP $CPPFLAGS'
55809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55813 cat >conftest.$ac_ext <<_ACEOF
55814 /* confdefs.h. */
55815 _ACEOF
55816 cat confdefs.h >>conftest.$ac_ext
55817 cat >>conftest.$ac_ext <<_ACEOF
55818 /* end confdefs.h. */
55819 #include <math.h>
55820 #ifdef HAVE_IEEEFP_H
55821 #include <ieeefp.h>
55822 #endif
55825 main ()
55827 _expl(0);
55829 return 0;
55831 _ACEOF
55832 rm -f conftest.$ac_objext
55833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55834 (eval $ac_compile) 2>conftest.er1
55835 ac_status=$?
55836 grep -v '^ *+' conftest.er1 >conftest.err
55837 rm -f conftest.er1
55838 cat conftest.err >&5
55839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55840 (exit $ac_status); } &&
55841 { ac_try='test -z "$ac_cxx_werror_flag"
55842 || test ! -s conftest.err'
55843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55844 (eval $ac_try) 2>&5
55845 ac_status=$?
55846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55847 (exit $ac_status); }; } &&
55848 { ac_try='test -s conftest.$ac_objext'
55849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55850 (eval $ac_try) 2>&5
55851 ac_status=$?
55852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55853 (exit $ac_status); }; }; then
55854 glibcxx_cv_func__expl_use=yes
55855 else
55856 echo "$as_me: failed program was:" >&5
55857 sed 's/^/| /' conftest.$ac_ext >&5
55859 glibcxx_cv_func__expl_use=no
55861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55862 ac_ext=c
55863 ac_cpp='$CPP $CPPFLAGS'
55864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55872 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
55873 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
55875 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55877 for ac_func in _expl
55879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55880 echo "$as_me:$LINENO: checking for $ac_func" >&5
55881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55882 if eval "test \"\${$as_ac_var+set}\" = set"; then
55883 echo $ECHO_N "(cached) $ECHO_C" >&6
55884 else
55885 if test x$gcc_no_link = xyes; then
55886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55888 { (exit 1); exit 1; }; }
55890 cat >conftest.$ac_ext <<_ACEOF
55891 /* confdefs.h. */
55892 _ACEOF
55893 cat confdefs.h >>conftest.$ac_ext
55894 cat >>conftest.$ac_ext <<_ACEOF
55895 /* end confdefs.h. */
55896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55898 #define $ac_func innocuous_$ac_func
55900 /* System header to define __stub macros and hopefully few prototypes,
55901 which can conflict with char $ac_func (); below.
55902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55903 <limits.h> exists even on freestanding compilers. */
55905 #ifdef __STDC__
55906 # include <limits.h>
55907 #else
55908 # include <assert.h>
55909 #endif
55911 #undef $ac_func
55913 /* Override any gcc2 internal prototype to avoid an error. */
55914 #ifdef __cplusplus
55915 extern "C"
55917 #endif
55918 /* We use char because int might match the return type of a gcc2
55919 builtin and then its argument prototype would still apply. */
55920 char $ac_func ();
55921 /* The GNU C library defines this for functions which it implements
55922 to always fail with ENOSYS. Some functions are actually named
55923 something starting with __ and the normal name is an alias. */
55924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55925 choke me
55926 #else
55927 char (*f) () = $ac_func;
55928 #endif
55929 #ifdef __cplusplus
55931 #endif
55934 main ()
55936 return f != $ac_func;
55938 return 0;
55940 _ACEOF
55941 rm -f conftest.$ac_objext conftest$ac_exeext
55942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55943 (eval $ac_link) 2>conftest.er1
55944 ac_status=$?
55945 grep -v '^ *+' conftest.er1 >conftest.err
55946 rm -f conftest.er1
55947 cat conftest.err >&5
55948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55949 (exit $ac_status); } &&
55950 { ac_try='test -z "$ac_c_werror_flag"
55951 || test ! -s conftest.err'
55952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55953 (eval $ac_try) 2>&5
55954 ac_status=$?
55955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55956 (exit $ac_status); }; } &&
55957 { ac_try='test -s conftest$ac_exeext'
55958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55959 (eval $ac_try) 2>&5
55960 ac_status=$?
55961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55962 (exit $ac_status); }; }; then
55963 eval "$as_ac_var=yes"
55964 else
55965 echo "$as_me: failed program was:" >&5
55966 sed 's/^/| /' conftest.$ac_ext >&5
55968 eval "$as_ac_var=no"
55970 rm -f conftest.err conftest.$ac_objext \
55971 conftest$ac_exeext conftest.$ac_ext
55973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55975 if test `eval echo '${'$as_ac_var'}'` = yes; then
55976 cat >>confdefs.h <<_ACEOF
55977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55978 _ACEOF
55981 done
55991 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
55992 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
55993 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55994 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
55995 echo $ECHO_N "(cached) $ECHO_C" >&6
55996 else
56000 ac_ext=cc
56001 ac_cpp='$CXXCPP $CPPFLAGS'
56002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56006 cat >conftest.$ac_ext <<_ACEOF
56007 /* confdefs.h. */
56008 _ACEOF
56009 cat confdefs.h >>conftest.$ac_ext
56010 cat >>conftest.$ac_ext <<_ACEOF
56011 /* end confdefs.h. */
56012 #include <math.h>
56013 #ifdef HAVE_IEEEFP_H
56014 #include <ieeefp.h>
56015 #endif
56018 main ()
56020 fabsl(0);
56022 return 0;
56024 _ACEOF
56025 rm -f conftest.$ac_objext
56026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56027 (eval $ac_compile) 2>conftest.er1
56028 ac_status=$?
56029 grep -v '^ *+' conftest.er1 >conftest.err
56030 rm -f conftest.er1
56031 cat conftest.err >&5
56032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56033 (exit $ac_status); } &&
56034 { ac_try='test -z "$ac_cxx_werror_flag"
56035 || test ! -s conftest.err'
56036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56037 (eval $ac_try) 2>&5
56038 ac_status=$?
56039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56040 (exit $ac_status); }; } &&
56041 { ac_try='test -s conftest.$ac_objext'
56042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56043 (eval $ac_try) 2>&5
56044 ac_status=$?
56045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56046 (exit $ac_status); }; }; then
56047 glibcxx_cv_func_fabsl_use=yes
56048 else
56049 echo "$as_me: failed program was:" >&5
56050 sed 's/^/| /' conftest.$ac_ext >&5
56052 glibcxx_cv_func_fabsl_use=no
56054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56055 ac_ext=c
56056 ac_cpp='$CPP $CPPFLAGS'
56057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56065 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
56066 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
56068 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56070 for ac_func in fabsl
56072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56073 echo "$as_me:$LINENO: checking for $ac_func" >&5
56074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56075 if eval "test \"\${$as_ac_var+set}\" = set"; then
56076 echo $ECHO_N "(cached) $ECHO_C" >&6
56077 else
56078 if test x$gcc_no_link = xyes; then
56079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56081 { (exit 1); exit 1; }; }
56083 cat >conftest.$ac_ext <<_ACEOF
56084 /* confdefs.h. */
56085 _ACEOF
56086 cat confdefs.h >>conftest.$ac_ext
56087 cat >>conftest.$ac_ext <<_ACEOF
56088 /* end confdefs.h. */
56089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56091 #define $ac_func innocuous_$ac_func
56093 /* System header to define __stub macros and hopefully few prototypes,
56094 which can conflict with char $ac_func (); below.
56095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56096 <limits.h> exists even on freestanding compilers. */
56098 #ifdef __STDC__
56099 # include <limits.h>
56100 #else
56101 # include <assert.h>
56102 #endif
56104 #undef $ac_func
56106 /* Override any gcc2 internal prototype to avoid an error. */
56107 #ifdef __cplusplus
56108 extern "C"
56110 #endif
56111 /* We use char because int might match the return type of a gcc2
56112 builtin and then its argument prototype would still apply. */
56113 char $ac_func ();
56114 /* The GNU C library defines this for functions which it implements
56115 to always fail with ENOSYS. Some functions are actually named
56116 something starting with __ and the normal name is an alias. */
56117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56118 choke me
56119 #else
56120 char (*f) () = $ac_func;
56121 #endif
56122 #ifdef __cplusplus
56124 #endif
56127 main ()
56129 return f != $ac_func;
56131 return 0;
56133 _ACEOF
56134 rm -f conftest.$ac_objext conftest$ac_exeext
56135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56136 (eval $ac_link) 2>conftest.er1
56137 ac_status=$?
56138 grep -v '^ *+' conftest.er1 >conftest.err
56139 rm -f conftest.er1
56140 cat conftest.err >&5
56141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56142 (exit $ac_status); } &&
56143 { ac_try='test -z "$ac_c_werror_flag"
56144 || test ! -s conftest.err'
56145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56146 (eval $ac_try) 2>&5
56147 ac_status=$?
56148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56149 (exit $ac_status); }; } &&
56150 { ac_try='test -s conftest$ac_exeext'
56151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56152 (eval $ac_try) 2>&5
56153 ac_status=$?
56154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56155 (exit $ac_status); }; }; then
56156 eval "$as_ac_var=yes"
56157 else
56158 echo "$as_me: failed program was:" >&5
56159 sed 's/^/| /' conftest.$ac_ext >&5
56161 eval "$as_ac_var=no"
56163 rm -f conftest.err conftest.$ac_objext \
56164 conftest$ac_exeext conftest.$ac_ext
56166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56168 if test `eval echo '${'$as_ac_var'}'` = yes; then
56169 cat >>confdefs.h <<_ACEOF
56170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56171 _ACEOF
56174 done
56176 else
56178 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
56179 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
56180 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56181 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
56182 echo $ECHO_N "(cached) $ECHO_C" >&6
56183 else
56187 ac_ext=cc
56188 ac_cpp='$CXXCPP $CPPFLAGS'
56189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56193 cat >conftest.$ac_ext <<_ACEOF
56194 /* confdefs.h. */
56195 _ACEOF
56196 cat confdefs.h >>conftest.$ac_ext
56197 cat >>conftest.$ac_ext <<_ACEOF
56198 /* end confdefs.h. */
56199 #include <math.h>
56200 #ifdef HAVE_IEEEFP_H
56201 #include <ieeefp.h>
56202 #endif
56205 main ()
56207 _fabsl(0);
56209 return 0;
56211 _ACEOF
56212 rm -f conftest.$ac_objext
56213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56214 (eval $ac_compile) 2>conftest.er1
56215 ac_status=$?
56216 grep -v '^ *+' conftest.er1 >conftest.err
56217 rm -f conftest.er1
56218 cat conftest.err >&5
56219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56220 (exit $ac_status); } &&
56221 { ac_try='test -z "$ac_cxx_werror_flag"
56222 || test ! -s conftest.err'
56223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56224 (eval $ac_try) 2>&5
56225 ac_status=$?
56226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56227 (exit $ac_status); }; } &&
56228 { ac_try='test -s conftest.$ac_objext'
56229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56230 (eval $ac_try) 2>&5
56231 ac_status=$?
56232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56233 (exit $ac_status); }; }; then
56234 glibcxx_cv_func__fabsl_use=yes
56235 else
56236 echo "$as_me: failed program was:" >&5
56237 sed 's/^/| /' conftest.$ac_ext >&5
56239 glibcxx_cv_func__fabsl_use=no
56241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56242 ac_ext=c
56243 ac_cpp='$CPP $CPPFLAGS'
56244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56252 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
56253 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
56255 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56257 for ac_func in _fabsl
56259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56260 echo "$as_me:$LINENO: checking for $ac_func" >&5
56261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56262 if eval "test \"\${$as_ac_var+set}\" = set"; then
56263 echo $ECHO_N "(cached) $ECHO_C" >&6
56264 else
56265 if test x$gcc_no_link = xyes; then
56266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56268 { (exit 1); exit 1; }; }
56270 cat >conftest.$ac_ext <<_ACEOF
56271 /* confdefs.h. */
56272 _ACEOF
56273 cat confdefs.h >>conftest.$ac_ext
56274 cat >>conftest.$ac_ext <<_ACEOF
56275 /* end confdefs.h. */
56276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56278 #define $ac_func innocuous_$ac_func
56280 /* System header to define __stub macros and hopefully few prototypes,
56281 which can conflict with char $ac_func (); below.
56282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56283 <limits.h> exists even on freestanding compilers. */
56285 #ifdef __STDC__
56286 # include <limits.h>
56287 #else
56288 # include <assert.h>
56289 #endif
56291 #undef $ac_func
56293 /* Override any gcc2 internal prototype to avoid an error. */
56294 #ifdef __cplusplus
56295 extern "C"
56297 #endif
56298 /* We use char because int might match the return type of a gcc2
56299 builtin and then its argument prototype would still apply. */
56300 char $ac_func ();
56301 /* The GNU C library defines this for functions which it implements
56302 to always fail with ENOSYS. Some functions are actually named
56303 something starting with __ and the normal name is an alias. */
56304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56305 choke me
56306 #else
56307 char (*f) () = $ac_func;
56308 #endif
56309 #ifdef __cplusplus
56311 #endif
56314 main ()
56316 return f != $ac_func;
56318 return 0;
56320 _ACEOF
56321 rm -f conftest.$ac_objext conftest$ac_exeext
56322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56323 (eval $ac_link) 2>conftest.er1
56324 ac_status=$?
56325 grep -v '^ *+' conftest.er1 >conftest.err
56326 rm -f conftest.er1
56327 cat conftest.err >&5
56328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56329 (exit $ac_status); } &&
56330 { ac_try='test -z "$ac_c_werror_flag"
56331 || test ! -s conftest.err'
56332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56333 (eval $ac_try) 2>&5
56334 ac_status=$?
56335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56336 (exit $ac_status); }; } &&
56337 { ac_try='test -s conftest$ac_exeext'
56338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56339 (eval $ac_try) 2>&5
56340 ac_status=$?
56341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56342 (exit $ac_status); }; }; then
56343 eval "$as_ac_var=yes"
56344 else
56345 echo "$as_me: failed program was:" >&5
56346 sed 's/^/| /' conftest.$ac_ext >&5
56348 eval "$as_ac_var=no"
56350 rm -f conftest.err conftest.$ac_objext \
56351 conftest$ac_exeext conftest.$ac_ext
56353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56355 if test `eval echo '${'$as_ac_var'}'` = yes; then
56356 cat >>confdefs.h <<_ACEOF
56357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56358 _ACEOF
56361 done
56371 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
56372 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
56373 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56374 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
56375 echo $ECHO_N "(cached) $ECHO_C" >&6
56376 else
56380 ac_ext=cc
56381 ac_cpp='$CXXCPP $CPPFLAGS'
56382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56386 cat >conftest.$ac_ext <<_ACEOF
56387 /* confdefs.h. */
56388 _ACEOF
56389 cat confdefs.h >>conftest.$ac_ext
56390 cat >>conftest.$ac_ext <<_ACEOF
56391 /* end confdefs.h. */
56392 #include <math.h>
56394 main ()
56396 fmodl(0, 0);
56398 return 0;
56400 _ACEOF
56401 rm -f conftest.$ac_objext
56402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56403 (eval $ac_compile) 2>conftest.er1
56404 ac_status=$?
56405 grep -v '^ *+' conftest.er1 >conftest.err
56406 rm -f conftest.er1
56407 cat conftest.err >&5
56408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56409 (exit $ac_status); } &&
56410 { ac_try='test -z "$ac_cxx_werror_flag"
56411 || test ! -s conftest.err'
56412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56413 (eval $ac_try) 2>&5
56414 ac_status=$?
56415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56416 (exit $ac_status); }; } &&
56417 { ac_try='test -s conftest.$ac_objext'
56418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56419 (eval $ac_try) 2>&5
56420 ac_status=$?
56421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56422 (exit $ac_status); }; }; then
56423 glibcxx_cv_func_fmodl_use=yes
56424 else
56425 echo "$as_me: failed program was:" >&5
56426 sed 's/^/| /' conftest.$ac_ext >&5
56428 glibcxx_cv_func_fmodl_use=no
56430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56431 ac_ext=c
56432 ac_cpp='$CPP $CPPFLAGS'
56433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56441 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
56442 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
56444 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56446 for ac_func in fmodl
56448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56449 echo "$as_me:$LINENO: checking for $ac_func" >&5
56450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56451 if eval "test \"\${$as_ac_var+set}\" = set"; then
56452 echo $ECHO_N "(cached) $ECHO_C" >&6
56453 else
56454 if test x$gcc_no_link = xyes; then
56455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56457 { (exit 1); exit 1; }; }
56459 cat >conftest.$ac_ext <<_ACEOF
56460 /* confdefs.h. */
56461 _ACEOF
56462 cat confdefs.h >>conftest.$ac_ext
56463 cat >>conftest.$ac_ext <<_ACEOF
56464 /* end confdefs.h. */
56465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56467 #define $ac_func innocuous_$ac_func
56469 /* System header to define __stub macros and hopefully few prototypes,
56470 which can conflict with char $ac_func (); below.
56471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56472 <limits.h> exists even on freestanding compilers. */
56474 #ifdef __STDC__
56475 # include <limits.h>
56476 #else
56477 # include <assert.h>
56478 #endif
56480 #undef $ac_func
56482 /* Override any gcc2 internal prototype to avoid an error. */
56483 #ifdef __cplusplus
56484 extern "C"
56486 #endif
56487 /* We use char because int might match the return type of a gcc2
56488 builtin and then its argument prototype would still apply. */
56489 char $ac_func ();
56490 /* The GNU C library defines this for functions which it implements
56491 to always fail with ENOSYS. Some functions are actually named
56492 something starting with __ and the normal name is an alias. */
56493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56494 choke me
56495 #else
56496 char (*f) () = $ac_func;
56497 #endif
56498 #ifdef __cplusplus
56500 #endif
56503 main ()
56505 return f != $ac_func;
56507 return 0;
56509 _ACEOF
56510 rm -f conftest.$ac_objext conftest$ac_exeext
56511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56512 (eval $ac_link) 2>conftest.er1
56513 ac_status=$?
56514 grep -v '^ *+' conftest.er1 >conftest.err
56515 rm -f conftest.er1
56516 cat conftest.err >&5
56517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56518 (exit $ac_status); } &&
56519 { ac_try='test -z "$ac_c_werror_flag"
56520 || test ! -s conftest.err'
56521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56522 (eval $ac_try) 2>&5
56523 ac_status=$?
56524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56525 (exit $ac_status); }; } &&
56526 { ac_try='test -s conftest$ac_exeext'
56527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56528 (eval $ac_try) 2>&5
56529 ac_status=$?
56530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56531 (exit $ac_status); }; }; then
56532 eval "$as_ac_var=yes"
56533 else
56534 echo "$as_me: failed program was:" >&5
56535 sed 's/^/| /' conftest.$ac_ext >&5
56537 eval "$as_ac_var=no"
56539 rm -f conftest.err conftest.$ac_objext \
56540 conftest$ac_exeext conftest.$ac_ext
56542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56544 if test `eval echo '${'$as_ac_var'}'` = yes; then
56545 cat >>confdefs.h <<_ACEOF
56546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56547 _ACEOF
56550 done
56552 else
56554 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
56555 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
56556 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56557 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
56558 echo $ECHO_N "(cached) $ECHO_C" >&6
56559 else
56563 ac_ext=cc
56564 ac_cpp='$CXXCPP $CPPFLAGS'
56565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56569 cat >conftest.$ac_ext <<_ACEOF
56570 /* confdefs.h. */
56571 _ACEOF
56572 cat confdefs.h >>conftest.$ac_ext
56573 cat >>conftest.$ac_ext <<_ACEOF
56574 /* end confdefs.h. */
56575 #include <math.h>
56577 main ()
56579 _fmodl(0, 0);
56581 return 0;
56583 _ACEOF
56584 rm -f conftest.$ac_objext
56585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56586 (eval $ac_compile) 2>conftest.er1
56587 ac_status=$?
56588 grep -v '^ *+' conftest.er1 >conftest.err
56589 rm -f conftest.er1
56590 cat conftest.err >&5
56591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56592 (exit $ac_status); } &&
56593 { ac_try='test -z "$ac_cxx_werror_flag"
56594 || test ! -s conftest.err'
56595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56596 (eval $ac_try) 2>&5
56597 ac_status=$?
56598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56599 (exit $ac_status); }; } &&
56600 { ac_try='test -s conftest.$ac_objext'
56601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56602 (eval $ac_try) 2>&5
56603 ac_status=$?
56604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56605 (exit $ac_status); }; }; then
56606 glibcxx_cv_func__fmodl_use=yes
56607 else
56608 echo "$as_me: failed program was:" >&5
56609 sed 's/^/| /' conftest.$ac_ext >&5
56611 glibcxx_cv_func__fmodl_use=no
56613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56614 ac_ext=c
56615 ac_cpp='$CPP $CPPFLAGS'
56616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56624 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
56625 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
56627 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56629 for ac_func in _fmodl
56631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56632 echo "$as_me:$LINENO: checking for $ac_func" >&5
56633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56634 if eval "test \"\${$as_ac_var+set}\" = set"; then
56635 echo $ECHO_N "(cached) $ECHO_C" >&6
56636 else
56637 if test x$gcc_no_link = xyes; then
56638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56640 { (exit 1); exit 1; }; }
56642 cat >conftest.$ac_ext <<_ACEOF
56643 /* confdefs.h. */
56644 _ACEOF
56645 cat confdefs.h >>conftest.$ac_ext
56646 cat >>conftest.$ac_ext <<_ACEOF
56647 /* end confdefs.h. */
56648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56650 #define $ac_func innocuous_$ac_func
56652 /* System header to define __stub macros and hopefully few prototypes,
56653 which can conflict with char $ac_func (); below.
56654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56655 <limits.h> exists even on freestanding compilers. */
56657 #ifdef __STDC__
56658 # include <limits.h>
56659 #else
56660 # include <assert.h>
56661 #endif
56663 #undef $ac_func
56665 /* Override any gcc2 internal prototype to avoid an error. */
56666 #ifdef __cplusplus
56667 extern "C"
56669 #endif
56670 /* We use char because int might match the return type of a gcc2
56671 builtin and then its argument prototype would still apply. */
56672 char $ac_func ();
56673 /* The GNU C library defines this for functions which it implements
56674 to always fail with ENOSYS. Some functions are actually named
56675 something starting with __ and the normal name is an alias. */
56676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56677 choke me
56678 #else
56679 char (*f) () = $ac_func;
56680 #endif
56681 #ifdef __cplusplus
56683 #endif
56686 main ()
56688 return f != $ac_func;
56690 return 0;
56692 _ACEOF
56693 rm -f conftest.$ac_objext conftest$ac_exeext
56694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56695 (eval $ac_link) 2>conftest.er1
56696 ac_status=$?
56697 grep -v '^ *+' conftest.er1 >conftest.err
56698 rm -f conftest.er1
56699 cat conftest.err >&5
56700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56701 (exit $ac_status); } &&
56702 { ac_try='test -z "$ac_c_werror_flag"
56703 || test ! -s conftest.err'
56704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56705 (eval $ac_try) 2>&5
56706 ac_status=$?
56707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56708 (exit $ac_status); }; } &&
56709 { ac_try='test -s conftest$ac_exeext'
56710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56711 (eval $ac_try) 2>&5
56712 ac_status=$?
56713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56714 (exit $ac_status); }; }; then
56715 eval "$as_ac_var=yes"
56716 else
56717 echo "$as_me: failed program was:" >&5
56718 sed 's/^/| /' conftest.$ac_ext >&5
56720 eval "$as_ac_var=no"
56722 rm -f conftest.err conftest.$ac_objext \
56723 conftest$ac_exeext conftest.$ac_ext
56725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56727 if test `eval echo '${'$as_ac_var'}'` = yes; then
56728 cat >>confdefs.h <<_ACEOF
56729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56730 _ACEOF
56733 done
56743 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
56744 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
56745 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56746 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
56747 echo $ECHO_N "(cached) $ECHO_C" >&6
56748 else
56752 ac_ext=cc
56753 ac_cpp='$CXXCPP $CPPFLAGS'
56754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56758 cat >conftest.$ac_ext <<_ACEOF
56759 /* confdefs.h. */
56760 _ACEOF
56761 cat confdefs.h >>conftest.$ac_ext
56762 cat >>conftest.$ac_ext <<_ACEOF
56763 /* end confdefs.h. */
56764 #include <math.h>
56766 main ()
56768 frexpl(0, 0);
56770 return 0;
56772 _ACEOF
56773 rm -f conftest.$ac_objext
56774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56775 (eval $ac_compile) 2>conftest.er1
56776 ac_status=$?
56777 grep -v '^ *+' conftest.er1 >conftest.err
56778 rm -f conftest.er1
56779 cat conftest.err >&5
56780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56781 (exit $ac_status); } &&
56782 { ac_try='test -z "$ac_cxx_werror_flag"
56783 || test ! -s conftest.err'
56784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56785 (eval $ac_try) 2>&5
56786 ac_status=$?
56787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56788 (exit $ac_status); }; } &&
56789 { ac_try='test -s conftest.$ac_objext'
56790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56791 (eval $ac_try) 2>&5
56792 ac_status=$?
56793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56794 (exit $ac_status); }; }; then
56795 glibcxx_cv_func_frexpl_use=yes
56796 else
56797 echo "$as_me: failed program was:" >&5
56798 sed 's/^/| /' conftest.$ac_ext >&5
56800 glibcxx_cv_func_frexpl_use=no
56802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56803 ac_ext=c
56804 ac_cpp='$CPP $CPPFLAGS'
56805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56813 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
56814 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
56816 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56818 for ac_func in frexpl
56820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56821 echo "$as_me:$LINENO: checking for $ac_func" >&5
56822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56823 if eval "test \"\${$as_ac_var+set}\" = set"; then
56824 echo $ECHO_N "(cached) $ECHO_C" >&6
56825 else
56826 if test x$gcc_no_link = xyes; then
56827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56829 { (exit 1); exit 1; }; }
56831 cat >conftest.$ac_ext <<_ACEOF
56832 /* confdefs.h. */
56833 _ACEOF
56834 cat confdefs.h >>conftest.$ac_ext
56835 cat >>conftest.$ac_ext <<_ACEOF
56836 /* end confdefs.h. */
56837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56839 #define $ac_func innocuous_$ac_func
56841 /* System header to define __stub macros and hopefully few prototypes,
56842 which can conflict with char $ac_func (); below.
56843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56844 <limits.h> exists even on freestanding compilers. */
56846 #ifdef __STDC__
56847 # include <limits.h>
56848 #else
56849 # include <assert.h>
56850 #endif
56852 #undef $ac_func
56854 /* Override any gcc2 internal prototype to avoid an error. */
56855 #ifdef __cplusplus
56856 extern "C"
56858 #endif
56859 /* We use char because int might match the return type of a gcc2
56860 builtin and then its argument prototype would still apply. */
56861 char $ac_func ();
56862 /* The GNU C library defines this for functions which it implements
56863 to always fail with ENOSYS. Some functions are actually named
56864 something starting with __ and the normal name is an alias. */
56865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56866 choke me
56867 #else
56868 char (*f) () = $ac_func;
56869 #endif
56870 #ifdef __cplusplus
56872 #endif
56875 main ()
56877 return f != $ac_func;
56879 return 0;
56881 _ACEOF
56882 rm -f conftest.$ac_objext conftest$ac_exeext
56883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56884 (eval $ac_link) 2>conftest.er1
56885 ac_status=$?
56886 grep -v '^ *+' conftest.er1 >conftest.err
56887 rm -f conftest.er1
56888 cat conftest.err >&5
56889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56890 (exit $ac_status); } &&
56891 { ac_try='test -z "$ac_c_werror_flag"
56892 || test ! -s conftest.err'
56893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56894 (eval $ac_try) 2>&5
56895 ac_status=$?
56896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56897 (exit $ac_status); }; } &&
56898 { ac_try='test -s conftest$ac_exeext'
56899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56900 (eval $ac_try) 2>&5
56901 ac_status=$?
56902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56903 (exit $ac_status); }; }; then
56904 eval "$as_ac_var=yes"
56905 else
56906 echo "$as_me: failed program was:" >&5
56907 sed 's/^/| /' conftest.$ac_ext >&5
56909 eval "$as_ac_var=no"
56911 rm -f conftest.err conftest.$ac_objext \
56912 conftest$ac_exeext conftest.$ac_ext
56914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56916 if test `eval echo '${'$as_ac_var'}'` = yes; then
56917 cat >>confdefs.h <<_ACEOF
56918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56919 _ACEOF
56922 done
56924 else
56926 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
56927 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
56928 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56929 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
56930 echo $ECHO_N "(cached) $ECHO_C" >&6
56931 else
56935 ac_ext=cc
56936 ac_cpp='$CXXCPP $CPPFLAGS'
56937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56941 cat >conftest.$ac_ext <<_ACEOF
56942 /* confdefs.h. */
56943 _ACEOF
56944 cat confdefs.h >>conftest.$ac_ext
56945 cat >>conftest.$ac_ext <<_ACEOF
56946 /* end confdefs.h. */
56947 #include <math.h>
56949 main ()
56951 _frexpl(0, 0);
56953 return 0;
56955 _ACEOF
56956 rm -f conftest.$ac_objext
56957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56958 (eval $ac_compile) 2>conftest.er1
56959 ac_status=$?
56960 grep -v '^ *+' conftest.er1 >conftest.err
56961 rm -f conftest.er1
56962 cat conftest.err >&5
56963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56964 (exit $ac_status); } &&
56965 { ac_try='test -z "$ac_cxx_werror_flag"
56966 || test ! -s conftest.err'
56967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56968 (eval $ac_try) 2>&5
56969 ac_status=$?
56970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56971 (exit $ac_status); }; } &&
56972 { ac_try='test -s conftest.$ac_objext'
56973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56974 (eval $ac_try) 2>&5
56975 ac_status=$?
56976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56977 (exit $ac_status); }; }; then
56978 glibcxx_cv_func__frexpl_use=yes
56979 else
56980 echo "$as_me: failed program was:" >&5
56981 sed 's/^/| /' conftest.$ac_ext >&5
56983 glibcxx_cv_func__frexpl_use=no
56985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56986 ac_ext=c
56987 ac_cpp='$CPP $CPPFLAGS'
56988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56996 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
56997 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
56999 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57001 for ac_func in _frexpl
57003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57004 echo "$as_me:$LINENO: checking for $ac_func" >&5
57005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57006 if eval "test \"\${$as_ac_var+set}\" = set"; then
57007 echo $ECHO_N "(cached) $ECHO_C" >&6
57008 else
57009 if test x$gcc_no_link = xyes; then
57010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57012 { (exit 1); exit 1; }; }
57014 cat >conftest.$ac_ext <<_ACEOF
57015 /* confdefs.h. */
57016 _ACEOF
57017 cat confdefs.h >>conftest.$ac_ext
57018 cat >>conftest.$ac_ext <<_ACEOF
57019 /* end confdefs.h. */
57020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57022 #define $ac_func innocuous_$ac_func
57024 /* System header to define __stub macros and hopefully few prototypes,
57025 which can conflict with char $ac_func (); below.
57026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57027 <limits.h> exists even on freestanding compilers. */
57029 #ifdef __STDC__
57030 # include <limits.h>
57031 #else
57032 # include <assert.h>
57033 #endif
57035 #undef $ac_func
57037 /* Override any gcc2 internal prototype to avoid an error. */
57038 #ifdef __cplusplus
57039 extern "C"
57041 #endif
57042 /* We use char because int might match the return type of a gcc2
57043 builtin and then its argument prototype would still apply. */
57044 char $ac_func ();
57045 /* The GNU C library defines this for functions which it implements
57046 to always fail with ENOSYS. Some functions are actually named
57047 something starting with __ and the normal name is an alias. */
57048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57049 choke me
57050 #else
57051 char (*f) () = $ac_func;
57052 #endif
57053 #ifdef __cplusplus
57055 #endif
57058 main ()
57060 return f != $ac_func;
57062 return 0;
57064 _ACEOF
57065 rm -f conftest.$ac_objext conftest$ac_exeext
57066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57067 (eval $ac_link) 2>conftest.er1
57068 ac_status=$?
57069 grep -v '^ *+' conftest.er1 >conftest.err
57070 rm -f conftest.er1
57071 cat conftest.err >&5
57072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57073 (exit $ac_status); } &&
57074 { ac_try='test -z "$ac_c_werror_flag"
57075 || test ! -s conftest.err'
57076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57077 (eval $ac_try) 2>&5
57078 ac_status=$?
57079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57080 (exit $ac_status); }; } &&
57081 { ac_try='test -s conftest$ac_exeext'
57082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57083 (eval $ac_try) 2>&5
57084 ac_status=$?
57085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57086 (exit $ac_status); }; }; then
57087 eval "$as_ac_var=yes"
57088 else
57089 echo "$as_me: failed program was:" >&5
57090 sed 's/^/| /' conftest.$ac_ext >&5
57092 eval "$as_ac_var=no"
57094 rm -f conftest.err conftest.$ac_objext \
57095 conftest$ac_exeext conftest.$ac_ext
57097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57099 if test `eval echo '${'$as_ac_var'}'` = yes; then
57100 cat >>confdefs.h <<_ACEOF
57101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57102 _ACEOF
57105 done
57115 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
57116 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
57117 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57118 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
57119 echo $ECHO_N "(cached) $ECHO_C" >&6
57120 else
57124 ac_ext=cc
57125 ac_cpp='$CXXCPP $CPPFLAGS'
57126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57130 cat >conftest.$ac_ext <<_ACEOF
57131 /* confdefs.h. */
57132 _ACEOF
57133 cat confdefs.h >>conftest.$ac_ext
57134 cat >>conftest.$ac_ext <<_ACEOF
57135 /* end confdefs.h. */
57136 #include <math.h>
57138 main ()
57140 hypotl(0, 0);
57142 return 0;
57144 _ACEOF
57145 rm -f conftest.$ac_objext
57146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57147 (eval $ac_compile) 2>conftest.er1
57148 ac_status=$?
57149 grep -v '^ *+' conftest.er1 >conftest.err
57150 rm -f conftest.er1
57151 cat conftest.err >&5
57152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57153 (exit $ac_status); } &&
57154 { ac_try='test -z "$ac_cxx_werror_flag"
57155 || test ! -s conftest.err'
57156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57157 (eval $ac_try) 2>&5
57158 ac_status=$?
57159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57160 (exit $ac_status); }; } &&
57161 { ac_try='test -s conftest.$ac_objext'
57162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57163 (eval $ac_try) 2>&5
57164 ac_status=$?
57165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57166 (exit $ac_status); }; }; then
57167 glibcxx_cv_func_hypotl_use=yes
57168 else
57169 echo "$as_me: failed program was:" >&5
57170 sed 's/^/| /' conftest.$ac_ext >&5
57172 glibcxx_cv_func_hypotl_use=no
57174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57175 ac_ext=c
57176 ac_cpp='$CPP $CPPFLAGS'
57177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57185 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
57186 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
57188 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57190 for ac_func in hypotl
57192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57193 echo "$as_me:$LINENO: checking for $ac_func" >&5
57194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57195 if eval "test \"\${$as_ac_var+set}\" = set"; then
57196 echo $ECHO_N "(cached) $ECHO_C" >&6
57197 else
57198 if test x$gcc_no_link = xyes; then
57199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57201 { (exit 1); exit 1; }; }
57203 cat >conftest.$ac_ext <<_ACEOF
57204 /* confdefs.h. */
57205 _ACEOF
57206 cat confdefs.h >>conftest.$ac_ext
57207 cat >>conftest.$ac_ext <<_ACEOF
57208 /* end confdefs.h. */
57209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57211 #define $ac_func innocuous_$ac_func
57213 /* System header to define __stub macros and hopefully few prototypes,
57214 which can conflict with char $ac_func (); below.
57215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57216 <limits.h> exists even on freestanding compilers. */
57218 #ifdef __STDC__
57219 # include <limits.h>
57220 #else
57221 # include <assert.h>
57222 #endif
57224 #undef $ac_func
57226 /* Override any gcc2 internal prototype to avoid an error. */
57227 #ifdef __cplusplus
57228 extern "C"
57230 #endif
57231 /* We use char because int might match the return type of a gcc2
57232 builtin and then its argument prototype would still apply. */
57233 char $ac_func ();
57234 /* The GNU C library defines this for functions which it implements
57235 to always fail with ENOSYS. Some functions are actually named
57236 something starting with __ and the normal name is an alias. */
57237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57238 choke me
57239 #else
57240 char (*f) () = $ac_func;
57241 #endif
57242 #ifdef __cplusplus
57244 #endif
57247 main ()
57249 return f != $ac_func;
57251 return 0;
57253 _ACEOF
57254 rm -f conftest.$ac_objext conftest$ac_exeext
57255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57256 (eval $ac_link) 2>conftest.er1
57257 ac_status=$?
57258 grep -v '^ *+' conftest.er1 >conftest.err
57259 rm -f conftest.er1
57260 cat conftest.err >&5
57261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57262 (exit $ac_status); } &&
57263 { ac_try='test -z "$ac_c_werror_flag"
57264 || test ! -s conftest.err'
57265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57266 (eval $ac_try) 2>&5
57267 ac_status=$?
57268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57269 (exit $ac_status); }; } &&
57270 { ac_try='test -s conftest$ac_exeext'
57271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57272 (eval $ac_try) 2>&5
57273 ac_status=$?
57274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57275 (exit $ac_status); }; }; then
57276 eval "$as_ac_var=yes"
57277 else
57278 echo "$as_me: failed program was:" >&5
57279 sed 's/^/| /' conftest.$ac_ext >&5
57281 eval "$as_ac_var=no"
57283 rm -f conftest.err conftest.$ac_objext \
57284 conftest$ac_exeext conftest.$ac_ext
57286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57288 if test `eval echo '${'$as_ac_var'}'` = yes; then
57289 cat >>confdefs.h <<_ACEOF
57290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57291 _ACEOF
57294 done
57296 else
57298 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
57299 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
57300 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57301 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
57302 echo $ECHO_N "(cached) $ECHO_C" >&6
57303 else
57307 ac_ext=cc
57308 ac_cpp='$CXXCPP $CPPFLAGS'
57309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57313 cat >conftest.$ac_ext <<_ACEOF
57314 /* confdefs.h. */
57315 _ACEOF
57316 cat confdefs.h >>conftest.$ac_ext
57317 cat >>conftest.$ac_ext <<_ACEOF
57318 /* end confdefs.h. */
57319 #include <math.h>
57321 main ()
57323 _hypotl(0, 0);
57325 return 0;
57327 _ACEOF
57328 rm -f conftest.$ac_objext
57329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57330 (eval $ac_compile) 2>conftest.er1
57331 ac_status=$?
57332 grep -v '^ *+' conftest.er1 >conftest.err
57333 rm -f conftest.er1
57334 cat conftest.err >&5
57335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57336 (exit $ac_status); } &&
57337 { ac_try='test -z "$ac_cxx_werror_flag"
57338 || test ! -s conftest.err'
57339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57340 (eval $ac_try) 2>&5
57341 ac_status=$?
57342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57343 (exit $ac_status); }; } &&
57344 { ac_try='test -s conftest.$ac_objext'
57345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57346 (eval $ac_try) 2>&5
57347 ac_status=$?
57348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57349 (exit $ac_status); }; }; then
57350 glibcxx_cv_func__hypotl_use=yes
57351 else
57352 echo "$as_me: failed program was:" >&5
57353 sed 's/^/| /' conftest.$ac_ext >&5
57355 glibcxx_cv_func__hypotl_use=no
57357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57358 ac_ext=c
57359 ac_cpp='$CPP $CPPFLAGS'
57360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57368 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
57369 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
57371 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57373 for ac_func in _hypotl
57375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57376 echo "$as_me:$LINENO: checking for $ac_func" >&5
57377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57378 if eval "test \"\${$as_ac_var+set}\" = set"; then
57379 echo $ECHO_N "(cached) $ECHO_C" >&6
57380 else
57381 if test x$gcc_no_link = xyes; then
57382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57384 { (exit 1); exit 1; }; }
57386 cat >conftest.$ac_ext <<_ACEOF
57387 /* confdefs.h. */
57388 _ACEOF
57389 cat confdefs.h >>conftest.$ac_ext
57390 cat >>conftest.$ac_ext <<_ACEOF
57391 /* end confdefs.h. */
57392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57394 #define $ac_func innocuous_$ac_func
57396 /* System header to define __stub macros and hopefully few prototypes,
57397 which can conflict with char $ac_func (); below.
57398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57399 <limits.h> exists even on freestanding compilers. */
57401 #ifdef __STDC__
57402 # include <limits.h>
57403 #else
57404 # include <assert.h>
57405 #endif
57407 #undef $ac_func
57409 /* Override any gcc2 internal prototype to avoid an error. */
57410 #ifdef __cplusplus
57411 extern "C"
57413 #endif
57414 /* We use char because int might match the return type of a gcc2
57415 builtin and then its argument prototype would still apply. */
57416 char $ac_func ();
57417 /* The GNU C library defines this for functions which it implements
57418 to always fail with ENOSYS. Some functions are actually named
57419 something starting with __ and the normal name is an alias. */
57420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57421 choke me
57422 #else
57423 char (*f) () = $ac_func;
57424 #endif
57425 #ifdef __cplusplus
57427 #endif
57430 main ()
57432 return f != $ac_func;
57434 return 0;
57436 _ACEOF
57437 rm -f conftest.$ac_objext conftest$ac_exeext
57438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57439 (eval $ac_link) 2>conftest.er1
57440 ac_status=$?
57441 grep -v '^ *+' conftest.er1 >conftest.err
57442 rm -f conftest.er1
57443 cat conftest.err >&5
57444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57445 (exit $ac_status); } &&
57446 { ac_try='test -z "$ac_c_werror_flag"
57447 || test ! -s conftest.err'
57448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57449 (eval $ac_try) 2>&5
57450 ac_status=$?
57451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57452 (exit $ac_status); }; } &&
57453 { ac_try='test -s conftest$ac_exeext'
57454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57455 (eval $ac_try) 2>&5
57456 ac_status=$?
57457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57458 (exit $ac_status); }; }; then
57459 eval "$as_ac_var=yes"
57460 else
57461 echo "$as_me: failed program was:" >&5
57462 sed 's/^/| /' conftest.$ac_ext >&5
57464 eval "$as_ac_var=no"
57466 rm -f conftest.err conftest.$ac_objext \
57467 conftest$ac_exeext conftest.$ac_ext
57469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57471 if test `eval echo '${'$as_ac_var'}'` = yes; then
57472 cat >>confdefs.h <<_ACEOF
57473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57474 _ACEOF
57477 done
57487 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
57488 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
57489 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57490 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
57491 echo $ECHO_N "(cached) $ECHO_C" >&6
57492 else
57496 ac_ext=cc
57497 ac_cpp='$CXXCPP $CPPFLAGS'
57498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57502 cat >conftest.$ac_ext <<_ACEOF
57503 /* confdefs.h. */
57504 _ACEOF
57505 cat confdefs.h >>conftest.$ac_ext
57506 cat >>conftest.$ac_ext <<_ACEOF
57507 /* end confdefs.h. */
57508 #include <math.h>
57510 main ()
57512 ldexpl(0, 0);
57514 return 0;
57516 _ACEOF
57517 rm -f conftest.$ac_objext
57518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57519 (eval $ac_compile) 2>conftest.er1
57520 ac_status=$?
57521 grep -v '^ *+' conftest.er1 >conftest.err
57522 rm -f conftest.er1
57523 cat conftest.err >&5
57524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57525 (exit $ac_status); } &&
57526 { ac_try='test -z "$ac_cxx_werror_flag"
57527 || test ! -s conftest.err'
57528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57529 (eval $ac_try) 2>&5
57530 ac_status=$?
57531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57532 (exit $ac_status); }; } &&
57533 { ac_try='test -s conftest.$ac_objext'
57534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57535 (eval $ac_try) 2>&5
57536 ac_status=$?
57537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57538 (exit $ac_status); }; }; then
57539 glibcxx_cv_func_ldexpl_use=yes
57540 else
57541 echo "$as_me: failed program was:" >&5
57542 sed 's/^/| /' conftest.$ac_ext >&5
57544 glibcxx_cv_func_ldexpl_use=no
57546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57547 ac_ext=c
57548 ac_cpp='$CPP $CPPFLAGS'
57549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57557 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
57558 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
57560 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57562 for ac_func in ldexpl
57564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57565 echo "$as_me:$LINENO: checking for $ac_func" >&5
57566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57567 if eval "test \"\${$as_ac_var+set}\" = set"; then
57568 echo $ECHO_N "(cached) $ECHO_C" >&6
57569 else
57570 if test x$gcc_no_link = xyes; then
57571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57573 { (exit 1); exit 1; }; }
57575 cat >conftest.$ac_ext <<_ACEOF
57576 /* confdefs.h. */
57577 _ACEOF
57578 cat confdefs.h >>conftest.$ac_ext
57579 cat >>conftest.$ac_ext <<_ACEOF
57580 /* end confdefs.h. */
57581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57583 #define $ac_func innocuous_$ac_func
57585 /* System header to define __stub macros and hopefully few prototypes,
57586 which can conflict with char $ac_func (); below.
57587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57588 <limits.h> exists even on freestanding compilers. */
57590 #ifdef __STDC__
57591 # include <limits.h>
57592 #else
57593 # include <assert.h>
57594 #endif
57596 #undef $ac_func
57598 /* Override any gcc2 internal prototype to avoid an error. */
57599 #ifdef __cplusplus
57600 extern "C"
57602 #endif
57603 /* We use char because int might match the return type of a gcc2
57604 builtin and then its argument prototype would still apply. */
57605 char $ac_func ();
57606 /* The GNU C library defines this for functions which it implements
57607 to always fail with ENOSYS. Some functions are actually named
57608 something starting with __ and the normal name is an alias. */
57609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57610 choke me
57611 #else
57612 char (*f) () = $ac_func;
57613 #endif
57614 #ifdef __cplusplus
57616 #endif
57619 main ()
57621 return f != $ac_func;
57623 return 0;
57625 _ACEOF
57626 rm -f conftest.$ac_objext conftest$ac_exeext
57627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57628 (eval $ac_link) 2>conftest.er1
57629 ac_status=$?
57630 grep -v '^ *+' conftest.er1 >conftest.err
57631 rm -f conftest.er1
57632 cat conftest.err >&5
57633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57634 (exit $ac_status); } &&
57635 { ac_try='test -z "$ac_c_werror_flag"
57636 || test ! -s conftest.err'
57637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57638 (eval $ac_try) 2>&5
57639 ac_status=$?
57640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57641 (exit $ac_status); }; } &&
57642 { ac_try='test -s conftest$ac_exeext'
57643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57644 (eval $ac_try) 2>&5
57645 ac_status=$?
57646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57647 (exit $ac_status); }; }; then
57648 eval "$as_ac_var=yes"
57649 else
57650 echo "$as_me: failed program was:" >&5
57651 sed 's/^/| /' conftest.$ac_ext >&5
57653 eval "$as_ac_var=no"
57655 rm -f conftest.err conftest.$ac_objext \
57656 conftest$ac_exeext conftest.$ac_ext
57658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57660 if test `eval echo '${'$as_ac_var'}'` = yes; then
57661 cat >>confdefs.h <<_ACEOF
57662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57663 _ACEOF
57666 done
57668 else
57670 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
57671 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
57672 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57673 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
57674 echo $ECHO_N "(cached) $ECHO_C" >&6
57675 else
57679 ac_ext=cc
57680 ac_cpp='$CXXCPP $CPPFLAGS'
57681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57685 cat >conftest.$ac_ext <<_ACEOF
57686 /* confdefs.h. */
57687 _ACEOF
57688 cat confdefs.h >>conftest.$ac_ext
57689 cat >>conftest.$ac_ext <<_ACEOF
57690 /* end confdefs.h. */
57691 #include <math.h>
57693 main ()
57695 _ldexpl(0, 0);
57697 return 0;
57699 _ACEOF
57700 rm -f conftest.$ac_objext
57701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57702 (eval $ac_compile) 2>conftest.er1
57703 ac_status=$?
57704 grep -v '^ *+' conftest.er1 >conftest.err
57705 rm -f conftest.er1
57706 cat conftest.err >&5
57707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57708 (exit $ac_status); } &&
57709 { ac_try='test -z "$ac_cxx_werror_flag"
57710 || test ! -s conftest.err'
57711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57712 (eval $ac_try) 2>&5
57713 ac_status=$?
57714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57715 (exit $ac_status); }; } &&
57716 { ac_try='test -s conftest.$ac_objext'
57717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57718 (eval $ac_try) 2>&5
57719 ac_status=$?
57720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57721 (exit $ac_status); }; }; then
57722 glibcxx_cv_func__ldexpl_use=yes
57723 else
57724 echo "$as_me: failed program was:" >&5
57725 sed 's/^/| /' conftest.$ac_ext >&5
57727 glibcxx_cv_func__ldexpl_use=no
57729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57730 ac_ext=c
57731 ac_cpp='$CPP $CPPFLAGS'
57732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57740 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
57741 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
57743 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57745 for ac_func in _ldexpl
57747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57748 echo "$as_me:$LINENO: checking for $ac_func" >&5
57749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57750 if eval "test \"\${$as_ac_var+set}\" = set"; then
57751 echo $ECHO_N "(cached) $ECHO_C" >&6
57752 else
57753 if test x$gcc_no_link = xyes; then
57754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57756 { (exit 1); exit 1; }; }
57758 cat >conftest.$ac_ext <<_ACEOF
57759 /* confdefs.h. */
57760 _ACEOF
57761 cat confdefs.h >>conftest.$ac_ext
57762 cat >>conftest.$ac_ext <<_ACEOF
57763 /* end confdefs.h. */
57764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57766 #define $ac_func innocuous_$ac_func
57768 /* System header to define __stub macros and hopefully few prototypes,
57769 which can conflict with char $ac_func (); below.
57770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57771 <limits.h> exists even on freestanding compilers. */
57773 #ifdef __STDC__
57774 # include <limits.h>
57775 #else
57776 # include <assert.h>
57777 #endif
57779 #undef $ac_func
57781 /* Override any gcc2 internal prototype to avoid an error. */
57782 #ifdef __cplusplus
57783 extern "C"
57785 #endif
57786 /* We use char because int might match the return type of a gcc2
57787 builtin and then its argument prototype would still apply. */
57788 char $ac_func ();
57789 /* The GNU C library defines this for functions which it implements
57790 to always fail with ENOSYS. Some functions are actually named
57791 something starting with __ and the normal name is an alias. */
57792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57793 choke me
57794 #else
57795 char (*f) () = $ac_func;
57796 #endif
57797 #ifdef __cplusplus
57799 #endif
57802 main ()
57804 return f != $ac_func;
57806 return 0;
57808 _ACEOF
57809 rm -f conftest.$ac_objext conftest$ac_exeext
57810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57811 (eval $ac_link) 2>conftest.er1
57812 ac_status=$?
57813 grep -v '^ *+' conftest.er1 >conftest.err
57814 rm -f conftest.er1
57815 cat conftest.err >&5
57816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57817 (exit $ac_status); } &&
57818 { ac_try='test -z "$ac_c_werror_flag"
57819 || test ! -s conftest.err'
57820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57821 (eval $ac_try) 2>&5
57822 ac_status=$?
57823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57824 (exit $ac_status); }; } &&
57825 { ac_try='test -s conftest$ac_exeext'
57826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57827 (eval $ac_try) 2>&5
57828 ac_status=$?
57829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57830 (exit $ac_status); }; }; then
57831 eval "$as_ac_var=yes"
57832 else
57833 echo "$as_me: failed program was:" >&5
57834 sed 's/^/| /' conftest.$ac_ext >&5
57836 eval "$as_ac_var=no"
57838 rm -f conftest.err conftest.$ac_objext \
57839 conftest$ac_exeext conftest.$ac_ext
57841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57843 if test `eval echo '${'$as_ac_var'}'` = yes; then
57844 cat >>confdefs.h <<_ACEOF
57845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57846 _ACEOF
57849 done
57859 echo "$as_me:$LINENO: checking for logl declaration" >&5
57860 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
57861 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57862 if test "${glibcxx_cv_func_logl_use+set}" = set; then
57863 echo $ECHO_N "(cached) $ECHO_C" >&6
57864 else
57868 ac_ext=cc
57869 ac_cpp='$CXXCPP $CPPFLAGS'
57870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57874 cat >conftest.$ac_ext <<_ACEOF
57875 /* confdefs.h. */
57876 _ACEOF
57877 cat confdefs.h >>conftest.$ac_ext
57878 cat >>conftest.$ac_ext <<_ACEOF
57879 /* end confdefs.h. */
57880 #include <math.h>
57881 #ifdef HAVE_IEEEFP_H
57882 #include <ieeefp.h>
57883 #endif
57886 main ()
57888 logl(0);
57890 return 0;
57892 _ACEOF
57893 rm -f conftest.$ac_objext
57894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57895 (eval $ac_compile) 2>conftest.er1
57896 ac_status=$?
57897 grep -v '^ *+' conftest.er1 >conftest.err
57898 rm -f conftest.er1
57899 cat conftest.err >&5
57900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57901 (exit $ac_status); } &&
57902 { ac_try='test -z "$ac_cxx_werror_flag"
57903 || test ! -s conftest.err'
57904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57905 (eval $ac_try) 2>&5
57906 ac_status=$?
57907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57908 (exit $ac_status); }; } &&
57909 { ac_try='test -s conftest.$ac_objext'
57910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57911 (eval $ac_try) 2>&5
57912 ac_status=$?
57913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57914 (exit $ac_status); }; }; then
57915 glibcxx_cv_func_logl_use=yes
57916 else
57917 echo "$as_me: failed program was:" >&5
57918 sed 's/^/| /' conftest.$ac_ext >&5
57920 glibcxx_cv_func_logl_use=no
57922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57923 ac_ext=c
57924 ac_cpp='$CPP $CPPFLAGS'
57925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57933 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
57934 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
57936 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57938 for ac_func in logl
57940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57941 echo "$as_me:$LINENO: checking for $ac_func" >&5
57942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57943 if eval "test \"\${$as_ac_var+set}\" = set"; then
57944 echo $ECHO_N "(cached) $ECHO_C" >&6
57945 else
57946 if test x$gcc_no_link = xyes; then
57947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57949 { (exit 1); exit 1; }; }
57951 cat >conftest.$ac_ext <<_ACEOF
57952 /* confdefs.h. */
57953 _ACEOF
57954 cat confdefs.h >>conftest.$ac_ext
57955 cat >>conftest.$ac_ext <<_ACEOF
57956 /* end confdefs.h. */
57957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57959 #define $ac_func innocuous_$ac_func
57961 /* System header to define __stub macros and hopefully few prototypes,
57962 which can conflict with char $ac_func (); below.
57963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57964 <limits.h> exists even on freestanding compilers. */
57966 #ifdef __STDC__
57967 # include <limits.h>
57968 #else
57969 # include <assert.h>
57970 #endif
57972 #undef $ac_func
57974 /* Override any gcc2 internal prototype to avoid an error. */
57975 #ifdef __cplusplus
57976 extern "C"
57978 #endif
57979 /* We use char because int might match the return type of a gcc2
57980 builtin and then its argument prototype would still apply. */
57981 char $ac_func ();
57982 /* The GNU C library defines this for functions which it implements
57983 to always fail with ENOSYS. Some functions are actually named
57984 something starting with __ and the normal name is an alias. */
57985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57986 choke me
57987 #else
57988 char (*f) () = $ac_func;
57989 #endif
57990 #ifdef __cplusplus
57992 #endif
57995 main ()
57997 return f != $ac_func;
57999 return 0;
58001 _ACEOF
58002 rm -f conftest.$ac_objext conftest$ac_exeext
58003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58004 (eval $ac_link) 2>conftest.er1
58005 ac_status=$?
58006 grep -v '^ *+' conftest.er1 >conftest.err
58007 rm -f conftest.er1
58008 cat conftest.err >&5
58009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58010 (exit $ac_status); } &&
58011 { ac_try='test -z "$ac_c_werror_flag"
58012 || test ! -s conftest.err'
58013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58014 (eval $ac_try) 2>&5
58015 ac_status=$?
58016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58017 (exit $ac_status); }; } &&
58018 { ac_try='test -s conftest$ac_exeext'
58019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58020 (eval $ac_try) 2>&5
58021 ac_status=$?
58022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58023 (exit $ac_status); }; }; then
58024 eval "$as_ac_var=yes"
58025 else
58026 echo "$as_me: failed program was:" >&5
58027 sed 's/^/| /' conftest.$ac_ext >&5
58029 eval "$as_ac_var=no"
58031 rm -f conftest.err conftest.$ac_objext \
58032 conftest$ac_exeext conftest.$ac_ext
58034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58036 if test `eval echo '${'$as_ac_var'}'` = yes; then
58037 cat >>confdefs.h <<_ACEOF
58038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58039 _ACEOF
58042 done
58044 else
58046 echo "$as_me:$LINENO: checking for _logl declaration" >&5
58047 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58048 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58049 if test "${glibcxx_cv_func__logl_use+set}" = set; then
58050 echo $ECHO_N "(cached) $ECHO_C" >&6
58051 else
58055 ac_ext=cc
58056 ac_cpp='$CXXCPP $CPPFLAGS'
58057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58061 cat >conftest.$ac_ext <<_ACEOF
58062 /* confdefs.h. */
58063 _ACEOF
58064 cat confdefs.h >>conftest.$ac_ext
58065 cat >>conftest.$ac_ext <<_ACEOF
58066 /* end confdefs.h. */
58067 #include <math.h>
58068 #ifdef HAVE_IEEEFP_H
58069 #include <ieeefp.h>
58070 #endif
58073 main ()
58075 _logl(0);
58077 return 0;
58079 _ACEOF
58080 rm -f conftest.$ac_objext
58081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58082 (eval $ac_compile) 2>conftest.er1
58083 ac_status=$?
58084 grep -v '^ *+' conftest.er1 >conftest.err
58085 rm -f conftest.er1
58086 cat conftest.err >&5
58087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58088 (exit $ac_status); } &&
58089 { ac_try='test -z "$ac_cxx_werror_flag"
58090 || test ! -s conftest.err'
58091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58092 (eval $ac_try) 2>&5
58093 ac_status=$?
58094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58095 (exit $ac_status); }; } &&
58096 { ac_try='test -s conftest.$ac_objext'
58097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58098 (eval $ac_try) 2>&5
58099 ac_status=$?
58100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58101 (exit $ac_status); }; }; then
58102 glibcxx_cv_func__logl_use=yes
58103 else
58104 echo "$as_me: failed program was:" >&5
58105 sed 's/^/| /' conftest.$ac_ext >&5
58107 glibcxx_cv_func__logl_use=no
58109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58110 ac_ext=c
58111 ac_cpp='$CPP $CPPFLAGS'
58112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58120 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
58121 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
58123 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58125 for ac_func in _logl
58127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58128 echo "$as_me:$LINENO: checking for $ac_func" >&5
58129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58130 if eval "test \"\${$as_ac_var+set}\" = set"; then
58131 echo $ECHO_N "(cached) $ECHO_C" >&6
58132 else
58133 if test x$gcc_no_link = xyes; then
58134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58136 { (exit 1); exit 1; }; }
58138 cat >conftest.$ac_ext <<_ACEOF
58139 /* confdefs.h. */
58140 _ACEOF
58141 cat confdefs.h >>conftest.$ac_ext
58142 cat >>conftest.$ac_ext <<_ACEOF
58143 /* end confdefs.h. */
58144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58146 #define $ac_func innocuous_$ac_func
58148 /* System header to define __stub macros and hopefully few prototypes,
58149 which can conflict with char $ac_func (); below.
58150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58151 <limits.h> exists even on freestanding compilers. */
58153 #ifdef __STDC__
58154 # include <limits.h>
58155 #else
58156 # include <assert.h>
58157 #endif
58159 #undef $ac_func
58161 /* Override any gcc2 internal prototype to avoid an error. */
58162 #ifdef __cplusplus
58163 extern "C"
58165 #endif
58166 /* We use char because int might match the return type of a gcc2
58167 builtin and then its argument prototype would still apply. */
58168 char $ac_func ();
58169 /* The GNU C library defines this for functions which it implements
58170 to always fail with ENOSYS. Some functions are actually named
58171 something starting with __ and the normal name is an alias. */
58172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58173 choke me
58174 #else
58175 char (*f) () = $ac_func;
58176 #endif
58177 #ifdef __cplusplus
58179 #endif
58182 main ()
58184 return f != $ac_func;
58186 return 0;
58188 _ACEOF
58189 rm -f conftest.$ac_objext conftest$ac_exeext
58190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58191 (eval $ac_link) 2>conftest.er1
58192 ac_status=$?
58193 grep -v '^ *+' conftest.er1 >conftest.err
58194 rm -f conftest.er1
58195 cat conftest.err >&5
58196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58197 (exit $ac_status); } &&
58198 { ac_try='test -z "$ac_c_werror_flag"
58199 || test ! -s conftest.err'
58200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58201 (eval $ac_try) 2>&5
58202 ac_status=$?
58203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58204 (exit $ac_status); }; } &&
58205 { ac_try='test -s conftest$ac_exeext'
58206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58207 (eval $ac_try) 2>&5
58208 ac_status=$?
58209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58210 (exit $ac_status); }; }; then
58211 eval "$as_ac_var=yes"
58212 else
58213 echo "$as_me: failed program was:" >&5
58214 sed 's/^/| /' conftest.$ac_ext >&5
58216 eval "$as_ac_var=no"
58218 rm -f conftest.err conftest.$ac_objext \
58219 conftest$ac_exeext conftest.$ac_ext
58221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58223 if test `eval echo '${'$as_ac_var'}'` = yes; then
58224 cat >>confdefs.h <<_ACEOF
58225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58226 _ACEOF
58229 done
58239 echo "$as_me:$LINENO: checking for log10l declaration" >&5
58240 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
58241 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58242 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
58243 echo $ECHO_N "(cached) $ECHO_C" >&6
58244 else
58248 ac_ext=cc
58249 ac_cpp='$CXXCPP $CPPFLAGS'
58250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58254 cat >conftest.$ac_ext <<_ACEOF
58255 /* confdefs.h. */
58256 _ACEOF
58257 cat confdefs.h >>conftest.$ac_ext
58258 cat >>conftest.$ac_ext <<_ACEOF
58259 /* end confdefs.h. */
58260 #include <math.h>
58261 #ifdef HAVE_IEEEFP_H
58262 #include <ieeefp.h>
58263 #endif
58266 main ()
58268 log10l(0);
58270 return 0;
58272 _ACEOF
58273 rm -f conftest.$ac_objext
58274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58275 (eval $ac_compile) 2>conftest.er1
58276 ac_status=$?
58277 grep -v '^ *+' conftest.er1 >conftest.err
58278 rm -f conftest.er1
58279 cat conftest.err >&5
58280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58281 (exit $ac_status); } &&
58282 { ac_try='test -z "$ac_cxx_werror_flag"
58283 || test ! -s conftest.err'
58284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58285 (eval $ac_try) 2>&5
58286 ac_status=$?
58287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58288 (exit $ac_status); }; } &&
58289 { ac_try='test -s conftest.$ac_objext'
58290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58291 (eval $ac_try) 2>&5
58292 ac_status=$?
58293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58294 (exit $ac_status); }; }; then
58295 glibcxx_cv_func_log10l_use=yes
58296 else
58297 echo "$as_me: failed program was:" >&5
58298 sed 's/^/| /' conftest.$ac_ext >&5
58300 glibcxx_cv_func_log10l_use=no
58302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58303 ac_ext=c
58304 ac_cpp='$CPP $CPPFLAGS'
58305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58313 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
58314 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
58316 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58318 for ac_func in log10l
58320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58321 echo "$as_me:$LINENO: checking for $ac_func" >&5
58322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58323 if eval "test \"\${$as_ac_var+set}\" = set"; then
58324 echo $ECHO_N "(cached) $ECHO_C" >&6
58325 else
58326 if test x$gcc_no_link = xyes; then
58327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58329 { (exit 1); exit 1; }; }
58331 cat >conftest.$ac_ext <<_ACEOF
58332 /* confdefs.h. */
58333 _ACEOF
58334 cat confdefs.h >>conftest.$ac_ext
58335 cat >>conftest.$ac_ext <<_ACEOF
58336 /* end confdefs.h. */
58337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58339 #define $ac_func innocuous_$ac_func
58341 /* System header to define __stub macros and hopefully few prototypes,
58342 which can conflict with char $ac_func (); below.
58343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58344 <limits.h> exists even on freestanding compilers. */
58346 #ifdef __STDC__
58347 # include <limits.h>
58348 #else
58349 # include <assert.h>
58350 #endif
58352 #undef $ac_func
58354 /* Override any gcc2 internal prototype to avoid an error. */
58355 #ifdef __cplusplus
58356 extern "C"
58358 #endif
58359 /* We use char because int might match the return type of a gcc2
58360 builtin and then its argument prototype would still apply. */
58361 char $ac_func ();
58362 /* The GNU C library defines this for functions which it implements
58363 to always fail with ENOSYS. Some functions are actually named
58364 something starting with __ and the normal name is an alias. */
58365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58366 choke me
58367 #else
58368 char (*f) () = $ac_func;
58369 #endif
58370 #ifdef __cplusplus
58372 #endif
58375 main ()
58377 return f != $ac_func;
58379 return 0;
58381 _ACEOF
58382 rm -f conftest.$ac_objext conftest$ac_exeext
58383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58384 (eval $ac_link) 2>conftest.er1
58385 ac_status=$?
58386 grep -v '^ *+' conftest.er1 >conftest.err
58387 rm -f conftest.er1
58388 cat conftest.err >&5
58389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58390 (exit $ac_status); } &&
58391 { ac_try='test -z "$ac_c_werror_flag"
58392 || test ! -s conftest.err'
58393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58394 (eval $ac_try) 2>&5
58395 ac_status=$?
58396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58397 (exit $ac_status); }; } &&
58398 { ac_try='test -s conftest$ac_exeext'
58399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58400 (eval $ac_try) 2>&5
58401 ac_status=$?
58402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58403 (exit $ac_status); }; }; then
58404 eval "$as_ac_var=yes"
58405 else
58406 echo "$as_me: failed program was:" >&5
58407 sed 's/^/| /' conftest.$ac_ext >&5
58409 eval "$as_ac_var=no"
58411 rm -f conftest.err conftest.$ac_objext \
58412 conftest$ac_exeext conftest.$ac_ext
58414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58416 if test `eval echo '${'$as_ac_var'}'` = yes; then
58417 cat >>confdefs.h <<_ACEOF
58418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58419 _ACEOF
58422 done
58424 else
58426 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
58427 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
58428 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58429 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
58430 echo $ECHO_N "(cached) $ECHO_C" >&6
58431 else
58435 ac_ext=cc
58436 ac_cpp='$CXXCPP $CPPFLAGS'
58437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58441 cat >conftest.$ac_ext <<_ACEOF
58442 /* confdefs.h. */
58443 _ACEOF
58444 cat confdefs.h >>conftest.$ac_ext
58445 cat >>conftest.$ac_ext <<_ACEOF
58446 /* end confdefs.h. */
58447 #include <math.h>
58448 #ifdef HAVE_IEEEFP_H
58449 #include <ieeefp.h>
58450 #endif
58453 main ()
58455 _log10l(0);
58457 return 0;
58459 _ACEOF
58460 rm -f conftest.$ac_objext
58461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58462 (eval $ac_compile) 2>conftest.er1
58463 ac_status=$?
58464 grep -v '^ *+' conftest.er1 >conftest.err
58465 rm -f conftest.er1
58466 cat conftest.err >&5
58467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58468 (exit $ac_status); } &&
58469 { ac_try='test -z "$ac_cxx_werror_flag"
58470 || test ! -s conftest.err'
58471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58472 (eval $ac_try) 2>&5
58473 ac_status=$?
58474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58475 (exit $ac_status); }; } &&
58476 { ac_try='test -s conftest.$ac_objext'
58477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58478 (eval $ac_try) 2>&5
58479 ac_status=$?
58480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58481 (exit $ac_status); }; }; then
58482 glibcxx_cv_func__log10l_use=yes
58483 else
58484 echo "$as_me: failed program was:" >&5
58485 sed 's/^/| /' conftest.$ac_ext >&5
58487 glibcxx_cv_func__log10l_use=no
58489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58490 ac_ext=c
58491 ac_cpp='$CPP $CPPFLAGS'
58492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58500 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
58501 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
58503 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58505 for ac_func in _log10l
58507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58508 echo "$as_me:$LINENO: checking for $ac_func" >&5
58509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58510 if eval "test \"\${$as_ac_var+set}\" = set"; then
58511 echo $ECHO_N "(cached) $ECHO_C" >&6
58512 else
58513 if test x$gcc_no_link = xyes; then
58514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58516 { (exit 1); exit 1; }; }
58518 cat >conftest.$ac_ext <<_ACEOF
58519 /* confdefs.h. */
58520 _ACEOF
58521 cat confdefs.h >>conftest.$ac_ext
58522 cat >>conftest.$ac_ext <<_ACEOF
58523 /* end confdefs.h. */
58524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58526 #define $ac_func innocuous_$ac_func
58528 /* System header to define __stub macros and hopefully few prototypes,
58529 which can conflict with char $ac_func (); below.
58530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58531 <limits.h> exists even on freestanding compilers. */
58533 #ifdef __STDC__
58534 # include <limits.h>
58535 #else
58536 # include <assert.h>
58537 #endif
58539 #undef $ac_func
58541 /* Override any gcc2 internal prototype to avoid an error. */
58542 #ifdef __cplusplus
58543 extern "C"
58545 #endif
58546 /* We use char because int might match the return type of a gcc2
58547 builtin and then its argument prototype would still apply. */
58548 char $ac_func ();
58549 /* The GNU C library defines this for functions which it implements
58550 to always fail with ENOSYS. Some functions are actually named
58551 something starting with __ and the normal name is an alias. */
58552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58553 choke me
58554 #else
58555 char (*f) () = $ac_func;
58556 #endif
58557 #ifdef __cplusplus
58559 #endif
58562 main ()
58564 return f != $ac_func;
58566 return 0;
58568 _ACEOF
58569 rm -f conftest.$ac_objext conftest$ac_exeext
58570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58571 (eval $ac_link) 2>conftest.er1
58572 ac_status=$?
58573 grep -v '^ *+' conftest.er1 >conftest.err
58574 rm -f conftest.er1
58575 cat conftest.err >&5
58576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58577 (exit $ac_status); } &&
58578 { ac_try='test -z "$ac_c_werror_flag"
58579 || test ! -s conftest.err'
58580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58581 (eval $ac_try) 2>&5
58582 ac_status=$?
58583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58584 (exit $ac_status); }; } &&
58585 { ac_try='test -s conftest$ac_exeext'
58586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58587 (eval $ac_try) 2>&5
58588 ac_status=$?
58589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58590 (exit $ac_status); }; }; then
58591 eval "$as_ac_var=yes"
58592 else
58593 echo "$as_me: failed program was:" >&5
58594 sed 's/^/| /' conftest.$ac_ext >&5
58596 eval "$as_ac_var=no"
58598 rm -f conftest.err conftest.$ac_objext \
58599 conftest$ac_exeext conftest.$ac_ext
58601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58603 if test `eval echo '${'$as_ac_var'}'` = yes; then
58604 cat >>confdefs.h <<_ACEOF
58605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58606 _ACEOF
58609 done
58619 echo "$as_me:$LINENO: checking for modfl declaration" >&5
58620 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
58621 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58622 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
58623 echo $ECHO_N "(cached) $ECHO_C" >&6
58624 else
58628 ac_ext=cc
58629 ac_cpp='$CXXCPP $CPPFLAGS'
58630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58634 cat >conftest.$ac_ext <<_ACEOF
58635 /* confdefs.h. */
58636 _ACEOF
58637 cat confdefs.h >>conftest.$ac_ext
58638 cat >>conftest.$ac_ext <<_ACEOF
58639 /* end confdefs.h. */
58640 #include <math.h>
58642 main ()
58644 modfl(0, 0);
58646 return 0;
58648 _ACEOF
58649 rm -f conftest.$ac_objext
58650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58651 (eval $ac_compile) 2>conftest.er1
58652 ac_status=$?
58653 grep -v '^ *+' conftest.er1 >conftest.err
58654 rm -f conftest.er1
58655 cat conftest.err >&5
58656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58657 (exit $ac_status); } &&
58658 { ac_try='test -z "$ac_cxx_werror_flag"
58659 || test ! -s conftest.err'
58660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58661 (eval $ac_try) 2>&5
58662 ac_status=$?
58663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58664 (exit $ac_status); }; } &&
58665 { ac_try='test -s conftest.$ac_objext'
58666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58667 (eval $ac_try) 2>&5
58668 ac_status=$?
58669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58670 (exit $ac_status); }; }; then
58671 glibcxx_cv_func_modfl_use=yes
58672 else
58673 echo "$as_me: failed program was:" >&5
58674 sed 's/^/| /' conftest.$ac_ext >&5
58676 glibcxx_cv_func_modfl_use=no
58678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58679 ac_ext=c
58680 ac_cpp='$CPP $CPPFLAGS'
58681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58689 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
58690 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
58692 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58694 for ac_func in modfl
58696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58697 echo "$as_me:$LINENO: checking for $ac_func" >&5
58698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58699 if eval "test \"\${$as_ac_var+set}\" = set"; then
58700 echo $ECHO_N "(cached) $ECHO_C" >&6
58701 else
58702 if test x$gcc_no_link = xyes; then
58703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58705 { (exit 1); exit 1; }; }
58707 cat >conftest.$ac_ext <<_ACEOF
58708 /* confdefs.h. */
58709 _ACEOF
58710 cat confdefs.h >>conftest.$ac_ext
58711 cat >>conftest.$ac_ext <<_ACEOF
58712 /* end confdefs.h. */
58713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58715 #define $ac_func innocuous_$ac_func
58717 /* System header to define __stub macros and hopefully few prototypes,
58718 which can conflict with char $ac_func (); below.
58719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58720 <limits.h> exists even on freestanding compilers. */
58722 #ifdef __STDC__
58723 # include <limits.h>
58724 #else
58725 # include <assert.h>
58726 #endif
58728 #undef $ac_func
58730 /* Override any gcc2 internal prototype to avoid an error. */
58731 #ifdef __cplusplus
58732 extern "C"
58734 #endif
58735 /* We use char because int might match the return type of a gcc2
58736 builtin and then its argument prototype would still apply. */
58737 char $ac_func ();
58738 /* The GNU C library defines this for functions which it implements
58739 to always fail with ENOSYS. Some functions are actually named
58740 something starting with __ and the normal name is an alias. */
58741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58742 choke me
58743 #else
58744 char (*f) () = $ac_func;
58745 #endif
58746 #ifdef __cplusplus
58748 #endif
58751 main ()
58753 return f != $ac_func;
58755 return 0;
58757 _ACEOF
58758 rm -f conftest.$ac_objext conftest$ac_exeext
58759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58760 (eval $ac_link) 2>conftest.er1
58761 ac_status=$?
58762 grep -v '^ *+' conftest.er1 >conftest.err
58763 rm -f conftest.er1
58764 cat conftest.err >&5
58765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58766 (exit $ac_status); } &&
58767 { ac_try='test -z "$ac_c_werror_flag"
58768 || test ! -s conftest.err'
58769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58770 (eval $ac_try) 2>&5
58771 ac_status=$?
58772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58773 (exit $ac_status); }; } &&
58774 { ac_try='test -s conftest$ac_exeext'
58775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58776 (eval $ac_try) 2>&5
58777 ac_status=$?
58778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58779 (exit $ac_status); }; }; then
58780 eval "$as_ac_var=yes"
58781 else
58782 echo "$as_me: failed program was:" >&5
58783 sed 's/^/| /' conftest.$ac_ext >&5
58785 eval "$as_ac_var=no"
58787 rm -f conftest.err conftest.$ac_objext \
58788 conftest$ac_exeext conftest.$ac_ext
58790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58792 if test `eval echo '${'$as_ac_var'}'` = yes; then
58793 cat >>confdefs.h <<_ACEOF
58794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58795 _ACEOF
58798 done
58800 else
58802 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
58803 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
58804 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58805 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
58806 echo $ECHO_N "(cached) $ECHO_C" >&6
58807 else
58811 ac_ext=cc
58812 ac_cpp='$CXXCPP $CPPFLAGS'
58813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58817 cat >conftest.$ac_ext <<_ACEOF
58818 /* confdefs.h. */
58819 _ACEOF
58820 cat confdefs.h >>conftest.$ac_ext
58821 cat >>conftest.$ac_ext <<_ACEOF
58822 /* end confdefs.h. */
58823 #include <math.h>
58825 main ()
58827 _modfl(0, 0);
58829 return 0;
58831 _ACEOF
58832 rm -f conftest.$ac_objext
58833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58834 (eval $ac_compile) 2>conftest.er1
58835 ac_status=$?
58836 grep -v '^ *+' conftest.er1 >conftest.err
58837 rm -f conftest.er1
58838 cat conftest.err >&5
58839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58840 (exit $ac_status); } &&
58841 { ac_try='test -z "$ac_cxx_werror_flag"
58842 || test ! -s conftest.err'
58843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58844 (eval $ac_try) 2>&5
58845 ac_status=$?
58846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58847 (exit $ac_status); }; } &&
58848 { ac_try='test -s conftest.$ac_objext'
58849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58850 (eval $ac_try) 2>&5
58851 ac_status=$?
58852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58853 (exit $ac_status); }; }; then
58854 glibcxx_cv_func__modfl_use=yes
58855 else
58856 echo "$as_me: failed program was:" >&5
58857 sed 's/^/| /' conftest.$ac_ext >&5
58859 glibcxx_cv_func__modfl_use=no
58861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58862 ac_ext=c
58863 ac_cpp='$CPP $CPPFLAGS'
58864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58872 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
58873 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
58875 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58877 for ac_func in _modfl
58879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58880 echo "$as_me:$LINENO: checking for $ac_func" >&5
58881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58882 if eval "test \"\${$as_ac_var+set}\" = set"; then
58883 echo $ECHO_N "(cached) $ECHO_C" >&6
58884 else
58885 if test x$gcc_no_link = xyes; then
58886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58888 { (exit 1); exit 1; }; }
58890 cat >conftest.$ac_ext <<_ACEOF
58891 /* confdefs.h. */
58892 _ACEOF
58893 cat confdefs.h >>conftest.$ac_ext
58894 cat >>conftest.$ac_ext <<_ACEOF
58895 /* end confdefs.h. */
58896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58898 #define $ac_func innocuous_$ac_func
58900 /* System header to define __stub macros and hopefully few prototypes,
58901 which can conflict with char $ac_func (); below.
58902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58903 <limits.h> exists even on freestanding compilers. */
58905 #ifdef __STDC__
58906 # include <limits.h>
58907 #else
58908 # include <assert.h>
58909 #endif
58911 #undef $ac_func
58913 /* Override any gcc2 internal prototype to avoid an error. */
58914 #ifdef __cplusplus
58915 extern "C"
58917 #endif
58918 /* We use char because int might match the return type of a gcc2
58919 builtin and then its argument prototype would still apply. */
58920 char $ac_func ();
58921 /* The GNU C library defines this for functions which it implements
58922 to always fail with ENOSYS. Some functions are actually named
58923 something starting with __ and the normal name is an alias. */
58924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58925 choke me
58926 #else
58927 char (*f) () = $ac_func;
58928 #endif
58929 #ifdef __cplusplus
58931 #endif
58934 main ()
58936 return f != $ac_func;
58938 return 0;
58940 _ACEOF
58941 rm -f conftest.$ac_objext conftest$ac_exeext
58942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58943 (eval $ac_link) 2>conftest.er1
58944 ac_status=$?
58945 grep -v '^ *+' conftest.er1 >conftest.err
58946 rm -f conftest.er1
58947 cat conftest.err >&5
58948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58949 (exit $ac_status); } &&
58950 { ac_try='test -z "$ac_c_werror_flag"
58951 || test ! -s conftest.err'
58952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58953 (eval $ac_try) 2>&5
58954 ac_status=$?
58955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58956 (exit $ac_status); }; } &&
58957 { ac_try='test -s conftest$ac_exeext'
58958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58959 (eval $ac_try) 2>&5
58960 ac_status=$?
58961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58962 (exit $ac_status); }; }; then
58963 eval "$as_ac_var=yes"
58964 else
58965 echo "$as_me: failed program was:" >&5
58966 sed 's/^/| /' conftest.$ac_ext >&5
58968 eval "$as_ac_var=no"
58970 rm -f conftest.err conftest.$ac_objext \
58971 conftest$ac_exeext conftest.$ac_ext
58973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58975 if test `eval echo '${'$as_ac_var'}'` = yes; then
58976 cat >>confdefs.h <<_ACEOF
58977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58978 _ACEOF
58981 done
58991 echo "$as_me:$LINENO: checking for powl declaration" >&5
58992 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
58993 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58994 if test "${glibcxx_cv_func_powl_use+set}" = set; then
58995 echo $ECHO_N "(cached) $ECHO_C" >&6
58996 else
59000 ac_ext=cc
59001 ac_cpp='$CXXCPP $CPPFLAGS'
59002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59006 cat >conftest.$ac_ext <<_ACEOF
59007 /* confdefs.h. */
59008 _ACEOF
59009 cat confdefs.h >>conftest.$ac_ext
59010 cat >>conftest.$ac_ext <<_ACEOF
59011 /* end confdefs.h. */
59012 #include <math.h>
59014 main ()
59016 powl(0, 0);
59018 return 0;
59020 _ACEOF
59021 rm -f conftest.$ac_objext
59022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59023 (eval $ac_compile) 2>conftest.er1
59024 ac_status=$?
59025 grep -v '^ *+' conftest.er1 >conftest.err
59026 rm -f conftest.er1
59027 cat conftest.err >&5
59028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59029 (exit $ac_status); } &&
59030 { ac_try='test -z "$ac_cxx_werror_flag"
59031 || test ! -s conftest.err'
59032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59033 (eval $ac_try) 2>&5
59034 ac_status=$?
59035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59036 (exit $ac_status); }; } &&
59037 { ac_try='test -s conftest.$ac_objext'
59038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59039 (eval $ac_try) 2>&5
59040 ac_status=$?
59041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59042 (exit $ac_status); }; }; then
59043 glibcxx_cv_func_powl_use=yes
59044 else
59045 echo "$as_me: failed program was:" >&5
59046 sed 's/^/| /' conftest.$ac_ext >&5
59048 glibcxx_cv_func_powl_use=no
59050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59051 ac_ext=c
59052 ac_cpp='$CPP $CPPFLAGS'
59053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59061 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59062 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59064 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59066 for ac_func in powl
59068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59069 echo "$as_me:$LINENO: checking for $ac_func" >&5
59070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59071 if eval "test \"\${$as_ac_var+set}\" = set"; then
59072 echo $ECHO_N "(cached) $ECHO_C" >&6
59073 else
59074 if test x$gcc_no_link = xyes; then
59075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59077 { (exit 1); exit 1; }; }
59079 cat >conftest.$ac_ext <<_ACEOF
59080 /* confdefs.h. */
59081 _ACEOF
59082 cat confdefs.h >>conftest.$ac_ext
59083 cat >>conftest.$ac_ext <<_ACEOF
59084 /* end confdefs.h. */
59085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59087 #define $ac_func innocuous_$ac_func
59089 /* System header to define __stub macros and hopefully few prototypes,
59090 which can conflict with char $ac_func (); below.
59091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59092 <limits.h> exists even on freestanding compilers. */
59094 #ifdef __STDC__
59095 # include <limits.h>
59096 #else
59097 # include <assert.h>
59098 #endif
59100 #undef $ac_func
59102 /* Override any gcc2 internal prototype to avoid an error. */
59103 #ifdef __cplusplus
59104 extern "C"
59106 #endif
59107 /* We use char because int might match the return type of a gcc2
59108 builtin and then its argument prototype would still apply. */
59109 char $ac_func ();
59110 /* The GNU C library defines this for functions which it implements
59111 to always fail with ENOSYS. Some functions are actually named
59112 something starting with __ and the normal name is an alias. */
59113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59114 choke me
59115 #else
59116 char (*f) () = $ac_func;
59117 #endif
59118 #ifdef __cplusplus
59120 #endif
59123 main ()
59125 return f != $ac_func;
59127 return 0;
59129 _ACEOF
59130 rm -f conftest.$ac_objext conftest$ac_exeext
59131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59132 (eval $ac_link) 2>conftest.er1
59133 ac_status=$?
59134 grep -v '^ *+' conftest.er1 >conftest.err
59135 rm -f conftest.er1
59136 cat conftest.err >&5
59137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59138 (exit $ac_status); } &&
59139 { ac_try='test -z "$ac_c_werror_flag"
59140 || test ! -s conftest.err'
59141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59142 (eval $ac_try) 2>&5
59143 ac_status=$?
59144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59145 (exit $ac_status); }; } &&
59146 { ac_try='test -s conftest$ac_exeext'
59147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59148 (eval $ac_try) 2>&5
59149 ac_status=$?
59150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59151 (exit $ac_status); }; }; then
59152 eval "$as_ac_var=yes"
59153 else
59154 echo "$as_me: failed program was:" >&5
59155 sed 's/^/| /' conftest.$ac_ext >&5
59157 eval "$as_ac_var=no"
59159 rm -f conftest.err conftest.$ac_objext \
59160 conftest$ac_exeext conftest.$ac_ext
59162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59164 if test `eval echo '${'$as_ac_var'}'` = yes; then
59165 cat >>confdefs.h <<_ACEOF
59166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59167 _ACEOF
59170 done
59172 else
59174 echo "$as_me:$LINENO: checking for _powl declaration" >&5
59175 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
59176 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59177 if test "${glibcxx_cv_func__powl_use+set}" = set; then
59178 echo $ECHO_N "(cached) $ECHO_C" >&6
59179 else
59183 ac_ext=cc
59184 ac_cpp='$CXXCPP $CPPFLAGS'
59185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59189 cat >conftest.$ac_ext <<_ACEOF
59190 /* confdefs.h. */
59191 _ACEOF
59192 cat confdefs.h >>conftest.$ac_ext
59193 cat >>conftest.$ac_ext <<_ACEOF
59194 /* end confdefs.h. */
59195 #include <math.h>
59197 main ()
59199 _powl(0, 0);
59201 return 0;
59203 _ACEOF
59204 rm -f conftest.$ac_objext
59205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59206 (eval $ac_compile) 2>conftest.er1
59207 ac_status=$?
59208 grep -v '^ *+' conftest.er1 >conftest.err
59209 rm -f conftest.er1
59210 cat conftest.err >&5
59211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59212 (exit $ac_status); } &&
59213 { ac_try='test -z "$ac_cxx_werror_flag"
59214 || test ! -s conftest.err'
59215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59216 (eval $ac_try) 2>&5
59217 ac_status=$?
59218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59219 (exit $ac_status); }; } &&
59220 { ac_try='test -s conftest.$ac_objext'
59221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59222 (eval $ac_try) 2>&5
59223 ac_status=$?
59224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59225 (exit $ac_status); }; }; then
59226 glibcxx_cv_func__powl_use=yes
59227 else
59228 echo "$as_me: failed program was:" >&5
59229 sed 's/^/| /' conftest.$ac_ext >&5
59231 glibcxx_cv_func__powl_use=no
59233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59234 ac_ext=c
59235 ac_cpp='$CPP $CPPFLAGS'
59236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59244 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
59245 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
59247 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59249 for ac_func in _powl
59251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59252 echo "$as_me:$LINENO: checking for $ac_func" >&5
59253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59254 if eval "test \"\${$as_ac_var+set}\" = set"; then
59255 echo $ECHO_N "(cached) $ECHO_C" >&6
59256 else
59257 if test x$gcc_no_link = xyes; then
59258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59260 { (exit 1); exit 1; }; }
59262 cat >conftest.$ac_ext <<_ACEOF
59263 /* confdefs.h. */
59264 _ACEOF
59265 cat confdefs.h >>conftest.$ac_ext
59266 cat >>conftest.$ac_ext <<_ACEOF
59267 /* end confdefs.h. */
59268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59270 #define $ac_func innocuous_$ac_func
59272 /* System header to define __stub macros and hopefully few prototypes,
59273 which can conflict with char $ac_func (); below.
59274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59275 <limits.h> exists even on freestanding compilers. */
59277 #ifdef __STDC__
59278 # include <limits.h>
59279 #else
59280 # include <assert.h>
59281 #endif
59283 #undef $ac_func
59285 /* Override any gcc2 internal prototype to avoid an error. */
59286 #ifdef __cplusplus
59287 extern "C"
59289 #endif
59290 /* We use char because int might match the return type of a gcc2
59291 builtin and then its argument prototype would still apply. */
59292 char $ac_func ();
59293 /* The GNU C library defines this for functions which it implements
59294 to always fail with ENOSYS. Some functions are actually named
59295 something starting with __ and the normal name is an alias. */
59296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59297 choke me
59298 #else
59299 char (*f) () = $ac_func;
59300 #endif
59301 #ifdef __cplusplus
59303 #endif
59306 main ()
59308 return f != $ac_func;
59310 return 0;
59312 _ACEOF
59313 rm -f conftest.$ac_objext conftest$ac_exeext
59314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59315 (eval $ac_link) 2>conftest.er1
59316 ac_status=$?
59317 grep -v '^ *+' conftest.er1 >conftest.err
59318 rm -f conftest.er1
59319 cat conftest.err >&5
59320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59321 (exit $ac_status); } &&
59322 { ac_try='test -z "$ac_c_werror_flag"
59323 || test ! -s conftest.err'
59324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59325 (eval $ac_try) 2>&5
59326 ac_status=$?
59327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59328 (exit $ac_status); }; } &&
59329 { ac_try='test -s conftest$ac_exeext'
59330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59331 (eval $ac_try) 2>&5
59332 ac_status=$?
59333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59334 (exit $ac_status); }; }; then
59335 eval "$as_ac_var=yes"
59336 else
59337 echo "$as_me: failed program was:" >&5
59338 sed 's/^/| /' conftest.$ac_ext >&5
59340 eval "$as_ac_var=no"
59342 rm -f conftest.err conftest.$ac_objext \
59343 conftest$ac_exeext conftest.$ac_ext
59345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59347 if test `eval echo '${'$as_ac_var'}'` = yes; then
59348 cat >>confdefs.h <<_ACEOF
59349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59350 _ACEOF
59353 done
59363 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
59364 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
59365 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59366 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
59367 echo $ECHO_N "(cached) $ECHO_C" >&6
59368 else
59372 ac_ext=cc
59373 ac_cpp='$CXXCPP $CPPFLAGS'
59374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59378 cat >conftest.$ac_ext <<_ACEOF
59379 /* confdefs.h. */
59380 _ACEOF
59381 cat confdefs.h >>conftest.$ac_ext
59382 cat >>conftest.$ac_ext <<_ACEOF
59383 /* end confdefs.h. */
59384 #include <math.h>
59385 #ifdef HAVE_IEEEFP_H
59386 #include <ieeefp.h>
59387 #endif
59390 main ()
59392 sqrtl(0);
59394 return 0;
59396 _ACEOF
59397 rm -f conftest.$ac_objext
59398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59399 (eval $ac_compile) 2>conftest.er1
59400 ac_status=$?
59401 grep -v '^ *+' conftest.er1 >conftest.err
59402 rm -f conftest.er1
59403 cat conftest.err >&5
59404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59405 (exit $ac_status); } &&
59406 { ac_try='test -z "$ac_cxx_werror_flag"
59407 || test ! -s conftest.err'
59408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59409 (eval $ac_try) 2>&5
59410 ac_status=$?
59411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59412 (exit $ac_status); }; } &&
59413 { ac_try='test -s conftest.$ac_objext'
59414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59415 (eval $ac_try) 2>&5
59416 ac_status=$?
59417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59418 (exit $ac_status); }; }; then
59419 glibcxx_cv_func_sqrtl_use=yes
59420 else
59421 echo "$as_me: failed program was:" >&5
59422 sed 's/^/| /' conftest.$ac_ext >&5
59424 glibcxx_cv_func_sqrtl_use=no
59426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59427 ac_ext=c
59428 ac_cpp='$CPP $CPPFLAGS'
59429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59437 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
59438 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
59440 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59442 for ac_func in sqrtl
59444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59445 echo "$as_me:$LINENO: checking for $ac_func" >&5
59446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59447 if eval "test \"\${$as_ac_var+set}\" = set"; then
59448 echo $ECHO_N "(cached) $ECHO_C" >&6
59449 else
59450 if test x$gcc_no_link = xyes; then
59451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59453 { (exit 1); exit 1; }; }
59455 cat >conftest.$ac_ext <<_ACEOF
59456 /* confdefs.h. */
59457 _ACEOF
59458 cat confdefs.h >>conftest.$ac_ext
59459 cat >>conftest.$ac_ext <<_ACEOF
59460 /* end confdefs.h. */
59461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59463 #define $ac_func innocuous_$ac_func
59465 /* System header to define __stub macros and hopefully few prototypes,
59466 which can conflict with char $ac_func (); below.
59467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59468 <limits.h> exists even on freestanding compilers. */
59470 #ifdef __STDC__
59471 # include <limits.h>
59472 #else
59473 # include <assert.h>
59474 #endif
59476 #undef $ac_func
59478 /* Override any gcc2 internal prototype to avoid an error. */
59479 #ifdef __cplusplus
59480 extern "C"
59482 #endif
59483 /* We use char because int might match the return type of a gcc2
59484 builtin and then its argument prototype would still apply. */
59485 char $ac_func ();
59486 /* The GNU C library defines this for functions which it implements
59487 to always fail with ENOSYS. Some functions are actually named
59488 something starting with __ and the normal name is an alias. */
59489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59490 choke me
59491 #else
59492 char (*f) () = $ac_func;
59493 #endif
59494 #ifdef __cplusplus
59496 #endif
59499 main ()
59501 return f != $ac_func;
59503 return 0;
59505 _ACEOF
59506 rm -f conftest.$ac_objext conftest$ac_exeext
59507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59508 (eval $ac_link) 2>conftest.er1
59509 ac_status=$?
59510 grep -v '^ *+' conftest.er1 >conftest.err
59511 rm -f conftest.er1
59512 cat conftest.err >&5
59513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59514 (exit $ac_status); } &&
59515 { ac_try='test -z "$ac_c_werror_flag"
59516 || test ! -s conftest.err'
59517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59518 (eval $ac_try) 2>&5
59519 ac_status=$?
59520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59521 (exit $ac_status); }; } &&
59522 { ac_try='test -s conftest$ac_exeext'
59523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59524 (eval $ac_try) 2>&5
59525 ac_status=$?
59526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59527 (exit $ac_status); }; }; then
59528 eval "$as_ac_var=yes"
59529 else
59530 echo "$as_me: failed program was:" >&5
59531 sed 's/^/| /' conftest.$ac_ext >&5
59533 eval "$as_ac_var=no"
59535 rm -f conftest.err conftest.$ac_objext \
59536 conftest$ac_exeext conftest.$ac_ext
59538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59540 if test `eval echo '${'$as_ac_var'}'` = yes; then
59541 cat >>confdefs.h <<_ACEOF
59542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59543 _ACEOF
59546 done
59548 else
59550 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
59551 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
59552 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59553 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
59554 echo $ECHO_N "(cached) $ECHO_C" >&6
59555 else
59559 ac_ext=cc
59560 ac_cpp='$CXXCPP $CPPFLAGS'
59561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59565 cat >conftest.$ac_ext <<_ACEOF
59566 /* confdefs.h. */
59567 _ACEOF
59568 cat confdefs.h >>conftest.$ac_ext
59569 cat >>conftest.$ac_ext <<_ACEOF
59570 /* end confdefs.h. */
59571 #include <math.h>
59572 #ifdef HAVE_IEEEFP_H
59573 #include <ieeefp.h>
59574 #endif
59577 main ()
59579 _sqrtl(0);
59581 return 0;
59583 _ACEOF
59584 rm -f conftest.$ac_objext
59585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59586 (eval $ac_compile) 2>conftest.er1
59587 ac_status=$?
59588 grep -v '^ *+' conftest.er1 >conftest.err
59589 rm -f conftest.er1
59590 cat conftest.err >&5
59591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59592 (exit $ac_status); } &&
59593 { ac_try='test -z "$ac_cxx_werror_flag"
59594 || test ! -s conftest.err'
59595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59596 (eval $ac_try) 2>&5
59597 ac_status=$?
59598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59599 (exit $ac_status); }; } &&
59600 { ac_try='test -s conftest.$ac_objext'
59601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59602 (eval $ac_try) 2>&5
59603 ac_status=$?
59604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59605 (exit $ac_status); }; }; then
59606 glibcxx_cv_func__sqrtl_use=yes
59607 else
59608 echo "$as_me: failed program was:" >&5
59609 sed 's/^/| /' conftest.$ac_ext >&5
59611 glibcxx_cv_func__sqrtl_use=no
59613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59614 ac_ext=c
59615 ac_cpp='$CPP $CPPFLAGS'
59616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59624 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
59625 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
59627 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59629 for ac_func in _sqrtl
59631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59632 echo "$as_me:$LINENO: checking for $ac_func" >&5
59633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59634 if eval "test \"\${$as_ac_var+set}\" = set"; then
59635 echo $ECHO_N "(cached) $ECHO_C" >&6
59636 else
59637 if test x$gcc_no_link = xyes; then
59638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59640 { (exit 1); exit 1; }; }
59642 cat >conftest.$ac_ext <<_ACEOF
59643 /* confdefs.h. */
59644 _ACEOF
59645 cat confdefs.h >>conftest.$ac_ext
59646 cat >>conftest.$ac_ext <<_ACEOF
59647 /* end confdefs.h. */
59648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59650 #define $ac_func innocuous_$ac_func
59652 /* System header to define __stub macros and hopefully few prototypes,
59653 which can conflict with char $ac_func (); below.
59654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59655 <limits.h> exists even on freestanding compilers. */
59657 #ifdef __STDC__
59658 # include <limits.h>
59659 #else
59660 # include <assert.h>
59661 #endif
59663 #undef $ac_func
59665 /* Override any gcc2 internal prototype to avoid an error. */
59666 #ifdef __cplusplus
59667 extern "C"
59669 #endif
59670 /* We use char because int might match the return type of a gcc2
59671 builtin and then its argument prototype would still apply. */
59672 char $ac_func ();
59673 /* The GNU C library defines this for functions which it implements
59674 to always fail with ENOSYS. Some functions are actually named
59675 something starting with __ and the normal name is an alias. */
59676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59677 choke me
59678 #else
59679 char (*f) () = $ac_func;
59680 #endif
59681 #ifdef __cplusplus
59683 #endif
59686 main ()
59688 return f != $ac_func;
59690 return 0;
59692 _ACEOF
59693 rm -f conftest.$ac_objext conftest$ac_exeext
59694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59695 (eval $ac_link) 2>conftest.er1
59696 ac_status=$?
59697 grep -v '^ *+' conftest.er1 >conftest.err
59698 rm -f conftest.er1
59699 cat conftest.err >&5
59700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59701 (exit $ac_status); } &&
59702 { ac_try='test -z "$ac_c_werror_flag"
59703 || test ! -s conftest.err'
59704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59705 (eval $ac_try) 2>&5
59706 ac_status=$?
59707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59708 (exit $ac_status); }; } &&
59709 { ac_try='test -s conftest$ac_exeext'
59710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59711 (eval $ac_try) 2>&5
59712 ac_status=$?
59713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59714 (exit $ac_status); }; }; then
59715 eval "$as_ac_var=yes"
59716 else
59717 echo "$as_me: failed program was:" >&5
59718 sed 's/^/| /' conftest.$ac_ext >&5
59720 eval "$as_ac_var=no"
59722 rm -f conftest.err conftest.$ac_objext \
59723 conftest$ac_exeext conftest.$ac_ext
59725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59727 if test `eval echo '${'$as_ac_var'}'` = yes; then
59728 cat >>confdefs.h <<_ACEOF
59729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59730 _ACEOF
59733 done
59743 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
59744 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
59745 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59746 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
59747 echo $ECHO_N "(cached) $ECHO_C" >&6
59748 else
59752 ac_ext=cc
59753 ac_cpp='$CXXCPP $CPPFLAGS'
59754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59758 cat >conftest.$ac_ext <<_ACEOF
59759 /* confdefs.h. */
59760 _ACEOF
59761 cat confdefs.h >>conftest.$ac_ext
59762 cat >>conftest.$ac_ext <<_ACEOF
59763 /* end confdefs.h. */
59764 #include <math.h>
59766 main ()
59768 sincosl(0, 0, 0);
59770 return 0;
59772 _ACEOF
59773 rm -f conftest.$ac_objext
59774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59775 (eval $ac_compile) 2>conftest.er1
59776 ac_status=$?
59777 grep -v '^ *+' conftest.er1 >conftest.err
59778 rm -f conftest.er1
59779 cat conftest.err >&5
59780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59781 (exit $ac_status); } &&
59782 { ac_try='test -z "$ac_cxx_werror_flag"
59783 || test ! -s conftest.err'
59784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59785 (eval $ac_try) 2>&5
59786 ac_status=$?
59787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59788 (exit $ac_status); }; } &&
59789 { ac_try='test -s conftest.$ac_objext'
59790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59791 (eval $ac_try) 2>&5
59792 ac_status=$?
59793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59794 (exit $ac_status); }; }; then
59795 glibcxx_cv_func_sincosl_use=yes
59796 else
59797 echo "$as_me: failed program was:" >&5
59798 sed 's/^/| /' conftest.$ac_ext >&5
59800 glibcxx_cv_func_sincosl_use=no
59802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59803 ac_ext=c
59804 ac_cpp='$CPP $CPPFLAGS'
59805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59813 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
59814 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
59816 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59818 for ac_func in sincosl
59820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59821 echo "$as_me:$LINENO: checking for $ac_func" >&5
59822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59823 if eval "test \"\${$as_ac_var+set}\" = set"; then
59824 echo $ECHO_N "(cached) $ECHO_C" >&6
59825 else
59826 if test x$gcc_no_link = xyes; then
59827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59829 { (exit 1); exit 1; }; }
59831 cat >conftest.$ac_ext <<_ACEOF
59832 /* confdefs.h. */
59833 _ACEOF
59834 cat confdefs.h >>conftest.$ac_ext
59835 cat >>conftest.$ac_ext <<_ACEOF
59836 /* end confdefs.h. */
59837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59839 #define $ac_func innocuous_$ac_func
59841 /* System header to define __stub macros and hopefully few prototypes,
59842 which can conflict with char $ac_func (); below.
59843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59844 <limits.h> exists even on freestanding compilers. */
59846 #ifdef __STDC__
59847 # include <limits.h>
59848 #else
59849 # include <assert.h>
59850 #endif
59852 #undef $ac_func
59854 /* Override any gcc2 internal prototype to avoid an error. */
59855 #ifdef __cplusplus
59856 extern "C"
59858 #endif
59859 /* We use char because int might match the return type of a gcc2
59860 builtin and then its argument prototype would still apply. */
59861 char $ac_func ();
59862 /* The GNU C library defines this for functions which it implements
59863 to always fail with ENOSYS. Some functions are actually named
59864 something starting with __ and the normal name is an alias. */
59865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59866 choke me
59867 #else
59868 char (*f) () = $ac_func;
59869 #endif
59870 #ifdef __cplusplus
59872 #endif
59875 main ()
59877 return f != $ac_func;
59879 return 0;
59881 _ACEOF
59882 rm -f conftest.$ac_objext conftest$ac_exeext
59883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59884 (eval $ac_link) 2>conftest.er1
59885 ac_status=$?
59886 grep -v '^ *+' conftest.er1 >conftest.err
59887 rm -f conftest.er1
59888 cat conftest.err >&5
59889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59890 (exit $ac_status); } &&
59891 { ac_try='test -z "$ac_c_werror_flag"
59892 || test ! -s conftest.err'
59893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59894 (eval $ac_try) 2>&5
59895 ac_status=$?
59896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59897 (exit $ac_status); }; } &&
59898 { ac_try='test -s conftest$ac_exeext'
59899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59900 (eval $ac_try) 2>&5
59901 ac_status=$?
59902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59903 (exit $ac_status); }; }; then
59904 eval "$as_ac_var=yes"
59905 else
59906 echo "$as_me: failed program was:" >&5
59907 sed 's/^/| /' conftest.$ac_ext >&5
59909 eval "$as_ac_var=no"
59911 rm -f conftest.err conftest.$ac_objext \
59912 conftest$ac_exeext conftest.$ac_ext
59914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59916 if test `eval echo '${'$as_ac_var'}'` = yes; then
59917 cat >>confdefs.h <<_ACEOF
59918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59919 _ACEOF
59922 done
59924 else
59926 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
59927 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
59928 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59929 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
59930 echo $ECHO_N "(cached) $ECHO_C" >&6
59931 else
59935 ac_ext=cc
59936 ac_cpp='$CXXCPP $CPPFLAGS'
59937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59941 cat >conftest.$ac_ext <<_ACEOF
59942 /* confdefs.h. */
59943 _ACEOF
59944 cat confdefs.h >>conftest.$ac_ext
59945 cat >>conftest.$ac_ext <<_ACEOF
59946 /* end confdefs.h. */
59947 #include <math.h>
59949 main ()
59951 _sincosl(0, 0, 0);
59953 return 0;
59955 _ACEOF
59956 rm -f conftest.$ac_objext
59957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59958 (eval $ac_compile) 2>conftest.er1
59959 ac_status=$?
59960 grep -v '^ *+' conftest.er1 >conftest.err
59961 rm -f conftest.er1
59962 cat conftest.err >&5
59963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59964 (exit $ac_status); } &&
59965 { ac_try='test -z "$ac_cxx_werror_flag"
59966 || test ! -s conftest.err'
59967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59968 (eval $ac_try) 2>&5
59969 ac_status=$?
59970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59971 (exit $ac_status); }; } &&
59972 { ac_try='test -s conftest.$ac_objext'
59973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59974 (eval $ac_try) 2>&5
59975 ac_status=$?
59976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59977 (exit $ac_status); }; }; then
59978 glibcxx_cv_func__sincosl_use=yes
59979 else
59980 echo "$as_me: failed program was:" >&5
59981 sed 's/^/| /' conftest.$ac_ext >&5
59983 glibcxx_cv_func__sincosl_use=no
59985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59986 ac_ext=c
59987 ac_cpp='$CPP $CPPFLAGS'
59988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59996 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
59997 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
59999 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60001 for ac_func in _sincosl
60003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60004 echo "$as_me:$LINENO: checking for $ac_func" >&5
60005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60006 if eval "test \"\${$as_ac_var+set}\" = set"; then
60007 echo $ECHO_N "(cached) $ECHO_C" >&6
60008 else
60009 if test x$gcc_no_link = xyes; then
60010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60012 { (exit 1); exit 1; }; }
60014 cat >conftest.$ac_ext <<_ACEOF
60015 /* confdefs.h. */
60016 _ACEOF
60017 cat confdefs.h >>conftest.$ac_ext
60018 cat >>conftest.$ac_ext <<_ACEOF
60019 /* end confdefs.h. */
60020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60022 #define $ac_func innocuous_$ac_func
60024 /* System header to define __stub macros and hopefully few prototypes,
60025 which can conflict with char $ac_func (); below.
60026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60027 <limits.h> exists even on freestanding compilers. */
60029 #ifdef __STDC__
60030 # include <limits.h>
60031 #else
60032 # include <assert.h>
60033 #endif
60035 #undef $ac_func
60037 /* Override any gcc2 internal prototype to avoid an error. */
60038 #ifdef __cplusplus
60039 extern "C"
60041 #endif
60042 /* We use char because int might match the return type of a gcc2
60043 builtin and then its argument prototype would still apply. */
60044 char $ac_func ();
60045 /* The GNU C library defines this for functions which it implements
60046 to always fail with ENOSYS. Some functions are actually named
60047 something starting with __ and the normal name is an alias. */
60048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60049 choke me
60050 #else
60051 char (*f) () = $ac_func;
60052 #endif
60053 #ifdef __cplusplus
60055 #endif
60058 main ()
60060 return f != $ac_func;
60062 return 0;
60064 _ACEOF
60065 rm -f conftest.$ac_objext conftest$ac_exeext
60066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60067 (eval $ac_link) 2>conftest.er1
60068 ac_status=$?
60069 grep -v '^ *+' conftest.er1 >conftest.err
60070 rm -f conftest.er1
60071 cat conftest.err >&5
60072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60073 (exit $ac_status); } &&
60074 { ac_try='test -z "$ac_c_werror_flag"
60075 || test ! -s conftest.err'
60076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60077 (eval $ac_try) 2>&5
60078 ac_status=$?
60079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60080 (exit $ac_status); }; } &&
60081 { ac_try='test -s conftest$ac_exeext'
60082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60083 (eval $ac_try) 2>&5
60084 ac_status=$?
60085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60086 (exit $ac_status); }; }; then
60087 eval "$as_ac_var=yes"
60088 else
60089 echo "$as_me: failed program was:" >&5
60090 sed 's/^/| /' conftest.$ac_ext >&5
60092 eval "$as_ac_var=no"
60094 rm -f conftest.err conftest.$ac_objext \
60095 conftest$ac_exeext conftest.$ac_ext
60097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60099 if test `eval echo '${'$as_ac_var'}'` = yes; then
60100 cat >>confdefs.h <<_ACEOF
60101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60102 _ACEOF
60105 done
60115 echo "$as_me:$LINENO: checking for finitel declaration" >&5
60116 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
60117 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60118 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
60119 echo $ECHO_N "(cached) $ECHO_C" >&6
60120 else
60124 ac_ext=cc
60125 ac_cpp='$CXXCPP $CPPFLAGS'
60126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60130 cat >conftest.$ac_ext <<_ACEOF
60131 /* confdefs.h. */
60132 _ACEOF
60133 cat confdefs.h >>conftest.$ac_ext
60134 cat >>conftest.$ac_ext <<_ACEOF
60135 /* end confdefs.h. */
60136 #include <math.h>
60137 #ifdef HAVE_IEEEFP_H
60138 #include <ieeefp.h>
60139 #endif
60142 main ()
60144 finitel(0);
60146 return 0;
60148 _ACEOF
60149 rm -f conftest.$ac_objext
60150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60151 (eval $ac_compile) 2>conftest.er1
60152 ac_status=$?
60153 grep -v '^ *+' conftest.er1 >conftest.err
60154 rm -f conftest.er1
60155 cat conftest.err >&5
60156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60157 (exit $ac_status); } &&
60158 { ac_try='test -z "$ac_cxx_werror_flag"
60159 || test ! -s conftest.err'
60160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60161 (eval $ac_try) 2>&5
60162 ac_status=$?
60163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60164 (exit $ac_status); }; } &&
60165 { ac_try='test -s conftest.$ac_objext'
60166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60167 (eval $ac_try) 2>&5
60168 ac_status=$?
60169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60170 (exit $ac_status); }; }; then
60171 glibcxx_cv_func_finitel_use=yes
60172 else
60173 echo "$as_me: failed program was:" >&5
60174 sed 's/^/| /' conftest.$ac_ext >&5
60176 glibcxx_cv_func_finitel_use=no
60178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60179 ac_ext=c
60180 ac_cpp='$CPP $CPPFLAGS'
60181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60189 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
60190 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
60192 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60194 for ac_func in finitel
60196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60197 echo "$as_me:$LINENO: checking for $ac_func" >&5
60198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60199 if eval "test \"\${$as_ac_var+set}\" = set"; then
60200 echo $ECHO_N "(cached) $ECHO_C" >&6
60201 else
60202 if test x$gcc_no_link = xyes; then
60203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60205 { (exit 1); exit 1; }; }
60207 cat >conftest.$ac_ext <<_ACEOF
60208 /* confdefs.h. */
60209 _ACEOF
60210 cat confdefs.h >>conftest.$ac_ext
60211 cat >>conftest.$ac_ext <<_ACEOF
60212 /* end confdefs.h. */
60213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60215 #define $ac_func innocuous_$ac_func
60217 /* System header to define __stub macros and hopefully few prototypes,
60218 which can conflict with char $ac_func (); below.
60219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60220 <limits.h> exists even on freestanding compilers. */
60222 #ifdef __STDC__
60223 # include <limits.h>
60224 #else
60225 # include <assert.h>
60226 #endif
60228 #undef $ac_func
60230 /* Override any gcc2 internal prototype to avoid an error. */
60231 #ifdef __cplusplus
60232 extern "C"
60234 #endif
60235 /* We use char because int might match the return type of a gcc2
60236 builtin and then its argument prototype would still apply. */
60237 char $ac_func ();
60238 /* The GNU C library defines this for functions which it implements
60239 to always fail with ENOSYS. Some functions are actually named
60240 something starting with __ and the normal name is an alias. */
60241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60242 choke me
60243 #else
60244 char (*f) () = $ac_func;
60245 #endif
60246 #ifdef __cplusplus
60248 #endif
60251 main ()
60253 return f != $ac_func;
60255 return 0;
60257 _ACEOF
60258 rm -f conftest.$ac_objext conftest$ac_exeext
60259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60260 (eval $ac_link) 2>conftest.er1
60261 ac_status=$?
60262 grep -v '^ *+' conftest.er1 >conftest.err
60263 rm -f conftest.er1
60264 cat conftest.err >&5
60265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60266 (exit $ac_status); } &&
60267 { ac_try='test -z "$ac_c_werror_flag"
60268 || test ! -s conftest.err'
60269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60270 (eval $ac_try) 2>&5
60271 ac_status=$?
60272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60273 (exit $ac_status); }; } &&
60274 { ac_try='test -s conftest$ac_exeext'
60275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60276 (eval $ac_try) 2>&5
60277 ac_status=$?
60278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60279 (exit $ac_status); }; }; then
60280 eval "$as_ac_var=yes"
60281 else
60282 echo "$as_me: failed program was:" >&5
60283 sed 's/^/| /' conftest.$ac_ext >&5
60285 eval "$as_ac_var=no"
60287 rm -f conftest.err conftest.$ac_objext \
60288 conftest$ac_exeext conftest.$ac_ext
60290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60292 if test `eval echo '${'$as_ac_var'}'` = yes; then
60293 cat >>confdefs.h <<_ACEOF
60294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60295 _ACEOF
60298 done
60300 else
60302 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
60303 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
60304 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60305 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
60306 echo $ECHO_N "(cached) $ECHO_C" >&6
60307 else
60311 ac_ext=cc
60312 ac_cpp='$CXXCPP $CPPFLAGS'
60313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60317 cat >conftest.$ac_ext <<_ACEOF
60318 /* confdefs.h. */
60319 _ACEOF
60320 cat confdefs.h >>conftest.$ac_ext
60321 cat >>conftest.$ac_ext <<_ACEOF
60322 /* end confdefs.h. */
60323 #include <math.h>
60324 #ifdef HAVE_IEEEFP_H
60325 #include <ieeefp.h>
60326 #endif
60329 main ()
60331 _finitel(0);
60333 return 0;
60335 _ACEOF
60336 rm -f conftest.$ac_objext
60337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60338 (eval $ac_compile) 2>conftest.er1
60339 ac_status=$?
60340 grep -v '^ *+' conftest.er1 >conftest.err
60341 rm -f conftest.er1
60342 cat conftest.err >&5
60343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60344 (exit $ac_status); } &&
60345 { ac_try='test -z "$ac_cxx_werror_flag"
60346 || test ! -s conftest.err'
60347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60348 (eval $ac_try) 2>&5
60349 ac_status=$?
60350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60351 (exit $ac_status); }; } &&
60352 { ac_try='test -s conftest.$ac_objext'
60353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60354 (eval $ac_try) 2>&5
60355 ac_status=$?
60356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60357 (exit $ac_status); }; }; then
60358 glibcxx_cv_func__finitel_use=yes
60359 else
60360 echo "$as_me: failed program was:" >&5
60361 sed 's/^/| /' conftest.$ac_ext >&5
60363 glibcxx_cv_func__finitel_use=no
60365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60366 ac_ext=c
60367 ac_cpp='$CPP $CPPFLAGS'
60368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60376 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
60377 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
60379 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60381 for ac_func in _finitel
60383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60384 echo "$as_me:$LINENO: checking for $ac_func" >&5
60385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60386 if eval "test \"\${$as_ac_var+set}\" = set"; then
60387 echo $ECHO_N "(cached) $ECHO_C" >&6
60388 else
60389 if test x$gcc_no_link = xyes; then
60390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60392 { (exit 1); exit 1; }; }
60394 cat >conftest.$ac_ext <<_ACEOF
60395 /* confdefs.h. */
60396 _ACEOF
60397 cat confdefs.h >>conftest.$ac_ext
60398 cat >>conftest.$ac_ext <<_ACEOF
60399 /* end confdefs.h. */
60400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60402 #define $ac_func innocuous_$ac_func
60404 /* System header to define __stub macros and hopefully few prototypes,
60405 which can conflict with char $ac_func (); below.
60406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60407 <limits.h> exists even on freestanding compilers. */
60409 #ifdef __STDC__
60410 # include <limits.h>
60411 #else
60412 # include <assert.h>
60413 #endif
60415 #undef $ac_func
60417 /* Override any gcc2 internal prototype to avoid an error. */
60418 #ifdef __cplusplus
60419 extern "C"
60421 #endif
60422 /* We use char because int might match the return type of a gcc2
60423 builtin and then its argument prototype would still apply. */
60424 char $ac_func ();
60425 /* The GNU C library defines this for functions which it implements
60426 to always fail with ENOSYS. Some functions are actually named
60427 something starting with __ and the normal name is an alias. */
60428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60429 choke me
60430 #else
60431 char (*f) () = $ac_func;
60432 #endif
60433 #ifdef __cplusplus
60435 #endif
60438 main ()
60440 return f != $ac_func;
60442 return 0;
60444 _ACEOF
60445 rm -f conftest.$ac_objext conftest$ac_exeext
60446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60447 (eval $ac_link) 2>conftest.er1
60448 ac_status=$?
60449 grep -v '^ *+' conftest.er1 >conftest.err
60450 rm -f conftest.er1
60451 cat conftest.err >&5
60452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60453 (exit $ac_status); } &&
60454 { ac_try='test -z "$ac_c_werror_flag"
60455 || test ! -s conftest.err'
60456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60457 (eval $ac_try) 2>&5
60458 ac_status=$?
60459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60460 (exit $ac_status); }; } &&
60461 { ac_try='test -s conftest$ac_exeext'
60462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60463 (eval $ac_try) 2>&5
60464 ac_status=$?
60465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60466 (exit $ac_status); }; }; then
60467 eval "$as_ac_var=yes"
60468 else
60469 echo "$as_me: failed program was:" >&5
60470 sed 's/^/| /' conftest.$ac_ext >&5
60472 eval "$as_ac_var=no"
60474 rm -f conftest.err conftest.$ac_objext \
60475 conftest$ac_exeext conftest.$ac_ext
60477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60479 if test `eval echo '${'$as_ac_var'}'` = yes; then
60480 cat >>confdefs.h <<_ACEOF
60481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60482 _ACEOF
60485 done
60494 LIBS="$ac_save_LIBS"
60495 CXXFLAGS="$ac_save_CXXFLAGS"
60499 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
60500 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
60501 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
60502 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
60503 echo $ECHO_N "(cached) $ECHO_C" >&6
60504 else
60508 ac_ext=cc
60509 ac_cpp='$CXXCPP $CPPFLAGS'
60510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60514 cat >conftest.$ac_ext <<_ACEOF
60515 /* confdefs.h. */
60516 _ACEOF
60517 cat confdefs.h >>conftest.$ac_ext
60518 cat >>conftest.$ac_ext <<_ACEOF
60519 /* end confdefs.h. */
60520 #include <math.h>
60522 main ()
60524 __builtin_abs(0);
60526 return 0;
60528 _ACEOF
60529 rm -f conftest.$ac_objext
60530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60531 (eval $ac_compile) 2>conftest.er1
60532 ac_status=$?
60533 grep -v '^ *+' conftest.er1 >conftest.err
60534 rm -f conftest.er1
60535 cat conftest.err >&5
60536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60537 (exit $ac_status); } &&
60538 { ac_try='test -z "$ac_cxx_werror_flag"
60539 || test ! -s conftest.err'
60540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60541 (eval $ac_try) 2>&5
60542 ac_status=$?
60543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60544 (exit $ac_status); }; } &&
60545 { ac_try='test -s conftest.$ac_objext'
60546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60547 (eval $ac_try) 2>&5
60548 ac_status=$?
60549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60550 (exit $ac_status); }; }; then
60551 glibcxx_cv_func___builtin_abs_use=yes
60552 else
60553 echo "$as_me: failed program was:" >&5
60554 sed 's/^/| /' conftest.$ac_ext >&5
60556 glibcxx_cv_func___builtin_abs_use=no
60558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60559 ac_ext=c
60560 ac_cpp='$CPP $CPPFLAGS'
60561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60569 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
60570 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
60571 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
60572 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
60573 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
60574 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
60575 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
60576 echo $ECHO_N "(cached) $ECHO_C" >&6
60577 else
60579 if test x$gcc_no_link = xyes; then
60580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60582 { (exit 1); exit 1; }; }
60584 cat >conftest.$ac_ext <<_ACEOF
60585 /* confdefs.h. */
60586 _ACEOF
60587 cat confdefs.h >>conftest.$ac_ext
60588 cat >>conftest.$ac_ext <<_ACEOF
60589 /* end confdefs.h. */
60590 #include <math.h>
60592 main ()
60594 __builtin_abs(0);
60596 return 0;
60598 _ACEOF
60599 rm -f conftest.$ac_objext conftest$ac_exeext
60600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60601 (eval $ac_link) 2>conftest.er1
60602 ac_status=$?
60603 grep -v '^ *+' conftest.er1 >conftest.err
60604 rm -f conftest.er1
60605 cat conftest.err >&5
60606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60607 (exit $ac_status); } &&
60608 { ac_try='test -z "$ac_c_werror_flag"
60609 || test ! -s conftest.err'
60610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60611 (eval $ac_try) 2>&5
60612 ac_status=$?
60613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60614 (exit $ac_status); }; } &&
60615 { ac_try='test -s conftest$ac_exeext'
60616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60617 (eval $ac_try) 2>&5
60618 ac_status=$?
60619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60620 (exit $ac_status); }; }; then
60621 glibcxx_cv_func___builtin_abs_link=yes
60622 else
60623 echo "$as_me: failed program was:" >&5
60624 sed 's/^/| /' conftest.$ac_ext >&5
60626 glibcxx_cv_func___builtin_abs_link=no
60628 rm -f conftest.err conftest.$ac_objext \
60629 conftest$ac_exeext conftest.$ac_ext
60634 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
60635 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
60637 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
60639 cat >>confdefs.h <<\_ACEOF
60640 #define HAVE___BUILTIN_ABS 1
60641 _ACEOF
60648 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
60649 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
60650 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
60651 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
60652 echo $ECHO_N "(cached) $ECHO_C" >&6
60653 else
60657 ac_ext=cc
60658 ac_cpp='$CXXCPP $CPPFLAGS'
60659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60663 cat >conftest.$ac_ext <<_ACEOF
60664 /* confdefs.h. */
60665 _ACEOF
60666 cat confdefs.h >>conftest.$ac_ext
60667 cat >>conftest.$ac_ext <<_ACEOF
60668 /* end confdefs.h. */
60669 #include <math.h>
60671 main ()
60673 __builtin_fabsf(0);
60675 return 0;
60677 _ACEOF
60678 rm -f conftest.$ac_objext
60679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60680 (eval $ac_compile) 2>conftest.er1
60681 ac_status=$?
60682 grep -v '^ *+' conftest.er1 >conftest.err
60683 rm -f conftest.er1
60684 cat conftest.err >&5
60685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60686 (exit $ac_status); } &&
60687 { ac_try='test -z "$ac_cxx_werror_flag"
60688 || test ! -s conftest.err'
60689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60690 (eval $ac_try) 2>&5
60691 ac_status=$?
60692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60693 (exit $ac_status); }; } &&
60694 { ac_try='test -s conftest.$ac_objext'
60695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60696 (eval $ac_try) 2>&5
60697 ac_status=$?
60698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60699 (exit $ac_status); }; }; then
60700 glibcxx_cv_func___builtin_fabsf_use=yes
60701 else
60702 echo "$as_me: failed program was:" >&5
60703 sed 's/^/| /' conftest.$ac_ext >&5
60705 glibcxx_cv_func___builtin_fabsf_use=no
60707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60708 ac_ext=c
60709 ac_cpp='$CPP $CPPFLAGS'
60710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60718 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
60719 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
60720 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
60721 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
60722 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
60723 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
60724 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
60725 echo $ECHO_N "(cached) $ECHO_C" >&6
60726 else
60728 if test x$gcc_no_link = xyes; then
60729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60731 { (exit 1); exit 1; }; }
60733 cat >conftest.$ac_ext <<_ACEOF
60734 /* confdefs.h. */
60735 _ACEOF
60736 cat confdefs.h >>conftest.$ac_ext
60737 cat >>conftest.$ac_ext <<_ACEOF
60738 /* end confdefs.h. */
60739 #include <math.h>
60741 main ()
60743 __builtin_fabsf(0);
60745 return 0;
60747 _ACEOF
60748 rm -f conftest.$ac_objext conftest$ac_exeext
60749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60750 (eval $ac_link) 2>conftest.er1
60751 ac_status=$?
60752 grep -v '^ *+' conftest.er1 >conftest.err
60753 rm -f conftest.er1
60754 cat conftest.err >&5
60755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60756 (exit $ac_status); } &&
60757 { ac_try='test -z "$ac_c_werror_flag"
60758 || test ! -s conftest.err'
60759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60760 (eval $ac_try) 2>&5
60761 ac_status=$?
60762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60763 (exit $ac_status); }; } &&
60764 { ac_try='test -s conftest$ac_exeext'
60765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60766 (eval $ac_try) 2>&5
60767 ac_status=$?
60768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60769 (exit $ac_status); }; }; then
60770 glibcxx_cv_func___builtin_fabsf_link=yes
60771 else
60772 echo "$as_me: failed program was:" >&5
60773 sed 's/^/| /' conftest.$ac_ext >&5
60775 glibcxx_cv_func___builtin_fabsf_link=no
60777 rm -f conftest.err conftest.$ac_objext \
60778 conftest$ac_exeext conftest.$ac_ext
60783 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
60784 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
60786 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
60788 cat >>confdefs.h <<\_ACEOF
60789 #define HAVE___BUILTIN_FABSF 1
60790 _ACEOF
60797 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
60798 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
60799 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
60800 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
60801 echo $ECHO_N "(cached) $ECHO_C" >&6
60802 else
60806 ac_ext=cc
60807 ac_cpp='$CXXCPP $CPPFLAGS'
60808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60812 cat >conftest.$ac_ext <<_ACEOF
60813 /* confdefs.h. */
60814 _ACEOF
60815 cat confdefs.h >>conftest.$ac_ext
60816 cat >>conftest.$ac_ext <<_ACEOF
60817 /* end confdefs.h. */
60818 #include <math.h>
60820 main ()
60822 __builtin_fabs(0);
60824 return 0;
60826 _ACEOF
60827 rm -f conftest.$ac_objext
60828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60829 (eval $ac_compile) 2>conftest.er1
60830 ac_status=$?
60831 grep -v '^ *+' conftest.er1 >conftest.err
60832 rm -f conftest.er1
60833 cat conftest.err >&5
60834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60835 (exit $ac_status); } &&
60836 { ac_try='test -z "$ac_cxx_werror_flag"
60837 || test ! -s conftest.err'
60838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60839 (eval $ac_try) 2>&5
60840 ac_status=$?
60841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60842 (exit $ac_status); }; } &&
60843 { ac_try='test -s conftest.$ac_objext'
60844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60845 (eval $ac_try) 2>&5
60846 ac_status=$?
60847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60848 (exit $ac_status); }; }; then
60849 glibcxx_cv_func___builtin_fabs_use=yes
60850 else
60851 echo "$as_me: failed program was:" >&5
60852 sed 's/^/| /' conftest.$ac_ext >&5
60854 glibcxx_cv_func___builtin_fabs_use=no
60856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60857 ac_ext=c
60858 ac_cpp='$CPP $CPPFLAGS'
60859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60867 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
60868 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
60869 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
60870 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
60871 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
60872 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
60873 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
60874 echo $ECHO_N "(cached) $ECHO_C" >&6
60875 else
60877 if test x$gcc_no_link = xyes; then
60878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60880 { (exit 1); exit 1; }; }
60882 cat >conftest.$ac_ext <<_ACEOF
60883 /* confdefs.h. */
60884 _ACEOF
60885 cat confdefs.h >>conftest.$ac_ext
60886 cat >>conftest.$ac_ext <<_ACEOF
60887 /* end confdefs.h. */
60888 #include <math.h>
60890 main ()
60892 __builtin_fabs(0);
60894 return 0;
60896 _ACEOF
60897 rm -f conftest.$ac_objext conftest$ac_exeext
60898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60899 (eval $ac_link) 2>conftest.er1
60900 ac_status=$?
60901 grep -v '^ *+' conftest.er1 >conftest.err
60902 rm -f conftest.er1
60903 cat conftest.err >&5
60904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60905 (exit $ac_status); } &&
60906 { ac_try='test -z "$ac_c_werror_flag"
60907 || test ! -s conftest.err'
60908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60909 (eval $ac_try) 2>&5
60910 ac_status=$?
60911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60912 (exit $ac_status); }; } &&
60913 { ac_try='test -s conftest$ac_exeext'
60914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60915 (eval $ac_try) 2>&5
60916 ac_status=$?
60917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60918 (exit $ac_status); }; }; then
60919 glibcxx_cv_func___builtin_fabs_link=yes
60920 else
60921 echo "$as_me: failed program was:" >&5
60922 sed 's/^/| /' conftest.$ac_ext >&5
60924 glibcxx_cv_func___builtin_fabs_link=no
60926 rm -f conftest.err conftest.$ac_objext \
60927 conftest$ac_exeext conftest.$ac_ext
60932 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
60933 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
60935 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
60937 cat >>confdefs.h <<\_ACEOF
60938 #define HAVE___BUILTIN_FABS 1
60939 _ACEOF
60946 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
60947 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
60948 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
60949 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
60950 echo $ECHO_N "(cached) $ECHO_C" >&6
60951 else
60955 ac_ext=cc
60956 ac_cpp='$CXXCPP $CPPFLAGS'
60957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60961 cat >conftest.$ac_ext <<_ACEOF
60962 /* confdefs.h. */
60963 _ACEOF
60964 cat confdefs.h >>conftest.$ac_ext
60965 cat >>conftest.$ac_ext <<_ACEOF
60966 /* end confdefs.h. */
60967 #include <math.h>
60969 main ()
60971 __builtin_fabsl(0);
60973 return 0;
60975 _ACEOF
60976 rm -f conftest.$ac_objext
60977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60978 (eval $ac_compile) 2>conftest.er1
60979 ac_status=$?
60980 grep -v '^ *+' conftest.er1 >conftest.err
60981 rm -f conftest.er1
60982 cat conftest.err >&5
60983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60984 (exit $ac_status); } &&
60985 { ac_try='test -z "$ac_cxx_werror_flag"
60986 || test ! -s conftest.err'
60987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60988 (eval $ac_try) 2>&5
60989 ac_status=$?
60990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60991 (exit $ac_status); }; } &&
60992 { ac_try='test -s conftest.$ac_objext'
60993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60994 (eval $ac_try) 2>&5
60995 ac_status=$?
60996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60997 (exit $ac_status); }; }; then
60998 glibcxx_cv_func___builtin_fabsl_use=yes
60999 else
61000 echo "$as_me: failed program was:" >&5
61001 sed 's/^/| /' conftest.$ac_ext >&5
61003 glibcxx_cv_func___builtin_fabsl_use=no
61005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61006 ac_ext=c
61007 ac_cpp='$CPP $CPPFLAGS'
61008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61016 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
61017 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
61018 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
61019 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
61020 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
61021 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
61022 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
61023 echo $ECHO_N "(cached) $ECHO_C" >&6
61024 else
61026 if test x$gcc_no_link = xyes; then
61027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61029 { (exit 1); exit 1; }; }
61031 cat >conftest.$ac_ext <<_ACEOF
61032 /* confdefs.h. */
61033 _ACEOF
61034 cat confdefs.h >>conftest.$ac_ext
61035 cat >>conftest.$ac_ext <<_ACEOF
61036 /* end confdefs.h. */
61037 #include <math.h>
61039 main ()
61041 __builtin_fabsl(0);
61043 return 0;
61045 _ACEOF
61046 rm -f conftest.$ac_objext conftest$ac_exeext
61047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61048 (eval $ac_link) 2>conftest.er1
61049 ac_status=$?
61050 grep -v '^ *+' conftest.er1 >conftest.err
61051 rm -f conftest.er1
61052 cat conftest.err >&5
61053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61054 (exit $ac_status); } &&
61055 { ac_try='test -z "$ac_c_werror_flag"
61056 || test ! -s conftest.err'
61057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61058 (eval $ac_try) 2>&5
61059 ac_status=$?
61060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61061 (exit $ac_status); }; } &&
61062 { ac_try='test -s conftest$ac_exeext'
61063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61064 (eval $ac_try) 2>&5
61065 ac_status=$?
61066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61067 (exit $ac_status); }; }; then
61068 glibcxx_cv_func___builtin_fabsl_link=yes
61069 else
61070 echo "$as_me: failed program was:" >&5
61071 sed 's/^/| /' conftest.$ac_ext >&5
61073 glibcxx_cv_func___builtin_fabsl_link=no
61075 rm -f conftest.err conftest.$ac_objext \
61076 conftest$ac_exeext conftest.$ac_ext
61081 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
61082 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
61084 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
61086 cat >>confdefs.h <<\_ACEOF
61087 #define HAVE___BUILTIN_FABSL 1
61088 _ACEOF
61095 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
61096 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
61097 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
61098 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
61099 echo $ECHO_N "(cached) $ECHO_C" >&6
61100 else
61104 ac_ext=cc
61105 ac_cpp='$CXXCPP $CPPFLAGS'
61106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61110 cat >conftest.$ac_ext <<_ACEOF
61111 /* confdefs.h. */
61112 _ACEOF
61113 cat confdefs.h >>conftest.$ac_ext
61114 cat >>conftest.$ac_ext <<_ACEOF
61115 /* end confdefs.h. */
61116 #include <math.h>
61118 main ()
61120 __builtin_labs(0);
61122 return 0;
61124 _ACEOF
61125 rm -f conftest.$ac_objext
61126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61127 (eval $ac_compile) 2>conftest.er1
61128 ac_status=$?
61129 grep -v '^ *+' conftest.er1 >conftest.err
61130 rm -f conftest.er1
61131 cat conftest.err >&5
61132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61133 (exit $ac_status); } &&
61134 { ac_try='test -z "$ac_cxx_werror_flag"
61135 || test ! -s conftest.err'
61136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61137 (eval $ac_try) 2>&5
61138 ac_status=$?
61139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61140 (exit $ac_status); }; } &&
61141 { ac_try='test -s conftest.$ac_objext'
61142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61143 (eval $ac_try) 2>&5
61144 ac_status=$?
61145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61146 (exit $ac_status); }; }; then
61147 glibcxx_cv_func___builtin_labs_use=yes
61148 else
61149 echo "$as_me: failed program was:" >&5
61150 sed 's/^/| /' conftest.$ac_ext >&5
61152 glibcxx_cv_func___builtin_labs_use=no
61154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61155 ac_ext=c
61156 ac_cpp='$CPP $CPPFLAGS'
61157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61165 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
61166 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
61167 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
61168 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
61169 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
61170 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
61171 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
61172 echo $ECHO_N "(cached) $ECHO_C" >&6
61173 else
61175 if test x$gcc_no_link = xyes; then
61176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61178 { (exit 1); exit 1; }; }
61180 cat >conftest.$ac_ext <<_ACEOF
61181 /* confdefs.h. */
61182 _ACEOF
61183 cat confdefs.h >>conftest.$ac_ext
61184 cat >>conftest.$ac_ext <<_ACEOF
61185 /* end confdefs.h. */
61186 #include <math.h>
61188 main ()
61190 __builtin_labs(0);
61192 return 0;
61194 _ACEOF
61195 rm -f conftest.$ac_objext conftest$ac_exeext
61196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61197 (eval $ac_link) 2>conftest.er1
61198 ac_status=$?
61199 grep -v '^ *+' conftest.er1 >conftest.err
61200 rm -f conftest.er1
61201 cat conftest.err >&5
61202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61203 (exit $ac_status); } &&
61204 { ac_try='test -z "$ac_c_werror_flag"
61205 || test ! -s conftest.err'
61206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61207 (eval $ac_try) 2>&5
61208 ac_status=$?
61209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61210 (exit $ac_status); }; } &&
61211 { ac_try='test -s conftest$ac_exeext'
61212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61213 (eval $ac_try) 2>&5
61214 ac_status=$?
61215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61216 (exit $ac_status); }; }; then
61217 glibcxx_cv_func___builtin_labs_link=yes
61218 else
61219 echo "$as_me: failed program was:" >&5
61220 sed 's/^/| /' conftest.$ac_ext >&5
61222 glibcxx_cv_func___builtin_labs_link=no
61224 rm -f conftest.err conftest.$ac_objext \
61225 conftest$ac_exeext conftest.$ac_ext
61230 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
61231 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
61233 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
61235 cat >>confdefs.h <<\_ACEOF
61236 #define HAVE___BUILTIN_LABS 1
61237 _ACEOF
61245 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
61246 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
61247 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
61248 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
61249 echo $ECHO_N "(cached) $ECHO_C" >&6
61250 else
61254 ac_ext=cc
61255 ac_cpp='$CXXCPP $CPPFLAGS'
61256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61260 cat >conftest.$ac_ext <<_ACEOF
61261 /* confdefs.h. */
61262 _ACEOF
61263 cat confdefs.h >>conftest.$ac_ext
61264 cat >>conftest.$ac_ext <<_ACEOF
61265 /* end confdefs.h. */
61266 #include <math.h>
61268 main ()
61270 __builtin_sqrtf(0);
61272 return 0;
61274 _ACEOF
61275 rm -f conftest.$ac_objext
61276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61277 (eval $ac_compile) 2>conftest.er1
61278 ac_status=$?
61279 grep -v '^ *+' conftest.er1 >conftest.err
61280 rm -f conftest.er1
61281 cat conftest.err >&5
61282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61283 (exit $ac_status); } &&
61284 { ac_try='test -z "$ac_cxx_werror_flag"
61285 || test ! -s conftest.err'
61286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61287 (eval $ac_try) 2>&5
61288 ac_status=$?
61289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61290 (exit $ac_status); }; } &&
61291 { ac_try='test -s conftest.$ac_objext'
61292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61293 (eval $ac_try) 2>&5
61294 ac_status=$?
61295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61296 (exit $ac_status); }; }; then
61297 glibcxx_cv_func___builtin_sqrtf_use=yes
61298 else
61299 echo "$as_me: failed program was:" >&5
61300 sed 's/^/| /' conftest.$ac_ext >&5
61302 glibcxx_cv_func___builtin_sqrtf_use=no
61304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61305 ac_ext=c
61306 ac_cpp='$CPP $CPPFLAGS'
61307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61315 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
61316 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
61317 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
61318 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
61319 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
61320 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
61321 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
61322 echo $ECHO_N "(cached) $ECHO_C" >&6
61323 else
61325 if test x$gcc_no_link = xyes; then
61326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61328 { (exit 1); exit 1; }; }
61330 cat >conftest.$ac_ext <<_ACEOF
61331 /* confdefs.h. */
61332 _ACEOF
61333 cat confdefs.h >>conftest.$ac_ext
61334 cat >>conftest.$ac_ext <<_ACEOF
61335 /* end confdefs.h. */
61336 #include <math.h>
61338 main ()
61340 __builtin_sqrtf(0);
61342 return 0;
61344 _ACEOF
61345 rm -f conftest.$ac_objext conftest$ac_exeext
61346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61347 (eval $ac_link) 2>conftest.er1
61348 ac_status=$?
61349 grep -v '^ *+' conftest.er1 >conftest.err
61350 rm -f conftest.er1
61351 cat conftest.err >&5
61352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61353 (exit $ac_status); } &&
61354 { ac_try='test -z "$ac_c_werror_flag"
61355 || test ! -s conftest.err'
61356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61357 (eval $ac_try) 2>&5
61358 ac_status=$?
61359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61360 (exit $ac_status); }; } &&
61361 { ac_try='test -s conftest$ac_exeext'
61362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61363 (eval $ac_try) 2>&5
61364 ac_status=$?
61365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61366 (exit $ac_status); }; }; then
61367 glibcxx_cv_func___builtin_sqrtf_link=yes
61368 else
61369 echo "$as_me: failed program was:" >&5
61370 sed 's/^/| /' conftest.$ac_ext >&5
61372 glibcxx_cv_func___builtin_sqrtf_link=no
61374 rm -f conftest.err conftest.$ac_objext \
61375 conftest$ac_exeext conftest.$ac_ext
61380 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
61381 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
61383 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
61385 cat >>confdefs.h <<\_ACEOF
61386 #define HAVE___BUILTIN_SQRTF 1
61387 _ACEOF
61394 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
61395 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
61396 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
61397 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
61398 echo $ECHO_N "(cached) $ECHO_C" >&6
61399 else
61403 ac_ext=cc
61404 ac_cpp='$CXXCPP $CPPFLAGS'
61405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61409 cat >conftest.$ac_ext <<_ACEOF
61410 /* confdefs.h. */
61411 _ACEOF
61412 cat confdefs.h >>conftest.$ac_ext
61413 cat >>conftest.$ac_ext <<_ACEOF
61414 /* end confdefs.h. */
61415 #include <math.h>
61417 main ()
61419 __builtin_sqrt(0);
61421 return 0;
61423 _ACEOF
61424 rm -f conftest.$ac_objext
61425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61426 (eval $ac_compile) 2>conftest.er1
61427 ac_status=$?
61428 grep -v '^ *+' conftest.er1 >conftest.err
61429 rm -f conftest.er1
61430 cat conftest.err >&5
61431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61432 (exit $ac_status); } &&
61433 { ac_try='test -z "$ac_cxx_werror_flag"
61434 || test ! -s conftest.err'
61435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61436 (eval $ac_try) 2>&5
61437 ac_status=$?
61438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61439 (exit $ac_status); }; } &&
61440 { ac_try='test -s conftest.$ac_objext'
61441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61442 (eval $ac_try) 2>&5
61443 ac_status=$?
61444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61445 (exit $ac_status); }; }; then
61446 glibcxx_cv_func___builtin_sqrt_use=yes
61447 else
61448 echo "$as_me: failed program was:" >&5
61449 sed 's/^/| /' conftest.$ac_ext >&5
61451 glibcxx_cv_func___builtin_sqrt_use=no
61453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61454 ac_ext=c
61455 ac_cpp='$CPP $CPPFLAGS'
61456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61464 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
61465 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
61466 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
61467 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
61468 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
61469 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
61470 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
61471 echo $ECHO_N "(cached) $ECHO_C" >&6
61472 else
61474 if test x$gcc_no_link = xyes; then
61475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61477 { (exit 1); exit 1; }; }
61479 cat >conftest.$ac_ext <<_ACEOF
61480 /* confdefs.h. */
61481 _ACEOF
61482 cat confdefs.h >>conftest.$ac_ext
61483 cat >>conftest.$ac_ext <<_ACEOF
61484 /* end confdefs.h. */
61485 #include <math.h>
61487 main ()
61489 __builtin_sqrt(0);
61491 return 0;
61493 _ACEOF
61494 rm -f conftest.$ac_objext conftest$ac_exeext
61495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61496 (eval $ac_link) 2>conftest.er1
61497 ac_status=$?
61498 grep -v '^ *+' conftest.er1 >conftest.err
61499 rm -f conftest.er1
61500 cat conftest.err >&5
61501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61502 (exit $ac_status); } &&
61503 { ac_try='test -z "$ac_c_werror_flag"
61504 || test ! -s conftest.err'
61505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61506 (eval $ac_try) 2>&5
61507 ac_status=$?
61508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61509 (exit $ac_status); }; } &&
61510 { ac_try='test -s conftest$ac_exeext'
61511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61512 (eval $ac_try) 2>&5
61513 ac_status=$?
61514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61515 (exit $ac_status); }; }; then
61516 glibcxx_cv_func___builtin_sqrt_link=yes
61517 else
61518 echo "$as_me: failed program was:" >&5
61519 sed 's/^/| /' conftest.$ac_ext >&5
61521 glibcxx_cv_func___builtin_sqrt_link=no
61523 rm -f conftest.err conftest.$ac_objext \
61524 conftest$ac_exeext conftest.$ac_ext
61529 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
61530 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
61532 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
61534 cat >>confdefs.h <<\_ACEOF
61535 #define HAVE___BUILTIN_SQRT 1
61536 _ACEOF
61543 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
61544 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
61545 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
61546 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
61547 echo $ECHO_N "(cached) $ECHO_C" >&6
61548 else
61552 ac_ext=cc
61553 ac_cpp='$CXXCPP $CPPFLAGS'
61554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61558 cat >conftest.$ac_ext <<_ACEOF
61559 /* confdefs.h. */
61560 _ACEOF
61561 cat confdefs.h >>conftest.$ac_ext
61562 cat >>conftest.$ac_ext <<_ACEOF
61563 /* end confdefs.h. */
61564 #include <math.h>
61566 main ()
61568 __builtin_sqrtl(0);
61570 return 0;
61572 _ACEOF
61573 rm -f conftest.$ac_objext
61574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61575 (eval $ac_compile) 2>conftest.er1
61576 ac_status=$?
61577 grep -v '^ *+' conftest.er1 >conftest.err
61578 rm -f conftest.er1
61579 cat conftest.err >&5
61580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61581 (exit $ac_status); } &&
61582 { ac_try='test -z "$ac_cxx_werror_flag"
61583 || test ! -s conftest.err'
61584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61585 (eval $ac_try) 2>&5
61586 ac_status=$?
61587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61588 (exit $ac_status); }; } &&
61589 { ac_try='test -s conftest.$ac_objext'
61590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61591 (eval $ac_try) 2>&5
61592 ac_status=$?
61593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61594 (exit $ac_status); }; }; then
61595 glibcxx_cv_func___builtin_sqrtl_use=yes
61596 else
61597 echo "$as_me: failed program was:" >&5
61598 sed 's/^/| /' conftest.$ac_ext >&5
61600 glibcxx_cv_func___builtin_sqrtl_use=no
61602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61603 ac_ext=c
61604 ac_cpp='$CPP $CPPFLAGS'
61605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61613 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
61614 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
61615 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
61616 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
61617 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
61618 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
61619 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
61620 echo $ECHO_N "(cached) $ECHO_C" >&6
61621 else
61623 if test x$gcc_no_link = xyes; then
61624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61626 { (exit 1); exit 1; }; }
61628 cat >conftest.$ac_ext <<_ACEOF
61629 /* confdefs.h. */
61630 _ACEOF
61631 cat confdefs.h >>conftest.$ac_ext
61632 cat >>conftest.$ac_ext <<_ACEOF
61633 /* end confdefs.h. */
61634 #include <math.h>
61636 main ()
61638 __builtin_sqrtl(0);
61640 return 0;
61642 _ACEOF
61643 rm -f conftest.$ac_objext conftest$ac_exeext
61644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61645 (eval $ac_link) 2>conftest.er1
61646 ac_status=$?
61647 grep -v '^ *+' conftest.er1 >conftest.err
61648 rm -f conftest.er1
61649 cat conftest.err >&5
61650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61651 (exit $ac_status); } &&
61652 { ac_try='test -z "$ac_c_werror_flag"
61653 || test ! -s conftest.err'
61654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61655 (eval $ac_try) 2>&5
61656 ac_status=$?
61657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61658 (exit $ac_status); }; } &&
61659 { ac_try='test -s conftest$ac_exeext'
61660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61661 (eval $ac_try) 2>&5
61662 ac_status=$?
61663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61664 (exit $ac_status); }; }; then
61665 glibcxx_cv_func___builtin_sqrtl_link=yes
61666 else
61667 echo "$as_me: failed program was:" >&5
61668 sed 's/^/| /' conftest.$ac_ext >&5
61670 glibcxx_cv_func___builtin_sqrtl_link=no
61672 rm -f conftest.err conftest.$ac_objext \
61673 conftest$ac_exeext conftest.$ac_ext
61678 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
61679 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
61681 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
61683 cat >>confdefs.h <<\_ACEOF
61684 #define HAVE___BUILTIN_SQRTL 1
61685 _ACEOF
61693 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
61694 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
61695 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
61696 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
61697 echo $ECHO_N "(cached) $ECHO_C" >&6
61698 else
61702 ac_ext=cc
61703 ac_cpp='$CXXCPP $CPPFLAGS'
61704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61708 cat >conftest.$ac_ext <<_ACEOF
61709 /* confdefs.h. */
61710 _ACEOF
61711 cat confdefs.h >>conftest.$ac_ext
61712 cat >>conftest.$ac_ext <<_ACEOF
61713 /* end confdefs.h. */
61714 #include <math.h>
61716 main ()
61718 __builtin_sinf(0);
61720 return 0;
61722 _ACEOF
61723 rm -f conftest.$ac_objext
61724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61725 (eval $ac_compile) 2>conftest.er1
61726 ac_status=$?
61727 grep -v '^ *+' conftest.er1 >conftest.err
61728 rm -f conftest.er1
61729 cat conftest.err >&5
61730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61731 (exit $ac_status); } &&
61732 { ac_try='test -z "$ac_cxx_werror_flag"
61733 || test ! -s conftest.err'
61734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61735 (eval $ac_try) 2>&5
61736 ac_status=$?
61737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61738 (exit $ac_status); }; } &&
61739 { ac_try='test -s conftest.$ac_objext'
61740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61741 (eval $ac_try) 2>&5
61742 ac_status=$?
61743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61744 (exit $ac_status); }; }; then
61745 glibcxx_cv_func___builtin_sinf_use=yes
61746 else
61747 echo "$as_me: failed program was:" >&5
61748 sed 's/^/| /' conftest.$ac_ext >&5
61750 glibcxx_cv_func___builtin_sinf_use=no
61752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61753 ac_ext=c
61754 ac_cpp='$CPP $CPPFLAGS'
61755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61763 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
61764 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
61765 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
61766 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
61767 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
61768 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
61769 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
61770 echo $ECHO_N "(cached) $ECHO_C" >&6
61771 else
61773 if test x$gcc_no_link = xyes; then
61774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61776 { (exit 1); exit 1; }; }
61778 cat >conftest.$ac_ext <<_ACEOF
61779 /* confdefs.h. */
61780 _ACEOF
61781 cat confdefs.h >>conftest.$ac_ext
61782 cat >>conftest.$ac_ext <<_ACEOF
61783 /* end confdefs.h. */
61784 #include <math.h>
61786 main ()
61788 __builtin_sinf(0);
61790 return 0;
61792 _ACEOF
61793 rm -f conftest.$ac_objext conftest$ac_exeext
61794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61795 (eval $ac_link) 2>conftest.er1
61796 ac_status=$?
61797 grep -v '^ *+' conftest.er1 >conftest.err
61798 rm -f conftest.er1
61799 cat conftest.err >&5
61800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61801 (exit $ac_status); } &&
61802 { ac_try='test -z "$ac_c_werror_flag"
61803 || test ! -s conftest.err'
61804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61805 (eval $ac_try) 2>&5
61806 ac_status=$?
61807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61808 (exit $ac_status); }; } &&
61809 { ac_try='test -s conftest$ac_exeext'
61810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61811 (eval $ac_try) 2>&5
61812 ac_status=$?
61813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61814 (exit $ac_status); }; }; then
61815 glibcxx_cv_func___builtin_sinf_link=yes
61816 else
61817 echo "$as_me: failed program was:" >&5
61818 sed 's/^/| /' conftest.$ac_ext >&5
61820 glibcxx_cv_func___builtin_sinf_link=no
61822 rm -f conftest.err conftest.$ac_objext \
61823 conftest$ac_exeext conftest.$ac_ext
61828 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
61829 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
61831 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
61833 cat >>confdefs.h <<\_ACEOF
61834 #define HAVE___BUILTIN_SINF 1
61835 _ACEOF
61842 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
61843 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
61844 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
61845 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
61846 echo $ECHO_N "(cached) $ECHO_C" >&6
61847 else
61851 ac_ext=cc
61852 ac_cpp='$CXXCPP $CPPFLAGS'
61853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61857 cat >conftest.$ac_ext <<_ACEOF
61858 /* confdefs.h. */
61859 _ACEOF
61860 cat confdefs.h >>conftest.$ac_ext
61861 cat >>conftest.$ac_ext <<_ACEOF
61862 /* end confdefs.h. */
61863 #include <math.h>
61865 main ()
61867 __builtin_sin(0);
61869 return 0;
61871 _ACEOF
61872 rm -f conftest.$ac_objext
61873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61874 (eval $ac_compile) 2>conftest.er1
61875 ac_status=$?
61876 grep -v '^ *+' conftest.er1 >conftest.err
61877 rm -f conftest.er1
61878 cat conftest.err >&5
61879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61880 (exit $ac_status); } &&
61881 { ac_try='test -z "$ac_cxx_werror_flag"
61882 || test ! -s conftest.err'
61883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61884 (eval $ac_try) 2>&5
61885 ac_status=$?
61886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61887 (exit $ac_status); }; } &&
61888 { ac_try='test -s conftest.$ac_objext'
61889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61890 (eval $ac_try) 2>&5
61891 ac_status=$?
61892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61893 (exit $ac_status); }; }; then
61894 glibcxx_cv_func___builtin_sin_use=yes
61895 else
61896 echo "$as_me: failed program was:" >&5
61897 sed 's/^/| /' conftest.$ac_ext >&5
61899 glibcxx_cv_func___builtin_sin_use=no
61901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61902 ac_ext=c
61903 ac_cpp='$CPP $CPPFLAGS'
61904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61912 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
61913 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
61914 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
61915 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
61916 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
61917 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
61918 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
61919 echo $ECHO_N "(cached) $ECHO_C" >&6
61920 else
61922 if test x$gcc_no_link = xyes; then
61923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61925 { (exit 1); exit 1; }; }
61927 cat >conftest.$ac_ext <<_ACEOF
61928 /* confdefs.h. */
61929 _ACEOF
61930 cat confdefs.h >>conftest.$ac_ext
61931 cat >>conftest.$ac_ext <<_ACEOF
61932 /* end confdefs.h. */
61933 #include <math.h>
61935 main ()
61937 __builtin_sin(0);
61939 return 0;
61941 _ACEOF
61942 rm -f conftest.$ac_objext conftest$ac_exeext
61943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61944 (eval $ac_link) 2>conftest.er1
61945 ac_status=$?
61946 grep -v '^ *+' conftest.er1 >conftest.err
61947 rm -f conftest.er1
61948 cat conftest.err >&5
61949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61950 (exit $ac_status); } &&
61951 { ac_try='test -z "$ac_c_werror_flag"
61952 || test ! -s conftest.err'
61953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61954 (eval $ac_try) 2>&5
61955 ac_status=$?
61956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61957 (exit $ac_status); }; } &&
61958 { ac_try='test -s conftest$ac_exeext'
61959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61960 (eval $ac_try) 2>&5
61961 ac_status=$?
61962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61963 (exit $ac_status); }; }; then
61964 glibcxx_cv_func___builtin_sin_link=yes
61965 else
61966 echo "$as_me: failed program was:" >&5
61967 sed 's/^/| /' conftest.$ac_ext >&5
61969 glibcxx_cv_func___builtin_sin_link=no
61971 rm -f conftest.err conftest.$ac_objext \
61972 conftest$ac_exeext conftest.$ac_ext
61977 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
61978 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
61980 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
61982 cat >>confdefs.h <<\_ACEOF
61983 #define HAVE___BUILTIN_SIN 1
61984 _ACEOF
61991 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
61992 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
61993 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
61994 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
61995 echo $ECHO_N "(cached) $ECHO_C" >&6
61996 else
62000 ac_ext=cc
62001 ac_cpp='$CXXCPP $CPPFLAGS'
62002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62006 cat >conftest.$ac_ext <<_ACEOF
62007 /* confdefs.h. */
62008 _ACEOF
62009 cat confdefs.h >>conftest.$ac_ext
62010 cat >>conftest.$ac_ext <<_ACEOF
62011 /* end confdefs.h. */
62012 #include <math.h>
62014 main ()
62016 __builtin_sinl(0);
62018 return 0;
62020 _ACEOF
62021 rm -f conftest.$ac_objext
62022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62023 (eval $ac_compile) 2>conftest.er1
62024 ac_status=$?
62025 grep -v '^ *+' conftest.er1 >conftest.err
62026 rm -f conftest.er1
62027 cat conftest.err >&5
62028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62029 (exit $ac_status); } &&
62030 { ac_try='test -z "$ac_cxx_werror_flag"
62031 || test ! -s conftest.err'
62032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62033 (eval $ac_try) 2>&5
62034 ac_status=$?
62035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62036 (exit $ac_status); }; } &&
62037 { ac_try='test -s conftest.$ac_objext'
62038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62039 (eval $ac_try) 2>&5
62040 ac_status=$?
62041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62042 (exit $ac_status); }; }; then
62043 glibcxx_cv_func___builtin_sinl_use=yes
62044 else
62045 echo "$as_me: failed program was:" >&5
62046 sed 's/^/| /' conftest.$ac_ext >&5
62048 glibcxx_cv_func___builtin_sinl_use=no
62050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62051 ac_ext=c
62052 ac_cpp='$CPP $CPPFLAGS'
62053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62061 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
62062 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
62063 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
62064 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
62065 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
62066 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
62067 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
62068 echo $ECHO_N "(cached) $ECHO_C" >&6
62069 else
62071 if test x$gcc_no_link = xyes; then
62072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62074 { (exit 1); exit 1; }; }
62076 cat >conftest.$ac_ext <<_ACEOF
62077 /* confdefs.h. */
62078 _ACEOF
62079 cat confdefs.h >>conftest.$ac_ext
62080 cat >>conftest.$ac_ext <<_ACEOF
62081 /* end confdefs.h. */
62082 #include <math.h>
62084 main ()
62086 __builtin_sinl(0);
62088 return 0;
62090 _ACEOF
62091 rm -f conftest.$ac_objext conftest$ac_exeext
62092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62093 (eval $ac_link) 2>conftest.er1
62094 ac_status=$?
62095 grep -v '^ *+' conftest.er1 >conftest.err
62096 rm -f conftest.er1
62097 cat conftest.err >&5
62098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62099 (exit $ac_status); } &&
62100 { ac_try='test -z "$ac_c_werror_flag"
62101 || test ! -s conftest.err'
62102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62103 (eval $ac_try) 2>&5
62104 ac_status=$?
62105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62106 (exit $ac_status); }; } &&
62107 { ac_try='test -s conftest$ac_exeext'
62108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62109 (eval $ac_try) 2>&5
62110 ac_status=$?
62111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62112 (exit $ac_status); }; }; then
62113 glibcxx_cv_func___builtin_sinl_link=yes
62114 else
62115 echo "$as_me: failed program was:" >&5
62116 sed 's/^/| /' conftest.$ac_ext >&5
62118 glibcxx_cv_func___builtin_sinl_link=no
62120 rm -f conftest.err conftest.$ac_objext \
62121 conftest$ac_exeext conftest.$ac_ext
62126 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
62127 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
62129 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
62131 cat >>confdefs.h <<\_ACEOF
62132 #define HAVE___BUILTIN_SINL 1
62133 _ACEOF
62141 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
62142 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
62143 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
62144 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
62145 echo $ECHO_N "(cached) $ECHO_C" >&6
62146 else
62150 ac_ext=cc
62151 ac_cpp='$CXXCPP $CPPFLAGS'
62152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62156 cat >conftest.$ac_ext <<_ACEOF
62157 /* confdefs.h. */
62158 _ACEOF
62159 cat confdefs.h >>conftest.$ac_ext
62160 cat >>conftest.$ac_ext <<_ACEOF
62161 /* end confdefs.h. */
62162 #include <math.h>
62164 main ()
62166 __builtin_cosf(0);
62168 return 0;
62170 _ACEOF
62171 rm -f conftest.$ac_objext
62172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62173 (eval $ac_compile) 2>conftest.er1
62174 ac_status=$?
62175 grep -v '^ *+' conftest.er1 >conftest.err
62176 rm -f conftest.er1
62177 cat conftest.err >&5
62178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62179 (exit $ac_status); } &&
62180 { ac_try='test -z "$ac_cxx_werror_flag"
62181 || test ! -s conftest.err'
62182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62183 (eval $ac_try) 2>&5
62184 ac_status=$?
62185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62186 (exit $ac_status); }; } &&
62187 { ac_try='test -s conftest.$ac_objext'
62188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62189 (eval $ac_try) 2>&5
62190 ac_status=$?
62191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62192 (exit $ac_status); }; }; then
62193 glibcxx_cv_func___builtin_cosf_use=yes
62194 else
62195 echo "$as_me: failed program was:" >&5
62196 sed 's/^/| /' conftest.$ac_ext >&5
62198 glibcxx_cv_func___builtin_cosf_use=no
62200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62201 ac_ext=c
62202 ac_cpp='$CPP $CPPFLAGS'
62203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62211 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
62212 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
62213 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
62214 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
62215 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
62216 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
62217 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
62218 echo $ECHO_N "(cached) $ECHO_C" >&6
62219 else
62221 if test x$gcc_no_link = xyes; then
62222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62224 { (exit 1); exit 1; }; }
62226 cat >conftest.$ac_ext <<_ACEOF
62227 /* confdefs.h. */
62228 _ACEOF
62229 cat confdefs.h >>conftest.$ac_ext
62230 cat >>conftest.$ac_ext <<_ACEOF
62231 /* end confdefs.h. */
62232 #include <math.h>
62234 main ()
62236 __builtin_cosf(0);
62238 return 0;
62240 _ACEOF
62241 rm -f conftest.$ac_objext conftest$ac_exeext
62242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62243 (eval $ac_link) 2>conftest.er1
62244 ac_status=$?
62245 grep -v '^ *+' conftest.er1 >conftest.err
62246 rm -f conftest.er1
62247 cat conftest.err >&5
62248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62249 (exit $ac_status); } &&
62250 { ac_try='test -z "$ac_c_werror_flag"
62251 || test ! -s conftest.err'
62252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62253 (eval $ac_try) 2>&5
62254 ac_status=$?
62255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62256 (exit $ac_status); }; } &&
62257 { ac_try='test -s conftest$ac_exeext'
62258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62259 (eval $ac_try) 2>&5
62260 ac_status=$?
62261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62262 (exit $ac_status); }; }; then
62263 glibcxx_cv_func___builtin_cosf_link=yes
62264 else
62265 echo "$as_me: failed program was:" >&5
62266 sed 's/^/| /' conftest.$ac_ext >&5
62268 glibcxx_cv_func___builtin_cosf_link=no
62270 rm -f conftest.err conftest.$ac_objext \
62271 conftest$ac_exeext conftest.$ac_ext
62276 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
62277 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
62279 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
62281 cat >>confdefs.h <<\_ACEOF
62282 #define HAVE___BUILTIN_COSF 1
62283 _ACEOF
62290 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
62291 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
62292 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
62293 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
62294 echo $ECHO_N "(cached) $ECHO_C" >&6
62295 else
62299 ac_ext=cc
62300 ac_cpp='$CXXCPP $CPPFLAGS'
62301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62305 cat >conftest.$ac_ext <<_ACEOF
62306 /* confdefs.h. */
62307 _ACEOF
62308 cat confdefs.h >>conftest.$ac_ext
62309 cat >>conftest.$ac_ext <<_ACEOF
62310 /* end confdefs.h. */
62311 #include <math.h>
62313 main ()
62315 __builtin_cos(0);
62317 return 0;
62319 _ACEOF
62320 rm -f conftest.$ac_objext
62321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62322 (eval $ac_compile) 2>conftest.er1
62323 ac_status=$?
62324 grep -v '^ *+' conftest.er1 >conftest.err
62325 rm -f conftest.er1
62326 cat conftest.err >&5
62327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62328 (exit $ac_status); } &&
62329 { ac_try='test -z "$ac_cxx_werror_flag"
62330 || test ! -s conftest.err'
62331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62332 (eval $ac_try) 2>&5
62333 ac_status=$?
62334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62335 (exit $ac_status); }; } &&
62336 { ac_try='test -s conftest.$ac_objext'
62337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62338 (eval $ac_try) 2>&5
62339 ac_status=$?
62340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62341 (exit $ac_status); }; }; then
62342 glibcxx_cv_func___builtin_cos_use=yes
62343 else
62344 echo "$as_me: failed program was:" >&5
62345 sed 's/^/| /' conftest.$ac_ext >&5
62347 glibcxx_cv_func___builtin_cos_use=no
62349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62350 ac_ext=c
62351 ac_cpp='$CPP $CPPFLAGS'
62352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62360 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
62361 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
62362 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
62363 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
62364 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
62365 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
62366 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
62367 echo $ECHO_N "(cached) $ECHO_C" >&6
62368 else
62370 if test x$gcc_no_link = xyes; then
62371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62373 { (exit 1); exit 1; }; }
62375 cat >conftest.$ac_ext <<_ACEOF
62376 /* confdefs.h. */
62377 _ACEOF
62378 cat confdefs.h >>conftest.$ac_ext
62379 cat >>conftest.$ac_ext <<_ACEOF
62380 /* end confdefs.h. */
62381 #include <math.h>
62383 main ()
62385 __builtin_cos(0);
62387 return 0;
62389 _ACEOF
62390 rm -f conftest.$ac_objext conftest$ac_exeext
62391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62392 (eval $ac_link) 2>conftest.er1
62393 ac_status=$?
62394 grep -v '^ *+' conftest.er1 >conftest.err
62395 rm -f conftest.er1
62396 cat conftest.err >&5
62397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62398 (exit $ac_status); } &&
62399 { ac_try='test -z "$ac_c_werror_flag"
62400 || test ! -s conftest.err'
62401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62402 (eval $ac_try) 2>&5
62403 ac_status=$?
62404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62405 (exit $ac_status); }; } &&
62406 { ac_try='test -s conftest$ac_exeext'
62407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62408 (eval $ac_try) 2>&5
62409 ac_status=$?
62410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62411 (exit $ac_status); }; }; then
62412 glibcxx_cv_func___builtin_cos_link=yes
62413 else
62414 echo "$as_me: failed program was:" >&5
62415 sed 's/^/| /' conftest.$ac_ext >&5
62417 glibcxx_cv_func___builtin_cos_link=no
62419 rm -f conftest.err conftest.$ac_objext \
62420 conftest$ac_exeext conftest.$ac_ext
62425 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
62426 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
62428 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
62430 cat >>confdefs.h <<\_ACEOF
62431 #define HAVE___BUILTIN_COS 1
62432 _ACEOF
62439 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
62440 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
62441 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
62442 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
62443 echo $ECHO_N "(cached) $ECHO_C" >&6
62444 else
62448 ac_ext=cc
62449 ac_cpp='$CXXCPP $CPPFLAGS'
62450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62454 cat >conftest.$ac_ext <<_ACEOF
62455 /* confdefs.h. */
62456 _ACEOF
62457 cat confdefs.h >>conftest.$ac_ext
62458 cat >>conftest.$ac_ext <<_ACEOF
62459 /* end confdefs.h. */
62460 #include <math.h>
62462 main ()
62464 __builtin_cosl(0);
62466 return 0;
62468 _ACEOF
62469 rm -f conftest.$ac_objext
62470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62471 (eval $ac_compile) 2>conftest.er1
62472 ac_status=$?
62473 grep -v '^ *+' conftest.er1 >conftest.err
62474 rm -f conftest.er1
62475 cat conftest.err >&5
62476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62477 (exit $ac_status); } &&
62478 { ac_try='test -z "$ac_cxx_werror_flag"
62479 || test ! -s conftest.err'
62480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62481 (eval $ac_try) 2>&5
62482 ac_status=$?
62483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62484 (exit $ac_status); }; } &&
62485 { ac_try='test -s conftest.$ac_objext'
62486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62487 (eval $ac_try) 2>&5
62488 ac_status=$?
62489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62490 (exit $ac_status); }; }; then
62491 glibcxx_cv_func___builtin_cosl_use=yes
62492 else
62493 echo "$as_me: failed program was:" >&5
62494 sed 's/^/| /' conftest.$ac_ext >&5
62496 glibcxx_cv_func___builtin_cosl_use=no
62498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62499 ac_ext=c
62500 ac_cpp='$CPP $CPPFLAGS'
62501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62509 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
62510 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
62511 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
62512 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
62513 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
62514 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
62515 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
62516 echo $ECHO_N "(cached) $ECHO_C" >&6
62517 else
62519 if test x$gcc_no_link = xyes; then
62520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62522 { (exit 1); exit 1; }; }
62524 cat >conftest.$ac_ext <<_ACEOF
62525 /* confdefs.h. */
62526 _ACEOF
62527 cat confdefs.h >>conftest.$ac_ext
62528 cat >>conftest.$ac_ext <<_ACEOF
62529 /* end confdefs.h. */
62530 #include <math.h>
62532 main ()
62534 __builtin_cosl(0);
62536 return 0;
62538 _ACEOF
62539 rm -f conftest.$ac_objext conftest$ac_exeext
62540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62541 (eval $ac_link) 2>conftest.er1
62542 ac_status=$?
62543 grep -v '^ *+' conftest.er1 >conftest.err
62544 rm -f conftest.er1
62545 cat conftest.err >&5
62546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62547 (exit $ac_status); } &&
62548 { ac_try='test -z "$ac_c_werror_flag"
62549 || test ! -s conftest.err'
62550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62551 (eval $ac_try) 2>&5
62552 ac_status=$?
62553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62554 (exit $ac_status); }; } &&
62555 { ac_try='test -s conftest$ac_exeext'
62556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62557 (eval $ac_try) 2>&5
62558 ac_status=$?
62559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62560 (exit $ac_status); }; }; then
62561 glibcxx_cv_func___builtin_cosl_link=yes
62562 else
62563 echo "$as_me: failed program was:" >&5
62564 sed 's/^/| /' conftest.$ac_ext >&5
62566 glibcxx_cv_func___builtin_cosl_link=no
62568 rm -f conftest.err conftest.$ac_objext \
62569 conftest$ac_exeext conftest.$ac_ext
62574 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
62575 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
62577 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
62579 cat >>confdefs.h <<\_ACEOF
62580 #define HAVE___BUILTIN_COSL 1
62581 _ACEOF
62590 echo "$as_me:$LINENO: checking for main in -lm" >&5
62591 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
62592 if test "${ac_cv_lib_m_main+set}" = set; then
62593 echo $ECHO_N "(cached) $ECHO_C" >&6
62594 else
62595 ac_check_lib_save_LIBS=$LIBS
62596 LIBS="-lm $LIBS"
62597 if test x$gcc_no_link = xyes; then
62598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62600 { (exit 1); exit 1; }; }
62602 cat >conftest.$ac_ext <<_ACEOF
62603 /* confdefs.h. */
62604 _ACEOF
62605 cat confdefs.h >>conftest.$ac_ext
62606 cat >>conftest.$ac_ext <<_ACEOF
62607 /* end confdefs.h. */
62611 main ()
62613 main ();
62615 return 0;
62617 _ACEOF
62618 rm -f conftest.$ac_objext conftest$ac_exeext
62619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62620 (eval $ac_link) 2>conftest.er1
62621 ac_status=$?
62622 grep -v '^ *+' conftest.er1 >conftest.err
62623 rm -f conftest.er1
62624 cat conftest.err >&5
62625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62626 (exit $ac_status); } &&
62627 { ac_try='test -z "$ac_c_werror_flag"
62628 || test ! -s conftest.err'
62629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62630 (eval $ac_try) 2>&5
62631 ac_status=$?
62632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62633 (exit $ac_status); }; } &&
62634 { ac_try='test -s conftest$ac_exeext'
62635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62636 (eval $ac_try) 2>&5
62637 ac_status=$?
62638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62639 (exit $ac_status); }; }; then
62640 ac_cv_lib_m_main=yes
62641 else
62642 echo "$as_me: failed program was:" >&5
62643 sed 's/^/| /' conftest.$ac_ext >&5
62645 ac_cv_lib_m_main=no
62647 rm -f conftest.err conftest.$ac_objext \
62648 conftest$ac_exeext conftest.$ac_ext
62649 LIBS=$ac_check_lib_save_LIBS
62651 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
62652 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
62653 if test $ac_cv_lib_m_main = yes; then
62654 cat >>confdefs.h <<_ACEOF
62655 #define HAVE_LIBM 1
62656 _ACEOF
62658 LIBS="-lm $LIBS"
62663 for ac_func in copysignf
62665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62666 echo "$as_me:$LINENO: checking for $ac_func" >&5
62667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62668 if eval "test \"\${$as_ac_var+set}\" = set"; then
62669 echo $ECHO_N "(cached) $ECHO_C" >&6
62670 else
62671 if test x$gcc_no_link = xyes; then
62672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62674 { (exit 1); exit 1; }; }
62676 cat >conftest.$ac_ext <<_ACEOF
62677 /* confdefs.h. */
62678 _ACEOF
62679 cat confdefs.h >>conftest.$ac_ext
62680 cat >>conftest.$ac_ext <<_ACEOF
62681 /* end confdefs.h. */
62682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62684 #define $ac_func innocuous_$ac_func
62686 /* System header to define __stub macros and hopefully few prototypes,
62687 which can conflict with char $ac_func (); below.
62688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62689 <limits.h> exists even on freestanding compilers. */
62691 #ifdef __STDC__
62692 # include <limits.h>
62693 #else
62694 # include <assert.h>
62695 #endif
62697 #undef $ac_func
62699 /* Override any gcc2 internal prototype to avoid an error. */
62700 #ifdef __cplusplus
62701 extern "C"
62703 #endif
62704 /* We use char because int might match the return type of a gcc2
62705 builtin and then its argument prototype would still apply. */
62706 char $ac_func ();
62707 /* The GNU C library defines this for functions which it implements
62708 to always fail with ENOSYS. Some functions are actually named
62709 something starting with __ and the normal name is an alias. */
62710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62711 choke me
62712 #else
62713 char (*f) () = $ac_func;
62714 #endif
62715 #ifdef __cplusplus
62717 #endif
62720 main ()
62722 return f != $ac_func;
62724 return 0;
62726 _ACEOF
62727 rm -f conftest.$ac_objext conftest$ac_exeext
62728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62729 (eval $ac_link) 2>conftest.er1
62730 ac_status=$?
62731 grep -v '^ *+' conftest.er1 >conftest.err
62732 rm -f conftest.er1
62733 cat conftest.err >&5
62734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62735 (exit $ac_status); } &&
62736 { ac_try='test -z "$ac_c_werror_flag"
62737 || test ! -s conftest.err'
62738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62739 (eval $ac_try) 2>&5
62740 ac_status=$?
62741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62742 (exit $ac_status); }; } &&
62743 { ac_try='test -s conftest$ac_exeext'
62744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62745 (eval $ac_try) 2>&5
62746 ac_status=$?
62747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62748 (exit $ac_status); }; }; then
62749 eval "$as_ac_var=yes"
62750 else
62751 echo "$as_me: failed program was:" >&5
62752 sed 's/^/| /' conftest.$ac_ext >&5
62754 eval "$as_ac_var=no"
62756 rm -f conftest.err conftest.$ac_objext \
62757 conftest$ac_exeext conftest.$ac_ext
62759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62761 if test `eval echo '${'$as_ac_var'}'` = yes; then
62762 cat >>confdefs.h <<_ACEOF
62763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62764 _ACEOF
62766 else
62767 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
62769 done
62773 for ac_func in __signbit
62775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62776 echo "$as_me:$LINENO: checking for $ac_func" >&5
62777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62778 if eval "test \"\${$as_ac_var+set}\" = set"; then
62779 echo $ECHO_N "(cached) $ECHO_C" >&6
62780 else
62781 if test x$gcc_no_link = xyes; then
62782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62784 { (exit 1); exit 1; }; }
62786 cat >conftest.$ac_ext <<_ACEOF
62787 /* confdefs.h. */
62788 _ACEOF
62789 cat confdefs.h >>conftest.$ac_ext
62790 cat >>conftest.$ac_ext <<_ACEOF
62791 /* end confdefs.h. */
62792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62794 #define $ac_func innocuous_$ac_func
62796 /* System header to define __stub macros and hopefully few prototypes,
62797 which can conflict with char $ac_func (); below.
62798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62799 <limits.h> exists even on freestanding compilers. */
62801 #ifdef __STDC__
62802 # include <limits.h>
62803 #else
62804 # include <assert.h>
62805 #endif
62807 #undef $ac_func
62809 /* Override any gcc2 internal prototype to avoid an error. */
62810 #ifdef __cplusplus
62811 extern "C"
62813 #endif
62814 /* We use char because int might match the return type of a gcc2
62815 builtin and then its argument prototype would still apply. */
62816 char $ac_func ();
62817 /* The GNU C library defines this for functions which it implements
62818 to always fail with ENOSYS. Some functions are actually named
62819 something starting with __ and the normal name is an alias. */
62820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62821 choke me
62822 #else
62823 char (*f) () = $ac_func;
62824 #endif
62825 #ifdef __cplusplus
62827 #endif
62830 main ()
62832 return f != $ac_func;
62834 return 0;
62836 _ACEOF
62837 rm -f conftest.$ac_objext conftest$ac_exeext
62838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62839 (eval $ac_link) 2>conftest.er1
62840 ac_status=$?
62841 grep -v '^ *+' conftest.er1 >conftest.err
62842 rm -f conftest.er1
62843 cat conftest.err >&5
62844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62845 (exit $ac_status); } &&
62846 { ac_try='test -z "$ac_c_werror_flag"
62847 || test ! -s conftest.err'
62848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62849 (eval $ac_try) 2>&5
62850 ac_status=$?
62851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62852 (exit $ac_status); }; } &&
62853 { ac_try='test -s conftest$ac_exeext'
62854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62855 (eval $ac_try) 2>&5
62856 ac_status=$?
62857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62858 (exit $ac_status); }; }; then
62859 eval "$as_ac_var=yes"
62860 else
62861 echo "$as_me: failed program was:" >&5
62862 sed 's/^/| /' conftest.$ac_ext >&5
62864 eval "$as_ac_var=no"
62866 rm -f conftest.err conftest.$ac_objext \
62867 conftest$ac_exeext conftest.$ac_ext
62869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62871 if test `eval echo '${'$as_ac_var'}'` = yes; then
62872 cat >>confdefs.h <<_ACEOF
62873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62874 _ACEOF
62876 else
62877 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
62879 done
62883 for ac_func in __signbitf
62885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62886 echo "$as_me:$LINENO: checking for $ac_func" >&5
62887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62888 if eval "test \"\${$as_ac_var+set}\" = set"; then
62889 echo $ECHO_N "(cached) $ECHO_C" >&6
62890 else
62891 if test x$gcc_no_link = xyes; then
62892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62894 { (exit 1); exit 1; }; }
62896 cat >conftest.$ac_ext <<_ACEOF
62897 /* confdefs.h. */
62898 _ACEOF
62899 cat confdefs.h >>conftest.$ac_ext
62900 cat >>conftest.$ac_ext <<_ACEOF
62901 /* end confdefs.h. */
62902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62904 #define $ac_func innocuous_$ac_func
62906 /* System header to define __stub macros and hopefully few prototypes,
62907 which can conflict with char $ac_func (); below.
62908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62909 <limits.h> exists even on freestanding compilers. */
62911 #ifdef __STDC__
62912 # include <limits.h>
62913 #else
62914 # include <assert.h>
62915 #endif
62917 #undef $ac_func
62919 /* Override any gcc2 internal prototype to avoid an error. */
62920 #ifdef __cplusplus
62921 extern "C"
62923 #endif
62924 /* We use char because int might match the return type of a gcc2
62925 builtin and then its argument prototype would still apply. */
62926 char $ac_func ();
62927 /* The GNU C library defines this for functions which it implements
62928 to always fail with ENOSYS. Some functions are actually named
62929 something starting with __ and the normal name is an alias. */
62930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62931 choke me
62932 #else
62933 char (*f) () = $ac_func;
62934 #endif
62935 #ifdef __cplusplus
62937 #endif
62940 main ()
62942 return f != $ac_func;
62944 return 0;
62946 _ACEOF
62947 rm -f conftest.$ac_objext conftest$ac_exeext
62948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62949 (eval $ac_link) 2>conftest.er1
62950 ac_status=$?
62951 grep -v '^ *+' conftest.er1 >conftest.err
62952 rm -f conftest.er1
62953 cat conftest.err >&5
62954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62955 (exit $ac_status); } &&
62956 { ac_try='test -z "$ac_c_werror_flag"
62957 || test ! -s conftest.err'
62958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62959 (eval $ac_try) 2>&5
62960 ac_status=$?
62961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62962 (exit $ac_status); }; } &&
62963 { ac_try='test -s conftest$ac_exeext'
62964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62965 (eval $ac_try) 2>&5
62966 ac_status=$?
62967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62968 (exit $ac_status); }; }; then
62969 eval "$as_ac_var=yes"
62970 else
62971 echo "$as_me: failed program was:" >&5
62972 sed 's/^/| /' conftest.$ac_ext >&5
62974 eval "$as_ac_var=no"
62976 rm -f conftest.err conftest.$ac_objext \
62977 conftest$ac_exeext conftest.$ac_ext
62979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62981 if test `eval echo '${'$as_ac_var'}'` = yes; then
62982 cat >>confdefs.h <<_ACEOF
62983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62984 _ACEOF
62986 else
62987 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
62989 done
62992 if test x$ac_cv_func_copysignl = x"yes"; then
62994 for ac_func in __signbitl
62996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62997 echo "$as_me:$LINENO: checking for $ac_func" >&5
62998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62999 if eval "test \"\${$as_ac_var+set}\" = set"; then
63000 echo $ECHO_N "(cached) $ECHO_C" >&6
63001 else
63002 if test x$gcc_no_link = xyes; then
63003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63005 { (exit 1); exit 1; }; }
63007 cat >conftest.$ac_ext <<_ACEOF
63008 /* confdefs.h. */
63009 _ACEOF
63010 cat confdefs.h >>conftest.$ac_ext
63011 cat >>conftest.$ac_ext <<_ACEOF
63012 /* end confdefs.h. */
63013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63015 #define $ac_func innocuous_$ac_func
63017 /* System header to define __stub macros and hopefully few prototypes,
63018 which can conflict with char $ac_func (); below.
63019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63020 <limits.h> exists even on freestanding compilers. */
63022 #ifdef __STDC__
63023 # include <limits.h>
63024 #else
63025 # include <assert.h>
63026 #endif
63028 #undef $ac_func
63030 /* Override any gcc2 internal prototype to avoid an error. */
63031 #ifdef __cplusplus
63032 extern "C"
63034 #endif
63035 /* We use char because int might match the return type of a gcc2
63036 builtin and then its argument prototype would still apply. */
63037 char $ac_func ();
63038 /* The GNU C library defines this for functions which it implements
63039 to always fail with ENOSYS. Some functions are actually named
63040 something starting with __ and the normal name is an alias. */
63041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63042 choke me
63043 #else
63044 char (*f) () = $ac_func;
63045 #endif
63046 #ifdef __cplusplus
63048 #endif
63051 main ()
63053 return f != $ac_func;
63055 return 0;
63057 _ACEOF
63058 rm -f conftest.$ac_objext conftest$ac_exeext
63059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63060 (eval $ac_link) 2>conftest.er1
63061 ac_status=$?
63062 grep -v '^ *+' conftest.er1 >conftest.err
63063 rm -f conftest.er1
63064 cat conftest.err >&5
63065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63066 (exit $ac_status); } &&
63067 { ac_try='test -z "$ac_c_werror_flag"
63068 || test ! -s conftest.err'
63069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63070 (eval $ac_try) 2>&5
63071 ac_status=$?
63072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63073 (exit $ac_status); }; } &&
63074 { ac_try='test -s conftest$ac_exeext'
63075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63076 (eval $ac_try) 2>&5
63077 ac_status=$?
63078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63079 (exit $ac_status); }; }; then
63080 eval "$as_ac_var=yes"
63081 else
63082 echo "$as_me: failed program was:" >&5
63083 sed 's/^/| /' conftest.$ac_ext >&5
63085 eval "$as_ac_var=no"
63087 rm -f conftest.err conftest.$ac_objext \
63088 conftest$ac_exeext conftest.$ac_ext
63090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63092 if test `eval echo '${'$as_ac_var'}'` = yes; then
63093 cat >>confdefs.h <<_ACEOF
63094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63095 _ACEOF
63097 else
63098 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63100 done
63104 # Used in libmath/Makefile.am.
63105 if test -n "$LIBMATHOBJS"; then
63106 need_libmath=yes
63111 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63112 ac_save_CXXFLAGS="$CXXFLAGS"
63113 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63116 echo "$as_me:$LINENO: checking for strtold declaration" >&5
63117 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
63118 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63119 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
63120 echo $ECHO_N "(cached) $ECHO_C" >&6
63121 else
63125 ac_ext=cc
63126 ac_cpp='$CXXCPP $CPPFLAGS'
63127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63131 cat >conftest.$ac_ext <<_ACEOF
63132 /* confdefs.h. */
63133 _ACEOF
63134 cat confdefs.h >>conftest.$ac_ext
63135 cat >>conftest.$ac_ext <<_ACEOF
63136 /* end confdefs.h. */
63137 #include <stdlib.h>
63139 main ()
63141 strtold(0, 0);
63143 return 0;
63145 _ACEOF
63146 rm -f conftest.$ac_objext
63147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63148 (eval $ac_compile) 2>conftest.er1
63149 ac_status=$?
63150 grep -v '^ *+' conftest.er1 >conftest.err
63151 rm -f conftest.er1
63152 cat conftest.err >&5
63153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63154 (exit $ac_status); } &&
63155 { ac_try='test -z "$ac_cxx_werror_flag"
63156 || test ! -s conftest.err'
63157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63158 (eval $ac_try) 2>&5
63159 ac_status=$?
63160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63161 (exit $ac_status); }; } &&
63162 { ac_try='test -s conftest.$ac_objext'
63163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63164 (eval $ac_try) 2>&5
63165 ac_status=$?
63166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63167 (exit $ac_status); }; }; then
63168 glibcxx_cv_func_strtold_use=yes
63169 else
63170 echo "$as_me: failed program was:" >&5
63171 sed 's/^/| /' conftest.$ac_ext >&5
63173 glibcxx_cv_func_strtold_use=no
63175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63176 ac_ext=c
63177 ac_cpp='$CPP $CPPFLAGS'
63178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63186 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
63187 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
63188 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63190 for ac_func in strtold
63192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63193 echo "$as_me:$LINENO: checking for $ac_func" >&5
63194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63195 if eval "test \"\${$as_ac_var+set}\" = set"; then
63196 echo $ECHO_N "(cached) $ECHO_C" >&6
63197 else
63198 if test x$gcc_no_link = xyes; then
63199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63201 { (exit 1); exit 1; }; }
63203 cat >conftest.$ac_ext <<_ACEOF
63204 /* confdefs.h. */
63205 _ACEOF
63206 cat confdefs.h >>conftest.$ac_ext
63207 cat >>conftest.$ac_ext <<_ACEOF
63208 /* end confdefs.h. */
63209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63211 #define $ac_func innocuous_$ac_func
63213 /* System header to define __stub macros and hopefully few prototypes,
63214 which can conflict with char $ac_func (); below.
63215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63216 <limits.h> exists even on freestanding compilers. */
63218 #ifdef __STDC__
63219 # include <limits.h>
63220 #else
63221 # include <assert.h>
63222 #endif
63224 #undef $ac_func
63226 /* Override any gcc2 internal prototype to avoid an error. */
63227 #ifdef __cplusplus
63228 extern "C"
63230 #endif
63231 /* We use char because int might match the return type of a gcc2
63232 builtin and then its argument prototype would still apply. */
63233 char $ac_func ();
63234 /* The GNU C library defines this for functions which it implements
63235 to always fail with ENOSYS. Some functions are actually named
63236 something starting with __ and the normal name is an alias. */
63237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63238 choke me
63239 #else
63240 char (*f) () = $ac_func;
63241 #endif
63242 #ifdef __cplusplus
63244 #endif
63247 main ()
63249 return f != $ac_func;
63251 return 0;
63253 _ACEOF
63254 rm -f conftest.$ac_objext conftest$ac_exeext
63255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63256 (eval $ac_link) 2>conftest.er1
63257 ac_status=$?
63258 grep -v '^ *+' conftest.er1 >conftest.err
63259 rm -f conftest.er1
63260 cat conftest.err >&5
63261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63262 (exit $ac_status); } &&
63263 { ac_try='test -z "$ac_c_werror_flag"
63264 || test ! -s conftest.err'
63265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63266 (eval $ac_try) 2>&5
63267 ac_status=$?
63268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63269 (exit $ac_status); }; } &&
63270 { ac_try='test -s conftest$ac_exeext'
63271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63272 (eval $ac_try) 2>&5
63273 ac_status=$?
63274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63275 (exit $ac_status); }; }; then
63276 eval "$as_ac_var=yes"
63277 else
63278 echo "$as_me: failed program was:" >&5
63279 sed 's/^/| /' conftest.$ac_ext >&5
63281 eval "$as_ac_var=no"
63283 rm -f conftest.err conftest.$ac_objext \
63284 conftest$ac_exeext conftest.$ac_ext
63286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63288 if test `eval echo '${'$as_ac_var'}'` = yes; then
63289 cat >>confdefs.h <<_ACEOF
63290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63291 _ACEOF
63294 done
63302 echo "$as_me:$LINENO: checking for strtof declaration" >&5
63303 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
63304 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63305 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
63306 echo $ECHO_N "(cached) $ECHO_C" >&6
63307 else
63311 ac_ext=cc
63312 ac_cpp='$CXXCPP $CPPFLAGS'
63313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63317 cat >conftest.$ac_ext <<_ACEOF
63318 /* confdefs.h. */
63319 _ACEOF
63320 cat confdefs.h >>conftest.$ac_ext
63321 cat >>conftest.$ac_ext <<_ACEOF
63322 /* end confdefs.h. */
63323 #include <stdlib.h>
63325 main ()
63327 strtof(0, 0);
63329 return 0;
63331 _ACEOF
63332 rm -f conftest.$ac_objext
63333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63334 (eval $ac_compile) 2>conftest.er1
63335 ac_status=$?
63336 grep -v '^ *+' conftest.er1 >conftest.err
63337 rm -f conftest.er1
63338 cat conftest.err >&5
63339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63340 (exit $ac_status); } &&
63341 { ac_try='test -z "$ac_cxx_werror_flag"
63342 || test ! -s conftest.err'
63343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63344 (eval $ac_try) 2>&5
63345 ac_status=$?
63346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63347 (exit $ac_status); }; } &&
63348 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
63354 glibcxx_cv_func_strtof_use=yes
63355 else
63356 echo "$as_me: failed program was:" >&5
63357 sed 's/^/| /' conftest.$ac_ext >&5
63359 glibcxx_cv_func_strtof_use=no
63361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63362 ac_ext=c
63363 ac_cpp='$CPP $CPPFLAGS'
63364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63372 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
63373 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
63374 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63376 for ac_func in strtof
63378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63379 echo "$as_me:$LINENO: checking for $ac_func" >&5
63380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63381 if eval "test \"\${$as_ac_var+set}\" = set"; then
63382 echo $ECHO_N "(cached) $ECHO_C" >&6
63383 else
63384 if test x$gcc_no_link = xyes; then
63385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63387 { (exit 1); exit 1; }; }
63389 cat >conftest.$ac_ext <<_ACEOF
63390 /* confdefs.h. */
63391 _ACEOF
63392 cat confdefs.h >>conftest.$ac_ext
63393 cat >>conftest.$ac_ext <<_ACEOF
63394 /* end confdefs.h. */
63395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63397 #define $ac_func innocuous_$ac_func
63399 /* System header to define __stub macros and hopefully few prototypes,
63400 which can conflict with char $ac_func (); below.
63401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63402 <limits.h> exists even on freestanding compilers. */
63404 #ifdef __STDC__
63405 # include <limits.h>
63406 #else
63407 # include <assert.h>
63408 #endif
63410 #undef $ac_func
63412 /* Override any gcc2 internal prototype to avoid an error. */
63413 #ifdef __cplusplus
63414 extern "C"
63416 #endif
63417 /* We use char because int might match the return type of a gcc2
63418 builtin and then its argument prototype would still apply. */
63419 char $ac_func ();
63420 /* The GNU C library defines this for functions which it implements
63421 to always fail with ENOSYS. Some functions are actually named
63422 something starting with __ and the normal name is an alias. */
63423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63424 choke me
63425 #else
63426 char (*f) () = $ac_func;
63427 #endif
63428 #ifdef __cplusplus
63430 #endif
63433 main ()
63435 return f != $ac_func;
63437 return 0;
63439 _ACEOF
63440 rm -f conftest.$ac_objext conftest$ac_exeext
63441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63442 (eval $ac_link) 2>conftest.er1
63443 ac_status=$?
63444 grep -v '^ *+' conftest.er1 >conftest.err
63445 rm -f conftest.er1
63446 cat conftest.err >&5
63447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63448 (exit $ac_status); } &&
63449 { ac_try='test -z "$ac_c_werror_flag"
63450 || test ! -s conftest.err'
63451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63452 (eval $ac_try) 2>&5
63453 ac_status=$?
63454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63455 (exit $ac_status); }; } &&
63456 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
63462 eval "$as_ac_var=yes"
63463 else
63464 echo "$as_me: failed program was:" >&5
63465 sed 's/^/| /' conftest.$ac_ext >&5
63467 eval "$as_ac_var=no"
63469 rm -f conftest.err conftest.$ac_objext \
63470 conftest$ac_exeext conftest.$ac_ext
63472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63474 if test `eval echo '${'$as_ac_var'}'` = yes; then
63475 cat >>confdefs.h <<_ACEOF
63476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63477 _ACEOF
63480 done
63488 CXXFLAGS="$ac_save_CXXFLAGS"
63491 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
63492 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
63493 if test "${glibcxx_cv_S_ISREG+set}" = set; then
63494 echo $ECHO_N "(cached) $ECHO_C" >&6
63495 else
63497 if test x$gcc_no_link = xyes; then
63498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63500 { (exit 1); exit 1; }; }
63502 cat >conftest.$ac_ext <<_ACEOF
63503 /* confdefs.h. */
63504 _ACEOF
63505 cat confdefs.h >>conftest.$ac_ext
63506 cat >>conftest.$ac_ext <<_ACEOF
63507 /* end confdefs.h. */
63508 #include <sys/stat.h>
63510 main ()
63512 struct stat buffer;
63513 fstat(0, &buffer);
63514 S_ISREG(buffer.st_mode);
63516 return 0;
63518 _ACEOF
63519 rm -f conftest.$ac_objext conftest$ac_exeext
63520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63521 (eval $ac_link) 2>conftest.er1
63522 ac_status=$?
63523 grep -v '^ *+' conftest.er1 >conftest.err
63524 rm -f conftest.er1
63525 cat conftest.err >&5
63526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63527 (exit $ac_status); } &&
63528 { ac_try='test -z "$ac_c_werror_flag"
63529 || test ! -s conftest.err'
63530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63531 (eval $ac_try) 2>&5
63532 ac_status=$?
63533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63534 (exit $ac_status); }; } &&
63535 { ac_try='test -s conftest$ac_exeext'
63536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63537 (eval $ac_try) 2>&5
63538 ac_status=$?
63539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63540 (exit $ac_status); }; }; then
63541 glibcxx_cv_S_ISREG=yes
63542 else
63543 echo "$as_me: failed program was:" >&5
63544 sed 's/^/| /' conftest.$ac_ext >&5
63546 glibcxx_cv_S_ISREG=no
63548 rm -f conftest.err conftest.$ac_objext \
63549 conftest$ac_exeext conftest.$ac_ext
63553 if test "${glibcxx_cv_S_IFREG+set}" = set; then
63554 echo $ECHO_N "(cached) $ECHO_C" >&6
63555 else
63557 if test x$gcc_no_link = xyes; then
63558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63560 { (exit 1); exit 1; }; }
63562 cat >conftest.$ac_ext <<_ACEOF
63563 /* confdefs.h. */
63564 _ACEOF
63565 cat confdefs.h >>conftest.$ac_ext
63566 cat >>conftest.$ac_ext <<_ACEOF
63567 /* end confdefs.h. */
63568 #include <sys/stat.h>
63570 main ()
63572 struct stat buffer;
63573 fstat(0, &buffer);
63574 S_IFREG & buffer.st_mode;
63576 return 0;
63578 _ACEOF
63579 rm -f conftest.$ac_objext conftest$ac_exeext
63580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63581 (eval $ac_link) 2>conftest.er1
63582 ac_status=$?
63583 grep -v '^ *+' conftest.er1 >conftest.err
63584 rm -f conftest.er1
63585 cat conftest.err >&5
63586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63587 (exit $ac_status); } &&
63588 { ac_try='test -z "$ac_c_werror_flag"
63589 || test ! -s conftest.err'
63590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63591 (eval $ac_try) 2>&5
63592 ac_status=$?
63593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63594 (exit $ac_status); }; } &&
63595 { ac_try='test -s conftest$ac_exeext'
63596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63597 (eval $ac_try) 2>&5
63598 ac_status=$?
63599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63600 (exit $ac_status); }; }; then
63601 glibcxx_cv_S_IFREG=yes
63602 else
63603 echo "$as_me: failed program was:" >&5
63604 sed 's/^/| /' conftest.$ac_ext >&5
63606 glibcxx_cv_S_IFREG=no
63608 rm -f conftest.err conftest.$ac_objext \
63609 conftest$ac_exeext conftest.$ac_ext
63613 res=no
63614 if test $glibcxx_cv_S_ISREG = yes; then
63616 cat >>confdefs.h <<\_ACEOF
63617 #define HAVE_S_ISREG 1
63618 _ACEOF
63620 res=S_ISREG
63621 elif test $glibcxx_cv_S_IFREG = yes; then
63623 cat >>confdefs.h <<\_ACEOF
63624 #define HAVE_S_IFREG 1
63625 _ACEOF
63627 res=S_IFREG
63629 echo "$as_me:$LINENO: result: $res" >&5
63630 echo "${ECHO_T}$res" >&6
63632 cat >>confdefs.h <<\_ACEOF
63633 #define HAVE_SIGSETJMP 1
63634 _ACEOF
63636 cat >>confdefs.h <<\_ACEOF
63637 #define HAVE_GETPAGESIZE 1
63638 _ACEOF
63640 cat >>confdefs.h <<\_ACEOF
63641 #define HAVE_WRITEV 1
63642 _ACEOF
63644 cat >>confdefs.h <<\_ACEOF
63645 #define HAVE_INT64_T 1
63646 _ACEOF
63649 cat >>confdefs.h <<\_ACEOF
63650 #define HAVE_LIBM 1
63651 _ACEOF
63653 cat >>confdefs.h <<\_ACEOF
63654 #define HAVE_COPYSIGN 1
63655 _ACEOF
63657 cat >>confdefs.h <<\_ACEOF
63658 #define HAVE_FINITE 1
63659 _ACEOF
63661 cat >>confdefs.h <<\_ACEOF
63662 #define HAVE_HYPOT 1
63663 _ACEOF
63665 cat >>confdefs.h <<\_ACEOF
63666 #define HAVE_ISNAN 1
63667 _ACEOF
63669 cat >>confdefs.h <<\_ACEOF
63670 #define HAVE_ISINF 1
63671 _ACEOF
63674 cat >>confdefs.h <<\_ACEOF
63675 #define HAVE_LDEXPF 1
63676 _ACEOF
63678 cat >>confdefs.h <<\_ACEOF
63679 #define HAVE_MODF 1
63680 _ACEOF
63682 cat >>confdefs.h <<\_ACEOF
63683 #define HAVE_SQRTF 1
63684 _ACEOF
63688 *-darwin*)
63689 # Darwin versions vary, but the linker should work in a cross environment,
63690 # so we just check for all the features here.
63691 # Check for available headers.
63705 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
63706 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
63707 sys/types.h
63709 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63711 echo "$as_me:$LINENO: checking for $ac_header" >&5
63712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63714 echo $ECHO_N "(cached) $ECHO_C" >&6
63716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63718 else
63719 # Is the header compilable?
63720 echo "$as_me:$LINENO: checking $ac_header usability" >&5
63721 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
63722 cat >conftest.$ac_ext <<_ACEOF
63723 /* confdefs.h. */
63724 _ACEOF
63725 cat confdefs.h >>conftest.$ac_ext
63726 cat >>conftest.$ac_ext <<_ACEOF
63727 /* end confdefs.h. */
63728 $ac_includes_default
63729 #include <$ac_header>
63730 _ACEOF
63731 rm -f conftest.$ac_objext
63732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63733 (eval $ac_compile) 2>conftest.er1
63734 ac_status=$?
63735 grep -v '^ *+' conftest.er1 >conftest.err
63736 rm -f conftest.er1
63737 cat conftest.err >&5
63738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63739 (exit $ac_status); } &&
63740 { ac_try='test -z "$ac_c_werror_flag"
63741 || test ! -s conftest.err'
63742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63743 (eval $ac_try) 2>&5
63744 ac_status=$?
63745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63746 (exit $ac_status); }; } &&
63747 { ac_try='test -s conftest.$ac_objext'
63748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63749 (eval $ac_try) 2>&5
63750 ac_status=$?
63751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63752 (exit $ac_status); }; }; then
63753 ac_header_compiler=yes
63754 else
63755 echo "$as_me: failed program was:" >&5
63756 sed 's/^/| /' conftest.$ac_ext >&5
63758 ac_header_compiler=no
63760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63761 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63762 echo "${ECHO_T}$ac_header_compiler" >&6
63764 # Is the header present?
63765 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63766 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63767 cat >conftest.$ac_ext <<_ACEOF
63768 /* confdefs.h. */
63769 _ACEOF
63770 cat confdefs.h >>conftest.$ac_ext
63771 cat >>conftest.$ac_ext <<_ACEOF
63772 /* end confdefs.h. */
63773 #include <$ac_header>
63774 _ACEOF
63775 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63776 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63777 ac_status=$?
63778 grep -v '^ *+' conftest.er1 >conftest.err
63779 rm -f conftest.er1
63780 cat conftest.err >&5
63781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63782 (exit $ac_status); } >/dev/null; then
63783 if test -s conftest.err; then
63784 ac_cpp_err=$ac_c_preproc_warn_flag
63785 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63786 else
63787 ac_cpp_err=
63789 else
63790 ac_cpp_err=yes
63792 if test -z "$ac_cpp_err"; then
63793 ac_header_preproc=yes
63794 else
63795 echo "$as_me: failed program was:" >&5
63796 sed 's/^/| /' conftest.$ac_ext >&5
63798 ac_header_preproc=no
63800 rm -f conftest.err conftest.$ac_ext
63801 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63802 echo "${ECHO_T}$ac_header_preproc" >&6
63804 # So? What about this header?
63805 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63806 yes:no: )
63807 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63808 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63809 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
63810 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
63811 ac_header_preproc=yes
63813 no:yes:* )
63814 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63815 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63816 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
63817 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
63818 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
63819 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
63820 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
63821 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
63822 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63823 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63824 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
63825 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
63827 cat <<\_ASBOX
63828 ## ----------------------------------------- ##
63829 ## Report this to the package-unused lists. ##
63830 ## ----------------------------------------- ##
63831 _ASBOX
63833 sed "s/^/$as_me: WARNING: /" >&2
63835 esac
63836 echo "$as_me:$LINENO: checking for $ac_header" >&5
63837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63839 echo $ECHO_N "(cached) $ECHO_C" >&6
63840 else
63841 eval "$as_ac_Header=\$ac_header_preproc"
63843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63847 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63848 cat >>confdefs.h <<_ACEOF
63849 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63850 _ACEOF
63854 done
63857 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
63859 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63860 ac_save_CXXFLAGS="$CXXFLAGS"
63861 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63863 echo "$as_me:$LINENO: checking for sin in -lm" >&5
63864 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
63865 if test "${ac_cv_lib_m_sin+set}" = set; then
63866 echo $ECHO_N "(cached) $ECHO_C" >&6
63867 else
63868 ac_check_lib_save_LIBS=$LIBS
63869 LIBS="-lm $LIBS"
63870 if test x$gcc_no_link = xyes; then
63871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63873 { (exit 1); exit 1; }; }
63875 cat >conftest.$ac_ext <<_ACEOF
63876 /* confdefs.h. */
63877 _ACEOF
63878 cat confdefs.h >>conftest.$ac_ext
63879 cat >>conftest.$ac_ext <<_ACEOF
63880 /* end confdefs.h. */
63882 /* Override any gcc2 internal prototype to avoid an error. */
63883 #ifdef __cplusplus
63884 extern "C"
63885 #endif
63886 /* We use char because int might match the return type of a gcc2
63887 builtin and then its argument prototype would still apply. */
63888 char sin ();
63890 main ()
63892 sin ();
63894 return 0;
63896 _ACEOF
63897 rm -f conftest.$ac_objext conftest$ac_exeext
63898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63899 (eval $ac_link) 2>conftest.er1
63900 ac_status=$?
63901 grep -v '^ *+' conftest.er1 >conftest.err
63902 rm -f conftest.er1
63903 cat conftest.err >&5
63904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63905 (exit $ac_status); } &&
63906 { ac_try='test -z "$ac_c_werror_flag"
63907 || test ! -s conftest.err'
63908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63909 (eval $ac_try) 2>&5
63910 ac_status=$?
63911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63912 (exit $ac_status); }; } &&
63913 { ac_try='test -s conftest$ac_exeext'
63914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63915 (eval $ac_try) 2>&5
63916 ac_status=$?
63917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63918 (exit $ac_status); }; }; then
63919 ac_cv_lib_m_sin=yes
63920 else
63921 echo "$as_me: failed program was:" >&5
63922 sed 's/^/| /' conftest.$ac_ext >&5
63924 ac_cv_lib_m_sin=no
63926 rm -f conftest.err conftest.$ac_objext \
63927 conftest$ac_exeext conftest.$ac_ext
63928 LIBS=$ac_check_lib_save_LIBS
63930 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
63931 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
63932 if test $ac_cv_lib_m_sin = yes; then
63933 libm="-lm"
63936 ac_save_LIBS="$LIBS"
63937 LIBS="$LIBS $libm"
63941 echo "$as_me:$LINENO: checking for isinf declaration" >&5
63942 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
63943 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
63944 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
63945 echo $ECHO_N "(cached) $ECHO_C" >&6
63946 else
63950 ac_ext=cc
63951 ac_cpp='$CXXCPP $CPPFLAGS'
63952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63956 cat >conftest.$ac_ext <<_ACEOF
63957 /* confdefs.h. */
63958 _ACEOF
63959 cat confdefs.h >>conftest.$ac_ext
63960 cat >>conftest.$ac_ext <<_ACEOF
63961 /* end confdefs.h. */
63962 #include <math.h>
63963 #ifdef HAVE_IEEEFP_H
63964 #include <ieeefp.h>
63965 #endif
63968 main ()
63970 isinf(0);
63972 return 0;
63974 _ACEOF
63975 rm -f conftest.$ac_objext
63976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63977 (eval $ac_compile) 2>conftest.er1
63978 ac_status=$?
63979 grep -v '^ *+' conftest.er1 >conftest.err
63980 rm -f conftest.er1
63981 cat conftest.err >&5
63982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63983 (exit $ac_status); } &&
63984 { ac_try='test -z "$ac_cxx_werror_flag"
63985 || test ! -s conftest.err'
63986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63987 (eval $ac_try) 2>&5
63988 ac_status=$?
63989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63990 (exit $ac_status); }; } &&
63991 { ac_try='test -s conftest.$ac_objext'
63992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63993 (eval $ac_try) 2>&5
63994 ac_status=$?
63995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63996 (exit $ac_status); }; }; then
63997 glibcxx_cv_func_isinf_use=yes
63998 else
63999 echo "$as_me: failed program was:" >&5
64000 sed 's/^/| /' conftest.$ac_ext >&5
64002 glibcxx_cv_func_isinf_use=no
64004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64005 ac_ext=c
64006 ac_cpp='$CPP $CPPFLAGS'
64007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64015 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
64016 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
64018 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64020 for ac_func in isinf
64022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64023 echo "$as_me:$LINENO: checking for $ac_func" >&5
64024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64025 if eval "test \"\${$as_ac_var+set}\" = set"; then
64026 echo $ECHO_N "(cached) $ECHO_C" >&6
64027 else
64028 if test x$gcc_no_link = xyes; then
64029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64031 { (exit 1); exit 1; }; }
64033 cat >conftest.$ac_ext <<_ACEOF
64034 /* confdefs.h. */
64035 _ACEOF
64036 cat confdefs.h >>conftest.$ac_ext
64037 cat >>conftest.$ac_ext <<_ACEOF
64038 /* end confdefs.h. */
64039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64041 #define $ac_func innocuous_$ac_func
64043 /* System header to define __stub macros and hopefully few prototypes,
64044 which can conflict with char $ac_func (); below.
64045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64046 <limits.h> exists even on freestanding compilers. */
64048 #ifdef __STDC__
64049 # include <limits.h>
64050 #else
64051 # include <assert.h>
64052 #endif
64054 #undef $ac_func
64056 /* Override any gcc2 internal prototype to avoid an error. */
64057 #ifdef __cplusplus
64058 extern "C"
64060 #endif
64061 /* We use char because int might match the return type of a gcc2
64062 builtin and then its argument prototype would still apply. */
64063 char $ac_func ();
64064 /* The GNU C library defines this for functions which it implements
64065 to always fail with ENOSYS. Some functions are actually named
64066 something starting with __ and the normal name is an alias. */
64067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64068 choke me
64069 #else
64070 char (*f) () = $ac_func;
64071 #endif
64072 #ifdef __cplusplus
64074 #endif
64077 main ()
64079 return f != $ac_func;
64081 return 0;
64083 _ACEOF
64084 rm -f conftest.$ac_objext conftest$ac_exeext
64085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64086 (eval $ac_link) 2>conftest.er1
64087 ac_status=$?
64088 grep -v '^ *+' conftest.er1 >conftest.err
64089 rm -f conftest.er1
64090 cat conftest.err >&5
64091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64092 (exit $ac_status); } &&
64093 { ac_try='test -z "$ac_c_werror_flag"
64094 || test ! -s conftest.err'
64095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64096 (eval $ac_try) 2>&5
64097 ac_status=$?
64098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64099 (exit $ac_status); }; } &&
64100 { ac_try='test -s conftest$ac_exeext'
64101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64102 (eval $ac_try) 2>&5
64103 ac_status=$?
64104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64105 (exit $ac_status); }; }; then
64106 eval "$as_ac_var=yes"
64107 else
64108 echo "$as_me: failed program was:" >&5
64109 sed 's/^/| /' conftest.$ac_ext >&5
64111 eval "$as_ac_var=no"
64113 rm -f conftest.err conftest.$ac_objext \
64114 conftest$ac_exeext conftest.$ac_ext
64116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64118 if test `eval echo '${'$as_ac_var'}'` = yes; then
64119 cat >>confdefs.h <<_ACEOF
64120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64121 _ACEOF
64124 done
64126 else
64128 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
64129 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
64130 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64131 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
64132 echo $ECHO_N "(cached) $ECHO_C" >&6
64133 else
64137 ac_ext=cc
64138 ac_cpp='$CXXCPP $CPPFLAGS'
64139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64143 cat >conftest.$ac_ext <<_ACEOF
64144 /* confdefs.h. */
64145 _ACEOF
64146 cat confdefs.h >>conftest.$ac_ext
64147 cat >>conftest.$ac_ext <<_ACEOF
64148 /* end confdefs.h. */
64149 #include <math.h>
64150 #ifdef HAVE_IEEEFP_H
64151 #include <ieeefp.h>
64152 #endif
64155 main ()
64157 _isinf(0);
64159 return 0;
64161 _ACEOF
64162 rm -f conftest.$ac_objext
64163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64164 (eval $ac_compile) 2>conftest.er1
64165 ac_status=$?
64166 grep -v '^ *+' conftest.er1 >conftest.err
64167 rm -f conftest.er1
64168 cat conftest.err >&5
64169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64170 (exit $ac_status); } &&
64171 { ac_try='test -z "$ac_cxx_werror_flag"
64172 || test ! -s conftest.err'
64173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64174 (eval $ac_try) 2>&5
64175 ac_status=$?
64176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64177 (exit $ac_status); }; } &&
64178 { ac_try='test -s conftest.$ac_objext'
64179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64180 (eval $ac_try) 2>&5
64181 ac_status=$?
64182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64183 (exit $ac_status); }; }; then
64184 glibcxx_cv_func__isinf_use=yes
64185 else
64186 echo "$as_me: failed program was:" >&5
64187 sed 's/^/| /' conftest.$ac_ext >&5
64189 glibcxx_cv_func__isinf_use=no
64191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64192 ac_ext=c
64193 ac_cpp='$CPP $CPPFLAGS'
64194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64202 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
64203 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
64205 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64207 for ac_func in _isinf
64209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64210 echo "$as_me:$LINENO: checking for $ac_func" >&5
64211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64212 if eval "test \"\${$as_ac_var+set}\" = set"; then
64213 echo $ECHO_N "(cached) $ECHO_C" >&6
64214 else
64215 if test x$gcc_no_link = xyes; then
64216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64218 { (exit 1); exit 1; }; }
64220 cat >conftest.$ac_ext <<_ACEOF
64221 /* confdefs.h. */
64222 _ACEOF
64223 cat confdefs.h >>conftest.$ac_ext
64224 cat >>conftest.$ac_ext <<_ACEOF
64225 /* end confdefs.h. */
64226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64228 #define $ac_func innocuous_$ac_func
64230 /* System header to define __stub macros and hopefully few prototypes,
64231 which can conflict with char $ac_func (); below.
64232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64233 <limits.h> exists even on freestanding compilers. */
64235 #ifdef __STDC__
64236 # include <limits.h>
64237 #else
64238 # include <assert.h>
64239 #endif
64241 #undef $ac_func
64243 /* Override any gcc2 internal prototype to avoid an error. */
64244 #ifdef __cplusplus
64245 extern "C"
64247 #endif
64248 /* We use char because int might match the return type of a gcc2
64249 builtin and then its argument prototype would still apply. */
64250 char $ac_func ();
64251 /* The GNU C library defines this for functions which it implements
64252 to always fail with ENOSYS. Some functions are actually named
64253 something starting with __ and the normal name is an alias. */
64254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64255 choke me
64256 #else
64257 char (*f) () = $ac_func;
64258 #endif
64259 #ifdef __cplusplus
64261 #endif
64264 main ()
64266 return f != $ac_func;
64268 return 0;
64270 _ACEOF
64271 rm -f conftest.$ac_objext conftest$ac_exeext
64272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64273 (eval $ac_link) 2>conftest.er1
64274 ac_status=$?
64275 grep -v '^ *+' conftest.er1 >conftest.err
64276 rm -f conftest.er1
64277 cat conftest.err >&5
64278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64279 (exit $ac_status); } &&
64280 { ac_try='test -z "$ac_c_werror_flag"
64281 || test ! -s conftest.err'
64282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64283 (eval $ac_try) 2>&5
64284 ac_status=$?
64285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64286 (exit $ac_status); }; } &&
64287 { ac_try='test -s conftest$ac_exeext'
64288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64289 (eval $ac_try) 2>&5
64290 ac_status=$?
64291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64292 (exit $ac_status); }; }; then
64293 eval "$as_ac_var=yes"
64294 else
64295 echo "$as_me: failed program was:" >&5
64296 sed 's/^/| /' conftest.$ac_ext >&5
64298 eval "$as_ac_var=no"
64300 rm -f conftest.err conftest.$ac_objext \
64301 conftest$ac_exeext conftest.$ac_ext
64303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64305 if test `eval echo '${'$as_ac_var'}'` = yes; then
64306 cat >>confdefs.h <<_ACEOF
64307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64308 _ACEOF
64311 done
64321 echo "$as_me:$LINENO: checking for isnan declaration" >&5
64322 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
64323 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64324 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
64325 echo $ECHO_N "(cached) $ECHO_C" >&6
64326 else
64330 ac_ext=cc
64331 ac_cpp='$CXXCPP $CPPFLAGS'
64332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64336 cat >conftest.$ac_ext <<_ACEOF
64337 /* confdefs.h. */
64338 _ACEOF
64339 cat confdefs.h >>conftest.$ac_ext
64340 cat >>conftest.$ac_ext <<_ACEOF
64341 /* end confdefs.h. */
64342 #include <math.h>
64343 #ifdef HAVE_IEEEFP_H
64344 #include <ieeefp.h>
64345 #endif
64348 main ()
64350 isnan(0);
64352 return 0;
64354 _ACEOF
64355 rm -f conftest.$ac_objext
64356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64357 (eval $ac_compile) 2>conftest.er1
64358 ac_status=$?
64359 grep -v '^ *+' conftest.er1 >conftest.err
64360 rm -f conftest.er1
64361 cat conftest.err >&5
64362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64363 (exit $ac_status); } &&
64364 { ac_try='test -z "$ac_cxx_werror_flag"
64365 || test ! -s conftest.err'
64366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64367 (eval $ac_try) 2>&5
64368 ac_status=$?
64369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64370 (exit $ac_status); }; } &&
64371 { ac_try='test -s conftest.$ac_objext'
64372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64373 (eval $ac_try) 2>&5
64374 ac_status=$?
64375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64376 (exit $ac_status); }; }; then
64377 glibcxx_cv_func_isnan_use=yes
64378 else
64379 echo "$as_me: failed program was:" >&5
64380 sed 's/^/| /' conftest.$ac_ext >&5
64382 glibcxx_cv_func_isnan_use=no
64384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64385 ac_ext=c
64386 ac_cpp='$CPP $CPPFLAGS'
64387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64395 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
64396 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
64398 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64400 for ac_func in isnan
64402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64403 echo "$as_me:$LINENO: checking for $ac_func" >&5
64404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64405 if eval "test \"\${$as_ac_var+set}\" = set"; then
64406 echo $ECHO_N "(cached) $ECHO_C" >&6
64407 else
64408 if test x$gcc_no_link = xyes; then
64409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64411 { (exit 1); exit 1; }; }
64413 cat >conftest.$ac_ext <<_ACEOF
64414 /* confdefs.h. */
64415 _ACEOF
64416 cat confdefs.h >>conftest.$ac_ext
64417 cat >>conftest.$ac_ext <<_ACEOF
64418 /* end confdefs.h. */
64419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64421 #define $ac_func innocuous_$ac_func
64423 /* System header to define __stub macros and hopefully few prototypes,
64424 which can conflict with char $ac_func (); below.
64425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64426 <limits.h> exists even on freestanding compilers. */
64428 #ifdef __STDC__
64429 # include <limits.h>
64430 #else
64431 # include <assert.h>
64432 #endif
64434 #undef $ac_func
64436 /* Override any gcc2 internal prototype to avoid an error. */
64437 #ifdef __cplusplus
64438 extern "C"
64440 #endif
64441 /* We use char because int might match the return type of a gcc2
64442 builtin and then its argument prototype would still apply. */
64443 char $ac_func ();
64444 /* The GNU C library defines this for functions which it implements
64445 to always fail with ENOSYS. Some functions are actually named
64446 something starting with __ and the normal name is an alias. */
64447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64448 choke me
64449 #else
64450 char (*f) () = $ac_func;
64451 #endif
64452 #ifdef __cplusplus
64454 #endif
64457 main ()
64459 return f != $ac_func;
64461 return 0;
64463 _ACEOF
64464 rm -f conftest.$ac_objext conftest$ac_exeext
64465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64466 (eval $ac_link) 2>conftest.er1
64467 ac_status=$?
64468 grep -v '^ *+' conftest.er1 >conftest.err
64469 rm -f conftest.er1
64470 cat conftest.err >&5
64471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64472 (exit $ac_status); } &&
64473 { ac_try='test -z "$ac_c_werror_flag"
64474 || test ! -s conftest.err'
64475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64476 (eval $ac_try) 2>&5
64477 ac_status=$?
64478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64479 (exit $ac_status); }; } &&
64480 { ac_try='test -s conftest$ac_exeext'
64481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64482 (eval $ac_try) 2>&5
64483 ac_status=$?
64484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64485 (exit $ac_status); }; }; then
64486 eval "$as_ac_var=yes"
64487 else
64488 echo "$as_me: failed program was:" >&5
64489 sed 's/^/| /' conftest.$ac_ext >&5
64491 eval "$as_ac_var=no"
64493 rm -f conftest.err conftest.$ac_objext \
64494 conftest$ac_exeext conftest.$ac_ext
64496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64498 if test `eval echo '${'$as_ac_var'}'` = yes; then
64499 cat >>confdefs.h <<_ACEOF
64500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64501 _ACEOF
64504 done
64506 else
64508 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
64509 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
64510 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64511 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
64512 echo $ECHO_N "(cached) $ECHO_C" >&6
64513 else
64517 ac_ext=cc
64518 ac_cpp='$CXXCPP $CPPFLAGS'
64519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64523 cat >conftest.$ac_ext <<_ACEOF
64524 /* confdefs.h. */
64525 _ACEOF
64526 cat confdefs.h >>conftest.$ac_ext
64527 cat >>conftest.$ac_ext <<_ACEOF
64528 /* end confdefs.h. */
64529 #include <math.h>
64530 #ifdef HAVE_IEEEFP_H
64531 #include <ieeefp.h>
64532 #endif
64535 main ()
64537 _isnan(0);
64539 return 0;
64541 _ACEOF
64542 rm -f conftest.$ac_objext
64543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64544 (eval $ac_compile) 2>conftest.er1
64545 ac_status=$?
64546 grep -v '^ *+' conftest.er1 >conftest.err
64547 rm -f conftest.er1
64548 cat conftest.err >&5
64549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64550 (exit $ac_status); } &&
64551 { ac_try='test -z "$ac_cxx_werror_flag"
64552 || test ! -s conftest.err'
64553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64554 (eval $ac_try) 2>&5
64555 ac_status=$?
64556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64557 (exit $ac_status); }; } &&
64558 { ac_try='test -s conftest.$ac_objext'
64559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64560 (eval $ac_try) 2>&5
64561 ac_status=$?
64562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64563 (exit $ac_status); }; }; then
64564 glibcxx_cv_func__isnan_use=yes
64565 else
64566 echo "$as_me: failed program was:" >&5
64567 sed 's/^/| /' conftest.$ac_ext >&5
64569 glibcxx_cv_func__isnan_use=no
64571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64572 ac_ext=c
64573 ac_cpp='$CPP $CPPFLAGS'
64574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64582 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
64583 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
64585 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64587 for ac_func in _isnan
64589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64590 echo "$as_me:$LINENO: checking for $ac_func" >&5
64591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64592 if eval "test \"\${$as_ac_var+set}\" = set"; then
64593 echo $ECHO_N "(cached) $ECHO_C" >&6
64594 else
64595 if test x$gcc_no_link = xyes; then
64596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64598 { (exit 1); exit 1; }; }
64600 cat >conftest.$ac_ext <<_ACEOF
64601 /* confdefs.h. */
64602 _ACEOF
64603 cat confdefs.h >>conftest.$ac_ext
64604 cat >>conftest.$ac_ext <<_ACEOF
64605 /* end confdefs.h. */
64606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64608 #define $ac_func innocuous_$ac_func
64610 /* System header to define __stub macros and hopefully few prototypes,
64611 which can conflict with char $ac_func (); below.
64612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64613 <limits.h> exists even on freestanding compilers. */
64615 #ifdef __STDC__
64616 # include <limits.h>
64617 #else
64618 # include <assert.h>
64619 #endif
64621 #undef $ac_func
64623 /* Override any gcc2 internal prototype to avoid an error. */
64624 #ifdef __cplusplus
64625 extern "C"
64627 #endif
64628 /* We use char because int might match the return type of a gcc2
64629 builtin and then its argument prototype would still apply. */
64630 char $ac_func ();
64631 /* The GNU C library defines this for functions which it implements
64632 to always fail with ENOSYS. Some functions are actually named
64633 something starting with __ and the normal name is an alias. */
64634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64635 choke me
64636 #else
64637 char (*f) () = $ac_func;
64638 #endif
64639 #ifdef __cplusplus
64641 #endif
64644 main ()
64646 return f != $ac_func;
64648 return 0;
64650 _ACEOF
64651 rm -f conftest.$ac_objext conftest$ac_exeext
64652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64653 (eval $ac_link) 2>conftest.er1
64654 ac_status=$?
64655 grep -v '^ *+' conftest.er1 >conftest.err
64656 rm -f conftest.er1
64657 cat conftest.err >&5
64658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64659 (exit $ac_status); } &&
64660 { ac_try='test -z "$ac_c_werror_flag"
64661 || test ! -s conftest.err'
64662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64663 (eval $ac_try) 2>&5
64664 ac_status=$?
64665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64666 (exit $ac_status); }; } &&
64667 { ac_try='test -s conftest$ac_exeext'
64668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64669 (eval $ac_try) 2>&5
64670 ac_status=$?
64671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64672 (exit $ac_status); }; }; then
64673 eval "$as_ac_var=yes"
64674 else
64675 echo "$as_me: failed program was:" >&5
64676 sed 's/^/| /' conftest.$ac_ext >&5
64678 eval "$as_ac_var=no"
64680 rm -f conftest.err conftest.$ac_objext \
64681 conftest$ac_exeext conftest.$ac_ext
64683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64685 if test `eval echo '${'$as_ac_var'}'` = yes; then
64686 cat >>confdefs.h <<_ACEOF
64687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64688 _ACEOF
64691 done
64701 echo "$as_me:$LINENO: checking for finite declaration" >&5
64702 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
64703 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64704 if test "${glibcxx_cv_func_finite_use+set}" = set; then
64705 echo $ECHO_N "(cached) $ECHO_C" >&6
64706 else
64710 ac_ext=cc
64711 ac_cpp='$CXXCPP $CPPFLAGS'
64712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64716 cat >conftest.$ac_ext <<_ACEOF
64717 /* confdefs.h. */
64718 _ACEOF
64719 cat confdefs.h >>conftest.$ac_ext
64720 cat >>conftest.$ac_ext <<_ACEOF
64721 /* end confdefs.h. */
64722 #include <math.h>
64723 #ifdef HAVE_IEEEFP_H
64724 #include <ieeefp.h>
64725 #endif
64728 main ()
64730 finite(0);
64732 return 0;
64734 _ACEOF
64735 rm -f conftest.$ac_objext
64736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64737 (eval $ac_compile) 2>conftest.er1
64738 ac_status=$?
64739 grep -v '^ *+' conftest.er1 >conftest.err
64740 rm -f conftest.er1
64741 cat conftest.err >&5
64742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64743 (exit $ac_status); } &&
64744 { ac_try='test -z "$ac_cxx_werror_flag"
64745 || test ! -s conftest.err'
64746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64747 (eval $ac_try) 2>&5
64748 ac_status=$?
64749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64750 (exit $ac_status); }; } &&
64751 { ac_try='test -s conftest.$ac_objext'
64752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64753 (eval $ac_try) 2>&5
64754 ac_status=$?
64755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64756 (exit $ac_status); }; }; then
64757 glibcxx_cv_func_finite_use=yes
64758 else
64759 echo "$as_me: failed program was:" >&5
64760 sed 's/^/| /' conftest.$ac_ext >&5
64762 glibcxx_cv_func_finite_use=no
64764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64765 ac_ext=c
64766 ac_cpp='$CPP $CPPFLAGS'
64767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64775 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
64776 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
64778 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64780 for ac_func in finite
64782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64783 echo "$as_me:$LINENO: checking for $ac_func" >&5
64784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64785 if eval "test \"\${$as_ac_var+set}\" = set"; then
64786 echo $ECHO_N "(cached) $ECHO_C" >&6
64787 else
64788 if test x$gcc_no_link = xyes; then
64789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64791 { (exit 1); exit 1; }; }
64793 cat >conftest.$ac_ext <<_ACEOF
64794 /* confdefs.h. */
64795 _ACEOF
64796 cat confdefs.h >>conftest.$ac_ext
64797 cat >>conftest.$ac_ext <<_ACEOF
64798 /* end confdefs.h. */
64799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64801 #define $ac_func innocuous_$ac_func
64803 /* System header to define __stub macros and hopefully few prototypes,
64804 which can conflict with char $ac_func (); below.
64805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64806 <limits.h> exists even on freestanding compilers. */
64808 #ifdef __STDC__
64809 # include <limits.h>
64810 #else
64811 # include <assert.h>
64812 #endif
64814 #undef $ac_func
64816 /* Override any gcc2 internal prototype to avoid an error. */
64817 #ifdef __cplusplus
64818 extern "C"
64820 #endif
64821 /* We use char because int might match the return type of a gcc2
64822 builtin and then its argument prototype would still apply. */
64823 char $ac_func ();
64824 /* The GNU C library defines this for functions which it implements
64825 to always fail with ENOSYS. Some functions are actually named
64826 something starting with __ and the normal name is an alias. */
64827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64828 choke me
64829 #else
64830 char (*f) () = $ac_func;
64831 #endif
64832 #ifdef __cplusplus
64834 #endif
64837 main ()
64839 return f != $ac_func;
64841 return 0;
64843 _ACEOF
64844 rm -f conftest.$ac_objext conftest$ac_exeext
64845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64846 (eval $ac_link) 2>conftest.er1
64847 ac_status=$?
64848 grep -v '^ *+' conftest.er1 >conftest.err
64849 rm -f conftest.er1
64850 cat conftest.err >&5
64851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64852 (exit $ac_status); } &&
64853 { ac_try='test -z "$ac_c_werror_flag"
64854 || test ! -s conftest.err'
64855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64856 (eval $ac_try) 2>&5
64857 ac_status=$?
64858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64859 (exit $ac_status); }; } &&
64860 { ac_try='test -s conftest$ac_exeext'
64861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64862 (eval $ac_try) 2>&5
64863 ac_status=$?
64864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64865 (exit $ac_status); }; }; then
64866 eval "$as_ac_var=yes"
64867 else
64868 echo "$as_me: failed program was:" >&5
64869 sed 's/^/| /' conftest.$ac_ext >&5
64871 eval "$as_ac_var=no"
64873 rm -f conftest.err conftest.$ac_objext \
64874 conftest$ac_exeext conftest.$ac_ext
64876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64878 if test `eval echo '${'$as_ac_var'}'` = yes; then
64879 cat >>confdefs.h <<_ACEOF
64880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64881 _ACEOF
64884 done
64886 else
64888 echo "$as_me:$LINENO: checking for _finite declaration" >&5
64889 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
64890 if test x${glibcxx_cv_func__finite_use+set} != xset; then
64891 if test "${glibcxx_cv_func__finite_use+set}" = set; then
64892 echo $ECHO_N "(cached) $ECHO_C" >&6
64893 else
64897 ac_ext=cc
64898 ac_cpp='$CXXCPP $CPPFLAGS'
64899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64903 cat >conftest.$ac_ext <<_ACEOF
64904 /* confdefs.h. */
64905 _ACEOF
64906 cat confdefs.h >>conftest.$ac_ext
64907 cat >>conftest.$ac_ext <<_ACEOF
64908 /* end confdefs.h. */
64909 #include <math.h>
64910 #ifdef HAVE_IEEEFP_H
64911 #include <ieeefp.h>
64912 #endif
64915 main ()
64917 _finite(0);
64919 return 0;
64921 _ACEOF
64922 rm -f conftest.$ac_objext
64923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64924 (eval $ac_compile) 2>conftest.er1
64925 ac_status=$?
64926 grep -v '^ *+' conftest.er1 >conftest.err
64927 rm -f conftest.er1
64928 cat conftest.err >&5
64929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64930 (exit $ac_status); } &&
64931 { ac_try='test -z "$ac_cxx_werror_flag"
64932 || test ! -s conftest.err'
64933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64934 (eval $ac_try) 2>&5
64935 ac_status=$?
64936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64937 (exit $ac_status); }; } &&
64938 { ac_try='test -s conftest.$ac_objext'
64939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64940 (eval $ac_try) 2>&5
64941 ac_status=$?
64942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64943 (exit $ac_status); }; }; then
64944 glibcxx_cv_func__finite_use=yes
64945 else
64946 echo "$as_me: failed program was:" >&5
64947 sed 's/^/| /' conftest.$ac_ext >&5
64949 glibcxx_cv_func__finite_use=no
64951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64952 ac_ext=c
64953 ac_cpp='$CPP $CPPFLAGS'
64954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64962 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
64963 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
64965 if test x$glibcxx_cv_func__finite_use = x"yes"; then
64967 for ac_func in _finite
64969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64970 echo "$as_me:$LINENO: checking for $ac_func" >&5
64971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64972 if eval "test \"\${$as_ac_var+set}\" = set"; then
64973 echo $ECHO_N "(cached) $ECHO_C" >&6
64974 else
64975 if test x$gcc_no_link = xyes; then
64976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64978 { (exit 1); exit 1; }; }
64980 cat >conftest.$ac_ext <<_ACEOF
64981 /* confdefs.h. */
64982 _ACEOF
64983 cat confdefs.h >>conftest.$ac_ext
64984 cat >>conftest.$ac_ext <<_ACEOF
64985 /* end confdefs.h. */
64986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64988 #define $ac_func innocuous_$ac_func
64990 /* System header to define __stub macros and hopefully few prototypes,
64991 which can conflict with char $ac_func (); below.
64992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64993 <limits.h> exists even on freestanding compilers. */
64995 #ifdef __STDC__
64996 # include <limits.h>
64997 #else
64998 # include <assert.h>
64999 #endif
65001 #undef $ac_func
65003 /* Override any gcc2 internal prototype to avoid an error. */
65004 #ifdef __cplusplus
65005 extern "C"
65007 #endif
65008 /* We use char because int might match the return type of a gcc2
65009 builtin and then its argument prototype would still apply. */
65010 char $ac_func ();
65011 /* The GNU C library defines this for functions which it implements
65012 to always fail with ENOSYS. Some functions are actually named
65013 something starting with __ and the normal name is an alias. */
65014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65015 choke me
65016 #else
65017 char (*f) () = $ac_func;
65018 #endif
65019 #ifdef __cplusplus
65021 #endif
65024 main ()
65026 return f != $ac_func;
65028 return 0;
65030 _ACEOF
65031 rm -f conftest.$ac_objext conftest$ac_exeext
65032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65033 (eval $ac_link) 2>conftest.er1
65034 ac_status=$?
65035 grep -v '^ *+' conftest.er1 >conftest.err
65036 rm -f conftest.er1
65037 cat conftest.err >&5
65038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65039 (exit $ac_status); } &&
65040 { ac_try='test -z "$ac_c_werror_flag"
65041 || test ! -s conftest.err'
65042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65043 (eval $ac_try) 2>&5
65044 ac_status=$?
65045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65046 (exit $ac_status); }; } &&
65047 { ac_try='test -s conftest$ac_exeext'
65048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65049 (eval $ac_try) 2>&5
65050 ac_status=$?
65051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65052 (exit $ac_status); }; }; then
65053 eval "$as_ac_var=yes"
65054 else
65055 echo "$as_me: failed program was:" >&5
65056 sed 's/^/| /' conftest.$ac_ext >&5
65058 eval "$as_ac_var=no"
65060 rm -f conftest.err conftest.$ac_objext \
65061 conftest$ac_exeext conftest.$ac_ext
65063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65065 if test `eval echo '${'$as_ac_var'}'` = yes; then
65066 cat >>confdefs.h <<_ACEOF
65067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65068 _ACEOF
65071 done
65081 echo "$as_me:$LINENO: checking for copysign declaration" >&5
65082 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
65083 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
65084 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
65085 echo $ECHO_N "(cached) $ECHO_C" >&6
65086 else
65090 ac_ext=cc
65091 ac_cpp='$CXXCPP $CPPFLAGS'
65092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65096 cat >conftest.$ac_ext <<_ACEOF
65097 /* confdefs.h. */
65098 _ACEOF
65099 cat confdefs.h >>conftest.$ac_ext
65100 cat >>conftest.$ac_ext <<_ACEOF
65101 /* end confdefs.h. */
65102 #include <math.h>
65104 main ()
65106 copysign(0, 0);
65108 return 0;
65110 _ACEOF
65111 rm -f conftest.$ac_objext
65112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65113 (eval $ac_compile) 2>conftest.er1
65114 ac_status=$?
65115 grep -v '^ *+' conftest.er1 >conftest.err
65116 rm -f conftest.er1
65117 cat conftest.err >&5
65118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65119 (exit $ac_status); } &&
65120 { ac_try='test -z "$ac_cxx_werror_flag"
65121 || test ! -s conftest.err'
65122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65123 (eval $ac_try) 2>&5
65124 ac_status=$?
65125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65126 (exit $ac_status); }; } &&
65127 { ac_try='test -s conftest.$ac_objext'
65128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65129 (eval $ac_try) 2>&5
65130 ac_status=$?
65131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65132 (exit $ac_status); }; }; then
65133 glibcxx_cv_func_copysign_use=yes
65134 else
65135 echo "$as_me: failed program was:" >&5
65136 sed 's/^/| /' conftest.$ac_ext >&5
65138 glibcxx_cv_func_copysign_use=no
65140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65141 ac_ext=c
65142 ac_cpp='$CPP $CPPFLAGS'
65143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65151 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
65152 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
65154 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
65156 for ac_func in copysign
65158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65159 echo "$as_me:$LINENO: checking for $ac_func" >&5
65160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65161 if eval "test \"\${$as_ac_var+set}\" = set"; then
65162 echo $ECHO_N "(cached) $ECHO_C" >&6
65163 else
65164 if test x$gcc_no_link = xyes; then
65165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65167 { (exit 1); exit 1; }; }
65169 cat >conftest.$ac_ext <<_ACEOF
65170 /* confdefs.h. */
65171 _ACEOF
65172 cat confdefs.h >>conftest.$ac_ext
65173 cat >>conftest.$ac_ext <<_ACEOF
65174 /* end confdefs.h. */
65175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65177 #define $ac_func innocuous_$ac_func
65179 /* System header to define __stub macros and hopefully few prototypes,
65180 which can conflict with char $ac_func (); below.
65181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65182 <limits.h> exists even on freestanding compilers. */
65184 #ifdef __STDC__
65185 # include <limits.h>
65186 #else
65187 # include <assert.h>
65188 #endif
65190 #undef $ac_func
65192 /* Override any gcc2 internal prototype to avoid an error. */
65193 #ifdef __cplusplus
65194 extern "C"
65196 #endif
65197 /* We use char because int might match the return type of a gcc2
65198 builtin and then its argument prototype would still apply. */
65199 char $ac_func ();
65200 /* The GNU C library defines this for functions which it implements
65201 to always fail with ENOSYS. Some functions are actually named
65202 something starting with __ and the normal name is an alias. */
65203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65204 choke me
65205 #else
65206 char (*f) () = $ac_func;
65207 #endif
65208 #ifdef __cplusplus
65210 #endif
65213 main ()
65215 return f != $ac_func;
65217 return 0;
65219 _ACEOF
65220 rm -f conftest.$ac_objext conftest$ac_exeext
65221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65222 (eval $ac_link) 2>conftest.er1
65223 ac_status=$?
65224 grep -v '^ *+' conftest.er1 >conftest.err
65225 rm -f conftest.er1
65226 cat conftest.err >&5
65227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65228 (exit $ac_status); } &&
65229 { ac_try='test -z "$ac_c_werror_flag"
65230 || test ! -s conftest.err'
65231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65232 (eval $ac_try) 2>&5
65233 ac_status=$?
65234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65235 (exit $ac_status); }; } &&
65236 { ac_try='test -s conftest$ac_exeext'
65237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65238 (eval $ac_try) 2>&5
65239 ac_status=$?
65240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65241 (exit $ac_status); }; }; then
65242 eval "$as_ac_var=yes"
65243 else
65244 echo "$as_me: failed program was:" >&5
65245 sed 's/^/| /' conftest.$ac_ext >&5
65247 eval "$as_ac_var=no"
65249 rm -f conftest.err conftest.$ac_objext \
65250 conftest$ac_exeext conftest.$ac_ext
65252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65254 if test `eval echo '${'$as_ac_var'}'` = yes; then
65255 cat >>confdefs.h <<_ACEOF
65256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65257 _ACEOF
65260 done
65262 else
65264 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
65265 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
65266 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
65267 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
65268 echo $ECHO_N "(cached) $ECHO_C" >&6
65269 else
65273 ac_ext=cc
65274 ac_cpp='$CXXCPP $CPPFLAGS'
65275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65279 cat >conftest.$ac_ext <<_ACEOF
65280 /* confdefs.h. */
65281 _ACEOF
65282 cat confdefs.h >>conftest.$ac_ext
65283 cat >>conftest.$ac_ext <<_ACEOF
65284 /* end confdefs.h. */
65285 #include <math.h>
65287 main ()
65289 _copysign(0, 0);
65291 return 0;
65293 _ACEOF
65294 rm -f conftest.$ac_objext
65295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65296 (eval $ac_compile) 2>conftest.er1
65297 ac_status=$?
65298 grep -v '^ *+' conftest.er1 >conftest.err
65299 rm -f conftest.er1
65300 cat conftest.err >&5
65301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65302 (exit $ac_status); } &&
65303 { ac_try='test -z "$ac_cxx_werror_flag"
65304 || test ! -s conftest.err'
65305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65306 (eval $ac_try) 2>&5
65307 ac_status=$?
65308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65309 (exit $ac_status); }; } &&
65310 { ac_try='test -s conftest.$ac_objext'
65311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65312 (eval $ac_try) 2>&5
65313 ac_status=$?
65314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65315 (exit $ac_status); }; }; then
65316 glibcxx_cv_func__copysign_use=yes
65317 else
65318 echo "$as_me: failed program was:" >&5
65319 sed 's/^/| /' conftest.$ac_ext >&5
65321 glibcxx_cv_func__copysign_use=no
65323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65324 ac_ext=c
65325 ac_cpp='$CPP $CPPFLAGS'
65326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65334 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
65335 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
65337 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
65339 for ac_func in _copysign
65341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65342 echo "$as_me:$LINENO: checking for $ac_func" >&5
65343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65344 if eval "test \"\${$as_ac_var+set}\" = set"; then
65345 echo $ECHO_N "(cached) $ECHO_C" >&6
65346 else
65347 if test x$gcc_no_link = xyes; then
65348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65350 { (exit 1); exit 1; }; }
65352 cat >conftest.$ac_ext <<_ACEOF
65353 /* confdefs.h. */
65354 _ACEOF
65355 cat confdefs.h >>conftest.$ac_ext
65356 cat >>conftest.$ac_ext <<_ACEOF
65357 /* end confdefs.h. */
65358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65360 #define $ac_func innocuous_$ac_func
65362 /* System header to define __stub macros and hopefully few prototypes,
65363 which can conflict with char $ac_func (); below.
65364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65365 <limits.h> exists even on freestanding compilers. */
65367 #ifdef __STDC__
65368 # include <limits.h>
65369 #else
65370 # include <assert.h>
65371 #endif
65373 #undef $ac_func
65375 /* Override any gcc2 internal prototype to avoid an error. */
65376 #ifdef __cplusplus
65377 extern "C"
65379 #endif
65380 /* We use char because int might match the return type of a gcc2
65381 builtin and then its argument prototype would still apply. */
65382 char $ac_func ();
65383 /* The GNU C library defines this for functions which it implements
65384 to always fail with ENOSYS. Some functions are actually named
65385 something starting with __ and the normal name is an alias. */
65386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65387 choke me
65388 #else
65389 char (*f) () = $ac_func;
65390 #endif
65391 #ifdef __cplusplus
65393 #endif
65396 main ()
65398 return f != $ac_func;
65400 return 0;
65402 _ACEOF
65403 rm -f conftest.$ac_objext conftest$ac_exeext
65404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65405 (eval $ac_link) 2>conftest.er1
65406 ac_status=$?
65407 grep -v '^ *+' conftest.er1 >conftest.err
65408 rm -f conftest.er1
65409 cat conftest.err >&5
65410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65411 (exit $ac_status); } &&
65412 { ac_try='test -z "$ac_c_werror_flag"
65413 || test ! -s conftest.err'
65414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65415 (eval $ac_try) 2>&5
65416 ac_status=$?
65417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65418 (exit $ac_status); }; } &&
65419 { ac_try='test -s conftest$ac_exeext'
65420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65421 (eval $ac_try) 2>&5
65422 ac_status=$?
65423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65424 (exit $ac_status); }; }; then
65425 eval "$as_ac_var=yes"
65426 else
65427 echo "$as_me: failed program was:" >&5
65428 sed 's/^/| /' conftest.$ac_ext >&5
65430 eval "$as_ac_var=no"
65432 rm -f conftest.err conftest.$ac_objext \
65433 conftest$ac_exeext conftest.$ac_ext
65435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65437 if test `eval echo '${'$as_ac_var'}'` = yes; then
65438 cat >>confdefs.h <<_ACEOF
65439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65440 _ACEOF
65443 done
65453 echo "$as_me:$LINENO: checking for sincos declaration" >&5
65454 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
65455 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65456 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
65457 echo $ECHO_N "(cached) $ECHO_C" >&6
65458 else
65462 ac_ext=cc
65463 ac_cpp='$CXXCPP $CPPFLAGS'
65464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65468 cat >conftest.$ac_ext <<_ACEOF
65469 /* confdefs.h. */
65470 _ACEOF
65471 cat confdefs.h >>conftest.$ac_ext
65472 cat >>conftest.$ac_ext <<_ACEOF
65473 /* end confdefs.h. */
65474 #include <math.h>
65476 main ()
65478 sincos(0, 0, 0);
65480 return 0;
65482 _ACEOF
65483 rm -f conftest.$ac_objext
65484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65485 (eval $ac_compile) 2>conftest.er1
65486 ac_status=$?
65487 grep -v '^ *+' conftest.er1 >conftest.err
65488 rm -f conftest.er1
65489 cat conftest.err >&5
65490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65491 (exit $ac_status); } &&
65492 { ac_try='test -z "$ac_cxx_werror_flag"
65493 || test ! -s conftest.err'
65494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65495 (eval $ac_try) 2>&5
65496 ac_status=$?
65497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65498 (exit $ac_status); }; } &&
65499 { ac_try='test -s conftest.$ac_objext'
65500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65501 (eval $ac_try) 2>&5
65502 ac_status=$?
65503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65504 (exit $ac_status); }; }; then
65505 glibcxx_cv_func_sincos_use=yes
65506 else
65507 echo "$as_me: failed program was:" >&5
65508 sed 's/^/| /' conftest.$ac_ext >&5
65510 glibcxx_cv_func_sincos_use=no
65512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65513 ac_ext=c
65514 ac_cpp='$CPP $CPPFLAGS'
65515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65523 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
65524 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
65526 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65528 for ac_func in sincos
65530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65531 echo "$as_me:$LINENO: checking for $ac_func" >&5
65532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65533 if eval "test \"\${$as_ac_var+set}\" = set"; then
65534 echo $ECHO_N "(cached) $ECHO_C" >&6
65535 else
65536 if test x$gcc_no_link = xyes; then
65537 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65539 { (exit 1); exit 1; }; }
65541 cat >conftest.$ac_ext <<_ACEOF
65542 /* confdefs.h. */
65543 _ACEOF
65544 cat confdefs.h >>conftest.$ac_ext
65545 cat >>conftest.$ac_ext <<_ACEOF
65546 /* end confdefs.h. */
65547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65549 #define $ac_func innocuous_$ac_func
65551 /* System header to define __stub macros and hopefully few prototypes,
65552 which can conflict with char $ac_func (); below.
65553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65554 <limits.h> exists even on freestanding compilers. */
65556 #ifdef __STDC__
65557 # include <limits.h>
65558 #else
65559 # include <assert.h>
65560 #endif
65562 #undef $ac_func
65564 /* Override any gcc2 internal prototype to avoid an error. */
65565 #ifdef __cplusplus
65566 extern "C"
65568 #endif
65569 /* We use char because int might match the return type of a gcc2
65570 builtin and then its argument prototype would still apply. */
65571 char $ac_func ();
65572 /* The GNU C library defines this for functions which it implements
65573 to always fail with ENOSYS. Some functions are actually named
65574 something starting with __ and the normal name is an alias. */
65575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65576 choke me
65577 #else
65578 char (*f) () = $ac_func;
65579 #endif
65580 #ifdef __cplusplus
65582 #endif
65585 main ()
65587 return f != $ac_func;
65589 return 0;
65591 _ACEOF
65592 rm -f conftest.$ac_objext conftest$ac_exeext
65593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65594 (eval $ac_link) 2>conftest.er1
65595 ac_status=$?
65596 grep -v '^ *+' conftest.er1 >conftest.err
65597 rm -f conftest.er1
65598 cat conftest.err >&5
65599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65600 (exit $ac_status); } &&
65601 { ac_try='test -z "$ac_c_werror_flag"
65602 || test ! -s conftest.err'
65603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65604 (eval $ac_try) 2>&5
65605 ac_status=$?
65606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65607 (exit $ac_status); }; } &&
65608 { ac_try='test -s conftest$ac_exeext'
65609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65610 (eval $ac_try) 2>&5
65611 ac_status=$?
65612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65613 (exit $ac_status); }; }; then
65614 eval "$as_ac_var=yes"
65615 else
65616 echo "$as_me: failed program was:" >&5
65617 sed 's/^/| /' conftest.$ac_ext >&5
65619 eval "$as_ac_var=no"
65621 rm -f conftest.err conftest.$ac_objext \
65622 conftest$ac_exeext conftest.$ac_ext
65624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65626 if test `eval echo '${'$as_ac_var'}'` = yes; then
65627 cat >>confdefs.h <<_ACEOF
65628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65629 _ACEOF
65632 done
65634 else
65636 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
65637 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
65638 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65639 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
65640 echo $ECHO_N "(cached) $ECHO_C" >&6
65641 else
65645 ac_ext=cc
65646 ac_cpp='$CXXCPP $CPPFLAGS'
65647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65651 cat >conftest.$ac_ext <<_ACEOF
65652 /* confdefs.h. */
65653 _ACEOF
65654 cat confdefs.h >>conftest.$ac_ext
65655 cat >>conftest.$ac_ext <<_ACEOF
65656 /* end confdefs.h. */
65657 #include <math.h>
65659 main ()
65661 _sincos(0, 0, 0);
65663 return 0;
65665 _ACEOF
65666 rm -f conftest.$ac_objext
65667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65668 (eval $ac_compile) 2>conftest.er1
65669 ac_status=$?
65670 grep -v '^ *+' conftest.er1 >conftest.err
65671 rm -f conftest.er1
65672 cat conftest.err >&5
65673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65674 (exit $ac_status); } &&
65675 { ac_try='test -z "$ac_cxx_werror_flag"
65676 || test ! -s conftest.err'
65677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65678 (eval $ac_try) 2>&5
65679 ac_status=$?
65680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65681 (exit $ac_status); }; } &&
65682 { ac_try='test -s conftest.$ac_objext'
65683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65684 (eval $ac_try) 2>&5
65685 ac_status=$?
65686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65687 (exit $ac_status); }; }; then
65688 glibcxx_cv_func__sincos_use=yes
65689 else
65690 echo "$as_me: failed program was:" >&5
65691 sed 's/^/| /' conftest.$ac_ext >&5
65693 glibcxx_cv_func__sincos_use=no
65695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65696 ac_ext=c
65697 ac_cpp='$CPP $CPPFLAGS'
65698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65706 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
65707 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
65709 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65711 for ac_func in _sincos
65713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65714 echo "$as_me:$LINENO: checking for $ac_func" >&5
65715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65716 if eval "test \"\${$as_ac_var+set}\" = set"; then
65717 echo $ECHO_N "(cached) $ECHO_C" >&6
65718 else
65719 if test x$gcc_no_link = xyes; then
65720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65722 { (exit 1); exit 1; }; }
65724 cat >conftest.$ac_ext <<_ACEOF
65725 /* confdefs.h. */
65726 _ACEOF
65727 cat confdefs.h >>conftest.$ac_ext
65728 cat >>conftest.$ac_ext <<_ACEOF
65729 /* end confdefs.h. */
65730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65732 #define $ac_func innocuous_$ac_func
65734 /* System header to define __stub macros and hopefully few prototypes,
65735 which can conflict with char $ac_func (); below.
65736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65737 <limits.h> exists even on freestanding compilers. */
65739 #ifdef __STDC__
65740 # include <limits.h>
65741 #else
65742 # include <assert.h>
65743 #endif
65745 #undef $ac_func
65747 /* Override any gcc2 internal prototype to avoid an error. */
65748 #ifdef __cplusplus
65749 extern "C"
65751 #endif
65752 /* We use char because int might match the return type of a gcc2
65753 builtin and then its argument prototype would still apply. */
65754 char $ac_func ();
65755 /* The GNU C library defines this for functions which it implements
65756 to always fail with ENOSYS. Some functions are actually named
65757 something starting with __ and the normal name is an alias. */
65758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65759 choke me
65760 #else
65761 char (*f) () = $ac_func;
65762 #endif
65763 #ifdef __cplusplus
65765 #endif
65768 main ()
65770 return f != $ac_func;
65772 return 0;
65774 _ACEOF
65775 rm -f conftest.$ac_objext conftest$ac_exeext
65776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65777 (eval $ac_link) 2>conftest.er1
65778 ac_status=$?
65779 grep -v '^ *+' conftest.er1 >conftest.err
65780 rm -f conftest.er1
65781 cat conftest.err >&5
65782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65783 (exit $ac_status); } &&
65784 { ac_try='test -z "$ac_c_werror_flag"
65785 || test ! -s conftest.err'
65786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65787 (eval $ac_try) 2>&5
65788 ac_status=$?
65789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65790 (exit $ac_status); }; } &&
65791 { ac_try='test -s conftest$ac_exeext'
65792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65793 (eval $ac_try) 2>&5
65794 ac_status=$?
65795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65796 (exit $ac_status); }; }; then
65797 eval "$as_ac_var=yes"
65798 else
65799 echo "$as_me: failed program was:" >&5
65800 sed 's/^/| /' conftest.$ac_ext >&5
65802 eval "$as_ac_var=no"
65804 rm -f conftest.err conftest.$ac_objext \
65805 conftest$ac_exeext conftest.$ac_ext
65807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65809 if test `eval echo '${'$as_ac_var'}'` = yes; then
65810 cat >>confdefs.h <<_ACEOF
65811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65812 _ACEOF
65815 done
65825 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
65826 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
65827 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65828 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
65829 echo $ECHO_N "(cached) $ECHO_C" >&6
65830 else
65834 ac_ext=cc
65835 ac_cpp='$CXXCPP $CPPFLAGS'
65836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65840 cat >conftest.$ac_ext <<_ACEOF
65841 /* confdefs.h. */
65842 _ACEOF
65843 cat confdefs.h >>conftest.$ac_ext
65844 cat >>conftest.$ac_ext <<_ACEOF
65845 /* end confdefs.h. */
65846 #include <math.h>
65847 #ifdef HAVE_IEEEFP_H
65848 #include <ieeefp.h>
65849 #endif
65852 main ()
65854 fpclass(0);
65856 return 0;
65858 _ACEOF
65859 rm -f conftest.$ac_objext
65860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65861 (eval $ac_compile) 2>conftest.er1
65862 ac_status=$?
65863 grep -v '^ *+' conftest.er1 >conftest.err
65864 rm -f conftest.er1
65865 cat conftest.err >&5
65866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65867 (exit $ac_status); } &&
65868 { ac_try='test -z "$ac_cxx_werror_flag"
65869 || test ! -s conftest.err'
65870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65871 (eval $ac_try) 2>&5
65872 ac_status=$?
65873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65874 (exit $ac_status); }; } &&
65875 { ac_try='test -s conftest.$ac_objext'
65876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65877 (eval $ac_try) 2>&5
65878 ac_status=$?
65879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65880 (exit $ac_status); }; }; then
65881 glibcxx_cv_func_fpclass_use=yes
65882 else
65883 echo "$as_me: failed program was:" >&5
65884 sed 's/^/| /' conftest.$ac_ext >&5
65886 glibcxx_cv_func_fpclass_use=no
65888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65889 ac_ext=c
65890 ac_cpp='$CPP $CPPFLAGS'
65891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65899 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
65900 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
65902 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65904 for ac_func in fpclass
65906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65907 echo "$as_me:$LINENO: checking for $ac_func" >&5
65908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65909 if eval "test \"\${$as_ac_var+set}\" = set"; then
65910 echo $ECHO_N "(cached) $ECHO_C" >&6
65911 else
65912 if test x$gcc_no_link = xyes; then
65913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65915 { (exit 1); exit 1; }; }
65917 cat >conftest.$ac_ext <<_ACEOF
65918 /* confdefs.h. */
65919 _ACEOF
65920 cat confdefs.h >>conftest.$ac_ext
65921 cat >>conftest.$ac_ext <<_ACEOF
65922 /* end confdefs.h. */
65923 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65925 #define $ac_func innocuous_$ac_func
65927 /* System header to define __stub macros and hopefully few prototypes,
65928 which can conflict with char $ac_func (); below.
65929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65930 <limits.h> exists even on freestanding compilers. */
65932 #ifdef __STDC__
65933 # include <limits.h>
65934 #else
65935 # include <assert.h>
65936 #endif
65938 #undef $ac_func
65940 /* Override any gcc2 internal prototype to avoid an error. */
65941 #ifdef __cplusplus
65942 extern "C"
65944 #endif
65945 /* We use char because int might match the return type of a gcc2
65946 builtin and then its argument prototype would still apply. */
65947 char $ac_func ();
65948 /* The GNU C library defines this for functions which it implements
65949 to always fail with ENOSYS. Some functions are actually named
65950 something starting with __ and the normal name is an alias. */
65951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65952 choke me
65953 #else
65954 char (*f) () = $ac_func;
65955 #endif
65956 #ifdef __cplusplus
65958 #endif
65961 main ()
65963 return f != $ac_func;
65965 return 0;
65967 _ACEOF
65968 rm -f conftest.$ac_objext conftest$ac_exeext
65969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65970 (eval $ac_link) 2>conftest.er1
65971 ac_status=$?
65972 grep -v '^ *+' conftest.er1 >conftest.err
65973 rm -f conftest.er1
65974 cat conftest.err >&5
65975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65976 (exit $ac_status); } &&
65977 { ac_try='test -z "$ac_c_werror_flag"
65978 || test ! -s conftest.err'
65979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65980 (eval $ac_try) 2>&5
65981 ac_status=$?
65982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65983 (exit $ac_status); }; } &&
65984 { ac_try='test -s conftest$ac_exeext'
65985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65986 (eval $ac_try) 2>&5
65987 ac_status=$?
65988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65989 (exit $ac_status); }; }; then
65990 eval "$as_ac_var=yes"
65991 else
65992 echo "$as_me: failed program was:" >&5
65993 sed 's/^/| /' conftest.$ac_ext >&5
65995 eval "$as_ac_var=no"
65997 rm -f conftest.err conftest.$ac_objext \
65998 conftest$ac_exeext conftest.$ac_ext
66000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66002 if test `eval echo '${'$as_ac_var'}'` = yes; then
66003 cat >>confdefs.h <<_ACEOF
66004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66005 _ACEOF
66008 done
66010 else
66012 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
66013 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
66014 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66015 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
66016 echo $ECHO_N "(cached) $ECHO_C" >&6
66017 else
66021 ac_ext=cc
66022 ac_cpp='$CXXCPP $CPPFLAGS'
66023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66027 cat >conftest.$ac_ext <<_ACEOF
66028 /* confdefs.h. */
66029 _ACEOF
66030 cat confdefs.h >>conftest.$ac_ext
66031 cat >>conftest.$ac_ext <<_ACEOF
66032 /* end confdefs.h. */
66033 #include <math.h>
66034 #ifdef HAVE_IEEEFP_H
66035 #include <ieeefp.h>
66036 #endif
66039 main ()
66041 _fpclass(0);
66043 return 0;
66045 _ACEOF
66046 rm -f conftest.$ac_objext
66047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66048 (eval $ac_compile) 2>conftest.er1
66049 ac_status=$?
66050 grep -v '^ *+' conftest.er1 >conftest.err
66051 rm -f conftest.er1
66052 cat conftest.err >&5
66053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66054 (exit $ac_status); } &&
66055 { ac_try='test -z "$ac_cxx_werror_flag"
66056 || test ! -s conftest.err'
66057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66058 (eval $ac_try) 2>&5
66059 ac_status=$?
66060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66061 (exit $ac_status); }; } &&
66062 { ac_try='test -s conftest.$ac_objext'
66063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66064 (eval $ac_try) 2>&5
66065 ac_status=$?
66066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66067 (exit $ac_status); }; }; then
66068 glibcxx_cv_func__fpclass_use=yes
66069 else
66070 echo "$as_me: failed program was:" >&5
66071 sed 's/^/| /' conftest.$ac_ext >&5
66073 glibcxx_cv_func__fpclass_use=no
66075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66076 ac_ext=c
66077 ac_cpp='$CPP $CPPFLAGS'
66078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66086 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
66087 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
66089 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66091 for ac_func in _fpclass
66093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66094 echo "$as_me:$LINENO: checking for $ac_func" >&5
66095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66096 if eval "test \"\${$as_ac_var+set}\" = set"; then
66097 echo $ECHO_N "(cached) $ECHO_C" >&6
66098 else
66099 if test x$gcc_no_link = xyes; then
66100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66102 { (exit 1); exit 1; }; }
66104 cat >conftest.$ac_ext <<_ACEOF
66105 /* confdefs.h. */
66106 _ACEOF
66107 cat confdefs.h >>conftest.$ac_ext
66108 cat >>conftest.$ac_ext <<_ACEOF
66109 /* end confdefs.h. */
66110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66112 #define $ac_func innocuous_$ac_func
66114 /* System header to define __stub macros and hopefully few prototypes,
66115 which can conflict with char $ac_func (); below.
66116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66117 <limits.h> exists even on freestanding compilers. */
66119 #ifdef __STDC__
66120 # include <limits.h>
66121 #else
66122 # include <assert.h>
66123 #endif
66125 #undef $ac_func
66127 /* Override any gcc2 internal prototype to avoid an error. */
66128 #ifdef __cplusplus
66129 extern "C"
66131 #endif
66132 /* We use char because int might match the return type of a gcc2
66133 builtin and then its argument prototype would still apply. */
66134 char $ac_func ();
66135 /* The GNU C library defines this for functions which it implements
66136 to always fail with ENOSYS. Some functions are actually named
66137 something starting with __ and the normal name is an alias. */
66138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66139 choke me
66140 #else
66141 char (*f) () = $ac_func;
66142 #endif
66143 #ifdef __cplusplus
66145 #endif
66148 main ()
66150 return f != $ac_func;
66152 return 0;
66154 _ACEOF
66155 rm -f conftest.$ac_objext conftest$ac_exeext
66156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66157 (eval $ac_link) 2>conftest.er1
66158 ac_status=$?
66159 grep -v '^ *+' conftest.er1 >conftest.err
66160 rm -f conftest.er1
66161 cat conftest.err >&5
66162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66163 (exit $ac_status); } &&
66164 { ac_try='test -z "$ac_c_werror_flag"
66165 || test ! -s conftest.err'
66166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66167 (eval $ac_try) 2>&5
66168 ac_status=$?
66169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66170 (exit $ac_status); }; } &&
66171 { ac_try='test -s conftest$ac_exeext'
66172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66173 (eval $ac_try) 2>&5
66174 ac_status=$?
66175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66176 (exit $ac_status); }; }; then
66177 eval "$as_ac_var=yes"
66178 else
66179 echo "$as_me: failed program was:" >&5
66180 sed 's/^/| /' conftest.$ac_ext >&5
66182 eval "$as_ac_var=no"
66184 rm -f conftest.err conftest.$ac_objext \
66185 conftest$ac_exeext conftest.$ac_ext
66187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66189 if test `eval echo '${'$as_ac_var'}'` = yes; then
66190 cat >>confdefs.h <<_ACEOF
66191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66192 _ACEOF
66195 done
66205 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
66206 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
66207 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66208 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
66209 echo $ECHO_N "(cached) $ECHO_C" >&6
66210 else
66214 ac_ext=cc
66215 ac_cpp='$CXXCPP $CPPFLAGS'
66216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66220 cat >conftest.$ac_ext <<_ACEOF
66221 /* confdefs.h. */
66222 _ACEOF
66223 cat confdefs.h >>conftest.$ac_ext
66224 cat >>conftest.$ac_ext <<_ACEOF
66225 /* end confdefs.h. */
66226 #include <math.h>
66227 #ifdef HAVE_IEEEFP_H
66228 #include <ieeefp.h>
66229 #endif
66232 main ()
66234 qfpclass(0);
66236 return 0;
66238 _ACEOF
66239 rm -f conftest.$ac_objext
66240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66241 (eval $ac_compile) 2>conftest.er1
66242 ac_status=$?
66243 grep -v '^ *+' conftest.er1 >conftest.err
66244 rm -f conftest.er1
66245 cat conftest.err >&5
66246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66247 (exit $ac_status); } &&
66248 { ac_try='test -z "$ac_cxx_werror_flag"
66249 || test ! -s conftest.err'
66250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66251 (eval $ac_try) 2>&5
66252 ac_status=$?
66253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66254 (exit $ac_status); }; } &&
66255 { ac_try='test -s conftest.$ac_objext'
66256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66257 (eval $ac_try) 2>&5
66258 ac_status=$?
66259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66260 (exit $ac_status); }; }; then
66261 glibcxx_cv_func_qfpclass_use=yes
66262 else
66263 echo "$as_me: failed program was:" >&5
66264 sed 's/^/| /' conftest.$ac_ext >&5
66266 glibcxx_cv_func_qfpclass_use=no
66268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66269 ac_ext=c
66270 ac_cpp='$CPP $CPPFLAGS'
66271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66279 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
66280 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
66282 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66284 for ac_func in qfpclass
66286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66287 echo "$as_me:$LINENO: checking for $ac_func" >&5
66288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66289 if eval "test \"\${$as_ac_var+set}\" = set"; then
66290 echo $ECHO_N "(cached) $ECHO_C" >&6
66291 else
66292 if test x$gcc_no_link = xyes; then
66293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66295 { (exit 1); exit 1; }; }
66297 cat >conftest.$ac_ext <<_ACEOF
66298 /* confdefs.h. */
66299 _ACEOF
66300 cat confdefs.h >>conftest.$ac_ext
66301 cat >>conftest.$ac_ext <<_ACEOF
66302 /* end confdefs.h. */
66303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66305 #define $ac_func innocuous_$ac_func
66307 /* System header to define __stub macros and hopefully few prototypes,
66308 which can conflict with char $ac_func (); below.
66309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66310 <limits.h> exists even on freestanding compilers. */
66312 #ifdef __STDC__
66313 # include <limits.h>
66314 #else
66315 # include <assert.h>
66316 #endif
66318 #undef $ac_func
66320 /* Override any gcc2 internal prototype to avoid an error. */
66321 #ifdef __cplusplus
66322 extern "C"
66324 #endif
66325 /* We use char because int might match the return type of a gcc2
66326 builtin and then its argument prototype would still apply. */
66327 char $ac_func ();
66328 /* The GNU C library defines this for functions which it implements
66329 to always fail with ENOSYS. Some functions are actually named
66330 something starting with __ and the normal name is an alias. */
66331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66332 choke me
66333 #else
66334 char (*f) () = $ac_func;
66335 #endif
66336 #ifdef __cplusplus
66338 #endif
66341 main ()
66343 return f != $ac_func;
66345 return 0;
66347 _ACEOF
66348 rm -f conftest.$ac_objext conftest$ac_exeext
66349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66350 (eval $ac_link) 2>conftest.er1
66351 ac_status=$?
66352 grep -v '^ *+' conftest.er1 >conftest.err
66353 rm -f conftest.er1
66354 cat conftest.err >&5
66355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66356 (exit $ac_status); } &&
66357 { ac_try='test -z "$ac_c_werror_flag"
66358 || test ! -s conftest.err'
66359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66360 (eval $ac_try) 2>&5
66361 ac_status=$?
66362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66363 (exit $ac_status); }; } &&
66364 { ac_try='test -s conftest$ac_exeext'
66365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66366 (eval $ac_try) 2>&5
66367 ac_status=$?
66368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66369 (exit $ac_status); }; }; then
66370 eval "$as_ac_var=yes"
66371 else
66372 echo "$as_me: failed program was:" >&5
66373 sed 's/^/| /' conftest.$ac_ext >&5
66375 eval "$as_ac_var=no"
66377 rm -f conftest.err conftest.$ac_objext \
66378 conftest$ac_exeext conftest.$ac_ext
66380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66382 if test `eval echo '${'$as_ac_var'}'` = yes; then
66383 cat >>confdefs.h <<_ACEOF
66384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66385 _ACEOF
66388 done
66390 else
66392 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
66393 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
66394 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66395 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
66396 echo $ECHO_N "(cached) $ECHO_C" >&6
66397 else
66401 ac_ext=cc
66402 ac_cpp='$CXXCPP $CPPFLAGS'
66403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66407 cat >conftest.$ac_ext <<_ACEOF
66408 /* confdefs.h. */
66409 _ACEOF
66410 cat confdefs.h >>conftest.$ac_ext
66411 cat >>conftest.$ac_ext <<_ACEOF
66412 /* end confdefs.h. */
66413 #include <math.h>
66414 #ifdef HAVE_IEEEFP_H
66415 #include <ieeefp.h>
66416 #endif
66419 main ()
66421 _qfpclass(0);
66423 return 0;
66425 _ACEOF
66426 rm -f conftest.$ac_objext
66427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66428 (eval $ac_compile) 2>conftest.er1
66429 ac_status=$?
66430 grep -v '^ *+' conftest.er1 >conftest.err
66431 rm -f conftest.er1
66432 cat conftest.err >&5
66433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66434 (exit $ac_status); } &&
66435 { ac_try='test -z "$ac_cxx_werror_flag"
66436 || test ! -s conftest.err'
66437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66438 (eval $ac_try) 2>&5
66439 ac_status=$?
66440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66441 (exit $ac_status); }; } &&
66442 { ac_try='test -s conftest.$ac_objext'
66443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66444 (eval $ac_try) 2>&5
66445 ac_status=$?
66446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66447 (exit $ac_status); }; }; then
66448 glibcxx_cv_func__qfpclass_use=yes
66449 else
66450 echo "$as_me: failed program was:" >&5
66451 sed 's/^/| /' conftest.$ac_ext >&5
66453 glibcxx_cv_func__qfpclass_use=no
66455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66456 ac_ext=c
66457 ac_cpp='$CPP $CPPFLAGS'
66458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66466 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
66467 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
66469 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66471 for ac_func in _qfpclass
66473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66474 echo "$as_me:$LINENO: checking for $ac_func" >&5
66475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66476 if eval "test \"\${$as_ac_var+set}\" = set"; then
66477 echo $ECHO_N "(cached) $ECHO_C" >&6
66478 else
66479 if test x$gcc_no_link = xyes; then
66480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66482 { (exit 1); exit 1; }; }
66484 cat >conftest.$ac_ext <<_ACEOF
66485 /* confdefs.h. */
66486 _ACEOF
66487 cat confdefs.h >>conftest.$ac_ext
66488 cat >>conftest.$ac_ext <<_ACEOF
66489 /* end confdefs.h. */
66490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66492 #define $ac_func innocuous_$ac_func
66494 /* System header to define __stub macros and hopefully few prototypes,
66495 which can conflict with char $ac_func (); below.
66496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66497 <limits.h> exists even on freestanding compilers. */
66499 #ifdef __STDC__
66500 # include <limits.h>
66501 #else
66502 # include <assert.h>
66503 #endif
66505 #undef $ac_func
66507 /* Override any gcc2 internal prototype to avoid an error. */
66508 #ifdef __cplusplus
66509 extern "C"
66511 #endif
66512 /* We use char because int might match the return type of a gcc2
66513 builtin and then its argument prototype would still apply. */
66514 char $ac_func ();
66515 /* The GNU C library defines this for functions which it implements
66516 to always fail with ENOSYS. Some functions are actually named
66517 something starting with __ and the normal name is an alias. */
66518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66519 choke me
66520 #else
66521 char (*f) () = $ac_func;
66522 #endif
66523 #ifdef __cplusplus
66525 #endif
66528 main ()
66530 return f != $ac_func;
66532 return 0;
66534 _ACEOF
66535 rm -f conftest.$ac_objext conftest$ac_exeext
66536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66537 (eval $ac_link) 2>conftest.er1
66538 ac_status=$?
66539 grep -v '^ *+' conftest.er1 >conftest.err
66540 rm -f conftest.er1
66541 cat conftest.err >&5
66542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66543 (exit $ac_status); } &&
66544 { ac_try='test -z "$ac_c_werror_flag"
66545 || test ! -s conftest.err'
66546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66547 (eval $ac_try) 2>&5
66548 ac_status=$?
66549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66550 (exit $ac_status); }; } &&
66551 { ac_try='test -s conftest$ac_exeext'
66552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66553 (eval $ac_try) 2>&5
66554 ac_status=$?
66555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66556 (exit $ac_status); }; }; then
66557 eval "$as_ac_var=yes"
66558 else
66559 echo "$as_me: failed program was:" >&5
66560 sed 's/^/| /' conftest.$ac_ext >&5
66562 eval "$as_ac_var=no"
66564 rm -f conftest.err conftest.$ac_objext \
66565 conftest$ac_exeext conftest.$ac_ext
66567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66569 if test `eval echo '${'$as_ac_var'}'` = yes; then
66570 cat >>confdefs.h <<_ACEOF
66571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66572 _ACEOF
66575 done
66585 echo "$as_me:$LINENO: checking for hypot declaration" >&5
66586 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
66587 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66588 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
66589 echo $ECHO_N "(cached) $ECHO_C" >&6
66590 else
66594 ac_ext=cc
66595 ac_cpp='$CXXCPP $CPPFLAGS'
66596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66600 cat >conftest.$ac_ext <<_ACEOF
66601 /* confdefs.h. */
66602 _ACEOF
66603 cat confdefs.h >>conftest.$ac_ext
66604 cat >>conftest.$ac_ext <<_ACEOF
66605 /* end confdefs.h. */
66606 #include <math.h>
66608 main ()
66610 hypot(0, 0);
66612 return 0;
66614 _ACEOF
66615 rm -f conftest.$ac_objext
66616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66617 (eval $ac_compile) 2>conftest.er1
66618 ac_status=$?
66619 grep -v '^ *+' conftest.er1 >conftest.err
66620 rm -f conftest.er1
66621 cat conftest.err >&5
66622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66623 (exit $ac_status); } &&
66624 { ac_try='test -z "$ac_cxx_werror_flag"
66625 || test ! -s conftest.err'
66626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66627 (eval $ac_try) 2>&5
66628 ac_status=$?
66629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66630 (exit $ac_status); }; } &&
66631 { ac_try='test -s conftest.$ac_objext'
66632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66633 (eval $ac_try) 2>&5
66634 ac_status=$?
66635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66636 (exit $ac_status); }; }; then
66637 glibcxx_cv_func_hypot_use=yes
66638 else
66639 echo "$as_me: failed program was:" >&5
66640 sed 's/^/| /' conftest.$ac_ext >&5
66642 glibcxx_cv_func_hypot_use=no
66644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66645 ac_ext=c
66646 ac_cpp='$CPP $CPPFLAGS'
66647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66655 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
66656 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
66658 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66660 for ac_func in hypot
66662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66663 echo "$as_me:$LINENO: checking for $ac_func" >&5
66664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66665 if eval "test \"\${$as_ac_var+set}\" = set"; then
66666 echo $ECHO_N "(cached) $ECHO_C" >&6
66667 else
66668 if test x$gcc_no_link = xyes; then
66669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66671 { (exit 1); exit 1; }; }
66673 cat >conftest.$ac_ext <<_ACEOF
66674 /* confdefs.h. */
66675 _ACEOF
66676 cat confdefs.h >>conftest.$ac_ext
66677 cat >>conftest.$ac_ext <<_ACEOF
66678 /* end confdefs.h. */
66679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66681 #define $ac_func innocuous_$ac_func
66683 /* System header to define __stub macros and hopefully few prototypes,
66684 which can conflict with char $ac_func (); below.
66685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66686 <limits.h> exists even on freestanding compilers. */
66688 #ifdef __STDC__
66689 # include <limits.h>
66690 #else
66691 # include <assert.h>
66692 #endif
66694 #undef $ac_func
66696 /* Override any gcc2 internal prototype to avoid an error. */
66697 #ifdef __cplusplus
66698 extern "C"
66700 #endif
66701 /* We use char because int might match the return type of a gcc2
66702 builtin and then its argument prototype would still apply. */
66703 char $ac_func ();
66704 /* The GNU C library defines this for functions which it implements
66705 to always fail with ENOSYS. Some functions are actually named
66706 something starting with __ and the normal name is an alias. */
66707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66708 choke me
66709 #else
66710 char (*f) () = $ac_func;
66711 #endif
66712 #ifdef __cplusplus
66714 #endif
66717 main ()
66719 return f != $ac_func;
66721 return 0;
66723 _ACEOF
66724 rm -f conftest.$ac_objext conftest$ac_exeext
66725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66726 (eval $ac_link) 2>conftest.er1
66727 ac_status=$?
66728 grep -v '^ *+' conftest.er1 >conftest.err
66729 rm -f conftest.er1
66730 cat conftest.err >&5
66731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66732 (exit $ac_status); } &&
66733 { ac_try='test -z "$ac_c_werror_flag"
66734 || test ! -s conftest.err'
66735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66736 (eval $ac_try) 2>&5
66737 ac_status=$?
66738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66739 (exit $ac_status); }; } &&
66740 { ac_try='test -s conftest$ac_exeext'
66741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66742 (eval $ac_try) 2>&5
66743 ac_status=$?
66744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66745 (exit $ac_status); }; }; then
66746 eval "$as_ac_var=yes"
66747 else
66748 echo "$as_me: failed program was:" >&5
66749 sed 's/^/| /' conftest.$ac_ext >&5
66751 eval "$as_ac_var=no"
66753 rm -f conftest.err conftest.$ac_objext \
66754 conftest$ac_exeext conftest.$ac_ext
66756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66758 if test `eval echo '${'$as_ac_var'}'` = yes; then
66759 cat >>confdefs.h <<_ACEOF
66760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66761 _ACEOF
66764 done
66766 else
66768 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
66769 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
66770 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66771 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
66772 echo $ECHO_N "(cached) $ECHO_C" >&6
66773 else
66777 ac_ext=cc
66778 ac_cpp='$CXXCPP $CPPFLAGS'
66779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66783 cat >conftest.$ac_ext <<_ACEOF
66784 /* confdefs.h. */
66785 _ACEOF
66786 cat confdefs.h >>conftest.$ac_ext
66787 cat >>conftest.$ac_ext <<_ACEOF
66788 /* end confdefs.h. */
66789 #include <math.h>
66791 main ()
66793 _hypot(0, 0);
66795 return 0;
66797 _ACEOF
66798 rm -f conftest.$ac_objext
66799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66800 (eval $ac_compile) 2>conftest.er1
66801 ac_status=$?
66802 grep -v '^ *+' conftest.er1 >conftest.err
66803 rm -f conftest.er1
66804 cat conftest.err >&5
66805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66806 (exit $ac_status); } &&
66807 { ac_try='test -z "$ac_cxx_werror_flag"
66808 || test ! -s conftest.err'
66809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66810 (eval $ac_try) 2>&5
66811 ac_status=$?
66812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66813 (exit $ac_status); }; } &&
66814 { ac_try='test -s conftest.$ac_objext'
66815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66816 (eval $ac_try) 2>&5
66817 ac_status=$?
66818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66819 (exit $ac_status); }; }; then
66820 glibcxx_cv_func__hypot_use=yes
66821 else
66822 echo "$as_me: failed program was:" >&5
66823 sed 's/^/| /' conftest.$ac_ext >&5
66825 glibcxx_cv_func__hypot_use=no
66827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66828 ac_ext=c
66829 ac_cpp='$CPP $CPPFLAGS'
66830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66838 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
66839 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
66841 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66843 for ac_func in _hypot
66845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66846 echo "$as_me:$LINENO: checking for $ac_func" >&5
66847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66848 if eval "test \"\${$as_ac_var+set}\" = set"; then
66849 echo $ECHO_N "(cached) $ECHO_C" >&6
66850 else
66851 if test x$gcc_no_link = xyes; then
66852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66854 { (exit 1); exit 1; }; }
66856 cat >conftest.$ac_ext <<_ACEOF
66857 /* confdefs.h. */
66858 _ACEOF
66859 cat confdefs.h >>conftest.$ac_ext
66860 cat >>conftest.$ac_ext <<_ACEOF
66861 /* end confdefs.h. */
66862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66864 #define $ac_func innocuous_$ac_func
66866 /* System header to define __stub macros and hopefully few prototypes,
66867 which can conflict with char $ac_func (); below.
66868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66869 <limits.h> exists even on freestanding compilers. */
66871 #ifdef __STDC__
66872 # include <limits.h>
66873 #else
66874 # include <assert.h>
66875 #endif
66877 #undef $ac_func
66879 /* Override any gcc2 internal prototype to avoid an error. */
66880 #ifdef __cplusplus
66881 extern "C"
66883 #endif
66884 /* We use char because int might match the return type of a gcc2
66885 builtin and then its argument prototype would still apply. */
66886 char $ac_func ();
66887 /* The GNU C library defines this for functions which it implements
66888 to always fail with ENOSYS. Some functions are actually named
66889 something starting with __ and the normal name is an alias. */
66890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66891 choke me
66892 #else
66893 char (*f) () = $ac_func;
66894 #endif
66895 #ifdef __cplusplus
66897 #endif
66900 main ()
66902 return f != $ac_func;
66904 return 0;
66906 _ACEOF
66907 rm -f conftest.$ac_objext conftest$ac_exeext
66908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66909 (eval $ac_link) 2>conftest.er1
66910 ac_status=$?
66911 grep -v '^ *+' conftest.er1 >conftest.err
66912 rm -f conftest.er1
66913 cat conftest.err >&5
66914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66915 (exit $ac_status); } &&
66916 { ac_try='test -z "$ac_c_werror_flag"
66917 || test ! -s conftest.err'
66918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66919 (eval $ac_try) 2>&5
66920 ac_status=$?
66921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66922 (exit $ac_status); }; } &&
66923 { ac_try='test -s conftest$ac_exeext'
66924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66925 (eval $ac_try) 2>&5
66926 ac_status=$?
66927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66928 (exit $ac_status); }; }; then
66929 eval "$as_ac_var=yes"
66930 else
66931 echo "$as_me: failed program was:" >&5
66932 sed 's/^/| /' conftest.$ac_ext >&5
66934 eval "$as_ac_var=no"
66936 rm -f conftest.err conftest.$ac_objext \
66937 conftest$ac_exeext conftest.$ac_ext
66939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66941 if test `eval echo '${'$as_ac_var'}'` = yes; then
66942 cat >>confdefs.h <<_ACEOF
66943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66944 _ACEOF
66947 done
66957 echo "$as_me:$LINENO: checking for float trig functions" >&5
66958 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
66959 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
66960 echo $ECHO_N "(cached) $ECHO_C" >&6
66961 else
66965 ac_ext=cc
66966 ac_cpp='$CXXCPP $CPPFLAGS'
66967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66971 cat >conftest.$ac_ext <<_ACEOF
66972 /* confdefs.h. */
66973 _ACEOF
66974 cat confdefs.h >>conftest.$ac_ext
66975 cat >>conftest.$ac_ext <<_ACEOF
66976 /* end confdefs.h. */
66977 #include <math.h>
66979 main ()
66981 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66983 return 0;
66985 _ACEOF
66986 rm -f conftest.$ac_objext
66987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66988 (eval $ac_compile) 2>conftest.er1
66989 ac_status=$?
66990 grep -v '^ *+' conftest.er1 >conftest.err
66991 rm -f conftest.er1
66992 cat conftest.err >&5
66993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66994 (exit $ac_status); } &&
66995 { ac_try='test -z "$ac_cxx_werror_flag"
66996 || test ! -s conftest.err'
66997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66998 (eval $ac_try) 2>&5
66999 ac_status=$?
67000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67001 (exit $ac_status); }; } &&
67002 { ac_try='test -s conftest.$ac_objext'
67003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67004 (eval $ac_try) 2>&5
67005 ac_status=$?
67006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67007 (exit $ac_status); }; }; then
67008 glibcxx_cv_func_float_trig_use=yes
67009 else
67010 echo "$as_me: failed program was:" >&5
67011 sed 's/^/| /' conftest.$ac_ext >&5
67013 glibcxx_cv_func_float_trig_use=no
67015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67016 ac_ext=c
67017 ac_cpp='$CPP $CPPFLAGS'
67018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67024 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
67025 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
67026 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67036 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67039 echo "$as_me:$LINENO: checking for $ac_func" >&5
67040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67041 if eval "test \"\${$as_ac_var+set}\" = set"; then
67042 echo $ECHO_N "(cached) $ECHO_C" >&6
67043 else
67044 if test x$gcc_no_link = xyes; then
67045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67047 { (exit 1); exit 1; }; }
67049 cat >conftest.$ac_ext <<_ACEOF
67050 /* confdefs.h. */
67051 _ACEOF
67052 cat confdefs.h >>conftest.$ac_ext
67053 cat >>conftest.$ac_ext <<_ACEOF
67054 /* end confdefs.h. */
67055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67057 #define $ac_func innocuous_$ac_func
67059 /* System header to define __stub macros and hopefully few prototypes,
67060 which can conflict with char $ac_func (); below.
67061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67062 <limits.h> exists even on freestanding compilers. */
67064 #ifdef __STDC__
67065 # include <limits.h>
67066 #else
67067 # include <assert.h>
67068 #endif
67070 #undef $ac_func
67072 /* Override any gcc2 internal prototype to avoid an error. */
67073 #ifdef __cplusplus
67074 extern "C"
67076 #endif
67077 /* We use char because int might match the return type of a gcc2
67078 builtin and then its argument prototype would still apply. */
67079 char $ac_func ();
67080 /* The GNU C library defines this for functions which it implements
67081 to always fail with ENOSYS. Some functions are actually named
67082 something starting with __ and the normal name is an alias. */
67083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67084 choke me
67085 #else
67086 char (*f) () = $ac_func;
67087 #endif
67088 #ifdef __cplusplus
67090 #endif
67093 main ()
67095 return f != $ac_func;
67097 return 0;
67099 _ACEOF
67100 rm -f conftest.$ac_objext conftest$ac_exeext
67101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67102 (eval $ac_link) 2>conftest.er1
67103 ac_status=$?
67104 grep -v '^ *+' conftest.er1 >conftest.err
67105 rm -f conftest.er1
67106 cat conftest.err >&5
67107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67108 (exit $ac_status); } &&
67109 { ac_try='test -z "$ac_c_werror_flag"
67110 || test ! -s conftest.err'
67111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67112 (eval $ac_try) 2>&5
67113 ac_status=$?
67114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67115 (exit $ac_status); }; } &&
67116 { ac_try='test -s conftest$ac_exeext'
67117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67118 (eval $ac_try) 2>&5
67119 ac_status=$?
67120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67121 (exit $ac_status); }; }; then
67122 eval "$as_ac_var=yes"
67123 else
67124 echo "$as_me: failed program was:" >&5
67125 sed 's/^/| /' conftest.$ac_ext >&5
67127 eval "$as_ac_var=no"
67129 rm -f conftest.err conftest.$ac_objext \
67130 conftest$ac_exeext conftest.$ac_ext
67132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67134 if test `eval echo '${'$as_ac_var'}'` = yes; then
67135 cat >>confdefs.h <<_ACEOF
67136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67137 _ACEOF
67140 done
67142 else
67143 echo "$as_me:$LINENO: checking for _float trig functions" >&5
67144 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
67145 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
67146 echo $ECHO_N "(cached) $ECHO_C" >&6
67147 else
67151 ac_ext=cc
67152 ac_cpp='$CXXCPP $CPPFLAGS'
67153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67157 cat >conftest.$ac_ext <<_ACEOF
67158 /* confdefs.h. */
67159 _ACEOF
67160 cat confdefs.h >>conftest.$ac_ext
67161 cat >>conftest.$ac_ext <<_ACEOF
67162 /* end confdefs.h. */
67163 #include <math.h>
67165 main ()
67167 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67169 return 0;
67171 _ACEOF
67172 rm -f conftest.$ac_objext
67173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67174 (eval $ac_compile) 2>conftest.er1
67175 ac_status=$?
67176 grep -v '^ *+' conftest.er1 >conftest.err
67177 rm -f conftest.er1
67178 cat conftest.err >&5
67179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67180 (exit $ac_status); } &&
67181 { ac_try='test -z "$ac_cxx_werror_flag"
67182 || test ! -s conftest.err'
67183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67184 (eval $ac_try) 2>&5
67185 ac_status=$?
67186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67187 (exit $ac_status); }; } &&
67188 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
67194 glibcxx_cv_func__float_trig_use=yes
67195 else
67196 echo "$as_me: failed program was:" >&5
67197 sed 's/^/| /' conftest.$ac_ext >&5
67199 glibcxx_cv_func__float_trig_use=no
67201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67202 ac_ext=c
67203 ac_cpp='$CPP $CPPFLAGS'
67204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67210 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
67211 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
67212 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67222 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67225 echo "$as_me:$LINENO: checking for $ac_func" >&5
67226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67227 if eval "test \"\${$as_ac_var+set}\" = set"; then
67228 echo $ECHO_N "(cached) $ECHO_C" >&6
67229 else
67230 if test x$gcc_no_link = xyes; then
67231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67233 { (exit 1); exit 1; }; }
67235 cat >conftest.$ac_ext <<_ACEOF
67236 /* confdefs.h. */
67237 _ACEOF
67238 cat confdefs.h >>conftest.$ac_ext
67239 cat >>conftest.$ac_ext <<_ACEOF
67240 /* end confdefs.h. */
67241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67243 #define $ac_func innocuous_$ac_func
67245 /* System header to define __stub macros and hopefully few prototypes,
67246 which can conflict with char $ac_func (); below.
67247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67248 <limits.h> exists even on freestanding compilers. */
67250 #ifdef __STDC__
67251 # include <limits.h>
67252 #else
67253 # include <assert.h>
67254 #endif
67256 #undef $ac_func
67258 /* Override any gcc2 internal prototype to avoid an error. */
67259 #ifdef __cplusplus
67260 extern "C"
67262 #endif
67263 /* We use char because int might match the return type of a gcc2
67264 builtin and then its argument prototype would still apply. */
67265 char $ac_func ();
67266 /* The GNU C library defines this for functions which it implements
67267 to always fail with ENOSYS. Some functions are actually named
67268 something starting with __ and the normal name is an alias. */
67269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67270 choke me
67271 #else
67272 char (*f) () = $ac_func;
67273 #endif
67274 #ifdef __cplusplus
67276 #endif
67279 main ()
67281 return f != $ac_func;
67283 return 0;
67285 _ACEOF
67286 rm -f conftest.$ac_objext conftest$ac_exeext
67287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67288 (eval $ac_link) 2>conftest.er1
67289 ac_status=$?
67290 grep -v '^ *+' conftest.er1 >conftest.err
67291 rm -f conftest.er1
67292 cat conftest.err >&5
67293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67294 (exit $ac_status); } &&
67295 { ac_try='test -z "$ac_c_werror_flag"
67296 || test ! -s conftest.err'
67297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67298 (eval $ac_try) 2>&5
67299 ac_status=$?
67300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67301 (exit $ac_status); }; } &&
67302 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
67308 eval "$as_ac_var=yes"
67309 else
67310 echo "$as_me: failed program was:" >&5
67311 sed 's/^/| /' conftest.$ac_ext >&5
67313 eval "$as_ac_var=no"
67315 rm -f conftest.err conftest.$ac_objext \
67316 conftest$ac_exeext conftest.$ac_ext
67318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67320 if test `eval echo '${'$as_ac_var'}'` = yes; then
67321 cat >>confdefs.h <<_ACEOF
67322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67323 _ACEOF
67326 done
67344 echo "$as_me:$LINENO: checking for float round functions" >&5
67345 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
67346 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
67347 echo $ECHO_N "(cached) $ECHO_C" >&6
67348 else
67352 ac_ext=cc
67353 ac_cpp='$CXXCPP $CPPFLAGS'
67354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67358 cat >conftest.$ac_ext <<_ACEOF
67359 /* confdefs.h. */
67360 _ACEOF
67361 cat confdefs.h >>conftest.$ac_ext
67362 cat >>conftest.$ac_ext <<_ACEOF
67363 /* end confdefs.h. */
67364 #include <math.h>
67366 main ()
67368 ceilf (0); floorf (0);
67370 return 0;
67372 _ACEOF
67373 rm -f conftest.$ac_objext
67374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67375 (eval $ac_compile) 2>conftest.er1
67376 ac_status=$?
67377 grep -v '^ *+' conftest.er1 >conftest.err
67378 rm -f conftest.er1
67379 cat conftest.err >&5
67380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67381 (exit $ac_status); } &&
67382 { ac_try='test -z "$ac_cxx_werror_flag"
67383 || test ! -s conftest.err'
67384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67385 (eval $ac_try) 2>&5
67386 ac_status=$?
67387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67388 (exit $ac_status); }; } &&
67389 { ac_try='test -s conftest.$ac_objext'
67390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67391 (eval $ac_try) 2>&5
67392 ac_status=$?
67393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67394 (exit $ac_status); }; }; then
67395 glibcxx_cv_func_float_round_use=yes
67396 else
67397 echo "$as_me: failed program was:" >&5
67398 sed 's/^/| /' conftest.$ac_ext >&5
67400 glibcxx_cv_func_float_round_use=no
67402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67403 ac_ext=c
67404 ac_cpp='$CPP $CPPFLAGS'
67405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67411 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
67412 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
67413 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67416 for ac_func in ceilf floorf
67418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67419 echo "$as_me:$LINENO: checking for $ac_func" >&5
67420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67421 if eval "test \"\${$as_ac_var+set}\" = set"; then
67422 echo $ECHO_N "(cached) $ECHO_C" >&6
67423 else
67424 if test x$gcc_no_link = xyes; then
67425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67427 { (exit 1); exit 1; }; }
67429 cat >conftest.$ac_ext <<_ACEOF
67430 /* confdefs.h. */
67431 _ACEOF
67432 cat confdefs.h >>conftest.$ac_ext
67433 cat >>conftest.$ac_ext <<_ACEOF
67434 /* end confdefs.h. */
67435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67437 #define $ac_func innocuous_$ac_func
67439 /* System header to define __stub macros and hopefully few prototypes,
67440 which can conflict with char $ac_func (); below.
67441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67442 <limits.h> exists even on freestanding compilers. */
67444 #ifdef __STDC__
67445 # include <limits.h>
67446 #else
67447 # include <assert.h>
67448 #endif
67450 #undef $ac_func
67452 /* Override any gcc2 internal prototype to avoid an error. */
67453 #ifdef __cplusplus
67454 extern "C"
67456 #endif
67457 /* We use char because int might match the return type of a gcc2
67458 builtin and then its argument prototype would still apply. */
67459 char $ac_func ();
67460 /* The GNU C library defines this for functions which it implements
67461 to always fail with ENOSYS. Some functions are actually named
67462 something starting with __ and the normal name is an alias. */
67463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67464 choke me
67465 #else
67466 char (*f) () = $ac_func;
67467 #endif
67468 #ifdef __cplusplus
67470 #endif
67473 main ()
67475 return f != $ac_func;
67477 return 0;
67479 _ACEOF
67480 rm -f conftest.$ac_objext conftest$ac_exeext
67481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67482 (eval $ac_link) 2>conftest.er1
67483 ac_status=$?
67484 grep -v '^ *+' conftest.er1 >conftest.err
67485 rm -f conftest.er1
67486 cat conftest.err >&5
67487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67488 (exit $ac_status); } &&
67489 { ac_try='test -z "$ac_c_werror_flag"
67490 || test ! -s conftest.err'
67491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67492 (eval $ac_try) 2>&5
67493 ac_status=$?
67494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67495 (exit $ac_status); }; } &&
67496 { ac_try='test -s conftest$ac_exeext'
67497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67498 (eval $ac_try) 2>&5
67499 ac_status=$?
67500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67501 (exit $ac_status); }; }; then
67502 eval "$as_ac_var=yes"
67503 else
67504 echo "$as_me: failed program was:" >&5
67505 sed 's/^/| /' conftest.$ac_ext >&5
67507 eval "$as_ac_var=no"
67509 rm -f conftest.err conftest.$ac_objext \
67510 conftest$ac_exeext conftest.$ac_ext
67512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67514 if test `eval echo '${'$as_ac_var'}'` = yes; then
67515 cat >>confdefs.h <<_ACEOF
67516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67517 _ACEOF
67520 done
67522 else
67523 echo "$as_me:$LINENO: checking for _float round functions" >&5
67524 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
67525 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
67526 echo $ECHO_N "(cached) $ECHO_C" >&6
67527 else
67531 ac_ext=cc
67532 ac_cpp='$CXXCPP $CPPFLAGS'
67533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67537 cat >conftest.$ac_ext <<_ACEOF
67538 /* confdefs.h. */
67539 _ACEOF
67540 cat confdefs.h >>conftest.$ac_ext
67541 cat >>conftest.$ac_ext <<_ACEOF
67542 /* end confdefs.h. */
67543 #include <math.h>
67545 main ()
67547 _ceilf (0); _floorf (0);
67549 return 0;
67551 _ACEOF
67552 rm -f conftest.$ac_objext
67553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67554 (eval $ac_compile) 2>conftest.er1
67555 ac_status=$?
67556 grep -v '^ *+' conftest.er1 >conftest.err
67557 rm -f conftest.er1
67558 cat conftest.err >&5
67559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67560 (exit $ac_status); } &&
67561 { ac_try='test -z "$ac_cxx_werror_flag"
67562 || test ! -s conftest.err'
67563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67564 (eval $ac_try) 2>&5
67565 ac_status=$?
67566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67567 (exit $ac_status); }; } &&
67568 { ac_try='test -s conftest.$ac_objext'
67569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67570 (eval $ac_try) 2>&5
67571 ac_status=$?
67572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67573 (exit $ac_status); }; }; then
67574 glibcxx_cv_func__float_round_use=yes
67575 else
67576 echo "$as_me: failed program was:" >&5
67577 sed 's/^/| /' conftest.$ac_ext >&5
67579 glibcxx_cv_func__float_round_use=no
67581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67582 ac_ext=c
67583 ac_cpp='$CPP $CPPFLAGS'
67584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67590 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
67591 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
67592 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67595 for ac_func in _ceilf _floorf
67597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67598 echo "$as_me:$LINENO: checking for $ac_func" >&5
67599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67600 if eval "test \"\${$as_ac_var+set}\" = set"; then
67601 echo $ECHO_N "(cached) $ECHO_C" >&6
67602 else
67603 if test x$gcc_no_link = xyes; then
67604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67606 { (exit 1); exit 1; }; }
67608 cat >conftest.$ac_ext <<_ACEOF
67609 /* confdefs.h. */
67610 _ACEOF
67611 cat confdefs.h >>conftest.$ac_ext
67612 cat >>conftest.$ac_ext <<_ACEOF
67613 /* end confdefs.h. */
67614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67616 #define $ac_func innocuous_$ac_func
67618 /* System header to define __stub macros and hopefully few prototypes,
67619 which can conflict with char $ac_func (); below.
67620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67621 <limits.h> exists even on freestanding compilers. */
67623 #ifdef __STDC__
67624 # include <limits.h>
67625 #else
67626 # include <assert.h>
67627 #endif
67629 #undef $ac_func
67631 /* Override any gcc2 internal prototype to avoid an error. */
67632 #ifdef __cplusplus
67633 extern "C"
67635 #endif
67636 /* We use char because int might match the return type of a gcc2
67637 builtin and then its argument prototype would still apply. */
67638 char $ac_func ();
67639 /* The GNU C library defines this for functions which it implements
67640 to always fail with ENOSYS. Some functions are actually named
67641 something starting with __ and the normal name is an alias. */
67642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67643 choke me
67644 #else
67645 char (*f) () = $ac_func;
67646 #endif
67647 #ifdef __cplusplus
67649 #endif
67652 main ()
67654 return f != $ac_func;
67656 return 0;
67658 _ACEOF
67659 rm -f conftest.$ac_objext conftest$ac_exeext
67660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67661 (eval $ac_link) 2>conftest.er1
67662 ac_status=$?
67663 grep -v '^ *+' conftest.er1 >conftest.err
67664 rm -f conftest.er1
67665 cat conftest.err >&5
67666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67667 (exit $ac_status); } &&
67668 { ac_try='test -z "$ac_c_werror_flag"
67669 || test ! -s conftest.err'
67670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67671 (eval $ac_try) 2>&5
67672 ac_status=$?
67673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67674 (exit $ac_status); }; } &&
67675 { ac_try='test -s conftest$ac_exeext'
67676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67677 (eval $ac_try) 2>&5
67678 ac_status=$?
67679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67680 (exit $ac_status); }; }; then
67681 eval "$as_ac_var=yes"
67682 else
67683 echo "$as_me: failed program was:" >&5
67684 sed 's/^/| /' conftest.$ac_ext >&5
67686 eval "$as_ac_var=no"
67688 rm -f conftest.err conftest.$ac_objext \
67689 conftest$ac_exeext conftest.$ac_ext
67691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67693 if test `eval echo '${'$as_ac_var'}'` = yes; then
67694 cat >>confdefs.h <<_ACEOF
67695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67696 _ACEOF
67699 done
67711 echo "$as_me:$LINENO: checking for expf declaration" >&5
67712 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
67713 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67714 if test "${glibcxx_cv_func_expf_use+set}" = set; then
67715 echo $ECHO_N "(cached) $ECHO_C" >&6
67716 else
67720 ac_ext=cc
67721 ac_cpp='$CXXCPP $CPPFLAGS'
67722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67726 cat >conftest.$ac_ext <<_ACEOF
67727 /* confdefs.h. */
67728 _ACEOF
67729 cat confdefs.h >>conftest.$ac_ext
67730 cat >>conftest.$ac_ext <<_ACEOF
67731 /* end confdefs.h. */
67732 #include <math.h>
67733 #ifdef HAVE_IEEEFP_H
67734 #include <ieeefp.h>
67735 #endif
67738 main ()
67740 expf(0);
67742 return 0;
67744 _ACEOF
67745 rm -f conftest.$ac_objext
67746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67747 (eval $ac_compile) 2>conftest.er1
67748 ac_status=$?
67749 grep -v '^ *+' conftest.er1 >conftest.err
67750 rm -f conftest.er1
67751 cat conftest.err >&5
67752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67753 (exit $ac_status); } &&
67754 { ac_try='test -z "$ac_cxx_werror_flag"
67755 || test ! -s conftest.err'
67756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67757 (eval $ac_try) 2>&5
67758 ac_status=$?
67759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67760 (exit $ac_status); }; } &&
67761 { ac_try='test -s conftest.$ac_objext'
67762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67763 (eval $ac_try) 2>&5
67764 ac_status=$?
67765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67766 (exit $ac_status); }; }; then
67767 glibcxx_cv_func_expf_use=yes
67768 else
67769 echo "$as_me: failed program was:" >&5
67770 sed 's/^/| /' conftest.$ac_ext >&5
67772 glibcxx_cv_func_expf_use=no
67774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67775 ac_ext=c
67776 ac_cpp='$CPP $CPPFLAGS'
67777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67785 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
67786 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
67788 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67790 for ac_func in expf
67792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67793 echo "$as_me:$LINENO: checking for $ac_func" >&5
67794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67795 if eval "test \"\${$as_ac_var+set}\" = set"; then
67796 echo $ECHO_N "(cached) $ECHO_C" >&6
67797 else
67798 if test x$gcc_no_link = xyes; then
67799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67801 { (exit 1); exit 1; }; }
67803 cat >conftest.$ac_ext <<_ACEOF
67804 /* confdefs.h. */
67805 _ACEOF
67806 cat confdefs.h >>conftest.$ac_ext
67807 cat >>conftest.$ac_ext <<_ACEOF
67808 /* end confdefs.h. */
67809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67811 #define $ac_func innocuous_$ac_func
67813 /* System header to define __stub macros and hopefully few prototypes,
67814 which can conflict with char $ac_func (); below.
67815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67816 <limits.h> exists even on freestanding compilers. */
67818 #ifdef __STDC__
67819 # include <limits.h>
67820 #else
67821 # include <assert.h>
67822 #endif
67824 #undef $ac_func
67826 /* Override any gcc2 internal prototype to avoid an error. */
67827 #ifdef __cplusplus
67828 extern "C"
67830 #endif
67831 /* We use char because int might match the return type of a gcc2
67832 builtin and then its argument prototype would still apply. */
67833 char $ac_func ();
67834 /* The GNU C library defines this for functions which it implements
67835 to always fail with ENOSYS. Some functions are actually named
67836 something starting with __ and the normal name is an alias. */
67837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67838 choke me
67839 #else
67840 char (*f) () = $ac_func;
67841 #endif
67842 #ifdef __cplusplus
67844 #endif
67847 main ()
67849 return f != $ac_func;
67851 return 0;
67853 _ACEOF
67854 rm -f conftest.$ac_objext conftest$ac_exeext
67855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67856 (eval $ac_link) 2>conftest.er1
67857 ac_status=$?
67858 grep -v '^ *+' conftest.er1 >conftest.err
67859 rm -f conftest.er1
67860 cat conftest.err >&5
67861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67862 (exit $ac_status); } &&
67863 { ac_try='test -z "$ac_c_werror_flag"
67864 || test ! -s conftest.err'
67865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67866 (eval $ac_try) 2>&5
67867 ac_status=$?
67868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67869 (exit $ac_status); }; } &&
67870 { ac_try='test -s conftest$ac_exeext'
67871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67872 (eval $ac_try) 2>&5
67873 ac_status=$?
67874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67875 (exit $ac_status); }; }; then
67876 eval "$as_ac_var=yes"
67877 else
67878 echo "$as_me: failed program was:" >&5
67879 sed 's/^/| /' conftest.$ac_ext >&5
67881 eval "$as_ac_var=no"
67883 rm -f conftest.err conftest.$ac_objext \
67884 conftest$ac_exeext conftest.$ac_ext
67886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67887 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67888 if test `eval echo '${'$as_ac_var'}'` = yes; then
67889 cat >>confdefs.h <<_ACEOF
67890 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67891 _ACEOF
67894 done
67896 else
67898 echo "$as_me:$LINENO: checking for _expf declaration" >&5
67899 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
67900 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67901 if test "${glibcxx_cv_func__expf_use+set}" = set; then
67902 echo $ECHO_N "(cached) $ECHO_C" >&6
67903 else
67907 ac_ext=cc
67908 ac_cpp='$CXXCPP $CPPFLAGS'
67909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67913 cat >conftest.$ac_ext <<_ACEOF
67914 /* confdefs.h. */
67915 _ACEOF
67916 cat confdefs.h >>conftest.$ac_ext
67917 cat >>conftest.$ac_ext <<_ACEOF
67918 /* end confdefs.h. */
67919 #include <math.h>
67920 #ifdef HAVE_IEEEFP_H
67921 #include <ieeefp.h>
67922 #endif
67925 main ()
67927 _expf(0);
67929 return 0;
67931 _ACEOF
67932 rm -f conftest.$ac_objext
67933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67934 (eval $ac_compile) 2>conftest.er1
67935 ac_status=$?
67936 grep -v '^ *+' conftest.er1 >conftest.err
67937 rm -f conftest.er1
67938 cat conftest.err >&5
67939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67940 (exit $ac_status); } &&
67941 { ac_try='test -z "$ac_cxx_werror_flag"
67942 || test ! -s conftest.err'
67943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67944 (eval $ac_try) 2>&5
67945 ac_status=$?
67946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67947 (exit $ac_status); }; } &&
67948 { ac_try='test -s conftest.$ac_objext'
67949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67950 (eval $ac_try) 2>&5
67951 ac_status=$?
67952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67953 (exit $ac_status); }; }; then
67954 glibcxx_cv_func__expf_use=yes
67955 else
67956 echo "$as_me: failed program was:" >&5
67957 sed 's/^/| /' conftest.$ac_ext >&5
67959 glibcxx_cv_func__expf_use=no
67961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67962 ac_ext=c
67963 ac_cpp='$CPP $CPPFLAGS'
67964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67972 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
67973 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
67975 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67977 for ac_func in _expf
67979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67980 echo "$as_me:$LINENO: checking for $ac_func" >&5
67981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67982 if eval "test \"\${$as_ac_var+set}\" = set"; then
67983 echo $ECHO_N "(cached) $ECHO_C" >&6
67984 else
67985 if test x$gcc_no_link = xyes; then
67986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67988 { (exit 1); exit 1; }; }
67990 cat >conftest.$ac_ext <<_ACEOF
67991 /* confdefs.h. */
67992 _ACEOF
67993 cat confdefs.h >>conftest.$ac_ext
67994 cat >>conftest.$ac_ext <<_ACEOF
67995 /* end confdefs.h. */
67996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67998 #define $ac_func innocuous_$ac_func
68000 /* System header to define __stub macros and hopefully few prototypes,
68001 which can conflict with char $ac_func (); below.
68002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68003 <limits.h> exists even on freestanding compilers. */
68005 #ifdef __STDC__
68006 # include <limits.h>
68007 #else
68008 # include <assert.h>
68009 #endif
68011 #undef $ac_func
68013 /* Override any gcc2 internal prototype to avoid an error. */
68014 #ifdef __cplusplus
68015 extern "C"
68017 #endif
68018 /* We use char because int might match the return type of a gcc2
68019 builtin and then its argument prototype would still apply. */
68020 char $ac_func ();
68021 /* The GNU C library defines this for functions which it implements
68022 to always fail with ENOSYS. Some functions are actually named
68023 something starting with __ and the normal name is an alias. */
68024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68025 choke me
68026 #else
68027 char (*f) () = $ac_func;
68028 #endif
68029 #ifdef __cplusplus
68031 #endif
68034 main ()
68036 return f != $ac_func;
68038 return 0;
68040 _ACEOF
68041 rm -f conftest.$ac_objext conftest$ac_exeext
68042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68043 (eval $ac_link) 2>conftest.er1
68044 ac_status=$?
68045 grep -v '^ *+' conftest.er1 >conftest.err
68046 rm -f conftest.er1
68047 cat conftest.err >&5
68048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68049 (exit $ac_status); } &&
68050 { ac_try='test -z "$ac_c_werror_flag"
68051 || test ! -s conftest.err'
68052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68053 (eval $ac_try) 2>&5
68054 ac_status=$?
68055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68056 (exit $ac_status); }; } &&
68057 { ac_try='test -s conftest$ac_exeext'
68058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68059 (eval $ac_try) 2>&5
68060 ac_status=$?
68061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68062 (exit $ac_status); }; }; then
68063 eval "$as_ac_var=yes"
68064 else
68065 echo "$as_me: failed program was:" >&5
68066 sed 's/^/| /' conftest.$ac_ext >&5
68068 eval "$as_ac_var=no"
68070 rm -f conftest.err conftest.$ac_objext \
68071 conftest$ac_exeext conftest.$ac_ext
68073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68075 if test `eval echo '${'$as_ac_var'}'` = yes; then
68076 cat >>confdefs.h <<_ACEOF
68077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68078 _ACEOF
68081 done
68091 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
68092 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
68093 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68094 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
68095 echo $ECHO_N "(cached) $ECHO_C" >&6
68096 else
68100 ac_ext=cc
68101 ac_cpp='$CXXCPP $CPPFLAGS'
68102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68106 cat >conftest.$ac_ext <<_ACEOF
68107 /* confdefs.h. */
68108 _ACEOF
68109 cat confdefs.h >>conftest.$ac_ext
68110 cat >>conftest.$ac_ext <<_ACEOF
68111 /* end confdefs.h. */
68112 #include <math.h>
68113 #ifdef HAVE_IEEEFP_H
68114 #include <ieeefp.h>
68115 #endif
68118 main ()
68120 isnanf(0);
68122 return 0;
68124 _ACEOF
68125 rm -f conftest.$ac_objext
68126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68127 (eval $ac_compile) 2>conftest.er1
68128 ac_status=$?
68129 grep -v '^ *+' conftest.er1 >conftest.err
68130 rm -f conftest.er1
68131 cat conftest.err >&5
68132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68133 (exit $ac_status); } &&
68134 { ac_try='test -z "$ac_cxx_werror_flag"
68135 || test ! -s conftest.err'
68136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68137 (eval $ac_try) 2>&5
68138 ac_status=$?
68139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68140 (exit $ac_status); }; } &&
68141 { ac_try='test -s conftest.$ac_objext'
68142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68143 (eval $ac_try) 2>&5
68144 ac_status=$?
68145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68146 (exit $ac_status); }; }; then
68147 glibcxx_cv_func_isnanf_use=yes
68148 else
68149 echo "$as_me: failed program was:" >&5
68150 sed 's/^/| /' conftest.$ac_ext >&5
68152 glibcxx_cv_func_isnanf_use=no
68154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68155 ac_ext=c
68156 ac_cpp='$CPP $CPPFLAGS'
68157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68165 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
68166 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
68168 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68170 for ac_func in isnanf
68172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68173 echo "$as_me:$LINENO: checking for $ac_func" >&5
68174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68175 if eval "test \"\${$as_ac_var+set}\" = set"; then
68176 echo $ECHO_N "(cached) $ECHO_C" >&6
68177 else
68178 if test x$gcc_no_link = xyes; then
68179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68181 { (exit 1); exit 1; }; }
68183 cat >conftest.$ac_ext <<_ACEOF
68184 /* confdefs.h. */
68185 _ACEOF
68186 cat confdefs.h >>conftest.$ac_ext
68187 cat >>conftest.$ac_ext <<_ACEOF
68188 /* end confdefs.h. */
68189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68191 #define $ac_func innocuous_$ac_func
68193 /* System header to define __stub macros and hopefully few prototypes,
68194 which can conflict with char $ac_func (); below.
68195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68196 <limits.h> exists even on freestanding compilers. */
68198 #ifdef __STDC__
68199 # include <limits.h>
68200 #else
68201 # include <assert.h>
68202 #endif
68204 #undef $ac_func
68206 /* Override any gcc2 internal prototype to avoid an error. */
68207 #ifdef __cplusplus
68208 extern "C"
68210 #endif
68211 /* We use char because int might match the return type of a gcc2
68212 builtin and then its argument prototype would still apply. */
68213 char $ac_func ();
68214 /* The GNU C library defines this for functions which it implements
68215 to always fail with ENOSYS. Some functions are actually named
68216 something starting with __ and the normal name is an alias. */
68217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68218 choke me
68219 #else
68220 char (*f) () = $ac_func;
68221 #endif
68222 #ifdef __cplusplus
68224 #endif
68227 main ()
68229 return f != $ac_func;
68231 return 0;
68233 _ACEOF
68234 rm -f conftest.$ac_objext conftest$ac_exeext
68235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68236 (eval $ac_link) 2>conftest.er1
68237 ac_status=$?
68238 grep -v '^ *+' conftest.er1 >conftest.err
68239 rm -f conftest.er1
68240 cat conftest.err >&5
68241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68242 (exit $ac_status); } &&
68243 { ac_try='test -z "$ac_c_werror_flag"
68244 || test ! -s conftest.err'
68245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68246 (eval $ac_try) 2>&5
68247 ac_status=$?
68248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68249 (exit $ac_status); }; } &&
68250 { ac_try='test -s conftest$ac_exeext'
68251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68252 (eval $ac_try) 2>&5
68253 ac_status=$?
68254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68255 (exit $ac_status); }; }; then
68256 eval "$as_ac_var=yes"
68257 else
68258 echo "$as_me: failed program was:" >&5
68259 sed 's/^/| /' conftest.$ac_ext >&5
68261 eval "$as_ac_var=no"
68263 rm -f conftest.err conftest.$ac_objext \
68264 conftest$ac_exeext conftest.$ac_ext
68266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68268 if test `eval echo '${'$as_ac_var'}'` = yes; then
68269 cat >>confdefs.h <<_ACEOF
68270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68271 _ACEOF
68274 done
68276 else
68278 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
68279 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
68280 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68281 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
68282 echo $ECHO_N "(cached) $ECHO_C" >&6
68283 else
68287 ac_ext=cc
68288 ac_cpp='$CXXCPP $CPPFLAGS'
68289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68293 cat >conftest.$ac_ext <<_ACEOF
68294 /* confdefs.h. */
68295 _ACEOF
68296 cat confdefs.h >>conftest.$ac_ext
68297 cat >>conftest.$ac_ext <<_ACEOF
68298 /* end confdefs.h. */
68299 #include <math.h>
68300 #ifdef HAVE_IEEEFP_H
68301 #include <ieeefp.h>
68302 #endif
68305 main ()
68307 _isnanf(0);
68309 return 0;
68311 _ACEOF
68312 rm -f conftest.$ac_objext
68313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68314 (eval $ac_compile) 2>conftest.er1
68315 ac_status=$?
68316 grep -v '^ *+' conftest.er1 >conftest.err
68317 rm -f conftest.er1
68318 cat conftest.err >&5
68319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68320 (exit $ac_status); } &&
68321 { ac_try='test -z "$ac_cxx_werror_flag"
68322 || test ! -s conftest.err'
68323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68324 (eval $ac_try) 2>&5
68325 ac_status=$?
68326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68327 (exit $ac_status); }; } &&
68328 { ac_try='test -s conftest.$ac_objext'
68329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68330 (eval $ac_try) 2>&5
68331 ac_status=$?
68332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68333 (exit $ac_status); }; }; then
68334 glibcxx_cv_func__isnanf_use=yes
68335 else
68336 echo "$as_me: failed program was:" >&5
68337 sed 's/^/| /' conftest.$ac_ext >&5
68339 glibcxx_cv_func__isnanf_use=no
68341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68342 ac_ext=c
68343 ac_cpp='$CPP $CPPFLAGS'
68344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68352 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
68353 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
68355 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68357 for ac_func in _isnanf
68359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68360 echo "$as_me:$LINENO: checking for $ac_func" >&5
68361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68362 if eval "test \"\${$as_ac_var+set}\" = set"; then
68363 echo $ECHO_N "(cached) $ECHO_C" >&6
68364 else
68365 if test x$gcc_no_link = xyes; then
68366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68368 { (exit 1); exit 1; }; }
68370 cat >conftest.$ac_ext <<_ACEOF
68371 /* confdefs.h. */
68372 _ACEOF
68373 cat confdefs.h >>conftest.$ac_ext
68374 cat >>conftest.$ac_ext <<_ACEOF
68375 /* end confdefs.h. */
68376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68378 #define $ac_func innocuous_$ac_func
68380 /* System header to define __stub macros and hopefully few prototypes,
68381 which can conflict with char $ac_func (); below.
68382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68383 <limits.h> exists even on freestanding compilers. */
68385 #ifdef __STDC__
68386 # include <limits.h>
68387 #else
68388 # include <assert.h>
68389 #endif
68391 #undef $ac_func
68393 /* Override any gcc2 internal prototype to avoid an error. */
68394 #ifdef __cplusplus
68395 extern "C"
68397 #endif
68398 /* We use char because int might match the return type of a gcc2
68399 builtin and then its argument prototype would still apply. */
68400 char $ac_func ();
68401 /* The GNU C library defines this for functions which it implements
68402 to always fail with ENOSYS. Some functions are actually named
68403 something starting with __ and the normal name is an alias. */
68404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68405 choke me
68406 #else
68407 char (*f) () = $ac_func;
68408 #endif
68409 #ifdef __cplusplus
68411 #endif
68414 main ()
68416 return f != $ac_func;
68418 return 0;
68420 _ACEOF
68421 rm -f conftest.$ac_objext conftest$ac_exeext
68422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68423 (eval $ac_link) 2>conftest.er1
68424 ac_status=$?
68425 grep -v '^ *+' conftest.er1 >conftest.err
68426 rm -f conftest.er1
68427 cat conftest.err >&5
68428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68429 (exit $ac_status); } &&
68430 { ac_try='test -z "$ac_c_werror_flag"
68431 || test ! -s conftest.err'
68432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68433 (eval $ac_try) 2>&5
68434 ac_status=$?
68435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68436 (exit $ac_status); }; } &&
68437 { ac_try='test -s conftest$ac_exeext'
68438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68439 (eval $ac_try) 2>&5
68440 ac_status=$?
68441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68442 (exit $ac_status); }; }; then
68443 eval "$as_ac_var=yes"
68444 else
68445 echo "$as_me: failed program was:" >&5
68446 sed 's/^/| /' conftest.$ac_ext >&5
68448 eval "$as_ac_var=no"
68450 rm -f conftest.err conftest.$ac_objext \
68451 conftest$ac_exeext conftest.$ac_ext
68453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68455 if test `eval echo '${'$as_ac_var'}'` = yes; then
68456 cat >>confdefs.h <<_ACEOF
68457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68458 _ACEOF
68461 done
68471 echo "$as_me:$LINENO: checking for isinff declaration" >&5
68472 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
68473 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68474 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
68475 echo $ECHO_N "(cached) $ECHO_C" >&6
68476 else
68480 ac_ext=cc
68481 ac_cpp='$CXXCPP $CPPFLAGS'
68482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68486 cat >conftest.$ac_ext <<_ACEOF
68487 /* confdefs.h. */
68488 _ACEOF
68489 cat confdefs.h >>conftest.$ac_ext
68490 cat >>conftest.$ac_ext <<_ACEOF
68491 /* end confdefs.h. */
68492 #include <math.h>
68493 #ifdef HAVE_IEEEFP_H
68494 #include <ieeefp.h>
68495 #endif
68498 main ()
68500 isinff(0);
68502 return 0;
68504 _ACEOF
68505 rm -f conftest.$ac_objext
68506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68507 (eval $ac_compile) 2>conftest.er1
68508 ac_status=$?
68509 grep -v '^ *+' conftest.er1 >conftest.err
68510 rm -f conftest.er1
68511 cat conftest.err >&5
68512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68513 (exit $ac_status); } &&
68514 { ac_try='test -z "$ac_cxx_werror_flag"
68515 || test ! -s conftest.err'
68516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68517 (eval $ac_try) 2>&5
68518 ac_status=$?
68519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68520 (exit $ac_status); }; } &&
68521 { ac_try='test -s conftest.$ac_objext'
68522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68523 (eval $ac_try) 2>&5
68524 ac_status=$?
68525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68526 (exit $ac_status); }; }; then
68527 glibcxx_cv_func_isinff_use=yes
68528 else
68529 echo "$as_me: failed program was:" >&5
68530 sed 's/^/| /' conftest.$ac_ext >&5
68532 glibcxx_cv_func_isinff_use=no
68534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68535 ac_ext=c
68536 ac_cpp='$CPP $CPPFLAGS'
68537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68545 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
68546 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
68548 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68550 for ac_func in isinff
68552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68553 echo "$as_me:$LINENO: checking for $ac_func" >&5
68554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68555 if eval "test \"\${$as_ac_var+set}\" = set"; then
68556 echo $ECHO_N "(cached) $ECHO_C" >&6
68557 else
68558 if test x$gcc_no_link = xyes; then
68559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68561 { (exit 1); exit 1; }; }
68563 cat >conftest.$ac_ext <<_ACEOF
68564 /* confdefs.h. */
68565 _ACEOF
68566 cat confdefs.h >>conftest.$ac_ext
68567 cat >>conftest.$ac_ext <<_ACEOF
68568 /* end confdefs.h. */
68569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68571 #define $ac_func innocuous_$ac_func
68573 /* System header to define __stub macros and hopefully few prototypes,
68574 which can conflict with char $ac_func (); below.
68575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68576 <limits.h> exists even on freestanding compilers. */
68578 #ifdef __STDC__
68579 # include <limits.h>
68580 #else
68581 # include <assert.h>
68582 #endif
68584 #undef $ac_func
68586 /* Override any gcc2 internal prototype to avoid an error. */
68587 #ifdef __cplusplus
68588 extern "C"
68590 #endif
68591 /* We use char because int might match the return type of a gcc2
68592 builtin and then its argument prototype would still apply. */
68593 char $ac_func ();
68594 /* The GNU C library defines this for functions which it implements
68595 to always fail with ENOSYS. Some functions are actually named
68596 something starting with __ and the normal name is an alias. */
68597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68598 choke me
68599 #else
68600 char (*f) () = $ac_func;
68601 #endif
68602 #ifdef __cplusplus
68604 #endif
68607 main ()
68609 return f != $ac_func;
68611 return 0;
68613 _ACEOF
68614 rm -f conftest.$ac_objext conftest$ac_exeext
68615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68616 (eval $ac_link) 2>conftest.er1
68617 ac_status=$?
68618 grep -v '^ *+' conftest.er1 >conftest.err
68619 rm -f conftest.er1
68620 cat conftest.err >&5
68621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68622 (exit $ac_status); } &&
68623 { ac_try='test -z "$ac_c_werror_flag"
68624 || test ! -s conftest.err'
68625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68626 (eval $ac_try) 2>&5
68627 ac_status=$?
68628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68629 (exit $ac_status); }; } &&
68630 { ac_try='test -s conftest$ac_exeext'
68631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68632 (eval $ac_try) 2>&5
68633 ac_status=$?
68634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68635 (exit $ac_status); }; }; then
68636 eval "$as_ac_var=yes"
68637 else
68638 echo "$as_me: failed program was:" >&5
68639 sed 's/^/| /' conftest.$ac_ext >&5
68641 eval "$as_ac_var=no"
68643 rm -f conftest.err conftest.$ac_objext \
68644 conftest$ac_exeext conftest.$ac_ext
68646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68648 if test `eval echo '${'$as_ac_var'}'` = yes; then
68649 cat >>confdefs.h <<_ACEOF
68650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68651 _ACEOF
68654 done
68656 else
68658 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
68659 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
68660 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68661 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
68662 echo $ECHO_N "(cached) $ECHO_C" >&6
68663 else
68667 ac_ext=cc
68668 ac_cpp='$CXXCPP $CPPFLAGS'
68669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68673 cat >conftest.$ac_ext <<_ACEOF
68674 /* confdefs.h. */
68675 _ACEOF
68676 cat confdefs.h >>conftest.$ac_ext
68677 cat >>conftest.$ac_ext <<_ACEOF
68678 /* end confdefs.h. */
68679 #include <math.h>
68680 #ifdef HAVE_IEEEFP_H
68681 #include <ieeefp.h>
68682 #endif
68685 main ()
68687 _isinff(0);
68689 return 0;
68691 _ACEOF
68692 rm -f conftest.$ac_objext
68693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68694 (eval $ac_compile) 2>conftest.er1
68695 ac_status=$?
68696 grep -v '^ *+' conftest.er1 >conftest.err
68697 rm -f conftest.er1
68698 cat conftest.err >&5
68699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68700 (exit $ac_status); } &&
68701 { ac_try='test -z "$ac_cxx_werror_flag"
68702 || test ! -s conftest.err'
68703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68704 (eval $ac_try) 2>&5
68705 ac_status=$?
68706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68707 (exit $ac_status); }; } &&
68708 { ac_try='test -s conftest.$ac_objext'
68709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68710 (eval $ac_try) 2>&5
68711 ac_status=$?
68712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68713 (exit $ac_status); }; }; then
68714 glibcxx_cv_func__isinff_use=yes
68715 else
68716 echo "$as_me: failed program was:" >&5
68717 sed 's/^/| /' conftest.$ac_ext >&5
68719 glibcxx_cv_func__isinff_use=no
68721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68722 ac_ext=c
68723 ac_cpp='$CPP $CPPFLAGS'
68724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68732 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
68733 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
68735 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68737 for ac_func in _isinff
68739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68740 echo "$as_me:$LINENO: checking for $ac_func" >&5
68741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68742 if eval "test \"\${$as_ac_var+set}\" = set"; then
68743 echo $ECHO_N "(cached) $ECHO_C" >&6
68744 else
68745 if test x$gcc_no_link = xyes; then
68746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68748 { (exit 1); exit 1; }; }
68750 cat >conftest.$ac_ext <<_ACEOF
68751 /* confdefs.h. */
68752 _ACEOF
68753 cat confdefs.h >>conftest.$ac_ext
68754 cat >>conftest.$ac_ext <<_ACEOF
68755 /* end confdefs.h. */
68756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68758 #define $ac_func innocuous_$ac_func
68760 /* System header to define __stub macros and hopefully few prototypes,
68761 which can conflict with char $ac_func (); below.
68762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68763 <limits.h> exists even on freestanding compilers. */
68765 #ifdef __STDC__
68766 # include <limits.h>
68767 #else
68768 # include <assert.h>
68769 #endif
68771 #undef $ac_func
68773 /* Override any gcc2 internal prototype to avoid an error. */
68774 #ifdef __cplusplus
68775 extern "C"
68777 #endif
68778 /* We use char because int might match the return type of a gcc2
68779 builtin and then its argument prototype would still apply. */
68780 char $ac_func ();
68781 /* The GNU C library defines this for functions which it implements
68782 to always fail with ENOSYS. Some functions are actually named
68783 something starting with __ and the normal name is an alias. */
68784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68785 choke me
68786 #else
68787 char (*f) () = $ac_func;
68788 #endif
68789 #ifdef __cplusplus
68791 #endif
68794 main ()
68796 return f != $ac_func;
68798 return 0;
68800 _ACEOF
68801 rm -f conftest.$ac_objext conftest$ac_exeext
68802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68803 (eval $ac_link) 2>conftest.er1
68804 ac_status=$?
68805 grep -v '^ *+' conftest.er1 >conftest.err
68806 rm -f conftest.er1
68807 cat conftest.err >&5
68808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68809 (exit $ac_status); } &&
68810 { ac_try='test -z "$ac_c_werror_flag"
68811 || test ! -s conftest.err'
68812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68813 (eval $ac_try) 2>&5
68814 ac_status=$?
68815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68816 (exit $ac_status); }; } &&
68817 { ac_try='test -s conftest$ac_exeext'
68818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68819 (eval $ac_try) 2>&5
68820 ac_status=$?
68821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68822 (exit $ac_status); }; }; then
68823 eval "$as_ac_var=yes"
68824 else
68825 echo "$as_me: failed program was:" >&5
68826 sed 's/^/| /' conftest.$ac_ext >&5
68828 eval "$as_ac_var=no"
68830 rm -f conftest.err conftest.$ac_objext \
68831 conftest$ac_exeext conftest.$ac_ext
68833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68835 if test `eval echo '${'$as_ac_var'}'` = yes; then
68836 cat >>confdefs.h <<_ACEOF
68837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68838 _ACEOF
68841 done
68851 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
68852 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
68853 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68854 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
68855 echo $ECHO_N "(cached) $ECHO_C" >&6
68856 else
68860 ac_ext=cc
68861 ac_cpp='$CXXCPP $CPPFLAGS'
68862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68866 cat >conftest.$ac_ext <<_ACEOF
68867 /* confdefs.h. */
68868 _ACEOF
68869 cat confdefs.h >>conftest.$ac_ext
68870 cat >>conftest.$ac_ext <<_ACEOF
68871 /* end confdefs.h. */
68872 #include <math.h>
68874 main ()
68876 atan2f(0, 0);
68878 return 0;
68880 _ACEOF
68881 rm -f conftest.$ac_objext
68882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68883 (eval $ac_compile) 2>conftest.er1
68884 ac_status=$?
68885 grep -v '^ *+' conftest.er1 >conftest.err
68886 rm -f conftest.er1
68887 cat conftest.err >&5
68888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68889 (exit $ac_status); } &&
68890 { ac_try='test -z "$ac_cxx_werror_flag"
68891 || test ! -s conftest.err'
68892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68893 (eval $ac_try) 2>&5
68894 ac_status=$?
68895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68896 (exit $ac_status); }; } &&
68897 { ac_try='test -s conftest.$ac_objext'
68898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68899 (eval $ac_try) 2>&5
68900 ac_status=$?
68901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68902 (exit $ac_status); }; }; then
68903 glibcxx_cv_func_atan2f_use=yes
68904 else
68905 echo "$as_me: failed program was:" >&5
68906 sed 's/^/| /' conftest.$ac_ext >&5
68908 glibcxx_cv_func_atan2f_use=no
68910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68911 ac_ext=c
68912 ac_cpp='$CPP $CPPFLAGS'
68913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68921 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
68922 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
68924 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68926 for ac_func in atan2f
68928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68929 echo "$as_me:$LINENO: checking for $ac_func" >&5
68930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68931 if eval "test \"\${$as_ac_var+set}\" = set"; then
68932 echo $ECHO_N "(cached) $ECHO_C" >&6
68933 else
68934 if test x$gcc_no_link = xyes; then
68935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68937 { (exit 1); exit 1; }; }
68939 cat >conftest.$ac_ext <<_ACEOF
68940 /* confdefs.h. */
68941 _ACEOF
68942 cat confdefs.h >>conftest.$ac_ext
68943 cat >>conftest.$ac_ext <<_ACEOF
68944 /* end confdefs.h. */
68945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68947 #define $ac_func innocuous_$ac_func
68949 /* System header to define __stub macros and hopefully few prototypes,
68950 which can conflict with char $ac_func (); below.
68951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68952 <limits.h> exists even on freestanding compilers. */
68954 #ifdef __STDC__
68955 # include <limits.h>
68956 #else
68957 # include <assert.h>
68958 #endif
68960 #undef $ac_func
68962 /* Override any gcc2 internal prototype to avoid an error. */
68963 #ifdef __cplusplus
68964 extern "C"
68966 #endif
68967 /* We use char because int might match the return type of a gcc2
68968 builtin and then its argument prototype would still apply. */
68969 char $ac_func ();
68970 /* The GNU C library defines this for functions which it implements
68971 to always fail with ENOSYS. Some functions are actually named
68972 something starting with __ and the normal name is an alias. */
68973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68974 choke me
68975 #else
68976 char (*f) () = $ac_func;
68977 #endif
68978 #ifdef __cplusplus
68980 #endif
68983 main ()
68985 return f != $ac_func;
68987 return 0;
68989 _ACEOF
68990 rm -f conftest.$ac_objext conftest$ac_exeext
68991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68992 (eval $ac_link) 2>conftest.er1
68993 ac_status=$?
68994 grep -v '^ *+' conftest.er1 >conftest.err
68995 rm -f conftest.er1
68996 cat conftest.err >&5
68997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68998 (exit $ac_status); } &&
68999 { ac_try='test -z "$ac_c_werror_flag"
69000 || test ! -s conftest.err'
69001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69002 (eval $ac_try) 2>&5
69003 ac_status=$?
69004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69005 (exit $ac_status); }; } &&
69006 { ac_try='test -s conftest$ac_exeext'
69007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69008 (eval $ac_try) 2>&5
69009 ac_status=$?
69010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69011 (exit $ac_status); }; }; then
69012 eval "$as_ac_var=yes"
69013 else
69014 echo "$as_me: failed program was:" >&5
69015 sed 's/^/| /' conftest.$ac_ext >&5
69017 eval "$as_ac_var=no"
69019 rm -f conftest.err conftest.$ac_objext \
69020 conftest$ac_exeext conftest.$ac_ext
69022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69024 if test `eval echo '${'$as_ac_var'}'` = yes; then
69025 cat >>confdefs.h <<_ACEOF
69026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69027 _ACEOF
69030 done
69032 else
69034 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
69035 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
69036 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
69037 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
69038 echo $ECHO_N "(cached) $ECHO_C" >&6
69039 else
69043 ac_ext=cc
69044 ac_cpp='$CXXCPP $CPPFLAGS'
69045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69049 cat >conftest.$ac_ext <<_ACEOF
69050 /* confdefs.h. */
69051 _ACEOF
69052 cat confdefs.h >>conftest.$ac_ext
69053 cat >>conftest.$ac_ext <<_ACEOF
69054 /* end confdefs.h. */
69055 #include <math.h>
69057 main ()
69059 _atan2f(0, 0);
69061 return 0;
69063 _ACEOF
69064 rm -f conftest.$ac_objext
69065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69066 (eval $ac_compile) 2>conftest.er1
69067 ac_status=$?
69068 grep -v '^ *+' conftest.er1 >conftest.err
69069 rm -f conftest.er1
69070 cat conftest.err >&5
69071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69072 (exit $ac_status); } &&
69073 { ac_try='test -z "$ac_cxx_werror_flag"
69074 || test ! -s conftest.err'
69075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69076 (eval $ac_try) 2>&5
69077 ac_status=$?
69078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69079 (exit $ac_status); }; } &&
69080 { ac_try='test -s conftest.$ac_objext'
69081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69082 (eval $ac_try) 2>&5
69083 ac_status=$?
69084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69085 (exit $ac_status); }; }; then
69086 glibcxx_cv_func__atan2f_use=yes
69087 else
69088 echo "$as_me: failed program was:" >&5
69089 sed 's/^/| /' conftest.$ac_ext >&5
69091 glibcxx_cv_func__atan2f_use=no
69093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69094 ac_ext=c
69095 ac_cpp='$CPP $CPPFLAGS'
69096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69104 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
69105 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
69107 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
69109 for ac_func in _atan2f
69111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69112 echo "$as_me:$LINENO: checking for $ac_func" >&5
69113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69114 if eval "test \"\${$as_ac_var+set}\" = set"; then
69115 echo $ECHO_N "(cached) $ECHO_C" >&6
69116 else
69117 if test x$gcc_no_link = xyes; then
69118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69120 { (exit 1); exit 1; }; }
69122 cat >conftest.$ac_ext <<_ACEOF
69123 /* confdefs.h. */
69124 _ACEOF
69125 cat confdefs.h >>conftest.$ac_ext
69126 cat >>conftest.$ac_ext <<_ACEOF
69127 /* end confdefs.h. */
69128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69130 #define $ac_func innocuous_$ac_func
69132 /* System header to define __stub macros and hopefully few prototypes,
69133 which can conflict with char $ac_func (); below.
69134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69135 <limits.h> exists even on freestanding compilers. */
69137 #ifdef __STDC__
69138 # include <limits.h>
69139 #else
69140 # include <assert.h>
69141 #endif
69143 #undef $ac_func
69145 /* Override any gcc2 internal prototype to avoid an error. */
69146 #ifdef __cplusplus
69147 extern "C"
69149 #endif
69150 /* We use char because int might match the return type of a gcc2
69151 builtin and then its argument prototype would still apply. */
69152 char $ac_func ();
69153 /* The GNU C library defines this for functions which it implements
69154 to always fail with ENOSYS. Some functions are actually named
69155 something starting with __ and the normal name is an alias. */
69156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69157 choke me
69158 #else
69159 char (*f) () = $ac_func;
69160 #endif
69161 #ifdef __cplusplus
69163 #endif
69166 main ()
69168 return f != $ac_func;
69170 return 0;
69172 _ACEOF
69173 rm -f conftest.$ac_objext conftest$ac_exeext
69174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69175 (eval $ac_link) 2>conftest.er1
69176 ac_status=$?
69177 grep -v '^ *+' conftest.er1 >conftest.err
69178 rm -f conftest.er1
69179 cat conftest.err >&5
69180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69181 (exit $ac_status); } &&
69182 { ac_try='test -z "$ac_c_werror_flag"
69183 || test ! -s conftest.err'
69184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69185 (eval $ac_try) 2>&5
69186 ac_status=$?
69187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69188 (exit $ac_status); }; } &&
69189 { ac_try='test -s conftest$ac_exeext'
69190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69191 (eval $ac_try) 2>&5
69192 ac_status=$?
69193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69194 (exit $ac_status); }; }; then
69195 eval "$as_ac_var=yes"
69196 else
69197 echo "$as_me: failed program was:" >&5
69198 sed 's/^/| /' conftest.$ac_ext >&5
69200 eval "$as_ac_var=no"
69202 rm -f conftest.err conftest.$ac_objext \
69203 conftest$ac_exeext conftest.$ac_ext
69205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69207 if test `eval echo '${'$as_ac_var'}'` = yes; then
69208 cat >>confdefs.h <<_ACEOF
69209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69210 _ACEOF
69213 done
69223 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
69224 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
69225 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
69226 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
69227 echo $ECHO_N "(cached) $ECHO_C" >&6
69228 else
69232 ac_ext=cc
69233 ac_cpp='$CXXCPP $CPPFLAGS'
69234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69238 cat >conftest.$ac_ext <<_ACEOF
69239 /* confdefs.h. */
69240 _ACEOF
69241 cat confdefs.h >>conftest.$ac_ext
69242 cat >>conftest.$ac_ext <<_ACEOF
69243 /* end confdefs.h. */
69244 #include <math.h>
69245 #ifdef HAVE_IEEEFP_H
69246 #include <ieeefp.h>
69247 #endif
69250 main ()
69252 fabsf(0);
69254 return 0;
69256 _ACEOF
69257 rm -f conftest.$ac_objext
69258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69259 (eval $ac_compile) 2>conftest.er1
69260 ac_status=$?
69261 grep -v '^ *+' conftest.er1 >conftest.err
69262 rm -f conftest.er1
69263 cat conftest.err >&5
69264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69265 (exit $ac_status); } &&
69266 { ac_try='test -z "$ac_cxx_werror_flag"
69267 || test ! -s conftest.err'
69268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69269 (eval $ac_try) 2>&5
69270 ac_status=$?
69271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69272 (exit $ac_status); }; } &&
69273 { ac_try='test -s conftest.$ac_objext'
69274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69275 (eval $ac_try) 2>&5
69276 ac_status=$?
69277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69278 (exit $ac_status); }; }; then
69279 glibcxx_cv_func_fabsf_use=yes
69280 else
69281 echo "$as_me: failed program was:" >&5
69282 sed 's/^/| /' conftest.$ac_ext >&5
69284 glibcxx_cv_func_fabsf_use=no
69286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69287 ac_ext=c
69288 ac_cpp='$CPP $CPPFLAGS'
69289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69297 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
69298 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
69300 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
69302 for ac_func in fabsf
69304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69305 echo "$as_me:$LINENO: checking for $ac_func" >&5
69306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69307 if eval "test \"\${$as_ac_var+set}\" = set"; then
69308 echo $ECHO_N "(cached) $ECHO_C" >&6
69309 else
69310 if test x$gcc_no_link = xyes; then
69311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69313 { (exit 1); exit 1; }; }
69315 cat >conftest.$ac_ext <<_ACEOF
69316 /* confdefs.h. */
69317 _ACEOF
69318 cat confdefs.h >>conftest.$ac_ext
69319 cat >>conftest.$ac_ext <<_ACEOF
69320 /* end confdefs.h. */
69321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69323 #define $ac_func innocuous_$ac_func
69325 /* System header to define __stub macros and hopefully few prototypes,
69326 which can conflict with char $ac_func (); below.
69327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69328 <limits.h> exists even on freestanding compilers. */
69330 #ifdef __STDC__
69331 # include <limits.h>
69332 #else
69333 # include <assert.h>
69334 #endif
69336 #undef $ac_func
69338 /* Override any gcc2 internal prototype to avoid an error. */
69339 #ifdef __cplusplus
69340 extern "C"
69342 #endif
69343 /* We use char because int might match the return type of a gcc2
69344 builtin and then its argument prototype would still apply. */
69345 char $ac_func ();
69346 /* The GNU C library defines this for functions which it implements
69347 to always fail with ENOSYS. Some functions are actually named
69348 something starting with __ and the normal name is an alias. */
69349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69350 choke me
69351 #else
69352 char (*f) () = $ac_func;
69353 #endif
69354 #ifdef __cplusplus
69356 #endif
69359 main ()
69361 return f != $ac_func;
69363 return 0;
69365 _ACEOF
69366 rm -f conftest.$ac_objext conftest$ac_exeext
69367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69368 (eval $ac_link) 2>conftest.er1
69369 ac_status=$?
69370 grep -v '^ *+' conftest.er1 >conftest.err
69371 rm -f conftest.er1
69372 cat conftest.err >&5
69373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69374 (exit $ac_status); } &&
69375 { ac_try='test -z "$ac_c_werror_flag"
69376 || test ! -s conftest.err'
69377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69378 (eval $ac_try) 2>&5
69379 ac_status=$?
69380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69381 (exit $ac_status); }; } &&
69382 { ac_try='test -s conftest$ac_exeext'
69383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69384 (eval $ac_try) 2>&5
69385 ac_status=$?
69386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69387 (exit $ac_status); }; }; then
69388 eval "$as_ac_var=yes"
69389 else
69390 echo "$as_me: failed program was:" >&5
69391 sed 's/^/| /' conftest.$ac_ext >&5
69393 eval "$as_ac_var=no"
69395 rm -f conftest.err conftest.$ac_objext \
69396 conftest$ac_exeext conftest.$ac_ext
69398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69400 if test `eval echo '${'$as_ac_var'}'` = yes; then
69401 cat >>confdefs.h <<_ACEOF
69402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69403 _ACEOF
69406 done
69408 else
69410 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
69411 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
69412 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
69413 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
69414 echo $ECHO_N "(cached) $ECHO_C" >&6
69415 else
69419 ac_ext=cc
69420 ac_cpp='$CXXCPP $CPPFLAGS'
69421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69425 cat >conftest.$ac_ext <<_ACEOF
69426 /* confdefs.h. */
69427 _ACEOF
69428 cat confdefs.h >>conftest.$ac_ext
69429 cat >>conftest.$ac_ext <<_ACEOF
69430 /* end confdefs.h. */
69431 #include <math.h>
69432 #ifdef HAVE_IEEEFP_H
69433 #include <ieeefp.h>
69434 #endif
69437 main ()
69439 _fabsf(0);
69441 return 0;
69443 _ACEOF
69444 rm -f conftest.$ac_objext
69445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69446 (eval $ac_compile) 2>conftest.er1
69447 ac_status=$?
69448 grep -v '^ *+' conftest.er1 >conftest.err
69449 rm -f conftest.er1
69450 cat conftest.err >&5
69451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69452 (exit $ac_status); } &&
69453 { ac_try='test -z "$ac_cxx_werror_flag"
69454 || test ! -s conftest.err'
69455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69456 (eval $ac_try) 2>&5
69457 ac_status=$?
69458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69459 (exit $ac_status); }; } &&
69460 { ac_try='test -s conftest.$ac_objext'
69461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69462 (eval $ac_try) 2>&5
69463 ac_status=$?
69464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69465 (exit $ac_status); }; }; then
69466 glibcxx_cv_func__fabsf_use=yes
69467 else
69468 echo "$as_me: failed program was:" >&5
69469 sed 's/^/| /' conftest.$ac_ext >&5
69471 glibcxx_cv_func__fabsf_use=no
69473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69474 ac_ext=c
69475 ac_cpp='$CPP $CPPFLAGS'
69476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69484 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
69485 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
69487 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
69489 for ac_func in _fabsf
69491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69492 echo "$as_me:$LINENO: checking for $ac_func" >&5
69493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69494 if eval "test \"\${$as_ac_var+set}\" = set"; then
69495 echo $ECHO_N "(cached) $ECHO_C" >&6
69496 else
69497 if test x$gcc_no_link = xyes; then
69498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69500 { (exit 1); exit 1; }; }
69502 cat >conftest.$ac_ext <<_ACEOF
69503 /* confdefs.h. */
69504 _ACEOF
69505 cat confdefs.h >>conftest.$ac_ext
69506 cat >>conftest.$ac_ext <<_ACEOF
69507 /* end confdefs.h. */
69508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69510 #define $ac_func innocuous_$ac_func
69512 /* System header to define __stub macros and hopefully few prototypes,
69513 which can conflict with char $ac_func (); below.
69514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69515 <limits.h> exists even on freestanding compilers. */
69517 #ifdef __STDC__
69518 # include <limits.h>
69519 #else
69520 # include <assert.h>
69521 #endif
69523 #undef $ac_func
69525 /* Override any gcc2 internal prototype to avoid an error. */
69526 #ifdef __cplusplus
69527 extern "C"
69529 #endif
69530 /* We use char because int might match the return type of a gcc2
69531 builtin and then its argument prototype would still apply. */
69532 char $ac_func ();
69533 /* The GNU C library defines this for functions which it implements
69534 to always fail with ENOSYS. Some functions are actually named
69535 something starting with __ and the normal name is an alias. */
69536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69537 choke me
69538 #else
69539 char (*f) () = $ac_func;
69540 #endif
69541 #ifdef __cplusplus
69543 #endif
69546 main ()
69548 return f != $ac_func;
69550 return 0;
69552 _ACEOF
69553 rm -f conftest.$ac_objext conftest$ac_exeext
69554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69555 (eval $ac_link) 2>conftest.er1
69556 ac_status=$?
69557 grep -v '^ *+' conftest.er1 >conftest.err
69558 rm -f conftest.er1
69559 cat conftest.err >&5
69560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69561 (exit $ac_status); } &&
69562 { ac_try='test -z "$ac_c_werror_flag"
69563 || test ! -s conftest.err'
69564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69565 (eval $ac_try) 2>&5
69566 ac_status=$?
69567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69568 (exit $ac_status); }; } &&
69569 { ac_try='test -s conftest$ac_exeext'
69570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69571 (eval $ac_try) 2>&5
69572 ac_status=$?
69573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69574 (exit $ac_status); }; }; then
69575 eval "$as_ac_var=yes"
69576 else
69577 echo "$as_me: failed program was:" >&5
69578 sed 's/^/| /' conftest.$ac_ext >&5
69580 eval "$as_ac_var=no"
69582 rm -f conftest.err conftest.$ac_objext \
69583 conftest$ac_exeext conftest.$ac_ext
69585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69587 if test `eval echo '${'$as_ac_var'}'` = yes; then
69588 cat >>confdefs.h <<_ACEOF
69589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69590 _ACEOF
69593 done
69603 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
69604 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
69605 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
69606 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
69607 echo $ECHO_N "(cached) $ECHO_C" >&6
69608 else
69612 ac_ext=cc
69613 ac_cpp='$CXXCPP $CPPFLAGS'
69614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69618 cat >conftest.$ac_ext <<_ACEOF
69619 /* confdefs.h. */
69620 _ACEOF
69621 cat confdefs.h >>conftest.$ac_ext
69622 cat >>conftest.$ac_ext <<_ACEOF
69623 /* end confdefs.h. */
69624 #include <math.h>
69626 main ()
69628 fmodf(0, 0);
69630 return 0;
69632 _ACEOF
69633 rm -f conftest.$ac_objext
69634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69635 (eval $ac_compile) 2>conftest.er1
69636 ac_status=$?
69637 grep -v '^ *+' conftest.er1 >conftest.err
69638 rm -f conftest.er1
69639 cat conftest.err >&5
69640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69641 (exit $ac_status); } &&
69642 { ac_try='test -z "$ac_cxx_werror_flag"
69643 || test ! -s conftest.err'
69644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69645 (eval $ac_try) 2>&5
69646 ac_status=$?
69647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69648 (exit $ac_status); }; } &&
69649 { ac_try='test -s conftest.$ac_objext'
69650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69651 (eval $ac_try) 2>&5
69652 ac_status=$?
69653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69654 (exit $ac_status); }; }; then
69655 glibcxx_cv_func_fmodf_use=yes
69656 else
69657 echo "$as_me: failed program was:" >&5
69658 sed 's/^/| /' conftest.$ac_ext >&5
69660 glibcxx_cv_func_fmodf_use=no
69662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69663 ac_ext=c
69664 ac_cpp='$CPP $CPPFLAGS'
69665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69673 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
69674 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
69676 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
69678 for ac_func in fmodf
69680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69681 echo "$as_me:$LINENO: checking for $ac_func" >&5
69682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69683 if eval "test \"\${$as_ac_var+set}\" = set"; then
69684 echo $ECHO_N "(cached) $ECHO_C" >&6
69685 else
69686 if test x$gcc_no_link = xyes; then
69687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69689 { (exit 1); exit 1; }; }
69691 cat >conftest.$ac_ext <<_ACEOF
69692 /* confdefs.h. */
69693 _ACEOF
69694 cat confdefs.h >>conftest.$ac_ext
69695 cat >>conftest.$ac_ext <<_ACEOF
69696 /* end confdefs.h. */
69697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69699 #define $ac_func innocuous_$ac_func
69701 /* System header to define __stub macros and hopefully few prototypes,
69702 which can conflict with char $ac_func (); below.
69703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69704 <limits.h> exists even on freestanding compilers. */
69706 #ifdef __STDC__
69707 # include <limits.h>
69708 #else
69709 # include <assert.h>
69710 #endif
69712 #undef $ac_func
69714 /* Override any gcc2 internal prototype to avoid an error. */
69715 #ifdef __cplusplus
69716 extern "C"
69718 #endif
69719 /* We use char because int might match the return type of a gcc2
69720 builtin and then its argument prototype would still apply. */
69721 char $ac_func ();
69722 /* The GNU C library defines this for functions which it implements
69723 to always fail with ENOSYS. Some functions are actually named
69724 something starting with __ and the normal name is an alias. */
69725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69726 choke me
69727 #else
69728 char (*f) () = $ac_func;
69729 #endif
69730 #ifdef __cplusplus
69732 #endif
69735 main ()
69737 return f != $ac_func;
69739 return 0;
69741 _ACEOF
69742 rm -f conftest.$ac_objext conftest$ac_exeext
69743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69744 (eval $ac_link) 2>conftest.er1
69745 ac_status=$?
69746 grep -v '^ *+' conftest.er1 >conftest.err
69747 rm -f conftest.er1
69748 cat conftest.err >&5
69749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69750 (exit $ac_status); } &&
69751 { ac_try='test -z "$ac_c_werror_flag"
69752 || test ! -s conftest.err'
69753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69754 (eval $ac_try) 2>&5
69755 ac_status=$?
69756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69757 (exit $ac_status); }; } &&
69758 { ac_try='test -s conftest$ac_exeext'
69759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69760 (eval $ac_try) 2>&5
69761 ac_status=$?
69762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69763 (exit $ac_status); }; }; then
69764 eval "$as_ac_var=yes"
69765 else
69766 echo "$as_me: failed program was:" >&5
69767 sed 's/^/| /' conftest.$ac_ext >&5
69769 eval "$as_ac_var=no"
69771 rm -f conftest.err conftest.$ac_objext \
69772 conftest$ac_exeext conftest.$ac_ext
69774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69776 if test `eval echo '${'$as_ac_var'}'` = yes; then
69777 cat >>confdefs.h <<_ACEOF
69778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69779 _ACEOF
69782 done
69784 else
69786 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
69787 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
69788 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
69789 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
69790 echo $ECHO_N "(cached) $ECHO_C" >&6
69791 else
69795 ac_ext=cc
69796 ac_cpp='$CXXCPP $CPPFLAGS'
69797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69801 cat >conftest.$ac_ext <<_ACEOF
69802 /* confdefs.h. */
69803 _ACEOF
69804 cat confdefs.h >>conftest.$ac_ext
69805 cat >>conftest.$ac_ext <<_ACEOF
69806 /* end confdefs.h. */
69807 #include <math.h>
69809 main ()
69811 _fmodf(0, 0);
69813 return 0;
69815 _ACEOF
69816 rm -f conftest.$ac_objext
69817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69818 (eval $ac_compile) 2>conftest.er1
69819 ac_status=$?
69820 grep -v '^ *+' conftest.er1 >conftest.err
69821 rm -f conftest.er1
69822 cat conftest.err >&5
69823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69824 (exit $ac_status); } &&
69825 { ac_try='test -z "$ac_cxx_werror_flag"
69826 || test ! -s conftest.err'
69827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69828 (eval $ac_try) 2>&5
69829 ac_status=$?
69830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69831 (exit $ac_status); }; } &&
69832 { ac_try='test -s conftest.$ac_objext'
69833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69834 (eval $ac_try) 2>&5
69835 ac_status=$?
69836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69837 (exit $ac_status); }; }; then
69838 glibcxx_cv_func__fmodf_use=yes
69839 else
69840 echo "$as_me: failed program was:" >&5
69841 sed 's/^/| /' conftest.$ac_ext >&5
69843 glibcxx_cv_func__fmodf_use=no
69845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69846 ac_ext=c
69847 ac_cpp='$CPP $CPPFLAGS'
69848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69856 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
69857 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
69859 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
69861 for ac_func in _fmodf
69863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69864 echo "$as_me:$LINENO: checking for $ac_func" >&5
69865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69866 if eval "test \"\${$as_ac_var+set}\" = set"; then
69867 echo $ECHO_N "(cached) $ECHO_C" >&6
69868 else
69869 if test x$gcc_no_link = xyes; then
69870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69872 { (exit 1); exit 1; }; }
69874 cat >conftest.$ac_ext <<_ACEOF
69875 /* confdefs.h. */
69876 _ACEOF
69877 cat confdefs.h >>conftest.$ac_ext
69878 cat >>conftest.$ac_ext <<_ACEOF
69879 /* end confdefs.h. */
69880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69882 #define $ac_func innocuous_$ac_func
69884 /* System header to define __stub macros and hopefully few prototypes,
69885 which can conflict with char $ac_func (); below.
69886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69887 <limits.h> exists even on freestanding compilers. */
69889 #ifdef __STDC__
69890 # include <limits.h>
69891 #else
69892 # include <assert.h>
69893 #endif
69895 #undef $ac_func
69897 /* Override any gcc2 internal prototype to avoid an error. */
69898 #ifdef __cplusplus
69899 extern "C"
69901 #endif
69902 /* We use char because int might match the return type of a gcc2
69903 builtin and then its argument prototype would still apply. */
69904 char $ac_func ();
69905 /* The GNU C library defines this for functions which it implements
69906 to always fail with ENOSYS. Some functions are actually named
69907 something starting with __ and the normal name is an alias. */
69908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69909 choke me
69910 #else
69911 char (*f) () = $ac_func;
69912 #endif
69913 #ifdef __cplusplus
69915 #endif
69918 main ()
69920 return f != $ac_func;
69922 return 0;
69924 _ACEOF
69925 rm -f conftest.$ac_objext conftest$ac_exeext
69926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69927 (eval $ac_link) 2>conftest.er1
69928 ac_status=$?
69929 grep -v '^ *+' conftest.er1 >conftest.err
69930 rm -f conftest.er1
69931 cat conftest.err >&5
69932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69933 (exit $ac_status); } &&
69934 { ac_try='test -z "$ac_c_werror_flag"
69935 || test ! -s conftest.err'
69936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69937 (eval $ac_try) 2>&5
69938 ac_status=$?
69939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69940 (exit $ac_status); }; } &&
69941 { ac_try='test -s conftest$ac_exeext'
69942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69943 (eval $ac_try) 2>&5
69944 ac_status=$?
69945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69946 (exit $ac_status); }; }; then
69947 eval "$as_ac_var=yes"
69948 else
69949 echo "$as_me: failed program was:" >&5
69950 sed 's/^/| /' conftest.$ac_ext >&5
69952 eval "$as_ac_var=no"
69954 rm -f conftest.err conftest.$ac_objext \
69955 conftest$ac_exeext conftest.$ac_ext
69957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69959 if test `eval echo '${'$as_ac_var'}'` = yes; then
69960 cat >>confdefs.h <<_ACEOF
69961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69962 _ACEOF
69965 done
69975 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
69976 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
69977 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
69978 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
69979 echo $ECHO_N "(cached) $ECHO_C" >&6
69980 else
69984 ac_ext=cc
69985 ac_cpp='$CXXCPP $CPPFLAGS'
69986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69990 cat >conftest.$ac_ext <<_ACEOF
69991 /* confdefs.h. */
69992 _ACEOF
69993 cat confdefs.h >>conftest.$ac_ext
69994 cat >>conftest.$ac_ext <<_ACEOF
69995 /* end confdefs.h. */
69996 #include <math.h>
69998 main ()
70000 frexpf(0, 0);
70002 return 0;
70004 _ACEOF
70005 rm -f conftest.$ac_objext
70006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70007 (eval $ac_compile) 2>conftest.er1
70008 ac_status=$?
70009 grep -v '^ *+' conftest.er1 >conftest.err
70010 rm -f conftest.er1
70011 cat conftest.err >&5
70012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70013 (exit $ac_status); } &&
70014 { ac_try='test -z "$ac_cxx_werror_flag"
70015 || test ! -s conftest.err'
70016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70017 (eval $ac_try) 2>&5
70018 ac_status=$?
70019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70020 (exit $ac_status); }; } &&
70021 { ac_try='test -s conftest.$ac_objext'
70022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70023 (eval $ac_try) 2>&5
70024 ac_status=$?
70025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70026 (exit $ac_status); }; }; then
70027 glibcxx_cv_func_frexpf_use=yes
70028 else
70029 echo "$as_me: failed program was:" >&5
70030 sed 's/^/| /' conftest.$ac_ext >&5
70032 glibcxx_cv_func_frexpf_use=no
70034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70035 ac_ext=c
70036 ac_cpp='$CPP $CPPFLAGS'
70037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70045 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
70046 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
70048 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
70050 for ac_func in frexpf
70052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70053 echo "$as_me:$LINENO: checking for $ac_func" >&5
70054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70055 if eval "test \"\${$as_ac_var+set}\" = set"; then
70056 echo $ECHO_N "(cached) $ECHO_C" >&6
70057 else
70058 if test x$gcc_no_link = xyes; then
70059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70061 { (exit 1); exit 1; }; }
70063 cat >conftest.$ac_ext <<_ACEOF
70064 /* confdefs.h. */
70065 _ACEOF
70066 cat confdefs.h >>conftest.$ac_ext
70067 cat >>conftest.$ac_ext <<_ACEOF
70068 /* end confdefs.h. */
70069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70071 #define $ac_func innocuous_$ac_func
70073 /* System header to define __stub macros and hopefully few prototypes,
70074 which can conflict with char $ac_func (); below.
70075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70076 <limits.h> exists even on freestanding compilers. */
70078 #ifdef __STDC__
70079 # include <limits.h>
70080 #else
70081 # include <assert.h>
70082 #endif
70084 #undef $ac_func
70086 /* Override any gcc2 internal prototype to avoid an error. */
70087 #ifdef __cplusplus
70088 extern "C"
70090 #endif
70091 /* We use char because int might match the return type of a gcc2
70092 builtin and then its argument prototype would still apply. */
70093 char $ac_func ();
70094 /* The GNU C library defines this for functions which it implements
70095 to always fail with ENOSYS. Some functions are actually named
70096 something starting with __ and the normal name is an alias. */
70097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70098 choke me
70099 #else
70100 char (*f) () = $ac_func;
70101 #endif
70102 #ifdef __cplusplus
70104 #endif
70107 main ()
70109 return f != $ac_func;
70111 return 0;
70113 _ACEOF
70114 rm -f conftest.$ac_objext conftest$ac_exeext
70115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70116 (eval $ac_link) 2>conftest.er1
70117 ac_status=$?
70118 grep -v '^ *+' conftest.er1 >conftest.err
70119 rm -f conftest.er1
70120 cat conftest.err >&5
70121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70122 (exit $ac_status); } &&
70123 { ac_try='test -z "$ac_c_werror_flag"
70124 || test ! -s conftest.err'
70125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70126 (eval $ac_try) 2>&5
70127 ac_status=$?
70128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70129 (exit $ac_status); }; } &&
70130 { ac_try='test -s conftest$ac_exeext'
70131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70132 (eval $ac_try) 2>&5
70133 ac_status=$?
70134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70135 (exit $ac_status); }; }; then
70136 eval "$as_ac_var=yes"
70137 else
70138 echo "$as_me: failed program was:" >&5
70139 sed 's/^/| /' conftest.$ac_ext >&5
70141 eval "$as_ac_var=no"
70143 rm -f conftest.err conftest.$ac_objext \
70144 conftest$ac_exeext conftest.$ac_ext
70146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70148 if test `eval echo '${'$as_ac_var'}'` = yes; then
70149 cat >>confdefs.h <<_ACEOF
70150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70151 _ACEOF
70154 done
70156 else
70158 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
70159 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
70160 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
70161 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
70162 echo $ECHO_N "(cached) $ECHO_C" >&6
70163 else
70167 ac_ext=cc
70168 ac_cpp='$CXXCPP $CPPFLAGS'
70169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70173 cat >conftest.$ac_ext <<_ACEOF
70174 /* confdefs.h. */
70175 _ACEOF
70176 cat confdefs.h >>conftest.$ac_ext
70177 cat >>conftest.$ac_ext <<_ACEOF
70178 /* end confdefs.h. */
70179 #include <math.h>
70181 main ()
70183 _frexpf(0, 0);
70185 return 0;
70187 _ACEOF
70188 rm -f conftest.$ac_objext
70189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70190 (eval $ac_compile) 2>conftest.er1
70191 ac_status=$?
70192 grep -v '^ *+' conftest.er1 >conftest.err
70193 rm -f conftest.er1
70194 cat conftest.err >&5
70195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70196 (exit $ac_status); } &&
70197 { ac_try='test -z "$ac_cxx_werror_flag"
70198 || test ! -s conftest.err'
70199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70200 (eval $ac_try) 2>&5
70201 ac_status=$?
70202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70203 (exit $ac_status); }; } &&
70204 { ac_try='test -s conftest.$ac_objext'
70205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70206 (eval $ac_try) 2>&5
70207 ac_status=$?
70208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70209 (exit $ac_status); }; }; then
70210 glibcxx_cv_func__frexpf_use=yes
70211 else
70212 echo "$as_me: failed program was:" >&5
70213 sed 's/^/| /' conftest.$ac_ext >&5
70215 glibcxx_cv_func__frexpf_use=no
70217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70218 ac_ext=c
70219 ac_cpp='$CPP $CPPFLAGS'
70220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70228 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
70229 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
70231 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
70233 for ac_func in _frexpf
70235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70236 echo "$as_me:$LINENO: checking for $ac_func" >&5
70237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70238 if eval "test \"\${$as_ac_var+set}\" = set"; then
70239 echo $ECHO_N "(cached) $ECHO_C" >&6
70240 else
70241 if test x$gcc_no_link = xyes; then
70242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70244 { (exit 1); exit 1; }; }
70246 cat >conftest.$ac_ext <<_ACEOF
70247 /* confdefs.h. */
70248 _ACEOF
70249 cat confdefs.h >>conftest.$ac_ext
70250 cat >>conftest.$ac_ext <<_ACEOF
70251 /* end confdefs.h. */
70252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70254 #define $ac_func innocuous_$ac_func
70256 /* System header to define __stub macros and hopefully few prototypes,
70257 which can conflict with char $ac_func (); below.
70258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70259 <limits.h> exists even on freestanding compilers. */
70261 #ifdef __STDC__
70262 # include <limits.h>
70263 #else
70264 # include <assert.h>
70265 #endif
70267 #undef $ac_func
70269 /* Override any gcc2 internal prototype to avoid an error. */
70270 #ifdef __cplusplus
70271 extern "C"
70273 #endif
70274 /* We use char because int might match the return type of a gcc2
70275 builtin and then its argument prototype would still apply. */
70276 char $ac_func ();
70277 /* The GNU C library defines this for functions which it implements
70278 to always fail with ENOSYS. Some functions are actually named
70279 something starting with __ and the normal name is an alias. */
70280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70281 choke me
70282 #else
70283 char (*f) () = $ac_func;
70284 #endif
70285 #ifdef __cplusplus
70287 #endif
70290 main ()
70292 return f != $ac_func;
70294 return 0;
70296 _ACEOF
70297 rm -f conftest.$ac_objext conftest$ac_exeext
70298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70299 (eval $ac_link) 2>conftest.er1
70300 ac_status=$?
70301 grep -v '^ *+' conftest.er1 >conftest.err
70302 rm -f conftest.er1
70303 cat conftest.err >&5
70304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70305 (exit $ac_status); } &&
70306 { ac_try='test -z "$ac_c_werror_flag"
70307 || test ! -s conftest.err'
70308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70309 (eval $ac_try) 2>&5
70310 ac_status=$?
70311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70312 (exit $ac_status); }; } &&
70313 { ac_try='test -s conftest$ac_exeext'
70314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70315 (eval $ac_try) 2>&5
70316 ac_status=$?
70317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70318 (exit $ac_status); }; }; then
70319 eval "$as_ac_var=yes"
70320 else
70321 echo "$as_me: failed program was:" >&5
70322 sed 's/^/| /' conftest.$ac_ext >&5
70324 eval "$as_ac_var=no"
70326 rm -f conftest.err conftest.$ac_objext \
70327 conftest$ac_exeext conftest.$ac_ext
70329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70331 if test `eval echo '${'$as_ac_var'}'` = yes; then
70332 cat >>confdefs.h <<_ACEOF
70333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70334 _ACEOF
70337 done
70347 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
70348 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
70349 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
70350 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
70351 echo $ECHO_N "(cached) $ECHO_C" >&6
70352 else
70356 ac_ext=cc
70357 ac_cpp='$CXXCPP $CPPFLAGS'
70358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70362 cat >conftest.$ac_ext <<_ACEOF
70363 /* confdefs.h. */
70364 _ACEOF
70365 cat confdefs.h >>conftest.$ac_ext
70366 cat >>conftest.$ac_ext <<_ACEOF
70367 /* end confdefs.h. */
70368 #include <math.h>
70370 main ()
70372 hypotf(0, 0);
70374 return 0;
70376 _ACEOF
70377 rm -f conftest.$ac_objext
70378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70379 (eval $ac_compile) 2>conftest.er1
70380 ac_status=$?
70381 grep -v '^ *+' conftest.er1 >conftest.err
70382 rm -f conftest.er1
70383 cat conftest.err >&5
70384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70385 (exit $ac_status); } &&
70386 { ac_try='test -z "$ac_cxx_werror_flag"
70387 || test ! -s conftest.err'
70388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70389 (eval $ac_try) 2>&5
70390 ac_status=$?
70391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70392 (exit $ac_status); }; } &&
70393 { ac_try='test -s conftest.$ac_objext'
70394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70395 (eval $ac_try) 2>&5
70396 ac_status=$?
70397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70398 (exit $ac_status); }; }; then
70399 glibcxx_cv_func_hypotf_use=yes
70400 else
70401 echo "$as_me: failed program was:" >&5
70402 sed 's/^/| /' conftest.$ac_ext >&5
70404 glibcxx_cv_func_hypotf_use=no
70406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70407 ac_ext=c
70408 ac_cpp='$CPP $CPPFLAGS'
70409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70417 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
70418 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
70420 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
70422 for ac_func in hypotf
70424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70425 echo "$as_me:$LINENO: checking for $ac_func" >&5
70426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70427 if eval "test \"\${$as_ac_var+set}\" = set"; then
70428 echo $ECHO_N "(cached) $ECHO_C" >&6
70429 else
70430 if test x$gcc_no_link = xyes; then
70431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70433 { (exit 1); exit 1; }; }
70435 cat >conftest.$ac_ext <<_ACEOF
70436 /* confdefs.h. */
70437 _ACEOF
70438 cat confdefs.h >>conftest.$ac_ext
70439 cat >>conftest.$ac_ext <<_ACEOF
70440 /* end confdefs.h. */
70441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70443 #define $ac_func innocuous_$ac_func
70445 /* System header to define __stub macros and hopefully few prototypes,
70446 which can conflict with char $ac_func (); below.
70447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70448 <limits.h> exists even on freestanding compilers. */
70450 #ifdef __STDC__
70451 # include <limits.h>
70452 #else
70453 # include <assert.h>
70454 #endif
70456 #undef $ac_func
70458 /* Override any gcc2 internal prototype to avoid an error. */
70459 #ifdef __cplusplus
70460 extern "C"
70462 #endif
70463 /* We use char because int might match the return type of a gcc2
70464 builtin and then its argument prototype would still apply. */
70465 char $ac_func ();
70466 /* The GNU C library defines this for functions which it implements
70467 to always fail with ENOSYS. Some functions are actually named
70468 something starting with __ and the normal name is an alias. */
70469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70470 choke me
70471 #else
70472 char (*f) () = $ac_func;
70473 #endif
70474 #ifdef __cplusplus
70476 #endif
70479 main ()
70481 return f != $ac_func;
70483 return 0;
70485 _ACEOF
70486 rm -f conftest.$ac_objext conftest$ac_exeext
70487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70488 (eval $ac_link) 2>conftest.er1
70489 ac_status=$?
70490 grep -v '^ *+' conftest.er1 >conftest.err
70491 rm -f conftest.er1
70492 cat conftest.err >&5
70493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70494 (exit $ac_status); } &&
70495 { ac_try='test -z "$ac_c_werror_flag"
70496 || test ! -s conftest.err'
70497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70498 (eval $ac_try) 2>&5
70499 ac_status=$?
70500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70501 (exit $ac_status); }; } &&
70502 { ac_try='test -s conftest$ac_exeext'
70503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70504 (eval $ac_try) 2>&5
70505 ac_status=$?
70506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70507 (exit $ac_status); }; }; then
70508 eval "$as_ac_var=yes"
70509 else
70510 echo "$as_me: failed program was:" >&5
70511 sed 's/^/| /' conftest.$ac_ext >&5
70513 eval "$as_ac_var=no"
70515 rm -f conftest.err conftest.$ac_objext \
70516 conftest$ac_exeext conftest.$ac_ext
70518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70520 if test `eval echo '${'$as_ac_var'}'` = yes; then
70521 cat >>confdefs.h <<_ACEOF
70522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70523 _ACEOF
70526 done
70528 else
70530 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
70531 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
70532 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
70533 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
70534 echo $ECHO_N "(cached) $ECHO_C" >&6
70535 else
70539 ac_ext=cc
70540 ac_cpp='$CXXCPP $CPPFLAGS'
70541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70545 cat >conftest.$ac_ext <<_ACEOF
70546 /* confdefs.h. */
70547 _ACEOF
70548 cat confdefs.h >>conftest.$ac_ext
70549 cat >>conftest.$ac_ext <<_ACEOF
70550 /* end confdefs.h. */
70551 #include <math.h>
70553 main ()
70555 _hypotf(0, 0);
70557 return 0;
70559 _ACEOF
70560 rm -f conftest.$ac_objext
70561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70562 (eval $ac_compile) 2>conftest.er1
70563 ac_status=$?
70564 grep -v '^ *+' conftest.er1 >conftest.err
70565 rm -f conftest.er1
70566 cat conftest.err >&5
70567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70568 (exit $ac_status); } &&
70569 { ac_try='test -z "$ac_cxx_werror_flag"
70570 || test ! -s conftest.err'
70571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70572 (eval $ac_try) 2>&5
70573 ac_status=$?
70574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70575 (exit $ac_status); }; } &&
70576 { ac_try='test -s conftest.$ac_objext'
70577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70578 (eval $ac_try) 2>&5
70579 ac_status=$?
70580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70581 (exit $ac_status); }; }; then
70582 glibcxx_cv_func__hypotf_use=yes
70583 else
70584 echo "$as_me: failed program was:" >&5
70585 sed 's/^/| /' conftest.$ac_ext >&5
70587 glibcxx_cv_func__hypotf_use=no
70589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70590 ac_ext=c
70591 ac_cpp='$CPP $CPPFLAGS'
70592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70600 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
70601 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
70603 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
70605 for ac_func in _hypotf
70607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70608 echo "$as_me:$LINENO: checking for $ac_func" >&5
70609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70610 if eval "test \"\${$as_ac_var+set}\" = set"; then
70611 echo $ECHO_N "(cached) $ECHO_C" >&6
70612 else
70613 if test x$gcc_no_link = xyes; then
70614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70616 { (exit 1); exit 1; }; }
70618 cat >conftest.$ac_ext <<_ACEOF
70619 /* confdefs.h. */
70620 _ACEOF
70621 cat confdefs.h >>conftest.$ac_ext
70622 cat >>conftest.$ac_ext <<_ACEOF
70623 /* end confdefs.h. */
70624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70626 #define $ac_func innocuous_$ac_func
70628 /* System header to define __stub macros and hopefully few prototypes,
70629 which can conflict with char $ac_func (); below.
70630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70631 <limits.h> exists even on freestanding compilers. */
70633 #ifdef __STDC__
70634 # include <limits.h>
70635 #else
70636 # include <assert.h>
70637 #endif
70639 #undef $ac_func
70641 /* Override any gcc2 internal prototype to avoid an error. */
70642 #ifdef __cplusplus
70643 extern "C"
70645 #endif
70646 /* We use char because int might match the return type of a gcc2
70647 builtin and then its argument prototype would still apply. */
70648 char $ac_func ();
70649 /* The GNU C library defines this for functions which it implements
70650 to always fail with ENOSYS. Some functions are actually named
70651 something starting with __ and the normal name is an alias. */
70652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70653 choke me
70654 #else
70655 char (*f) () = $ac_func;
70656 #endif
70657 #ifdef __cplusplus
70659 #endif
70662 main ()
70664 return f != $ac_func;
70666 return 0;
70668 _ACEOF
70669 rm -f conftest.$ac_objext conftest$ac_exeext
70670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70671 (eval $ac_link) 2>conftest.er1
70672 ac_status=$?
70673 grep -v '^ *+' conftest.er1 >conftest.err
70674 rm -f conftest.er1
70675 cat conftest.err >&5
70676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70677 (exit $ac_status); } &&
70678 { ac_try='test -z "$ac_c_werror_flag"
70679 || test ! -s conftest.err'
70680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70681 (eval $ac_try) 2>&5
70682 ac_status=$?
70683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70684 (exit $ac_status); }; } &&
70685 { ac_try='test -s conftest$ac_exeext'
70686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70687 (eval $ac_try) 2>&5
70688 ac_status=$?
70689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70690 (exit $ac_status); }; }; then
70691 eval "$as_ac_var=yes"
70692 else
70693 echo "$as_me: failed program was:" >&5
70694 sed 's/^/| /' conftest.$ac_ext >&5
70696 eval "$as_ac_var=no"
70698 rm -f conftest.err conftest.$ac_objext \
70699 conftest$ac_exeext conftest.$ac_ext
70701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70703 if test `eval echo '${'$as_ac_var'}'` = yes; then
70704 cat >>confdefs.h <<_ACEOF
70705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70706 _ACEOF
70709 done
70719 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
70720 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
70721 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
70722 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
70723 echo $ECHO_N "(cached) $ECHO_C" >&6
70724 else
70728 ac_ext=cc
70729 ac_cpp='$CXXCPP $CPPFLAGS'
70730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70734 cat >conftest.$ac_ext <<_ACEOF
70735 /* confdefs.h. */
70736 _ACEOF
70737 cat confdefs.h >>conftest.$ac_ext
70738 cat >>conftest.$ac_ext <<_ACEOF
70739 /* end confdefs.h. */
70740 #include <math.h>
70742 main ()
70744 ldexpf(0, 0);
70746 return 0;
70748 _ACEOF
70749 rm -f conftest.$ac_objext
70750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70751 (eval $ac_compile) 2>conftest.er1
70752 ac_status=$?
70753 grep -v '^ *+' conftest.er1 >conftest.err
70754 rm -f conftest.er1
70755 cat conftest.err >&5
70756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70757 (exit $ac_status); } &&
70758 { ac_try='test -z "$ac_cxx_werror_flag"
70759 || test ! -s conftest.err'
70760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70761 (eval $ac_try) 2>&5
70762 ac_status=$?
70763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70764 (exit $ac_status); }; } &&
70765 { ac_try='test -s conftest.$ac_objext'
70766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70767 (eval $ac_try) 2>&5
70768 ac_status=$?
70769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70770 (exit $ac_status); }; }; then
70771 glibcxx_cv_func_ldexpf_use=yes
70772 else
70773 echo "$as_me: failed program was:" >&5
70774 sed 's/^/| /' conftest.$ac_ext >&5
70776 glibcxx_cv_func_ldexpf_use=no
70778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70779 ac_ext=c
70780 ac_cpp='$CPP $CPPFLAGS'
70781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70789 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
70790 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
70792 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
70794 for ac_func in ldexpf
70796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70797 echo "$as_me:$LINENO: checking for $ac_func" >&5
70798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70799 if eval "test \"\${$as_ac_var+set}\" = set"; then
70800 echo $ECHO_N "(cached) $ECHO_C" >&6
70801 else
70802 if test x$gcc_no_link = xyes; then
70803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70805 { (exit 1); exit 1; }; }
70807 cat >conftest.$ac_ext <<_ACEOF
70808 /* confdefs.h. */
70809 _ACEOF
70810 cat confdefs.h >>conftest.$ac_ext
70811 cat >>conftest.$ac_ext <<_ACEOF
70812 /* end confdefs.h. */
70813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70815 #define $ac_func innocuous_$ac_func
70817 /* System header to define __stub macros and hopefully few prototypes,
70818 which can conflict with char $ac_func (); below.
70819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70820 <limits.h> exists even on freestanding compilers. */
70822 #ifdef __STDC__
70823 # include <limits.h>
70824 #else
70825 # include <assert.h>
70826 #endif
70828 #undef $ac_func
70830 /* Override any gcc2 internal prototype to avoid an error. */
70831 #ifdef __cplusplus
70832 extern "C"
70834 #endif
70835 /* We use char because int might match the return type of a gcc2
70836 builtin and then its argument prototype would still apply. */
70837 char $ac_func ();
70838 /* The GNU C library defines this for functions which it implements
70839 to always fail with ENOSYS. Some functions are actually named
70840 something starting with __ and the normal name is an alias. */
70841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70842 choke me
70843 #else
70844 char (*f) () = $ac_func;
70845 #endif
70846 #ifdef __cplusplus
70848 #endif
70851 main ()
70853 return f != $ac_func;
70855 return 0;
70857 _ACEOF
70858 rm -f conftest.$ac_objext conftest$ac_exeext
70859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70860 (eval $ac_link) 2>conftest.er1
70861 ac_status=$?
70862 grep -v '^ *+' conftest.er1 >conftest.err
70863 rm -f conftest.er1
70864 cat conftest.err >&5
70865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70866 (exit $ac_status); } &&
70867 { ac_try='test -z "$ac_c_werror_flag"
70868 || test ! -s conftest.err'
70869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70870 (eval $ac_try) 2>&5
70871 ac_status=$?
70872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70873 (exit $ac_status); }; } &&
70874 { ac_try='test -s conftest$ac_exeext'
70875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70876 (eval $ac_try) 2>&5
70877 ac_status=$?
70878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70879 (exit $ac_status); }; }; then
70880 eval "$as_ac_var=yes"
70881 else
70882 echo "$as_me: failed program was:" >&5
70883 sed 's/^/| /' conftest.$ac_ext >&5
70885 eval "$as_ac_var=no"
70887 rm -f conftest.err conftest.$ac_objext \
70888 conftest$ac_exeext conftest.$ac_ext
70890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70892 if test `eval echo '${'$as_ac_var'}'` = yes; then
70893 cat >>confdefs.h <<_ACEOF
70894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70895 _ACEOF
70898 done
70900 else
70902 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
70903 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
70904 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
70905 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
70906 echo $ECHO_N "(cached) $ECHO_C" >&6
70907 else
70911 ac_ext=cc
70912 ac_cpp='$CXXCPP $CPPFLAGS'
70913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70917 cat >conftest.$ac_ext <<_ACEOF
70918 /* confdefs.h. */
70919 _ACEOF
70920 cat confdefs.h >>conftest.$ac_ext
70921 cat >>conftest.$ac_ext <<_ACEOF
70922 /* end confdefs.h. */
70923 #include <math.h>
70925 main ()
70927 _ldexpf(0, 0);
70929 return 0;
70931 _ACEOF
70932 rm -f conftest.$ac_objext
70933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70934 (eval $ac_compile) 2>conftest.er1
70935 ac_status=$?
70936 grep -v '^ *+' conftest.er1 >conftest.err
70937 rm -f conftest.er1
70938 cat conftest.err >&5
70939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70940 (exit $ac_status); } &&
70941 { ac_try='test -z "$ac_cxx_werror_flag"
70942 || test ! -s conftest.err'
70943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70944 (eval $ac_try) 2>&5
70945 ac_status=$?
70946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70947 (exit $ac_status); }; } &&
70948 { ac_try='test -s conftest.$ac_objext'
70949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70950 (eval $ac_try) 2>&5
70951 ac_status=$?
70952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70953 (exit $ac_status); }; }; then
70954 glibcxx_cv_func__ldexpf_use=yes
70955 else
70956 echo "$as_me: failed program was:" >&5
70957 sed 's/^/| /' conftest.$ac_ext >&5
70959 glibcxx_cv_func__ldexpf_use=no
70961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70962 ac_ext=c
70963 ac_cpp='$CPP $CPPFLAGS'
70964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70972 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
70973 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
70975 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
70977 for ac_func in _ldexpf
70979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70980 echo "$as_me:$LINENO: checking for $ac_func" >&5
70981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70982 if eval "test \"\${$as_ac_var+set}\" = set"; then
70983 echo $ECHO_N "(cached) $ECHO_C" >&6
70984 else
70985 if test x$gcc_no_link = xyes; then
70986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70988 { (exit 1); exit 1; }; }
70990 cat >conftest.$ac_ext <<_ACEOF
70991 /* confdefs.h. */
70992 _ACEOF
70993 cat confdefs.h >>conftest.$ac_ext
70994 cat >>conftest.$ac_ext <<_ACEOF
70995 /* end confdefs.h. */
70996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70998 #define $ac_func innocuous_$ac_func
71000 /* System header to define __stub macros and hopefully few prototypes,
71001 which can conflict with char $ac_func (); below.
71002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71003 <limits.h> exists even on freestanding compilers. */
71005 #ifdef __STDC__
71006 # include <limits.h>
71007 #else
71008 # include <assert.h>
71009 #endif
71011 #undef $ac_func
71013 /* Override any gcc2 internal prototype to avoid an error. */
71014 #ifdef __cplusplus
71015 extern "C"
71017 #endif
71018 /* We use char because int might match the return type of a gcc2
71019 builtin and then its argument prototype would still apply. */
71020 char $ac_func ();
71021 /* The GNU C library defines this for functions which it implements
71022 to always fail with ENOSYS. Some functions are actually named
71023 something starting with __ and the normal name is an alias. */
71024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71025 choke me
71026 #else
71027 char (*f) () = $ac_func;
71028 #endif
71029 #ifdef __cplusplus
71031 #endif
71034 main ()
71036 return f != $ac_func;
71038 return 0;
71040 _ACEOF
71041 rm -f conftest.$ac_objext conftest$ac_exeext
71042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71043 (eval $ac_link) 2>conftest.er1
71044 ac_status=$?
71045 grep -v '^ *+' conftest.er1 >conftest.err
71046 rm -f conftest.er1
71047 cat conftest.err >&5
71048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71049 (exit $ac_status); } &&
71050 { ac_try='test -z "$ac_c_werror_flag"
71051 || test ! -s conftest.err'
71052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71053 (eval $ac_try) 2>&5
71054 ac_status=$?
71055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71056 (exit $ac_status); }; } &&
71057 { ac_try='test -s conftest$ac_exeext'
71058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71059 (eval $ac_try) 2>&5
71060 ac_status=$?
71061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71062 (exit $ac_status); }; }; then
71063 eval "$as_ac_var=yes"
71064 else
71065 echo "$as_me: failed program was:" >&5
71066 sed 's/^/| /' conftest.$ac_ext >&5
71068 eval "$as_ac_var=no"
71070 rm -f conftest.err conftest.$ac_objext \
71071 conftest$ac_exeext conftest.$ac_ext
71073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71075 if test `eval echo '${'$as_ac_var'}'` = yes; then
71076 cat >>confdefs.h <<_ACEOF
71077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71078 _ACEOF
71081 done
71091 echo "$as_me:$LINENO: checking for logf declaration" >&5
71092 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
71093 if test x${glibcxx_cv_func_logf_use+set} != xset; then
71094 if test "${glibcxx_cv_func_logf_use+set}" = set; then
71095 echo $ECHO_N "(cached) $ECHO_C" >&6
71096 else
71100 ac_ext=cc
71101 ac_cpp='$CXXCPP $CPPFLAGS'
71102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71106 cat >conftest.$ac_ext <<_ACEOF
71107 /* confdefs.h. */
71108 _ACEOF
71109 cat confdefs.h >>conftest.$ac_ext
71110 cat >>conftest.$ac_ext <<_ACEOF
71111 /* end confdefs.h. */
71112 #include <math.h>
71113 #ifdef HAVE_IEEEFP_H
71114 #include <ieeefp.h>
71115 #endif
71118 main ()
71120 logf(0);
71122 return 0;
71124 _ACEOF
71125 rm -f conftest.$ac_objext
71126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71127 (eval $ac_compile) 2>conftest.er1
71128 ac_status=$?
71129 grep -v '^ *+' conftest.er1 >conftest.err
71130 rm -f conftest.er1
71131 cat conftest.err >&5
71132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71133 (exit $ac_status); } &&
71134 { ac_try='test -z "$ac_cxx_werror_flag"
71135 || test ! -s conftest.err'
71136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71137 (eval $ac_try) 2>&5
71138 ac_status=$?
71139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71140 (exit $ac_status); }; } &&
71141 { ac_try='test -s conftest.$ac_objext'
71142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71143 (eval $ac_try) 2>&5
71144 ac_status=$?
71145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71146 (exit $ac_status); }; }; then
71147 glibcxx_cv_func_logf_use=yes
71148 else
71149 echo "$as_me: failed program was:" >&5
71150 sed 's/^/| /' conftest.$ac_ext >&5
71152 glibcxx_cv_func_logf_use=no
71154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71155 ac_ext=c
71156 ac_cpp='$CPP $CPPFLAGS'
71157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71165 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
71166 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
71168 if test x$glibcxx_cv_func_logf_use = x"yes"; then
71170 for ac_func in logf
71172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71173 echo "$as_me:$LINENO: checking for $ac_func" >&5
71174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71175 if eval "test \"\${$as_ac_var+set}\" = set"; then
71176 echo $ECHO_N "(cached) $ECHO_C" >&6
71177 else
71178 if test x$gcc_no_link = xyes; then
71179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71181 { (exit 1); exit 1; }; }
71183 cat >conftest.$ac_ext <<_ACEOF
71184 /* confdefs.h. */
71185 _ACEOF
71186 cat confdefs.h >>conftest.$ac_ext
71187 cat >>conftest.$ac_ext <<_ACEOF
71188 /* end confdefs.h. */
71189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71191 #define $ac_func innocuous_$ac_func
71193 /* System header to define __stub macros and hopefully few prototypes,
71194 which can conflict with char $ac_func (); below.
71195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71196 <limits.h> exists even on freestanding compilers. */
71198 #ifdef __STDC__
71199 # include <limits.h>
71200 #else
71201 # include <assert.h>
71202 #endif
71204 #undef $ac_func
71206 /* Override any gcc2 internal prototype to avoid an error. */
71207 #ifdef __cplusplus
71208 extern "C"
71210 #endif
71211 /* We use char because int might match the return type of a gcc2
71212 builtin and then its argument prototype would still apply. */
71213 char $ac_func ();
71214 /* The GNU C library defines this for functions which it implements
71215 to always fail with ENOSYS. Some functions are actually named
71216 something starting with __ and the normal name is an alias. */
71217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71218 choke me
71219 #else
71220 char (*f) () = $ac_func;
71221 #endif
71222 #ifdef __cplusplus
71224 #endif
71227 main ()
71229 return f != $ac_func;
71231 return 0;
71233 _ACEOF
71234 rm -f conftest.$ac_objext conftest$ac_exeext
71235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71236 (eval $ac_link) 2>conftest.er1
71237 ac_status=$?
71238 grep -v '^ *+' conftest.er1 >conftest.err
71239 rm -f conftest.er1
71240 cat conftest.err >&5
71241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71242 (exit $ac_status); } &&
71243 { ac_try='test -z "$ac_c_werror_flag"
71244 || test ! -s conftest.err'
71245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71246 (eval $ac_try) 2>&5
71247 ac_status=$?
71248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71249 (exit $ac_status); }; } &&
71250 { ac_try='test -s conftest$ac_exeext'
71251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71252 (eval $ac_try) 2>&5
71253 ac_status=$?
71254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71255 (exit $ac_status); }; }; then
71256 eval "$as_ac_var=yes"
71257 else
71258 echo "$as_me: failed program was:" >&5
71259 sed 's/^/| /' conftest.$ac_ext >&5
71261 eval "$as_ac_var=no"
71263 rm -f conftest.err conftest.$ac_objext \
71264 conftest$ac_exeext conftest.$ac_ext
71266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71268 if test `eval echo '${'$as_ac_var'}'` = yes; then
71269 cat >>confdefs.h <<_ACEOF
71270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71271 _ACEOF
71274 done
71276 else
71278 echo "$as_me:$LINENO: checking for _logf declaration" >&5
71279 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
71280 if test x${glibcxx_cv_func__logf_use+set} != xset; then
71281 if test "${glibcxx_cv_func__logf_use+set}" = set; then
71282 echo $ECHO_N "(cached) $ECHO_C" >&6
71283 else
71287 ac_ext=cc
71288 ac_cpp='$CXXCPP $CPPFLAGS'
71289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71293 cat >conftest.$ac_ext <<_ACEOF
71294 /* confdefs.h. */
71295 _ACEOF
71296 cat confdefs.h >>conftest.$ac_ext
71297 cat >>conftest.$ac_ext <<_ACEOF
71298 /* end confdefs.h. */
71299 #include <math.h>
71300 #ifdef HAVE_IEEEFP_H
71301 #include <ieeefp.h>
71302 #endif
71305 main ()
71307 _logf(0);
71309 return 0;
71311 _ACEOF
71312 rm -f conftest.$ac_objext
71313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71314 (eval $ac_compile) 2>conftest.er1
71315 ac_status=$?
71316 grep -v '^ *+' conftest.er1 >conftest.err
71317 rm -f conftest.er1
71318 cat conftest.err >&5
71319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71320 (exit $ac_status); } &&
71321 { ac_try='test -z "$ac_cxx_werror_flag"
71322 || test ! -s conftest.err'
71323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71324 (eval $ac_try) 2>&5
71325 ac_status=$?
71326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71327 (exit $ac_status); }; } &&
71328 { ac_try='test -s conftest.$ac_objext'
71329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71330 (eval $ac_try) 2>&5
71331 ac_status=$?
71332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71333 (exit $ac_status); }; }; then
71334 glibcxx_cv_func__logf_use=yes
71335 else
71336 echo "$as_me: failed program was:" >&5
71337 sed 's/^/| /' conftest.$ac_ext >&5
71339 glibcxx_cv_func__logf_use=no
71341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71342 ac_ext=c
71343 ac_cpp='$CPP $CPPFLAGS'
71344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71352 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
71353 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
71355 if test x$glibcxx_cv_func__logf_use = x"yes"; then
71357 for ac_func in _logf
71359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71360 echo "$as_me:$LINENO: checking for $ac_func" >&5
71361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71362 if eval "test \"\${$as_ac_var+set}\" = set"; then
71363 echo $ECHO_N "(cached) $ECHO_C" >&6
71364 else
71365 if test x$gcc_no_link = xyes; then
71366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71368 { (exit 1); exit 1; }; }
71370 cat >conftest.$ac_ext <<_ACEOF
71371 /* confdefs.h. */
71372 _ACEOF
71373 cat confdefs.h >>conftest.$ac_ext
71374 cat >>conftest.$ac_ext <<_ACEOF
71375 /* end confdefs.h. */
71376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71378 #define $ac_func innocuous_$ac_func
71380 /* System header to define __stub macros and hopefully few prototypes,
71381 which can conflict with char $ac_func (); below.
71382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71383 <limits.h> exists even on freestanding compilers. */
71385 #ifdef __STDC__
71386 # include <limits.h>
71387 #else
71388 # include <assert.h>
71389 #endif
71391 #undef $ac_func
71393 /* Override any gcc2 internal prototype to avoid an error. */
71394 #ifdef __cplusplus
71395 extern "C"
71397 #endif
71398 /* We use char because int might match the return type of a gcc2
71399 builtin and then its argument prototype would still apply. */
71400 char $ac_func ();
71401 /* The GNU C library defines this for functions which it implements
71402 to always fail with ENOSYS. Some functions are actually named
71403 something starting with __ and the normal name is an alias. */
71404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71405 choke me
71406 #else
71407 char (*f) () = $ac_func;
71408 #endif
71409 #ifdef __cplusplus
71411 #endif
71414 main ()
71416 return f != $ac_func;
71418 return 0;
71420 _ACEOF
71421 rm -f conftest.$ac_objext conftest$ac_exeext
71422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71423 (eval $ac_link) 2>conftest.er1
71424 ac_status=$?
71425 grep -v '^ *+' conftest.er1 >conftest.err
71426 rm -f conftest.er1
71427 cat conftest.err >&5
71428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71429 (exit $ac_status); } &&
71430 { ac_try='test -z "$ac_c_werror_flag"
71431 || test ! -s conftest.err'
71432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71433 (eval $ac_try) 2>&5
71434 ac_status=$?
71435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71436 (exit $ac_status); }; } &&
71437 { ac_try='test -s conftest$ac_exeext'
71438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71439 (eval $ac_try) 2>&5
71440 ac_status=$?
71441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71442 (exit $ac_status); }; }; then
71443 eval "$as_ac_var=yes"
71444 else
71445 echo "$as_me: failed program was:" >&5
71446 sed 's/^/| /' conftest.$ac_ext >&5
71448 eval "$as_ac_var=no"
71450 rm -f conftest.err conftest.$ac_objext \
71451 conftest$ac_exeext conftest.$ac_ext
71453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71455 if test `eval echo '${'$as_ac_var'}'` = yes; then
71456 cat >>confdefs.h <<_ACEOF
71457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71458 _ACEOF
71461 done
71471 echo "$as_me:$LINENO: checking for log10f declaration" >&5
71472 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
71473 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
71474 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
71475 echo $ECHO_N "(cached) $ECHO_C" >&6
71476 else
71480 ac_ext=cc
71481 ac_cpp='$CXXCPP $CPPFLAGS'
71482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71486 cat >conftest.$ac_ext <<_ACEOF
71487 /* confdefs.h. */
71488 _ACEOF
71489 cat confdefs.h >>conftest.$ac_ext
71490 cat >>conftest.$ac_ext <<_ACEOF
71491 /* end confdefs.h. */
71492 #include <math.h>
71493 #ifdef HAVE_IEEEFP_H
71494 #include <ieeefp.h>
71495 #endif
71498 main ()
71500 log10f(0);
71502 return 0;
71504 _ACEOF
71505 rm -f conftest.$ac_objext
71506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71507 (eval $ac_compile) 2>conftest.er1
71508 ac_status=$?
71509 grep -v '^ *+' conftest.er1 >conftest.err
71510 rm -f conftest.er1
71511 cat conftest.err >&5
71512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71513 (exit $ac_status); } &&
71514 { ac_try='test -z "$ac_cxx_werror_flag"
71515 || test ! -s conftest.err'
71516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71517 (eval $ac_try) 2>&5
71518 ac_status=$?
71519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71520 (exit $ac_status); }; } &&
71521 { ac_try='test -s conftest.$ac_objext'
71522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71523 (eval $ac_try) 2>&5
71524 ac_status=$?
71525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71526 (exit $ac_status); }; }; then
71527 glibcxx_cv_func_log10f_use=yes
71528 else
71529 echo "$as_me: failed program was:" >&5
71530 sed 's/^/| /' conftest.$ac_ext >&5
71532 glibcxx_cv_func_log10f_use=no
71534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71535 ac_ext=c
71536 ac_cpp='$CPP $CPPFLAGS'
71537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71545 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
71546 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
71548 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
71550 for ac_func in log10f
71552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71553 echo "$as_me:$LINENO: checking for $ac_func" >&5
71554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71555 if eval "test \"\${$as_ac_var+set}\" = set"; then
71556 echo $ECHO_N "(cached) $ECHO_C" >&6
71557 else
71558 if test x$gcc_no_link = xyes; then
71559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71561 { (exit 1); exit 1; }; }
71563 cat >conftest.$ac_ext <<_ACEOF
71564 /* confdefs.h. */
71565 _ACEOF
71566 cat confdefs.h >>conftest.$ac_ext
71567 cat >>conftest.$ac_ext <<_ACEOF
71568 /* end confdefs.h. */
71569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71571 #define $ac_func innocuous_$ac_func
71573 /* System header to define __stub macros and hopefully few prototypes,
71574 which can conflict with char $ac_func (); below.
71575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71576 <limits.h> exists even on freestanding compilers. */
71578 #ifdef __STDC__
71579 # include <limits.h>
71580 #else
71581 # include <assert.h>
71582 #endif
71584 #undef $ac_func
71586 /* Override any gcc2 internal prototype to avoid an error. */
71587 #ifdef __cplusplus
71588 extern "C"
71590 #endif
71591 /* We use char because int might match the return type of a gcc2
71592 builtin and then its argument prototype would still apply. */
71593 char $ac_func ();
71594 /* The GNU C library defines this for functions which it implements
71595 to always fail with ENOSYS. Some functions are actually named
71596 something starting with __ and the normal name is an alias. */
71597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71598 choke me
71599 #else
71600 char (*f) () = $ac_func;
71601 #endif
71602 #ifdef __cplusplus
71604 #endif
71607 main ()
71609 return f != $ac_func;
71611 return 0;
71613 _ACEOF
71614 rm -f conftest.$ac_objext conftest$ac_exeext
71615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71616 (eval $ac_link) 2>conftest.er1
71617 ac_status=$?
71618 grep -v '^ *+' conftest.er1 >conftest.err
71619 rm -f conftest.er1
71620 cat conftest.err >&5
71621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71622 (exit $ac_status); } &&
71623 { ac_try='test -z "$ac_c_werror_flag"
71624 || test ! -s conftest.err'
71625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71626 (eval $ac_try) 2>&5
71627 ac_status=$?
71628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71629 (exit $ac_status); }; } &&
71630 { ac_try='test -s conftest$ac_exeext'
71631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71632 (eval $ac_try) 2>&5
71633 ac_status=$?
71634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71635 (exit $ac_status); }; }; then
71636 eval "$as_ac_var=yes"
71637 else
71638 echo "$as_me: failed program was:" >&5
71639 sed 's/^/| /' conftest.$ac_ext >&5
71641 eval "$as_ac_var=no"
71643 rm -f conftest.err conftest.$ac_objext \
71644 conftest$ac_exeext conftest.$ac_ext
71646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71647 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71648 if test `eval echo '${'$as_ac_var'}'` = yes; then
71649 cat >>confdefs.h <<_ACEOF
71650 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71651 _ACEOF
71654 done
71656 else
71658 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
71659 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
71660 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
71661 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
71662 echo $ECHO_N "(cached) $ECHO_C" >&6
71663 else
71667 ac_ext=cc
71668 ac_cpp='$CXXCPP $CPPFLAGS'
71669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71673 cat >conftest.$ac_ext <<_ACEOF
71674 /* confdefs.h. */
71675 _ACEOF
71676 cat confdefs.h >>conftest.$ac_ext
71677 cat >>conftest.$ac_ext <<_ACEOF
71678 /* end confdefs.h. */
71679 #include <math.h>
71680 #ifdef HAVE_IEEEFP_H
71681 #include <ieeefp.h>
71682 #endif
71685 main ()
71687 _log10f(0);
71689 return 0;
71691 _ACEOF
71692 rm -f conftest.$ac_objext
71693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71694 (eval $ac_compile) 2>conftest.er1
71695 ac_status=$?
71696 grep -v '^ *+' conftest.er1 >conftest.err
71697 rm -f conftest.er1
71698 cat conftest.err >&5
71699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71700 (exit $ac_status); } &&
71701 { ac_try='test -z "$ac_cxx_werror_flag"
71702 || test ! -s conftest.err'
71703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71704 (eval $ac_try) 2>&5
71705 ac_status=$?
71706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71707 (exit $ac_status); }; } &&
71708 { ac_try='test -s conftest.$ac_objext'
71709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71710 (eval $ac_try) 2>&5
71711 ac_status=$?
71712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71713 (exit $ac_status); }; }; then
71714 glibcxx_cv_func__log10f_use=yes
71715 else
71716 echo "$as_me: failed program was:" >&5
71717 sed 's/^/| /' conftest.$ac_ext >&5
71719 glibcxx_cv_func__log10f_use=no
71721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71722 ac_ext=c
71723 ac_cpp='$CPP $CPPFLAGS'
71724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71732 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
71733 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
71735 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
71737 for ac_func in _log10f
71739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71740 echo "$as_me:$LINENO: checking for $ac_func" >&5
71741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71742 if eval "test \"\${$as_ac_var+set}\" = set"; then
71743 echo $ECHO_N "(cached) $ECHO_C" >&6
71744 else
71745 if test x$gcc_no_link = xyes; then
71746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71748 { (exit 1); exit 1; }; }
71750 cat >conftest.$ac_ext <<_ACEOF
71751 /* confdefs.h. */
71752 _ACEOF
71753 cat confdefs.h >>conftest.$ac_ext
71754 cat >>conftest.$ac_ext <<_ACEOF
71755 /* end confdefs.h. */
71756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71758 #define $ac_func innocuous_$ac_func
71760 /* System header to define __stub macros and hopefully few prototypes,
71761 which can conflict with char $ac_func (); below.
71762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71763 <limits.h> exists even on freestanding compilers. */
71765 #ifdef __STDC__
71766 # include <limits.h>
71767 #else
71768 # include <assert.h>
71769 #endif
71771 #undef $ac_func
71773 /* Override any gcc2 internal prototype to avoid an error. */
71774 #ifdef __cplusplus
71775 extern "C"
71777 #endif
71778 /* We use char because int might match the return type of a gcc2
71779 builtin and then its argument prototype would still apply. */
71780 char $ac_func ();
71781 /* The GNU C library defines this for functions which it implements
71782 to always fail with ENOSYS. Some functions are actually named
71783 something starting with __ and the normal name is an alias. */
71784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71785 choke me
71786 #else
71787 char (*f) () = $ac_func;
71788 #endif
71789 #ifdef __cplusplus
71791 #endif
71794 main ()
71796 return f != $ac_func;
71798 return 0;
71800 _ACEOF
71801 rm -f conftest.$ac_objext conftest$ac_exeext
71802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71803 (eval $ac_link) 2>conftest.er1
71804 ac_status=$?
71805 grep -v '^ *+' conftest.er1 >conftest.err
71806 rm -f conftest.er1
71807 cat conftest.err >&5
71808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71809 (exit $ac_status); } &&
71810 { ac_try='test -z "$ac_c_werror_flag"
71811 || test ! -s conftest.err'
71812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71813 (eval $ac_try) 2>&5
71814 ac_status=$?
71815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71816 (exit $ac_status); }; } &&
71817 { ac_try='test -s conftest$ac_exeext'
71818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71819 (eval $ac_try) 2>&5
71820 ac_status=$?
71821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71822 (exit $ac_status); }; }; then
71823 eval "$as_ac_var=yes"
71824 else
71825 echo "$as_me: failed program was:" >&5
71826 sed 's/^/| /' conftest.$ac_ext >&5
71828 eval "$as_ac_var=no"
71830 rm -f conftest.err conftest.$ac_objext \
71831 conftest$ac_exeext conftest.$ac_ext
71833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71835 if test `eval echo '${'$as_ac_var'}'` = yes; then
71836 cat >>confdefs.h <<_ACEOF
71837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71838 _ACEOF
71841 done
71851 echo "$as_me:$LINENO: checking for modff declaration" >&5
71852 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
71853 if test x${glibcxx_cv_func_modff_use+set} != xset; then
71854 if test "${glibcxx_cv_func_modff_use+set}" = set; then
71855 echo $ECHO_N "(cached) $ECHO_C" >&6
71856 else
71860 ac_ext=cc
71861 ac_cpp='$CXXCPP $CPPFLAGS'
71862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71866 cat >conftest.$ac_ext <<_ACEOF
71867 /* confdefs.h. */
71868 _ACEOF
71869 cat confdefs.h >>conftest.$ac_ext
71870 cat >>conftest.$ac_ext <<_ACEOF
71871 /* end confdefs.h. */
71872 #include <math.h>
71874 main ()
71876 modff(0, 0);
71878 return 0;
71880 _ACEOF
71881 rm -f conftest.$ac_objext
71882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71883 (eval $ac_compile) 2>conftest.er1
71884 ac_status=$?
71885 grep -v '^ *+' conftest.er1 >conftest.err
71886 rm -f conftest.er1
71887 cat conftest.err >&5
71888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71889 (exit $ac_status); } &&
71890 { ac_try='test -z "$ac_cxx_werror_flag"
71891 || test ! -s conftest.err'
71892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71893 (eval $ac_try) 2>&5
71894 ac_status=$?
71895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71896 (exit $ac_status); }; } &&
71897 { ac_try='test -s conftest.$ac_objext'
71898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71899 (eval $ac_try) 2>&5
71900 ac_status=$?
71901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71902 (exit $ac_status); }; }; then
71903 glibcxx_cv_func_modff_use=yes
71904 else
71905 echo "$as_me: failed program was:" >&5
71906 sed 's/^/| /' conftest.$ac_ext >&5
71908 glibcxx_cv_func_modff_use=no
71910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71911 ac_ext=c
71912 ac_cpp='$CPP $CPPFLAGS'
71913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71921 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
71922 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
71924 if test x$glibcxx_cv_func_modff_use = x"yes"; then
71926 for ac_func in modff
71928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71929 echo "$as_me:$LINENO: checking for $ac_func" >&5
71930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71931 if eval "test \"\${$as_ac_var+set}\" = set"; then
71932 echo $ECHO_N "(cached) $ECHO_C" >&6
71933 else
71934 if test x$gcc_no_link = xyes; then
71935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71937 { (exit 1); exit 1; }; }
71939 cat >conftest.$ac_ext <<_ACEOF
71940 /* confdefs.h. */
71941 _ACEOF
71942 cat confdefs.h >>conftest.$ac_ext
71943 cat >>conftest.$ac_ext <<_ACEOF
71944 /* end confdefs.h. */
71945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71947 #define $ac_func innocuous_$ac_func
71949 /* System header to define __stub macros and hopefully few prototypes,
71950 which can conflict with char $ac_func (); below.
71951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71952 <limits.h> exists even on freestanding compilers. */
71954 #ifdef __STDC__
71955 # include <limits.h>
71956 #else
71957 # include <assert.h>
71958 #endif
71960 #undef $ac_func
71962 /* Override any gcc2 internal prototype to avoid an error. */
71963 #ifdef __cplusplus
71964 extern "C"
71966 #endif
71967 /* We use char because int might match the return type of a gcc2
71968 builtin and then its argument prototype would still apply. */
71969 char $ac_func ();
71970 /* The GNU C library defines this for functions which it implements
71971 to always fail with ENOSYS. Some functions are actually named
71972 something starting with __ and the normal name is an alias. */
71973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71974 choke me
71975 #else
71976 char (*f) () = $ac_func;
71977 #endif
71978 #ifdef __cplusplus
71980 #endif
71983 main ()
71985 return f != $ac_func;
71987 return 0;
71989 _ACEOF
71990 rm -f conftest.$ac_objext conftest$ac_exeext
71991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71992 (eval $ac_link) 2>conftest.er1
71993 ac_status=$?
71994 grep -v '^ *+' conftest.er1 >conftest.err
71995 rm -f conftest.er1
71996 cat conftest.err >&5
71997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71998 (exit $ac_status); } &&
71999 { ac_try='test -z "$ac_c_werror_flag"
72000 || test ! -s conftest.err'
72001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72002 (eval $ac_try) 2>&5
72003 ac_status=$?
72004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72005 (exit $ac_status); }; } &&
72006 { ac_try='test -s conftest$ac_exeext'
72007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72008 (eval $ac_try) 2>&5
72009 ac_status=$?
72010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72011 (exit $ac_status); }; }; then
72012 eval "$as_ac_var=yes"
72013 else
72014 echo "$as_me: failed program was:" >&5
72015 sed 's/^/| /' conftest.$ac_ext >&5
72017 eval "$as_ac_var=no"
72019 rm -f conftest.err conftest.$ac_objext \
72020 conftest$ac_exeext conftest.$ac_ext
72022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72024 if test `eval echo '${'$as_ac_var'}'` = yes; then
72025 cat >>confdefs.h <<_ACEOF
72026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72027 _ACEOF
72030 done
72032 else
72034 echo "$as_me:$LINENO: checking for _modff declaration" >&5
72035 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
72036 if test x${glibcxx_cv_func__modff_use+set} != xset; then
72037 if test "${glibcxx_cv_func__modff_use+set}" = set; then
72038 echo $ECHO_N "(cached) $ECHO_C" >&6
72039 else
72043 ac_ext=cc
72044 ac_cpp='$CXXCPP $CPPFLAGS'
72045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72049 cat >conftest.$ac_ext <<_ACEOF
72050 /* confdefs.h. */
72051 _ACEOF
72052 cat confdefs.h >>conftest.$ac_ext
72053 cat >>conftest.$ac_ext <<_ACEOF
72054 /* end confdefs.h. */
72055 #include <math.h>
72057 main ()
72059 _modff(0, 0);
72061 return 0;
72063 _ACEOF
72064 rm -f conftest.$ac_objext
72065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72066 (eval $ac_compile) 2>conftest.er1
72067 ac_status=$?
72068 grep -v '^ *+' conftest.er1 >conftest.err
72069 rm -f conftest.er1
72070 cat conftest.err >&5
72071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72072 (exit $ac_status); } &&
72073 { ac_try='test -z "$ac_cxx_werror_flag"
72074 || test ! -s conftest.err'
72075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72076 (eval $ac_try) 2>&5
72077 ac_status=$?
72078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72079 (exit $ac_status); }; } &&
72080 { ac_try='test -s conftest.$ac_objext'
72081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72082 (eval $ac_try) 2>&5
72083 ac_status=$?
72084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72085 (exit $ac_status); }; }; then
72086 glibcxx_cv_func__modff_use=yes
72087 else
72088 echo "$as_me: failed program was:" >&5
72089 sed 's/^/| /' conftest.$ac_ext >&5
72091 glibcxx_cv_func__modff_use=no
72093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72094 ac_ext=c
72095 ac_cpp='$CPP $CPPFLAGS'
72096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72104 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
72105 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
72107 if test x$glibcxx_cv_func__modff_use = x"yes"; then
72109 for ac_func in _modff
72111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72112 echo "$as_me:$LINENO: checking for $ac_func" >&5
72113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72114 if eval "test \"\${$as_ac_var+set}\" = set"; then
72115 echo $ECHO_N "(cached) $ECHO_C" >&6
72116 else
72117 if test x$gcc_no_link = xyes; then
72118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72120 { (exit 1); exit 1; }; }
72122 cat >conftest.$ac_ext <<_ACEOF
72123 /* confdefs.h. */
72124 _ACEOF
72125 cat confdefs.h >>conftest.$ac_ext
72126 cat >>conftest.$ac_ext <<_ACEOF
72127 /* end confdefs.h. */
72128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72130 #define $ac_func innocuous_$ac_func
72132 /* System header to define __stub macros and hopefully few prototypes,
72133 which can conflict with char $ac_func (); below.
72134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72135 <limits.h> exists even on freestanding compilers. */
72137 #ifdef __STDC__
72138 # include <limits.h>
72139 #else
72140 # include <assert.h>
72141 #endif
72143 #undef $ac_func
72145 /* Override any gcc2 internal prototype to avoid an error. */
72146 #ifdef __cplusplus
72147 extern "C"
72149 #endif
72150 /* We use char because int might match the return type of a gcc2
72151 builtin and then its argument prototype would still apply. */
72152 char $ac_func ();
72153 /* The GNU C library defines this for functions which it implements
72154 to always fail with ENOSYS. Some functions are actually named
72155 something starting with __ and the normal name is an alias. */
72156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72157 choke me
72158 #else
72159 char (*f) () = $ac_func;
72160 #endif
72161 #ifdef __cplusplus
72163 #endif
72166 main ()
72168 return f != $ac_func;
72170 return 0;
72172 _ACEOF
72173 rm -f conftest.$ac_objext conftest$ac_exeext
72174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72175 (eval $ac_link) 2>conftest.er1
72176 ac_status=$?
72177 grep -v '^ *+' conftest.er1 >conftest.err
72178 rm -f conftest.er1
72179 cat conftest.err >&5
72180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72181 (exit $ac_status); } &&
72182 { ac_try='test -z "$ac_c_werror_flag"
72183 || test ! -s conftest.err'
72184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72185 (eval $ac_try) 2>&5
72186 ac_status=$?
72187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72188 (exit $ac_status); }; } &&
72189 { ac_try='test -s conftest$ac_exeext'
72190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72191 (eval $ac_try) 2>&5
72192 ac_status=$?
72193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72194 (exit $ac_status); }; }; then
72195 eval "$as_ac_var=yes"
72196 else
72197 echo "$as_me: failed program was:" >&5
72198 sed 's/^/| /' conftest.$ac_ext >&5
72200 eval "$as_ac_var=no"
72202 rm -f conftest.err conftest.$ac_objext \
72203 conftest$ac_exeext conftest.$ac_ext
72205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72207 if test `eval echo '${'$as_ac_var'}'` = yes; then
72208 cat >>confdefs.h <<_ACEOF
72209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72210 _ACEOF
72213 done
72223 echo "$as_me:$LINENO: checking for modf declaration" >&5
72224 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
72225 if test x${glibcxx_cv_func_modf_use+set} != xset; then
72226 if test "${glibcxx_cv_func_modf_use+set}" = set; then
72227 echo $ECHO_N "(cached) $ECHO_C" >&6
72228 else
72232 ac_ext=cc
72233 ac_cpp='$CXXCPP $CPPFLAGS'
72234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72238 cat >conftest.$ac_ext <<_ACEOF
72239 /* confdefs.h. */
72240 _ACEOF
72241 cat confdefs.h >>conftest.$ac_ext
72242 cat >>conftest.$ac_ext <<_ACEOF
72243 /* end confdefs.h. */
72244 #include <math.h>
72246 main ()
72248 modf(0, 0);
72250 return 0;
72252 _ACEOF
72253 rm -f conftest.$ac_objext
72254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72255 (eval $ac_compile) 2>conftest.er1
72256 ac_status=$?
72257 grep -v '^ *+' conftest.er1 >conftest.err
72258 rm -f conftest.er1
72259 cat conftest.err >&5
72260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72261 (exit $ac_status); } &&
72262 { ac_try='test -z "$ac_cxx_werror_flag"
72263 || test ! -s conftest.err'
72264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72265 (eval $ac_try) 2>&5
72266 ac_status=$?
72267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72268 (exit $ac_status); }; } &&
72269 { ac_try='test -s conftest.$ac_objext'
72270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72271 (eval $ac_try) 2>&5
72272 ac_status=$?
72273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72274 (exit $ac_status); }; }; then
72275 glibcxx_cv_func_modf_use=yes
72276 else
72277 echo "$as_me: failed program was:" >&5
72278 sed 's/^/| /' conftest.$ac_ext >&5
72280 glibcxx_cv_func_modf_use=no
72282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72283 ac_ext=c
72284 ac_cpp='$CPP $CPPFLAGS'
72285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72293 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
72294 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
72296 if test x$glibcxx_cv_func_modf_use = x"yes"; then
72298 for ac_func in modf
72300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72301 echo "$as_me:$LINENO: checking for $ac_func" >&5
72302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72303 if eval "test \"\${$as_ac_var+set}\" = set"; then
72304 echo $ECHO_N "(cached) $ECHO_C" >&6
72305 else
72306 if test x$gcc_no_link = xyes; then
72307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72309 { (exit 1); exit 1; }; }
72311 cat >conftest.$ac_ext <<_ACEOF
72312 /* confdefs.h. */
72313 _ACEOF
72314 cat confdefs.h >>conftest.$ac_ext
72315 cat >>conftest.$ac_ext <<_ACEOF
72316 /* end confdefs.h. */
72317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72319 #define $ac_func innocuous_$ac_func
72321 /* System header to define __stub macros and hopefully few prototypes,
72322 which can conflict with char $ac_func (); below.
72323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72324 <limits.h> exists even on freestanding compilers. */
72326 #ifdef __STDC__
72327 # include <limits.h>
72328 #else
72329 # include <assert.h>
72330 #endif
72332 #undef $ac_func
72334 /* Override any gcc2 internal prototype to avoid an error. */
72335 #ifdef __cplusplus
72336 extern "C"
72338 #endif
72339 /* We use char because int might match the return type of a gcc2
72340 builtin and then its argument prototype would still apply. */
72341 char $ac_func ();
72342 /* The GNU C library defines this for functions which it implements
72343 to always fail with ENOSYS. Some functions are actually named
72344 something starting with __ and the normal name is an alias. */
72345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72346 choke me
72347 #else
72348 char (*f) () = $ac_func;
72349 #endif
72350 #ifdef __cplusplus
72352 #endif
72355 main ()
72357 return f != $ac_func;
72359 return 0;
72361 _ACEOF
72362 rm -f conftest.$ac_objext conftest$ac_exeext
72363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72364 (eval $ac_link) 2>conftest.er1
72365 ac_status=$?
72366 grep -v '^ *+' conftest.er1 >conftest.err
72367 rm -f conftest.er1
72368 cat conftest.err >&5
72369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72370 (exit $ac_status); } &&
72371 { ac_try='test -z "$ac_c_werror_flag"
72372 || test ! -s conftest.err'
72373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72374 (eval $ac_try) 2>&5
72375 ac_status=$?
72376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72377 (exit $ac_status); }; } &&
72378 { ac_try='test -s conftest$ac_exeext'
72379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72380 (eval $ac_try) 2>&5
72381 ac_status=$?
72382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72383 (exit $ac_status); }; }; then
72384 eval "$as_ac_var=yes"
72385 else
72386 echo "$as_me: failed program was:" >&5
72387 sed 's/^/| /' conftest.$ac_ext >&5
72389 eval "$as_ac_var=no"
72391 rm -f conftest.err conftest.$ac_objext \
72392 conftest$ac_exeext conftest.$ac_ext
72394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72396 if test `eval echo '${'$as_ac_var'}'` = yes; then
72397 cat >>confdefs.h <<_ACEOF
72398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72399 _ACEOF
72402 done
72404 else
72406 echo "$as_me:$LINENO: checking for _modf declaration" >&5
72407 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
72408 if test x${glibcxx_cv_func__modf_use+set} != xset; then
72409 if test "${glibcxx_cv_func__modf_use+set}" = set; then
72410 echo $ECHO_N "(cached) $ECHO_C" >&6
72411 else
72415 ac_ext=cc
72416 ac_cpp='$CXXCPP $CPPFLAGS'
72417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72421 cat >conftest.$ac_ext <<_ACEOF
72422 /* confdefs.h. */
72423 _ACEOF
72424 cat confdefs.h >>conftest.$ac_ext
72425 cat >>conftest.$ac_ext <<_ACEOF
72426 /* end confdefs.h. */
72427 #include <math.h>
72429 main ()
72431 _modf(0, 0);
72433 return 0;
72435 _ACEOF
72436 rm -f conftest.$ac_objext
72437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72438 (eval $ac_compile) 2>conftest.er1
72439 ac_status=$?
72440 grep -v '^ *+' conftest.er1 >conftest.err
72441 rm -f conftest.er1
72442 cat conftest.err >&5
72443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72444 (exit $ac_status); } &&
72445 { ac_try='test -z "$ac_cxx_werror_flag"
72446 || test ! -s conftest.err'
72447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72448 (eval $ac_try) 2>&5
72449 ac_status=$?
72450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72451 (exit $ac_status); }; } &&
72452 { ac_try='test -s conftest.$ac_objext'
72453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72454 (eval $ac_try) 2>&5
72455 ac_status=$?
72456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72457 (exit $ac_status); }; }; then
72458 glibcxx_cv_func__modf_use=yes
72459 else
72460 echo "$as_me: failed program was:" >&5
72461 sed 's/^/| /' conftest.$ac_ext >&5
72463 glibcxx_cv_func__modf_use=no
72465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72466 ac_ext=c
72467 ac_cpp='$CPP $CPPFLAGS'
72468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72476 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
72477 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
72479 if test x$glibcxx_cv_func__modf_use = x"yes"; then
72481 for ac_func in _modf
72483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72484 echo "$as_me:$LINENO: checking for $ac_func" >&5
72485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72486 if eval "test \"\${$as_ac_var+set}\" = set"; then
72487 echo $ECHO_N "(cached) $ECHO_C" >&6
72488 else
72489 if test x$gcc_no_link = xyes; then
72490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72492 { (exit 1); exit 1; }; }
72494 cat >conftest.$ac_ext <<_ACEOF
72495 /* confdefs.h. */
72496 _ACEOF
72497 cat confdefs.h >>conftest.$ac_ext
72498 cat >>conftest.$ac_ext <<_ACEOF
72499 /* end confdefs.h. */
72500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72502 #define $ac_func innocuous_$ac_func
72504 /* System header to define __stub macros and hopefully few prototypes,
72505 which can conflict with char $ac_func (); below.
72506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72507 <limits.h> exists even on freestanding compilers. */
72509 #ifdef __STDC__
72510 # include <limits.h>
72511 #else
72512 # include <assert.h>
72513 #endif
72515 #undef $ac_func
72517 /* Override any gcc2 internal prototype to avoid an error. */
72518 #ifdef __cplusplus
72519 extern "C"
72521 #endif
72522 /* We use char because int might match the return type of a gcc2
72523 builtin and then its argument prototype would still apply. */
72524 char $ac_func ();
72525 /* The GNU C library defines this for functions which it implements
72526 to always fail with ENOSYS. Some functions are actually named
72527 something starting with __ and the normal name is an alias. */
72528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72529 choke me
72530 #else
72531 char (*f) () = $ac_func;
72532 #endif
72533 #ifdef __cplusplus
72535 #endif
72538 main ()
72540 return f != $ac_func;
72542 return 0;
72544 _ACEOF
72545 rm -f conftest.$ac_objext conftest$ac_exeext
72546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72547 (eval $ac_link) 2>conftest.er1
72548 ac_status=$?
72549 grep -v '^ *+' conftest.er1 >conftest.err
72550 rm -f conftest.er1
72551 cat conftest.err >&5
72552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72553 (exit $ac_status); } &&
72554 { ac_try='test -z "$ac_c_werror_flag"
72555 || test ! -s conftest.err'
72556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72557 (eval $ac_try) 2>&5
72558 ac_status=$?
72559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72560 (exit $ac_status); }; } &&
72561 { ac_try='test -s conftest$ac_exeext'
72562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72563 (eval $ac_try) 2>&5
72564 ac_status=$?
72565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72566 (exit $ac_status); }; }; then
72567 eval "$as_ac_var=yes"
72568 else
72569 echo "$as_me: failed program was:" >&5
72570 sed 's/^/| /' conftest.$ac_ext >&5
72572 eval "$as_ac_var=no"
72574 rm -f conftest.err conftest.$ac_objext \
72575 conftest$ac_exeext conftest.$ac_ext
72577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72579 if test `eval echo '${'$as_ac_var'}'` = yes; then
72580 cat >>confdefs.h <<_ACEOF
72581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72582 _ACEOF
72585 done
72595 echo "$as_me:$LINENO: checking for powf declaration" >&5
72596 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
72597 if test x${glibcxx_cv_func_powf_use+set} != xset; then
72598 if test "${glibcxx_cv_func_powf_use+set}" = set; then
72599 echo $ECHO_N "(cached) $ECHO_C" >&6
72600 else
72604 ac_ext=cc
72605 ac_cpp='$CXXCPP $CPPFLAGS'
72606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72610 cat >conftest.$ac_ext <<_ACEOF
72611 /* confdefs.h. */
72612 _ACEOF
72613 cat confdefs.h >>conftest.$ac_ext
72614 cat >>conftest.$ac_ext <<_ACEOF
72615 /* end confdefs.h. */
72616 #include <math.h>
72618 main ()
72620 powf(0, 0);
72622 return 0;
72624 _ACEOF
72625 rm -f conftest.$ac_objext
72626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72627 (eval $ac_compile) 2>conftest.er1
72628 ac_status=$?
72629 grep -v '^ *+' conftest.er1 >conftest.err
72630 rm -f conftest.er1
72631 cat conftest.err >&5
72632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72633 (exit $ac_status); } &&
72634 { ac_try='test -z "$ac_cxx_werror_flag"
72635 || test ! -s conftest.err'
72636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72637 (eval $ac_try) 2>&5
72638 ac_status=$?
72639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72640 (exit $ac_status); }; } &&
72641 { ac_try='test -s conftest.$ac_objext'
72642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72643 (eval $ac_try) 2>&5
72644 ac_status=$?
72645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72646 (exit $ac_status); }; }; then
72647 glibcxx_cv_func_powf_use=yes
72648 else
72649 echo "$as_me: failed program was:" >&5
72650 sed 's/^/| /' conftest.$ac_ext >&5
72652 glibcxx_cv_func_powf_use=no
72654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72655 ac_ext=c
72656 ac_cpp='$CPP $CPPFLAGS'
72657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72665 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
72666 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
72668 if test x$glibcxx_cv_func_powf_use = x"yes"; then
72670 for ac_func in powf
72672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72673 echo "$as_me:$LINENO: checking for $ac_func" >&5
72674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72675 if eval "test \"\${$as_ac_var+set}\" = set"; then
72676 echo $ECHO_N "(cached) $ECHO_C" >&6
72677 else
72678 if test x$gcc_no_link = xyes; then
72679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72681 { (exit 1); exit 1; }; }
72683 cat >conftest.$ac_ext <<_ACEOF
72684 /* confdefs.h. */
72685 _ACEOF
72686 cat confdefs.h >>conftest.$ac_ext
72687 cat >>conftest.$ac_ext <<_ACEOF
72688 /* end confdefs.h. */
72689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72691 #define $ac_func innocuous_$ac_func
72693 /* System header to define __stub macros and hopefully few prototypes,
72694 which can conflict with char $ac_func (); below.
72695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72696 <limits.h> exists even on freestanding compilers. */
72698 #ifdef __STDC__
72699 # include <limits.h>
72700 #else
72701 # include <assert.h>
72702 #endif
72704 #undef $ac_func
72706 /* Override any gcc2 internal prototype to avoid an error. */
72707 #ifdef __cplusplus
72708 extern "C"
72710 #endif
72711 /* We use char because int might match the return type of a gcc2
72712 builtin and then its argument prototype would still apply. */
72713 char $ac_func ();
72714 /* The GNU C library defines this for functions which it implements
72715 to always fail with ENOSYS. Some functions are actually named
72716 something starting with __ and the normal name is an alias. */
72717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72718 choke me
72719 #else
72720 char (*f) () = $ac_func;
72721 #endif
72722 #ifdef __cplusplus
72724 #endif
72727 main ()
72729 return f != $ac_func;
72731 return 0;
72733 _ACEOF
72734 rm -f conftest.$ac_objext conftest$ac_exeext
72735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72736 (eval $ac_link) 2>conftest.er1
72737 ac_status=$?
72738 grep -v '^ *+' conftest.er1 >conftest.err
72739 rm -f conftest.er1
72740 cat conftest.err >&5
72741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72742 (exit $ac_status); } &&
72743 { ac_try='test -z "$ac_c_werror_flag"
72744 || test ! -s conftest.err'
72745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72746 (eval $ac_try) 2>&5
72747 ac_status=$?
72748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72749 (exit $ac_status); }; } &&
72750 { ac_try='test -s conftest$ac_exeext'
72751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72752 (eval $ac_try) 2>&5
72753 ac_status=$?
72754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72755 (exit $ac_status); }; }; then
72756 eval "$as_ac_var=yes"
72757 else
72758 echo "$as_me: failed program was:" >&5
72759 sed 's/^/| /' conftest.$ac_ext >&5
72761 eval "$as_ac_var=no"
72763 rm -f conftest.err conftest.$ac_objext \
72764 conftest$ac_exeext conftest.$ac_ext
72766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72768 if test `eval echo '${'$as_ac_var'}'` = yes; then
72769 cat >>confdefs.h <<_ACEOF
72770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72771 _ACEOF
72774 done
72776 else
72778 echo "$as_me:$LINENO: checking for _powf declaration" >&5
72779 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
72780 if test x${glibcxx_cv_func__powf_use+set} != xset; then
72781 if test "${glibcxx_cv_func__powf_use+set}" = set; then
72782 echo $ECHO_N "(cached) $ECHO_C" >&6
72783 else
72787 ac_ext=cc
72788 ac_cpp='$CXXCPP $CPPFLAGS'
72789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72793 cat >conftest.$ac_ext <<_ACEOF
72794 /* confdefs.h. */
72795 _ACEOF
72796 cat confdefs.h >>conftest.$ac_ext
72797 cat >>conftest.$ac_ext <<_ACEOF
72798 /* end confdefs.h. */
72799 #include <math.h>
72801 main ()
72803 _powf(0, 0);
72805 return 0;
72807 _ACEOF
72808 rm -f conftest.$ac_objext
72809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72810 (eval $ac_compile) 2>conftest.er1
72811 ac_status=$?
72812 grep -v '^ *+' conftest.er1 >conftest.err
72813 rm -f conftest.er1
72814 cat conftest.err >&5
72815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72816 (exit $ac_status); } &&
72817 { ac_try='test -z "$ac_cxx_werror_flag"
72818 || test ! -s conftest.err'
72819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72820 (eval $ac_try) 2>&5
72821 ac_status=$?
72822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72823 (exit $ac_status); }; } &&
72824 { ac_try='test -s conftest.$ac_objext'
72825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72826 (eval $ac_try) 2>&5
72827 ac_status=$?
72828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72829 (exit $ac_status); }; }; then
72830 glibcxx_cv_func__powf_use=yes
72831 else
72832 echo "$as_me: failed program was:" >&5
72833 sed 's/^/| /' conftest.$ac_ext >&5
72835 glibcxx_cv_func__powf_use=no
72837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72838 ac_ext=c
72839 ac_cpp='$CPP $CPPFLAGS'
72840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72848 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
72849 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
72851 if test x$glibcxx_cv_func__powf_use = x"yes"; then
72853 for ac_func in _powf
72855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72856 echo "$as_me:$LINENO: checking for $ac_func" >&5
72857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72858 if eval "test \"\${$as_ac_var+set}\" = set"; then
72859 echo $ECHO_N "(cached) $ECHO_C" >&6
72860 else
72861 if test x$gcc_no_link = xyes; then
72862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72864 { (exit 1); exit 1; }; }
72866 cat >conftest.$ac_ext <<_ACEOF
72867 /* confdefs.h. */
72868 _ACEOF
72869 cat confdefs.h >>conftest.$ac_ext
72870 cat >>conftest.$ac_ext <<_ACEOF
72871 /* end confdefs.h. */
72872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72874 #define $ac_func innocuous_$ac_func
72876 /* System header to define __stub macros and hopefully few prototypes,
72877 which can conflict with char $ac_func (); below.
72878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72879 <limits.h> exists even on freestanding compilers. */
72881 #ifdef __STDC__
72882 # include <limits.h>
72883 #else
72884 # include <assert.h>
72885 #endif
72887 #undef $ac_func
72889 /* Override any gcc2 internal prototype to avoid an error. */
72890 #ifdef __cplusplus
72891 extern "C"
72893 #endif
72894 /* We use char because int might match the return type of a gcc2
72895 builtin and then its argument prototype would still apply. */
72896 char $ac_func ();
72897 /* The GNU C library defines this for functions which it implements
72898 to always fail with ENOSYS. Some functions are actually named
72899 something starting with __ and the normal name is an alias. */
72900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72901 choke me
72902 #else
72903 char (*f) () = $ac_func;
72904 #endif
72905 #ifdef __cplusplus
72907 #endif
72910 main ()
72912 return f != $ac_func;
72914 return 0;
72916 _ACEOF
72917 rm -f conftest.$ac_objext conftest$ac_exeext
72918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72919 (eval $ac_link) 2>conftest.er1
72920 ac_status=$?
72921 grep -v '^ *+' conftest.er1 >conftest.err
72922 rm -f conftest.er1
72923 cat conftest.err >&5
72924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72925 (exit $ac_status); } &&
72926 { ac_try='test -z "$ac_c_werror_flag"
72927 || test ! -s conftest.err'
72928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72929 (eval $ac_try) 2>&5
72930 ac_status=$?
72931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72932 (exit $ac_status); }; } &&
72933 { ac_try='test -s conftest$ac_exeext'
72934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72935 (eval $ac_try) 2>&5
72936 ac_status=$?
72937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72938 (exit $ac_status); }; }; then
72939 eval "$as_ac_var=yes"
72940 else
72941 echo "$as_me: failed program was:" >&5
72942 sed 's/^/| /' conftest.$ac_ext >&5
72944 eval "$as_ac_var=no"
72946 rm -f conftest.err conftest.$ac_objext \
72947 conftest$ac_exeext conftest.$ac_ext
72949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72951 if test `eval echo '${'$as_ac_var'}'` = yes; then
72952 cat >>confdefs.h <<_ACEOF
72953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72954 _ACEOF
72957 done
72967 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
72968 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
72969 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
72970 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
72971 echo $ECHO_N "(cached) $ECHO_C" >&6
72972 else
72976 ac_ext=cc
72977 ac_cpp='$CXXCPP $CPPFLAGS'
72978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72982 cat >conftest.$ac_ext <<_ACEOF
72983 /* confdefs.h. */
72984 _ACEOF
72985 cat confdefs.h >>conftest.$ac_ext
72986 cat >>conftest.$ac_ext <<_ACEOF
72987 /* end confdefs.h. */
72988 #include <math.h>
72989 #ifdef HAVE_IEEEFP_H
72990 #include <ieeefp.h>
72991 #endif
72994 main ()
72996 sqrtf(0);
72998 return 0;
73000 _ACEOF
73001 rm -f conftest.$ac_objext
73002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73003 (eval $ac_compile) 2>conftest.er1
73004 ac_status=$?
73005 grep -v '^ *+' conftest.er1 >conftest.err
73006 rm -f conftest.er1
73007 cat conftest.err >&5
73008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73009 (exit $ac_status); } &&
73010 { ac_try='test -z "$ac_cxx_werror_flag"
73011 || test ! -s conftest.err'
73012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73013 (eval $ac_try) 2>&5
73014 ac_status=$?
73015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73016 (exit $ac_status); }; } &&
73017 { ac_try='test -s conftest.$ac_objext'
73018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73019 (eval $ac_try) 2>&5
73020 ac_status=$?
73021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73022 (exit $ac_status); }; }; then
73023 glibcxx_cv_func_sqrtf_use=yes
73024 else
73025 echo "$as_me: failed program was:" >&5
73026 sed 's/^/| /' conftest.$ac_ext >&5
73028 glibcxx_cv_func_sqrtf_use=no
73030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73031 ac_ext=c
73032 ac_cpp='$CPP $CPPFLAGS'
73033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73041 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
73042 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
73044 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
73046 for ac_func in sqrtf
73048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73049 echo "$as_me:$LINENO: checking for $ac_func" >&5
73050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73051 if eval "test \"\${$as_ac_var+set}\" = set"; then
73052 echo $ECHO_N "(cached) $ECHO_C" >&6
73053 else
73054 if test x$gcc_no_link = xyes; then
73055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73057 { (exit 1); exit 1; }; }
73059 cat >conftest.$ac_ext <<_ACEOF
73060 /* confdefs.h. */
73061 _ACEOF
73062 cat confdefs.h >>conftest.$ac_ext
73063 cat >>conftest.$ac_ext <<_ACEOF
73064 /* end confdefs.h. */
73065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73067 #define $ac_func innocuous_$ac_func
73069 /* System header to define __stub macros and hopefully few prototypes,
73070 which can conflict with char $ac_func (); below.
73071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73072 <limits.h> exists even on freestanding compilers. */
73074 #ifdef __STDC__
73075 # include <limits.h>
73076 #else
73077 # include <assert.h>
73078 #endif
73080 #undef $ac_func
73082 /* Override any gcc2 internal prototype to avoid an error. */
73083 #ifdef __cplusplus
73084 extern "C"
73086 #endif
73087 /* We use char because int might match the return type of a gcc2
73088 builtin and then its argument prototype would still apply. */
73089 char $ac_func ();
73090 /* The GNU C library defines this for functions which it implements
73091 to always fail with ENOSYS. Some functions are actually named
73092 something starting with __ and the normal name is an alias. */
73093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73094 choke me
73095 #else
73096 char (*f) () = $ac_func;
73097 #endif
73098 #ifdef __cplusplus
73100 #endif
73103 main ()
73105 return f != $ac_func;
73107 return 0;
73109 _ACEOF
73110 rm -f conftest.$ac_objext conftest$ac_exeext
73111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73112 (eval $ac_link) 2>conftest.er1
73113 ac_status=$?
73114 grep -v '^ *+' conftest.er1 >conftest.err
73115 rm -f conftest.er1
73116 cat conftest.err >&5
73117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73118 (exit $ac_status); } &&
73119 { ac_try='test -z "$ac_c_werror_flag"
73120 || test ! -s conftest.err'
73121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73122 (eval $ac_try) 2>&5
73123 ac_status=$?
73124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73125 (exit $ac_status); }; } &&
73126 { ac_try='test -s conftest$ac_exeext'
73127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73128 (eval $ac_try) 2>&5
73129 ac_status=$?
73130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73131 (exit $ac_status); }; }; then
73132 eval "$as_ac_var=yes"
73133 else
73134 echo "$as_me: failed program was:" >&5
73135 sed 's/^/| /' conftest.$ac_ext >&5
73137 eval "$as_ac_var=no"
73139 rm -f conftest.err conftest.$ac_objext \
73140 conftest$ac_exeext conftest.$ac_ext
73142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73144 if test `eval echo '${'$as_ac_var'}'` = yes; then
73145 cat >>confdefs.h <<_ACEOF
73146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73147 _ACEOF
73150 done
73152 else
73154 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
73155 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
73156 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
73157 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
73158 echo $ECHO_N "(cached) $ECHO_C" >&6
73159 else
73163 ac_ext=cc
73164 ac_cpp='$CXXCPP $CPPFLAGS'
73165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73169 cat >conftest.$ac_ext <<_ACEOF
73170 /* confdefs.h. */
73171 _ACEOF
73172 cat confdefs.h >>conftest.$ac_ext
73173 cat >>conftest.$ac_ext <<_ACEOF
73174 /* end confdefs.h. */
73175 #include <math.h>
73176 #ifdef HAVE_IEEEFP_H
73177 #include <ieeefp.h>
73178 #endif
73181 main ()
73183 _sqrtf(0);
73185 return 0;
73187 _ACEOF
73188 rm -f conftest.$ac_objext
73189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73190 (eval $ac_compile) 2>conftest.er1
73191 ac_status=$?
73192 grep -v '^ *+' conftest.er1 >conftest.err
73193 rm -f conftest.er1
73194 cat conftest.err >&5
73195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73196 (exit $ac_status); } &&
73197 { ac_try='test -z "$ac_cxx_werror_flag"
73198 || test ! -s conftest.err'
73199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73200 (eval $ac_try) 2>&5
73201 ac_status=$?
73202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73203 (exit $ac_status); }; } &&
73204 { ac_try='test -s conftest.$ac_objext'
73205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73206 (eval $ac_try) 2>&5
73207 ac_status=$?
73208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73209 (exit $ac_status); }; }; then
73210 glibcxx_cv_func__sqrtf_use=yes
73211 else
73212 echo "$as_me: failed program was:" >&5
73213 sed 's/^/| /' conftest.$ac_ext >&5
73215 glibcxx_cv_func__sqrtf_use=no
73217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73218 ac_ext=c
73219 ac_cpp='$CPP $CPPFLAGS'
73220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73228 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
73229 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
73231 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
73233 for ac_func in _sqrtf
73235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73236 echo "$as_me:$LINENO: checking for $ac_func" >&5
73237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73238 if eval "test \"\${$as_ac_var+set}\" = set"; then
73239 echo $ECHO_N "(cached) $ECHO_C" >&6
73240 else
73241 if test x$gcc_no_link = xyes; then
73242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73244 { (exit 1); exit 1; }; }
73246 cat >conftest.$ac_ext <<_ACEOF
73247 /* confdefs.h. */
73248 _ACEOF
73249 cat confdefs.h >>conftest.$ac_ext
73250 cat >>conftest.$ac_ext <<_ACEOF
73251 /* end confdefs.h. */
73252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73254 #define $ac_func innocuous_$ac_func
73256 /* System header to define __stub macros and hopefully few prototypes,
73257 which can conflict with char $ac_func (); below.
73258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73259 <limits.h> exists even on freestanding compilers. */
73261 #ifdef __STDC__
73262 # include <limits.h>
73263 #else
73264 # include <assert.h>
73265 #endif
73267 #undef $ac_func
73269 /* Override any gcc2 internal prototype to avoid an error. */
73270 #ifdef __cplusplus
73271 extern "C"
73273 #endif
73274 /* We use char because int might match the return type of a gcc2
73275 builtin and then its argument prototype would still apply. */
73276 char $ac_func ();
73277 /* The GNU C library defines this for functions which it implements
73278 to always fail with ENOSYS. Some functions are actually named
73279 something starting with __ and the normal name is an alias. */
73280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73281 choke me
73282 #else
73283 char (*f) () = $ac_func;
73284 #endif
73285 #ifdef __cplusplus
73287 #endif
73290 main ()
73292 return f != $ac_func;
73294 return 0;
73296 _ACEOF
73297 rm -f conftest.$ac_objext conftest$ac_exeext
73298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73299 (eval $ac_link) 2>conftest.er1
73300 ac_status=$?
73301 grep -v '^ *+' conftest.er1 >conftest.err
73302 rm -f conftest.er1
73303 cat conftest.err >&5
73304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73305 (exit $ac_status); } &&
73306 { ac_try='test -z "$ac_c_werror_flag"
73307 || test ! -s conftest.err'
73308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73309 (eval $ac_try) 2>&5
73310 ac_status=$?
73311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73312 (exit $ac_status); }; } &&
73313 { ac_try='test -s conftest$ac_exeext'
73314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73315 (eval $ac_try) 2>&5
73316 ac_status=$?
73317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73318 (exit $ac_status); }; }; then
73319 eval "$as_ac_var=yes"
73320 else
73321 echo "$as_me: failed program was:" >&5
73322 sed 's/^/| /' conftest.$ac_ext >&5
73324 eval "$as_ac_var=no"
73326 rm -f conftest.err conftest.$ac_objext \
73327 conftest$ac_exeext conftest.$ac_ext
73329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73331 if test `eval echo '${'$as_ac_var'}'` = yes; then
73332 cat >>confdefs.h <<_ACEOF
73333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73334 _ACEOF
73337 done
73347 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
73348 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
73349 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
73350 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
73351 echo $ECHO_N "(cached) $ECHO_C" >&6
73352 else
73356 ac_ext=cc
73357 ac_cpp='$CXXCPP $CPPFLAGS'
73358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73362 cat >conftest.$ac_ext <<_ACEOF
73363 /* confdefs.h. */
73364 _ACEOF
73365 cat confdefs.h >>conftest.$ac_ext
73366 cat >>conftest.$ac_ext <<_ACEOF
73367 /* end confdefs.h. */
73368 #include <math.h>
73370 main ()
73372 sincosf(0, 0, 0);
73374 return 0;
73376 _ACEOF
73377 rm -f conftest.$ac_objext
73378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73379 (eval $ac_compile) 2>conftest.er1
73380 ac_status=$?
73381 grep -v '^ *+' conftest.er1 >conftest.err
73382 rm -f conftest.er1
73383 cat conftest.err >&5
73384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73385 (exit $ac_status); } &&
73386 { ac_try='test -z "$ac_cxx_werror_flag"
73387 || test ! -s conftest.err'
73388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73389 (eval $ac_try) 2>&5
73390 ac_status=$?
73391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73392 (exit $ac_status); }; } &&
73393 { ac_try='test -s conftest.$ac_objext'
73394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73395 (eval $ac_try) 2>&5
73396 ac_status=$?
73397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73398 (exit $ac_status); }; }; then
73399 glibcxx_cv_func_sincosf_use=yes
73400 else
73401 echo "$as_me: failed program was:" >&5
73402 sed 's/^/| /' conftest.$ac_ext >&5
73404 glibcxx_cv_func_sincosf_use=no
73406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73407 ac_ext=c
73408 ac_cpp='$CPP $CPPFLAGS'
73409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73417 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
73418 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
73420 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
73422 for ac_func in sincosf
73424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73425 echo "$as_me:$LINENO: checking for $ac_func" >&5
73426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73427 if eval "test \"\${$as_ac_var+set}\" = set"; then
73428 echo $ECHO_N "(cached) $ECHO_C" >&6
73429 else
73430 if test x$gcc_no_link = xyes; then
73431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73433 { (exit 1); exit 1; }; }
73435 cat >conftest.$ac_ext <<_ACEOF
73436 /* confdefs.h. */
73437 _ACEOF
73438 cat confdefs.h >>conftest.$ac_ext
73439 cat >>conftest.$ac_ext <<_ACEOF
73440 /* end confdefs.h. */
73441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73443 #define $ac_func innocuous_$ac_func
73445 /* System header to define __stub macros and hopefully few prototypes,
73446 which can conflict with char $ac_func (); below.
73447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73448 <limits.h> exists even on freestanding compilers. */
73450 #ifdef __STDC__
73451 # include <limits.h>
73452 #else
73453 # include <assert.h>
73454 #endif
73456 #undef $ac_func
73458 /* Override any gcc2 internal prototype to avoid an error. */
73459 #ifdef __cplusplus
73460 extern "C"
73462 #endif
73463 /* We use char because int might match the return type of a gcc2
73464 builtin and then its argument prototype would still apply. */
73465 char $ac_func ();
73466 /* The GNU C library defines this for functions which it implements
73467 to always fail with ENOSYS. Some functions are actually named
73468 something starting with __ and the normal name is an alias. */
73469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73470 choke me
73471 #else
73472 char (*f) () = $ac_func;
73473 #endif
73474 #ifdef __cplusplus
73476 #endif
73479 main ()
73481 return f != $ac_func;
73483 return 0;
73485 _ACEOF
73486 rm -f conftest.$ac_objext conftest$ac_exeext
73487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73488 (eval $ac_link) 2>conftest.er1
73489 ac_status=$?
73490 grep -v '^ *+' conftest.er1 >conftest.err
73491 rm -f conftest.er1
73492 cat conftest.err >&5
73493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73494 (exit $ac_status); } &&
73495 { ac_try='test -z "$ac_c_werror_flag"
73496 || test ! -s conftest.err'
73497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73498 (eval $ac_try) 2>&5
73499 ac_status=$?
73500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73501 (exit $ac_status); }; } &&
73502 { ac_try='test -s conftest$ac_exeext'
73503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73504 (eval $ac_try) 2>&5
73505 ac_status=$?
73506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73507 (exit $ac_status); }; }; then
73508 eval "$as_ac_var=yes"
73509 else
73510 echo "$as_me: failed program was:" >&5
73511 sed 's/^/| /' conftest.$ac_ext >&5
73513 eval "$as_ac_var=no"
73515 rm -f conftest.err conftest.$ac_objext \
73516 conftest$ac_exeext conftest.$ac_ext
73518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73520 if test `eval echo '${'$as_ac_var'}'` = yes; then
73521 cat >>confdefs.h <<_ACEOF
73522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73523 _ACEOF
73526 done
73528 else
73530 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
73531 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
73532 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
73533 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
73534 echo $ECHO_N "(cached) $ECHO_C" >&6
73535 else
73539 ac_ext=cc
73540 ac_cpp='$CXXCPP $CPPFLAGS'
73541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73545 cat >conftest.$ac_ext <<_ACEOF
73546 /* confdefs.h. */
73547 _ACEOF
73548 cat confdefs.h >>conftest.$ac_ext
73549 cat >>conftest.$ac_ext <<_ACEOF
73550 /* end confdefs.h. */
73551 #include <math.h>
73553 main ()
73555 _sincosf(0, 0, 0);
73557 return 0;
73559 _ACEOF
73560 rm -f conftest.$ac_objext
73561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73562 (eval $ac_compile) 2>conftest.er1
73563 ac_status=$?
73564 grep -v '^ *+' conftest.er1 >conftest.err
73565 rm -f conftest.er1
73566 cat conftest.err >&5
73567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73568 (exit $ac_status); } &&
73569 { ac_try='test -z "$ac_cxx_werror_flag"
73570 || test ! -s conftest.err'
73571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73572 (eval $ac_try) 2>&5
73573 ac_status=$?
73574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73575 (exit $ac_status); }; } &&
73576 { ac_try='test -s conftest.$ac_objext'
73577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73578 (eval $ac_try) 2>&5
73579 ac_status=$?
73580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73581 (exit $ac_status); }; }; then
73582 glibcxx_cv_func__sincosf_use=yes
73583 else
73584 echo "$as_me: failed program was:" >&5
73585 sed 's/^/| /' conftest.$ac_ext >&5
73587 glibcxx_cv_func__sincosf_use=no
73589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73590 ac_ext=c
73591 ac_cpp='$CPP $CPPFLAGS'
73592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73600 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
73601 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
73603 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
73605 for ac_func in _sincosf
73607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73608 echo "$as_me:$LINENO: checking for $ac_func" >&5
73609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73610 if eval "test \"\${$as_ac_var+set}\" = set"; then
73611 echo $ECHO_N "(cached) $ECHO_C" >&6
73612 else
73613 if test x$gcc_no_link = xyes; then
73614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73616 { (exit 1); exit 1; }; }
73618 cat >conftest.$ac_ext <<_ACEOF
73619 /* confdefs.h. */
73620 _ACEOF
73621 cat confdefs.h >>conftest.$ac_ext
73622 cat >>conftest.$ac_ext <<_ACEOF
73623 /* end confdefs.h. */
73624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73626 #define $ac_func innocuous_$ac_func
73628 /* System header to define __stub macros and hopefully few prototypes,
73629 which can conflict with char $ac_func (); below.
73630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73631 <limits.h> exists even on freestanding compilers. */
73633 #ifdef __STDC__
73634 # include <limits.h>
73635 #else
73636 # include <assert.h>
73637 #endif
73639 #undef $ac_func
73641 /* Override any gcc2 internal prototype to avoid an error. */
73642 #ifdef __cplusplus
73643 extern "C"
73645 #endif
73646 /* We use char because int might match the return type of a gcc2
73647 builtin and then its argument prototype would still apply. */
73648 char $ac_func ();
73649 /* The GNU C library defines this for functions which it implements
73650 to always fail with ENOSYS. Some functions are actually named
73651 something starting with __ and the normal name is an alias. */
73652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73653 choke me
73654 #else
73655 char (*f) () = $ac_func;
73656 #endif
73657 #ifdef __cplusplus
73659 #endif
73662 main ()
73664 return f != $ac_func;
73666 return 0;
73668 _ACEOF
73669 rm -f conftest.$ac_objext conftest$ac_exeext
73670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73671 (eval $ac_link) 2>conftest.er1
73672 ac_status=$?
73673 grep -v '^ *+' conftest.er1 >conftest.err
73674 rm -f conftest.er1
73675 cat conftest.err >&5
73676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73677 (exit $ac_status); } &&
73678 { ac_try='test -z "$ac_c_werror_flag"
73679 || test ! -s conftest.err'
73680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73681 (eval $ac_try) 2>&5
73682 ac_status=$?
73683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73684 (exit $ac_status); }; } &&
73685 { ac_try='test -s conftest$ac_exeext'
73686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73687 (eval $ac_try) 2>&5
73688 ac_status=$?
73689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73690 (exit $ac_status); }; }; then
73691 eval "$as_ac_var=yes"
73692 else
73693 echo "$as_me: failed program was:" >&5
73694 sed 's/^/| /' conftest.$ac_ext >&5
73696 eval "$as_ac_var=no"
73698 rm -f conftest.err conftest.$ac_objext \
73699 conftest$ac_exeext conftest.$ac_ext
73701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73703 if test `eval echo '${'$as_ac_var'}'` = yes; then
73704 cat >>confdefs.h <<_ACEOF
73705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73706 _ACEOF
73709 done
73719 echo "$as_me:$LINENO: checking for finitef declaration" >&5
73720 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
73721 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
73722 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
73723 echo $ECHO_N "(cached) $ECHO_C" >&6
73724 else
73728 ac_ext=cc
73729 ac_cpp='$CXXCPP $CPPFLAGS'
73730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73734 cat >conftest.$ac_ext <<_ACEOF
73735 /* confdefs.h. */
73736 _ACEOF
73737 cat confdefs.h >>conftest.$ac_ext
73738 cat >>conftest.$ac_ext <<_ACEOF
73739 /* end confdefs.h. */
73740 #include <math.h>
73741 #ifdef HAVE_IEEEFP_H
73742 #include <ieeefp.h>
73743 #endif
73746 main ()
73748 finitef(0);
73750 return 0;
73752 _ACEOF
73753 rm -f conftest.$ac_objext
73754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73755 (eval $ac_compile) 2>conftest.er1
73756 ac_status=$?
73757 grep -v '^ *+' conftest.er1 >conftest.err
73758 rm -f conftest.er1
73759 cat conftest.err >&5
73760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73761 (exit $ac_status); } &&
73762 { ac_try='test -z "$ac_cxx_werror_flag"
73763 || test ! -s conftest.err'
73764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73765 (eval $ac_try) 2>&5
73766 ac_status=$?
73767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73768 (exit $ac_status); }; } &&
73769 { ac_try='test -s conftest.$ac_objext'
73770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73771 (eval $ac_try) 2>&5
73772 ac_status=$?
73773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73774 (exit $ac_status); }; }; then
73775 glibcxx_cv_func_finitef_use=yes
73776 else
73777 echo "$as_me: failed program was:" >&5
73778 sed 's/^/| /' conftest.$ac_ext >&5
73780 glibcxx_cv_func_finitef_use=no
73782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73783 ac_ext=c
73784 ac_cpp='$CPP $CPPFLAGS'
73785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73793 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
73794 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
73796 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
73798 for ac_func in finitef
73800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73801 echo "$as_me:$LINENO: checking for $ac_func" >&5
73802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73803 if eval "test \"\${$as_ac_var+set}\" = set"; then
73804 echo $ECHO_N "(cached) $ECHO_C" >&6
73805 else
73806 if test x$gcc_no_link = xyes; then
73807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73809 { (exit 1); exit 1; }; }
73811 cat >conftest.$ac_ext <<_ACEOF
73812 /* confdefs.h. */
73813 _ACEOF
73814 cat confdefs.h >>conftest.$ac_ext
73815 cat >>conftest.$ac_ext <<_ACEOF
73816 /* end confdefs.h. */
73817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73819 #define $ac_func innocuous_$ac_func
73821 /* System header to define __stub macros and hopefully few prototypes,
73822 which can conflict with char $ac_func (); below.
73823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73824 <limits.h> exists even on freestanding compilers. */
73826 #ifdef __STDC__
73827 # include <limits.h>
73828 #else
73829 # include <assert.h>
73830 #endif
73832 #undef $ac_func
73834 /* Override any gcc2 internal prototype to avoid an error. */
73835 #ifdef __cplusplus
73836 extern "C"
73838 #endif
73839 /* We use char because int might match the return type of a gcc2
73840 builtin and then its argument prototype would still apply. */
73841 char $ac_func ();
73842 /* The GNU C library defines this for functions which it implements
73843 to always fail with ENOSYS. Some functions are actually named
73844 something starting with __ and the normal name is an alias. */
73845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73846 choke me
73847 #else
73848 char (*f) () = $ac_func;
73849 #endif
73850 #ifdef __cplusplus
73852 #endif
73855 main ()
73857 return f != $ac_func;
73859 return 0;
73861 _ACEOF
73862 rm -f conftest.$ac_objext conftest$ac_exeext
73863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73864 (eval $ac_link) 2>conftest.er1
73865 ac_status=$?
73866 grep -v '^ *+' conftest.er1 >conftest.err
73867 rm -f conftest.er1
73868 cat conftest.err >&5
73869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73870 (exit $ac_status); } &&
73871 { ac_try='test -z "$ac_c_werror_flag"
73872 || test ! -s conftest.err'
73873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73874 (eval $ac_try) 2>&5
73875 ac_status=$?
73876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73877 (exit $ac_status); }; } &&
73878 { ac_try='test -s conftest$ac_exeext'
73879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73880 (eval $ac_try) 2>&5
73881 ac_status=$?
73882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73883 (exit $ac_status); }; }; then
73884 eval "$as_ac_var=yes"
73885 else
73886 echo "$as_me: failed program was:" >&5
73887 sed 's/^/| /' conftest.$ac_ext >&5
73889 eval "$as_ac_var=no"
73891 rm -f conftest.err conftest.$ac_objext \
73892 conftest$ac_exeext conftest.$ac_ext
73894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73896 if test `eval echo '${'$as_ac_var'}'` = yes; then
73897 cat >>confdefs.h <<_ACEOF
73898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73899 _ACEOF
73902 done
73904 else
73906 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
73907 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
73908 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
73909 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
73910 echo $ECHO_N "(cached) $ECHO_C" >&6
73911 else
73915 ac_ext=cc
73916 ac_cpp='$CXXCPP $CPPFLAGS'
73917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73921 cat >conftest.$ac_ext <<_ACEOF
73922 /* confdefs.h. */
73923 _ACEOF
73924 cat confdefs.h >>conftest.$ac_ext
73925 cat >>conftest.$ac_ext <<_ACEOF
73926 /* end confdefs.h. */
73927 #include <math.h>
73928 #ifdef HAVE_IEEEFP_H
73929 #include <ieeefp.h>
73930 #endif
73933 main ()
73935 _finitef(0);
73937 return 0;
73939 _ACEOF
73940 rm -f conftest.$ac_objext
73941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73942 (eval $ac_compile) 2>conftest.er1
73943 ac_status=$?
73944 grep -v '^ *+' conftest.er1 >conftest.err
73945 rm -f conftest.er1
73946 cat conftest.err >&5
73947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73948 (exit $ac_status); } &&
73949 { ac_try='test -z "$ac_cxx_werror_flag"
73950 || test ! -s conftest.err'
73951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73952 (eval $ac_try) 2>&5
73953 ac_status=$?
73954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73955 (exit $ac_status); }; } &&
73956 { ac_try='test -s conftest.$ac_objext'
73957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73958 (eval $ac_try) 2>&5
73959 ac_status=$?
73960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73961 (exit $ac_status); }; }; then
73962 glibcxx_cv_func__finitef_use=yes
73963 else
73964 echo "$as_me: failed program was:" >&5
73965 sed 's/^/| /' conftest.$ac_ext >&5
73967 glibcxx_cv_func__finitef_use=no
73969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73970 ac_ext=c
73971 ac_cpp='$CPP $CPPFLAGS'
73972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73980 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
73981 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
73983 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
73985 for ac_func in _finitef
73987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73988 echo "$as_me:$LINENO: checking for $ac_func" >&5
73989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73990 if eval "test \"\${$as_ac_var+set}\" = set"; then
73991 echo $ECHO_N "(cached) $ECHO_C" >&6
73992 else
73993 if test x$gcc_no_link = xyes; then
73994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73996 { (exit 1); exit 1; }; }
73998 cat >conftest.$ac_ext <<_ACEOF
73999 /* confdefs.h. */
74000 _ACEOF
74001 cat confdefs.h >>conftest.$ac_ext
74002 cat >>conftest.$ac_ext <<_ACEOF
74003 /* end confdefs.h. */
74004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74006 #define $ac_func innocuous_$ac_func
74008 /* System header to define __stub macros and hopefully few prototypes,
74009 which can conflict with char $ac_func (); below.
74010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74011 <limits.h> exists even on freestanding compilers. */
74013 #ifdef __STDC__
74014 # include <limits.h>
74015 #else
74016 # include <assert.h>
74017 #endif
74019 #undef $ac_func
74021 /* Override any gcc2 internal prototype to avoid an error. */
74022 #ifdef __cplusplus
74023 extern "C"
74025 #endif
74026 /* We use char because int might match the return type of a gcc2
74027 builtin and then its argument prototype would still apply. */
74028 char $ac_func ();
74029 /* The GNU C library defines this for functions which it implements
74030 to always fail with ENOSYS. Some functions are actually named
74031 something starting with __ and the normal name is an alias. */
74032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74033 choke me
74034 #else
74035 char (*f) () = $ac_func;
74036 #endif
74037 #ifdef __cplusplus
74039 #endif
74042 main ()
74044 return f != $ac_func;
74046 return 0;
74048 _ACEOF
74049 rm -f conftest.$ac_objext conftest$ac_exeext
74050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74051 (eval $ac_link) 2>conftest.er1
74052 ac_status=$?
74053 grep -v '^ *+' conftest.er1 >conftest.err
74054 rm -f conftest.er1
74055 cat conftest.err >&5
74056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74057 (exit $ac_status); } &&
74058 { ac_try='test -z "$ac_c_werror_flag"
74059 || test ! -s conftest.err'
74060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74061 (eval $ac_try) 2>&5
74062 ac_status=$?
74063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74064 (exit $ac_status); }; } &&
74065 { ac_try='test -s conftest$ac_exeext'
74066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74067 (eval $ac_try) 2>&5
74068 ac_status=$?
74069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74070 (exit $ac_status); }; }; then
74071 eval "$as_ac_var=yes"
74072 else
74073 echo "$as_me: failed program was:" >&5
74074 sed 's/^/| /' conftest.$ac_ext >&5
74076 eval "$as_ac_var=no"
74078 rm -f conftest.err conftest.$ac_objext \
74079 conftest$ac_exeext conftest.$ac_ext
74081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74083 if test `eval echo '${'$as_ac_var'}'` = yes; then
74084 cat >>confdefs.h <<_ACEOF
74085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74086 _ACEOF
74089 done
74099 echo "$as_me:$LINENO: checking for long double trig functions" >&5
74100 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
74101 if test "${glibcxx_cv_func_long_double_trig_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>
74121 main ()
74123 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74125 return 0;
74127 _ACEOF
74128 rm -f conftest.$ac_objext
74129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74130 (eval $ac_compile) 2>conftest.er1
74131 ac_status=$?
74132 grep -v '^ *+' conftest.er1 >conftest.err
74133 rm -f conftest.er1
74134 cat conftest.err >&5
74135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74136 (exit $ac_status); } &&
74137 { ac_try='test -z "$ac_cxx_werror_flag"
74138 || test ! -s conftest.err'
74139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74140 (eval $ac_try) 2>&5
74141 ac_status=$?
74142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74143 (exit $ac_status); }; } &&
74144 { ac_try='test -s conftest.$ac_objext'
74145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74146 (eval $ac_try) 2>&5
74147 ac_status=$?
74148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74149 (exit $ac_status); }; }; then
74150 glibcxx_cv_func_long_double_trig_use=yes
74151 else
74152 echo "$as_me: failed program was:" >&5
74153 sed 's/^/| /' conftest.$ac_ext >&5
74155 glibcxx_cv_func_long_double_trig_use=no
74157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74158 ac_ext=c
74159 ac_cpp='$CPP $CPPFLAGS'
74160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74166 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
74167 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
74168 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74178 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74181 echo "$as_me:$LINENO: checking for $ac_func" >&5
74182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74183 if eval "test \"\${$as_ac_var+set}\" = set"; then
74184 echo $ECHO_N "(cached) $ECHO_C" >&6
74185 else
74186 if test x$gcc_no_link = xyes; then
74187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74189 { (exit 1); exit 1; }; }
74191 cat >conftest.$ac_ext <<_ACEOF
74192 /* confdefs.h. */
74193 _ACEOF
74194 cat confdefs.h >>conftest.$ac_ext
74195 cat >>conftest.$ac_ext <<_ACEOF
74196 /* end confdefs.h. */
74197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74199 #define $ac_func innocuous_$ac_func
74201 /* System header to define __stub macros and hopefully few prototypes,
74202 which can conflict with char $ac_func (); below.
74203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74204 <limits.h> exists even on freestanding compilers. */
74206 #ifdef __STDC__
74207 # include <limits.h>
74208 #else
74209 # include <assert.h>
74210 #endif
74212 #undef $ac_func
74214 /* Override any gcc2 internal prototype to avoid an error. */
74215 #ifdef __cplusplus
74216 extern "C"
74218 #endif
74219 /* We use char because int might match the return type of a gcc2
74220 builtin and then its argument prototype would still apply. */
74221 char $ac_func ();
74222 /* The GNU C library defines this for functions which it implements
74223 to always fail with ENOSYS. Some functions are actually named
74224 something starting with __ and the normal name is an alias. */
74225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74226 choke me
74227 #else
74228 char (*f) () = $ac_func;
74229 #endif
74230 #ifdef __cplusplus
74232 #endif
74235 main ()
74237 return f != $ac_func;
74239 return 0;
74241 _ACEOF
74242 rm -f conftest.$ac_objext conftest$ac_exeext
74243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74244 (eval $ac_link) 2>conftest.er1
74245 ac_status=$?
74246 grep -v '^ *+' conftest.er1 >conftest.err
74247 rm -f conftest.er1
74248 cat conftest.err >&5
74249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74250 (exit $ac_status); } &&
74251 { ac_try='test -z "$ac_c_werror_flag"
74252 || test ! -s conftest.err'
74253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74254 (eval $ac_try) 2>&5
74255 ac_status=$?
74256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74257 (exit $ac_status); }; } &&
74258 { ac_try='test -s conftest$ac_exeext'
74259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74260 (eval $ac_try) 2>&5
74261 ac_status=$?
74262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74263 (exit $ac_status); }; }; then
74264 eval "$as_ac_var=yes"
74265 else
74266 echo "$as_me: failed program was:" >&5
74267 sed 's/^/| /' conftest.$ac_ext >&5
74269 eval "$as_ac_var=no"
74271 rm -f conftest.err conftest.$ac_objext \
74272 conftest$ac_exeext conftest.$ac_ext
74274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74276 if test `eval echo '${'$as_ac_var'}'` = yes; then
74277 cat >>confdefs.h <<_ACEOF
74278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74279 _ACEOF
74282 done
74284 else
74285 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
74286 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
74287 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
74288 echo $ECHO_N "(cached) $ECHO_C" >&6
74289 else
74293 ac_ext=cc
74294 ac_cpp='$CXXCPP $CPPFLAGS'
74295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74299 cat >conftest.$ac_ext <<_ACEOF
74300 /* confdefs.h. */
74301 _ACEOF
74302 cat confdefs.h >>conftest.$ac_ext
74303 cat >>conftest.$ac_ext <<_ACEOF
74304 /* end confdefs.h. */
74305 #include <math.h>
74307 main ()
74309 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74311 return 0;
74313 _ACEOF
74314 rm -f conftest.$ac_objext
74315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74316 (eval $ac_compile) 2>conftest.er1
74317 ac_status=$?
74318 grep -v '^ *+' conftest.er1 >conftest.err
74319 rm -f conftest.er1
74320 cat conftest.err >&5
74321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74322 (exit $ac_status); } &&
74323 { ac_try='test -z "$ac_cxx_werror_flag"
74324 || test ! -s conftest.err'
74325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74326 (eval $ac_try) 2>&5
74327 ac_status=$?
74328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74329 (exit $ac_status); }; } &&
74330 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
74336 glibcxx_cv_func__long_double_trig_use=yes
74337 else
74338 echo "$as_me: failed program was:" >&5
74339 sed 's/^/| /' conftest.$ac_ext >&5
74341 glibcxx_cv_func__long_double_trig_use=no
74343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74344 ac_ext=c
74345 ac_cpp='$CPP $CPPFLAGS'
74346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74352 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
74353 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
74354 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74364 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74367 echo "$as_me:$LINENO: checking for $ac_func" >&5
74368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74369 if eval "test \"\${$as_ac_var+set}\" = set"; then
74370 echo $ECHO_N "(cached) $ECHO_C" >&6
74371 else
74372 if test x$gcc_no_link = xyes; then
74373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74375 { (exit 1); exit 1; }; }
74377 cat >conftest.$ac_ext <<_ACEOF
74378 /* confdefs.h. */
74379 _ACEOF
74380 cat confdefs.h >>conftest.$ac_ext
74381 cat >>conftest.$ac_ext <<_ACEOF
74382 /* end confdefs.h. */
74383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74385 #define $ac_func innocuous_$ac_func
74387 /* System header to define __stub macros and hopefully few prototypes,
74388 which can conflict with char $ac_func (); below.
74389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74390 <limits.h> exists even on freestanding compilers. */
74392 #ifdef __STDC__
74393 # include <limits.h>
74394 #else
74395 # include <assert.h>
74396 #endif
74398 #undef $ac_func
74400 /* Override any gcc2 internal prototype to avoid an error. */
74401 #ifdef __cplusplus
74402 extern "C"
74404 #endif
74405 /* We use char because int might match the return type of a gcc2
74406 builtin and then its argument prototype would still apply. */
74407 char $ac_func ();
74408 /* The GNU C library defines this for functions which it implements
74409 to always fail with ENOSYS. Some functions are actually named
74410 something starting with __ and the normal name is an alias. */
74411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74412 choke me
74413 #else
74414 char (*f) () = $ac_func;
74415 #endif
74416 #ifdef __cplusplus
74418 #endif
74421 main ()
74423 return f != $ac_func;
74425 return 0;
74427 _ACEOF
74428 rm -f conftest.$ac_objext conftest$ac_exeext
74429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74430 (eval $ac_link) 2>conftest.er1
74431 ac_status=$?
74432 grep -v '^ *+' conftest.er1 >conftest.err
74433 rm -f conftest.er1
74434 cat conftest.err >&5
74435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74436 (exit $ac_status); } &&
74437 { ac_try='test -z "$ac_c_werror_flag"
74438 || test ! -s conftest.err'
74439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74440 (eval $ac_try) 2>&5
74441 ac_status=$?
74442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74443 (exit $ac_status); }; } &&
74444 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
74450 eval "$as_ac_var=yes"
74451 else
74452 echo "$as_me: failed program was:" >&5
74453 sed 's/^/| /' conftest.$ac_ext >&5
74455 eval "$as_ac_var=no"
74457 rm -f conftest.err conftest.$ac_objext \
74458 conftest$ac_exeext conftest.$ac_ext
74460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74462 if test `eval echo '${'$as_ac_var'}'` = yes; then
74463 cat >>confdefs.h <<_ACEOF
74464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74465 _ACEOF
74468 done
74486 echo "$as_me:$LINENO: checking for long double round functions" >&5
74487 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
74488 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
74489 echo $ECHO_N "(cached) $ECHO_C" >&6
74490 else
74494 ac_ext=cc
74495 ac_cpp='$CXXCPP $CPPFLAGS'
74496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74500 cat >conftest.$ac_ext <<_ACEOF
74501 /* confdefs.h. */
74502 _ACEOF
74503 cat confdefs.h >>conftest.$ac_ext
74504 cat >>conftest.$ac_ext <<_ACEOF
74505 /* end confdefs.h. */
74506 #include <math.h>
74508 main ()
74510 ceill (0); floorl (0);
74512 return 0;
74514 _ACEOF
74515 rm -f conftest.$ac_objext
74516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74517 (eval $ac_compile) 2>conftest.er1
74518 ac_status=$?
74519 grep -v '^ *+' conftest.er1 >conftest.err
74520 rm -f conftest.er1
74521 cat conftest.err >&5
74522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74523 (exit $ac_status); } &&
74524 { ac_try='test -z "$ac_cxx_werror_flag"
74525 || test ! -s conftest.err'
74526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74527 (eval $ac_try) 2>&5
74528 ac_status=$?
74529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74530 (exit $ac_status); }; } &&
74531 { ac_try='test -s conftest.$ac_objext'
74532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74533 (eval $ac_try) 2>&5
74534 ac_status=$?
74535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74536 (exit $ac_status); }; }; then
74537 glibcxx_cv_func_long_double_round_use=yes
74538 else
74539 echo "$as_me: failed program was:" >&5
74540 sed 's/^/| /' conftest.$ac_ext >&5
74542 glibcxx_cv_func_long_double_round_use=no
74544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74545 ac_ext=c
74546 ac_cpp='$CPP $CPPFLAGS'
74547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74553 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
74554 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
74555 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74558 for ac_func in ceill floorl
74560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74561 echo "$as_me:$LINENO: checking for $ac_func" >&5
74562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74563 if eval "test \"\${$as_ac_var+set}\" = set"; then
74564 echo $ECHO_N "(cached) $ECHO_C" >&6
74565 else
74566 if test x$gcc_no_link = xyes; then
74567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74569 { (exit 1); exit 1; }; }
74571 cat >conftest.$ac_ext <<_ACEOF
74572 /* confdefs.h. */
74573 _ACEOF
74574 cat confdefs.h >>conftest.$ac_ext
74575 cat >>conftest.$ac_ext <<_ACEOF
74576 /* end confdefs.h. */
74577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74579 #define $ac_func innocuous_$ac_func
74581 /* System header to define __stub macros and hopefully few prototypes,
74582 which can conflict with char $ac_func (); below.
74583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74584 <limits.h> exists even on freestanding compilers. */
74586 #ifdef __STDC__
74587 # include <limits.h>
74588 #else
74589 # include <assert.h>
74590 #endif
74592 #undef $ac_func
74594 /* Override any gcc2 internal prototype to avoid an error. */
74595 #ifdef __cplusplus
74596 extern "C"
74598 #endif
74599 /* We use char because int might match the return type of a gcc2
74600 builtin and then its argument prototype would still apply. */
74601 char $ac_func ();
74602 /* The GNU C library defines this for functions which it implements
74603 to always fail with ENOSYS. Some functions are actually named
74604 something starting with __ and the normal name is an alias. */
74605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74606 choke me
74607 #else
74608 char (*f) () = $ac_func;
74609 #endif
74610 #ifdef __cplusplus
74612 #endif
74615 main ()
74617 return f != $ac_func;
74619 return 0;
74621 _ACEOF
74622 rm -f conftest.$ac_objext conftest$ac_exeext
74623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74624 (eval $ac_link) 2>conftest.er1
74625 ac_status=$?
74626 grep -v '^ *+' conftest.er1 >conftest.err
74627 rm -f conftest.er1
74628 cat conftest.err >&5
74629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74630 (exit $ac_status); } &&
74631 { ac_try='test -z "$ac_c_werror_flag"
74632 || test ! -s conftest.err'
74633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74634 (eval $ac_try) 2>&5
74635 ac_status=$?
74636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74637 (exit $ac_status); }; } &&
74638 { ac_try='test -s conftest$ac_exeext'
74639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74640 (eval $ac_try) 2>&5
74641 ac_status=$?
74642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74643 (exit $ac_status); }; }; then
74644 eval "$as_ac_var=yes"
74645 else
74646 echo "$as_me: failed program was:" >&5
74647 sed 's/^/| /' conftest.$ac_ext >&5
74649 eval "$as_ac_var=no"
74651 rm -f conftest.err conftest.$ac_objext \
74652 conftest$ac_exeext conftest.$ac_ext
74654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74656 if test `eval echo '${'$as_ac_var'}'` = yes; then
74657 cat >>confdefs.h <<_ACEOF
74658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74659 _ACEOF
74662 done
74664 else
74665 echo "$as_me:$LINENO: checking for _long double round functions" >&5
74666 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
74667 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
74668 echo $ECHO_N "(cached) $ECHO_C" >&6
74669 else
74673 ac_ext=cc
74674 ac_cpp='$CXXCPP $CPPFLAGS'
74675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74679 cat >conftest.$ac_ext <<_ACEOF
74680 /* confdefs.h. */
74681 _ACEOF
74682 cat confdefs.h >>conftest.$ac_ext
74683 cat >>conftest.$ac_ext <<_ACEOF
74684 /* end confdefs.h. */
74685 #include <math.h>
74687 main ()
74689 _ceill (0); _floorl (0);
74691 return 0;
74693 _ACEOF
74694 rm -f conftest.$ac_objext
74695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74696 (eval $ac_compile) 2>conftest.er1
74697 ac_status=$?
74698 grep -v '^ *+' conftest.er1 >conftest.err
74699 rm -f conftest.er1
74700 cat conftest.err >&5
74701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74702 (exit $ac_status); } &&
74703 { ac_try='test -z "$ac_cxx_werror_flag"
74704 || test ! -s conftest.err'
74705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74706 (eval $ac_try) 2>&5
74707 ac_status=$?
74708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74709 (exit $ac_status); }; } &&
74710 { ac_try='test -s conftest.$ac_objext'
74711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74712 (eval $ac_try) 2>&5
74713 ac_status=$?
74714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74715 (exit $ac_status); }; }; then
74716 glibcxx_cv_func__long_double_round_use=yes
74717 else
74718 echo "$as_me: failed program was:" >&5
74719 sed 's/^/| /' conftest.$ac_ext >&5
74721 glibcxx_cv_func__long_double_round_use=no
74723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74724 ac_ext=c
74725 ac_cpp='$CPP $CPPFLAGS'
74726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74732 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
74733 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
74734 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74737 for ac_func in _ceill _floorl
74739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74740 echo "$as_me:$LINENO: checking for $ac_func" >&5
74741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74742 if eval "test \"\${$as_ac_var+set}\" = set"; then
74743 echo $ECHO_N "(cached) $ECHO_C" >&6
74744 else
74745 if test x$gcc_no_link = xyes; then
74746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74748 { (exit 1); exit 1; }; }
74750 cat >conftest.$ac_ext <<_ACEOF
74751 /* confdefs.h. */
74752 _ACEOF
74753 cat confdefs.h >>conftest.$ac_ext
74754 cat >>conftest.$ac_ext <<_ACEOF
74755 /* end confdefs.h. */
74756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74758 #define $ac_func innocuous_$ac_func
74760 /* System header to define __stub macros and hopefully few prototypes,
74761 which can conflict with char $ac_func (); below.
74762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74763 <limits.h> exists even on freestanding compilers. */
74765 #ifdef __STDC__
74766 # include <limits.h>
74767 #else
74768 # include <assert.h>
74769 #endif
74771 #undef $ac_func
74773 /* Override any gcc2 internal prototype to avoid an error. */
74774 #ifdef __cplusplus
74775 extern "C"
74777 #endif
74778 /* We use char because int might match the return type of a gcc2
74779 builtin and then its argument prototype would still apply. */
74780 char $ac_func ();
74781 /* The GNU C library defines this for functions which it implements
74782 to always fail with ENOSYS. Some functions are actually named
74783 something starting with __ and the normal name is an alias. */
74784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74785 choke me
74786 #else
74787 char (*f) () = $ac_func;
74788 #endif
74789 #ifdef __cplusplus
74791 #endif
74794 main ()
74796 return f != $ac_func;
74798 return 0;
74800 _ACEOF
74801 rm -f conftest.$ac_objext conftest$ac_exeext
74802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74803 (eval $ac_link) 2>conftest.er1
74804 ac_status=$?
74805 grep -v '^ *+' conftest.er1 >conftest.err
74806 rm -f conftest.er1
74807 cat conftest.err >&5
74808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74809 (exit $ac_status); } &&
74810 { ac_try='test -z "$ac_c_werror_flag"
74811 || test ! -s conftest.err'
74812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74813 (eval $ac_try) 2>&5
74814 ac_status=$?
74815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74816 (exit $ac_status); }; } &&
74817 { ac_try='test -s conftest$ac_exeext'
74818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74819 (eval $ac_try) 2>&5
74820 ac_status=$?
74821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74822 (exit $ac_status); }; }; then
74823 eval "$as_ac_var=yes"
74824 else
74825 echo "$as_me: failed program was:" >&5
74826 sed 's/^/| /' conftest.$ac_ext >&5
74828 eval "$as_ac_var=no"
74830 rm -f conftest.err conftest.$ac_objext \
74831 conftest$ac_exeext conftest.$ac_ext
74833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74835 if test `eval echo '${'$as_ac_var'}'` = yes; then
74836 cat >>confdefs.h <<_ACEOF
74837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74838 _ACEOF
74841 done
74853 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
74854 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
74855 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74856 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
74857 echo $ECHO_N "(cached) $ECHO_C" >&6
74858 else
74862 ac_ext=cc
74863 ac_cpp='$CXXCPP $CPPFLAGS'
74864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74868 cat >conftest.$ac_ext <<_ACEOF
74869 /* confdefs.h. */
74870 _ACEOF
74871 cat confdefs.h >>conftest.$ac_ext
74872 cat >>conftest.$ac_ext <<_ACEOF
74873 /* end confdefs.h. */
74874 #include <math.h>
74875 #ifdef HAVE_IEEEFP_H
74876 #include <ieeefp.h>
74877 #endif
74880 main ()
74882 isnanl(0);
74884 return 0;
74886 _ACEOF
74887 rm -f conftest.$ac_objext
74888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74889 (eval $ac_compile) 2>conftest.er1
74890 ac_status=$?
74891 grep -v '^ *+' conftest.er1 >conftest.err
74892 rm -f conftest.er1
74893 cat conftest.err >&5
74894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74895 (exit $ac_status); } &&
74896 { ac_try='test -z "$ac_cxx_werror_flag"
74897 || test ! -s conftest.err'
74898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74899 (eval $ac_try) 2>&5
74900 ac_status=$?
74901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74902 (exit $ac_status); }; } &&
74903 { ac_try='test -s conftest.$ac_objext'
74904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74905 (eval $ac_try) 2>&5
74906 ac_status=$?
74907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74908 (exit $ac_status); }; }; then
74909 glibcxx_cv_func_isnanl_use=yes
74910 else
74911 echo "$as_me: failed program was:" >&5
74912 sed 's/^/| /' conftest.$ac_ext >&5
74914 glibcxx_cv_func_isnanl_use=no
74916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74917 ac_ext=c
74918 ac_cpp='$CPP $CPPFLAGS'
74919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74927 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
74928 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
74930 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74932 for ac_func in isnanl
74934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74935 echo "$as_me:$LINENO: checking for $ac_func" >&5
74936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74937 if eval "test \"\${$as_ac_var+set}\" = set"; then
74938 echo $ECHO_N "(cached) $ECHO_C" >&6
74939 else
74940 if test x$gcc_no_link = xyes; then
74941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74943 { (exit 1); exit 1; }; }
74945 cat >conftest.$ac_ext <<_ACEOF
74946 /* confdefs.h. */
74947 _ACEOF
74948 cat confdefs.h >>conftest.$ac_ext
74949 cat >>conftest.$ac_ext <<_ACEOF
74950 /* end confdefs.h. */
74951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74953 #define $ac_func innocuous_$ac_func
74955 /* System header to define __stub macros and hopefully few prototypes,
74956 which can conflict with char $ac_func (); below.
74957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74958 <limits.h> exists even on freestanding compilers. */
74960 #ifdef __STDC__
74961 # include <limits.h>
74962 #else
74963 # include <assert.h>
74964 #endif
74966 #undef $ac_func
74968 /* Override any gcc2 internal prototype to avoid an error. */
74969 #ifdef __cplusplus
74970 extern "C"
74972 #endif
74973 /* We use char because int might match the return type of a gcc2
74974 builtin and then its argument prototype would still apply. */
74975 char $ac_func ();
74976 /* The GNU C library defines this for functions which it implements
74977 to always fail with ENOSYS. Some functions are actually named
74978 something starting with __ and the normal name is an alias. */
74979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74980 choke me
74981 #else
74982 char (*f) () = $ac_func;
74983 #endif
74984 #ifdef __cplusplus
74986 #endif
74989 main ()
74991 return f != $ac_func;
74993 return 0;
74995 _ACEOF
74996 rm -f conftest.$ac_objext conftest$ac_exeext
74997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74998 (eval $ac_link) 2>conftest.er1
74999 ac_status=$?
75000 grep -v '^ *+' conftest.er1 >conftest.err
75001 rm -f conftest.er1
75002 cat conftest.err >&5
75003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75004 (exit $ac_status); } &&
75005 { ac_try='test -z "$ac_c_werror_flag"
75006 || test ! -s conftest.err'
75007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75008 (eval $ac_try) 2>&5
75009 ac_status=$?
75010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75011 (exit $ac_status); }; } &&
75012 { ac_try='test -s conftest$ac_exeext'
75013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75014 (eval $ac_try) 2>&5
75015 ac_status=$?
75016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75017 (exit $ac_status); }; }; then
75018 eval "$as_ac_var=yes"
75019 else
75020 echo "$as_me: failed program was:" >&5
75021 sed 's/^/| /' conftest.$ac_ext >&5
75023 eval "$as_ac_var=no"
75025 rm -f conftest.err conftest.$ac_objext \
75026 conftest$ac_exeext conftest.$ac_ext
75028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75030 if test `eval echo '${'$as_ac_var'}'` = yes; then
75031 cat >>confdefs.h <<_ACEOF
75032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75033 _ACEOF
75036 done
75038 else
75040 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
75041 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
75042 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75043 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
75044 echo $ECHO_N "(cached) $ECHO_C" >&6
75045 else
75049 ac_ext=cc
75050 ac_cpp='$CXXCPP $CPPFLAGS'
75051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75055 cat >conftest.$ac_ext <<_ACEOF
75056 /* confdefs.h. */
75057 _ACEOF
75058 cat confdefs.h >>conftest.$ac_ext
75059 cat >>conftest.$ac_ext <<_ACEOF
75060 /* end confdefs.h. */
75061 #include <math.h>
75062 #ifdef HAVE_IEEEFP_H
75063 #include <ieeefp.h>
75064 #endif
75067 main ()
75069 _isnanl(0);
75071 return 0;
75073 _ACEOF
75074 rm -f conftest.$ac_objext
75075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75076 (eval $ac_compile) 2>conftest.er1
75077 ac_status=$?
75078 grep -v '^ *+' conftest.er1 >conftest.err
75079 rm -f conftest.er1
75080 cat conftest.err >&5
75081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75082 (exit $ac_status); } &&
75083 { ac_try='test -z "$ac_cxx_werror_flag"
75084 || test ! -s conftest.err'
75085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75086 (eval $ac_try) 2>&5
75087 ac_status=$?
75088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75089 (exit $ac_status); }; } &&
75090 { ac_try='test -s conftest.$ac_objext'
75091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75092 (eval $ac_try) 2>&5
75093 ac_status=$?
75094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75095 (exit $ac_status); }; }; then
75096 glibcxx_cv_func__isnanl_use=yes
75097 else
75098 echo "$as_me: failed program was:" >&5
75099 sed 's/^/| /' conftest.$ac_ext >&5
75101 glibcxx_cv_func__isnanl_use=no
75103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75104 ac_ext=c
75105 ac_cpp='$CPP $CPPFLAGS'
75106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75114 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
75115 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
75117 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75119 for ac_func in _isnanl
75121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75122 echo "$as_me:$LINENO: checking for $ac_func" >&5
75123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75124 if eval "test \"\${$as_ac_var+set}\" = set"; then
75125 echo $ECHO_N "(cached) $ECHO_C" >&6
75126 else
75127 if test x$gcc_no_link = xyes; then
75128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75130 { (exit 1); exit 1; }; }
75132 cat >conftest.$ac_ext <<_ACEOF
75133 /* confdefs.h. */
75134 _ACEOF
75135 cat confdefs.h >>conftest.$ac_ext
75136 cat >>conftest.$ac_ext <<_ACEOF
75137 /* end confdefs.h. */
75138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75140 #define $ac_func innocuous_$ac_func
75142 /* System header to define __stub macros and hopefully few prototypes,
75143 which can conflict with char $ac_func (); below.
75144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75145 <limits.h> exists even on freestanding compilers. */
75147 #ifdef __STDC__
75148 # include <limits.h>
75149 #else
75150 # include <assert.h>
75151 #endif
75153 #undef $ac_func
75155 /* Override any gcc2 internal prototype to avoid an error. */
75156 #ifdef __cplusplus
75157 extern "C"
75159 #endif
75160 /* We use char because int might match the return type of a gcc2
75161 builtin and then its argument prototype would still apply. */
75162 char $ac_func ();
75163 /* The GNU C library defines this for functions which it implements
75164 to always fail with ENOSYS. Some functions are actually named
75165 something starting with __ and the normal name is an alias. */
75166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75167 choke me
75168 #else
75169 char (*f) () = $ac_func;
75170 #endif
75171 #ifdef __cplusplus
75173 #endif
75176 main ()
75178 return f != $ac_func;
75180 return 0;
75182 _ACEOF
75183 rm -f conftest.$ac_objext conftest$ac_exeext
75184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75185 (eval $ac_link) 2>conftest.er1
75186 ac_status=$?
75187 grep -v '^ *+' conftest.er1 >conftest.err
75188 rm -f conftest.er1
75189 cat conftest.err >&5
75190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75191 (exit $ac_status); } &&
75192 { ac_try='test -z "$ac_c_werror_flag"
75193 || test ! -s conftest.err'
75194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75195 (eval $ac_try) 2>&5
75196 ac_status=$?
75197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75198 (exit $ac_status); }; } &&
75199 { ac_try='test -s conftest$ac_exeext'
75200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75201 (eval $ac_try) 2>&5
75202 ac_status=$?
75203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75204 (exit $ac_status); }; }; then
75205 eval "$as_ac_var=yes"
75206 else
75207 echo "$as_me: failed program was:" >&5
75208 sed 's/^/| /' conftest.$ac_ext >&5
75210 eval "$as_ac_var=no"
75212 rm -f conftest.err conftest.$ac_objext \
75213 conftest$ac_exeext conftest.$ac_ext
75215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75217 if test `eval echo '${'$as_ac_var'}'` = yes; then
75218 cat >>confdefs.h <<_ACEOF
75219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75220 _ACEOF
75223 done
75233 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
75234 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
75235 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75236 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
75237 echo $ECHO_N "(cached) $ECHO_C" >&6
75238 else
75242 ac_ext=cc
75243 ac_cpp='$CXXCPP $CPPFLAGS'
75244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75248 cat >conftest.$ac_ext <<_ACEOF
75249 /* confdefs.h. */
75250 _ACEOF
75251 cat confdefs.h >>conftest.$ac_ext
75252 cat >>conftest.$ac_ext <<_ACEOF
75253 /* end confdefs.h. */
75254 #include <math.h>
75255 #ifdef HAVE_IEEEFP_H
75256 #include <ieeefp.h>
75257 #endif
75260 main ()
75262 isinfl(0);
75264 return 0;
75266 _ACEOF
75267 rm -f conftest.$ac_objext
75268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75269 (eval $ac_compile) 2>conftest.er1
75270 ac_status=$?
75271 grep -v '^ *+' conftest.er1 >conftest.err
75272 rm -f conftest.er1
75273 cat conftest.err >&5
75274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75275 (exit $ac_status); } &&
75276 { ac_try='test -z "$ac_cxx_werror_flag"
75277 || test ! -s conftest.err'
75278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75279 (eval $ac_try) 2>&5
75280 ac_status=$?
75281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75282 (exit $ac_status); }; } &&
75283 { ac_try='test -s conftest.$ac_objext'
75284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75285 (eval $ac_try) 2>&5
75286 ac_status=$?
75287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75288 (exit $ac_status); }; }; then
75289 glibcxx_cv_func_isinfl_use=yes
75290 else
75291 echo "$as_me: failed program was:" >&5
75292 sed 's/^/| /' conftest.$ac_ext >&5
75294 glibcxx_cv_func_isinfl_use=no
75296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75297 ac_ext=c
75298 ac_cpp='$CPP $CPPFLAGS'
75299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75307 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
75308 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
75310 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75312 for ac_func in isinfl
75314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75315 echo "$as_me:$LINENO: checking for $ac_func" >&5
75316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75317 if eval "test \"\${$as_ac_var+set}\" = set"; then
75318 echo $ECHO_N "(cached) $ECHO_C" >&6
75319 else
75320 if test x$gcc_no_link = xyes; then
75321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75323 { (exit 1); exit 1; }; }
75325 cat >conftest.$ac_ext <<_ACEOF
75326 /* confdefs.h. */
75327 _ACEOF
75328 cat confdefs.h >>conftest.$ac_ext
75329 cat >>conftest.$ac_ext <<_ACEOF
75330 /* end confdefs.h. */
75331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75333 #define $ac_func innocuous_$ac_func
75335 /* System header to define __stub macros and hopefully few prototypes,
75336 which can conflict with char $ac_func (); below.
75337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75338 <limits.h> exists even on freestanding compilers. */
75340 #ifdef __STDC__
75341 # include <limits.h>
75342 #else
75343 # include <assert.h>
75344 #endif
75346 #undef $ac_func
75348 /* Override any gcc2 internal prototype to avoid an error. */
75349 #ifdef __cplusplus
75350 extern "C"
75352 #endif
75353 /* We use char because int might match the return type of a gcc2
75354 builtin and then its argument prototype would still apply. */
75355 char $ac_func ();
75356 /* The GNU C library defines this for functions which it implements
75357 to always fail with ENOSYS. Some functions are actually named
75358 something starting with __ and the normal name is an alias. */
75359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75360 choke me
75361 #else
75362 char (*f) () = $ac_func;
75363 #endif
75364 #ifdef __cplusplus
75366 #endif
75369 main ()
75371 return f != $ac_func;
75373 return 0;
75375 _ACEOF
75376 rm -f conftest.$ac_objext conftest$ac_exeext
75377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75378 (eval $ac_link) 2>conftest.er1
75379 ac_status=$?
75380 grep -v '^ *+' conftest.er1 >conftest.err
75381 rm -f conftest.er1
75382 cat conftest.err >&5
75383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75384 (exit $ac_status); } &&
75385 { ac_try='test -z "$ac_c_werror_flag"
75386 || test ! -s conftest.err'
75387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75388 (eval $ac_try) 2>&5
75389 ac_status=$?
75390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75391 (exit $ac_status); }; } &&
75392 { ac_try='test -s conftest$ac_exeext'
75393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75394 (eval $ac_try) 2>&5
75395 ac_status=$?
75396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75397 (exit $ac_status); }; }; then
75398 eval "$as_ac_var=yes"
75399 else
75400 echo "$as_me: failed program was:" >&5
75401 sed 's/^/| /' conftest.$ac_ext >&5
75403 eval "$as_ac_var=no"
75405 rm -f conftest.err conftest.$ac_objext \
75406 conftest$ac_exeext conftest.$ac_ext
75408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75410 if test `eval echo '${'$as_ac_var'}'` = yes; then
75411 cat >>confdefs.h <<_ACEOF
75412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75413 _ACEOF
75416 done
75418 else
75420 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
75421 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
75422 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75423 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
75424 echo $ECHO_N "(cached) $ECHO_C" >&6
75425 else
75429 ac_ext=cc
75430 ac_cpp='$CXXCPP $CPPFLAGS'
75431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75435 cat >conftest.$ac_ext <<_ACEOF
75436 /* confdefs.h. */
75437 _ACEOF
75438 cat confdefs.h >>conftest.$ac_ext
75439 cat >>conftest.$ac_ext <<_ACEOF
75440 /* end confdefs.h. */
75441 #include <math.h>
75442 #ifdef HAVE_IEEEFP_H
75443 #include <ieeefp.h>
75444 #endif
75447 main ()
75449 _isinfl(0);
75451 return 0;
75453 _ACEOF
75454 rm -f conftest.$ac_objext
75455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75456 (eval $ac_compile) 2>conftest.er1
75457 ac_status=$?
75458 grep -v '^ *+' conftest.er1 >conftest.err
75459 rm -f conftest.er1
75460 cat conftest.err >&5
75461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75462 (exit $ac_status); } &&
75463 { ac_try='test -z "$ac_cxx_werror_flag"
75464 || test ! -s conftest.err'
75465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75466 (eval $ac_try) 2>&5
75467 ac_status=$?
75468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75469 (exit $ac_status); }; } &&
75470 { ac_try='test -s conftest.$ac_objext'
75471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75472 (eval $ac_try) 2>&5
75473 ac_status=$?
75474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75475 (exit $ac_status); }; }; then
75476 glibcxx_cv_func__isinfl_use=yes
75477 else
75478 echo "$as_me: failed program was:" >&5
75479 sed 's/^/| /' conftest.$ac_ext >&5
75481 glibcxx_cv_func__isinfl_use=no
75483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75484 ac_ext=c
75485 ac_cpp='$CPP $CPPFLAGS'
75486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75494 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
75495 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
75497 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75499 for ac_func in _isinfl
75501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75502 echo "$as_me:$LINENO: checking for $ac_func" >&5
75503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75504 if eval "test \"\${$as_ac_var+set}\" = set"; then
75505 echo $ECHO_N "(cached) $ECHO_C" >&6
75506 else
75507 if test x$gcc_no_link = xyes; then
75508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75510 { (exit 1); exit 1; }; }
75512 cat >conftest.$ac_ext <<_ACEOF
75513 /* confdefs.h. */
75514 _ACEOF
75515 cat confdefs.h >>conftest.$ac_ext
75516 cat >>conftest.$ac_ext <<_ACEOF
75517 /* end confdefs.h. */
75518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75520 #define $ac_func innocuous_$ac_func
75522 /* System header to define __stub macros and hopefully few prototypes,
75523 which can conflict with char $ac_func (); below.
75524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75525 <limits.h> exists even on freestanding compilers. */
75527 #ifdef __STDC__
75528 # include <limits.h>
75529 #else
75530 # include <assert.h>
75531 #endif
75533 #undef $ac_func
75535 /* Override any gcc2 internal prototype to avoid an error. */
75536 #ifdef __cplusplus
75537 extern "C"
75539 #endif
75540 /* We use char because int might match the return type of a gcc2
75541 builtin and then its argument prototype would still apply. */
75542 char $ac_func ();
75543 /* The GNU C library defines this for functions which it implements
75544 to always fail with ENOSYS. Some functions are actually named
75545 something starting with __ and the normal name is an alias. */
75546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75547 choke me
75548 #else
75549 char (*f) () = $ac_func;
75550 #endif
75551 #ifdef __cplusplus
75553 #endif
75556 main ()
75558 return f != $ac_func;
75560 return 0;
75562 _ACEOF
75563 rm -f conftest.$ac_objext conftest$ac_exeext
75564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75565 (eval $ac_link) 2>conftest.er1
75566 ac_status=$?
75567 grep -v '^ *+' conftest.er1 >conftest.err
75568 rm -f conftest.er1
75569 cat conftest.err >&5
75570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75571 (exit $ac_status); } &&
75572 { ac_try='test -z "$ac_c_werror_flag"
75573 || test ! -s conftest.err'
75574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75575 (eval $ac_try) 2>&5
75576 ac_status=$?
75577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75578 (exit $ac_status); }; } &&
75579 { ac_try='test -s conftest$ac_exeext'
75580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75581 (eval $ac_try) 2>&5
75582 ac_status=$?
75583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75584 (exit $ac_status); }; }; then
75585 eval "$as_ac_var=yes"
75586 else
75587 echo "$as_me: failed program was:" >&5
75588 sed 's/^/| /' conftest.$ac_ext >&5
75590 eval "$as_ac_var=no"
75592 rm -f conftest.err conftest.$ac_objext \
75593 conftest$ac_exeext conftest.$ac_ext
75595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75597 if test `eval echo '${'$as_ac_var'}'` = yes; then
75598 cat >>confdefs.h <<_ACEOF
75599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75600 _ACEOF
75603 done
75613 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
75614 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
75615 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
75616 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
75617 echo $ECHO_N "(cached) $ECHO_C" >&6
75618 else
75622 ac_ext=cc
75623 ac_cpp='$CXXCPP $CPPFLAGS'
75624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75628 cat >conftest.$ac_ext <<_ACEOF
75629 /* confdefs.h. */
75630 _ACEOF
75631 cat confdefs.h >>conftest.$ac_ext
75632 cat >>conftest.$ac_ext <<_ACEOF
75633 /* end confdefs.h. */
75634 #include <math.h>
75636 main ()
75638 copysignl(0, 0);
75640 return 0;
75642 _ACEOF
75643 rm -f conftest.$ac_objext
75644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75645 (eval $ac_compile) 2>conftest.er1
75646 ac_status=$?
75647 grep -v '^ *+' conftest.er1 >conftest.err
75648 rm -f conftest.er1
75649 cat conftest.err >&5
75650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75651 (exit $ac_status); } &&
75652 { ac_try='test -z "$ac_cxx_werror_flag"
75653 || test ! -s conftest.err'
75654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75655 (eval $ac_try) 2>&5
75656 ac_status=$?
75657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75658 (exit $ac_status); }; } &&
75659 { ac_try='test -s conftest.$ac_objext'
75660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75661 (eval $ac_try) 2>&5
75662 ac_status=$?
75663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75664 (exit $ac_status); }; }; then
75665 glibcxx_cv_func_copysignl_use=yes
75666 else
75667 echo "$as_me: failed program was:" >&5
75668 sed 's/^/| /' conftest.$ac_ext >&5
75670 glibcxx_cv_func_copysignl_use=no
75672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75673 ac_ext=c
75674 ac_cpp='$CPP $CPPFLAGS'
75675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75683 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
75684 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
75686 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
75688 for ac_func in copysignl
75690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75691 echo "$as_me:$LINENO: checking for $ac_func" >&5
75692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75693 if eval "test \"\${$as_ac_var+set}\" = set"; then
75694 echo $ECHO_N "(cached) $ECHO_C" >&6
75695 else
75696 if test x$gcc_no_link = xyes; then
75697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75699 { (exit 1); exit 1; }; }
75701 cat >conftest.$ac_ext <<_ACEOF
75702 /* confdefs.h. */
75703 _ACEOF
75704 cat confdefs.h >>conftest.$ac_ext
75705 cat >>conftest.$ac_ext <<_ACEOF
75706 /* end confdefs.h. */
75707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75709 #define $ac_func innocuous_$ac_func
75711 /* System header to define __stub macros and hopefully few prototypes,
75712 which can conflict with char $ac_func (); below.
75713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75714 <limits.h> exists even on freestanding compilers. */
75716 #ifdef __STDC__
75717 # include <limits.h>
75718 #else
75719 # include <assert.h>
75720 #endif
75722 #undef $ac_func
75724 /* Override any gcc2 internal prototype to avoid an error. */
75725 #ifdef __cplusplus
75726 extern "C"
75728 #endif
75729 /* We use char because int might match the return type of a gcc2
75730 builtin and then its argument prototype would still apply. */
75731 char $ac_func ();
75732 /* The GNU C library defines this for functions which it implements
75733 to always fail with ENOSYS. Some functions are actually named
75734 something starting with __ and the normal name is an alias. */
75735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75736 choke me
75737 #else
75738 char (*f) () = $ac_func;
75739 #endif
75740 #ifdef __cplusplus
75742 #endif
75745 main ()
75747 return f != $ac_func;
75749 return 0;
75751 _ACEOF
75752 rm -f conftest.$ac_objext conftest$ac_exeext
75753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75754 (eval $ac_link) 2>conftest.er1
75755 ac_status=$?
75756 grep -v '^ *+' conftest.er1 >conftest.err
75757 rm -f conftest.er1
75758 cat conftest.err >&5
75759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75760 (exit $ac_status); } &&
75761 { ac_try='test -z "$ac_c_werror_flag"
75762 || test ! -s conftest.err'
75763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75764 (eval $ac_try) 2>&5
75765 ac_status=$?
75766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75767 (exit $ac_status); }; } &&
75768 { ac_try='test -s conftest$ac_exeext'
75769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75770 (eval $ac_try) 2>&5
75771 ac_status=$?
75772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75773 (exit $ac_status); }; }; then
75774 eval "$as_ac_var=yes"
75775 else
75776 echo "$as_me: failed program was:" >&5
75777 sed 's/^/| /' conftest.$ac_ext >&5
75779 eval "$as_ac_var=no"
75781 rm -f conftest.err conftest.$ac_objext \
75782 conftest$ac_exeext conftest.$ac_ext
75784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75786 if test `eval echo '${'$as_ac_var'}'` = yes; then
75787 cat >>confdefs.h <<_ACEOF
75788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75789 _ACEOF
75792 done
75794 else
75796 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
75797 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
75798 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
75799 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
75800 echo $ECHO_N "(cached) $ECHO_C" >&6
75801 else
75805 ac_ext=cc
75806 ac_cpp='$CXXCPP $CPPFLAGS'
75807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75811 cat >conftest.$ac_ext <<_ACEOF
75812 /* confdefs.h. */
75813 _ACEOF
75814 cat confdefs.h >>conftest.$ac_ext
75815 cat >>conftest.$ac_ext <<_ACEOF
75816 /* end confdefs.h. */
75817 #include <math.h>
75819 main ()
75821 _copysignl(0, 0);
75823 return 0;
75825 _ACEOF
75826 rm -f conftest.$ac_objext
75827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75828 (eval $ac_compile) 2>conftest.er1
75829 ac_status=$?
75830 grep -v '^ *+' conftest.er1 >conftest.err
75831 rm -f conftest.er1
75832 cat conftest.err >&5
75833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75834 (exit $ac_status); } &&
75835 { ac_try='test -z "$ac_cxx_werror_flag"
75836 || test ! -s conftest.err'
75837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75838 (eval $ac_try) 2>&5
75839 ac_status=$?
75840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75841 (exit $ac_status); }; } &&
75842 { ac_try='test -s conftest.$ac_objext'
75843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75844 (eval $ac_try) 2>&5
75845 ac_status=$?
75846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75847 (exit $ac_status); }; }; then
75848 glibcxx_cv_func__copysignl_use=yes
75849 else
75850 echo "$as_me: failed program was:" >&5
75851 sed 's/^/| /' conftest.$ac_ext >&5
75853 glibcxx_cv_func__copysignl_use=no
75855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75856 ac_ext=c
75857 ac_cpp='$CPP $CPPFLAGS'
75858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75866 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
75867 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
75869 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
75871 for ac_func in _copysignl
75873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75874 echo "$as_me:$LINENO: checking for $ac_func" >&5
75875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75876 if eval "test \"\${$as_ac_var+set}\" = set"; then
75877 echo $ECHO_N "(cached) $ECHO_C" >&6
75878 else
75879 if test x$gcc_no_link = xyes; then
75880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75882 { (exit 1); exit 1; }; }
75884 cat >conftest.$ac_ext <<_ACEOF
75885 /* confdefs.h. */
75886 _ACEOF
75887 cat confdefs.h >>conftest.$ac_ext
75888 cat >>conftest.$ac_ext <<_ACEOF
75889 /* end confdefs.h. */
75890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75892 #define $ac_func innocuous_$ac_func
75894 /* System header to define __stub macros and hopefully few prototypes,
75895 which can conflict with char $ac_func (); below.
75896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75897 <limits.h> exists even on freestanding compilers. */
75899 #ifdef __STDC__
75900 # include <limits.h>
75901 #else
75902 # include <assert.h>
75903 #endif
75905 #undef $ac_func
75907 /* Override any gcc2 internal prototype to avoid an error. */
75908 #ifdef __cplusplus
75909 extern "C"
75911 #endif
75912 /* We use char because int might match the return type of a gcc2
75913 builtin and then its argument prototype would still apply. */
75914 char $ac_func ();
75915 /* The GNU C library defines this for functions which it implements
75916 to always fail with ENOSYS. Some functions are actually named
75917 something starting with __ and the normal name is an alias. */
75918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75919 choke me
75920 #else
75921 char (*f) () = $ac_func;
75922 #endif
75923 #ifdef __cplusplus
75925 #endif
75928 main ()
75930 return f != $ac_func;
75932 return 0;
75934 _ACEOF
75935 rm -f conftest.$ac_objext conftest$ac_exeext
75936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75937 (eval $ac_link) 2>conftest.er1
75938 ac_status=$?
75939 grep -v '^ *+' conftest.er1 >conftest.err
75940 rm -f conftest.er1
75941 cat conftest.err >&5
75942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75943 (exit $ac_status); } &&
75944 { ac_try='test -z "$ac_c_werror_flag"
75945 || test ! -s conftest.err'
75946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75947 (eval $ac_try) 2>&5
75948 ac_status=$?
75949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75950 (exit $ac_status); }; } &&
75951 { ac_try='test -s conftest$ac_exeext'
75952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75953 (eval $ac_try) 2>&5
75954 ac_status=$?
75955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75956 (exit $ac_status); }; }; then
75957 eval "$as_ac_var=yes"
75958 else
75959 echo "$as_me: failed program was:" >&5
75960 sed 's/^/| /' conftest.$ac_ext >&5
75962 eval "$as_ac_var=no"
75964 rm -f conftest.err conftest.$ac_objext \
75965 conftest$ac_exeext conftest.$ac_ext
75967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75969 if test `eval echo '${'$as_ac_var'}'` = yes; then
75970 cat >>confdefs.h <<_ACEOF
75971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75972 _ACEOF
75975 done
75985 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
75986 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
75987 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75988 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
75989 echo $ECHO_N "(cached) $ECHO_C" >&6
75990 else
75994 ac_ext=cc
75995 ac_cpp='$CXXCPP $CPPFLAGS'
75996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76000 cat >conftest.$ac_ext <<_ACEOF
76001 /* confdefs.h. */
76002 _ACEOF
76003 cat confdefs.h >>conftest.$ac_ext
76004 cat >>conftest.$ac_ext <<_ACEOF
76005 /* end confdefs.h. */
76006 #include <math.h>
76008 main ()
76010 atan2l(0, 0);
76012 return 0;
76014 _ACEOF
76015 rm -f conftest.$ac_objext
76016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76017 (eval $ac_compile) 2>conftest.er1
76018 ac_status=$?
76019 grep -v '^ *+' conftest.er1 >conftest.err
76020 rm -f conftest.er1
76021 cat conftest.err >&5
76022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76023 (exit $ac_status); } &&
76024 { ac_try='test -z "$ac_cxx_werror_flag"
76025 || test ! -s conftest.err'
76026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76027 (eval $ac_try) 2>&5
76028 ac_status=$?
76029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76030 (exit $ac_status); }; } &&
76031 { ac_try='test -s conftest.$ac_objext'
76032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76033 (eval $ac_try) 2>&5
76034 ac_status=$?
76035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76036 (exit $ac_status); }; }; then
76037 glibcxx_cv_func_atan2l_use=yes
76038 else
76039 echo "$as_me: failed program was:" >&5
76040 sed 's/^/| /' conftest.$ac_ext >&5
76042 glibcxx_cv_func_atan2l_use=no
76044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76045 ac_ext=c
76046 ac_cpp='$CPP $CPPFLAGS'
76047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76055 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
76056 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
76058 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76060 for ac_func in atan2l
76062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76063 echo "$as_me:$LINENO: checking for $ac_func" >&5
76064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76065 if eval "test \"\${$as_ac_var+set}\" = set"; then
76066 echo $ECHO_N "(cached) $ECHO_C" >&6
76067 else
76068 if test x$gcc_no_link = xyes; then
76069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76071 { (exit 1); exit 1; }; }
76073 cat >conftest.$ac_ext <<_ACEOF
76074 /* confdefs.h. */
76075 _ACEOF
76076 cat confdefs.h >>conftest.$ac_ext
76077 cat >>conftest.$ac_ext <<_ACEOF
76078 /* end confdefs.h. */
76079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76081 #define $ac_func innocuous_$ac_func
76083 /* System header to define __stub macros and hopefully few prototypes,
76084 which can conflict with char $ac_func (); below.
76085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76086 <limits.h> exists even on freestanding compilers. */
76088 #ifdef __STDC__
76089 # include <limits.h>
76090 #else
76091 # include <assert.h>
76092 #endif
76094 #undef $ac_func
76096 /* Override any gcc2 internal prototype to avoid an error. */
76097 #ifdef __cplusplus
76098 extern "C"
76100 #endif
76101 /* We use char because int might match the return type of a gcc2
76102 builtin and then its argument prototype would still apply. */
76103 char $ac_func ();
76104 /* The GNU C library defines this for functions which it implements
76105 to always fail with ENOSYS. Some functions are actually named
76106 something starting with __ and the normal name is an alias. */
76107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76108 choke me
76109 #else
76110 char (*f) () = $ac_func;
76111 #endif
76112 #ifdef __cplusplus
76114 #endif
76117 main ()
76119 return f != $ac_func;
76121 return 0;
76123 _ACEOF
76124 rm -f conftest.$ac_objext conftest$ac_exeext
76125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76126 (eval $ac_link) 2>conftest.er1
76127 ac_status=$?
76128 grep -v '^ *+' conftest.er1 >conftest.err
76129 rm -f conftest.er1
76130 cat conftest.err >&5
76131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76132 (exit $ac_status); } &&
76133 { ac_try='test -z "$ac_c_werror_flag"
76134 || test ! -s conftest.err'
76135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76136 (eval $ac_try) 2>&5
76137 ac_status=$?
76138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76139 (exit $ac_status); }; } &&
76140 { ac_try='test -s conftest$ac_exeext'
76141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76142 (eval $ac_try) 2>&5
76143 ac_status=$?
76144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76145 (exit $ac_status); }; }; then
76146 eval "$as_ac_var=yes"
76147 else
76148 echo "$as_me: failed program was:" >&5
76149 sed 's/^/| /' conftest.$ac_ext >&5
76151 eval "$as_ac_var=no"
76153 rm -f conftest.err conftest.$ac_objext \
76154 conftest$ac_exeext conftest.$ac_ext
76156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76158 if test `eval echo '${'$as_ac_var'}'` = yes; then
76159 cat >>confdefs.h <<_ACEOF
76160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76161 _ACEOF
76164 done
76166 else
76168 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
76169 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
76170 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76171 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
76172 echo $ECHO_N "(cached) $ECHO_C" >&6
76173 else
76177 ac_ext=cc
76178 ac_cpp='$CXXCPP $CPPFLAGS'
76179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76183 cat >conftest.$ac_ext <<_ACEOF
76184 /* confdefs.h. */
76185 _ACEOF
76186 cat confdefs.h >>conftest.$ac_ext
76187 cat >>conftest.$ac_ext <<_ACEOF
76188 /* end confdefs.h. */
76189 #include <math.h>
76191 main ()
76193 _atan2l(0, 0);
76195 return 0;
76197 _ACEOF
76198 rm -f conftest.$ac_objext
76199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76200 (eval $ac_compile) 2>conftest.er1
76201 ac_status=$?
76202 grep -v '^ *+' conftest.er1 >conftest.err
76203 rm -f conftest.er1
76204 cat conftest.err >&5
76205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76206 (exit $ac_status); } &&
76207 { ac_try='test -z "$ac_cxx_werror_flag"
76208 || test ! -s conftest.err'
76209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76210 (eval $ac_try) 2>&5
76211 ac_status=$?
76212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76213 (exit $ac_status); }; } &&
76214 { ac_try='test -s conftest.$ac_objext'
76215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76216 (eval $ac_try) 2>&5
76217 ac_status=$?
76218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76219 (exit $ac_status); }; }; then
76220 glibcxx_cv_func__atan2l_use=yes
76221 else
76222 echo "$as_me: failed program was:" >&5
76223 sed 's/^/| /' conftest.$ac_ext >&5
76225 glibcxx_cv_func__atan2l_use=no
76227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76228 ac_ext=c
76229 ac_cpp='$CPP $CPPFLAGS'
76230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76238 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
76239 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
76241 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76243 for ac_func in _atan2l
76245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76246 echo "$as_me:$LINENO: checking for $ac_func" >&5
76247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76248 if eval "test \"\${$as_ac_var+set}\" = set"; then
76249 echo $ECHO_N "(cached) $ECHO_C" >&6
76250 else
76251 if test x$gcc_no_link = xyes; then
76252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76254 { (exit 1); exit 1; }; }
76256 cat >conftest.$ac_ext <<_ACEOF
76257 /* confdefs.h. */
76258 _ACEOF
76259 cat confdefs.h >>conftest.$ac_ext
76260 cat >>conftest.$ac_ext <<_ACEOF
76261 /* end confdefs.h. */
76262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76264 #define $ac_func innocuous_$ac_func
76266 /* System header to define __stub macros and hopefully few prototypes,
76267 which can conflict with char $ac_func (); below.
76268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76269 <limits.h> exists even on freestanding compilers. */
76271 #ifdef __STDC__
76272 # include <limits.h>
76273 #else
76274 # include <assert.h>
76275 #endif
76277 #undef $ac_func
76279 /* Override any gcc2 internal prototype to avoid an error. */
76280 #ifdef __cplusplus
76281 extern "C"
76283 #endif
76284 /* We use char because int might match the return type of a gcc2
76285 builtin and then its argument prototype would still apply. */
76286 char $ac_func ();
76287 /* The GNU C library defines this for functions which it implements
76288 to always fail with ENOSYS. Some functions are actually named
76289 something starting with __ and the normal name is an alias. */
76290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76291 choke me
76292 #else
76293 char (*f) () = $ac_func;
76294 #endif
76295 #ifdef __cplusplus
76297 #endif
76300 main ()
76302 return f != $ac_func;
76304 return 0;
76306 _ACEOF
76307 rm -f conftest.$ac_objext conftest$ac_exeext
76308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76309 (eval $ac_link) 2>conftest.er1
76310 ac_status=$?
76311 grep -v '^ *+' conftest.er1 >conftest.err
76312 rm -f conftest.er1
76313 cat conftest.err >&5
76314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76315 (exit $ac_status); } &&
76316 { ac_try='test -z "$ac_c_werror_flag"
76317 || test ! -s conftest.err'
76318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76319 (eval $ac_try) 2>&5
76320 ac_status=$?
76321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76322 (exit $ac_status); }; } &&
76323 { ac_try='test -s conftest$ac_exeext'
76324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76325 (eval $ac_try) 2>&5
76326 ac_status=$?
76327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76328 (exit $ac_status); }; }; then
76329 eval "$as_ac_var=yes"
76330 else
76331 echo "$as_me: failed program was:" >&5
76332 sed 's/^/| /' conftest.$ac_ext >&5
76334 eval "$as_ac_var=no"
76336 rm -f conftest.err conftest.$ac_objext \
76337 conftest$ac_exeext conftest.$ac_ext
76339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76341 if test `eval echo '${'$as_ac_var'}'` = yes; then
76342 cat >>confdefs.h <<_ACEOF
76343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76344 _ACEOF
76347 done
76357 echo "$as_me:$LINENO: checking for expl declaration" >&5
76358 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
76359 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76360 if test "${glibcxx_cv_func_expl_use+set}" = set; then
76361 echo $ECHO_N "(cached) $ECHO_C" >&6
76362 else
76366 ac_ext=cc
76367 ac_cpp='$CXXCPP $CPPFLAGS'
76368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76372 cat >conftest.$ac_ext <<_ACEOF
76373 /* confdefs.h. */
76374 _ACEOF
76375 cat confdefs.h >>conftest.$ac_ext
76376 cat >>conftest.$ac_ext <<_ACEOF
76377 /* end confdefs.h. */
76378 #include <math.h>
76379 #ifdef HAVE_IEEEFP_H
76380 #include <ieeefp.h>
76381 #endif
76384 main ()
76386 expl(0);
76388 return 0;
76390 _ACEOF
76391 rm -f conftest.$ac_objext
76392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76393 (eval $ac_compile) 2>conftest.er1
76394 ac_status=$?
76395 grep -v '^ *+' conftest.er1 >conftest.err
76396 rm -f conftest.er1
76397 cat conftest.err >&5
76398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76399 (exit $ac_status); } &&
76400 { ac_try='test -z "$ac_cxx_werror_flag"
76401 || test ! -s conftest.err'
76402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76403 (eval $ac_try) 2>&5
76404 ac_status=$?
76405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76406 (exit $ac_status); }; } &&
76407 { ac_try='test -s conftest.$ac_objext'
76408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76409 (eval $ac_try) 2>&5
76410 ac_status=$?
76411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76412 (exit $ac_status); }; }; then
76413 glibcxx_cv_func_expl_use=yes
76414 else
76415 echo "$as_me: failed program was:" >&5
76416 sed 's/^/| /' conftest.$ac_ext >&5
76418 glibcxx_cv_func_expl_use=no
76420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76421 ac_ext=c
76422 ac_cpp='$CPP $CPPFLAGS'
76423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76431 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
76432 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
76434 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76436 for ac_func in expl
76438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76439 echo "$as_me:$LINENO: checking for $ac_func" >&5
76440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76441 if eval "test \"\${$as_ac_var+set}\" = set"; then
76442 echo $ECHO_N "(cached) $ECHO_C" >&6
76443 else
76444 if test x$gcc_no_link = xyes; then
76445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76447 { (exit 1); exit 1; }; }
76449 cat >conftest.$ac_ext <<_ACEOF
76450 /* confdefs.h. */
76451 _ACEOF
76452 cat confdefs.h >>conftest.$ac_ext
76453 cat >>conftest.$ac_ext <<_ACEOF
76454 /* end confdefs.h. */
76455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76457 #define $ac_func innocuous_$ac_func
76459 /* System header to define __stub macros and hopefully few prototypes,
76460 which can conflict with char $ac_func (); below.
76461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76462 <limits.h> exists even on freestanding compilers. */
76464 #ifdef __STDC__
76465 # include <limits.h>
76466 #else
76467 # include <assert.h>
76468 #endif
76470 #undef $ac_func
76472 /* Override any gcc2 internal prototype to avoid an error. */
76473 #ifdef __cplusplus
76474 extern "C"
76476 #endif
76477 /* We use char because int might match the return type of a gcc2
76478 builtin and then its argument prototype would still apply. */
76479 char $ac_func ();
76480 /* The GNU C library defines this for functions which it implements
76481 to always fail with ENOSYS. Some functions are actually named
76482 something starting with __ and the normal name is an alias. */
76483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76484 choke me
76485 #else
76486 char (*f) () = $ac_func;
76487 #endif
76488 #ifdef __cplusplus
76490 #endif
76493 main ()
76495 return f != $ac_func;
76497 return 0;
76499 _ACEOF
76500 rm -f conftest.$ac_objext conftest$ac_exeext
76501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76502 (eval $ac_link) 2>conftest.er1
76503 ac_status=$?
76504 grep -v '^ *+' conftest.er1 >conftest.err
76505 rm -f conftest.er1
76506 cat conftest.err >&5
76507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76508 (exit $ac_status); } &&
76509 { ac_try='test -z "$ac_c_werror_flag"
76510 || test ! -s conftest.err'
76511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76512 (eval $ac_try) 2>&5
76513 ac_status=$?
76514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76515 (exit $ac_status); }; } &&
76516 { ac_try='test -s conftest$ac_exeext'
76517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76518 (eval $ac_try) 2>&5
76519 ac_status=$?
76520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76521 (exit $ac_status); }; }; then
76522 eval "$as_ac_var=yes"
76523 else
76524 echo "$as_me: failed program was:" >&5
76525 sed 's/^/| /' conftest.$ac_ext >&5
76527 eval "$as_ac_var=no"
76529 rm -f conftest.err conftest.$ac_objext \
76530 conftest$ac_exeext conftest.$ac_ext
76532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76534 if test `eval echo '${'$as_ac_var'}'` = yes; then
76535 cat >>confdefs.h <<_ACEOF
76536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76537 _ACEOF
76540 done
76542 else
76544 echo "$as_me:$LINENO: checking for _expl declaration" >&5
76545 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
76546 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76547 if test "${glibcxx_cv_func__expl_use+set}" = set; then
76548 echo $ECHO_N "(cached) $ECHO_C" >&6
76549 else
76553 ac_ext=cc
76554 ac_cpp='$CXXCPP $CPPFLAGS'
76555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76559 cat >conftest.$ac_ext <<_ACEOF
76560 /* confdefs.h. */
76561 _ACEOF
76562 cat confdefs.h >>conftest.$ac_ext
76563 cat >>conftest.$ac_ext <<_ACEOF
76564 /* end confdefs.h. */
76565 #include <math.h>
76566 #ifdef HAVE_IEEEFP_H
76567 #include <ieeefp.h>
76568 #endif
76571 main ()
76573 _expl(0);
76575 return 0;
76577 _ACEOF
76578 rm -f conftest.$ac_objext
76579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76580 (eval $ac_compile) 2>conftest.er1
76581 ac_status=$?
76582 grep -v '^ *+' conftest.er1 >conftest.err
76583 rm -f conftest.er1
76584 cat conftest.err >&5
76585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76586 (exit $ac_status); } &&
76587 { ac_try='test -z "$ac_cxx_werror_flag"
76588 || test ! -s conftest.err'
76589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76590 (eval $ac_try) 2>&5
76591 ac_status=$?
76592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76593 (exit $ac_status); }; } &&
76594 { ac_try='test -s conftest.$ac_objext'
76595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76596 (eval $ac_try) 2>&5
76597 ac_status=$?
76598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76599 (exit $ac_status); }; }; then
76600 glibcxx_cv_func__expl_use=yes
76601 else
76602 echo "$as_me: failed program was:" >&5
76603 sed 's/^/| /' conftest.$ac_ext >&5
76605 glibcxx_cv_func__expl_use=no
76607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76608 ac_ext=c
76609 ac_cpp='$CPP $CPPFLAGS'
76610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76618 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
76619 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
76621 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76623 for ac_func in _expl
76625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76626 echo "$as_me:$LINENO: checking for $ac_func" >&5
76627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76628 if eval "test \"\${$as_ac_var+set}\" = set"; then
76629 echo $ECHO_N "(cached) $ECHO_C" >&6
76630 else
76631 if test x$gcc_no_link = xyes; then
76632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76634 { (exit 1); exit 1; }; }
76636 cat >conftest.$ac_ext <<_ACEOF
76637 /* confdefs.h. */
76638 _ACEOF
76639 cat confdefs.h >>conftest.$ac_ext
76640 cat >>conftest.$ac_ext <<_ACEOF
76641 /* end confdefs.h. */
76642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76644 #define $ac_func innocuous_$ac_func
76646 /* System header to define __stub macros and hopefully few prototypes,
76647 which can conflict with char $ac_func (); below.
76648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76649 <limits.h> exists even on freestanding compilers. */
76651 #ifdef __STDC__
76652 # include <limits.h>
76653 #else
76654 # include <assert.h>
76655 #endif
76657 #undef $ac_func
76659 /* Override any gcc2 internal prototype to avoid an error. */
76660 #ifdef __cplusplus
76661 extern "C"
76663 #endif
76664 /* We use char because int might match the return type of a gcc2
76665 builtin and then its argument prototype would still apply. */
76666 char $ac_func ();
76667 /* The GNU C library defines this for functions which it implements
76668 to always fail with ENOSYS. Some functions are actually named
76669 something starting with __ and the normal name is an alias. */
76670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76671 choke me
76672 #else
76673 char (*f) () = $ac_func;
76674 #endif
76675 #ifdef __cplusplus
76677 #endif
76680 main ()
76682 return f != $ac_func;
76684 return 0;
76686 _ACEOF
76687 rm -f conftest.$ac_objext conftest$ac_exeext
76688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76689 (eval $ac_link) 2>conftest.er1
76690 ac_status=$?
76691 grep -v '^ *+' conftest.er1 >conftest.err
76692 rm -f conftest.er1
76693 cat conftest.err >&5
76694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76695 (exit $ac_status); } &&
76696 { ac_try='test -z "$ac_c_werror_flag"
76697 || test ! -s conftest.err'
76698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76699 (eval $ac_try) 2>&5
76700 ac_status=$?
76701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76702 (exit $ac_status); }; } &&
76703 { ac_try='test -s conftest$ac_exeext'
76704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76705 (eval $ac_try) 2>&5
76706 ac_status=$?
76707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76708 (exit $ac_status); }; }; then
76709 eval "$as_ac_var=yes"
76710 else
76711 echo "$as_me: failed program was:" >&5
76712 sed 's/^/| /' conftest.$ac_ext >&5
76714 eval "$as_ac_var=no"
76716 rm -f conftest.err conftest.$ac_objext \
76717 conftest$ac_exeext conftest.$ac_ext
76719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76721 if test `eval echo '${'$as_ac_var'}'` = yes; then
76722 cat >>confdefs.h <<_ACEOF
76723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76724 _ACEOF
76727 done
76737 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
76738 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
76739 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76740 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
76741 echo $ECHO_N "(cached) $ECHO_C" >&6
76742 else
76746 ac_ext=cc
76747 ac_cpp='$CXXCPP $CPPFLAGS'
76748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76752 cat >conftest.$ac_ext <<_ACEOF
76753 /* confdefs.h. */
76754 _ACEOF
76755 cat confdefs.h >>conftest.$ac_ext
76756 cat >>conftest.$ac_ext <<_ACEOF
76757 /* end confdefs.h. */
76758 #include <math.h>
76759 #ifdef HAVE_IEEEFP_H
76760 #include <ieeefp.h>
76761 #endif
76764 main ()
76766 fabsl(0);
76768 return 0;
76770 _ACEOF
76771 rm -f conftest.$ac_objext
76772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76773 (eval $ac_compile) 2>conftest.er1
76774 ac_status=$?
76775 grep -v '^ *+' conftest.er1 >conftest.err
76776 rm -f conftest.er1
76777 cat conftest.err >&5
76778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76779 (exit $ac_status); } &&
76780 { ac_try='test -z "$ac_cxx_werror_flag"
76781 || test ! -s conftest.err'
76782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76783 (eval $ac_try) 2>&5
76784 ac_status=$?
76785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76786 (exit $ac_status); }; } &&
76787 { ac_try='test -s conftest.$ac_objext'
76788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76789 (eval $ac_try) 2>&5
76790 ac_status=$?
76791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76792 (exit $ac_status); }; }; then
76793 glibcxx_cv_func_fabsl_use=yes
76794 else
76795 echo "$as_me: failed program was:" >&5
76796 sed 's/^/| /' conftest.$ac_ext >&5
76798 glibcxx_cv_func_fabsl_use=no
76800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76801 ac_ext=c
76802 ac_cpp='$CPP $CPPFLAGS'
76803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76811 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
76812 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
76814 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76816 for ac_func in fabsl
76818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76819 echo "$as_me:$LINENO: checking for $ac_func" >&5
76820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76821 if eval "test \"\${$as_ac_var+set}\" = set"; then
76822 echo $ECHO_N "(cached) $ECHO_C" >&6
76823 else
76824 if test x$gcc_no_link = xyes; then
76825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76827 { (exit 1); exit 1; }; }
76829 cat >conftest.$ac_ext <<_ACEOF
76830 /* confdefs.h. */
76831 _ACEOF
76832 cat confdefs.h >>conftest.$ac_ext
76833 cat >>conftest.$ac_ext <<_ACEOF
76834 /* end confdefs.h. */
76835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76837 #define $ac_func innocuous_$ac_func
76839 /* System header to define __stub macros and hopefully few prototypes,
76840 which can conflict with char $ac_func (); below.
76841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76842 <limits.h> exists even on freestanding compilers. */
76844 #ifdef __STDC__
76845 # include <limits.h>
76846 #else
76847 # include <assert.h>
76848 #endif
76850 #undef $ac_func
76852 /* Override any gcc2 internal prototype to avoid an error. */
76853 #ifdef __cplusplus
76854 extern "C"
76856 #endif
76857 /* We use char because int might match the return type of a gcc2
76858 builtin and then its argument prototype would still apply. */
76859 char $ac_func ();
76860 /* The GNU C library defines this for functions which it implements
76861 to always fail with ENOSYS. Some functions are actually named
76862 something starting with __ and the normal name is an alias. */
76863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76864 choke me
76865 #else
76866 char (*f) () = $ac_func;
76867 #endif
76868 #ifdef __cplusplus
76870 #endif
76873 main ()
76875 return f != $ac_func;
76877 return 0;
76879 _ACEOF
76880 rm -f conftest.$ac_objext conftest$ac_exeext
76881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76882 (eval $ac_link) 2>conftest.er1
76883 ac_status=$?
76884 grep -v '^ *+' conftest.er1 >conftest.err
76885 rm -f conftest.er1
76886 cat conftest.err >&5
76887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76888 (exit $ac_status); } &&
76889 { ac_try='test -z "$ac_c_werror_flag"
76890 || test ! -s conftest.err'
76891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76892 (eval $ac_try) 2>&5
76893 ac_status=$?
76894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76895 (exit $ac_status); }; } &&
76896 { ac_try='test -s conftest$ac_exeext'
76897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76898 (eval $ac_try) 2>&5
76899 ac_status=$?
76900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76901 (exit $ac_status); }; }; then
76902 eval "$as_ac_var=yes"
76903 else
76904 echo "$as_me: failed program was:" >&5
76905 sed 's/^/| /' conftest.$ac_ext >&5
76907 eval "$as_ac_var=no"
76909 rm -f conftest.err conftest.$ac_objext \
76910 conftest$ac_exeext conftest.$ac_ext
76912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76914 if test `eval echo '${'$as_ac_var'}'` = yes; then
76915 cat >>confdefs.h <<_ACEOF
76916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76917 _ACEOF
76920 done
76922 else
76924 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
76925 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
76926 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76927 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
76928 echo $ECHO_N "(cached) $ECHO_C" >&6
76929 else
76933 ac_ext=cc
76934 ac_cpp='$CXXCPP $CPPFLAGS'
76935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76939 cat >conftest.$ac_ext <<_ACEOF
76940 /* confdefs.h. */
76941 _ACEOF
76942 cat confdefs.h >>conftest.$ac_ext
76943 cat >>conftest.$ac_ext <<_ACEOF
76944 /* end confdefs.h. */
76945 #include <math.h>
76946 #ifdef HAVE_IEEEFP_H
76947 #include <ieeefp.h>
76948 #endif
76951 main ()
76953 _fabsl(0);
76955 return 0;
76957 _ACEOF
76958 rm -f conftest.$ac_objext
76959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76960 (eval $ac_compile) 2>conftest.er1
76961 ac_status=$?
76962 grep -v '^ *+' conftest.er1 >conftest.err
76963 rm -f conftest.er1
76964 cat conftest.err >&5
76965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76966 (exit $ac_status); } &&
76967 { ac_try='test -z "$ac_cxx_werror_flag"
76968 || test ! -s conftest.err'
76969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76970 (eval $ac_try) 2>&5
76971 ac_status=$?
76972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76973 (exit $ac_status); }; } &&
76974 { ac_try='test -s conftest.$ac_objext'
76975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76976 (eval $ac_try) 2>&5
76977 ac_status=$?
76978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76979 (exit $ac_status); }; }; then
76980 glibcxx_cv_func__fabsl_use=yes
76981 else
76982 echo "$as_me: failed program was:" >&5
76983 sed 's/^/| /' conftest.$ac_ext >&5
76985 glibcxx_cv_func__fabsl_use=no
76987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76988 ac_ext=c
76989 ac_cpp='$CPP $CPPFLAGS'
76990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76998 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
76999 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
77001 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
77003 for ac_func in _fabsl
77005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77006 echo "$as_me:$LINENO: checking for $ac_func" >&5
77007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77008 if eval "test \"\${$as_ac_var+set}\" = set"; then
77009 echo $ECHO_N "(cached) $ECHO_C" >&6
77010 else
77011 if test x$gcc_no_link = xyes; then
77012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77014 { (exit 1); exit 1; }; }
77016 cat >conftest.$ac_ext <<_ACEOF
77017 /* confdefs.h. */
77018 _ACEOF
77019 cat confdefs.h >>conftest.$ac_ext
77020 cat >>conftest.$ac_ext <<_ACEOF
77021 /* end confdefs.h. */
77022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77024 #define $ac_func innocuous_$ac_func
77026 /* System header to define __stub macros and hopefully few prototypes,
77027 which can conflict with char $ac_func (); below.
77028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77029 <limits.h> exists even on freestanding compilers. */
77031 #ifdef __STDC__
77032 # include <limits.h>
77033 #else
77034 # include <assert.h>
77035 #endif
77037 #undef $ac_func
77039 /* Override any gcc2 internal prototype to avoid an error. */
77040 #ifdef __cplusplus
77041 extern "C"
77043 #endif
77044 /* We use char because int might match the return type of a gcc2
77045 builtin and then its argument prototype would still apply. */
77046 char $ac_func ();
77047 /* The GNU C library defines this for functions which it implements
77048 to always fail with ENOSYS. Some functions are actually named
77049 something starting with __ and the normal name is an alias. */
77050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77051 choke me
77052 #else
77053 char (*f) () = $ac_func;
77054 #endif
77055 #ifdef __cplusplus
77057 #endif
77060 main ()
77062 return f != $ac_func;
77064 return 0;
77066 _ACEOF
77067 rm -f conftest.$ac_objext conftest$ac_exeext
77068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77069 (eval $ac_link) 2>conftest.er1
77070 ac_status=$?
77071 grep -v '^ *+' conftest.er1 >conftest.err
77072 rm -f conftest.er1
77073 cat conftest.err >&5
77074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77075 (exit $ac_status); } &&
77076 { ac_try='test -z "$ac_c_werror_flag"
77077 || test ! -s conftest.err'
77078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77079 (eval $ac_try) 2>&5
77080 ac_status=$?
77081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77082 (exit $ac_status); }; } &&
77083 { ac_try='test -s conftest$ac_exeext'
77084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77085 (eval $ac_try) 2>&5
77086 ac_status=$?
77087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77088 (exit $ac_status); }; }; then
77089 eval "$as_ac_var=yes"
77090 else
77091 echo "$as_me: failed program was:" >&5
77092 sed 's/^/| /' conftest.$ac_ext >&5
77094 eval "$as_ac_var=no"
77096 rm -f conftest.err conftest.$ac_objext \
77097 conftest$ac_exeext conftest.$ac_ext
77099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77101 if test `eval echo '${'$as_ac_var'}'` = yes; then
77102 cat >>confdefs.h <<_ACEOF
77103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77104 _ACEOF
77107 done
77117 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
77118 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
77119 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
77120 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
77121 echo $ECHO_N "(cached) $ECHO_C" >&6
77122 else
77126 ac_ext=cc
77127 ac_cpp='$CXXCPP $CPPFLAGS'
77128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77132 cat >conftest.$ac_ext <<_ACEOF
77133 /* confdefs.h. */
77134 _ACEOF
77135 cat confdefs.h >>conftest.$ac_ext
77136 cat >>conftest.$ac_ext <<_ACEOF
77137 /* end confdefs.h. */
77138 #include <math.h>
77140 main ()
77142 fmodl(0, 0);
77144 return 0;
77146 _ACEOF
77147 rm -f conftest.$ac_objext
77148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77149 (eval $ac_compile) 2>conftest.er1
77150 ac_status=$?
77151 grep -v '^ *+' conftest.er1 >conftest.err
77152 rm -f conftest.er1
77153 cat conftest.err >&5
77154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77155 (exit $ac_status); } &&
77156 { ac_try='test -z "$ac_cxx_werror_flag"
77157 || test ! -s conftest.err'
77158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77159 (eval $ac_try) 2>&5
77160 ac_status=$?
77161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77162 (exit $ac_status); }; } &&
77163 { ac_try='test -s conftest.$ac_objext'
77164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77165 (eval $ac_try) 2>&5
77166 ac_status=$?
77167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77168 (exit $ac_status); }; }; then
77169 glibcxx_cv_func_fmodl_use=yes
77170 else
77171 echo "$as_me: failed program was:" >&5
77172 sed 's/^/| /' conftest.$ac_ext >&5
77174 glibcxx_cv_func_fmodl_use=no
77176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77177 ac_ext=c
77178 ac_cpp='$CPP $CPPFLAGS'
77179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77187 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
77188 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
77190 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
77192 for ac_func in fmodl
77194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77195 echo "$as_me:$LINENO: checking for $ac_func" >&5
77196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77197 if eval "test \"\${$as_ac_var+set}\" = set"; then
77198 echo $ECHO_N "(cached) $ECHO_C" >&6
77199 else
77200 if test x$gcc_no_link = xyes; then
77201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77203 { (exit 1); exit 1; }; }
77205 cat >conftest.$ac_ext <<_ACEOF
77206 /* confdefs.h. */
77207 _ACEOF
77208 cat confdefs.h >>conftest.$ac_ext
77209 cat >>conftest.$ac_ext <<_ACEOF
77210 /* end confdefs.h. */
77211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77213 #define $ac_func innocuous_$ac_func
77215 /* System header to define __stub macros and hopefully few prototypes,
77216 which can conflict with char $ac_func (); below.
77217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77218 <limits.h> exists even on freestanding compilers. */
77220 #ifdef __STDC__
77221 # include <limits.h>
77222 #else
77223 # include <assert.h>
77224 #endif
77226 #undef $ac_func
77228 /* Override any gcc2 internal prototype to avoid an error. */
77229 #ifdef __cplusplus
77230 extern "C"
77232 #endif
77233 /* We use char because int might match the return type of a gcc2
77234 builtin and then its argument prototype would still apply. */
77235 char $ac_func ();
77236 /* The GNU C library defines this for functions which it implements
77237 to always fail with ENOSYS. Some functions are actually named
77238 something starting with __ and the normal name is an alias. */
77239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77240 choke me
77241 #else
77242 char (*f) () = $ac_func;
77243 #endif
77244 #ifdef __cplusplus
77246 #endif
77249 main ()
77251 return f != $ac_func;
77253 return 0;
77255 _ACEOF
77256 rm -f conftest.$ac_objext conftest$ac_exeext
77257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77258 (eval $ac_link) 2>conftest.er1
77259 ac_status=$?
77260 grep -v '^ *+' conftest.er1 >conftest.err
77261 rm -f conftest.er1
77262 cat conftest.err >&5
77263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77264 (exit $ac_status); } &&
77265 { ac_try='test -z "$ac_c_werror_flag"
77266 || test ! -s conftest.err'
77267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77268 (eval $ac_try) 2>&5
77269 ac_status=$?
77270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77271 (exit $ac_status); }; } &&
77272 { ac_try='test -s conftest$ac_exeext'
77273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77274 (eval $ac_try) 2>&5
77275 ac_status=$?
77276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77277 (exit $ac_status); }; }; then
77278 eval "$as_ac_var=yes"
77279 else
77280 echo "$as_me: failed program was:" >&5
77281 sed 's/^/| /' conftest.$ac_ext >&5
77283 eval "$as_ac_var=no"
77285 rm -f conftest.err conftest.$ac_objext \
77286 conftest$ac_exeext conftest.$ac_ext
77288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77290 if test `eval echo '${'$as_ac_var'}'` = yes; then
77291 cat >>confdefs.h <<_ACEOF
77292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77293 _ACEOF
77296 done
77298 else
77300 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
77301 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
77302 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
77303 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
77304 echo $ECHO_N "(cached) $ECHO_C" >&6
77305 else
77309 ac_ext=cc
77310 ac_cpp='$CXXCPP $CPPFLAGS'
77311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77315 cat >conftest.$ac_ext <<_ACEOF
77316 /* confdefs.h. */
77317 _ACEOF
77318 cat confdefs.h >>conftest.$ac_ext
77319 cat >>conftest.$ac_ext <<_ACEOF
77320 /* end confdefs.h. */
77321 #include <math.h>
77323 main ()
77325 _fmodl(0, 0);
77327 return 0;
77329 _ACEOF
77330 rm -f conftest.$ac_objext
77331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77332 (eval $ac_compile) 2>conftest.er1
77333 ac_status=$?
77334 grep -v '^ *+' conftest.er1 >conftest.err
77335 rm -f conftest.er1
77336 cat conftest.err >&5
77337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77338 (exit $ac_status); } &&
77339 { ac_try='test -z "$ac_cxx_werror_flag"
77340 || test ! -s conftest.err'
77341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77342 (eval $ac_try) 2>&5
77343 ac_status=$?
77344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77345 (exit $ac_status); }; } &&
77346 { ac_try='test -s conftest.$ac_objext'
77347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77348 (eval $ac_try) 2>&5
77349 ac_status=$?
77350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77351 (exit $ac_status); }; }; then
77352 glibcxx_cv_func__fmodl_use=yes
77353 else
77354 echo "$as_me: failed program was:" >&5
77355 sed 's/^/| /' conftest.$ac_ext >&5
77357 glibcxx_cv_func__fmodl_use=no
77359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77360 ac_ext=c
77361 ac_cpp='$CPP $CPPFLAGS'
77362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77370 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
77371 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
77373 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
77375 for ac_func in _fmodl
77377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77378 echo "$as_me:$LINENO: checking for $ac_func" >&5
77379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77380 if eval "test \"\${$as_ac_var+set}\" = set"; then
77381 echo $ECHO_N "(cached) $ECHO_C" >&6
77382 else
77383 if test x$gcc_no_link = xyes; then
77384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77386 { (exit 1); exit 1; }; }
77388 cat >conftest.$ac_ext <<_ACEOF
77389 /* confdefs.h. */
77390 _ACEOF
77391 cat confdefs.h >>conftest.$ac_ext
77392 cat >>conftest.$ac_ext <<_ACEOF
77393 /* end confdefs.h. */
77394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77396 #define $ac_func innocuous_$ac_func
77398 /* System header to define __stub macros and hopefully few prototypes,
77399 which can conflict with char $ac_func (); below.
77400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77401 <limits.h> exists even on freestanding compilers. */
77403 #ifdef __STDC__
77404 # include <limits.h>
77405 #else
77406 # include <assert.h>
77407 #endif
77409 #undef $ac_func
77411 /* Override any gcc2 internal prototype to avoid an error. */
77412 #ifdef __cplusplus
77413 extern "C"
77415 #endif
77416 /* We use char because int might match the return type of a gcc2
77417 builtin and then its argument prototype would still apply. */
77418 char $ac_func ();
77419 /* The GNU C library defines this for functions which it implements
77420 to always fail with ENOSYS. Some functions are actually named
77421 something starting with __ and the normal name is an alias. */
77422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77423 choke me
77424 #else
77425 char (*f) () = $ac_func;
77426 #endif
77427 #ifdef __cplusplus
77429 #endif
77432 main ()
77434 return f != $ac_func;
77436 return 0;
77438 _ACEOF
77439 rm -f conftest.$ac_objext conftest$ac_exeext
77440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77441 (eval $ac_link) 2>conftest.er1
77442 ac_status=$?
77443 grep -v '^ *+' conftest.er1 >conftest.err
77444 rm -f conftest.er1
77445 cat conftest.err >&5
77446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77447 (exit $ac_status); } &&
77448 { ac_try='test -z "$ac_c_werror_flag"
77449 || test ! -s conftest.err'
77450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77451 (eval $ac_try) 2>&5
77452 ac_status=$?
77453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77454 (exit $ac_status); }; } &&
77455 { ac_try='test -s conftest$ac_exeext'
77456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77457 (eval $ac_try) 2>&5
77458 ac_status=$?
77459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77460 (exit $ac_status); }; }; then
77461 eval "$as_ac_var=yes"
77462 else
77463 echo "$as_me: failed program was:" >&5
77464 sed 's/^/| /' conftest.$ac_ext >&5
77466 eval "$as_ac_var=no"
77468 rm -f conftest.err conftest.$ac_objext \
77469 conftest$ac_exeext conftest.$ac_ext
77471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77473 if test `eval echo '${'$as_ac_var'}'` = yes; then
77474 cat >>confdefs.h <<_ACEOF
77475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77476 _ACEOF
77479 done
77489 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
77490 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
77491 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
77492 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
77493 echo $ECHO_N "(cached) $ECHO_C" >&6
77494 else
77498 ac_ext=cc
77499 ac_cpp='$CXXCPP $CPPFLAGS'
77500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77504 cat >conftest.$ac_ext <<_ACEOF
77505 /* confdefs.h. */
77506 _ACEOF
77507 cat confdefs.h >>conftest.$ac_ext
77508 cat >>conftest.$ac_ext <<_ACEOF
77509 /* end confdefs.h. */
77510 #include <math.h>
77512 main ()
77514 frexpl(0, 0);
77516 return 0;
77518 _ACEOF
77519 rm -f conftest.$ac_objext
77520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77521 (eval $ac_compile) 2>conftest.er1
77522 ac_status=$?
77523 grep -v '^ *+' conftest.er1 >conftest.err
77524 rm -f conftest.er1
77525 cat conftest.err >&5
77526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77527 (exit $ac_status); } &&
77528 { ac_try='test -z "$ac_cxx_werror_flag"
77529 || test ! -s conftest.err'
77530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77531 (eval $ac_try) 2>&5
77532 ac_status=$?
77533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77534 (exit $ac_status); }; } &&
77535 { ac_try='test -s conftest.$ac_objext'
77536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77537 (eval $ac_try) 2>&5
77538 ac_status=$?
77539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77540 (exit $ac_status); }; }; then
77541 glibcxx_cv_func_frexpl_use=yes
77542 else
77543 echo "$as_me: failed program was:" >&5
77544 sed 's/^/| /' conftest.$ac_ext >&5
77546 glibcxx_cv_func_frexpl_use=no
77548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77549 ac_ext=c
77550 ac_cpp='$CPP $CPPFLAGS'
77551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77559 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
77560 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
77562 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77564 for ac_func in frexpl
77566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77567 echo "$as_me:$LINENO: checking for $ac_func" >&5
77568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77569 if eval "test \"\${$as_ac_var+set}\" = set"; then
77570 echo $ECHO_N "(cached) $ECHO_C" >&6
77571 else
77572 if test x$gcc_no_link = xyes; then
77573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77575 { (exit 1); exit 1; }; }
77577 cat >conftest.$ac_ext <<_ACEOF
77578 /* confdefs.h. */
77579 _ACEOF
77580 cat confdefs.h >>conftest.$ac_ext
77581 cat >>conftest.$ac_ext <<_ACEOF
77582 /* end confdefs.h. */
77583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77585 #define $ac_func innocuous_$ac_func
77587 /* System header to define __stub macros and hopefully few prototypes,
77588 which can conflict with char $ac_func (); below.
77589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77590 <limits.h> exists even on freestanding compilers. */
77592 #ifdef __STDC__
77593 # include <limits.h>
77594 #else
77595 # include <assert.h>
77596 #endif
77598 #undef $ac_func
77600 /* Override any gcc2 internal prototype to avoid an error. */
77601 #ifdef __cplusplus
77602 extern "C"
77604 #endif
77605 /* We use char because int might match the return type of a gcc2
77606 builtin and then its argument prototype would still apply. */
77607 char $ac_func ();
77608 /* The GNU C library defines this for functions which it implements
77609 to always fail with ENOSYS. Some functions are actually named
77610 something starting with __ and the normal name is an alias. */
77611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77612 choke me
77613 #else
77614 char (*f) () = $ac_func;
77615 #endif
77616 #ifdef __cplusplus
77618 #endif
77621 main ()
77623 return f != $ac_func;
77625 return 0;
77627 _ACEOF
77628 rm -f conftest.$ac_objext conftest$ac_exeext
77629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77630 (eval $ac_link) 2>conftest.er1
77631 ac_status=$?
77632 grep -v '^ *+' conftest.er1 >conftest.err
77633 rm -f conftest.er1
77634 cat conftest.err >&5
77635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77636 (exit $ac_status); } &&
77637 { ac_try='test -z "$ac_c_werror_flag"
77638 || test ! -s conftest.err'
77639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77640 (eval $ac_try) 2>&5
77641 ac_status=$?
77642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77643 (exit $ac_status); }; } &&
77644 { ac_try='test -s conftest$ac_exeext'
77645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77646 (eval $ac_try) 2>&5
77647 ac_status=$?
77648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77649 (exit $ac_status); }; }; then
77650 eval "$as_ac_var=yes"
77651 else
77652 echo "$as_me: failed program was:" >&5
77653 sed 's/^/| /' conftest.$ac_ext >&5
77655 eval "$as_ac_var=no"
77657 rm -f conftest.err conftest.$ac_objext \
77658 conftest$ac_exeext conftest.$ac_ext
77660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77662 if test `eval echo '${'$as_ac_var'}'` = yes; then
77663 cat >>confdefs.h <<_ACEOF
77664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77665 _ACEOF
77668 done
77670 else
77672 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
77673 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
77674 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
77675 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
77676 echo $ECHO_N "(cached) $ECHO_C" >&6
77677 else
77681 ac_ext=cc
77682 ac_cpp='$CXXCPP $CPPFLAGS'
77683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77687 cat >conftest.$ac_ext <<_ACEOF
77688 /* confdefs.h. */
77689 _ACEOF
77690 cat confdefs.h >>conftest.$ac_ext
77691 cat >>conftest.$ac_ext <<_ACEOF
77692 /* end confdefs.h. */
77693 #include <math.h>
77695 main ()
77697 _frexpl(0, 0);
77699 return 0;
77701 _ACEOF
77702 rm -f conftest.$ac_objext
77703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77704 (eval $ac_compile) 2>conftest.er1
77705 ac_status=$?
77706 grep -v '^ *+' conftest.er1 >conftest.err
77707 rm -f conftest.er1
77708 cat conftest.err >&5
77709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77710 (exit $ac_status); } &&
77711 { ac_try='test -z "$ac_cxx_werror_flag"
77712 || test ! -s conftest.err'
77713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77714 (eval $ac_try) 2>&5
77715 ac_status=$?
77716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77717 (exit $ac_status); }; } &&
77718 { ac_try='test -s conftest.$ac_objext'
77719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77720 (eval $ac_try) 2>&5
77721 ac_status=$?
77722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77723 (exit $ac_status); }; }; then
77724 glibcxx_cv_func__frexpl_use=yes
77725 else
77726 echo "$as_me: failed program was:" >&5
77727 sed 's/^/| /' conftest.$ac_ext >&5
77729 glibcxx_cv_func__frexpl_use=no
77731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77732 ac_ext=c
77733 ac_cpp='$CPP $CPPFLAGS'
77734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77742 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
77743 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
77745 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
77747 for ac_func in _frexpl
77749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77750 echo "$as_me:$LINENO: checking for $ac_func" >&5
77751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77752 if eval "test \"\${$as_ac_var+set}\" = set"; then
77753 echo $ECHO_N "(cached) $ECHO_C" >&6
77754 else
77755 if test x$gcc_no_link = xyes; then
77756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77758 { (exit 1); exit 1; }; }
77760 cat >conftest.$ac_ext <<_ACEOF
77761 /* confdefs.h. */
77762 _ACEOF
77763 cat confdefs.h >>conftest.$ac_ext
77764 cat >>conftest.$ac_ext <<_ACEOF
77765 /* end confdefs.h. */
77766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77768 #define $ac_func innocuous_$ac_func
77770 /* System header to define __stub macros and hopefully few prototypes,
77771 which can conflict with char $ac_func (); below.
77772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77773 <limits.h> exists even on freestanding compilers. */
77775 #ifdef __STDC__
77776 # include <limits.h>
77777 #else
77778 # include <assert.h>
77779 #endif
77781 #undef $ac_func
77783 /* Override any gcc2 internal prototype to avoid an error. */
77784 #ifdef __cplusplus
77785 extern "C"
77787 #endif
77788 /* We use char because int might match the return type of a gcc2
77789 builtin and then its argument prototype would still apply. */
77790 char $ac_func ();
77791 /* The GNU C library defines this for functions which it implements
77792 to always fail with ENOSYS. Some functions are actually named
77793 something starting with __ and the normal name is an alias. */
77794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77795 choke me
77796 #else
77797 char (*f) () = $ac_func;
77798 #endif
77799 #ifdef __cplusplus
77801 #endif
77804 main ()
77806 return f != $ac_func;
77808 return 0;
77810 _ACEOF
77811 rm -f conftest.$ac_objext conftest$ac_exeext
77812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77813 (eval $ac_link) 2>conftest.er1
77814 ac_status=$?
77815 grep -v '^ *+' conftest.er1 >conftest.err
77816 rm -f conftest.er1
77817 cat conftest.err >&5
77818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77819 (exit $ac_status); } &&
77820 { ac_try='test -z "$ac_c_werror_flag"
77821 || test ! -s conftest.err'
77822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77823 (eval $ac_try) 2>&5
77824 ac_status=$?
77825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77826 (exit $ac_status); }; } &&
77827 { ac_try='test -s conftest$ac_exeext'
77828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77829 (eval $ac_try) 2>&5
77830 ac_status=$?
77831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77832 (exit $ac_status); }; }; then
77833 eval "$as_ac_var=yes"
77834 else
77835 echo "$as_me: failed program was:" >&5
77836 sed 's/^/| /' conftest.$ac_ext >&5
77838 eval "$as_ac_var=no"
77840 rm -f conftest.err conftest.$ac_objext \
77841 conftest$ac_exeext conftest.$ac_ext
77843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77845 if test `eval echo '${'$as_ac_var'}'` = yes; then
77846 cat >>confdefs.h <<_ACEOF
77847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77848 _ACEOF
77851 done
77861 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
77862 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
77863 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
77864 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
77865 echo $ECHO_N "(cached) $ECHO_C" >&6
77866 else
77870 ac_ext=cc
77871 ac_cpp='$CXXCPP $CPPFLAGS'
77872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77876 cat >conftest.$ac_ext <<_ACEOF
77877 /* confdefs.h. */
77878 _ACEOF
77879 cat confdefs.h >>conftest.$ac_ext
77880 cat >>conftest.$ac_ext <<_ACEOF
77881 /* end confdefs.h. */
77882 #include <math.h>
77884 main ()
77886 hypotl(0, 0);
77888 return 0;
77890 _ACEOF
77891 rm -f conftest.$ac_objext
77892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77893 (eval $ac_compile) 2>conftest.er1
77894 ac_status=$?
77895 grep -v '^ *+' conftest.er1 >conftest.err
77896 rm -f conftest.er1
77897 cat conftest.err >&5
77898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77899 (exit $ac_status); } &&
77900 { ac_try='test -z "$ac_cxx_werror_flag"
77901 || test ! -s conftest.err'
77902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77903 (eval $ac_try) 2>&5
77904 ac_status=$?
77905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77906 (exit $ac_status); }; } &&
77907 { ac_try='test -s conftest.$ac_objext'
77908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77909 (eval $ac_try) 2>&5
77910 ac_status=$?
77911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77912 (exit $ac_status); }; }; then
77913 glibcxx_cv_func_hypotl_use=yes
77914 else
77915 echo "$as_me: failed program was:" >&5
77916 sed 's/^/| /' conftest.$ac_ext >&5
77918 glibcxx_cv_func_hypotl_use=no
77920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77921 ac_ext=c
77922 ac_cpp='$CPP $CPPFLAGS'
77923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77931 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
77932 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
77934 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
77936 for ac_func in hypotl
77938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77939 echo "$as_me:$LINENO: checking for $ac_func" >&5
77940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77941 if eval "test \"\${$as_ac_var+set}\" = set"; then
77942 echo $ECHO_N "(cached) $ECHO_C" >&6
77943 else
77944 if test x$gcc_no_link = xyes; then
77945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77947 { (exit 1); exit 1; }; }
77949 cat >conftest.$ac_ext <<_ACEOF
77950 /* confdefs.h. */
77951 _ACEOF
77952 cat confdefs.h >>conftest.$ac_ext
77953 cat >>conftest.$ac_ext <<_ACEOF
77954 /* end confdefs.h. */
77955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77957 #define $ac_func innocuous_$ac_func
77959 /* System header to define __stub macros and hopefully few prototypes,
77960 which can conflict with char $ac_func (); below.
77961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77962 <limits.h> exists even on freestanding compilers. */
77964 #ifdef __STDC__
77965 # include <limits.h>
77966 #else
77967 # include <assert.h>
77968 #endif
77970 #undef $ac_func
77972 /* Override any gcc2 internal prototype to avoid an error. */
77973 #ifdef __cplusplus
77974 extern "C"
77976 #endif
77977 /* We use char because int might match the return type of a gcc2
77978 builtin and then its argument prototype would still apply. */
77979 char $ac_func ();
77980 /* The GNU C library defines this for functions which it implements
77981 to always fail with ENOSYS. Some functions are actually named
77982 something starting with __ and the normal name is an alias. */
77983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77984 choke me
77985 #else
77986 char (*f) () = $ac_func;
77987 #endif
77988 #ifdef __cplusplus
77990 #endif
77993 main ()
77995 return f != $ac_func;
77997 return 0;
77999 _ACEOF
78000 rm -f conftest.$ac_objext conftest$ac_exeext
78001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78002 (eval $ac_link) 2>conftest.er1
78003 ac_status=$?
78004 grep -v '^ *+' conftest.er1 >conftest.err
78005 rm -f conftest.er1
78006 cat conftest.err >&5
78007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78008 (exit $ac_status); } &&
78009 { ac_try='test -z "$ac_c_werror_flag"
78010 || test ! -s conftest.err'
78011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78012 (eval $ac_try) 2>&5
78013 ac_status=$?
78014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78015 (exit $ac_status); }; } &&
78016 { ac_try='test -s conftest$ac_exeext'
78017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78018 (eval $ac_try) 2>&5
78019 ac_status=$?
78020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78021 (exit $ac_status); }; }; then
78022 eval "$as_ac_var=yes"
78023 else
78024 echo "$as_me: failed program was:" >&5
78025 sed 's/^/| /' conftest.$ac_ext >&5
78027 eval "$as_ac_var=no"
78029 rm -f conftest.err conftest.$ac_objext \
78030 conftest$ac_exeext conftest.$ac_ext
78032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78034 if test `eval echo '${'$as_ac_var'}'` = yes; then
78035 cat >>confdefs.h <<_ACEOF
78036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78037 _ACEOF
78040 done
78042 else
78044 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
78045 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
78046 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
78047 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
78048 echo $ECHO_N "(cached) $ECHO_C" >&6
78049 else
78053 ac_ext=cc
78054 ac_cpp='$CXXCPP $CPPFLAGS'
78055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78059 cat >conftest.$ac_ext <<_ACEOF
78060 /* confdefs.h. */
78061 _ACEOF
78062 cat confdefs.h >>conftest.$ac_ext
78063 cat >>conftest.$ac_ext <<_ACEOF
78064 /* end confdefs.h. */
78065 #include <math.h>
78067 main ()
78069 _hypotl(0, 0);
78071 return 0;
78073 _ACEOF
78074 rm -f conftest.$ac_objext
78075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78076 (eval $ac_compile) 2>conftest.er1
78077 ac_status=$?
78078 grep -v '^ *+' conftest.er1 >conftest.err
78079 rm -f conftest.er1
78080 cat conftest.err >&5
78081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78082 (exit $ac_status); } &&
78083 { ac_try='test -z "$ac_cxx_werror_flag"
78084 || test ! -s conftest.err'
78085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78086 (eval $ac_try) 2>&5
78087 ac_status=$?
78088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78089 (exit $ac_status); }; } &&
78090 { ac_try='test -s conftest.$ac_objext'
78091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78092 (eval $ac_try) 2>&5
78093 ac_status=$?
78094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78095 (exit $ac_status); }; }; then
78096 glibcxx_cv_func__hypotl_use=yes
78097 else
78098 echo "$as_me: failed program was:" >&5
78099 sed 's/^/| /' conftest.$ac_ext >&5
78101 glibcxx_cv_func__hypotl_use=no
78103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78104 ac_ext=c
78105 ac_cpp='$CPP $CPPFLAGS'
78106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78114 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
78115 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
78117 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
78119 for ac_func in _hypotl
78121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78122 echo "$as_me:$LINENO: checking for $ac_func" >&5
78123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78124 if eval "test \"\${$as_ac_var+set}\" = set"; then
78125 echo $ECHO_N "(cached) $ECHO_C" >&6
78126 else
78127 if test x$gcc_no_link = xyes; then
78128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78130 { (exit 1); exit 1; }; }
78132 cat >conftest.$ac_ext <<_ACEOF
78133 /* confdefs.h. */
78134 _ACEOF
78135 cat confdefs.h >>conftest.$ac_ext
78136 cat >>conftest.$ac_ext <<_ACEOF
78137 /* end confdefs.h. */
78138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78140 #define $ac_func innocuous_$ac_func
78142 /* System header to define __stub macros and hopefully few prototypes,
78143 which can conflict with char $ac_func (); below.
78144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78145 <limits.h> exists even on freestanding compilers. */
78147 #ifdef __STDC__
78148 # include <limits.h>
78149 #else
78150 # include <assert.h>
78151 #endif
78153 #undef $ac_func
78155 /* Override any gcc2 internal prototype to avoid an error. */
78156 #ifdef __cplusplus
78157 extern "C"
78159 #endif
78160 /* We use char because int might match the return type of a gcc2
78161 builtin and then its argument prototype would still apply. */
78162 char $ac_func ();
78163 /* The GNU C library defines this for functions which it implements
78164 to always fail with ENOSYS. Some functions are actually named
78165 something starting with __ and the normal name is an alias. */
78166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78167 choke me
78168 #else
78169 char (*f) () = $ac_func;
78170 #endif
78171 #ifdef __cplusplus
78173 #endif
78176 main ()
78178 return f != $ac_func;
78180 return 0;
78182 _ACEOF
78183 rm -f conftest.$ac_objext conftest$ac_exeext
78184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78185 (eval $ac_link) 2>conftest.er1
78186 ac_status=$?
78187 grep -v '^ *+' conftest.er1 >conftest.err
78188 rm -f conftest.er1
78189 cat conftest.err >&5
78190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78191 (exit $ac_status); } &&
78192 { ac_try='test -z "$ac_c_werror_flag"
78193 || test ! -s conftest.err'
78194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78195 (eval $ac_try) 2>&5
78196 ac_status=$?
78197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78198 (exit $ac_status); }; } &&
78199 { ac_try='test -s conftest$ac_exeext'
78200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78201 (eval $ac_try) 2>&5
78202 ac_status=$?
78203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78204 (exit $ac_status); }; }; then
78205 eval "$as_ac_var=yes"
78206 else
78207 echo "$as_me: failed program was:" >&5
78208 sed 's/^/| /' conftest.$ac_ext >&5
78210 eval "$as_ac_var=no"
78212 rm -f conftest.err conftest.$ac_objext \
78213 conftest$ac_exeext conftest.$ac_ext
78215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78217 if test `eval echo '${'$as_ac_var'}'` = yes; then
78218 cat >>confdefs.h <<_ACEOF
78219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78220 _ACEOF
78223 done
78233 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
78234 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
78235 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
78236 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
78237 echo $ECHO_N "(cached) $ECHO_C" >&6
78238 else
78242 ac_ext=cc
78243 ac_cpp='$CXXCPP $CPPFLAGS'
78244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78248 cat >conftest.$ac_ext <<_ACEOF
78249 /* confdefs.h. */
78250 _ACEOF
78251 cat confdefs.h >>conftest.$ac_ext
78252 cat >>conftest.$ac_ext <<_ACEOF
78253 /* end confdefs.h. */
78254 #include <math.h>
78256 main ()
78258 ldexpl(0, 0);
78260 return 0;
78262 _ACEOF
78263 rm -f conftest.$ac_objext
78264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78265 (eval $ac_compile) 2>conftest.er1
78266 ac_status=$?
78267 grep -v '^ *+' conftest.er1 >conftest.err
78268 rm -f conftest.er1
78269 cat conftest.err >&5
78270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78271 (exit $ac_status); } &&
78272 { ac_try='test -z "$ac_cxx_werror_flag"
78273 || test ! -s conftest.err'
78274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78275 (eval $ac_try) 2>&5
78276 ac_status=$?
78277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78278 (exit $ac_status); }; } &&
78279 { ac_try='test -s conftest.$ac_objext'
78280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78281 (eval $ac_try) 2>&5
78282 ac_status=$?
78283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78284 (exit $ac_status); }; }; then
78285 glibcxx_cv_func_ldexpl_use=yes
78286 else
78287 echo "$as_me: failed program was:" >&5
78288 sed 's/^/| /' conftest.$ac_ext >&5
78290 glibcxx_cv_func_ldexpl_use=no
78292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78293 ac_ext=c
78294 ac_cpp='$CPP $CPPFLAGS'
78295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78303 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
78304 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
78306 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
78308 for ac_func in ldexpl
78310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78311 echo "$as_me:$LINENO: checking for $ac_func" >&5
78312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78313 if eval "test \"\${$as_ac_var+set}\" = set"; then
78314 echo $ECHO_N "(cached) $ECHO_C" >&6
78315 else
78316 if test x$gcc_no_link = xyes; then
78317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78319 { (exit 1); exit 1; }; }
78321 cat >conftest.$ac_ext <<_ACEOF
78322 /* confdefs.h. */
78323 _ACEOF
78324 cat confdefs.h >>conftest.$ac_ext
78325 cat >>conftest.$ac_ext <<_ACEOF
78326 /* end confdefs.h. */
78327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78329 #define $ac_func innocuous_$ac_func
78331 /* System header to define __stub macros and hopefully few prototypes,
78332 which can conflict with char $ac_func (); below.
78333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78334 <limits.h> exists even on freestanding compilers. */
78336 #ifdef __STDC__
78337 # include <limits.h>
78338 #else
78339 # include <assert.h>
78340 #endif
78342 #undef $ac_func
78344 /* Override any gcc2 internal prototype to avoid an error. */
78345 #ifdef __cplusplus
78346 extern "C"
78348 #endif
78349 /* We use char because int might match the return type of a gcc2
78350 builtin and then its argument prototype would still apply. */
78351 char $ac_func ();
78352 /* The GNU C library defines this for functions which it implements
78353 to always fail with ENOSYS. Some functions are actually named
78354 something starting with __ and the normal name is an alias. */
78355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78356 choke me
78357 #else
78358 char (*f) () = $ac_func;
78359 #endif
78360 #ifdef __cplusplus
78362 #endif
78365 main ()
78367 return f != $ac_func;
78369 return 0;
78371 _ACEOF
78372 rm -f conftest.$ac_objext conftest$ac_exeext
78373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78374 (eval $ac_link) 2>conftest.er1
78375 ac_status=$?
78376 grep -v '^ *+' conftest.er1 >conftest.err
78377 rm -f conftest.er1
78378 cat conftest.err >&5
78379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78380 (exit $ac_status); } &&
78381 { ac_try='test -z "$ac_c_werror_flag"
78382 || test ! -s conftest.err'
78383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78384 (eval $ac_try) 2>&5
78385 ac_status=$?
78386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78387 (exit $ac_status); }; } &&
78388 { ac_try='test -s conftest$ac_exeext'
78389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78390 (eval $ac_try) 2>&5
78391 ac_status=$?
78392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78393 (exit $ac_status); }; }; then
78394 eval "$as_ac_var=yes"
78395 else
78396 echo "$as_me: failed program was:" >&5
78397 sed 's/^/| /' conftest.$ac_ext >&5
78399 eval "$as_ac_var=no"
78401 rm -f conftest.err conftest.$ac_objext \
78402 conftest$ac_exeext conftest.$ac_ext
78404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78406 if test `eval echo '${'$as_ac_var'}'` = yes; then
78407 cat >>confdefs.h <<_ACEOF
78408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78409 _ACEOF
78412 done
78414 else
78416 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
78417 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
78418 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
78419 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
78420 echo $ECHO_N "(cached) $ECHO_C" >&6
78421 else
78425 ac_ext=cc
78426 ac_cpp='$CXXCPP $CPPFLAGS'
78427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78431 cat >conftest.$ac_ext <<_ACEOF
78432 /* confdefs.h. */
78433 _ACEOF
78434 cat confdefs.h >>conftest.$ac_ext
78435 cat >>conftest.$ac_ext <<_ACEOF
78436 /* end confdefs.h. */
78437 #include <math.h>
78439 main ()
78441 _ldexpl(0, 0);
78443 return 0;
78445 _ACEOF
78446 rm -f conftest.$ac_objext
78447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78448 (eval $ac_compile) 2>conftest.er1
78449 ac_status=$?
78450 grep -v '^ *+' conftest.er1 >conftest.err
78451 rm -f conftest.er1
78452 cat conftest.err >&5
78453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78454 (exit $ac_status); } &&
78455 { ac_try='test -z "$ac_cxx_werror_flag"
78456 || test ! -s conftest.err'
78457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78458 (eval $ac_try) 2>&5
78459 ac_status=$?
78460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78461 (exit $ac_status); }; } &&
78462 { ac_try='test -s conftest.$ac_objext'
78463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78464 (eval $ac_try) 2>&5
78465 ac_status=$?
78466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78467 (exit $ac_status); }; }; then
78468 glibcxx_cv_func__ldexpl_use=yes
78469 else
78470 echo "$as_me: failed program was:" >&5
78471 sed 's/^/| /' conftest.$ac_ext >&5
78473 glibcxx_cv_func__ldexpl_use=no
78475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78476 ac_ext=c
78477 ac_cpp='$CPP $CPPFLAGS'
78478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78486 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
78487 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
78489 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
78491 for ac_func in _ldexpl
78493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78494 echo "$as_me:$LINENO: checking for $ac_func" >&5
78495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78496 if eval "test \"\${$as_ac_var+set}\" = set"; then
78497 echo $ECHO_N "(cached) $ECHO_C" >&6
78498 else
78499 if test x$gcc_no_link = xyes; then
78500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78502 { (exit 1); exit 1; }; }
78504 cat >conftest.$ac_ext <<_ACEOF
78505 /* confdefs.h. */
78506 _ACEOF
78507 cat confdefs.h >>conftest.$ac_ext
78508 cat >>conftest.$ac_ext <<_ACEOF
78509 /* end confdefs.h. */
78510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78512 #define $ac_func innocuous_$ac_func
78514 /* System header to define __stub macros and hopefully few prototypes,
78515 which can conflict with char $ac_func (); below.
78516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78517 <limits.h> exists even on freestanding compilers. */
78519 #ifdef __STDC__
78520 # include <limits.h>
78521 #else
78522 # include <assert.h>
78523 #endif
78525 #undef $ac_func
78527 /* Override any gcc2 internal prototype to avoid an error. */
78528 #ifdef __cplusplus
78529 extern "C"
78531 #endif
78532 /* We use char because int might match the return type of a gcc2
78533 builtin and then its argument prototype would still apply. */
78534 char $ac_func ();
78535 /* The GNU C library defines this for functions which it implements
78536 to always fail with ENOSYS. Some functions are actually named
78537 something starting with __ and the normal name is an alias. */
78538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78539 choke me
78540 #else
78541 char (*f) () = $ac_func;
78542 #endif
78543 #ifdef __cplusplus
78545 #endif
78548 main ()
78550 return f != $ac_func;
78552 return 0;
78554 _ACEOF
78555 rm -f conftest.$ac_objext conftest$ac_exeext
78556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78557 (eval $ac_link) 2>conftest.er1
78558 ac_status=$?
78559 grep -v '^ *+' conftest.er1 >conftest.err
78560 rm -f conftest.er1
78561 cat conftest.err >&5
78562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78563 (exit $ac_status); } &&
78564 { ac_try='test -z "$ac_c_werror_flag"
78565 || test ! -s conftest.err'
78566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78567 (eval $ac_try) 2>&5
78568 ac_status=$?
78569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78570 (exit $ac_status); }; } &&
78571 { ac_try='test -s conftest$ac_exeext'
78572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78573 (eval $ac_try) 2>&5
78574 ac_status=$?
78575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78576 (exit $ac_status); }; }; then
78577 eval "$as_ac_var=yes"
78578 else
78579 echo "$as_me: failed program was:" >&5
78580 sed 's/^/| /' conftest.$ac_ext >&5
78582 eval "$as_ac_var=no"
78584 rm -f conftest.err conftest.$ac_objext \
78585 conftest$ac_exeext conftest.$ac_ext
78587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78589 if test `eval echo '${'$as_ac_var'}'` = yes; then
78590 cat >>confdefs.h <<_ACEOF
78591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78592 _ACEOF
78595 done
78605 echo "$as_me:$LINENO: checking for logl declaration" >&5
78606 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
78607 if test x${glibcxx_cv_func_logl_use+set} != xset; then
78608 if test "${glibcxx_cv_func_logl_use+set}" = set; then
78609 echo $ECHO_N "(cached) $ECHO_C" >&6
78610 else
78614 ac_ext=cc
78615 ac_cpp='$CXXCPP $CPPFLAGS'
78616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78620 cat >conftest.$ac_ext <<_ACEOF
78621 /* confdefs.h. */
78622 _ACEOF
78623 cat confdefs.h >>conftest.$ac_ext
78624 cat >>conftest.$ac_ext <<_ACEOF
78625 /* end confdefs.h. */
78626 #include <math.h>
78627 #ifdef HAVE_IEEEFP_H
78628 #include <ieeefp.h>
78629 #endif
78632 main ()
78634 logl(0);
78636 return 0;
78638 _ACEOF
78639 rm -f conftest.$ac_objext
78640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78641 (eval $ac_compile) 2>conftest.er1
78642 ac_status=$?
78643 grep -v '^ *+' conftest.er1 >conftest.err
78644 rm -f conftest.er1
78645 cat conftest.err >&5
78646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78647 (exit $ac_status); } &&
78648 { ac_try='test -z "$ac_cxx_werror_flag"
78649 || test ! -s conftest.err'
78650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78651 (eval $ac_try) 2>&5
78652 ac_status=$?
78653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78654 (exit $ac_status); }; } &&
78655 { ac_try='test -s conftest.$ac_objext'
78656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78657 (eval $ac_try) 2>&5
78658 ac_status=$?
78659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78660 (exit $ac_status); }; }; then
78661 glibcxx_cv_func_logl_use=yes
78662 else
78663 echo "$as_me: failed program was:" >&5
78664 sed 's/^/| /' conftest.$ac_ext >&5
78666 glibcxx_cv_func_logl_use=no
78668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78669 ac_ext=c
78670 ac_cpp='$CPP $CPPFLAGS'
78671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78679 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
78680 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
78682 if test x$glibcxx_cv_func_logl_use = x"yes"; then
78684 for ac_func in logl
78686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78687 echo "$as_me:$LINENO: checking for $ac_func" >&5
78688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78689 if eval "test \"\${$as_ac_var+set}\" = set"; then
78690 echo $ECHO_N "(cached) $ECHO_C" >&6
78691 else
78692 if test x$gcc_no_link = xyes; then
78693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78695 { (exit 1); exit 1; }; }
78697 cat >conftest.$ac_ext <<_ACEOF
78698 /* confdefs.h. */
78699 _ACEOF
78700 cat confdefs.h >>conftest.$ac_ext
78701 cat >>conftest.$ac_ext <<_ACEOF
78702 /* end confdefs.h. */
78703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78705 #define $ac_func innocuous_$ac_func
78707 /* System header to define __stub macros and hopefully few prototypes,
78708 which can conflict with char $ac_func (); below.
78709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78710 <limits.h> exists even on freestanding compilers. */
78712 #ifdef __STDC__
78713 # include <limits.h>
78714 #else
78715 # include <assert.h>
78716 #endif
78718 #undef $ac_func
78720 /* Override any gcc2 internal prototype to avoid an error. */
78721 #ifdef __cplusplus
78722 extern "C"
78724 #endif
78725 /* We use char because int might match the return type of a gcc2
78726 builtin and then its argument prototype would still apply. */
78727 char $ac_func ();
78728 /* The GNU C library defines this for functions which it implements
78729 to always fail with ENOSYS. Some functions are actually named
78730 something starting with __ and the normal name is an alias. */
78731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78732 choke me
78733 #else
78734 char (*f) () = $ac_func;
78735 #endif
78736 #ifdef __cplusplus
78738 #endif
78741 main ()
78743 return f != $ac_func;
78745 return 0;
78747 _ACEOF
78748 rm -f conftest.$ac_objext conftest$ac_exeext
78749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78750 (eval $ac_link) 2>conftest.er1
78751 ac_status=$?
78752 grep -v '^ *+' conftest.er1 >conftest.err
78753 rm -f conftest.er1
78754 cat conftest.err >&5
78755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78756 (exit $ac_status); } &&
78757 { ac_try='test -z "$ac_c_werror_flag"
78758 || test ! -s conftest.err'
78759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78760 (eval $ac_try) 2>&5
78761 ac_status=$?
78762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78763 (exit $ac_status); }; } &&
78764 { ac_try='test -s conftest$ac_exeext'
78765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78766 (eval $ac_try) 2>&5
78767 ac_status=$?
78768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78769 (exit $ac_status); }; }; then
78770 eval "$as_ac_var=yes"
78771 else
78772 echo "$as_me: failed program was:" >&5
78773 sed 's/^/| /' conftest.$ac_ext >&5
78775 eval "$as_ac_var=no"
78777 rm -f conftest.err conftest.$ac_objext \
78778 conftest$ac_exeext conftest.$ac_ext
78780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78782 if test `eval echo '${'$as_ac_var'}'` = yes; then
78783 cat >>confdefs.h <<_ACEOF
78784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78785 _ACEOF
78788 done
78790 else
78792 echo "$as_me:$LINENO: checking for _logl declaration" >&5
78793 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
78794 if test x${glibcxx_cv_func__logl_use+set} != xset; then
78795 if test "${glibcxx_cv_func__logl_use+set}" = set; then
78796 echo $ECHO_N "(cached) $ECHO_C" >&6
78797 else
78801 ac_ext=cc
78802 ac_cpp='$CXXCPP $CPPFLAGS'
78803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78807 cat >conftest.$ac_ext <<_ACEOF
78808 /* confdefs.h. */
78809 _ACEOF
78810 cat confdefs.h >>conftest.$ac_ext
78811 cat >>conftest.$ac_ext <<_ACEOF
78812 /* end confdefs.h. */
78813 #include <math.h>
78814 #ifdef HAVE_IEEEFP_H
78815 #include <ieeefp.h>
78816 #endif
78819 main ()
78821 _logl(0);
78823 return 0;
78825 _ACEOF
78826 rm -f conftest.$ac_objext
78827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78828 (eval $ac_compile) 2>conftest.er1
78829 ac_status=$?
78830 grep -v '^ *+' conftest.er1 >conftest.err
78831 rm -f conftest.er1
78832 cat conftest.err >&5
78833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78834 (exit $ac_status); } &&
78835 { ac_try='test -z "$ac_cxx_werror_flag"
78836 || test ! -s conftest.err'
78837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78838 (eval $ac_try) 2>&5
78839 ac_status=$?
78840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78841 (exit $ac_status); }; } &&
78842 { ac_try='test -s conftest.$ac_objext'
78843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78844 (eval $ac_try) 2>&5
78845 ac_status=$?
78846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78847 (exit $ac_status); }; }; then
78848 glibcxx_cv_func__logl_use=yes
78849 else
78850 echo "$as_me: failed program was:" >&5
78851 sed 's/^/| /' conftest.$ac_ext >&5
78853 glibcxx_cv_func__logl_use=no
78855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78856 ac_ext=c
78857 ac_cpp='$CPP $CPPFLAGS'
78858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78866 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
78867 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
78869 if test x$glibcxx_cv_func__logl_use = x"yes"; then
78871 for ac_func in _logl
78873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78874 echo "$as_me:$LINENO: checking for $ac_func" >&5
78875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78876 if eval "test \"\${$as_ac_var+set}\" = set"; then
78877 echo $ECHO_N "(cached) $ECHO_C" >&6
78878 else
78879 if test x$gcc_no_link = xyes; then
78880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78882 { (exit 1); exit 1; }; }
78884 cat >conftest.$ac_ext <<_ACEOF
78885 /* confdefs.h. */
78886 _ACEOF
78887 cat confdefs.h >>conftest.$ac_ext
78888 cat >>conftest.$ac_ext <<_ACEOF
78889 /* end confdefs.h. */
78890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78892 #define $ac_func innocuous_$ac_func
78894 /* System header to define __stub macros and hopefully few prototypes,
78895 which can conflict with char $ac_func (); below.
78896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78897 <limits.h> exists even on freestanding compilers. */
78899 #ifdef __STDC__
78900 # include <limits.h>
78901 #else
78902 # include <assert.h>
78903 #endif
78905 #undef $ac_func
78907 /* Override any gcc2 internal prototype to avoid an error. */
78908 #ifdef __cplusplus
78909 extern "C"
78911 #endif
78912 /* We use char because int might match the return type of a gcc2
78913 builtin and then its argument prototype would still apply. */
78914 char $ac_func ();
78915 /* The GNU C library defines this for functions which it implements
78916 to always fail with ENOSYS. Some functions are actually named
78917 something starting with __ and the normal name is an alias. */
78918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78919 choke me
78920 #else
78921 char (*f) () = $ac_func;
78922 #endif
78923 #ifdef __cplusplus
78925 #endif
78928 main ()
78930 return f != $ac_func;
78932 return 0;
78934 _ACEOF
78935 rm -f conftest.$ac_objext conftest$ac_exeext
78936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78937 (eval $ac_link) 2>conftest.er1
78938 ac_status=$?
78939 grep -v '^ *+' conftest.er1 >conftest.err
78940 rm -f conftest.er1
78941 cat conftest.err >&5
78942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78943 (exit $ac_status); } &&
78944 { ac_try='test -z "$ac_c_werror_flag"
78945 || test ! -s conftest.err'
78946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78947 (eval $ac_try) 2>&5
78948 ac_status=$?
78949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78950 (exit $ac_status); }; } &&
78951 { ac_try='test -s conftest$ac_exeext'
78952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78953 (eval $ac_try) 2>&5
78954 ac_status=$?
78955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78956 (exit $ac_status); }; }; then
78957 eval "$as_ac_var=yes"
78958 else
78959 echo "$as_me: failed program was:" >&5
78960 sed 's/^/| /' conftest.$ac_ext >&5
78962 eval "$as_ac_var=no"
78964 rm -f conftest.err conftest.$ac_objext \
78965 conftest$ac_exeext conftest.$ac_ext
78967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78969 if test `eval echo '${'$as_ac_var'}'` = yes; then
78970 cat >>confdefs.h <<_ACEOF
78971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78972 _ACEOF
78975 done
78985 echo "$as_me:$LINENO: checking for log10l declaration" >&5
78986 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
78987 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
78988 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
78989 echo $ECHO_N "(cached) $ECHO_C" >&6
78990 else
78994 ac_ext=cc
78995 ac_cpp='$CXXCPP $CPPFLAGS'
78996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79000 cat >conftest.$ac_ext <<_ACEOF
79001 /* confdefs.h. */
79002 _ACEOF
79003 cat confdefs.h >>conftest.$ac_ext
79004 cat >>conftest.$ac_ext <<_ACEOF
79005 /* end confdefs.h. */
79006 #include <math.h>
79007 #ifdef HAVE_IEEEFP_H
79008 #include <ieeefp.h>
79009 #endif
79012 main ()
79014 log10l(0);
79016 return 0;
79018 _ACEOF
79019 rm -f conftest.$ac_objext
79020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79021 (eval $ac_compile) 2>conftest.er1
79022 ac_status=$?
79023 grep -v '^ *+' conftest.er1 >conftest.err
79024 rm -f conftest.er1
79025 cat conftest.err >&5
79026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79027 (exit $ac_status); } &&
79028 { ac_try='test -z "$ac_cxx_werror_flag"
79029 || test ! -s conftest.err'
79030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79031 (eval $ac_try) 2>&5
79032 ac_status=$?
79033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79034 (exit $ac_status); }; } &&
79035 { ac_try='test -s conftest.$ac_objext'
79036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79037 (eval $ac_try) 2>&5
79038 ac_status=$?
79039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79040 (exit $ac_status); }; }; then
79041 glibcxx_cv_func_log10l_use=yes
79042 else
79043 echo "$as_me: failed program was:" >&5
79044 sed 's/^/| /' conftest.$ac_ext >&5
79046 glibcxx_cv_func_log10l_use=no
79048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79049 ac_ext=c
79050 ac_cpp='$CPP $CPPFLAGS'
79051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79059 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
79060 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
79062 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
79064 for ac_func in log10l
79066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79067 echo "$as_me:$LINENO: checking for $ac_func" >&5
79068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79069 if eval "test \"\${$as_ac_var+set}\" = set"; then
79070 echo $ECHO_N "(cached) $ECHO_C" >&6
79071 else
79072 if test x$gcc_no_link = xyes; then
79073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79075 { (exit 1); exit 1; }; }
79077 cat >conftest.$ac_ext <<_ACEOF
79078 /* confdefs.h. */
79079 _ACEOF
79080 cat confdefs.h >>conftest.$ac_ext
79081 cat >>conftest.$ac_ext <<_ACEOF
79082 /* end confdefs.h. */
79083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79085 #define $ac_func innocuous_$ac_func
79087 /* System header to define __stub macros and hopefully few prototypes,
79088 which can conflict with char $ac_func (); below.
79089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79090 <limits.h> exists even on freestanding compilers. */
79092 #ifdef __STDC__
79093 # include <limits.h>
79094 #else
79095 # include <assert.h>
79096 #endif
79098 #undef $ac_func
79100 /* Override any gcc2 internal prototype to avoid an error. */
79101 #ifdef __cplusplus
79102 extern "C"
79104 #endif
79105 /* We use char because int might match the return type of a gcc2
79106 builtin and then its argument prototype would still apply. */
79107 char $ac_func ();
79108 /* The GNU C library defines this for functions which it implements
79109 to always fail with ENOSYS. Some functions are actually named
79110 something starting with __ and the normal name is an alias. */
79111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79112 choke me
79113 #else
79114 char (*f) () = $ac_func;
79115 #endif
79116 #ifdef __cplusplus
79118 #endif
79121 main ()
79123 return f != $ac_func;
79125 return 0;
79127 _ACEOF
79128 rm -f conftest.$ac_objext conftest$ac_exeext
79129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79130 (eval $ac_link) 2>conftest.er1
79131 ac_status=$?
79132 grep -v '^ *+' conftest.er1 >conftest.err
79133 rm -f conftest.er1
79134 cat conftest.err >&5
79135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79136 (exit $ac_status); } &&
79137 { ac_try='test -z "$ac_c_werror_flag"
79138 || test ! -s conftest.err'
79139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79140 (eval $ac_try) 2>&5
79141 ac_status=$?
79142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79143 (exit $ac_status); }; } &&
79144 { ac_try='test -s conftest$ac_exeext'
79145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79146 (eval $ac_try) 2>&5
79147 ac_status=$?
79148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79149 (exit $ac_status); }; }; then
79150 eval "$as_ac_var=yes"
79151 else
79152 echo "$as_me: failed program was:" >&5
79153 sed 's/^/| /' conftest.$ac_ext >&5
79155 eval "$as_ac_var=no"
79157 rm -f conftest.err conftest.$ac_objext \
79158 conftest$ac_exeext conftest.$ac_ext
79160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79162 if test `eval echo '${'$as_ac_var'}'` = yes; then
79163 cat >>confdefs.h <<_ACEOF
79164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79165 _ACEOF
79168 done
79170 else
79172 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
79173 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
79174 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
79175 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
79176 echo $ECHO_N "(cached) $ECHO_C" >&6
79177 else
79181 ac_ext=cc
79182 ac_cpp='$CXXCPP $CPPFLAGS'
79183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79187 cat >conftest.$ac_ext <<_ACEOF
79188 /* confdefs.h. */
79189 _ACEOF
79190 cat confdefs.h >>conftest.$ac_ext
79191 cat >>conftest.$ac_ext <<_ACEOF
79192 /* end confdefs.h. */
79193 #include <math.h>
79194 #ifdef HAVE_IEEEFP_H
79195 #include <ieeefp.h>
79196 #endif
79199 main ()
79201 _log10l(0);
79203 return 0;
79205 _ACEOF
79206 rm -f conftest.$ac_objext
79207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79208 (eval $ac_compile) 2>conftest.er1
79209 ac_status=$?
79210 grep -v '^ *+' conftest.er1 >conftest.err
79211 rm -f conftest.er1
79212 cat conftest.err >&5
79213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79214 (exit $ac_status); } &&
79215 { ac_try='test -z "$ac_cxx_werror_flag"
79216 || test ! -s conftest.err'
79217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79218 (eval $ac_try) 2>&5
79219 ac_status=$?
79220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79221 (exit $ac_status); }; } &&
79222 { ac_try='test -s conftest.$ac_objext'
79223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79224 (eval $ac_try) 2>&5
79225 ac_status=$?
79226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79227 (exit $ac_status); }; }; then
79228 glibcxx_cv_func__log10l_use=yes
79229 else
79230 echo "$as_me: failed program was:" >&5
79231 sed 's/^/| /' conftest.$ac_ext >&5
79233 glibcxx_cv_func__log10l_use=no
79235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79236 ac_ext=c
79237 ac_cpp='$CPP $CPPFLAGS'
79238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79246 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
79247 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
79249 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
79251 for ac_func in _log10l
79253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79254 echo "$as_me:$LINENO: checking for $ac_func" >&5
79255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79256 if eval "test \"\${$as_ac_var+set}\" = set"; then
79257 echo $ECHO_N "(cached) $ECHO_C" >&6
79258 else
79259 if test x$gcc_no_link = xyes; then
79260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79262 { (exit 1); exit 1; }; }
79264 cat >conftest.$ac_ext <<_ACEOF
79265 /* confdefs.h. */
79266 _ACEOF
79267 cat confdefs.h >>conftest.$ac_ext
79268 cat >>conftest.$ac_ext <<_ACEOF
79269 /* end confdefs.h. */
79270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79272 #define $ac_func innocuous_$ac_func
79274 /* System header to define __stub macros and hopefully few prototypes,
79275 which can conflict with char $ac_func (); below.
79276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79277 <limits.h> exists even on freestanding compilers. */
79279 #ifdef __STDC__
79280 # include <limits.h>
79281 #else
79282 # include <assert.h>
79283 #endif
79285 #undef $ac_func
79287 /* Override any gcc2 internal prototype to avoid an error. */
79288 #ifdef __cplusplus
79289 extern "C"
79291 #endif
79292 /* We use char because int might match the return type of a gcc2
79293 builtin and then its argument prototype would still apply. */
79294 char $ac_func ();
79295 /* The GNU C library defines this for functions which it implements
79296 to always fail with ENOSYS. Some functions are actually named
79297 something starting with __ and the normal name is an alias. */
79298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79299 choke me
79300 #else
79301 char (*f) () = $ac_func;
79302 #endif
79303 #ifdef __cplusplus
79305 #endif
79308 main ()
79310 return f != $ac_func;
79312 return 0;
79314 _ACEOF
79315 rm -f conftest.$ac_objext conftest$ac_exeext
79316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79317 (eval $ac_link) 2>conftest.er1
79318 ac_status=$?
79319 grep -v '^ *+' conftest.er1 >conftest.err
79320 rm -f conftest.er1
79321 cat conftest.err >&5
79322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79323 (exit $ac_status); } &&
79324 { ac_try='test -z "$ac_c_werror_flag"
79325 || test ! -s conftest.err'
79326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79327 (eval $ac_try) 2>&5
79328 ac_status=$?
79329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79330 (exit $ac_status); }; } &&
79331 { ac_try='test -s conftest$ac_exeext'
79332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79333 (eval $ac_try) 2>&5
79334 ac_status=$?
79335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79336 (exit $ac_status); }; }; then
79337 eval "$as_ac_var=yes"
79338 else
79339 echo "$as_me: failed program was:" >&5
79340 sed 's/^/| /' conftest.$ac_ext >&5
79342 eval "$as_ac_var=no"
79344 rm -f conftest.err conftest.$ac_objext \
79345 conftest$ac_exeext conftest.$ac_ext
79347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79349 if test `eval echo '${'$as_ac_var'}'` = yes; then
79350 cat >>confdefs.h <<_ACEOF
79351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79352 _ACEOF
79355 done
79365 echo "$as_me:$LINENO: checking for modfl declaration" >&5
79366 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
79367 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
79368 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
79369 echo $ECHO_N "(cached) $ECHO_C" >&6
79370 else
79374 ac_ext=cc
79375 ac_cpp='$CXXCPP $CPPFLAGS'
79376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79380 cat >conftest.$ac_ext <<_ACEOF
79381 /* confdefs.h. */
79382 _ACEOF
79383 cat confdefs.h >>conftest.$ac_ext
79384 cat >>conftest.$ac_ext <<_ACEOF
79385 /* end confdefs.h. */
79386 #include <math.h>
79388 main ()
79390 modfl(0, 0);
79392 return 0;
79394 _ACEOF
79395 rm -f conftest.$ac_objext
79396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79397 (eval $ac_compile) 2>conftest.er1
79398 ac_status=$?
79399 grep -v '^ *+' conftest.er1 >conftest.err
79400 rm -f conftest.er1
79401 cat conftest.err >&5
79402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79403 (exit $ac_status); } &&
79404 { ac_try='test -z "$ac_cxx_werror_flag"
79405 || test ! -s conftest.err'
79406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79407 (eval $ac_try) 2>&5
79408 ac_status=$?
79409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79410 (exit $ac_status); }; } &&
79411 { ac_try='test -s conftest.$ac_objext'
79412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79413 (eval $ac_try) 2>&5
79414 ac_status=$?
79415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79416 (exit $ac_status); }; }; then
79417 glibcxx_cv_func_modfl_use=yes
79418 else
79419 echo "$as_me: failed program was:" >&5
79420 sed 's/^/| /' conftest.$ac_ext >&5
79422 glibcxx_cv_func_modfl_use=no
79424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79425 ac_ext=c
79426 ac_cpp='$CPP $CPPFLAGS'
79427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79435 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
79436 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
79438 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
79440 for ac_func in modfl
79442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79443 echo "$as_me:$LINENO: checking for $ac_func" >&5
79444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79445 if eval "test \"\${$as_ac_var+set}\" = set"; then
79446 echo $ECHO_N "(cached) $ECHO_C" >&6
79447 else
79448 if test x$gcc_no_link = xyes; then
79449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79451 { (exit 1); exit 1; }; }
79453 cat >conftest.$ac_ext <<_ACEOF
79454 /* confdefs.h. */
79455 _ACEOF
79456 cat confdefs.h >>conftest.$ac_ext
79457 cat >>conftest.$ac_ext <<_ACEOF
79458 /* end confdefs.h. */
79459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79461 #define $ac_func innocuous_$ac_func
79463 /* System header to define __stub macros and hopefully few prototypes,
79464 which can conflict with char $ac_func (); below.
79465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79466 <limits.h> exists even on freestanding compilers. */
79468 #ifdef __STDC__
79469 # include <limits.h>
79470 #else
79471 # include <assert.h>
79472 #endif
79474 #undef $ac_func
79476 /* Override any gcc2 internal prototype to avoid an error. */
79477 #ifdef __cplusplus
79478 extern "C"
79480 #endif
79481 /* We use char because int might match the return type of a gcc2
79482 builtin and then its argument prototype would still apply. */
79483 char $ac_func ();
79484 /* The GNU C library defines this for functions which it implements
79485 to always fail with ENOSYS. Some functions are actually named
79486 something starting with __ and the normal name is an alias. */
79487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79488 choke me
79489 #else
79490 char (*f) () = $ac_func;
79491 #endif
79492 #ifdef __cplusplus
79494 #endif
79497 main ()
79499 return f != $ac_func;
79501 return 0;
79503 _ACEOF
79504 rm -f conftest.$ac_objext conftest$ac_exeext
79505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79506 (eval $ac_link) 2>conftest.er1
79507 ac_status=$?
79508 grep -v '^ *+' conftest.er1 >conftest.err
79509 rm -f conftest.er1
79510 cat conftest.err >&5
79511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79512 (exit $ac_status); } &&
79513 { ac_try='test -z "$ac_c_werror_flag"
79514 || test ! -s conftest.err'
79515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79516 (eval $ac_try) 2>&5
79517 ac_status=$?
79518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79519 (exit $ac_status); }; } &&
79520 { ac_try='test -s conftest$ac_exeext'
79521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79522 (eval $ac_try) 2>&5
79523 ac_status=$?
79524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79525 (exit $ac_status); }; }; then
79526 eval "$as_ac_var=yes"
79527 else
79528 echo "$as_me: failed program was:" >&5
79529 sed 's/^/| /' conftest.$ac_ext >&5
79531 eval "$as_ac_var=no"
79533 rm -f conftest.err conftest.$ac_objext \
79534 conftest$ac_exeext conftest.$ac_ext
79536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79538 if test `eval echo '${'$as_ac_var'}'` = yes; then
79539 cat >>confdefs.h <<_ACEOF
79540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79541 _ACEOF
79544 done
79546 else
79548 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
79549 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
79550 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
79551 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
79552 echo $ECHO_N "(cached) $ECHO_C" >&6
79553 else
79557 ac_ext=cc
79558 ac_cpp='$CXXCPP $CPPFLAGS'
79559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79563 cat >conftest.$ac_ext <<_ACEOF
79564 /* confdefs.h. */
79565 _ACEOF
79566 cat confdefs.h >>conftest.$ac_ext
79567 cat >>conftest.$ac_ext <<_ACEOF
79568 /* end confdefs.h. */
79569 #include <math.h>
79571 main ()
79573 _modfl(0, 0);
79575 return 0;
79577 _ACEOF
79578 rm -f conftest.$ac_objext
79579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79580 (eval $ac_compile) 2>conftest.er1
79581 ac_status=$?
79582 grep -v '^ *+' conftest.er1 >conftest.err
79583 rm -f conftest.er1
79584 cat conftest.err >&5
79585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79586 (exit $ac_status); } &&
79587 { ac_try='test -z "$ac_cxx_werror_flag"
79588 || test ! -s conftest.err'
79589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79590 (eval $ac_try) 2>&5
79591 ac_status=$?
79592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79593 (exit $ac_status); }; } &&
79594 { ac_try='test -s conftest.$ac_objext'
79595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79596 (eval $ac_try) 2>&5
79597 ac_status=$?
79598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79599 (exit $ac_status); }; }; then
79600 glibcxx_cv_func__modfl_use=yes
79601 else
79602 echo "$as_me: failed program was:" >&5
79603 sed 's/^/| /' conftest.$ac_ext >&5
79605 glibcxx_cv_func__modfl_use=no
79607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79608 ac_ext=c
79609 ac_cpp='$CPP $CPPFLAGS'
79610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79618 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
79619 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
79621 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
79623 for ac_func in _modfl
79625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79626 echo "$as_me:$LINENO: checking for $ac_func" >&5
79627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79628 if eval "test \"\${$as_ac_var+set}\" = set"; then
79629 echo $ECHO_N "(cached) $ECHO_C" >&6
79630 else
79631 if test x$gcc_no_link = xyes; then
79632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79634 { (exit 1); exit 1; }; }
79636 cat >conftest.$ac_ext <<_ACEOF
79637 /* confdefs.h. */
79638 _ACEOF
79639 cat confdefs.h >>conftest.$ac_ext
79640 cat >>conftest.$ac_ext <<_ACEOF
79641 /* end confdefs.h. */
79642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79644 #define $ac_func innocuous_$ac_func
79646 /* System header to define __stub macros and hopefully few prototypes,
79647 which can conflict with char $ac_func (); below.
79648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79649 <limits.h> exists even on freestanding compilers. */
79651 #ifdef __STDC__
79652 # include <limits.h>
79653 #else
79654 # include <assert.h>
79655 #endif
79657 #undef $ac_func
79659 /* Override any gcc2 internal prototype to avoid an error. */
79660 #ifdef __cplusplus
79661 extern "C"
79663 #endif
79664 /* We use char because int might match the return type of a gcc2
79665 builtin and then its argument prototype would still apply. */
79666 char $ac_func ();
79667 /* The GNU C library defines this for functions which it implements
79668 to always fail with ENOSYS. Some functions are actually named
79669 something starting with __ and the normal name is an alias. */
79670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79671 choke me
79672 #else
79673 char (*f) () = $ac_func;
79674 #endif
79675 #ifdef __cplusplus
79677 #endif
79680 main ()
79682 return f != $ac_func;
79684 return 0;
79686 _ACEOF
79687 rm -f conftest.$ac_objext conftest$ac_exeext
79688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79689 (eval $ac_link) 2>conftest.er1
79690 ac_status=$?
79691 grep -v '^ *+' conftest.er1 >conftest.err
79692 rm -f conftest.er1
79693 cat conftest.err >&5
79694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79695 (exit $ac_status); } &&
79696 { ac_try='test -z "$ac_c_werror_flag"
79697 || test ! -s conftest.err'
79698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79699 (eval $ac_try) 2>&5
79700 ac_status=$?
79701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79702 (exit $ac_status); }; } &&
79703 { ac_try='test -s conftest$ac_exeext'
79704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79705 (eval $ac_try) 2>&5
79706 ac_status=$?
79707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79708 (exit $ac_status); }; }; then
79709 eval "$as_ac_var=yes"
79710 else
79711 echo "$as_me: failed program was:" >&5
79712 sed 's/^/| /' conftest.$ac_ext >&5
79714 eval "$as_ac_var=no"
79716 rm -f conftest.err conftest.$ac_objext \
79717 conftest$ac_exeext conftest.$ac_ext
79719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79721 if test `eval echo '${'$as_ac_var'}'` = yes; then
79722 cat >>confdefs.h <<_ACEOF
79723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79724 _ACEOF
79727 done
79737 echo "$as_me:$LINENO: checking for powl declaration" >&5
79738 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
79739 if test x${glibcxx_cv_func_powl_use+set} != xset; then
79740 if test "${glibcxx_cv_func_powl_use+set}" = set; then
79741 echo $ECHO_N "(cached) $ECHO_C" >&6
79742 else
79746 ac_ext=cc
79747 ac_cpp='$CXXCPP $CPPFLAGS'
79748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79752 cat >conftest.$ac_ext <<_ACEOF
79753 /* confdefs.h. */
79754 _ACEOF
79755 cat confdefs.h >>conftest.$ac_ext
79756 cat >>conftest.$ac_ext <<_ACEOF
79757 /* end confdefs.h. */
79758 #include <math.h>
79760 main ()
79762 powl(0, 0);
79764 return 0;
79766 _ACEOF
79767 rm -f conftest.$ac_objext
79768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79769 (eval $ac_compile) 2>conftest.er1
79770 ac_status=$?
79771 grep -v '^ *+' conftest.er1 >conftest.err
79772 rm -f conftest.er1
79773 cat conftest.err >&5
79774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79775 (exit $ac_status); } &&
79776 { ac_try='test -z "$ac_cxx_werror_flag"
79777 || test ! -s conftest.err'
79778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79779 (eval $ac_try) 2>&5
79780 ac_status=$?
79781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79782 (exit $ac_status); }; } &&
79783 { ac_try='test -s conftest.$ac_objext'
79784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79785 (eval $ac_try) 2>&5
79786 ac_status=$?
79787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79788 (exit $ac_status); }; }; then
79789 glibcxx_cv_func_powl_use=yes
79790 else
79791 echo "$as_me: failed program was:" >&5
79792 sed 's/^/| /' conftest.$ac_ext >&5
79794 glibcxx_cv_func_powl_use=no
79796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79797 ac_ext=c
79798 ac_cpp='$CPP $CPPFLAGS'
79799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79807 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
79808 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
79810 if test x$glibcxx_cv_func_powl_use = x"yes"; then
79812 for ac_func in powl
79814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79815 echo "$as_me:$LINENO: checking for $ac_func" >&5
79816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79817 if eval "test \"\${$as_ac_var+set}\" = set"; then
79818 echo $ECHO_N "(cached) $ECHO_C" >&6
79819 else
79820 if test x$gcc_no_link = xyes; then
79821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79823 { (exit 1); exit 1; }; }
79825 cat >conftest.$ac_ext <<_ACEOF
79826 /* confdefs.h. */
79827 _ACEOF
79828 cat confdefs.h >>conftest.$ac_ext
79829 cat >>conftest.$ac_ext <<_ACEOF
79830 /* end confdefs.h. */
79831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79833 #define $ac_func innocuous_$ac_func
79835 /* System header to define __stub macros and hopefully few prototypes,
79836 which can conflict with char $ac_func (); below.
79837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79838 <limits.h> exists even on freestanding compilers. */
79840 #ifdef __STDC__
79841 # include <limits.h>
79842 #else
79843 # include <assert.h>
79844 #endif
79846 #undef $ac_func
79848 /* Override any gcc2 internal prototype to avoid an error. */
79849 #ifdef __cplusplus
79850 extern "C"
79852 #endif
79853 /* We use char because int might match the return type of a gcc2
79854 builtin and then its argument prototype would still apply. */
79855 char $ac_func ();
79856 /* The GNU C library defines this for functions which it implements
79857 to always fail with ENOSYS. Some functions are actually named
79858 something starting with __ and the normal name is an alias. */
79859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79860 choke me
79861 #else
79862 char (*f) () = $ac_func;
79863 #endif
79864 #ifdef __cplusplus
79866 #endif
79869 main ()
79871 return f != $ac_func;
79873 return 0;
79875 _ACEOF
79876 rm -f conftest.$ac_objext conftest$ac_exeext
79877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79878 (eval $ac_link) 2>conftest.er1
79879 ac_status=$?
79880 grep -v '^ *+' conftest.er1 >conftest.err
79881 rm -f conftest.er1
79882 cat conftest.err >&5
79883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79884 (exit $ac_status); } &&
79885 { ac_try='test -z "$ac_c_werror_flag"
79886 || test ! -s conftest.err'
79887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79888 (eval $ac_try) 2>&5
79889 ac_status=$?
79890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79891 (exit $ac_status); }; } &&
79892 { ac_try='test -s conftest$ac_exeext'
79893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79894 (eval $ac_try) 2>&5
79895 ac_status=$?
79896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79897 (exit $ac_status); }; }; then
79898 eval "$as_ac_var=yes"
79899 else
79900 echo "$as_me: failed program was:" >&5
79901 sed 's/^/| /' conftest.$ac_ext >&5
79903 eval "$as_ac_var=no"
79905 rm -f conftest.err conftest.$ac_objext \
79906 conftest$ac_exeext conftest.$ac_ext
79908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79910 if test `eval echo '${'$as_ac_var'}'` = yes; then
79911 cat >>confdefs.h <<_ACEOF
79912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79913 _ACEOF
79916 done
79918 else
79920 echo "$as_me:$LINENO: checking for _powl declaration" >&5
79921 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
79922 if test x${glibcxx_cv_func__powl_use+set} != xset; then
79923 if test "${glibcxx_cv_func__powl_use+set}" = set; then
79924 echo $ECHO_N "(cached) $ECHO_C" >&6
79925 else
79929 ac_ext=cc
79930 ac_cpp='$CXXCPP $CPPFLAGS'
79931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79935 cat >conftest.$ac_ext <<_ACEOF
79936 /* confdefs.h. */
79937 _ACEOF
79938 cat confdefs.h >>conftest.$ac_ext
79939 cat >>conftest.$ac_ext <<_ACEOF
79940 /* end confdefs.h. */
79941 #include <math.h>
79943 main ()
79945 _powl(0, 0);
79947 return 0;
79949 _ACEOF
79950 rm -f conftest.$ac_objext
79951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79952 (eval $ac_compile) 2>conftest.er1
79953 ac_status=$?
79954 grep -v '^ *+' conftest.er1 >conftest.err
79955 rm -f conftest.er1
79956 cat conftest.err >&5
79957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79958 (exit $ac_status); } &&
79959 { ac_try='test -z "$ac_cxx_werror_flag"
79960 || test ! -s conftest.err'
79961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79962 (eval $ac_try) 2>&5
79963 ac_status=$?
79964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79965 (exit $ac_status); }; } &&
79966 { ac_try='test -s conftest.$ac_objext'
79967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79968 (eval $ac_try) 2>&5
79969 ac_status=$?
79970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79971 (exit $ac_status); }; }; then
79972 glibcxx_cv_func__powl_use=yes
79973 else
79974 echo "$as_me: failed program was:" >&5
79975 sed 's/^/| /' conftest.$ac_ext >&5
79977 glibcxx_cv_func__powl_use=no
79979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79980 ac_ext=c
79981 ac_cpp='$CPP $CPPFLAGS'
79982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79990 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
79991 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
79993 if test x$glibcxx_cv_func__powl_use = x"yes"; then
79995 for ac_func in _powl
79997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79998 echo "$as_me:$LINENO: checking for $ac_func" >&5
79999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80000 if eval "test \"\${$as_ac_var+set}\" = set"; then
80001 echo $ECHO_N "(cached) $ECHO_C" >&6
80002 else
80003 if test x$gcc_no_link = xyes; then
80004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80006 { (exit 1); exit 1; }; }
80008 cat >conftest.$ac_ext <<_ACEOF
80009 /* confdefs.h. */
80010 _ACEOF
80011 cat confdefs.h >>conftest.$ac_ext
80012 cat >>conftest.$ac_ext <<_ACEOF
80013 /* end confdefs.h. */
80014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80016 #define $ac_func innocuous_$ac_func
80018 /* System header to define __stub macros and hopefully few prototypes,
80019 which can conflict with char $ac_func (); below.
80020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80021 <limits.h> exists even on freestanding compilers. */
80023 #ifdef __STDC__
80024 # include <limits.h>
80025 #else
80026 # include <assert.h>
80027 #endif
80029 #undef $ac_func
80031 /* Override any gcc2 internal prototype to avoid an error. */
80032 #ifdef __cplusplus
80033 extern "C"
80035 #endif
80036 /* We use char because int might match the return type of a gcc2
80037 builtin and then its argument prototype would still apply. */
80038 char $ac_func ();
80039 /* The GNU C library defines this for functions which it implements
80040 to always fail with ENOSYS. Some functions are actually named
80041 something starting with __ and the normal name is an alias. */
80042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80043 choke me
80044 #else
80045 char (*f) () = $ac_func;
80046 #endif
80047 #ifdef __cplusplus
80049 #endif
80052 main ()
80054 return f != $ac_func;
80056 return 0;
80058 _ACEOF
80059 rm -f conftest.$ac_objext conftest$ac_exeext
80060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80061 (eval $ac_link) 2>conftest.er1
80062 ac_status=$?
80063 grep -v '^ *+' conftest.er1 >conftest.err
80064 rm -f conftest.er1
80065 cat conftest.err >&5
80066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80067 (exit $ac_status); } &&
80068 { ac_try='test -z "$ac_c_werror_flag"
80069 || test ! -s conftest.err'
80070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80071 (eval $ac_try) 2>&5
80072 ac_status=$?
80073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80074 (exit $ac_status); }; } &&
80075 { ac_try='test -s conftest$ac_exeext'
80076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80077 (eval $ac_try) 2>&5
80078 ac_status=$?
80079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80080 (exit $ac_status); }; }; then
80081 eval "$as_ac_var=yes"
80082 else
80083 echo "$as_me: failed program was:" >&5
80084 sed 's/^/| /' conftest.$ac_ext >&5
80086 eval "$as_ac_var=no"
80088 rm -f conftest.err conftest.$ac_objext \
80089 conftest$ac_exeext conftest.$ac_ext
80091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80093 if test `eval echo '${'$as_ac_var'}'` = yes; then
80094 cat >>confdefs.h <<_ACEOF
80095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80096 _ACEOF
80099 done
80109 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
80110 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
80111 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
80112 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
80113 echo $ECHO_N "(cached) $ECHO_C" >&6
80114 else
80118 ac_ext=cc
80119 ac_cpp='$CXXCPP $CPPFLAGS'
80120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80124 cat >conftest.$ac_ext <<_ACEOF
80125 /* confdefs.h. */
80126 _ACEOF
80127 cat confdefs.h >>conftest.$ac_ext
80128 cat >>conftest.$ac_ext <<_ACEOF
80129 /* end confdefs.h. */
80130 #include <math.h>
80131 #ifdef HAVE_IEEEFP_H
80132 #include <ieeefp.h>
80133 #endif
80136 main ()
80138 sqrtl(0);
80140 return 0;
80142 _ACEOF
80143 rm -f conftest.$ac_objext
80144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80145 (eval $ac_compile) 2>conftest.er1
80146 ac_status=$?
80147 grep -v '^ *+' conftest.er1 >conftest.err
80148 rm -f conftest.er1
80149 cat conftest.err >&5
80150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80151 (exit $ac_status); } &&
80152 { ac_try='test -z "$ac_cxx_werror_flag"
80153 || test ! -s conftest.err'
80154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80155 (eval $ac_try) 2>&5
80156 ac_status=$?
80157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80158 (exit $ac_status); }; } &&
80159 { ac_try='test -s conftest.$ac_objext'
80160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80161 (eval $ac_try) 2>&5
80162 ac_status=$?
80163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80164 (exit $ac_status); }; }; then
80165 glibcxx_cv_func_sqrtl_use=yes
80166 else
80167 echo "$as_me: failed program was:" >&5
80168 sed 's/^/| /' conftest.$ac_ext >&5
80170 glibcxx_cv_func_sqrtl_use=no
80172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80173 ac_ext=c
80174 ac_cpp='$CPP $CPPFLAGS'
80175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80183 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
80184 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
80186 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
80188 for ac_func in sqrtl
80190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80191 echo "$as_me:$LINENO: checking for $ac_func" >&5
80192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80193 if eval "test \"\${$as_ac_var+set}\" = set"; then
80194 echo $ECHO_N "(cached) $ECHO_C" >&6
80195 else
80196 if test x$gcc_no_link = xyes; then
80197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80199 { (exit 1); exit 1; }; }
80201 cat >conftest.$ac_ext <<_ACEOF
80202 /* confdefs.h. */
80203 _ACEOF
80204 cat confdefs.h >>conftest.$ac_ext
80205 cat >>conftest.$ac_ext <<_ACEOF
80206 /* end confdefs.h. */
80207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80209 #define $ac_func innocuous_$ac_func
80211 /* System header to define __stub macros and hopefully few prototypes,
80212 which can conflict with char $ac_func (); below.
80213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80214 <limits.h> exists even on freestanding compilers. */
80216 #ifdef __STDC__
80217 # include <limits.h>
80218 #else
80219 # include <assert.h>
80220 #endif
80222 #undef $ac_func
80224 /* Override any gcc2 internal prototype to avoid an error. */
80225 #ifdef __cplusplus
80226 extern "C"
80228 #endif
80229 /* We use char because int might match the return type of a gcc2
80230 builtin and then its argument prototype would still apply. */
80231 char $ac_func ();
80232 /* The GNU C library defines this for functions which it implements
80233 to always fail with ENOSYS. Some functions are actually named
80234 something starting with __ and the normal name is an alias. */
80235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80236 choke me
80237 #else
80238 char (*f) () = $ac_func;
80239 #endif
80240 #ifdef __cplusplus
80242 #endif
80245 main ()
80247 return f != $ac_func;
80249 return 0;
80251 _ACEOF
80252 rm -f conftest.$ac_objext conftest$ac_exeext
80253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80254 (eval $ac_link) 2>conftest.er1
80255 ac_status=$?
80256 grep -v '^ *+' conftest.er1 >conftest.err
80257 rm -f conftest.er1
80258 cat conftest.err >&5
80259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80260 (exit $ac_status); } &&
80261 { ac_try='test -z "$ac_c_werror_flag"
80262 || test ! -s conftest.err'
80263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80264 (eval $ac_try) 2>&5
80265 ac_status=$?
80266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80267 (exit $ac_status); }; } &&
80268 { ac_try='test -s conftest$ac_exeext'
80269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80270 (eval $ac_try) 2>&5
80271 ac_status=$?
80272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80273 (exit $ac_status); }; }; then
80274 eval "$as_ac_var=yes"
80275 else
80276 echo "$as_me: failed program was:" >&5
80277 sed 's/^/| /' conftest.$ac_ext >&5
80279 eval "$as_ac_var=no"
80281 rm -f conftest.err conftest.$ac_objext \
80282 conftest$ac_exeext conftest.$ac_ext
80284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80286 if test `eval echo '${'$as_ac_var'}'` = yes; then
80287 cat >>confdefs.h <<_ACEOF
80288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80289 _ACEOF
80292 done
80294 else
80296 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
80297 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
80298 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
80299 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
80300 echo $ECHO_N "(cached) $ECHO_C" >&6
80301 else
80305 ac_ext=cc
80306 ac_cpp='$CXXCPP $CPPFLAGS'
80307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80311 cat >conftest.$ac_ext <<_ACEOF
80312 /* confdefs.h. */
80313 _ACEOF
80314 cat confdefs.h >>conftest.$ac_ext
80315 cat >>conftest.$ac_ext <<_ACEOF
80316 /* end confdefs.h. */
80317 #include <math.h>
80318 #ifdef HAVE_IEEEFP_H
80319 #include <ieeefp.h>
80320 #endif
80323 main ()
80325 _sqrtl(0);
80327 return 0;
80329 _ACEOF
80330 rm -f conftest.$ac_objext
80331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80332 (eval $ac_compile) 2>conftest.er1
80333 ac_status=$?
80334 grep -v '^ *+' conftest.er1 >conftest.err
80335 rm -f conftest.er1
80336 cat conftest.err >&5
80337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80338 (exit $ac_status); } &&
80339 { ac_try='test -z "$ac_cxx_werror_flag"
80340 || test ! -s conftest.err'
80341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80342 (eval $ac_try) 2>&5
80343 ac_status=$?
80344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80345 (exit $ac_status); }; } &&
80346 { ac_try='test -s conftest.$ac_objext'
80347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80348 (eval $ac_try) 2>&5
80349 ac_status=$?
80350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80351 (exit $ac_status); }; }; then
80352 glibcxx_cv_func__sqrtl_use=yes
80353 else
80354 echo "$as_me: failed program was:" >&5
80355 sed 's/^/| /' conftest.$ac_ext >&5
80357 glibcxx_cv_func__sqrtl_use=no
80359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80360 ac_ext=c
80361 ac_cpp='$CPP $CPPFLAGS'
80362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80370 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
80371 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
80373 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
80375 for ac_func in _sqrtl
80377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80378 echo "$as_me:$LINENO: checking for $ac_func" >&5
80379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80380 if eval "test \"\${$as_ac_var+set}\" = set"; then
80381 echo $ECHO_N "(cached) $ECHO_C" >&6
80382 else
80383 if test x$gcc_no_link = xyes; then
80384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80386 { (exit 1); exit 1; }; }
80388 cat >conftest.$ac_ext <<_ACEOF
80389 /* confdefs.h. */
80390 _ACEOF
80391 cat confdefs.h >>conftest.$ac_ext
80392 cat >>conftest.$ac_ext <<_ACEOF
80393 /* end confdefs.h. */
80394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80396 #define $ac_func innocuous_$ac_func
80398 /* System header to define __stub macros and hopefully few prototypes,
80399 which can conflict with char $ac_func (); below.
80400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80401 <limits.h> exists even on freestanding compilers. */
80403 #ifdef __STDC__
80404 # include <limits.h>
80405 #else
80406 # include <assert.h>
80407 #endif
80409 #undef $ac_func
80411 /* Override any gcc2 internal prototype to avoid an error. */
80412 #ifdef __cplusplus
80413 extern "C"
80415 #endif
80416 /* We use char because int might match the return type of a gcc2
80417 builtin and then its argument prototype would still apply. */
80418 char $ac_func ();
80419 /* The GNU C library defines this for functions which it implements
80420 to always fail with ENOSYS. Some functions are actually named
80421 something starting with __ and the normal name is an alias. */
80422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80423 choke me
80424 #else
80425 char (*f) () = $ac_func;
80426 #endif
80427 #ifdef __cplusplus
80429 #endif
80432 main ()
80434 return f != $ac_func;
80436 return 0;
80438 _ACEOF
80439 rm -f conftest.$ac_objext conftest$ac_exeext
80440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80441 (eval $ac_link) 2>conftest.er1
80442 ac_status=$?
80443 grep -v '^ *+' conftest.er1 >conftest.err
80444 rm -f conftest.er1
80445 cat conftest.err >&5
80446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80447 (exit $ac_status); } &&
80448 { ac_try='test -z "$ac_c_werror_flag"
80449 || test ! -s conftest.err'
80450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80451 (eval $ac_try) 2>&5
80452 ac_status=$?
80453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80454 (exit $ac_status); }; } &&
80455 { ac_try='test -s conftest$ac_exeext'
80456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80457 (eval $ac_try) 2>&5
80458 ac_status=$?
80459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80460 (exit $ac_status); }; }; then
80461 eval "$as_ac_var=yes"
80462 else
80463 echo "$as_me: failed program was:" >&5
80464 sed 's/^/| /' conftest.$ac_ext >&5
80466 eval "$as_ac_var=no"
80468 rm -f conftest.err conftest.$ac_objext \
80469 conftest$ac_exeext conftest.$ac_ext
80471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80473 if test `eval echo '${'$as_ac_var'}'` = yes; then
80474 cat >>confdefs.h <<_ACEOF
80475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80476 _ACEOF
80479 done
80489 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
80490 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
80491 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
80492 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
80493 echo $ECHO_N "(cached) $ECHO_C" >&6
80494 else
80498 ac_ext=cc
80499 ac_cpp='$CXXCPP $CPPFLAGS'
80500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80504 cat >conftest.$ac_ext <<_ACEOF
80505 /* confdefs.h. */
80506 _ACEOF
80507 cat confdefs.h >>conftest.$ac_ext
80508 cat >>conftest.$ac_ext <<_ACEOF
80509 /* end confdefs.h. */
80510 #include <math.h>
80512 main ()
80514 sincosl(0, 0, 0);
80516 return 0;
80518 _ACEOF
80519 rm -f conftest.$ac_objext
80520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80521 (eval $ac_compile) 2>conftest.er1
80522 ac_status=$?
80523 grep -v '^ *+' conftest.er1 >conftest.err
80524 rm -f conftest.er1
80525 cat conftest.err >&5
80526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80527 (exit $ac_status); } &&
80528 { ac_try='test -z "$ac_cxx_werror_flag"
80529 || test ! -s conftest.err'
80530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80531 (eval $ac_try) 2>&5
80532 ac_status=$?
80533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80534 (exit $ac_status); }; } &&
80535 { ac_try='test -s conftest.$ac_objext'
80536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80537 (eval $ac_try) 2>&5
80538 ac_status=$?
80539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80540 (exit $ac_status); }; }; then
80541 glibcxx_cv_func_sincosl_use=yes
80542 else
80543 echo "$as_me: failed program was:" >&5
80544 sed 's/^/| /' conftest.$ac_ext >&5
80546 glibcxx_cv_func_sincosl_use=no
80548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80549 ac_ext=c
80550 ac_cpp='$CPP $CPPFLAGS'
80551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80559 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
80560 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
80562 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
80564 for ac_func in sincosl
80566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80567 echo "$as_me:$LINENO: checking for $ac_func" >&5
80568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80569 if eval "test \"\${$as_ac_var+set}\" = set"; then
80570 echo $ECHO_N "(cached) $ECHO_C" >&6
80571 else
80572 if test x$gcc_no_link = xyes; then
80573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80575 { (exit 1); exit 1; }; }
80577 cat >conftest.$ac_ext <<_ACEOF
80578 /* confdefs.h. */
80579 _ACEOF
80580 cat confdefs.h >>conftest.$ac_ext
80581 cat >>conftest.$ac_ext <<_ACEOF
80582 /* end confdefs.h. */
80583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80585 #define $ac_func innocuous_$ac_func
80587 /* System header to define __stub macros and hopefully few prototypes,
80588 which can conflict with char $ac_func (); below.
80589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80590 <limits.h> exists even on freestanding compilers. */
80592 #ifdef __STDC__
80593 # include <limits.h>
80594 #else
80595 # include <assert.h>
80596 #endif
80598 #undef $ac_func
80600 /* Override any gcc2 internal prototype to avoid an error. */
80601 #ifdef __cplusplus
80602 extern "C"
80604 #endif
80605 /* We use char because int might match the return type of a gcc2
80606 builtin and then its argument prototype would still apply. */
80607 char $ac_func ();
80608 /* The GNU C library defines this for functions which it implements
80609 to always fail with ENOSYS. Some functions are actually named
80610 something starting with __ and the normal name is an alias. */
80611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80612 choke me
80613 #else
80614 char (*f) () = $ac_func;
80615 #endif
80616 #ifdef __cplusplus
80618 #endif
80621 main ()
80623 return f != $ac_func;
80625 return 0;
80627 _ACEOF
80628 rm -f conftest.$ac_objext conftest$ac_exeext
80629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80630 (eval $ac_link) 2>conftest.er1
80631 ac_status=$?
80632 grep -v '^ *+' conftest.er1 >conftest.err
80633 rm -f conftest.er1
80634 cat conftest.err >&5
80635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80636 (exit $ac_status); } &&
80637 { ac_try='test -z "$ac_c_werror_flag"
80638 || test ! -s conftest.err'
80639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80640 (eval $ac_try) 2>&5
80641 ac_status=$?
80642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80643 (exit $ac_status); }; } &&
80644 { ac_try='test -s conftest$ac_exeext'
80645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80646 (eval $ac_try) 2>&5
80647 ac_status=$?
80648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80649 (exit $ac_status); }; }; then
80650 eval "$as_ac_var=yes"
80651 else
80652 echo "$as_me: failed program was:" >&5
80653 sed 's/^/| /' conftest.$ac_ext >&5
80655 eval "$as_ac_var=no"
80657 rm -f conftest.err conftest.$ac_objext \
80658 conftest$ac_exeext conftest.$ac_ext
80660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80662 if test `eval echo '${'$as_ac_var'}'` = yes; then
80663 cat >>confdefs.h <<_ACEOF
80664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80665 _ACEOF
80668 done
80670 else
80672 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
80673 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
80674 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
80675 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
80676 echo $ECHO_N "(cached) $ECHO_C" >&6
80677 else
80681 ac_ext=cc
80682 ac_cpp='$CXXCPP $CPPFLAGS'
80683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80687 cat >conftest.$ac_ext <<_ACEOF
80688 /* confdefs.h. */
80689 _ACEOF
80690 cat confdefs.h >>conftest.$ac_ext
80691 cat >>conftest.$ac_ext <<_ACEOF
80692 /* end confdefs.h. */
80693 #include <math.h>
80695 main ()
80697 _sincosl(0, 0, 0);
80699 return 0;
80701 _ACEOF
80702 rm -f conftest.$ac_objext
80703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80704 (eval $ac_compile) 2>conftest.er1
80705 ac_status=$?
80706 grep -v '^ *+' conftest.er1 >conftest.err
80707 rm -f conftest.er1
80708 cat conftest.err >&5
80709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80710 (exit $ac_status); } &&
80711 { ac_try='test -z "$ac_cxx_werror_flag"
80712 || test ! -s conftest.err'
80713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80714 (eval $ac_try) 2>&5
80715 ac_status=$?
80716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80717 (exit $ac_status); }; } &&
80718 { ac_try='test -s conftest.$ac_objext'
80719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80720 (eval $ac_try) 2>&5
80721 ac_status=$?
80722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80723 (exit $ac_status); }; }; then
80724 glibcxx_cv_func__sincosl_use=yes
80725 else
80726 echo "$as_me: failed program was:" >&5
80727 sed 's/^/| /' conftest.$ac_ext >&5
80729 glibcxx_cv_func__sincosl_use=no
80731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80732 ac_ext=c
80733 ac_cpp='$CPP $CPPFLAGS'
80734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80742 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
80743 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
80745 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
80747 for ac_func in _sincosl
80749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80750 echo "$as_me:$LINENO: checking for $ac_func" >&5
80751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80752 if eval "test \"\${$as_ac_var+set}\" = set"; then
80753 echo $ECHO_N "(cached) $ECHO_C" >&6
80754 else
80755 if test x$gcc_no_link = xyes; then
80756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80758 { (exit 1); exit 1; }; }
80760 cat >conftest.$ac_ext <<_ACEOF
80761 /* confdefs.h. */
80762 _ACEOF
80763 cat confdefs.h >>conftest.$ac_ext
80764 cat >>conftest.$ac_ext <<_ACEOF
80765 /* end confdefs.h. */
80766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80768 #define $ac_func innocuous_$ac_func
80770 /* System header to define __stub macros and hopefully few prototypes,
80771 which can conflict with char $ac_func (); below.
80772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80773 <limits.h> exists even on freestanding compilers. */
80775 #ifdef __STDC__
80776 # include <limits.h>
80777 #else
80778 # include <assert.h>
80779 #endif
80781 #undef $ac_func
80783 /* Override any gcc2 internal prototype to avoid an error. */
80784 #ifdef __cplusplus
80785 extern "C"
80787 #endif
80788 /* We use char because int might match the return type of a gcc2
80789 builtin and then its argument prototype would still apply. */
80790 char $ac_func ();
80791 /* The GNU C library defines this for functions which it implements
80792 to always fail with ENOSYS. Some functions are actually named
80793 something starting with __ and the normal name is an alias. */
80794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80795 choke me
80796 #else
80797 char (*f) () = $ac_func;
80798 #endif
80799 #ifdef __cplusplus
80801 #endif
80804 main ()
80806 return f != $ac_func;
80808 return 0;
80810 _ACEOF
80811 rm -f conftest.$ac_objext conftest$ac_exeext
80812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80813 (eval $ac_link) 2>conftest.er1
80814 ac_status=$?
80815 grep -v '^ *+' conftest.er1 >conftest.err
80816 rm -f conftest.er1
80817 cat conftest.err >&5
80818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80819 (exit $ac_status); } &&
80820 { ac_try='test -z "$ac_c_werror_flag"
80821 || test ! -s conftest.err'
80822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80823 (eval $ac_try) 2>&5
80824 ac_status=$?
80825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80826 (exit $ac_status); }; } &&
80827 { ac_try='test -s conftest$ac_exeext'
80828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80829 (eval $ac_try) 2>&5
80830 ac_status=$?
80831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80832 (exit $ac_status); }; }; then
80833 eval "$as_ac_var=yes"
80834 else
80835 echo "$as_me: failed program was:" >&5
80836 sed 's/^/| /' conftest.$ac_ext >&5
80838 eval "$as_ac_var=no"
80840 rm -f conftest.err conftest.$ac_objext \
80841 conftest$ac_exeext conftest.$ac_ext
80843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80845 if test `eval echo '${'$as_ac_var'}'` = yes; then
80846 cat >>confdefs.h <<_ACEOF
80847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80848 _ACEOF
80851 done
80861 echo "$as_me:$LINENO: checking for finitel declaration" >&5
80862 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
80863 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
80864 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
80865 echo $ECHO_N "(cached) $ECHO_C" >&6
80866 else
80870 ac_ext=cc
80871 ac_cpp='$CXXCPP $CPPFLAGS'
80872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80876 cat >conftest.$ac_ext <<_ACEOF
80877 /* confdefs.h. */
80878 _ACEOF
80879 cat confdefs.h >>conftest.$ac_ext
80880 cat >>conftest.$ac_ext <<_ACEOF
80881 /* end confdefs.h. */
80882 #include <math.h>
80883 #ifdef HAVE_IEEEFP_H
80884 #include <ieeefp.h>
80885 #endif
80888 main ()
80890 finitel(0);
80892 return 0;
80894 _ACEOF
80895 rm -f conftest.$ac_objext
80896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80897 (eval $ac_compile) 2>conftest.er1
80898 ac_status=$?
80899 grep -v '^ *+' conftest.er1 >conftest.err
80900 rm -f conftest.er1
80901 cat conftest.err >&5
80902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80903 (exit $ac_status); } &&
80904 { ac_try='test -z "$ac_cxx_werror_flag"
80905 || test ! -s conftest.err'
80906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80907 (eval $ac_try) 2>&5
80908 ac_status=$?
80909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80910 (exit $ac_status); }; } &&
80911 { ac_try='test -s conftest.$ac_objext'
80912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80913 (eval $ac_try) 2>&5
80914 ac_status=$?
80915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80916 (exit $ac_status); }; }; then
80917 glibcxx_cv_func_finitel_use=yes
80918 else
80919 echo "$as_me: failed program was:" >&5
80920 sed 's/^/| /' conftest.$ac_ext >&5
80922 glibcxx_cv_func_finitel_use=no
80924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80925 ac_ext=c
80926 ac_cpp='$CPP $CPPFLAGS'
80927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80935 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
80936 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
80938 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
80940 for ac_func in finitel
80942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80943 echo "$as_me:$LINENO: checking for $ac_func" >&5
80944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80945 if eval "test \"\${$as_ac_var+set}\" = set"; then
80946 echo $ECHO_N "(cached) $ECHO_C" >&6
80947 else
80948 if test x$gcc_no_link = xyes; then
80949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80951 { (exit 1); exit 1; }; }
80953 cat >conftest.$ac_ext <<_ACEOF
80954 /* confdefs.h. */
80955 _ACEOF
80956 cat confdefs.h >>conftest.$ac_ext
80957 cat >>conftest.$ac_ext <<_ACEOF
80958 /* end confdefs.h. */
80959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80961 #define $ac_func innocuous_$ac_func
80963 /* System header to define __stub macros and hopefully few prototypes,
80964 which can conflict with char $ac_func (); below.
80965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80966 <limits.h> exists even on freestanding compilers. */
80968 #ifdef __STDC__
80969 # include <limits.h>
80970 #else
80971 # include <assert.h>
80972 #endif
80974 #undef $ac_func
80976 /* Override any gcc2 internal prototype to avoid an error. */
80977 #ifdef __cplusplus
80978 extern "C"
80980 #endif
80981 /* We use char because int might match the return type of a gcc2
80982 builtin and then its argument prototype would still apply. */
80983 char $ac_func ();
80984 /* The GNU C library defines this for functions which it implements
80985 to always fail with ENOSYS. Some functions are actually named
80986 something starting with __ and the normal name is an alias. */
80987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80988 choke me
80989 #else
80990 char (*f) () = $ac_func;
80991 #endif
80992 #ifdef __cplusplus
80994 #endif
80997 main ()
80999 return f != $ac_func;
81001 return 0;
81003 _ACEOF
81004 rm -f conftest.$ac_objext conftest$ac_exeext
81005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81006 (eval $ac_link) 2>conftest.er1
81007 ac_status=$?
81008 grep -v '^ *+' conftest.er1 >conftest.err
81009 rm -f conftest.er1
81010 cat conftest.err >&5
81011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81012 (exit $ac_status); } &&
81013 { ac_try='test -z "$ac_c_werror_flag"
81014 || test ! -s conftest.err'
81015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81016 (eval $ac_try) 2>&5
81017 ac_status=$?
81018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81019 (exit $ac_status); }; } &&
81020 { ac_try='test -s conftest$ac_exeext'
81021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81022 (eval $ac_try) 2>&5
81023 ac_status=$?
81024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81025 (exit $ac_status); }; }; then
81026 eval "$as_ac_var=yes"
81027 else
81028 echo "$as_me: failed program was:" >&5
81029 sed 's/^/| /' conftest.$ac_ext >&5
81031 eval "$as_ac_var=no"
81033 rm -f conftest.err conftest.$ac_objext \
81034 conftest$ac_exeext conftest.$ac_ext
81036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81038 if test `eval echo '${'$as_ac_var'}'` = yes; then
81039 cat >>confdefs.h <<_ACEOF
81040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81041 _ACEOF
81044 done
81046 else
81048 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
81049 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
81050 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
81051 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
81052 echo $ECHO_N "(cached) $ECHO_C" >&6
81053 else
81057 ac_ext=cc
81058 ac_cpp='$CXXCPP $CPPFLAGS'
81059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81063 cat >conftest.$ac_ext <<_ACEOF
81064 /* confdefs.h. */
81065 _ACEOF
81066 cat confdefs.h >>conftest.$ac_ext
81067 cat >>conftest.$ac_ext <<_ACEOF
81068 /* end confdefs.h. */
81069 #include <math.h>
81070 #ifdef HAVE_IEEEFP_H
81071 #include <ieeefp.h>
81072 #endif
81075 main ()
81077 _finitel(0);
81079 return 0;
81081 _ACEOF
81082 rm -f conftest.$ac_objext
81083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81084 (eval $ac_compile) 2>conftest.er1
81085 ac_status=$?
81086 grep -v '^ *+' conftest.er1 >conftest.err
81087 rm -f conftest.er1
81088 cat conftest.err >&5
81089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81090 (exit $ac_status); } &&
81091 { ac_try='test -z "$ac_cxx_werror_flag"
81092 || test ! -s conftest.err'
81093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81094 (eval $ac_try) 2>&5
81095 ac_status=$?
81096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81097 (exit $ac_status); }; } &&
81098 { ac_try='test -s conftest.$ac_objext'
81099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81100 (eval $ac_try) 2>&5
81101 ac_status=$?
81102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81103 (exit $ac_status); }; }; then
81104 glibcxx_cv_func__finitel_use=yes
81105 else
81106 echo "$as_me: failed program was:" >&5
81107 sed 's/^/| /' conftest.$ac_ext >&5
81109 glibcxx_cv_func__finitel_use=no
81111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81112 ac_ext=c
81113 ac_cpp='$CPP $CPPFLAGS'
81114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81122 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
81123 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
81125 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
81127 for ac_func in _finitel
81129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81130 echo "$as_me:$LINENO: checking for $ac_func" >&5
81131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81132 if eval "test \"\${$as_ac_var+set}\" = set"; then
81133 echo $ECHO_N "(cached) $ECHO_C" >&6
81134 else
81135 if test x$gcc_no_link = xyes; then
81136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81138 { (exit 1); exit 1; }; }
81140 cat >conftest.$ac_ext <<_ACEOF
81141 /* confdefs.h. */
81142 _ACEOF
81143 cat confdefs.h >>conftest.$ac_ext
81144 cat >>conftest.$ac_ext <<_ACEOF
81145 /* end confdefs.h. */
81146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81148 #define $ac_func innocuous_$ac_func
81150 /* System header to define __stub macros and hopefully few prototypes,
81151 which can conflict with char $ac_func (); below.
81152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81153 <limits.h> exists even on freestanding compilers. */
81155 #ifdef __STDC__
81156 # include <limits.h>
81157 #else
81158 # include <assert.h>
81159 #endif
81161 #undef $ac_func
81163 /* Override any gcc2 internal prototype to avoid an error. */
81164 #ifdef __cplusplus
81165 extern "C"
81167 #endif
81168 /* We use char because int might match the return type of a gcc2
81169 builtin and then its argument prototype would still apply. */
81170 char $ac_func ();
81171 /* The GNU C library defines this for functions which it implements
81172 to always fail with ENOSYS. Some functions are actually named
81173 something starting with __ and the normal name is an alias. */
81174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81175 choke me
81176 #else
81177 char (*f) () = $ac_func;
81178 #endif
81179 #ifdef __cplusplus
81181 #endif
81184 main ()
81186 return f != $ac_func;
81188 return 0;
81190 _ACEOF
81191 rm -f conftest.$ac_objext conftest$ac_exeext
81192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81193 (eval $ac_link) 2>conftest.er1
81194 ac_status=$?
81195 grep -v '^ *+' conftest.er1 >conftest.err
81196 rm -f conftest.er1
81197 cat conftest.err >&5
81198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81199 (exit $ac_status); } &&
81200 { ac_try='test -z "$ac_c_werror_flag"
81201 || test ! -s conftest.err'
81202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81203 (eval $ac_try) 2>&5
81204 ac_status=$?
81205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81206 (exit $ac_status); }; } &&
81207 { ac_try='test -s conftest$ac_exeext'
81208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81209 (eval $ac_try) 2>&5
81210 ac_status=$?
81211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81212 (exit $ac_status); }; }; then
81213 eval "$as_ac_var=yes"
81214 else
81215 echo "$as_me: failed program was:" >&5
81216 sed 's/^/| /' conftest.$ac_ext >&5
81218 eval "$as_ac_var=no"
81220 rm -f conftest.err conftest.$ac_objext \
81221 conftest$ac_exeext conftest.$ac_ext
81223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81225 if test `eval echo '${'$as_ac_var'}'` = yes; then
81226 cat >>confdefs.h <<_ACEOF
81227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81228 _ACEOF
81231 done
81240 LIBS="$ac_save_LIBS"
81241 CXXFLAGS="$ac_save_CXXFLAGS"
81245 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
81246 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
81247 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
81248 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
81249 echo $ECHO_N "(cached) $ECHO_C" >&6
81250 else
81254 ac_ext=cc
81255 ac_cpp='$CXXCPP $CPPFLAGS'
81256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81260 cat >conftest.$ac_ext <<_ACEOF
81261 /* confdefs.h. */
81262 _ACEOF
81263 cat confdefs.h >>conftest.$ac_ext
81264 cat >>conftest.$ac_ext <<_ACEOF
81265 /* end confdefs.h. */
81266 #include <math.h>
81268 main ()
81270 __builtin_abs(0);
81272 return 0;
81274 _ACEOF
81275 rm -f conftest.$ac_objext
81276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81277 (eval $ac_compile) 2>conftest.er1
81278 ac_status=$?
81279 grep -v '^ *+' conftest.er1 >conftest.err
81280 rm -f conftest.er1
81281 cat conftest.err >&5
81282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81283 (exit $ac_status); } &&
81284 { ac_try='test -z "$ac_cxx_werror_flag"
81285 || test ! -s conftest.err'
81286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81287 (eval $ac_try) 2>&5
81288 ac_status=$?
81289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81290 (exit $ac_status); }; } &&
81291 { ac_try='test -s conftest.$ac_objext'
81292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81293 (eval $ac_try) 2>&5
81294 ac_status=$?
81295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81296 (exit $ac_status); }; }; then
81297 glibcxx_cv_func___builtin_abs_use=yes
81298 else
81299 echo "$as_me: failed program was:" >&5
81300 sed 's/^/| /' conftest.$ac_ext >&5
81302 glibcxx_cv_func___builtin_abs_use=no
81304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81305 ac_ext=c
81306 ac_cpp='$CPP $CPPFLAGS'
81307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81315 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
81316 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
81317 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
81318 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
81319 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
81320 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
81321 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
81322 echo $ECHO_N "(cached) $ECHO_C" >&6
81323 else
81325 if test x$gcc_no_link = xyes; then
81326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81328 { (exit 1); exit 1; }; }
81330 cat >conftest.$ac_ext <<_ACEOF
81331 /* confdefs.h. */
81332 _ACEOF
81333 cat confdefs.h >>conftest.$ac_ext
81334 cat >>conftest.$ac_ext <<_ACEOF
81335 /* end confdefs.h. */
81336 #include <math.h>
81338 main ()
81340 __builtin_abs(0);
81342 return 0;
81344 _ACEOF
81345 rm -f conftest.$ac_objext conftest$ac_exeext
81346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81347 (eval $ac_link) 2>conftest.er1
81348 ac_status=$?
81349 grep -v '^ *+' conftest.er1 >conftest.err
81350 rm -f conftest.er1
81351 cat conftest.err >&5
81352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81353 (exit $ac_status); } &&
81354 { ac_try='test -z "$ac_c_werror_flag"
81355 || test ! -s conftest.err'
81356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81357 (eval $ac_try) 2>&5
81358 ac_status=$?
81359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81360 (exit $ac_status); }; } &&
81361 { ac_try='test -s conftest$ac_exeext'
81362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81363 (eval $ac_try) 2>&5
81364 ac_status=$?
81365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81366 (exit $ac_status); }; }; then
81367 glibcxx_cv_func___builtin_abs_link=yes
81368 else
81369 echo "$as_me: failed program was:" >&5
81370 sed 's/^/| /' conftest.$ac_ext >&5
81372 glibcxx_cv_func___builtin_abs_link=no
81374 rm -f conftest.err conftest.$ac_objext \
81375 conftest$ac_exeext conftest.$ac_ext
81380 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
81381 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
81383 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
81385 cat >>confdefs.h <<\_ACEOF
81386 #define HAVE___BUILTIN_ABS 1
81387 _ACEOF
81394 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
81395 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
81396 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
81397 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
81398 echo $ECHO_N "(cached) $ECHO_C" >&6
81399 else
81403 ac_ext=cc
81404 ac_cpp='$CXXCPP $CPPFLAGS'
81405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81409 cat >conftest.$ac_ext <<_ACEOF
81410 /* confdefs.h. */
81411 _ACEOF
81412 cat confdefs.h >>conftest.$ac_ext
81413 cat >>conftest.$ac_ext <<_ACEOF
81414 /* end confdefs.h. */
81415 #include <math.h>
81417 main ()
81419 __builtin_fabsf(0);
81421 return 0;
81423 _ACEOF
81424 rm -f conftest.$ac_objext
81425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81426 (eval $ac_compile) 2>conftest.er1
81427 ac_status=$?
81428 grep -v '^ *+' conftest.er1 >conftest.err
81429 rm -f conftest.er1
81430 cat conftest.err >&5
81431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81432 (exit $ac_status); } &&
81433 { ac_try='test -z "$ac_cxx_werror_flag"
81434 || test ! -s conftest.err'
81435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81436 (eval $ac_try) 2>&5
81437 ac_status=$?
81438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81439 (exit $ac_status); }; } &&
81440 { ac_try='test -s conftest.$ac_objext'
81441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81442 (eval $ac_try) 2>&5
81443 ac_status=$?
81444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81445 (exit $ac_status); }; }; then
81446 glibcxx_cv_func___builtin_fabsf_use=yes
81447 else
81448 echo "$as_me: failed program was:" >&5
81449 sed 's/^/| /' conftest.$ac_ext >&5
81451 glibcxx_cv_func___builtin_fabsf_use=no
81453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81454 ac_ext=c
81455 ac_cpp='$CPP $CPPFLAGS'
81456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81464 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
81465 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
81466 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
81467 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
81468 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
81469 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
81470 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
81471 echo $ECHO_N "(cached) $ECHO_C" >&6
81472 else
81474 if test x$gcc_no_link = xyes; then
81475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81477 { (exit 1); exit 1; }; }
81479 cat >conftest.$ac_ext <<_ACEOF
81480 /* confdefs.h. */
81481 _ACEOF
81482 cat confdefs.h >>conftest.$ac_ext
81483 cat >>conftest.$ac_ext <<_ACEOF
81484 /* end confdefs.h. */
81485 #include <math.h>
81487 main ()
81489 __builtin_fabsf(0);
81491 return 0;
81493 _ACEOF
81494 rm -f conftest.$ac_objext conftest$ac_exeext
81495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81496 (eval $ac_link) 2>conftest.er1
81497 ac_status=$?
81498 grep -v '^ *+' conftest.er1 >conftest.err
81499 rm -f conftest.er1
81500 cat conftest.err >&5
81501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81502 (exit $ac_status); } &&
81503 { ac_try='test -z "$ac_c_werror_flag"
81504 || test ! -s conftest.err'
81505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81506 (eval $ac_try) 2>&5
81507 ac_status=$?
81508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81509 (exit $ac_status); }; } &&
81510 { ac_try='test -s conftest$ac_exeext'
81511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81512 (eval $ac_try) 2>&5
81513 ac_status=$?
81514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81515 (exit $ac_status); }; }; then
81516 glibcxx_cv_func___builtin_fabsf_link=yes
81517 else
81518 echo "$as_me: failed program was:" >&5
81519 sed 's/^/| /' conftest.$ac_ext >&5
81521 glibcxx_cv_func___builtin_fabsf_link=no
81523 rm -f conftest.err conftest.$ac_objext \
81524 conftest$ac_exeext conftest.$ac_ext
81529 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
81530 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
81532 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
81534 cat >>confdefs.h <<\_ACEOF
81535 #define HAVE___BUILTIN_FABSF 1
81536 _ACEOF
81543 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
81544 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
81545 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
81546 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
81547 echo $ECHO_N "(cached) $ECHO_C" >&6
81548 else
81552 ac_ext=cc
81553 ac_cpp='$CXXCPP $CPPFLAGS'
81554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81558 cat >conftest.$ac_ext <<_ACEOF
81559 /* confdefs.h. */
81560 _ACEOF
81561 cat confdefs.h >>conftest.$ac_ext
81562 cat >>conftest.$ac_ext <<_ACEOF
81563 /* end confdefs.h. */
81564 #include <math.h>
81566 main ()
81568 __builtin_fabs(0);
81570 return 0;
81572 _ACEOF
81573 rm -f conftest.$ac_objext
81574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81575 (eval $ac_compile) 2>conftest.er1
81576 ac_status=$?
81577 grep -v '^ *+' conftest.er1 >conftest.err
81578 rm -f conftest.er1
81579 cat conftest.err >&5
81580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81581 (exit $ac_status); } &&
81582 { ac_try='test -z "$ac_cxx_werror_flag"
81583 || test ! -s conftest.err'
81584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81585 (eval $ac_try) 2>&5
81586 ac_status=$?
81587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81588 (exit $ac_status); }; } &&
81589 { ac_try='test -s conftest.$ac_objext'
81590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81591 (eval $ac_try) 2>&5
81592 ac_status=$?
81593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81594 (exit $ac_status); }; }; then
81595 glibcxx_cv_func___builtin_fabs_use=yes
81596 else
81597 echo "$as_me: failed program was:" >&5
81598 sed 's/^/| /' conftest.$ac_ext >&5
81600 glibcxx_cv_func___builtin_fabs_use=no
81602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81603 ac_ext=c
81604 ac_cpp='$CPP $CPPFLAGS'
81605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81613 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
81614 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
81615 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
81616 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
81617 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
81618 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
81619 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
81620 echo $ECHO_N "(cached) $ECHO_C" >&6
81621 else
81623 if test x$gcc_no_link = xyes; then
81624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81626 { (exit 1); exit 1; }; }
81628 cat >conftest.$ac_ext <<_ACEOF
81629 /* confdefs.h. */
81630 _ACEOF
81631 cat confdefs.h >>conftest.$ac_ext
81632 cat >>conftest.$ac_ext <<_ACEOF
81633 /* end confdefs.h. */
81634 #include <math.h>
81636 main ()
81638 __builtin_fabs(0);
81640 return 0;
81642 _ACEOF
81643 rm -f conftest.$ac_objext conftest$ac_exeext
81644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81645 (eval $ac_link) 2>conftest.er1
81646 ac_status=$?
81647 grep -v '^ *+' conftest.er1 >conftest.err
81648 rm -f conftest.er1
81649 cat conftest.err >&5
81650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81651 (exit $ac_status); } &&
81652 { ac_try='test -z "$ac_c_werror_flag"
81653 || test ! -s conftest.err'
81654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81655 (eval $ac_try) 2>&5
81656 ac_status=$?
81657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81658 (exit $ac_status); }; } &&
81659 { ac_try='test -s conftest$ac_exeext'
81660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81661 (eval $ac_try) 2>&5
81662 ac_status=$?
81663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81664 (exit $ac_status); }; }; then
81665 glibcxx_cv_func___builtin_fabs_link=yes
81666 else
81667 echo "$as_me: failed program was:" >&5
81668 sed 's/^/| /' conftest.$ac_ext >&5
81670 glibcxx_cv_func___builtin_fabs_link=no
81672 rm -f conftest.err conftest.$ac_objext \
81673 conftest$ac_exeext conftest.$ac_ext
81678 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
81679 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
81681 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
81683 cat >>confdefs.h <<\_ACEOF
81684 #define HAVE___BUILTIN_FABS 1
81685 _ACEOF
81692 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
81693 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
81694 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
81695 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
81696 echo $ECHO_N "(cached) $ECHO_C" >&6
81697 else
81701 ac_ext=cc
81702 ac_cpp='$CXXCPP $CPPFLAGS'
81703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81707 cat >conftest.$ac_ext <<_ACEOF
81708 /* confdefs.h. */
81709 _ACEOF
81710 cat confdefs.h >>conftest.$ac_ext
81711 cat >>conftest.$ac_ext <<_ACEOF
81712 /* end confdefs.h. */
81713 #include <math.h>
81715 main ()
81717 __builtin_fabsl(0);
81719 return 0;
81721 _ACEOF
81722 rm -f conftest.$ac_objext
81723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81724 (eval $ac_compile) 2>conftest.er1
81725 ac_status=$?
81726 grep -v '^ *+' conftest.er1 >conftest.err
81727 rm -f conftest.er1
81728 cat conftest.err >&5
81729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81730 (exit $ac_status); } &&
81731 { ac_try='test -z "$ac_cxx_werror_flag"
81732 || test ! -s conftest.err'
81733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81734 (eval $ac_try) 2>&5
81735 ac_status=$?
81736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81737 (exit $ac_status); }; } &&
81738 { ac_try='test -s conftest.$ac_objext'
81739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81740 (eval $ac_try) 2>&5
81741 ac_status=$?
81742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81743 (exit $ac_status); }; }; then
81744 glibcxx_cv_func___builtin_fabsl_use=yes
81745 else
81746 echo "$as_me: failed program was:" >&5
81747 sed 's/^/| /' conftest.$ac_ext >&5
81749 glibcxx_cv_func___builtin_fabsl_use=no
81751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81752 ac_ext=c
81753 ac_cpp='$CPP $CPPFLAGS'
81754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81762 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
81763 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
81764 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
81765 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
81766 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
81767 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
81768 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
81769 echo $ECHO_N "(cached) $ECHO_C" >&6
81770 else
81772 if test x$gcc_no_link = xyes; then
81773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81775 { (exit 1); exit 1; }; }
81777 cat >conftest.$ac_ext <<_ACEOF
81778 /* confdefs.h. */
81779 _ACEOF
81780 cat confdefs.h >>conftest.$ac_ext
81781 cat >>conftest.$ac_ext <<_ACEOF
81782 /* end confdefs.h. */
81783 #include <math.h>
81785 main ()
81787 __builtin_fabsl(0);
81789 return 0;
81791 _ACEOF
81792 rm -f conftest.$ac_objext conftest$ac_exeext
81793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81794 (eval $ac_link) 2>conftest.er1
81795 ac_status=$?
81796 grep -v '^ *+' conftest.er1 >conftest.err
81797 rm -f conftest.er1
81798 cat conftest.err >&5
81799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81800 (exit $ac_status); } &&
81801 { ac_try='test -z "$ac_c_werror_flag"
81802 || test ! -s conftest.err'
81803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81804 (eval $ac_try) 2>&5
81805 ac_status=$?
81806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81807 (exit $ac_status); }; } &&
81808 { ac_try='test -s conftest$ac_exeext'
81809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81810 (eval $ac_try) 2>&5
81811 ac_status=$?
81812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81813 (exit $ac_status); }; }; then
81814 glibcxx_cv_func___builtin_fabsl_link=yes
81815 else
81816 echo "$as_me: failed program was:" >&5
81817 sed 's/^/| /' conftest.$ac_ext >&5
81819 glibcxx_cv_func___builtin_fabsl_link=no
81821 rm -f conftest.err conftest.$ac_objext \
81822 conftest$ac_exeext conftest.$ac_ext
81827 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
81828 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
81830 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
81832 cat >>confdefs.h <<\_ACEOF
81833 #define HAVE___BUILTIN_FABSL 1
81834 _ACEOF
81841 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
81842 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
81843 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
81844 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
81845 echo $ECHO_N "(cached) $ECHO_C" >&6
81846 else
81850 ac_ext=cc
81851 ac_cpp='$CXXCPP $CPPFLAGS'
81852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81856 cat >conftest.$ac_ext <<_ACEOF
81857 /* confdefs.h. */
81858 _ACEOF
81859 cat confdefs.h >>conftest.$ac_ext
81860 cat >>conftest.$ac_ext <<_ACEOF
81861 /* end confdefs.h. */
81862 #include <math.h>
81864 main ()
81866 __builtin_labs(0);
81868 return 0;
81870 _ACEOF
81871 rm -f conftest.$ac_objext
81872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81873 (eval $ac_compile) 2>conftest.er1
81874 ac_status=$?
81875 grep -v '^ *+' conftest.er1 >conftest.err
81876 rm -f conftest.er1
81877 cat conftest.err >&5
81878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81879 (exit $ac_status); } &&
81880 { ac_try='test -z "$ac_cxx_werror_flag"
81881 || test ! -s conftest.err'
81882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81883 (eval $ac_try) 2>&5
81884 ac_status=$?
81885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81886 (exit $ac_status); }; } &&
81887 { ac_try='test -s conftest.$ac_objext'
81888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81889 (eval $ac_try) 2>&5
81890 ac_status=$?
81891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81892 (exit $ac_status); }; }; then
81893 glibcxx_cv_func___builtin_labs_use=yes
81894 else
81895 echo "$as_me: failed program was:" >&5
81896 sed 's/^/| /' conftest.$ac_ext >&5
81898 glibcxx_cv_func___builtin_labs_use=no
81900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81901 ac_ext=c
81902 ac_cpp='$CPP $CPPFLAGS'
81903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81911 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
81912 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
81913 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
81914 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
81915 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
81916 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
81917 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
81918 echo $ECHO_N "(cached) $ECHO_C" >&6
81919 else
81921 if test x$gcc_no_link = xyes; then
81922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81924 { (exit 1); exit 1; }; }
81926 cat >conftest.$ac_ext <<_ACEOF
81927 /* confdefs.h. */
81928 _ACEOF
81929 cat confdefs.h >>conftest.$ac_ext
81930 cat >>conftest.$ac_ext <<_ACEOF
81931 /* end confdefs.h. */
81932 #include <math.h>
81934 main ()
81936 __builtin_labs(0);
81938 return 0;
81940 _ACEOF
81941 rm -f conftest.$ac_objext conftest$ac_exeext
81942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81943 (eval $ac_link) 2>conftest.er1
81944 ac_status=$?
81945 grep -v '^ *+' conftest.er1 >conftest.err
81946 rm -f conftest.er1
81947 cat conftest.err >&5
81948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81949 (exit $ac_status); } &&
81950 { ac_try='test -z "$ac_c_werror_flag"
81951 || test ! -s conftest.err'
81952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81953 (eval $ac_try) 2>&5
81954 ac_status=$?
81955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81956 (exit $ac_status); }; } &&
81957 { ac_try='test -s conftest$ac_exeext'
81958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81959 (eval $ac_try) 2>&5
81960 ac_status=$?
81961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81962 (exit $ac_status); }; }; then
81963 glibcxx_cv_func___builtin_labs_link=yes
81964 else
81965 echo "$as_me: failed program was:" >&5
81966 sed 's/^/| /' conftest.$ac_ext >&5
81968 glibcxx_cv_func___builtin_labs_link=no
81970 rm -f conftest.err conftest.$ac_objext \
81971 conftest$ac_exeext conftest.$ac_ext
81976 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
81977 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
81979 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
81981 cat >>confdefs.h <<\_ACEOF
81982 #define HAVE___BUILTIN_LABS 1
81983 _ACEOF
81991 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
81992 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
81993 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
81994 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
81995 echo $ECHO_N "(cached) $ECHO_C" >&6
81996 else
82000 ac_ext=cc
82001 ac_cpp='$CXXCPP $CPPFLAGS'
82002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82006 cat >conftest.$ac_ext <<_ACEOF
82007 /* confdefs.h. */
82008 _ACEOF
82009 cat confdefs.h >>conftest.$ac_ext
82010 cat >>conftest.$ac_ext <<_ACEOF
82011 /* end confdefs.h. */
82012 #include <math.h>
82014 main ()
82016 __builtin_sqrtf(0);
82018 return 0;
82020 _ACEOF
82021 rm -f conftest.$ac_objext
82022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82023 (eval $ac_compile) 2>conftest.er1
82024 ac_status=$?
82025 grep -v '^ *+' conftest.er1 >conftest.err
82026 rm -f conftest.er1
82027 cat conftest.err >&5
82028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82029 (exit $ac_status); } &&
82030 { ac_try='test -z "$ac_cxx_werror_flag"
82031 || test ! -s conftest.err'
82032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82033 (eval $ac_try) 2>&5
82034 ac_status=$?
82035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82036 (exit $ac_status); }; } &&
82037 { ac_try='test -s conftest.$ac_objext'
82038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82039 (eval $ac_try) 2>&5
82040 ac_status=$?
82041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82042 (exit $ac_status); }; }; then
82043 glibcxx_cv_func___builtin_sqrtf_use=yes
82044 else
82045 echo "$as_me: failed program was:" >&5
82046 sed 's/^/| /' conftest.$ac_ext >&5
82048 glibcxx_cv_func___builtin_sqrtf_use=no
82050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82051 ac_ext=c
82052 ac_cpp='$CPP $CPPFLAGS'
82053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82061 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
82062 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
82063 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
82064 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
82065 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
82066 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
82067 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
82068 echo $ECHO_N "(cached) $ECHO_C" >&6
82069 else
82071 if test x$gcc_no_link = xyes; then
82072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82074 { (exit 1); exit 1; }; }
82076 cat >conftest.$ac_ext <<_ACEOF
82077 /* confdefs.h. */
82078 _ACEOF
82079 cat confdefs.h >>conftest.$ac_ext
82080 cat >>conftest.$ac_ext <<_ACEOF
82081 /* end confdefs.h. */
82082 #include <math.h>
82084 main ()
82086 __builtin_sqrtf(0);
82088 return 0;
82090 _ACEOF
82091 rm -f conftest.$ac_objext conftest$ac_exeext
82092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82093 (eval $ac_link) 2>conftest.er1
82094 ac_status=$?
82095 grep -v '^ *+' conftest.er1 >conftest.err
82096 rm -f conftest.er1
82097 cat conftest.err >&5
82098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82099 (exit $ac_status); } &&
82100 { ac_try='test -z "$ac_c_werror_flag"
82101 || test ! -s conftest.err'
82102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82103 (eval $ac_try) 2>&5
82104 ac_status=$?
82105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82106 (exit $ac_status); }; } &&
82107 { ac_try='test -s conftest$ac_exeext'
82108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82109 (eval $ac_try) 2>&5
82110 ac_status=$?
82111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82112 (exit $ac_status); }; }; then
82113 glibcxx_cv_func___builtin_sqrtf_link=yes
82114 else
82115 echo "$as_me: failed program was:" >&5
82116 sed 's/^/| /' conftest.$ac_ext >&5
82118 glibcxx_cv_func___builtin_sqrtf_link=no
82120 rm -f conftest.err conftest.$ac_objext \
82121 conftest$ac_exeext conftest.$ac_ext
82126 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
82127 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
82129 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
82131 cat >>confdefs.h <<\_ACEOF
82132 #define HAVE___BUILTIN_SQRTF 1
82133 _ACEOF
82140 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
82141 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
82142 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
82143 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
82144 echo $ECHO_N "(cached) $ECHO_C" >&6
82145 else
82149 ac_ext=cc
82150 ac_cpp='$CXXCPP $CPPFLAGS'
82151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82155 cat >conftest.$ac_ext <<_ACEOF
82156 /* confdefs.h. */
82157 _ACEOF
82158 cat confdefs.h >>conftest.$ac_ext
82159 cat >>conftest.$ac_ext <<_ACEOF
82160 /* end confdefs.h. */
82161 #include <math.h>
82163 main ()
82165 __builtin_sqrt(0);
82167 return 0;
82169 _ACEOF
82170 rm -f conftest.$ac_objext
82171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82172 (eval $ac_compile) 2>conftest.er1
82173 ac_status=$?
82174 grep -v '^ *+' conftest.er1 >conftest.err
82175 rm -f conftest.er1
82176 cat conftest.err >&5
82177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82178 (exit $ac_status); } &&
82179 { ac_try='test -z "$ac_cxx_werror_flag"
82180 || test ! -s conftest.err'
82181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82182 (eval $ac_try) 2>&5
82183 ac_status=$?
82184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82185 (exit $ac_status); }; } &&
82186 { ac_try='test -s conftest.$ac_objext'
82187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82188 (eval $ac_try) 2>&5
82189 ac_status=$?
82190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82191 (exit $ac_status); }; }; then
82192 glibcxx_cv_func___builtin_sqrt_use=yes
82193 else
82194 echo "$as_me: failed program was:" >&5
82195 sed 's/^/| /' conftest.$ac_ext >&5
82197 glibcxx_cv_func___builtin_sqrt_use=no
82199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82200 ac_ext=c
82201 ac_cpp='$CPP $CPPFLAGS'
82202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82210 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
82211 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
82212 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
82213 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
82214 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
82215 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
82216 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
82217 echo $ECHO_N "(cached) $ECHO_C" >&6
82218 else
82220 if test x$gcc_no_link = xyes; then
82221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82223 { (exit 1); exit 1; }; }
82225 cat >conftest.$ac_ext <<_ACEOF
82226 /* confdefs.h. */
82227 _ACEOF
82228 cat confdefs.h >>conftest.$ac_ext
82229 cat >>conftest.$ac_ext <<_ACEOF
82230 /* end confdefs.h. */
82231 #include <math.h>
82233 main ()
82235 __builtin_sqrt(0);
82237 return 0;
82239 _ACEOF
82240 rm -f conftest.$ac_objext conftest$ac_exeext
82241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82242 (eval $ac_link) 2>conftest.er1
82243 ac_status=$?
82244 grep -v '^ *+' conftest.er1 >conftest.err
82245 rm -f conftest.er1
82246 cat conftest.err >&5
82247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82248 (exit $ac_status); } &&
82249 { ac_try='test -z "$ac_c_werror_flag"
82250 || test ! -s conftest.err'
82251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82252 (eval $ac_try) 2>&5
82253 ac_status=$?
82254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82255 (exit $ac_status); }; } &&
82256 { ac_try='test -s conftest$ac_exeext'
82257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82258 (eval $ac_try) 2>&5
82259 ac_status=$?
82260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82261 (exit $ac_status); }; }; then
82262 glibcxx_cv_func___builtin_sqrt_link=yes
82263 else
82264 echo "$as_me: failed program was:" >&5
82265 sed 's/^/| /' conftest.$ac_ext >&5
82267 glibcxx_cv_func___builtin_sqrt_link=no
82269 rm -f conftest.err conftest.$ac_objext \
82270 conftest$ac_exeext conftest.$ac_ext
82275 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
82276 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
82278 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
82280 cat >>confdefs.h <<\_ACEOF
82281 #define HAVE___BUILTIN_SQRT 1
82282 _ACEOF
82289 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
82290 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
82291 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
82292 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
82293 echo $ECHO_N "(cached) $ECHO_C" >&6
82294 else
82298 ac_ext=cc
82299 ac_cpp='$CXXCPP $CPPFLAGS'
82300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82304 cat >conftest.$ac_ext <<_ACEOF
82305 /* confdefs.h. */
82306 _ACEOF
82307 cat confdefs.h >>conftest.$ac_ext
82308 cat >>conftest.$ac_ext <<_ACEOF
82309 /* end confdefs.h. */
82310 #include <math.h>
82312 main ()
82314 __builtin_sqrtl(0);
82316 return 0;
82318 _ACEOF
82319 rm -f conftest.$ac_objext
82320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82321 (eval $ac_compile) 2>conftest.er1
82322 ac_status=$?
82323 grep -v '^ *+' conftest.er1 >conftest.err
82324 rm -f conftest.er1
82325 cat conftest.err >&5
82326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82327 (exit $ac_status); } &&
82328 { ac_try='test -z "$ac_cxx_werror_flag"
82329 || test ! -s conftest.err'
82330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82331 (eval $ac_try) 2>&5
82332 ac_status=$?
82333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82334 (exit $ac_status); }; } &&
82335 { ac_try='test -s conftest.$ac_objext'
82336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82337 (eval $ac_try) 2>&5
82338 ac_status=$?
82339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82340 (exit $ac_status); }; }; then
82341 glibcxx_cv_func___builtin_sqrtl_use=yes
82342 else
82343 echo "$as_me: failed program was:" >&5
82344 sed 's/^/| /' conftest.$ac_ext >&5
82346 glibcxx_cv_func___builtin_sqrtl_use=no
82348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82349 ac_ext=c
82350 ac_cpp='$CPP $CPPFLAGS'
82351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82359 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
82360 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
82361 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
82362 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
82363 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
82364 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
82365 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
82366 echo $ECHO_N "(cached) $ECHO_C" >&6
82367 else
82369 if test x$gcc_no_link = xyes; then
82370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82372 { (exit 1); exit 1; }; }
82374 cat >conftest.$ac_ext <<_ACEOF
82375 /* confdefs.h. */
82376 _ACEOF
82377 cat confdefs.h >>conftest.$ac_ext
82378 cat >>conftest.$ac_ext <<_ACEOF
82379 /* end confdefs.h. */
82380 #include <math.h>
82382 main ()
82384 __builtin_sqrtl(0);
82386 return 0;
82388 _ACEOF
82389 rm -f conftest.$ac_objext conftest$ac_exeext
82390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82391 (eval $ac_link) 2>conftest.er1
82392 ac_status=$?
82393 grep -v '^ *+' conftest.er1 >conftest.err
82394 rm -f conftest.er1
82395 cat conftest.err >&5
82396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82397 (exit $ac_status); } &&
82398 { ac_try='test -z "$ac_c_werror_flag"
82399 || test ! -s conftest.err'
82400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82401 (eval $ac_try) 2>&5
82402 ac_status=$?
82403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82404 (exit $ac_status); }; } &&
82405 { ac_try='test -s conftest$ac_exeext'
82406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82407 (eval $ac_try) 2>&5
82408 ac_status=$?
82409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82410 (exit $ac_status); }; }; then
82411 glibcxx_cv_func___builtin_sqrtl_link=yes
82412 else
82413 echo "$as_me: failed program was:" >&5
82414 sed 's/^/| /' conftest.$ac_ext >&5
82416 glibcxx_cv_func___builtin_sqrtl_link=no
82418 rm -f conftest.err conftest.$ac_objext \
82419 conftest$ac_exeext conftest.$ac_ext
82424 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
82425 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
82427 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
82429 cat >>confdefs.h <<\_ACEOF
82430 #define HAVE___BUILTIN_SQRTL 1
82431 _ACEOF
82439 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
82440 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
82441 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
82442 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
82443 echo $ECHO_N "(cached) $ECHO_C" >&6
82444 else
82448 ac_ext=cc
82449 ac_cpp='$CXXCPP $CPPFLAGS'
82450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82454 cat >conftest.$ac_ext <<_ACEOF
82455 /* confdefs.h. */
82456 _ACEOF
82457 cat confdefs.h >>conftest.$ac_ext
82458 cat >>conftest.$ac_ext <<_ACEOF
82459 /* end confdefs.h. */
82460 #include <math.h>
82462 main ()
82464 __builtin_sinf(0);
82466 return 0;
82468 _ACEOF
82469 rm -f conftest.$ac_objext
82470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82471 (eval $ac_compile) 2>conftest.er1
82472 ac_status=$?
82473 grep -v '^ *+' conftest.er1 >conftest.err
82474 rm -f conftest.er1
82475 cat conftest.err >&5
82476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82477 (exit $ac_status); } &&
82478 { ac_try='test -z "$ac_cxx_werror_flag"
82479 || test ! -s conftest.err'
82480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82481 (eval $ac_try) 2>&5
82482 ac_status=$?
82483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82484 (exit $ac_status); }; } &&
82485 { ac_try='test -s conftest.$ac_objext'
82486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82487 (eval $ac_try) 2>&5
82488 ac_status=$?
82489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82490 (exit $ac_status); }; }; then
82491 glibcxx_cv_func___builtin_sinf_use=yes
82492 else
82493 echo "$as_me: failed program was:" >&5
82494 sed 's/^/| /' conftest.$ac_ext >&5
82496 glibcxx_cv_func___builtin_sinf_use=no
82498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82499 ac_ext=c
82500 ac_cpp='$CPP $CPPFLAGS'
82501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82509 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
82510 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
82511 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
82512 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
82513 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
82514 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
82515 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
82516 echo $ECHO_N "(cached) $ECHO_C" >&6
82517 else
82519 if test x$gcc_no_link = xyes; then
82520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82522 { (exit 1); exit 1; }; }
82524 cat >conftest.$ac_ext <<_ACEOF
82525 /* confdefs.h. */
82526 _ACEOF
82527 cat confdefs.h >>conftest.$ac_ext
82528 cat >>conftest.$ac_ext <<_ACEOF
82529 /* end confdefs.h. */
82530 #include <math.h>
82532 main ()
82534 __builtin_sinf(0);
82536 return 0;
82538 _ACEOF
82539 rm -f conftest.$ac_objext conftest$ac_exeext
82540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82541 (eval $ac_link) 2>conftest.er1
82542 ac_status=$?
82543 grep -v '^ *+' conftest.er1 >conftest.err
82544 rm -f conftest.er1
82545 cat conftest.err >&5
82546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82547 (exit $ac_status); } &&
82548 { ac_try='test -z "$ac_c_werror_flag"
82549 || test ! -s conftest.err'
82550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82551 (eval $ac_try) 2>&5
82552 ac_status=$?
82553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82554 (exit $ac_status); }; } &&
82555 { ac_try='test -s conftest$ac_exeext'
82556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82557 (eval $ac_try) 2>&5
82558 ac_status=$?
82559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82560 (exit $ac_status); }; }; then
82561 glibcxx_cv_func___builtin_sinf_link=yes
82562 else
82563 echo "$as_me: failed program was:" >&5
82564 sed 's/^/| /' conftest.$ac_ext >&5
82566 glibcxx_cv_func___builtin_sinf_link=no
82568 rm -f conftest.err conftest.$ac_objext \
82569 conftest$ac_exeext conftest.$ac_ext
82574 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
82575 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
82577 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
82579 cat >>confdefs.h <<\_ACEOF
82580 #define HAVE___BUILTIN_SINF 1
82581 _ACEOF
82588 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
82589 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
82590 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
82591 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
82592 echo $ECHO_N "(cached) $ECHO_C" >&6
82593 else
82597 ac_ext=cc
82598 ac_cpp='$CXXCPP $CPPFLAGS'
82599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82603 cat >conftest.$ac_ext <<_ACEOF
82604 /* confdefs.h. */
82605 _ACEOF
82606 cat confdefs.h >>conftest.$ac_ext
82607 cat >>conftest.$ac_ext <<_ACEOF
82608 /* end confdefs.h. */
82609 #include <math.h>
82611 main ()
82613 __builtin_sin(0);
82615 return 0;
82617 _ACEOF
82618 rm -f conftest.$ac_objext
82619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82620 (eval $ac_compile) 2>conftest.er1
82621 ac_status=$?
82622 grep -v '^ *+' conftest.er1 >conftest.err
82623 rm -f conftest.er1
82624 cat conftest.err >&5
82625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82626 (exit $ac_status); } &&
82627 { ac_try='test -z "$ac_cxx_werror_flag"
82628 || test ! -s conftest.err'
82629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82630 (eval $ac_try) 2>&5
82631 ac_status=$?
82632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82633 (exit $ac_status); }; } &&
82634 { ac_try='test -s conftest.$ac_objext'
82635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82636 (eval $ac_try) 2>&5
82637 ac_status=$?
82638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82639 (exit $ac_status); }; }; then
82640 glibcxx_cv_func___builtin_sin_use=yes
82641 else
82642 echo "$as_me: failed program was:" >&5
82643 sed 's/^/| /' conftest.$ac_ext >&5
82645 glibcxx_cv_func___builtin_sin_use=no
82647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82648 ac_ext=c
82649 ac_cpp='$CPP $CPPFLAGS'
82650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82658 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
82659 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
82660 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
82661 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
82662 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
82663 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
82664 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
82665 echo $ECHO_N "(cached) $ECHO_C" >&6
82666 else
82668 if test x$gcc_no_link = xyes; then
82669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82671 { (exit 1); exit 1; }; }
82673 cat >conftest.$ac_ext <<_ACEOF
82674 /* confdefs.h. */
82675 _ACEOF
82676 cat confdefs.h >>conftest.$ac_ext
82677 cat >>conftest.$ac_ext <<_ACEOF
82678 /* end confdefs.h. */
82679 #include <math.h>
82681 main ()
82683 __builtin_sin(0);
82685 return 0;
82687 _ACEOF
82688 rm -f conftest.$ac_objext conftest$ac_exeext
82689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82690 (eval $ac_link) 2>conftest.er1
82691 ac_status=$?
82692 grep -v '^ *+' conftest.er1 >conftest.err
82693 rm -f conftest.er1
82694 cat conftest.err >&5
82695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82696 (exit $ac_status); } &&
82697 { ac_try='test -z "$ac_c_werror_flag"
82698 || test ! -s conftest.err'
82699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82700 (eval $ac_try) 2>&5
82701 ac_status=$?
82702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82703 (exit $ac_status); }; } &&
82704 { ac_try='test -s conftest$ac_exeext'
82705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82706 (eval $ac_try) 2>&5
82707 ac_status=$?
82708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82709 (exit $ac_status); }; }; then
82710 glibcxx_cv_func___builtin_sin_link=yes
82711 else
82712 echo "$as_me: failed program was:" >&5
82713 sed 's/^/| /' conftest.$ac_ext >&5
82715 glibcxx_cv_func___builtin_sin_link=no
82717 rm -f conftest.err conftest.$ac_objext \
82718 conftest$ac_exeext conftest.$ac_ext
82723 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
82724 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
82726 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
82728 cat >>confdefs.h <<\_ACEOF
82729 #define HAVE___BUILTIN_SIN 1
82730 _ACEOF
82737 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
82738 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
82739 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
82740 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
82741 echo $ECHO_N "(cached) $ECHO_C" >&6
82742 else
82746 ac_ext=cc
82747 ac_cpp='$CXXCPP $CPPFLAGS'
82748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82752 cat >conftest.$ac_ext <<_ACEOF
82753 /* confdefs.h. */
82754 _ACEOF
82755 cat confdefs.h >>conftest.$ac_ext
82756 cat >>conftest.$ac_ext <<_ACEOF
82757 /* end confdefs.h. */
82758 #include <math.h>
82760 main ()
82762 __builtin_sinl(0);
82764 return 0;
82766 _ACEOF
82767 rm -f conftest.$ac_objext
82768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82769 (eval $ac_compile) 2>conftest.er1
82770 ac_status=$?
82771 grep -v '^ *+' conftest.er1 >conftest.err
82772 rm -f conftest.er1
82773 cat conftest.err >&5
82774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82775 (exit $ac_status); } &&
82776 { ac_try='test -z "$ac_cxx_werror_flag"
82777 || test ! -s conftest.err'
82778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82779 (eval $ac_try) 2>&5
82780 ac_status=$?
82781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82782 (exit $ac_status); }; } &&
82783 { ac_try='test -s conftest.$ac_objext'
82784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82785 (eval $ac_try) 2>&5
82786 ac_status=$?
82787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82788 (exit $ac_status); }; }; then
82789 glibcxx_cv_func___builtin_sinl_use=yes
82790 else
82791 echo "$as_me: failed program was:" >&5
82792 sed 's/^/| /' conftest.$ac_ext >&5
82794 glibcxx_cv_func___builtin_sinl_use=no
82796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82797 ac_ext=c
82798 ac_cpp='$CPP $CPPFLAGS'
82799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82807 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
82808 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
82809 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
82810 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
82811 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
82812 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
82813 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
82814 echo $ECHO_N "(cached) $ECHO_C" >&6
82815 else
82817 if test x$gcc_no_link = xyes; then
82818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82820 { (exit 1); exit 1; }; }
82822 cat >conftest.$ac_ext <<_ACEOF
82823 /* confdefs.h. */
82824 _ACEOF
82825 cat confdefs.h >>conftest.$ac_ext
82826 cat >>conftest.$ac_ext <<_ACEOF
82827 /* end confdefs.h. */
82828 #include <math.h>
82830 main ()
82832 __builtin_sinl(0);
82834 return 0;
82836 _ACEOF
82837 rm -f conftest.$ac_objext conftest$ac_exeext
82838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82839 (eval $ac_link) 2>conftest.er1
82840 ac_status=$?
82841 grep -v '^ *+' conftest.er1 >conftest.err
82842 rm -f conftest.er1
82843 cat conftest.err >&5
82844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82845 (exit $ac_status); } &&
82846 { ac_try='test -z "$ac_c_werror_flag"
82847 || test ! -s conftest.err'
82848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82849 (eval $ac_try) 2>&5
82850 ac_status=$?
82851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82852 (exit $ac_status); }; } &&
82853 { ac_try='test -s conftest$ac_exeext'
82854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82855 (eval $ac_try) 2>&5
82856 ac_status=$?
82857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82858 (exit $ac_status); }; }; then
82859 glibcxx_cv_func___builtin_sinl_link=yes
82860 else
82861 echo "$as_me: failed program was:" >&5
82862 sed 's/^/| /' conftest.$ac_ext >&5
82864 glibcxx_cv_func___builtin_sinl_link=no
82866 rm -f conftest.err conftest.$ac_objext \
82867 conftest$ac_exeext conftest.$ac_ext
82872 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
82873 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
82875 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
82877 cat >>confdefs.h <<\_ACEOF
82878 #define HAVE___BUILTIN_SINL 1
82879 _ACEOF
82887 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
82888 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
82889 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
82890 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
82891 echo $ECHO_N "(cached) $ECHO_C" >&6
82892 else
82896 ac_ext=cc
82897 ac_cpp='$CXXCPP $CPPFLAGS'
82898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82902 cat >conftest.$ac_ext <<_ACEOF
82903 /* confdefs.h. */
82904 _ACEOF
82905 cat confdefs.h >>conftest.$ac_ext
82906 cat >>conftest.$ac_ext <<_ACEOF
82907 /* end confdefs.h. */
82908 #include <math.h>
82910 main ()
82912 __builtin_cosf(0);
82914 return 0;
82916 _ACEOF
82917 rm -f conftest.$ac_objext
82918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82919 (eval $ac_compile) 2>conftest.er1
82920 ac_status=$?
82921 grep -v '^ *+' conftest.er1 >conftest.err
82922 rm -f conftest.er1
82923 cat conftest.err >&5
82924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82925 (exit $ac_status); } &&
82926 { ac_try='test -z "$ac_cxx_werror_flag"
82927 || test ! -s conftest.err'
82928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82929 (eval $ac_try) 2>&5
82930 ac_status=$?
82931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82932 (exit $ac_status); }; } &&
82933 { ac_try='test -s conftest.$ac_objext'
82934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82935 (eval $ac_try) 2>&5
82936 ac_status=$?
82937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82938 (exit $ac_status); }; }; then
82939 glibcxx_cv_func___builtin_cosf_use=yes
82940 else
82941 echo "$as_me: failed program was:" >&5
82942 sed 's/^/| /' conftest.$ac_ext >&5
82944 glibcxx_cv_func___builtin_cosf_use=no
82946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82947 ac_ext=c
82948 ac_cpp='$CPP $CPPFLAGS'
82949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82957 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
82958 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
82959 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
82960 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
82961 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
82962 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
82963 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
82964 echo $ECHO_N "(cached) $ECHO_C" >&6
82965 else
82967 if test x$gcc_no_link = xyes; then
82968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82970 { (exit 1); exit 1; }; }
82972 cat >conftest.$ac_ext <<_ACEOF
82973 /* confdefs.h. */
82974 _ACEOF
82975 cat confdefs.h >>conftest.$ac_ext
82976 cat >>conftest.$ac_ext <<_ACEOF
82977 /* end confdefs.h. */
82978 #include <math.h>
82980 main ()
82982 __builtin_cosf(0);
82984 return 0;
82986 _ACEOF
82987 rm -f conftest.$ac_objext conftest$ac_exeext
82988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82989 (eval $ac_link) 2>conftest.er1
82990 ac_status=$?
82991 grep -v '^ *+' conftest.er1 >conftest.err
82992 rm -f conftest.er1
82993 cat conftest.err >&5
82994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82995 (exit $ac_status); } &&
82996 { ac_try='test -z "$ac_c_werror_flag"
82997 || test ! -s conftest.err'
82998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82999 (eval $ac_try) 2>&5
83000 ac_status=$?
83001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83002 (exit $ac_status); }; } &&
83003 { ac_try='test -s conftest$ac_exeext'
83004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83005 (eval $ac_try) 2>&5
83006 ac_status=$?
83007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83008 (exit $ac_status); }; }; then
83009 glibcxx_cv_func___builtin_cosf_link=yes
83010 else
83011 echo "$as_me: failed program was:" >&5
83012 sed 's/^/| /' conftest.$ac_ext >&5
83014 glibcxx_cv_func___builtin_cosf_link=no
83016 rm -f conftest.err conftest.$ac_objext \
83017 conftest$ac_exeext conftest.$ac_ext
83022 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
83023 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
83025 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
83027 cat >>confdefs.h <<\_ACEOF
83028 #define HAVE___BUILTIN_COSF 1
83029 _ACEOF
83036 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
83037 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
83038 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
83039 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
83040 echo $ECHO_N "(cached) $ECHO_C" >&6
83041 else
83045 ac_ext=cc
83046 ac_cpp='$CXXCPP $CPPFLAGS'
83047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83051 cat >conftest.$ac_ext <<_ACEOF
83052 /* confdefs.h. */
83053 _ACEOF
83054 cat confdefs.h >>conftest.$ac_ext
83055 cat >>conftest.$ac_ext <<_ACEOF
83056 /* end confdefs.h. */
83057 #include <math.h>
83059 main ()
83061 __builtin_cos(0);
83063 return 0;
83065 _ACEOF
83066 rm -f conftest.$ac_objext
83067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83068 (eval $ac_compile) 2>conftest.er1
83069 ac_status=$?
83070 grep -v '^ *+' conftest.er1 >conftest.err
83071 rm -f conftest.er1
83072 cat conftest.err >&5
83073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83074 (exit $ac_status); } &&
83075 { ac_try='test -z "$ac_cxx_werror_flag"
83076 || test ! -s conftest.err'
83077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83078 (eval $ac_try) 2>&5
83079 ac_status=$?
83080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83081 (exit $ac_status); }; } &&
83082 { ac_try='test -s conftest.$ac_objext'
83083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83084 (eval $ac_try) 2>&5
83085 ac_status=$?
83086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83087 (exit $ac_status); }; }; then
83088 glibcxx_cv_func___builtin_cos_use=yes
83089 else
83090 echo "$as_me: failed program was:" >&5
83091 sed 's/^/| /' conftest.$ac_ext >&5
83093 glibcxx_cv_func___builtin_cos_use=no
83095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83096 ac_ext=c
83097 ac_cpp='$CPP $CPPFLAGS'
83098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83106 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
83107 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
83108 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
83109 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
83110 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
83111 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
83112 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
83113 echo $ECHO_N "(cached) $ECHO_C" >&6
83114 else
83116 if test x$gcc_no_link = xyes; then
83117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83119 { (exit 1); exit 1; }; }
83121 cat >conftest.$ac_ext <<_ACEOF
83122 /* confdefs.h. */
83123 _ACEOF
83124 cat confdefs.h >>conftest.$ac_ext
83125 cat >>conftest.$ac_ext <<_ACEOF
83126 /* end confdefs.h. */
83127 #include <math.h>
83129 main ()
83131 __builtin_cos(0);
83133 return 0;
83135 _ACEOF
83136 rm -f conftest.$ac_objext conftest$ac_exeext
83137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83138 (eval $ac_link) 2>conftest.er1
83139 ac_status=$?
83140 grep -v '^ *+' conftest.er1 >conftest.err
83141 rm -f conftest.er1
83142 cat conftest.err >&5
83143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83144 (exit $ac_status); } &&
83145 { ac_try='test -z "$ac_c_werror_flag"
83146 || test ! -s conftest.err'
83147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83148 (eval $ac_try) 2>&5
83149 ac_status=$?
83150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83151 (exit $ac_status); }; } &&
83152 { ac_try='test -s conftest$ac_exeext'
83153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83154 (eval $ac_try) 2>&5
83155 ac_status=$?
83156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83157 (exit $ac_status); }; }; then
83158 glibcxx_cv_func___builtin_cos_link=yes
83159 else
83160 echo "$as_me: failed program was:" >&5
83161 sed 's/^/| /' conftest.$ac_ext >&5
83163 glibcxx_cv_func___builtin_cos_link=no
83165 rm -f conftest.err conftest.$ac_objext \
83166 conftest$ac_exeext conftest.$ac_ext
83171 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
83172 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
83174 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
83176 cat >>confdefs.h <<\_ACEOF
83177 #define HAVE___BUILTIN_COS 1
83178 _ACEOF
83185 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
83186 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
83187 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
83188 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
83189 echo $ECHO_N "(cached) $ECHO_C" >&6
83190 else
83194 ac_ext=cc
83195 ac_cpp='$CXXCPP $CPPFLAGS'
83196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83200 cat >conftest.$ac_ext <<_ACEOF
83201 /* confdefs.h. */
83202 _ACEOF
83203 cat confdefs.h >>conftest.$ac_ext
83204 cat >>conftest.$ac_ext <<_ACEOF
83205 /* end confdefs.h. */
83206 #include <math.h>
83208 main ()
83210 __builtin_cosl(0);
83212 return 0;
83214 _ACEOF
83215 rm -f conftest.$ac_objext
83216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83217 (eval $ac_compile) 2>conftest.er1
83218 ac_status=$?
83219 grep -v '^ *+' conftest.er1 >conftest.err
83220 rm -f conftest.er1
83221 cat conftest.err >&5
83222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83223 (exit $ac_status); } &&
83224 { ac_try='test -z "$ac_cxx_werror_flag"
83225 || test ! -s conftest.err'
83226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83227 (eval $ac_try) 2>&5
83228 ac_status=$?
83229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83230 (exit $ac_status); }; } &&
83231 { ac_try='test -s conftest.$ac_objext'
83232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83233 (eval $ac_try) 2>&5
83234 ac_status=$?
83235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83236 (exit $ac_status); }; }; then
83237 glibcxx_cv_func___builtin_cosl_use=yes
83238 else
83239 echo "$as_me: failed program was:" >&5
83240 sed 's/^/| /' conftest.$ac_ext >&5
83242 glibcxx_cv_func___builtin_cosl_use=no
83244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83245 ac_ext=c
83246 ac_cpp='$CPP $CPPFLAGS'
83247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83255 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
83256 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
83257 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
83258 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
83259 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
83260 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
83261 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
83262 echo $ECHO_N "(cached) $ECHO_C" >&6
83263 else
83265 if test x$gcc_no_link = xyes; then
83266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83268 { (exit 1); exit 1; }; }
83270 cat >conftest.$ac_ext <<_ACEOF
83271 /* confdefs.h. */
83272 _ACEOF
83273 cat confdefs.h >>conftest.$ac_ext
83274 cat >>conftest.$ac_ext <<_ACEOF
83275 /* end confdefs.h. */
83276 #include <math.h>
83278 main ()
83280 __builtin_cosl(0);
83282 return 0;
83284 _ACEOF
83285 rm -f conftest.$ac_objext conftest$ac_exeext
83286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83287 (eval $ac_link) 2>conftest.er1
83288 ac_status=$?
83289 grep -v '^ *+' conftest.er1 >conftest.err
83290 rm -f conftest.er1
83291 cat conftest.err >&5
83292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83293 (exit $ac_status); } &&
83294 { ac_try='test -z "$ac_c_werror_flag"
83295 || test ! -s conftest.err'
83296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83297 (eval $ac_try) 2>&5
83298 ac_status=$?
83299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83300 (exit $ac_status); }; } &&
83301 { ac_try='test -s conftest$ac_exeext'
83302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83303 (eval $ac_try) 2>&5
83304 ac_status=$?
83305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83306 (exit $ac_status); }; }; then
83307 glibcxx_cv_func___builtin_cosl_link=yes
83308 else
83309 echo "$as_me: failed program was:" >&5
83310 sed 's/^/| /' conftest.$ac_ext >&5
83312 glibcxx_cv_func___builtin_cosl_link=no
83314 rm -f conftest.err conftest.$ac_objext \
83315 conftest$ac_exeext conftest.$ac_ext
83320 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
83321 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
83323 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
83325 cat >>confdefs.h <<\_ACEOF
83326 #define HAVE___BUILTIN_COSL 1
83327 _ACEOF
83336 echo "$as_me:$LINENO: checking for main in -lm" >&5
83337 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83338 if test "${ac_cv_lib_m_main+set}" = set; then
83339 echo $ECHO_N "(cached) $ECHO_C" >&6
83340 else
83341 ac_check_lib_save_LIBS=$LIBS
83342 LIBS="-lm $LIBS"
83343 if test x$gcc_no_link = xyes; then
83344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83346 { (exit 1); exit 1; }; }
83348 cat >conftest.$ac_ext <<_ACEOF
83349 /* confdefs.h. */
83350 _ACEOF
83351 cat confdefs.h >>conftest.$ac_ext
83352 cat >>conftest.$ac_ext <<_ACEOF
83353 /* end confdefs.h. */
83357 main ()
83359 main ();
83361 return 0;
83363 _ACEOF
83364 rm -f conftest.$ac_objext conftest$ac_exeext
83365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83366 (eval $ac_link) 2>conftest.er1
83367 ac_status=$?
83368 grep -v '^ *+' conftest.er1 >conftest.err
83369 rm -f conftest.er1
83370 cat conftest.err >&5
83371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83372 (exit $ac_status); } &&
83373 { ac_try='test -z "$ac_c_werror_flag"
83374 || test ! -s conftest.err'
83375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83376 (eval $ac_try) 2>&5
83377 ac_status=$?
83378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83379 (exit $ac_status); }; } &&
83380 { ac_try='test -s conftest$ac_exeext'
83381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83382 (eval $ac_try) 2>&5
83383 ac_status=$?
83384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83385 (exit $ac_status); }; }; then
83386 ac_cv_lib_m_main=yes
83387 else
83388 echo "$as_me: failed program was:" >&5
83389 sed 's/^/| /' conftest.$ac_ext >&5
83391 ac_cv_lib_m_main=no
83393 rm -f conftest.err conftest.$ac_objext \
83394 conftest$ac_exeext conftest.$ac_ext
83395 LIBS=$ac_check_lib_save_LIBS
83397 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83398 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83399 if test $ac_cv_lib_m_main = yes; then
83400 cat >>confdefs.h <<_ACEOF
83401 #define HAVE_LIBM 1
83402 _ACEOF
83404 LIBS="-lm $LIBS"
83409 for ac_func in copysignf
83411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83412 echo "$as_me:$LINENO: checking for $ac_func" >&5
83413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83414 if eval "test \"\${$as_ac_var+set}\" = set"; then
83415 echo $ECHO_N "(cached) $ECHO_C" >&6
83416 else
83417 if test x$gcc_no_link = xyes; then
83418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83420 { (exit 1); exit 1; }; }
83422 cat >conftest.$ac_ext <<_ACEOF
83423 /* confdefs.h. */
83424 _ACEOF
83425 cat confdefs.h >>conftest.$ac_ext
83426 cat >>conftest.$ac_ext <<_ACEOF
83427 /* end confdefs.h. */
83428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83430 #define $ac_func innocuous_$ac_func
83432 /* System header to define __stub macros and hopefully few prototypes,
83433 which can conflict with char $ac_func (); below.
83434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83435 <limits.h> exists even on freestanding compilers. */
83437 #ifdef __STDC__
83438 # include <limits.h>
83439 #else
83440 # include <assert.h>
83441 #endif
83443 #undef $ac_func
83445 /* Override any gcc2 internal prototype to avoid an error. */
83446 #ifdef __cplusplus
83447 extern "C"
83449 #endif
83450 /* We use char because int might match the return type of a gcc2
83451 builtin and then its argument prototype would still apply. */
83452 char $ac_func ();
83453 /* The GNU C library defines this for functions which it implements
83454 to always fail with ENOSYS. Some functions are actually named
83455 something starting with __ and the normal name is an alias. */
83456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83457 choke me
83458 #else
83459 char (*f) () = $ac_func;
83460 #endif
83461 #ifdef __cplusplus
83463 #endif
83466 main ()
83468 return f != $ac_func;
83470 return 0;
83472 _ACEOF
83473 rm -f conftest.$ac_objext conftest$ac_exeext
83474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83475 (eval $ac_link) 2>conftest.er1
83476 ac_status=$?
83477 grep -v '^ *+' conftest.er1 >conftest.err
83478 rm -f conftest.er1
83479 cat conftest.err >&5
83480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83481 (exit $ac_status); } &&
83482 { ac_try='test -z "$ac_c_werror_flag"
83483 || test ! -s conftest.err'
83484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83485 (eval $ac_try) 2>&5
83486 ac_status=$?
83487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83488 (exit $ac_status); }; } &&
83489 { ac_try='test -s conftest$ac_exeext'
83490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83491 (eval $ac_try) 2>&5
83492 ac_status=$?
83493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83494 (exit $ac_status); }; }; then
83495 eval "$as_ac_var=yes"
83496 else
83497 echo "$as_me: failed program was:" >&5
83498 sed 's/^/| /' conftest.$ac_ext >&5
83500 eval "$as_ac_var=no"
83502 rm -f conftest.err conftest.$ac_objext \
83503 conftest$ac_exeext conftest.$ac_ext
83505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83507 if test `eval echo '${'$as_ac_var'}'` = yes; then
83508 cat >>confdefs.h <<_ACEOF
83509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83510 _ACEOF
83512 else
83513 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83515 done
83519 for ac_func in __signbit
83521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83522 echo "$as_me:$LINENO: checking for $ac_func" >&5
83523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83524 if eval "test \"\${$as_ac_var+set}\" = set"; then
83525 echo $ECHO_N "(cached) $ECHO_C" >&6
83526 else
83527 if test x$gcc_no_link = xyes; then
83528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83530 { (exit 1); exit 1; }; }
83532 cat >conftest.$ac_ext <<_ACEOF
83533 /* confdefs.h. */
83534 _ACEOF
83535 cat confdefs.h >>conftest.$ac_ext
83536 cat >>conftest.$ac_ext <<_ACEOF
83537 /* end confdefs.h. */
83538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83540 #define $ac_func innocuous_$ac_func
83542 /* System header to define __stub macros and hopefully few prototypes,
83543 which can conflict with char $ac_func (); below.
83544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83545 <limits.h> exists even on freestanding compilers. */
83547 #ifdef __STDC__
83548 # include <limits.h>
83549 #else
83550 # include <assert.h>
83551 #endif
83553 #undef $ac_func
83555 /* Override any gcc2 internal prototype to avoid an error. */
83556 #ifdef __cplusplus
83557 extern "C"
83559 #endif
83560 /* We use char because int might match the return type of a gcc2
83561 builtin and then its argument prototype would still apply. */
83562 char $ac_func ();
83563 /* The GNU C library defines this for functions which it implements
83564 to always fail with ENOSYS. Some functions are actually named
83565 something starting with __ and the normal name is an alias. */
83566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83567 choke me
83568 #else
83569 char (*f) () = $ac_func;
83570 #endif
83571 #ifdef __cplusplus
83573 #endif
83576 main ()
83578 return f != $ac_func;
83580 return 0;
83582 _ACEOF
83583 rm -f conftest.$ac_objext conftest$ac_exeext
83584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83585 (eval $ac_link) 2>conftest.er1
83586 ac_status=$?
83587 grep -v '^ *+' conftest.er1 >conftest.err
83588 rm -f conftest.er1
83589 cat conftest.err >&5
83590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83591 (exit $ac_status); } &&
83592 { ac_try='test -z "$ac_c_werror_flag"
83593 || test ! -s conftest.err'
83594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83595 (eval $ac_try) 2>&5
83596 ac_status=$?
83597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83598 (exit $ac_status); }; } &&
83599 { ac_try='test -s conftest$ac_exeext'
83600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83601 (eval $ac_try) 2>&5
83602 ac_status=$?
83603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83604 (exit $ac_status); }; }; then
83605 eval "$as_ac_var=yes"
83606 else
83607 echo "$as_me: failed program was:" >&5
83608 sed 's/^/| /' conftest.$ac_ext >&5
83610 eval "$as_ac_var=no"
83612 rm -f conftest.err conftest.$ac_objext \
83613 conftest$ac_exeext conftest.$ac_ext
83615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83617 if test `eval echo '${'$as_ac_var'}'` = yes; then
83618 cat >>confdefs.h <<_ACEOF
83619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83620 _ACEOF
83622 else
83623 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83625 done
83629 for ac_func in __signbitf
83631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83632 echo "$as_me:$LINENO: checking for $ac_func" >&5
83633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83634 if eval "test \"\${$as_ac_var+set}\" = set"; then
83635 echo $ECHO_N "(cached) $ECHO_C" >&6
83636 else
83637 if test x$gcc_no_link = xyes; then
83638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83640 { (exit 1); exit 1; }; }
83642 cat >conftest.$ac_ext <<_ACEOF
83643 /* confdefs.h. */
83644 _ACEOF
83645 cat confdefs.h >>conftest.$ac_ext
83646 cat >>conftest.$ac_ext <<_ACEOF
83647 /* end confdefs.h. */
83648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83650 #define $ac_func innocuous_$ac_func
83652 /* System header to define __stub macros and hopefully few prototypes,
83653 which can conflict with char $ac_func (); below.
83654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83655 <limits.h> exists even on freestanding compilers. */
83657 #ifdef __STDC__
83658 # include <limits.h>
83659 #else
83660 # include <assert.h>
83661 #endif
83663 #undef $ac_func
83665 /* Override any gcc2 internal prototype to avoid an error. */
83666 #ifdef __cplusplus
83667 extern "C"
83669 #endif
83670 /* We use char because int might match the return type of a gcc2
83671 builtin and then its argument prototype would still apply. */
83672 char $ac_func ();
83673 /* The GNU C library defines this for functions which it implements
83674 to always fail with ENOSYS. Some functions are actually named
83675 something starting with __ and the normal name is an alias. */
83676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83677 choke me
83678 #else
83679 char (*f) () = $ac_func;
83680 #endif
83681 #ifdef __cplusplus
83683 #endif
83686 main ()
83688 return f != $ac_func;
83690 return 0;
83692 _ACEOF
83693 rm -f conftest.$ac_objext conftest$ac_exeext
83694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83695 (eval $ac_link) 2>conftest.er1
83696 ac_status=$?
83697 grep -v '^ *+' conftest.er1 >conftest.err
83698 rm -f conftest.er1
83699 cat conftest.err >&5
83700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83701 (exit $ac_status); } &&
83702 { ac_try='test -z "$ac_c_werror_flag"
83703 || test ! -s conftest.err'
83704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83705 (eval $ac_try) 2>&5
83706 ac_status=$?
83707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83708 (exit $ac_status); }; } &&
83709 { ac_try='test -s conftest$ac_exeext'
83710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83711 (eval $ac_try) 2>&5
83712 ac_status=$?
83713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83714 (exit $ac_status); }; }; then
83715 eval "$as_ac_var=yes"
83716 else
83717 echo "$as_me: failed program was:" >&5
83718 sed 's/^/| /' conftest.$ac_ext >&5
83720 eval "$as_ac_var=no"
83722 rm -f conftest.err conftest.$ac_objext \
83723 conftest$ac_exeext conftest.$ac_ext
83725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83727 if test `eval echo '${'$as_ac_var'}'` = yes; then
83728 cat >>confdefs.h <<_ACEOF
83729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83730 _ACEOF
83732 else
83733 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83735 done
83738 if test x$ac_cv_func_copysignl = x"yes"; then
83740 for ac_func in __signbitl
83742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83743 echo "$as_me:$LINENO: checking for $ac_func" >&5
83744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83745 if eval "test \"\${$as_ac_var+set}\" = set"; then
83746 echo $ECHO_N "(cached) $ECHO_C" >&6
83747 else
83748 if test x$gcc_no_link = xyes; then
83749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83751 { (exit 1); exit 1; }; }
83753 cat >conftest.$ac_ext <<_ACEOF
83754 /* confdefs.h. */
83755 _ACEOF
83756 cat confdefs.h >>conftest.$ac_ext
83757 cat >>conftest.$ac_ext <<_ACEOF
83758 /* end confdefs.h. */
83759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83761 #define $ac_func innocuous_$ac_func
83763 /* System header to define __stub macros and hopefully few prototypes,
83764 which can conflict with char $ac_func (); below.
83765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83766 <limits.h> exists even on freestanding compilers. */
83768 #ifdef __STDC__
83769 # include <limits.h>
83770 #else
83771 # include <assert.h>
83772 #endif
83774 #undef $ac_func
83776 /* Override any gcc2 internal prototype to avoid an error. */
83777 #ifdef __cplusplus
83778 extern "C"
83780 #endif
83781 /* We use char because int might match the return type of a gcc2
83782 builtin and then its argument prototype would still apply. */
83783 char $ac_func ();
83784 /* The GNU C library defines this for functions which it implements
83785 to always fail with ENOSYS. Some functions are actually named
83786 something starting with __ and the normal name is an alias. */
83787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83788 choke me
83789 #else
83790 char (*f) () = $ac_func;
83791 #endif
83792 #ifdef __cplusplus
83794 #endif
83797 main ()
83799 return f != $ac_func;
83801 return 0;
83803 _ACEOF
83804 rm -f conftest.$ac_objext conftest$ac_exeext
83805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83806 (eval $ac_link) 2>conftest.er1
83807 ac_status=$?
83808 grep -v '^ *+' conftest.er1 >conftest.err
83809 rm -f conftest.er1
83810 cat conftest.err >&5
83811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83812 (exit $ac_status); } &&
83813 { ac_try='test -z "$ac_c_werror_flag"
83814 || test ! -s conftest.err'
83815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83816 (eval $ac_try) 2>&5
83817 ac_status=$?
83818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83819 (exit $ac_status); }; } &&
83820 { ac_try='test -s conftest$ac_exeext'
83821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83822 (eval $ac_try) 2>&5
83823 ac_status=$?
83824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83825 (exit $ac_status); }; }; then
83826 eval "$as_ac_var=yes"
83827 else
83828 echo "$as_me: failed program was:" >&5
83829 sed 's/^/| /' conftest.$ac_ext >&5
83831 eval "$as_ac_var=no"
83833 rm -f conftest.err conftest.$ac_objext \
83834 conftest$ac_exeext conftest.$ac_ext
83836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83838 if test `eval echo '${'$as_ac_var'}'` = yes; then
83839 cat >>confdefs.h <<_ACEOF
83840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83841 _ACEOF
83843 else
83844 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83846 done
83850 # Used in libmath/Makefile.am.
83851 if test -n "$LIBMATHOBJS"; then
83852 need_libmath=yes
83857 ac_test_CXXFLAGS="${CXXFLAGS+set}"
83858 ac_save_CXXFLAGS="$CXXFLAGS"
83859 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
83862 echo "$as_me:$LINENO: checking for strtold declaration" >&5
83863 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
83864 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
83865 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
83866 echo $ECHO_N "(cached) $ECHO_C" >&6
83867 else
83871 ac_ext=cc
83872 ac_cpp='$CXXCPP $CPPFLAGS'
83873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83877 cat >conftest.$ac_ext <<_ACEOF
83878 /* confdefs.h. */
83879 _ACEOF
83880 cat confdefs.h >>conftest.$ac_ext
83881 cat >>conftest.$ac_ext <<_ACEOF
83882 /* end confdefs.h. */
83883 #include <stdlib.h>
83885 main ()
83887 strtold(0, 0);
83889 return 0;
83891 _ACEOF
83892 rm -f conftest.$ac_objext
83893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83894 (eval $ac_compile) 2>conftest.er1
83895 ac_status=$?
83896 grep -v '^ *+' conftest.er1 >conftest.err
83897 rm -f conftest.er1
83898 cat conftest.err >&5
83899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83900 (exit $ac_status); } &&
83901 { ac_try='test -z "$ac_cxx_werror_flag"
83902 || test ! -s conftest.err'
83903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83904 (eval $ac_try) 2>&5
83905 ac_status=$?
83906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83907 (exit $ac_status); }; } &&
83908 { ac_try='test -s conftest.$ac_objext'
83909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83910 (eval $ac_try) 2>&5
83911 ac_status=$?
83912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83913 (exit $ac_status); }; }; then
83914 glibcxx_cv_func_strtold_use=yes
83915 else
83916 echo "$as_me: failed program was:" >&5
83917 sed 's/^/| /' conftest.$ac_ext >&5
83919 glibcxx_cv_func_strtold_use=no
83921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83922 ac_ext=c
83923 ac_cpp='$CPP $CPPFLAGS'
83924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83932 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
83933 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
83934 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
83936 for ac_func in strtold
83938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83939 echo "$as_me:$LINENO: checking for $ac_func" >&5
83940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83941 if eval "test \"\${$as_ac_var+set}\" = set"; then
83942 echo $ECHO_N "(cached) $ECHO_C" >&6
83943 else
83944 if test x$gcc_no_link = xyes; then
83945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83947 { (exit 1); exit 1; }; }
83949 cat >conftest.$ac_ext <<_ACEOF
83950 /* confdefs.h. */
83951 _ACEOF
83952 cat confdefs.h >>conftest.$ac_ext
83953 cat >>conftest.$ac_ext <<_ACEOF
83954 /* end confdefs.h. */
83955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83957 #define $ac_func innocuous_$ac_func
83959 /* System header to define __stub macros and hopefully few prototypes,
83960 which can conflict with char $ac_func (); below.
83961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83962 <limits.h> exists even on freestanding compilers. */
83964 #ifdef __STDC__
83965 # include <limits.h>
83966 #else
83967 # include <assert.h>
83968 #endif
83970 #undef $ac_func
83972 /* Override any gcc2 internal prototype to avoid an error. */
83973 #ifdef __cplusplus
83974 extern "C"
83976 #endif
83977 /* We use char because int might match the return type of a gcc2
83978 builtin and then its argument prototype would still apply. */
83979 char $ac_func ();
83980 /* The GNU C library defines this for functions which it implements
83981 to always fail with ENOSYS. Some functions are actually named
83982 something starting with __ and the normal name is an alias. */
83983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83984 choke me
83985 #else
83986 char (*f) () = $ac_func;
83987 #endif
83988 #ifdef __cplusplus
83990 #endif
83993 main ()
83995 return f != $ac_func;
83997 return 0;
83999 _ACEOF
84000 rm -f conftest.$ac_objext conftest$ac_exeext
84001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84002 (eval $ac_link) 2>conftest.er1
84003 ac_status=$?
84004 grep -v '^ *+' conftest.er1 >conftest.err
84005 rm -f conftest.er1
84006 cat conftest.err >&5
84007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84008 (exit $ac_status); } &&
84009 { ac_try='test -z "$ac_c_werror_flag"
84010 || test ! -s conftest.err'
84011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84012 (eval $ac_try) 2>&5
84013 ac_status=$?
84014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84015 (exit $ac_status); }; } &&
84016 { ac_try='test -s conftest$ac_exeext'
84017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84018 (eval $ac_try) 2>&5
84019 ac_status=$?
84020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84021 (exit $ac_status); }; }; then
84022 eval "$as_ac_var=yes"
84023 else
84024 echo "$as_me: failed program was:" >&5
84025 sed 's/^/| /' conftest.$ac_ext >&5
84027 eval "$as_ac_var=no"
84029 rm -f conftest.err conftest.$ac_objext \
84030 conftest$ac_exeext conftest.$ac_ext
84032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84034 if test `eval echo '${'$as_ac_var'}'` = yes; then
84035 cat >>confdefs.h <<_ACEOF
84036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84037 _ACEOF
84040 done
84048 echo "$as_me:$LINENO: checking for strtof declaration" >&5
84049 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
84050 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
84051 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
84052 echo $ECHO_N "(cached) $ECHO_C" >&6
84053 else
84057 ac_ext=cc
84058 ac_cpp='$CXXCPP $CPPFLAGS'
84059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84063 cat >conftest.$ac_ext <<_ACEOF
84064 /* confdefs.h. */
84065 _ACEOF
84066 cat confdefs.h >>conftest.$ac_ext
84067 cat >>conftest.$ac_ext <<_ACEOF
84068 /* end confdefs.h. */
84069 #include <stdlib.h>
84071 main ()
84073 strtof(0, 0);
84075 return 0;
84077 _ACEOF
84078 rm -f conftest.$ac_objext
84079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84080 (eval $ac_compile) 2>conftest.er1
84081 ac_status=$?
84082 grep -v '^ *+' conftest.er1 >conftest.err
84083 rm -f conftest.er1
84084 cat conftest.err >&5
84085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84086 (exit $ac_status); } &&
84087 { ac_try='test -z "$ac_cxx_werror_flag"
84088 || test ! -s conftest.err'
84089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84090 (eval $ac_try) 2>&5
84091 ac_status=$?
84092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84093 (exit $ac_status); }; } &&
84094 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
84100 glibcxx_cv_func_strtof_use=yes
84101 else
84102 echo "$as_me: failed program was:" >&5
84103 sed 's/^/| /' conftest.$ac_ext >&5
84105 glibcxx_cv_func_strtof_use=no
84107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84108 ac_ext=c
84109 ac_cpp='$CPP $CPPFLAGS'
84110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84118 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
84119 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
84120 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
84122 for ac_func in strtof
84124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84125 echo "$as_me:$LINENO: checking for $ac_func" >&5
84126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84127 if eval "test \"\${$as_ac_var+set}\" = set"; then
84128 echo $ECHO_N "(cached) $ECHO_C" >&6
84129 else
84130 if test x$gcc_no_link = xyes; then
84131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84133 { (exit 1); exit 1; }; }
84135 cat >conftest.$ac_ext <<_ACEOF
84136 /* confdefs.h. */
84137 _ACEOF
84138 cat confdefs.h >>conftest.$ac_ext
84139 cat >>conftest.$ac_ext <<_ACEOF
84140 /* end confdefs.h. */
84141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84143 #define $ac_func innocuous_$ac_func
84145 /* System header to define __stub macros and hopefully few prototypes,
84146 which can conflict with char $ac_func (); below.
84147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84148 <limits.h> exists even on freestanding compilers. */
84150 #ifdef __STDC__
84151 # include <limits.h>
84152 #else
84153 # include <assert.h>
84154 #endif
84156 #undef $ac_func
84158 /* Override any gcc2 internal prototype to avoid an error. */
84159 #ifdef __cplusplus
84160 extern "C"
84162 #endif
84163 /* We use char because int might match the return type of a gcc2
84164 builtin and then its argument prototype would still apply. */
84165 char $ac_func ();
84166 /* The GNU C library defines this for functions which it implements
84167 to always fail with ENOSYS. Some functions are actually named
84168 something starting with __ and the normal name is an alias. */
84169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84170 choke me
84171 #else
84172 char (*f) () = $ac_func;
84173 #endif
84174 #ifdef __cplusplus
84176 #endif
84179 main ()
84181 return f != $ac_func;
84183 return 0;
84185 _ACEOF
84186 rm -f conftest.$ac_objext conftest$ac_exeext
84187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84188 (eval $ac_link) 2>conftest.er1
84189 ac_status=$?
84190 grep -v '^ *+' conftest.er1 >conftest.err
84191 rm -f conftest.er1
84192 cat conftest.err >&5
84193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84194 (exit $ac_status); } &&
84195 { ac_try='test -z "$ac_c_werror_flag"
84196 || test ! -s conftest.err'
84197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84198 (eval $ac_try) 2>&5
84199 ac_status=$?
84200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84201 (exit $ac_status); }; } &&
84202 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
84208 eval "$as_ac_var=yes"
84209 else
84210 echo "$as_me: failed program was:" >&5
84211 sed 's/^/| /' conftest.$ac_ext >&5
84213 eval "$as_ac_var=no"
84215 rm -f conftest.err conftest.$ac_objext \
84216 conftest$ac_exeext conftest.$ac_ext
84218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84220 if test `eval echo '${'$as_ac_var'}'` = yes; then
84221 cat >>confdefs.h <<_ACEOF
84222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84223 _ACEOF
84226 done
84234 CXXFLAGS="$ac_save_CXXFLAGS"
84237 # For showmanyc_helper().
84240 for ac_header in sys/ioctl.h sys/filio.h
84242 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84244 echo "$as_me:$LINENO: checking for $ac_header" >&5
84245 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84246 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84247 echo $ECHO_N "(cached) $ECHO_C" >&6
84249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84251 else
84252 # Is the header compilable?
84253 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84254 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
84262 #include <$ac_header>
84263 _ACEOF
84264 rm -f conftest.$ac_objext
84265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84266 (eval $ac_compile) 2>conftest.er1
84267 ac_status=$?
84268 grep -v '^ *+' conftest.er1 >conftest.err
84269 rm -f conftest.er1
84270 cat conftest.err >&5
84271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84272 (exit $ac_status); } &&
84273 { ac_try='test -z "$ac_c_werror_flag"
84274 || test ! -s conftest.err'
84275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84276 (eval $ac_try) 2>&5
84277 ac_status=$?
84278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84279 (exit $ac_status); }; } &&
84280 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
84286 ac_header_compiler=yes
84287 else
84288 echo "$as_me: failed program was:" >&5
84289 sed 's/^/| /' conftest.$ac_ext >&5
84291 ac_header_compiler=no
84293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84295 echo "${ECHO_T}$ac_header_compiler" >&6
84297 # Is the header present?
84298 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84299 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84300 cat >conftest.$ac_ext <<_ACEOF
84301 /* confdefs.h. */
84302 _ACEOF
84303 cat confdefs.h >>conftest.$ac_ext
84304 cat >>conftest.$ac_ext <<_ACEOF
84305 /* end confdefs.h. */
84306 #include <$ac_header>
84307 _ACEOF
84308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84309 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84310 ac_status=$?
84311 grep -v '^ *+' conftest.er1 >conftest.err
84312 rm -f conftest.er1
84313 cat conftest.err >&5
84314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84315 (exit $ac_status); } >/dev/null; then
84316 if test -s conftest.err; then
84317 ac_cpp_err=$ac_c_preproc_warn_flag
84318 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84319 else
84320 ac_cpp_err=
84322 else
84323 ac_cpp_err=yes
84325 if test -z "$ac_cpp_err"; then
84326 ac_header_preproc=yes
84327 else
84328 echo "$as_me: failed program was:" >&5
84329 sed 's/^/| /' conftest.$ac_ext >&5
84331 ac_header_preproc=no
84333 rm -f conftest.err conftest.$ac_ext
84334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84335 echo "${ECHO_T}$ac_header_preproc" >&6
84337 # So? What about this header?
84338 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84339 yes:no: )
84340 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84341 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84342 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84343 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84344 ac_header_preproc=yes
84346 no:yes:* )
84347 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84348 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84349 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84350 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84351 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84352 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84353 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84354 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84355 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84356 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84357 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84358 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84360 cat <<\_ASBOX
84361 ## ----------------------------------------- ##
84362 ## Report this to the package-unused lists. ##
84363 ## ----------------------------------------- ##
84364 _ASBOX
84366 sed "s/^/$as_me: WARNING: /" >&2
84368 esac
84369 echo "$as_me:$LINENO: checking for $ac_header" >&5
84370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84372 echo $ECHO_N "(cached) $ECHO_C" >&6
84373 else
84374 eval "$as_ac_Header=\$ac_header_preproc"
84376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84381 cat >>confdefs.h <<_ACEOF
84382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84383 _ACEOF
84387 done
84390 echo "$as_me:$LINENO: checking for poll" >&5
84391 echo $ECHO_N "checking for poll... $ECHO_C" >&6
84392 if test "${glibcxx_cv_POLL+set}" = set; then
84393 echo $ECHO_N "(cached) $ECHO_C" >&6
84394 else
84396 if test x$gcc_no_link = xyes; then
84397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84399 { (exit 1); exit 1; }; }
84401 cat >conftest.$ac_ext <<_ACEOF
84402 /* confdefs.h. */
84403 _ACEOF
84404 cat confdefs.h >>conftest.$ac_ext
84405 cat >>conftest.$ac_ext <<_ACEOF
84406 /* end confdefs.h. */
84407 #include <poll.h>
84409 main ()
84411 struct pollfd pfd[1];
84412 pfd[0].events = POLLIN;
84413 poll(pfd, 1, 0);
84415 return 0;
84417 _ACEOF
84418 rm -f conftest.$ac_objext conftest$ac_exeext
84419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84420 (eval $ac_link) 2>conftest.er1
84421 ac_status=$?
84422 grep -v '^ *+' conftest.er1 >conftest.err
84423 rm -f conftest.er1
84424 cat conftest.err >&5
84425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84426 (exit $ac_status); } &&
84427 { ac_try='test -z "$ac_c_werror_flag"
84428 || test ! -s conftest.err'
84429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84430 (eval $ac_try) 2>&5
84431 ac_status=$?
84432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84433 (exit $ac_status); }; } &&
84434 { ac_try='test -s conftest$ac_exeext'
84435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84436 (eval $ac_try) 2>&5
84437 ac_status=$?
84438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84439 (exit $ac_status); }; }; then
84440 glibcxx_cv_POLL=yes
84441 else
84442 echo "$as_me: failed program was:" >&5
84443 sed 's/^/| /' conftest.$ac_ext >&5
84445 glibcxx_cv_POLL=no
84447 rm -f conftest.err conftest.$ac_objext \
84448 conftest$ac_exeext conftest.$ac_ext
84452 if test $glibcxx_cv_POLL = yes; then
84454 cat >>confdefs.h <<\_ACEOF
84455 #define HAVE_POLL 1
84456 _ACEOF
84459 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
84460 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
84463 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
84464 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
84465 if test "${glibcxx_cv_S_ISREG+set}" = set; then
84466 echo $ECHO_N "(cached) $ECHO_C" >&6
84467 else
84469 if test x$gcc_no_link = xyes; then
84470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84472 { (exit 1); exit 1; }; }
84474 cat >conftest.$ac_ext <<_ACEOF
84475 /* confdefs.h. */
84476 _ACEOF
84477 cat confdefs.h >>conftest.$ac_ext
84478 cat >>conftest.$ac_ext <<_ACEOF
84479 /* end confdefs.h. */
84480 #include <sys/stat.h>
84482 main ()
84484 struct stat buffer;
84485 fstat(0, &buffer);
84486 S_ISREG(buffer.st_mode);
84488 return 0;
84490 _ACEOF
84491 rm -f conftest.$ac_objext conftest$ac_exeext
84492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84493 (eval $ac_link) 2>conftest.er1
84494 ac_status=$?
84495 grep -v '^ *+' conftest.er1 >conftest.err
84496 rm -f conftest.er1
84497 cat conftest.err >&5
84498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84499 (exit $ac_status); } &&
84500 { ac_try='test -z "$ac_c_werror_flag"
84501 || test ! -s conftest.err'
84502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84503 (eval $ac_try) 2>&5
84504 ac_status=$?
84505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84506 (exit $ac_status); }; } &&
84507 { ac_try='test -s conftest$ac_exeext'
84508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84509 (eval $ac_try) 2>&5
84510 ac_status=$?
84511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84512 (exit $ac_status); }; }; then
84513 glibcxx_cv_S_ISREG=yes
84514 else
84515 echo "$as_me: failed program was:" >&5
84516 sed 's/^/| /' conftest.$ac_ext >&5
84518 glibcxx_cv_S_ISREG=no
84520 rm -f conftest.err conftest.$ac_objext \
84521 conftest$ac_exeext conftest.$ac_ext
84525 if test "${glibcxx_cv_S_IFREG+set}" = set; then
84526 echo $ECHO_N "(cached) $ECHO_C" >&6
84527 else
84529 if test x$gcc_no_link = xyes; then
84530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84532 { (exit 1); exit 1; }; }
84534 cat >conftest.$ac_ext <<_ACEOF
84535 /* confdefs.h. */
84536 _ACEOF
84537 cat confdefs.h >>conftest.$ac_ext
84538 cat >>conftest.$ac_ext <<_ACEOF
84539 /* end confdefs.h. */
84540 #include <sys/stat.h>
84542 main ()
84544 struct stat buffer;
84545 fstat(0, &buffer);
84546 S_IFREG & buffer.st_mode;
84548 return 0;
84550 _ACEOF
84551 rm -f conftest.$ac_objext conftest$ac_exeext
84552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84553 (eval $ac_link) 2>conftest.er1
84554 ac_status=$?
84555 grep -v '^ *+' conftest.er1 >conftest.err
84556 rm -f conftest.er1
84557 cat conftest.err >&5
84558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84559 (exit $ac_status); } &&
84560 { ac_try='test -z "$ac_c_werror_flag"
84561 || test ! -s conftest.err'
84562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84563 (eval $ac_try) 2>&5
84564 ac_status=$?
84565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84566 (exit $ac_status); }; } &&
84567 { ac_try='test -s conftest$ac_exeext'
84568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84569 (eval $ac_try) 2>&5
84570 ac_status=$?
84571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84572 (exit $ac_status); }; }; then
84573 glibcxx_cv_S_IFREG=yes
84574 else
84575 echo "$as_me: failed program was:" >&5
84576 sed 's/^/| /' conftest.$ac_ext >&5
84578 glibcxx_cv_S_IFREG=no
84580 rm -f conftest.err conftest.$ac_objext \
84581 conftest$ac_exeext conftest.$ac_ext
84585 res=no
84586 if test $glibcxx_cv_S_ISREG = yes; then
84588 cat >>confdefs.h <<\_ACEOF
84589 #define HAVE_S_ISREG 1
84590 _ACEOF
84592 res=S_ISREG
84593 elif test $glibcxx_cv_S_IFREG = yes; then
84595 cat >>confdefs.h <<\_ACEOF
84596 #define HAVE_S_IFREG 1
84597 _ACEOF
84599 res=S_IFREG
84601 echo "$as_me:$LINENO: result: $res" >&5
84602 echo "${ECHO_T}$res" >&6
84605 # For xsputn_2().
84607 for ac_header in sys/uio.h
84609 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84611 echo "$as_me:$LINENO: checking for $ac_header" >&5
84612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84614 echo $ECHO_N "(cached) $ECHO_C" >&6
84616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84618 else
84619 # Is the header compilable?
84620 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84621 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84622 cat >conftest.$ac_ext <<_ACEOF
84623 /* confdefs.h. */
84624 _ACEOF
84625 cat confdefs.h >>conftest.$ac_ext
84626 cat >>conftest.$ac_ext <<_ACEOF
84627 /* end confdefs.h. */
84628 $ac_includes_default
84629 #include <$ac_header>
84630 _ACEOF
84631 rm -f conftest.$ac_objext
84632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84633 (eval $ac_compile) 2>conftest.er1
84634 ac_status=$?
84635 grep -v '^ *+' conftest.er1 >conftest.err
84636 rm -f conftest.er1
84637 cat conftest.err >&5
84638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84639 (exit $ac_status); } &&
84640 { ac_try='test -z "$ac_c_werror_flag"
84641 || test ! -s conftest.err'
84642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84643 (eval $ac_try) 2>&5
84644 ac_status=$?
84645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84646 (exit $ac_status); }; } &&
84647 { ac_try='test -s conftest.$ac_objext'
84648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84649 (eval $ac_try) 2>&5
84650 ac_status=$?
84651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84652 (exit $ac_status); }; }; then
84653 ac_header_compiler=yes
84654 else
84655 echo "$as_me: failed program was:" >&5
84656 sed 's/^/| /' conftest.$ac_ext >&5
84658 ac_header_compiler=no
84660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84661 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84662 echo "${ECHO_T}$ac_header_compiler" >&6
84664 # Is the header present?
84665 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84666 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84667 cat >conftest.$ac_ext <<_ACEOF
84668 /* confdefs.h. */
84669 _ACEOF
84670 cat confdefs.h >>conftest.$ac_ext
84671 cat >>conftest.$ac_ext <<_ACEOF
84672 /* end confdefs.h. */
84673 #include <$ac_header>
84674 _ACEOF
84675 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84676 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84677 ac_status=$?
84678 grep -v '^ *+' conftest.er1 >conftest.err
84679 rm -f conftest.er1
84680 cat conftest.err >&5
84681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84682 (exit $ac_status); } >/dev/null; then
84683 if test -s conftest.err; then
84684 ac_cpp_err=$ac_c_preproc_warn_flag
84685 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84686 else
84687 ac_cpp_err=
84689 else
84690 ac_cpp_err=yes
84692 if test -z "$ac_cpp_err"; then
84693 ac_header_preproc=yes
84694 else
84695 echo "$as_me: failed program was:" >&5
84696 sed 's/^/| /' conftest.$ac_ext >&5
84698 ac_header_preproc=no
84700 rm -f conftest.err conftest.$ac_ext
84701 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84702 echo "${ECHO_T}$ac_header_preproc" >&6
84704 # So? What about this header?
84705 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84706 yes:no: )
84707 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84708 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84710 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84711 ac_header_preproc=yes
84713 no:yes:* )
84714 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84715 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84716 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84717 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84718 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84719 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84720 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84721 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84722 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84723 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84724 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84725 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84727 cat <<\_ASBOX
84728 ## ----------------------------------------- ##
84729 ## Report this to the package-unused lists. ##
84730 ## ----------------------------------------- ##
84731 _ASBOX
84733 sed "s/^/$as_me: WARNING: /" >&2
84735 esac
84736 echo "$as_me:$LINENO: checking for $ac_header" >&5
84737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84739 echo $ECHO_N "(cached) $ECHO_C" >&6
84740 else
84741 eval "$as_ac_Header=\$ac_header_preproc"
84743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84748 cat >>confdefs.h <<_ACEOF
84749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84750 _ACEOF
84754 done
84757 echo "$as_me:$LINENO: checking for writev" >&5
84758 echo $ECHO_N "checking for writev... $ECHO_C" >&6
84759 if test "${glibcxx_cv_WRITEV+set}" = set; then
84760 echo $ECHO_N "(cached) $ECHO_C" >&6
84761 else
84763 if test x$gcc_no_link = xyes; then
84764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84766 { (exit 1); exit 1; }; }
84768 cat >conftest.$ac_ext <<_ACEOF
84769 /* confdefs.h. */
84770 _ACEOF
84771 cat confdefs.h >>conftest.$ac_ext
84772 cat >>conftest.$ac_ext <<_ACEOF
84773 /* end confdefs.h. */
84774 #include <sys/uio.h>
84776 main ()
84778 struct iovec iov[2];
84779 writev(0, iov, 0);
84781 return 0;
84783 _ACEOF
84784 rm -f conftest.$ac_objext conftest$ac_exeext
84785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84786 (eval $ac_link) 2>conftest.er1
84787 ac_status=$?
84788 grep -v '^ *+' conftest.er1 >conftest.err
84789 rm -f conftest.er1
84790 cat conftest.err >&5
84791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84792 (exit $ac_status); } &&
84793 { ac_try='test -z "$ac_c_werror_flag"
84794 || test ! -s conftest.err'
84795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84796 (eval $ac_try) 2>&5
84797 ac_status=$?
84798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84799 (exit $ac_status); }; } &&
84800 { ac_try='test -s conftest$ac_exeext'
84801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84802 (eval $ac_try) 2>&5
84803 ac_status=$?
84804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84805 (exit $ac_status); }; }; then
84806 glibcxx_cv_WRITEV=yes
84807 else
84808 echo "$as_me: failed program was:" >&5
84809 sed 's/^/| /' conftest.$ac_ext >&5
84811 glibcxx_cv_WRITEV=no
84813 rm -f conftest.err conftest.$ac_objext \
84814 conftest$ac_exeext conftest.$ac_ext
84818 if test $glibcxx_cv_WRITEV = yes; then
84820 cat >>confdefs.h <<\_ACEOF
84821 #define HAVE_WRITEV 1
84822 _ACEOF
84825 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
84826 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
84829 cat >>confdefs.h <<\_ACEOF
84830 #define HAVE_LC_MESSAGES 1
84831 _ACEOF
84834 cat >conftest.$ac_ext <<_ACEOF
84835 /* confdefs.h. */
84836 _ACEOF
84837 cat confdefs.h >>conftest.$ac_ext
84838 cat >>conftest.$ac_ext <<_ACEOF
84839 /* end confdefs.h. */
84840 #include <setjmp.h>
84842 main ()
84844 sigjmp_buf env;
84845 while (! sigsetjmp (env, 1))
84846 siglongjmp (env, 1);
84849 return 0;
84851 _ACEOF
84852 rm -f conftest.$ac_objext
84853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84854 (eval $ac_compile) 2>conftest.er1
84855 ac_status=$?
84856 grep -v '^ *+' conftest.er1 >conftest.err
84857 rm -f conftest.er1
84858 cat conftest.err >&5
84859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84860 (exit $ac_status); } &&
84861 { ac_try='test -z "$ac_c_werror_flag"
84862 || test ! -s conftest.err'
84863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84864 (eval $ac_try) 2>&5
84865 ac_status=$?
84866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84867 (exit $ac_status); }; } &&
84868 { ac_try='test -s conftest.$ac_objext'
84869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84870 (eval $ac_try) 2>&5
84871 ac_status=$?
84872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84873 (exit $ac_status); }; }; then
84875 cat >>confdefs.h <<\_ACEOF
84876 #define HAVE_SIGSETJMP 1
84877 _ACEOF
84879 else
84880 echo "$as_me: failed program was:" >&5
84881 sed 's/^/| /' conftest.$ac_ext >&5
84884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84886 cat >>confdefs.h <<\_ACEOF
84887 #define HAVE_MMAP 1
84888 _ACEOF
84892 *djgpp)
84913 for ac_header in float.h ieeefp.h inttypes.h locale.h \
84914 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
84915 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
84916 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
84918 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84920 echo "$as_me:$LINENO: checking for $ac_header" >&5
84921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84923 echo $ECHO_N "(cached) $ECHO_C" >&6
84925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84927 else
84928 # Is the header compilable?
84929 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84930 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84931 cat >conftest.$ac_ext <<_ACEOF
84932 /* confdefs.h. */
84933 _ACEOF
84934 cat confdefs.h >>conftest.$ac_ext
84935 cat >>conftest.$ac_ext <<_ACEOF
84936 /* end confdefs.h. */
84937 $ac_includes_default
84938 #include <$ac_header>
84939 _ACEOF
84940 rm -f conftest.$ac_objext
84941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84942 (eval $ac_compile) 2>conftest.er1
84943 ac_status=$?
84944 grep -v '^ *+' conftest.er1 >conftest.err
84945 rm -f conftest.er1
84946 cat conftest.err >&5
84947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84948 (exit $ac_status); } &&
84949 { ac_try='test -z "$ac_c_werror_flag"
84950 || test ! -s conftest.err'
84951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84952 (eval $ac_try) 2>&5
84953 ac_status=$?
84954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84955 (exit $ac_status); }; } &&
84956 { ac_try='test -s conftest.$ac_objext'
84957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84958 (eval $ac_try) 2>&5
84959 ac_status=$?
84960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84961 (exit $ac_status); }; }; then
84962 ac_header_compiler=yes
84963 else
84964 echo "$as_me: failed program was:" >&5
84965 sed 's/^/| /' conftest.$ac_ext >&5
84967 ac_header_compiler=no
84969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84970 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84971 echo "${ECHO_T}$ac_header_compiler" >&6
84973 # Is the header present?
84974 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84975 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84976 cat >conftest.$ac_ext <<_ACEOF
84977 /* confdefs.h. */
84978 _ACEOF
84979 cat confdefs.h >>conftest.$ac_ext
84980 cat >>conftest.$ac_ext <<_ACEOF
84981 /* end confdefs.h. */
84982 #include <$ac_header>
84983 _ACEOF
84984 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84985 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84986 ac_status=$?
84987 grep -v '^ *+' conftest.er1 >conftest.err
84988 rm -f conftest.er1
84989 cat conftest.err >&5
84990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84991 (exit $ac_status); } >/dev/null; then
84992 if test -s conftest.err; then
84993 ac_cpp_err=$ac_c_preproc_warn_flag
84994 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84995 else
84996 ac_cpp_err=
84998 else
84999 ac_cpp_err=yes
85001 if test -z "$ac_cpp_err"; then
85002 ac_header_preproc=yes
85003 else
85004 echo "$as_me: failed program was:" >&5
85005 sed 's/^/| /' conftest.$ac_ext >&5
85007 ac_header_preproc=no
85009 rm -f conftest.err conftest.$ac_ext
85010 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85011 echo "${ECHO_T}$ac_header_preproc" >&6
85013 # So? What about this header?
85014 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85015 yes:no: )
85016 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85017 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85019 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85020 ac_header_preproc=yes
85022 no:yes:* )
85023 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85024 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85025 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85026 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85027 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85028 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85029 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85030 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85032 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85033 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85034 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85036 cat <<\_ASBOX
85037 ## ----------------------------------------- ##
85038 ## Report this to the package-unused lists. ##
85039 ## ----------------------------------------- ##
85040 _ASBOX
85042 sed "s/^/$as_me: WARNING: /" >&2
85044 esac
85045 echo "$as_me:$LINENO: checking for $ac_header" >&5
85046 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85048 echo $ECHO_N "(cached) $ECHO_C" >&6
85049 else
85050 eval "$as_ac_Header=\$ac_header_preproc"
85052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85053 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85056 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85057 cat >>confdefs.h <<_ACEOF
85058 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85059 _ACEOF
85063 done
85065 # GLIBCXX_CHECK_MATH_SUPPORT
85066 cat >>confdefs.h <<\_ACEOF
85067 #define HAVE_LIBM 1
85068 _ACEOF
85070 cat >>confdefs.h <<\_ACEOF
85071 #define HAVE_ISINF 1
85072 _ACEOF
85074 cat >>confdefs.h <<\_ACEOF
85075 #define HAVE_ISNAN 1
85076 _ACEOF
85078 cat >>confdefs.h <<\_ACEOF
85079 #define HAVE_FINITE 1
85080 _ACEOF
85082 cat >>confdefs.h <<\_ACEOF
85083 #define HAVE_COPYSIGN 1
85084 _ACEOF
85086 cat >>confdefs.h <<\_ACEOF
85087 #define HAVE_SINCOS 1
85088 _ACEOF
85090 cat >>confdefs.h <<\_ACEOF
85091 #define HAVE_HYPOT 1
85092 _ACEOF
85094 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
85095 cat >>confdefs.h <<\_ACEOF
85096 #define HAVE___BUILTIN_ABS 1
85097 _ACEOF
85099 cat >>confdefs.h <<\_ACEOF
85100 #define HAVE___BUILTIN_FABSF 1
85101 _ACEOF
85103 cat >>confdefs.h <<\_ACEOF
85104 #define HAVE___BUILTIN_FABS 1
85105 _ACEOF
85107 cat >>confdefs.h <<\_ACEOF
85108 #define HAVE___BUILTIN_FABSL 1
85109 _ACEOF
85111 cat >>confdefs.h <<\_ACEOF
85112 #define HAVE___BUILTIN_LABS 1
85113 _ACEOF
85115 cat >>confdefs.h <<\_ACEOF
85116 #define HAVE___BUILTIN_SQRTF 1
85117 _ACEOF
85119 cat >>confdefs.h <<\_ACEOF
85120 #define HAVE___BUILTIN_SQRT 1
85121 _ACEOF
85123 cat >>confdefs.h <<\_ACEOF
85124 #define HAVE___BUILTIN_SQRTL 1
85125 _ACEOF
85127 cat >>confdefs.h <<\_ACEOF
85128 #define HAVE___BUILTIN_SINF 1
85129 _ACEOF
85131 cat >>confdefs.h <<\_ACEOF
85132 #define HAVE___BUILTIN_SIN 1
85133 _ACEOF
85135 cat >>confdefs.h <<\_ACEOF
85136 #define HAVE___BUILTIN_SINL 1
85137 _ACEOF
85139 cat >>confdefs.h <<\_ACEOF
85140 #define HAVE___BUILTIN_COSF 1
85141 _ACEOF
85143 cat >>confdefs.h <<\_ACEOF
85144 #define HAVE___BUILTIN_COS 1
85145 _ACEOF
85147 cat >>confdefs.h <<\_ACEOF
85148 #define HAVE___BUILTIN_COSL 1
85149 _ACEOF
85151 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
85152 # GLIBCXX_CHECK_STDLIB_SUPPORT
85153 cat >>confdefs.h <<\_ACEOF
85154 #define HAVE_COPYSIGN 1
85155 _ACEOF
85157 cat >>confdefs.h <<\_ACEOF
85158 #define HAVE_COPYSIGNF 1
85159 _ACEOF
85161 # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
85162 cat >>confdefs.h <<\_ACEOF
85163 #define HAVE_S_ISREG 1
85164 _ACEOF
85166 cat >>confdefs.h <<\_ACEOF
85167 #define HAVE_S_IFREG 1
85168 _ACEOF
85170 cat >>confdefs.h <<\_ACEOF
85171 #define HAVE_WRITEV 1
85172 _ACEOF
85176 *-freebsd*)
85193 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
85194 machine/endian.h machine/param.h sys/machine.h sys/types.h \
85195 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
85196 sys/time.h unistd.h
85198 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85200 echo "$as_me:$LINENO: checking for $ac_header" >&5
85201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85202 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85203 echo $ECHO_N "(cached) $ECHO_C" >&6
85205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85207 else
85208 # Is the header compilable?
85209 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85210 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85211 cat >conftest.$ac_ext <<_ACEOF
85212 /* confdefs.h. */
85213 _ACEOF
85214 cat confdefs.h >>conftest.$ac_ext
85215 cat >>conftest.$ac_ext <<_ACEOF
85216 /* end confdefs.h. */
85217 $ac_includes_default
85218 #include <$ac_header>
85219 _ACEOF
85220 rm -f conftest.$ac_objext
85221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85222 (eval $ac_compile) 2>conftest.er1
85223 ac_status=$?
85224 grep -v '^ *+' conftest.er1 >conftest.err
85225 rm -f conftest.er1
85226 cat conftest.err >&5
85227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85228 (exit $ac_status); } &&
85229 { ac_try='test -z "$ac_c_werror_flag"
85230 || test ! -s conftest.err'
85231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85232 (eval $ac_try) 2>&5
85233 ac_status=$?
85234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85235 (exit $ac_status); }; } &&
85236 { ac_try='test -s conftest.$ac_objext'
85237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85238 (eval $ac_try) 2>&5
85239 ac_status=$?
85240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85241 (exit $ac_status); }; }; then
85242 ac_header_compiler=yes
85243 else
85244 echo "$as_me: failed program was:" >&5
85245 sed 's/^/| /' conftest.$ac_ext >&5
85247 ac_header_compiler=no
85249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85250 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85251 echo "${ECHO_T}$ac_header_compiler" >&6
85253 # Is the header present?
85254 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85255 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85256 cat >conftest.$ac_ext <<_ACEOF
85257 /* confdefs.h. */
85258 _ACEOF
85259 cat confdefs.h >>conftest.$ac_ext
85260 cat >>conftest.$ac_ext <<_ACEOF
85261 /* end confdefs.h. */
85262 #include <$ac_header>
85263 _ACEOF
85264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85265 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85266 ac_status=$?
85267 grep -v '^ *+' conftest.er1 >conftest.err
85268 rm -f conftest.er1
85269 cat conftest.err >&5
85270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85271 (exit $ac_status); } >/dev/null; then
85272 if test -s conftest.err; then
85273 ac_cpp_err=$ac_c_preproc_warn_flag
85274 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85275 else
85276 ac_cpp_err=
85278 else
85279 ac_cpp_err=yes
85281 if test -z "$ac_cpp_err"; then
85282 ac_header_preproc=yes
85283 else
85284 echo "$as_me: failed program was:" >&5
85285 sed 's/^/| /' conftest.$ac_ext >&5
85287 ac_header_preproc=no
85289 rm -f conftest.err conftest.$ac_ext
85290 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85291 echo "${ECHO_T}$ac_header_preproc" >&6
85293 # So? What about this header?
85294 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85295 yes:no: )
85296 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85297 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85298 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85299 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85300 ac_header_preproc=yes
85302 no:yes:* )
85303 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85304 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85305 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85306 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85307 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85308 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85309 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85310 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85311 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85312 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85313 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85314 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85316 cat <<\_ASBOX
85317 ## ----------------------------------------- ##
85318 ## Report this to the package-unused lists. ##
85319 ## ----------------------------------------- ##
85320 _ASBOX
85322 sed "s/^/$as_me: WARNING: /" >&2
85324 esac
85325 echo "$as_me:$LINENO: checking for $ac_header" >&5
85326 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85327 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85328 echo $ECHO_N "(cached) $ECHO_C" >&6
85329 else
85330 eval "$as_ac_Header=\$ac_header_preproc"
85332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85337 cat >>confdefs.h <<_ACEOF
85338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85339 _ACEOF
85343 done
85345 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85348 # If we're not using GNU ld, then there's no point in even trying these
85349 # tests. Check for that first. We should have already tested for gld
85350 # by now (in libtool), but require it now just to be safe...
85351 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85352 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85356 # The name set by libtool depends on the version of libtool. Shame on us
85357 # for depending on an impl detail, but c'est la vie. Older versions used
85358 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85359 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85360 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85361 # set (hence we're using an older libtool), then set it.
85362 if test x${with_gnu_ld+set} != xset; then
85363 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85364 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85365 with_gnu_ld=no
85366 else
85367 with_gnu_ld=$ac_cv_prog_gnu_ld
85371 # Start by getting the version number. I think the libtool test already
85372 # does some of this, but throws away the result.
85373 if test x"$with_gnu_ld" = x"yes"; then
85374 echo "$as_me:$LINENO: checking for ld version" >&5
85375 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
85377 ldver=`$LD --version 2>/dev/null | head -1 | \
85378 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
85380 glibcxx_gnu_ld_version=`echo $ldver | \
85381 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85382 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
85383 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
85386 # Set --gc-sections.
85387 glibcxx_gcsections_min_ld=21602
85388 if test x"$with_gnu_ld" = x"yes" &&
85389 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
85391 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
85392 # NB: This flag only works reliably after 2.16.1. Configure tests
85393 # for this are difficult, so hard wire a value that should work.
85395 ac_test_CFLAGS="${CFLAGS+set}"
85396 ac_save_CFLAGS="$CFLAGS"
85397 CFLAGS='-Wl,--gc-sections'
85399 # Check for -Wl,--gc-sections
85400 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85401 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85402 if test x$gcc_no_link = xyes; then
85403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85405 { (exit 1); exit 1; }; }
85407 cat >conftest.$ac_ext <<_ACEOF
85408 /* confdefs.h. */
85409 _ACEOF
85410 cat confdefs.h >>conftest.$ac_ext
85411 cat >>conftest.$ac_ext <<_ACEOF
85412 /* end confdefs.h. */
85413 int one(void) { return 1; }
85414 int two(void) { return 2; }
85417 main ()
85419 two();
85421 return 0;
85423 _ACEOF
85424 rm -f conftest.$ac_objext conftest$ac_exeext
85425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85426 (eval $ac_link) 2>conftest.er1
85427 ac_status=$?
85428 grep -v '^ *+' conftest.er1 >conftest.err
85429 rm -f conftest.er1
85430 cat conftest.err >&5
85431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85432 (exit $ac_status); } &&
85433 { ac_try='test -z "$ac_c_werror_flag"
85434 || test ! -s conftest.err'
85435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85436 (eval $ac_try) 2>&5
85437 ac_status=$?
85438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85439 (exit $ac_status); }; } &&
85440 { ac_try='test -s conftest$ac_exeext'
85441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85442 (eval $ac_try) 2>&5
85443 ac_status=$?
85444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85445 (exit $ac_status); }; }; then
85446 ac_gcsections=yes
85447 else
85448 echo "$as_me: failed program was:" >&5
85449 sed 's/^/| /' conftest.$ac_ext >&5
85451 ac_gcsections=no
85453 rm -f conftest.err conftest.$ac_objext \
85454 conftest$ac_exeext conftest.$ac_ext
85455 if test "$ac_gcsections" = "yes"; then
85456 rm -f conftest.c
85457 touch conftest.c
85458 if $CC -c conftest.c; then
85459 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
85460 grep "Warning: gc-sections option ignored" > /dev/null; then
85461 ac_gcsections=no
85464 rm -f conftest.c conftest.o conftest
85466 if test "$ac_gcsections" = "yes"; then
85467 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85469 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
85470 echo "${ECHO_T}$ac_gcsections" >&6
85472 if test "$ac_test_CFLAGS" = set; then
85473 CFLAGS="$ac_save_CFLAGS"
85474 else
85475 # this is the suspicious part
85476 CFLAGS=''
85480 # Set -z,relro.
85481 # Note this is only for shared objects.
85482 ac_ld_relro=no
85483 if test x"$with_gnu_ld" = x"yes"; then
85484 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
85485 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
85486 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
85487 if test -n "$cxx_z_relo"; then
85488 OPT_LDFLAGS="-Wl,-z,relro"
85489 ac_ld_relro=yes
85491 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
85492 echo "${ECHO_T}$ac_ld_relro" >&6
85495 # Set linker optimization flags.
85496 if test x"$with_gnu_ld" = x"yes"; then
85497 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85505 echo "$as_me:$LINENO: checking for main in -lm" >&5
85506 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85507 if test "${ac_cv_lib_m_main+set}" = set; then
85508 echo $ECHO_N "(cached) $ECHO_C" >&6
85509 else
85510 ac_check_lib_save_LIBS=$LIBS
85511 LIBS="-lm $LIBS"
85512 if test x$gcc_no_link = xyes; then
85513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85515 { (exit 1); exit 1; }; }
85517 cat >conftest.$ac_ext <<_ACEOF
85518 /* confdefs.h. */
85519 _ACEOF
85520 cat confdefs.h >>conftest.$ac_ext
85521 cat >>conftest.$ac_ext <<_ACEOF
85522 /* end confdefs.h. */
85526 main ()
85528 main ();
85530 return 0;
85532 _ACEOF
85533 rm -f conftest.$ac_objext conftest$ac_exeext
85534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85535 (eval $ac_link) 2>conftest.er1
85536 ac_status=$?
85537 grep -v '^ *+' conftest.er1 >conftest.err
85538 rm -f conftest.er1
85539 cat conftest.err >&5
85540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85541 (exit $ac_status); } &&
85542 { ac_try='test -z "$ac_c_werror_flag"
85543 || test ! -s conftest.err'
85544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85545 (eval $ac_try) 2>&5
85546 ac_status=$?
85547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85548 (exit $ac_status); }; } &&
85549 { ac_try='test -s conftest$ac_exeext'
85550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85551 (eval $ac_try) 2>&5
85552 ac_status=$?
85553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85554 (exit $ac_status); }; }; then
85555 ac_cv_lib_m_main=yes
85556 else
85557 echo "$as_me: failed program was:" >&5
85558 sed 's/^/| /' conftest.$ac_ext >&5
85560 ac_cv_lib_m_main=no
85562 rm -f conftest.err conftest.$ac_objext \
85563 conftest$ac_exeext conftest.$ac_ext
85564 LIBS=$ac_check_lib_save_LIBS
85566 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85567 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85568 if test $ac_cv_lib_m_main = yes; then
85569 cat >>confdefs.h <<_ACEOF
85570 #define HAVE_LIBM 1
85571 _ACEOF
85573 LIBS="-lm $LIBS"
85578 for ac_func in copysignf
85580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85581 echo "$as_me:$LINENO: checking for $ac_func" >&5
85582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85583 if eval "test \"\${$as_ac_var+set}\" = set"; then
85584 echo $ECHO_N "(cached) $ECHO_C" >&6
85585 else
85586 if test x$gcc_no_link = xyes; then
85587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85589 { (exit 1); exit 1; }; }
85591 cat >conftest.$ac_ext <<_ACEOF
85592 /* confdefs.h. */
85593 _ACEOF
85594 cat confdefs.h >>conftest.$ac_ext
85595 cat >>conftest.$ac_ext <<_ACEOF
85596 /* end confdefs.h. */
85597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85599 #define $ac_func innocuous_$ac_func
85601 /* System header to define __stub macros and hopefully few prototypes,
85602 which can conflict with char $ac_func (); below.
85603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85604 <limits.h> exists even on freestanding compilers. */
85606 #ifdef __STDC__
85607 # include <limits.h>
85608 #else
85609 # include <assert.h>
85610 #endif
85612 #undef $ac_func
85614 /* Override any gcc2 internal prototype to avoid an error. */
85615 #ifdef __cplusplus
85616 extern "C"
85618 #endif
85619 /* We use char because int might match the return type of a gcc2
85620 builtin and then its argument prototype would still apply. */
85621 char $ac_func ();
85622 /* The GNU C library defines this for functions which it implements
85623 to always fail with ENOSYS. Some functions are actually named
85624 something starting with __ and the normal name is an alias. */
85625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85626 choke me
85627 #else
85628 char (*f) () = $ac_func;
85629 #endif
85630 #ifdef __cplusplus
85632 #endif
85635 main ()
85637 return f != $ac_func;
85639 return 0;
85641 _ACEOF
85642 rm -f conftest.$ac_objext conftest$ac_exeext
85643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85644 (eval $ac_link) 2>conftest.er1
85645 ac_status=$?
85646 grep -v '^ *+' conftest.er1 >conftest.err
85647 rm -f conftest.er1
85648 cat conftest.err >&5
85649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85650 (exit $ac_status); } &&
85651 { ac_try='test -z "$ac_c_werror_flag"
85652 || test ! -s conftest.err'
85653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85654 (eval $ac_try) 2>&5
85655 ac_status=$?
85656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85657 (exit $ac_status); }; } &&
85658 { ac_try='test -s conftest$ac_exeext'
85659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85660 (eval $ac_try) 2>&5
85661 ac_status=$?
85662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85663 (exit $ac_status); }; }; then
85664 eval "$as_ac_var=yes"
85665 else
85666 echo "$as_me: failed program was:" >&5
85667 sed 's/^/| /' conftest.$ac_ext >&5
85669 eval "$as_ac_var=no"
85671 rm -f conftest.err conftest.$ac_objext \
85672 conftest$ac_exeext conftest.$ac_ext
85674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85676 if test `eval echo '${'$as_ac_var'}'` = yes; then
85677 cat >>confdefs.h <<_ACEOF
85678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85679 _ACEOF
85681 else
85682 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85684 done
85688 for ac_func in __signbit
85690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85691 echo "$as_me:$LINENO: checking for $ac_func" >&5
85692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85693 if eval "test \"\${$as_ac_var+set}\" = set"; then
85694 echo $ECHO_N "(cached) $ECHO_C" >&6
85695 else
85696 if test x$gcc_no_link = xyes; then
85697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85699 { (exit 1); exit 1; }; }
85701 cat >conftest.$ac_ext <<_ACEOF
85702 /* confdefs.h. */
85703 _ACEOF
85704 cat confdefs.h >>conftest.$ac_ext
85705 cat >>conftest.$ac_ext <<_ACEOF
85706 /* end confdefs.h. */
85707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85709 #define $ac_func innocuous_$ac_func
85711 /* System header to define __stub macros and hopefully few prototypes,
85712 which can conflict with char $ac_func (); below.
85713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85714 <limits.h> exists even on freestanding compilers. */
85716 #ifdef __STDC__
85717 # include <limits.h>
85718 #else
85719 # include <assert.h>
85720 #endif
85722 #undef $ac_func
85724 /* Override any gcc2 internal prototype to avoid an error. */
85725 #ifdef __cplusplus
85726 extern "C"
85728 #endif
85729 /* We use char because int might match the return type of a gcc2
85730 builtin and then its argument prototype would still apply. */
85731 char $ac_func ();
85732 /* The GNU C library defines this for functions which it implements
85733 to always fail with ENOSYS. Some functions are actually named
85734 something starting with __ and the normal name is an alias. */
85735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85736 choke me
85737 #else
85738 char (*f) () = $ac_func;
85739 #endif
85740 #ifdef __cplusplus
85742 #endif
85745 main ()
85747 return f != $ac_func;
85749 return 0;
85751 _ACEOF
85752 rm -f conftest.$ac_objext conftest$ac_exeext
85753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85754 (eval $ac_link) 2>conftest.er1
85755 ac_status=$?
85756 grep -v '^ *+' conftest.er1 >conftest.err
85757 rm -f conftest.er1
85758 cat conftest.err >&5
85759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85760 (exit $ac_status); } &&
85761 { ac_try='test -z "$ac_c_werror_flag"
85762 || test ! -s conftest.err'
85763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85764 (eval $ac_try) 2>&5
85765 ac_status=$?
85766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85767 (exit $ac_status); }; } &&
85768 { ac_try='test -s conftest$ac_exeext'
85769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85770 (eval $ac_try) 2>&5
85771 ac_status=$?
85772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85773 (exit $ac_status); }; }; then
85774 eval "$as_ac_var=yes"
85775 else
85776 echo "$as_me: failed program was:" >&5
85777 sed 's/^/| /' conftest.$ac_ext >&5
85779 eval "$as_ac_var=no"
85781 rm -f conftest.err conftest.$ac_objext \
85782 conftest$ac_exeext conftest.$ac_ext
85784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85786 if test `eval echo '${'$as_ac_var'}'` = yes; then
85787 cat >>confdefs.h <<_ACEOF
85788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85789 _ACEOF
85791 else
85792 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85794 done
85798 for ac_func in __signbitf
85800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85801 echo "$as_me:$LINENO: checking for $ac_func" >&5
85802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85803 if eval "test \"\${$as_ac_var+set}\" = set"; then
85804 echo $ECHO_N "(cached) $ECHO_C" >&6
85805 else
85806 if test x$gcc_no_link = xyes; then
85807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85809 { (exit 1); exit 1; }; }
85811 cat >conftest.$ac_ext <<_ACEOF
85812 /* confdefs.h. */
85813 _ACEOF
85814 cat confdefs.h >>conftest.$ac_ext
85815 cat >>conftest.$ac_ext <<_ACEOF
85816 /* end confdefs.h. */
85817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85819 #define $ac_func innocuous_$ac_func
85821 /* System header to define __stub macros and hopefully few prototypes,
85822 which can conflict with char $ac_func (); below.
85823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85824 <limits.h> exists even on freestanding compilers. */
85826 #ifdef __STDC__
85827 # include <limits.h>
85828 #else
85829 # include <assert.h>
85830 #endif
85832 #undef $ac_func
85834 /* Override any gcc2 internal prototype to avoid an error. */
85835 #ifdef __cplusplus
85836 extern "C"
85838 #endif
85839 /* We use char because int might match the return type of a gcc2
85840 builtin and then its argument prototype would still apply. */
85841 char $ac_func ();
85842 /* The GNU C library defines this for functions which it implements
85843 to always fail with ENOSYS. Some functions are actually named
85844 something starting with __ and the normal name is an alias. */
85845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85846 choke me
85847 #else
85848 char (*f) () = $ac_func;
85849 #endif
85850 #ifdef __cplusplus
85852 #endif
85855 main ()
85857 return f != $ac_func;
85859 return 0;
85861 _ACEOF
85862 rm -f conftest.$ac_objext conftest$ac_exeext
85863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85864 (eval $ac_link) 2>conftest.er1
85865 ac_status=$?
85866 grep -v '^ *+' conftest.er1 >conftest.err
85867 rm -f conftest.er1
85868 cat conftest.err >&5
85869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85870 (exit $ac_status); } &&
85871 { ac_try='test -z "$ac_c_werror_flag"
85872 || test ! -s conftest.err'
85873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85874 (eval $ac_try) 2>&5
85875 ac_status=$?
85876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85877 (exit $ac_status); }; } &&
85878 { ac_try='test -s conftest$ac_exeext'
85879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85880 (eval $ac_try) 2>&5
85881 ac_status=$?
85882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85883 (exit $ac_status); }; }; then
85884 eval "$as_ac_var=yes"
85885 else
85886 echo "$as_me: failed program was:" >&5
85887 sed 's/^/| /' conftest.$ac_ext >&5
85889 eval "$as_ac_var=no"
85891 rm -f conftest.err conftest.$ac_objext \
85892 conftest$ac_exeext conftest.$ac_ext
85894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85896 if test `eval echo '${'$as_ac_var'}'` = yes; then
85897 cat >>confdefs.h <<_ACEOF
85898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85899 _ACEOF
85901 else
85902 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85904 done
85907 if test x$ac_cv_func_copysignl = x"yes"; then
85909 for ac_func in __signbitl
85911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85912 echo "$as_me:$LINENO: checking for $ac_func" >&5
85913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85914 if eval "test \"\${$as_ac_var+set}\" = set"; then
85915 echo $ECHO_N "(cached) $ECHO_C" >&6
85916 else
85917 if test x$gcc_no_link = xyes; then
85918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85920 { (exit 1); exit 1; }; }
85922 cat >conftest.$ac_ext <<_ACEOF
85923 /* confdefs.h. */
85924 _ACEOF
85925 cat confdefs.h >>conftest.$ac_ext
85926 cat >>conftest.$ac_ext <<_ACEOF
85927 /* end confdefs.h. */
85928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85930 #define $ac_func innocuous_$ac_func
85932 /* System header to define __stub macros and hopefully few prototypes,
85933 which can conflict with char $ac_func (); below.
85934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85935 <limits.h> exists even on freestanding compilers. */
85937 #ifdef __STDC__
85938 # include <limits.h>
85939 #else
85940 # include <assert.h>
85941 #endif
85943 #undef $ac_func
85945 /* Override any gcc2 internal prototype to avoid an error. */
85946 #ifdef __cplusplus
85947 extern "C"
85949 #endif
85950 /* We use char because int might match the return type of a gcc2
85951 builtin and then its argument prototype would still apply. */
85952 char $ac_func ();
85953 /* The GNU C library defines this for functions which it implements
85954 to always fail with ENOSYS. Some functions are actually named
85955 something starting with __ and the normal name is an alias. */
85956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85957 choke me
85958 #else
85959 char (*f) () = $ac_func;
85960 #endif
85961 #ifdef __cplusplus
85963 #endif
85966 main ()
85968 return f != $ac_func;
85970 return 0;
85972 _ACEOF
85973 rm -f conftest.$ac_objext conftest$ac_exeext
85974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85975 (eval $ac_link) 2>conftest.er1
85976 ac_status=$?
85977 grep -v '^ *+' conftest.er1 >conftest.err
85978 rm -f conftest.er1
85979 cat conftest.err >&5
85980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85981 (exit $ac_status); } &&
85982 { ac_try='test -z "$ac_c_werror_flag"
85983 || test ! -s conftest.err'
85984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85985 (eval $ac_try) 2>&5
85986 ac_status=$?
85987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85988 (exit $ac_status); }; } &&
85989 { ac_try='test -s conftest$ac_exeext'
85990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85991 (eval $ac_try) 2>&5
85992 ac_status=$?
85993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85994 (exit $ac_status); }; }; then
85995 eval "$as_ac_var=yes"
85996 else
85997 echo "$as_me: failed program was:" >&5
85998 sed 's/^/| /' conftest.$ac_ext >&5
86000 eval "$as_ac_var=no"
86002 rm -f conftest.err conftest.$ac_objext \
86003 conftest$ac_exeext conftest.$ac_ext
86005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86007 if test `eval echo '${'$as_ac_var'}'` = yes; then
86008 cat >>confdefs.h <<_ACEOF
86009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86010 _ACEOF
86012 else
86013 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86015 done
86019 # Used in libmath/Makefile.am.
86020 if test -n "$LIBMATHOBJS"; then
86021 need_libmath=yes
86025 cat >>confdefs.h <<\_ACEOF
86026 #define HAVE_LC_MESSAGES 1
86027 _ACEOF
86029 cat >>confdefs.h <<\_ACEOF
86030 #define HAVE_GETPAGESIZE 1
86031 _ACEOF
86033 cat >>confdefs.h <<\_ACEOF
86034 #define HAVE_SETENV 1
86035 _ACEOF
86037 cat >>confdefs.h <<\_ACEOF
86038 #define HAVE_SIGSETJMP 1
86039 _ACEOF
86041 cat >>confdefs.h <<\_ACEOF
86042 #define HAVE_COPYSIGN 1
86043 _ACEOF
86045 cat >>confdefs.h <<\_ACEOF
86046 #define HAVE_COPYSIGNF 1
86047 _ACEOF
86049 cat >>confdefs.h <<\_ACEOF
86050 #define HAVE_FINITEF 1
86051 _ACEOF
86053 cat >>confdefs.h <<\_ACEOF
86054 #define HAVE_FINITE 1
86055 _ACEOF
86057 cat >>confdefs.h <<\_ACEOF
86058 #define HAVE_FREXPF 1
86059 _ACEOF
86061 cat >>confdefs.h <<\_ACEOF
86062 #define HAVE_HYPOT 1
86063 _ACEOF
86065 cat >>confdefs.h <<\_ACEOF
86066 #define HAVE_HYPOTF 1
86067 _ACEOF
86069 cat >>confdefs.h <<\_ACEOF
86070 #define HAVE_ISINF 1
86071 _ACEOF
86073 cat >>confdefs.h <<\_ACEOF
86074 #define HAVE_ISNAN 1
86075 _ACEOF
86077 cat >>confdefs.h <<\_ACEOF
86078 #define HAVE_ISNANF 1
86079 _ACEOF
86082 cat >>confdefs.h <<\_ACEOF
86083 #define HAVE_MMAP 1
86084 _ACEOF
86086 cat >>confdefs.h <<\_ACEOF
86087 #define HAVE_ACOSF 1
86088 _ACEOF
86090 cat >>confdefs.h <<\_ACEOF
86091 #define HAVE_ASINF 1
86092 _ACEOF
86094 cat >>confdefs.h <<\_ACEOF
86095 #define HAVE_ATAN2F 1
86096 _ACEOF
86098 cat >>confdefs.h <<\_ACEOF
86099 #define HAVE_ATANF 1
86100 _ACEOF
86102 cat >>confdefs.h <<\_ACEOF
86103 #define HAVE_CEILF 1
86104 _ACEOF
86106 cat >>confdefs.h <<\_ACEOF
86107 #define HAVE_COPYSIGN 1
86108 _ACEOF
86110 cat >>confdefs.h <<\_ACEOF
86111 #define HAVE_COPYSIGNF 1
86112 _ACEOF
86114 cat >>confdefs.h <<\_ACEOF
86115 #define HAVE_COSF 1
86116 _ACEOF
86118 cat >>confdefs.h <<\_ACEOF
86119 #define HAVE_COSHF 1
86120 _ACEOF
86122 cat >>confdefs.h <<\_ACEOF
86123 #define HAVE_EXPF 1
86124 _ACEOF
86126 cat >>confdefs.h <<\_ACEOF
86127 #define HAVE_FABSF 1
86128 _ACEOF
86130 cat >>confdefs.h <<\_ACEOF
86131 #define HAVE_FLOORF 1
86132 _ACEOF
86134 cat >>confdefs.h <<\_ACEOF
86135 #define HAVE_FMODF 1
86136 _ACEOF
86138 cat >>confdefs.h <<\_ACEOF
86139 #define HAVE_FREXPF 1
86140 _ACEOF
86142 cat >>confdefs.h <<\_ACEOF
86143 #define HAVE_LDEXPF 1
86144 _ACEOF
86146 cat >>confdefs.h <<\_ACEOF
86147 #define HAVE_LOG10F 1
86148 _ACEOF
86150 cat >>confdefs.h <<\_ACEOF
86151 #define HAVE_LOGF 1
86152 _ACEOF
86154 cat >>confdefs.h <<\_ACEOF
86155 #define HAVE_MODFF 1
86156 _ACEOF
86158 cat >>confdefs.h <<\_ACEOF
86159 #define HAVE_POWF 1
86160 _ACEOF
86162 cat >>confdefs.h <<\_ACEOF
86163 #define HAVE_SINF 1
86164 _ACEOF
86166 cat >>confdefs.h <<\_ACEOF
86167 #define HAVE_SINHF 1
86168 _ACEOF
86170 cat >>confdefs.h <<\_ACEOF
86171 #define HAVE_SQRTF 1
86172 _ACEOF
86174 cat >>confdefs.h <<\_ACEOF
86175 #define HAVE_TANF 1
86176 _ACEOF
86178 cat >>confdefs.h <<\_ACEOF
86179 #define HAVE_TANHF 1
86180 _ACEOF
86182 if test x"long_double_math_on_this_cpu" = x"yes"; then
86183 cat >>confdefs.h <<\_ACEOF
86184 #define HAVE_FINITEL 1
86185 _ACEOF
86187 cat >>confdefs.h <<\_ACEOF
86188 #define HAVE_ISINFL 1
86189 _ACEOF
86191 cat >>confdefs.h <<\_ACEOF
86192 #define HAVE_ISNANL 1
86193 _ACEOF
86197 *-hpux*)
86210 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86211 machine/endian.h machine/param.h sys/machine.h sys/types.h \
86212 fp.h locale.h float.h inttypes.h
86214 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86216 echo "$as_me:$LINENO: checking for $ac_header" >&5
86217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86219 echo $ECHO_N "(cached) $ECHO_C" >&6
86221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86223 else
86224 # Is the header compilable?
86225 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86226 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86227 cat >conftest.$ac_ext <<_ACEOF
86228 /* confdefs.h. */
86229 _ACEOF
86230 cat confdefs.h >>conftest.$ac_ext
86231 cat >>conftest.$ac_ext <<_ACEOF
86232 /* end confdefs.h. */
86233 $ac_includes_default
86234 #include <$ac_header>
86235 _ACEOF
86236 rm -f conftest.$ac_objext
86237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86238 (eval $ac_compile) 2>conftest.er1
86239 ac_status=$?
86240 grep -v '^ *+' conftest.er1 >conftest.err
86241 rm -f conftest.er1
86242 cat conftest.err >&5
86243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86244 (exit $ac_status); } &&
86245 { ac_try='test -z "$ac_c_werror_flag"
86246 || test ! -s conftest.err'
86247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86248 (eval $ac_try) 2>&5
86249 ac_status=$?
86250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86251 (exit $ac_status); }; } &&
86252 { ac_try='test -s conftest.$ac_objext'
86253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86254 (eval $ac_try) 2>&5
86255 ac_status=$?
86256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86257 (exit $ac_status); }; }; then
86258 ac_header_compiler=yes
86259 else
86260 echo "$as_me: failed program was:" >&5
86261 sed 's/^/| /' conftest.$ac_ext >&5
86263 ac_header_compiler=no
86265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86266 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86267 echo "${ECHO_T}$ac_header_compiler" >&6
86269 # Is the header present?
86270 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86271 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86272 cat >conftest.$ac_ext <<_ACEOF
86273 /* confdefs.h. */
86274 _ACEOF
86275 cat confdefs.h >>conftest.$ac_ext
86276 cat >>conftest.$ac_ext <<_ACEOF
86277 /* end confdefs.h. */
86278 #include <$ac_header>
86279 _ACEOF
86280 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86281 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86282 ac_status=$?
86283 grep -v '^ *+' conftest.er1 >conftest.err
86284 rm -f conftest.er1
86285 cat conftest.err >&5
86286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86287 (exit $ac_status); } >/dev/null; then
86288 if test -s conftest.err; then
86289 ac_cpp_err=$ac_c_preproc_warn_flag
86290 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86291 else
86292 ac_cpp_err=
86294 else
86295 ac_cpp_err=yes
86297 if test -z "$ac_cpp_err"; then
86298 ac_header_preproc=yes
86299 else
86300 echo "$as_me: failed program was:" >&5
86301 sed 's/^/| /' conftest.$ac_ext >&5
86303 ac_header_preproc=no
86305 rm -f conftest.err conftest.$ac_ext
86306 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86307 echo "${ECHO_T}$ac_header_preproc" >&6
86309 # So? What about this header?
86310 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86311 yes:no: )
86312 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86313 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86314 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86315 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86316 ac_header_preproc=yes
86318 no:yes:* )
86319 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86320 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86321 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86322 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86323 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86324 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86325 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86326 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86327 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86328 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86329 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86330 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86332 cat <<\_ASBOX
86333 ## ----------------------------------------- ##
86334 ## Report this to the package-unused lists. ##
86335 ## ----------------------------------------- ##
86336 _ASBOX
86338 sed "s/^/$as_me: WARNING: /" >&2
86340 esac
86341 echo "$as_me:$LINENO: checking for $ac_header" >&5
86342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86344 echo $ECHO_N "(cached) $ECHO_C" >&6
86345 else
86346 eval "$as_ac_Header=\$ac_header_preproc"
86348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86349 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86352 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86353 cat >>confdefs.h <<_ACEOF
86354 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86355 _ACEOF
86359 done
86361 SECTION_FLAGS='-ffunction-sections -fdata-sections'
86364 # If we're not using GNU ld, then there's no point in even trying these
86365 # tests. Check for that first. We should have already tested for gld
86366 # by now (in libtool), but require it now just to be safe...
86367 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86368 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86372 # The name set by libtool depends on the version of libtool. Shame on us
86373 # for depending on an impl detail, but c'est la vie. Older versions used
86374 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86375 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86376 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86377 # set (hence we're using an older libtool), then set it.
86378 if test x${with_gnu_ld+set} != xset; then
86379 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86380 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86381 with_gnu_ld=no
86382 else
86383 with_gnu_ld=$ac_cv_prog_gnu_ld
86387 # Start by getting the version number. I think the libtool test already
86388 # does some of this, but throws away the result.
86389 if test x"$with_gnu_ld" = x"yes"; then
86390 echo "$as_me:$LINENO: checking for ld version" >&5
86391 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86393 ldver=`$LD --version 2>/dev/null | head -1 | \
86394 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
86396 glibcxx_gnu_ld_version=`echo $ldver | \
86397 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86398 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86399 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86402 # Set --gc-sections.
86403 glibcxx_gcsections_min_ld=21602
86404 if test x"$with_gnu_ld" = x"yes" &&
86405 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86407 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
86408 # NB: This flag only works reliably after 2.16.1. Configure tests
86409 # for this are difficult, so hard wire a value that should work.
86411 ac_test_CFLAGS="${CFLAGS+set}"
86412 ac_save_CFLAGS="$CFLAGS"
86413 CFLAGS='-Wl,--gc-sections'
86415 # Check for -Wl,--gc-sections
86416 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86417 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86418 if test x$gcc_no_link = xyes; then
86419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86421 { (exit 1); exit 1; }; }
86423 cat >conftest.$ac_ext <<_ACEOF
86424 /* confdefs.h. */
86425 _ACEOF
86426 cat confdefs.h >>conftest.$ac_ext
86427 cat >>conftest.$ac_ext <<_ACEOF
86428 /* end confdefs.h. */
86429 int one(void) { return 1; }
86430 int two(void) { return 2; }
86433 main ()
86435 two();
86437 return 0;
86439 _ACEOF
86440 rm -f conftest.$ac_objext conftest$ac_exeext
86441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86442 (eval $ac_link) 2>conftest.er1
86443 ac_status=$?
86444 grep -v '^ *+' conftest.er1 >conftest.err
86445 rm -f conftest.er1
86446 cat conftest.err >&5
86447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86448 (exit $ac_status); } &&
86449 { ac_try='test -z "$ac_c_werror_flag"
86450 || test ! -s conftest.err'
86451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86452 (eval $ac_try) 2>&5
86453 ac_status=$?
86454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86455 (exit $ac_status); }; } &&
86456 { ac_try='test -s conftest$ac_exeext'
86457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86458 (eval $ac_try) 2>&5
86459 ac_status=$?
86460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86461 (exit $ac_status); }; }; then
86462 ac_gcsections=yes
86463 else
86464 echo "$as_me: failed program was:" >&5
86465 sed 's/^/| /' conftest.$ac_ext >&5
86467 ac_gcsections=no
86469 rm -f conftest.err conftest.$ac_objext \
86470 conftest$ac_exeext conftest.$ac_ext
86471 if test "$ac_gcsections" = "yes"; then
86472 rm -f conftest.c
86473 touch conftest.c
86474 if $CC -c conftest.c; then
86475 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86476 grep "Warning: gc-sections option ignored" > /dev/null; then
86477 ac_gcsections=no
86480 rm -f conftest.c conftest.o conftest
86482 if test "$ac_gcsections" = "yes"; then
86483 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86485 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86486 echo "${ECHO_T}$ac_gcsections" >&6
86488 if test "$ac_test_CFLAGS" = set; then
86489 CFLAGS="$ac_save_CFLAGS"
86490 else
86491 # this is the suspicious part
86492 CFLAGS=''
86496 # Set -z,relro.
86497 # Note this is only for shared objects.
86498 ac_ld_relro=no
86499 if test x"$with_gnu_ld" = x"yes"; then
86500 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86501 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86502 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86503 if test -n "$cxx_z_relo"; then
86504 OPT_LDFLAGS="-Wl,-z,relro"
86505 ac_ld_relro=yes
86507 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86508 echo "${ECHO_T}$ac_ld_relro" >&6
86511 # Set linker optimization flags.
86512 if test x"$with_gnu_ld" = x"yes"; then
86513 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86521 echo "$as_me:$LINENO: checking for main in -lm" >&5
86522 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86523 if test "${ac_cv_lib_m_main+set}" = set; then
86524 echo $ECHO_N "(cached) $ECHO_C" >&6
86525 else
86526 ac_check_lib_save_LIBS=$LIBS
86527 LIBS="-lm $LIBS"
86528 if test x$gcc_no_link = xyes; then
86529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86531 { (exit 1); exit 1; }; }
86533 cat >conftest.$ac_ext <<_ACEOF
86534 /* confdefs.h. */
86535 _ACEOF
86536 cat confdefs.h >>conftest.$ac_ext
86537 cat >>conftest.$ac_ext <<_ACEOF
86538 /* end confdefs.h. */
86542 main ()
86544 main ();
86546 return 0;
86548 _ACEOF
86549 rm -f conftest.$ac_objext conftest$ac_exeext
86550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86551 (eval $ac_link) 2>conftest.er1
86552 ac_status=$?
86553 grep -v '^ *+' conftest.er1 >conftest.err
86554 rm -f conftest.er1
86555 cat conftest.err >&5
86556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86557 (exit $ac_status); } &&
86558 { ac_try='test -z "$ac_c_werror_flag"
86559 || test ! -s conftest.err'
86560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86561 (eval $ac_try) 2>&5
86562 ac_status=$?
86563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86564 (exit $ac_status); }; } &&
86565 { ac_try='test -s conftest$ac_exeext'
86566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86567 (eval $ac_try) 2>&5
86568 ac_status=$?
86569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86570 (exit $ac_status); }; }; then
86571 ac_cv_lib_m_main=yes
86572 else
86573 echo "$as_me: failed program was:" >&5
86574 sed 's/^/| /' conftest.$ac_ext >&5
86576 ac_cv_lib_m_main=no
86578 rm -f conftest.err conftest.$ac_objext \
86579 conftest$ac_exeext conftest.$ac_ext
86580 LIBS=$ac_check_lib_save_LIBS
86582 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86583 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86584 if test $ac_cv_lib_m_main = yes; then
86585 cat >>confdefs.h <<_ACEOF
86586 #define HAVE_LIBM 1
86587 _ACEOF
86589 LIBS="-lm $LIBS"
86594 for ac_func in copysignf
86596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86597 echo "$as_me:$LINENO: checking for $ac_func" >&5
86598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86599 if eval "test \"\${$as_ac_var+set}\" = set"; then
86600 echo $ECHO_N "(cached) $ECHO_C" >&6
86601 else
86602 if test x$gcc_no_link = xyes; then
86603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86605 { (exit 1); exit 1; }; }
86607 cat >conftest.$ac_ext <<_ACEOF
86608 /* confdefs.h. */
86609 _ACEOF
86610 cat confdefs.h >>conftest.$ac_ext
86611 cat >>conftest.$ac_ext <<_ACEOF
86612 /* end confdefs.h. */
86613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86615 #define $ac_func innocuous_$ac_func
86617 /* System header to define __stub macros and hopefully few prototypes,
86618 which can conflict with char $ac_func (); below.
86619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86620 <limits.h> exists even on freestanding compilers. */
86622 #ifdef __STDC__
86623 # include <limits.h>
86624 #else
86625 # include <assert.h>
86626 #endif
86628 #undef $ac_func
86630 /* Override any gcc2 internal prototype to avoid an error. */
86631 #ifdef __cplusplus
86632 extern "C"
86634 #endif
86635 /* We use char because int might match the return type of a gcc2
86636 builtin and then its argument prototype would still apply. */
86637 char $ac_func ();
86638 /* The GNU C library defines this for functions which it implements
86639 to always fail with ENOSYS. Some functions are actually named
86640 something starting with __ and the normal name is an alias. */
86641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86642 choke me
86643 #else
86644 char (*f) () = $ac_func;
86645 #endif
86646 #ifdef __cplusplus
86648 #endif
86651 main ()
86653 return f != $ac_func;
86655 return 0;
86657 _ACEOF
86658 rm -f conftest.$ac_objext conftest$ac_exeext
86659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86660 (eval $ac_link) 2>conftest.er1
86661 ac_status=$?
86662 grep -v '^ *+' conftest.er1 >conftest.err
86663 rm -f conftest.er1
86664 cat conftest.err >&5
86665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86666 (exit $ac_status); } &&
86667 { ac_try='test -z "$ac_c_werror_flag"
86668 || test ! -s conftest.err'
86669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86670 (eval $ac_try) 2>&5
86671 ac_status=$?
86672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86673 (exit $ac_status); }; } &&
86674 { ac_try='test -s conftest$ac_exeext'
86675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86676 (eval $ac_try) 2>&5
86677 ac_status=$?
86678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86679 (exit $ac_status); }; }; then
86680 eval "$as_ac_var=yes"
86681 else
86682 echo "$as_me: failed program was:" >&5
86683 sed 's/^/| /' conftest.$ac_ext >&5
86685 eval "$as_ac_var=no"
86687 rm -f conftest.err conftest.$ac_objext \
86688 conftest$ac_exeext conftest.$ac_ext
86690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86692 if test `eval echo '${'$as_ac_var'}'` = yes; then
86693 cat >>confdefs.h <<_ACEOF
86694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86695 _ACEOF
86697 else
86698 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86700 done
86704 for ac_func in __signbit
86706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86707 echo "$as_me:$LINENO: checking for $ac_func" >&5
86708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86709 if eval "test \"\${$as_ac_var+set}\" = set"; then
86710 echo $ECHO_N "(cached) $ECHO_C" >&6
86711 else
86712 if test x$gcc_no_link = xyes; then
86713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86715 { (exit 1); exit 1; }; }
86717 cat >conftest.$ac_ext <<_ACEOF
86718 /* confdefs.h. */
86719 _ACEOF
86720 cat confdefs.h >>conftest.$ac_ext
86721 cat >>conftest.$ac_ext <<_ACEOF
86722 /* end confdefs.h. */
86723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86725 #define $ac_func innocuous_$ac_func
86727 /* System header to define __stub macros and hopefully few prototypes,
86728 which can conflict with char $ac_func (); below.
86729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86730 <limits.h> exists even on freestanding compilers. */
86732 #ifdef __STDC__
86733 # include <limits.h>
86734 #else
86735 # include <assert.h>
86736 #endif
86738 #undef $ac_func
86740 /* Override any gcc2 internal prototype to avoid an error. */
86741 #ifdef __cplusplus
86742 extern "C"
86744 #endif
86745 /* We use char because int might match the return type of a gcc2
86746 builtin and then its argument prototype would still apply. */
86747 char $ac_func ();
86748 /* The GNU C library defines this for functions which it implements
86749 to always fail with ENOSYS. Some functions are actually named
86750 something starting with __ and the normal name is an alias. */
86751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86752 choke me
86753 #else
86754 char (*f) () = $ac_func;
86755 #endif
86756 #ifdef __cplusplus
86758 #endif
86761 main ()
86763 return f != $ac_func;
86765 return 0;
86767 _ACEOF
86768 rm -f conftest.$ac_objext conftest$ac_exeext
86769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86770 (eval $ac_link) 2>conftest.er1
86771 ac_status=$?
86772 grep -v '^ *+' conftest.er1 >conftest.err
86773 rm -f conftest.er1
86774 cat conftest.err >&5
86775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86776 (exit $ac_status); } &&
86777 { ac_try='test -z "$ac_c_werror_flag"
86778 || test ! -s conftest.err'
86779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86780 (eval $ac_try) 2>&5
86781 ac_status=$?
86782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86783 (exit $ac_status); }; } &&
86784 { ac_try='test -s conftest$ac_exeext'
86785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86786 (eval $ac_try) 2>&5
86787 ac_status=$?
86788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86789 (exit $ac_status); }; }; then
86790 eval "$as_ac_var=yes"
86791 else
86792 echo "$as_me: failed program was:" >&5
86793 sed 's/^/| /' conftest.$ac_ext >&5
86795 eval "$as_ac_var=no"
86797 rm -f conftest.err conftest.$ac_objext \
86798 conftest$ac_exeext conftest.$ac_ext
86800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86802 if test `eval echo '${'$as_ac_var'}'` = yes; then
86803 cat >>confdefs.h <<_ACEOF
86804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86805 _ACEOF
86807 else
86808 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86810 done
86814 for ac_func in __signbitf
86816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86817 echo "$as_me:$LINENO: checking for $ac_func" >&5
86818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86819 if eval "test \"\${$as_ac_var+set}\" = set"; then
86820 echo $ECHO_N "(cached) $ECHO_C" >&6
86821 else
86822 if test x$gcc_no_link = xyes; then
86823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86825 { (exit 1); exit 1; }; }
86827 cat >conftest.$ac_ext <<_ACEOF
86828 /* confdefs.h. */
86829 _ACEOF
86830 cat confdefs.h >>conftest.$ac_ext
86831 cat >>conftest.$ac_ext <<_ACEOF
86832 /* end confdefs.h. */
86833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86835 #define $ac_func innocuous_$ac_func
86837 /* System header to define __stub macros and hopefully few prototypes,
86838 which can conflict with char $ac_func (); below.
86839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86840 <limits.h> exists even on freestanding compilers. */
86842 #ifdef __STDC__
86843 # include <limits.h>
86844 #else
86845 # include <assert.h>
86846 #endif
86848 #undef $ac_func
86850 /* Override any gcc2 internal prototype to avoid an error. */
86851 #ifdef __cplusplus
86852 extern "C"
86854 #endif
86855 /* We use char because int might match the return type of a gcc2
86856 builtin and then its argument prototype would still apply. */
86857 char $ac_func ();
86858 /* The GNU C library defines this for functions which it implements
86859 to always fail with ENOSYS. Some functions are actually named
86860 something starting with __ and the normal name is an alias. */
86861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86862 choke me
86863 #else
86864 char (*f) () = $ac_func;
86865 #endif
86866 #ifdef __cplusplus
86868 #endif
86871 main ()
86873 return f != $ac_func;
86875 return 0;
86877 _ACEOF
86878 rm -f conftest.$ac_objext conftest$ac_exeext
86879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86880 (eval $ac_link) 2>conftest.er1
86881 ac_status=$?
86882 grep -v '^ *+' conftest.er1 >conftest.err
86883 rm -f conftest.er1
86884 cat conftest.err >&5
86885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86886 (exit $ac_status); } &&
86887 { ac_try='test -z "$ac_c_werror_flag"
86888 || test ! -s conftest.err'
86889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86890 (eval $ac_try) 2>&5
86891 ac_status=$?
86892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86893 (exit $ac_status); }; } &&
86894 { ac_try='test -s conftest$ac_exeext'
86895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86896 (eval $ac_try) 2>&5
86897 ac_status=$?
86898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86899 (exit $ac_status); }; }; then
86900 eval "$as_ac_var=yes"
86901 else
86902 echo "$as_me: failed program was:" >&5
86903 sed 's/^/| /' conftest.$ac_ext >&5
86905 eval "$as_ac_var=no"
86907 rm -f conftest.err conftest.$ac_objext \
86908 conftest$ac_exeext conftest.$ac_ext
86910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86912 if test `eval echo '${'$as_ac_var'}'` = yes; then
86913 cat >>confdefs.h <<_ACEOF
86914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86915 _ACEOF
86917 else
86918 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86920 done
86923 if test x$ac_cv_func_copysignl = x"yes"; then
86925 for ac_func in __signbitl
86927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86928 echo "$as_me:$LINENO: checking for $ac_func" >&5
86929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86930 if eval "test \"\${$as_ac_var+set}\" = set"; then
86931 echo $ECHO_N "(cached) $ECHO_C" >&6
86932 else
86933 if test x$gcc_no_link = xyes; then
86934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86936 { (exit 1); exit 1; }; }
86938 cat >conftest.$ac_ext <<_ACEOF
86939 /* confdefs.h. */
86940 _ACEOF
86941 cat confdefs.h >>conftest.$ac_ext
86942 cat >>conftest.$ac_ext <<_ACEOF
86943 /* end confdefs.h. */
86944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86946 #define $ac_func innocuous_$ac_func
86948 /* System header to define __stub macros and hopefully few prototypes,
86949 which can conflict with char $ac_func (); below.
86950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86951 <limits.h> exists even on freestanding compilers. */
86953 #ifdef __STDC__
86954 # include <limits.h>
86955 #else
86956 # include <assert.h>
86957 #endif
86959 #undef $ac_func
86961 /* Override any gcc2 internal prototype to avoid an error. */
86962 #ifdef __cplusplus
86963 extern "C"
86965 #endif
86966 /* We use char because int might match the return type of a gcc2
86967 builtin and then its argument prototype would still apply. */
86968 char $ac_func ();
86969 /* The GNU C library defines this for functions which it implements
86970 to always fail with ENOSYS. Some functions are actually named
86971 something starting with __ and the normal name is an alias. */
86972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86973 choke me
86974 #else
86975 char (*f) () = $ac_func;
86976 #endif
86977 #ifdef __cplusplus
86979 #endif
86982 main ()
86984 return f != $ac_func;
86986 return 0;
86988 _ACEOF
86989 rm -f conftest.$ac_objext conftest$ac_exeext
86990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86991 (eval $ac_link) 2>conftest.er1
86992 ac_status=$?
86993 grep -v '^ *+' conftest.er1 >conftest.err
86994 rm -f conftest.er1
86995 cat conftest.err >&5
86996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86997 (exit $ac_status); } &&
86998 { ac_try='test -z "$ac_c_werror_flag"
86999 || test ! -s conftest.err'
87000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87001 (eval $ac_try) 2>&5
87002 ac_status=$?
87003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87004 (exit $ac_status); }; } &&
87005 { ac_try='test -s conftest$ac_exeext'
87006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87007 (eval $ac_try) 2>&5
87008 ac_status=$?
87009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87010 (exit $ac_status); }; }; then
87011 eval "$as_ac_var=yes"
87012 else
87013 echo "$as_me: failed program was:" >&5
87014 sed 's/^/| /' conftest.$ac_ext >&5
87016 eval "$as_ac_var=no"
87018 rm -f conftest.err conftest.$ac_objext \
87019 conftest$ac_exeext conftest.$ac_ext
87021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87023 if test `eval echo '${'$as_ac_var'}'` = yes; then
87024 cat >>confdefs.h <<_ACEOF
87025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87026 _ACEOF
87028 else
87029 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87031 done
87035 # Used in libmath/Makefile.am.
87036 if test -n "$LIBMATHOBJS"; then
87037 need_libmath=yes
87041 cat >>confdefs.h <<\_ACEOF
87042 #define HAVE_COPYSIGN 1
87043 _ACEOF
87045 cat >>confdefs.h <<\_ACEOF
87046 #define HAVE_COPYSIGNF 1
87047 _ACEOF
87049 cat >>confdefs.h <<\_ACEOF
87050 #define HAVE_FREXPF 1
87051 _ACEOF
87053 cat >>confdefs.h <<\_ACEOF
87054 #define HAVE_HYPOT 1
87055 _ACEOF
87057 case "$target" in
87058 *-hpux10*)
87059 cat >>confdefs.h <<\_ACEOF
87060 #define HAVE_FINITE 1
87061 _ACEOF
87063 cat >>confdefs.h <<\_ACEOF
87064 #define HAVE_FINITEF 1
87065 _ACEOF
87067 cat >>confdefs.h <<\_ACEOF
87068 #define HAVE_ISINF 1
87069 _ACEOF
87071 cat >>confdefs.h <<\_ACEOF
87072 #define HAVE_ISINFF 1
87073 _ACEOF
87075 cat >>confdefs.h <<\_ACEOF
87076 #define HAVE_ISNAN 1
87077 _ACEOF
87079 cat >>confdefs.h <<\_ACEOF
87080 #define HAVE_ISNANF 1
87081 _ACEOF
87084 esac
87086 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
87105 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87106 machine/endian.h machine/param.h sys/machine.h sys/types.h \
87107 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h \
87108 sys/ipc.h sys/sem.h gconf.h
87110 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87112 echo "$as_me:$LINENO: checking for $ac_header" >&5
87113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87115 echo $ECHO_N "(cached) $ECHO_C" >&6
87117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87118 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87119 else
87120 # Is the header compilable?
87121 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87122 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87123 cat >conftest.$ac_ext <<_ACEOF
87124 /* confdefs.h. */
87125 _ACEOF
87126 cat confdefs.h >>conftest.$ac_ext
87127 cat >>conftest.$ac_ext <<_ACEOF
87128 /* end confdefs.h. */
87129 $ac_includes_default
87130 #include <$ac_header>
87131 _ACEOF
87132 rm -f conftest.$ac_objext
87133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87134 (eval $ac_compile) 2>conftest.er1
87135 ac_status=$?
87136 grep -v '^ *+' conftest.er1 >conftest.err
87137 rm -f conftest.er1
87138 cat conftest.err >&5
87139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87140 (exit $ac_status); } &&
87141 { ac_try='test -z "$ac_c_werror_flag"
87142 || test ! -s conftest.err'
87143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87144 (eval $ac_try) 2>&5
87145 ac_status=$?
87146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87147 (exit $ac_status); }; } &&
87148 { ac_try='test -s conftest.$ac_objext'
87149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87150 (eval $ac_try) 2>&5
87151 ac_status=$?
87152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87153 (exit $ac_status); }; }; then
87154 ac_header_compiler=yes
87155 else
87156 echo "$as_me: failed program was:" >&5
87157 sed 's/^/| /' conftest.$ac_ext >&5
87159 ac_header_compiler=no
87161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87162 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87163 echo "${ECHO_T}$ac_header_compiler" >&6
87165 # Is the header present?
87166 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87167 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87168 cat >conftest.$ac_ext <<_ACEOF
87169 /* confdefs.h. */
87170 _ACEOF
87171 cat confdefs.h >>conftest.$ac_ext
87172 cat >>conftest.$ac_ext <<_ACEOF
87173 /* end confdefs.h. */
87174 #include <$ac_header>
87175 _ACEOF
87176 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87177 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87178 ac_status=$?
87179 grep -v '^ *+' conftest.er1 >conftest.err
87180 rm -f conftest.er1
87181 cat conftest.err >&5
87182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87183 (exit $ac_status); } >/dev/null; then
87184 if test -s conftest.err; then
87185 ac_cpp_err=$ac_c_preproc_warn_flag
87186 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87187 else
87188 ac_cpp_err=
87190 else
87191 ac_cpp_err=yes
87193 if test -z "$ac_cpp_err"; then
87194 ac_header_preproc=yes
87195 else
87196 echo "$as_me: failed program was:" >&5
87197 sed 's/^/| /' conftest.$ac_ext >&5
87199 ac_header_preproc=no
87201 rm -f conftest.err conftest.$ac_ext
87202 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87203 echo "${ECHO_T}$ac_header_preproc" >&6
87205 # So? What about this header?
87206 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87207 yes:no: )
87208 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87209 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87211 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87212 ac_header_preproc=yes
87214 no:yes:* )
87215 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87216 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87217 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87218 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87219 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87220 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87221 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87222 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87224 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87225 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87226 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87228 cat <<\_ASBOX
87229 ## ----------------------------------------- ##
87230 ## Report this to the package-unused lists. ##
87231 ## ----------------------------------------- ##
87232 _ASBOX
87234 sed "s/^/$as_me: WARNING: /" >&2
87236 esac
87237 echo "$as_me:$LINENO: checking for $ac_header" >&5
87238 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87240 echo $ECHO_N "(cached) $ECHO_C" >&6
87241 else
87242 eval "$as_ac_Header=\$ac_header_preproc"
87244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87245 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87248 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87249 cat >>confdefs.h <<_ACEOF
87250 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87251 _ACEOF
87255 done
87257 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87260 # All these tests are for C++; save the language and the compiler flags.
87261 # The CXXFLAGS thing is suspicious, but based on similar bits previously
87262 # found in GLIBCXX_CONFIGURE.
87265 ac_ext=cc
87266 ac_cpp='$CXXCPP $CPPFLAGS'
87267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87271 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87272 ac_save_CXXFLAGS="$CXXFLAGS"
87274 # Check for maintainer-mode bits.
87275 if test x"$USE_MAINTAINER_MODE" = xno; then
87276 WERROR=''
87277 else
87278 WERROR='-Werror'
87281 # Check for -ffunction-sections -fdata-sections
87282 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
87283 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
87284 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
87285 cat >conftest.$ac_ext <<_ACEOF
87286 /* confdefs.h. */
87287 _ACEOF
87288 cat confdefs.h >>conftest.$ac_ext
87289 cat >>conftest.$ac_ext <<_ACEOF
87290 /* end confdefs.h. */
87291 int foo; void bar() { };
87293 main ()
87297 return 0;
87299 _ACEOF
87300 rm -f conftest.$ac_objext
87301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87302 (eval $ac_compile) 2>conftest.er1
87303 ac_status=$?
87304 grep -v '^ *+' conftest.er1 >conftest.err
87305 rm -f conftest.er1
87306 cat conftest.err >&5
87307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87308 (exit $ac_status); } &&
87309 { ac_try='test -z "$ac_cxx_werror_flag"
87310 || test ! -s conftest.err'
87311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87312 (eval $ac_try) 2>&5
87313 ac_status=$?
87314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87315 (exit $ac_status); }; } &&
87316 { ac_try='test -s conftest.$ac_objext'
87317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87318 (eval $ac_try) 2>&5
87319 ac_status=$?
87320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87321 (exit $ac_status); }; }; then
87322 ac_fdsections=yes
87323 else
87324 echo "$as_me: failed program was:" >&5
87325 sed 's/^/| /' conftest.$ac_ext >&5
87327 ac_fdsections=no
87329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87330 if test "$ac_test_CXXFLAGS" = set; then
87331 CXXFLAGS="$ac_save_CXXFLAGS"
87332 else
87333 # this is the suspicious part
87334 CXXFLAGS=''
87336 if test x"$ac_fdsections" = x"yes"; then
87337 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87339 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
87340 echo "${ECHO_T}$ac_fdsections" >&6
87342 ac_ext=c
87343 ac_cpp='$CPP $CPPFLAGS'
87344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87352 # If we're not using GNU ld, then there's no point in even trying these
87353 # tests. Check for that first. We should have already tested for gld
87354 # by now (in libtool), but require it now just to be safe...
87355 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87356 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87360 # The name set by libtool depends on the version of libtool. Shame on us
87361 # for depending on an impl detail, but c'est la vie. Older versions used
87362 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87363 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87364 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87365 # set (hence we're using an older libtool), then set it.
87366 if test x${with_gnu_ld+set} != xset; then
87367 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87368 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87369 with_gnu_ld=no
87370 else
87371 with_gnu_ld=$ac_cv_prog_gnu_ld
87375 # Start by getting the version number. I think the libtool test already
87376 # does some of this, but throws away the result.
87377 if test x"$with_gnu_ld" = x"yes"; then
87378 echo "$as_me:$LINENO: checking for ld version" >&5
87379 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87381 ldver=`$LD --version 2>/dev/null | head -1 | \
87382 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
87384 glibcxx_gnu_ld_version=`echo $ldver | \
87385 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87386 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87387 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87390 # Set --gc-sections.
87391 glibcxx_gcsections_min_ld=21602
87392 if test x"$with_gnu_ld" = x"yes" &&
87393 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87395 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
87396 # NB: This flag only works reliably after 2.16.1. Configure tests
87397 # for this are difficult, so hard wire a value that should work.
87399 ac_test_CFLAGS="${CFLAGS+set}"
87400 ac_save_CFLAGS="$CFLAGS"
87401 CFLAGS='-Wl,--gc-sections'
87403 # Check for -Wl,--gc-sections
87404 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87405 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87406 if test x$gcc_no_link = xyes; then
87407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87409 { (exit 1); exit 1; }; }
87411 cat >conftest.$ac_ext <<_ACEOF
87412 /* confdefs.h. */
87413 _ACEOF
87414 cat confdefs.h >>conftest.$ac_ext
87415 cat >>conftest.$ac_ext <<_ACEOF
87416 /* end confdefs.h. */
87417 int one(void) { return 1; }
87418 int two(void) { return 2; }
87421 main ()
87423 two();
87425 return 0;
87427 _ACEOF
87428 rm -f conftest.$ac_objext conftest$ac_exeext
87429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87430 (eval $ac_link) 2>conftest.er1
87431 ac_status=$?
87432 grep -v '^ *+' conftest.er1 >conftest.err
87433 rm -f conftest.er1
87434 cat conftest.err >&5
87435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87436 (exit $ac_status); } &&
87437 { ac_try='test -z "$ac_c_werror_flag"
87438 || test ! -s conftest.err'
87439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87440 (eval $ac_try) 2>&5
87441 ac_status=$?
87442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87443 (exit $ac_status); }; } &&
87444 { ac_try='test -s conftest$ac_exeext'
87445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87446 (eval $ac_try) 2>&5
87447 ac_status=$?
87448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87449 (exit $ac_status); }; }; then
87450 ac_gcsections=yes
87451 else
87452 echo "$as_me: failed program was:" >&5
87453 sed 's/^/| /' conftest.$ac_ext >&5
87455 ac_gcsections=no
87457 rm -f conftest.err conftest.$ac_objext \
87458 conftest$ac_exeext conftest.$ac_ext
87459 if test "$ac_gcsections" = "yes"; then
87460 rm -f conftest.c
87461 touch conftest.c
87462 if $CC -c conftest.c; then
87463 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87464 grep "Warning: gc-sections option ignored" > /dev/null; then
87465 ac_gcsections=no
87468 rm -f conftest.c conftest.o conftest
87470 if test "$ac_gcsections" = "yes"; then
87471 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87473 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87474 echo "${ECHO_T}$ac_gcsections" >&6
87476 if test "$ac_test_CFLAGS" = set; then
87477 CFLAGS="$ac_save_CFLAGS"
87478 else
87479 # this is the suspicious part
87480 CFLAGS=''
87484 # Set -z,relro.
87485 # Note this is only for shared objects.
87486 ac_ld_relro=no
87487 if test x"$with_gnu_ld" = x"yes"; then
87488 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87489 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87490 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87491 if test -n "$cxx_z_relo"; then
87492 OPT_LDFLAGS="-Wl,-z,relro"
87493 ac_ld_relro=yes
87495 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87496 echo "${ECHO_T}$ac_ld_relro" >&6
87499 # Set linker optimization flags.
87500 if test x"$with_gnu_ld" = x"yes"; then
87501 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87508 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87509 ac_save_CXXFLAGS="$CXXFLAGS"
87510 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
87512 echo "$as_me:$LINENO: checking for sin in -lm" >&5
87513 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
87514 if test "${ac_cv_lib_m_sin+set}" = set; then
87515 echo $ECHO_N "(cached) $ECHO_C" >&6
87516 else
87517 ac_check_lib_save_LIBS=$LIBS
87518 LIBS="-lm $LIBS"
87519 if test x$gcc_no_link = xyes; then
87520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87522 { (exit 1); exit 1; }; }
87524 cat >conftest.$ac_ext <<_ACEOF
87525 /* confdefs.h. */
87526 _ACEOF
87527 cat confdefs.h >>conftest.$ac_ext
87528 cat >>conftest.$ac_ext <<_ACEOF
87529 /* end confdefs.h. */
87531 /* Override any gcc2 internal prototype to avoid an error. */
87532 #ifdef __cplusplus
87533 extern "C"
87534 #endif
87535 /* We use char because int might match the return type of a gcc2
87536 builtin and then its argument prototype would still apply. */
87537 char sin ();
87539 main ()
87541 sin ();
87543 return 0;
87545 _ACEOF
87546 rm -f conftest.$ac_objext conftest$ac_exeext
87547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87548 (eval $ac_link) 2>conftest.er1
87549 ac_status=$?
87550 grep -v '^ *+' conftest.er1 >conftest.err
87551 rm -f conftest.er1
87552 cat conftest.err >&5
87553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87554 (exit $ac_status); } &&
87555 { ac_try='test -z "$ac_c_werror_flag"
87556 || test ! -s conftest.err'
87557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87558 (eval $ac_try) 2>&5
87559 ac_status=$?
87560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87561 (exit $ac_status); }; } &&
87562 { ac_try='test -s conftest$ac_exeext'
87563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87564 (eval $ac_try) 2>&5
87565 ac_status=$?
87566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87567 (exit $ac_status); }; }; then
87568 ac_cv_lib_m_sin=yes
87569 else
87570 echo "$as_me: failed program was:" >&5
87571 sed 's/^/| /' conftest.$ac_ext >&5
87573 ac_cv_lib_m_sin=no
87575 rm -f conftest.err conftest.$ac_objext \
87576 conftest$ac_exeext conftest.$ac_ext
87577 LIBS=$ac_check_lib_save_LIBS
87579 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
87580 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
87581 if test $ac_cv_lib_m_sin = yes; then
87582 libm="-lm"
87585 ac_save_LIBS="$LIBS"
87586 LIBS="$LIBS $libm"
87590 echo "$as_me:$LINENO: checking for isinf declaration" >&5
87591 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
87592 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
87593 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
87594 echo $ECHO_N "(cached) $ECHO_C" >&6
87595 else
87599 ac_ext=cc
87600 ac_cpp='$CXXCPP $CPPFLAGS'
87601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87605 cat >conftest.$ac_ext <<_ACEOF
87606 /* confdefs.h. */
87607 _ACEOF
87608 cat confdefs.h >>conftest.$ac_ext
87609 cat >>conftest.$ac_ext <<_ACEOF
87610 /* end confdefs.h. */
87611 #include <math.h>
87612 #ifdef HAVE_IEEEFP_H
87613 #include <ieeefp.h>
87614 #endif
87617 main ()
87619 isinf(0);
87621 return 0;
87623 _ACEOF
87624 rm -f conftest.$ac_objext
87625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87626 (eval $ac_compile) 2>conftest.er1
87627 ac_status=$?
87628 grep -v '^ *+' conftest.er1 >conftest.err
87629 rm -f conftest.er1
87630 cat conftest.err >&5
87631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87632 (exit $ac_status); } &&
87633 { ac_try='test -z "$ac_cxx_werror_flag"
87634 || test ! -s conftest.err'
87635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87636 (eval $ac_try) 2>&5
87637 ac_status=$?
87638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87639 (exit $ac_status); }; } &&
87640 { ac_try='test -s conftest.$ac_objext'
87641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87642 (eval $ac_try) 2>&5
87643 ac_status=$?
87644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87645 (exit $ac_status); }; }; then
87646 glibcxx_cv_func_isinf_use=yes
87647 else
87648 echo "$as_me: failed program was:" >&5
87649 sed 's/^/| /' conftest.$ac_ext >&5
87651 glibcxx_cv_func_isinf_use=no
87653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87654 ac_ext=c
87655 ac_cpp='$CPP $CPPFLAGS'
87656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87664 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
87665 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
87667 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
87669 for ac_func in isinf
87671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87672 echo "$as_me:$LINENO: checking for $ac_func" >&5
87673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87674 if eval "test \"\${$as_ac_var+set}\" = set"; then
87675 echo $ECHO_N "(cached) $ECHO_C" >&6
87676 else
87677 if test x$gcc_no_link = xyes; then
87678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87680 { (exit 1); exit 1; }; }
87682 cat >conftest.$ac_ext <<_ACEOF
87683 /* confdefs.h. */
87684 _ACEOF
87685 cat confdefs.h >>conftest.$ac_ext
87686 cat >>conftest.$ac_ext <<_ACEOF
87687 /* end confdefs.h. */
87688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87690 #define $ac_func innocuous_$ac_func
87692 /* System header to define __stub macros and hopefully few prototypes,
87693 which can conflict with char $ac_func (); below.
87694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87695 <limits.h> exists even on freestanding compilers. */
87697 #ifdef __STDC__
87698 # include <limits.h>
87699 #else
87700 # include <assert.h>
87701 #endif
87703 #undef $ac_func
87705 /* Override any gcc2 internal prototype to avoid an error. */
87706 #ifdef __cplusplus
87707 extern "C"
87709 #endif
87710 /* We use char because int might match the return type of a gcc2
87711 builtin and then its argument prototype would still apply. */
87712 char $ac_func ();
87713 /* The GNU C library defines this for functions which it implements
87714 to always fail with ENOSYS. Some functions are actually named
87715 something starting with __ and the normal name is an alias. */
87716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87717 choke me
87718 #else
87719 char (*f) () = $ac_func;
87720 #endif
87721 #ifdef __cplusplus
87723 #endif
87726 main ()
87728 return f != $ac_func;
87730 return 0;
87732 _ACEOF
87733 rm -f conftest.$ac_objext conftest$ac_exeext
87734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87735 (eval $ac_link) 2>conftest.er1
87736 ac_status=$?
87737 grep -v '^ *+' conftest.er1 >conftest.err
87738 rm -f conftest.er1
87739 cat conftest.err >&5
87740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87741 (exit $ac_status); } &&
87742 { ac_try='test -z "$ac_c_werror_flag"
87743 || test ! -s conftest.err'
87744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87745 (eval $ac_try) 2>&5
87746 ac_status=$?
87747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87748 (exit $ac_status); }; } &&
87749 { ac_try='test -s conftest$ac_exeext'
87750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87751 (eval $ac_try) 2>&5
87752 ac_status=$?
87753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87754 (exit $ac_status); }; }; then
87755 eval "$as_ac_var=yes"
87756 else
87757 echo "$as_me: failed program was:" >&5
87758 sed 's/^/| /' conftest.$ac_ext >&5
87760 eval "$as_ac_var=no"
87762 rm -f conftest.err conftest.$ac_objext \
87763 conftest$ac_exeext conftest.$ac_ext
87765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87767 if test `eval echo '${'$as_ac_var'}'` = yes; then
87768 cat >>confdefs.h <<_ACEOF
87769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87770 _ACEOF
87773 done
87775 else
87777 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
87778 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
87779 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
87780 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
87781 echo $ECHO_N "(cached) $ECHO_C" >&6
87782 else
87786 ac_ext=cc
87787 ac_cpp='$CXXCPP $CPPFLAGS'
87788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87792 cat >conftest.$ac_ext <<_ACEOF
87793 /* confdefs.h. */
87794 _ACEOF
87795 cat confdefs.h >>conftest.$ac_ext
87796 cat >>conftest.$ac_ext <<_ACEOF
87797 /* end confdefs.h. */
87798 #include <math.h>
87799 #ifdef HAVE_IEEEFP_H
87800 #include <ieeefp.h>
87801 #endif
87804 main ()
87806 _isinf(0);
87808 return 0;
87810 _ACEOF
87811 rm -f conftest.$ac_objext
87812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87813 (eval $ac_compile) 2>conftest.er1
87814 ac_status=$?
87815 grep -v '^ *+' conftest.er1 >conftest.err
87816 rm -f conftest.er1
87817 cat conftest.err >&5
87818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87819 (exit $ac_status); } &&
87820 { ac_try='test -z "$ac_cxx_werror_flag"
87821 || test ! -s conftest.err'
87822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87823 (eval $ac_try) 2>&5
87824 ac_status=$?
87825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87826 (exit $ac_status); }; } &&
87827 { ac_try='test -s conftest.$ac_objext'
87828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87829 (eval $ac_try) 2>&5
87830 ac_status=$?
87831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87832 (exit $ac_status); }; }; then
87833 glibcxx_cv_func__isinf_use=yes
87834 else
87835 echo "$as_me: failed program was:" >&5
87836 sed 's/^/| /' conftest.$ac_ext >&5
87838 glibcxx_cv_func__isinf_use=no
87840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87841 ac_ext=c
87842 ac_cpp='$CPP $CPPFLAGS'
87843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87851 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
87852 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
87854 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
87856 for ac_func in _isinf
87858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87859 echo "$as_me:$LINENO: checking for $ac_func" >&5
87860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87861 if eval "test \"\${$as_ac_var+set}\" = set"; then
87862 echo $ECHO_N "(cached) $ECHO_C" >&6
87863 else
87864 if test x$gcc_no_link = xyes; then
87865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87867 { (exit 1); exit 1; }; }
87869 cat >conftest.$ac_ext <<_ACEOF
87870 /* confdefs.h. */
87871 _ACEOF
87872 cat confdefs.h >>conftest.$ac_ext
87873 cat >>conftest.$ac_ext <<_ACEOF
87874 /* end confdefs.h. */
87875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87877 #define $ac_func innocuous_$ac_func
87879 /* System header to define __stub macros and hopefully few prototypes,
87880 which can conflict with char $ac_func (); below.
87881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87882 <limits.h> exists even on freestanding compilers. */
87884 #ifdef __STDC__
87885 # include <limits.h>
87886 #else
87887 # include <assert.h>
87888 #endif
87890 #undef $ac_func
87892 /* Override any gcc2 internal prototype to avoid an error. */
87893 #ifdef __cplusplus
87894 extern "C"
87896 #endif
87897 /* We use char because int might match the return type of a gcc2
87898 builtin and then its argument prototype would still apply. */
87899 char $ac_func ();
87900 /* The GNU C library defines this for functions which it implements
87901 to always fail with ENOSYS. Some functions are actually named
87902 something starting with __ and the normal name is an alias. */
87903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87904 choke me
87905 #else
87906 char (*f) () = $ac_func;
87907 #endif
87908 #ifdef __cplusplus
87910 #endif
87913 main ()
87915 return f != $ac_func;
87917 return 0;
87919 _ACEOF
87920 rm -f conftest.$ac_objext conftest$ac_exeext
87921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87922 (eval $ac_link) 2>conftest.er1
87923 ac_status=$?
87924 grep -v '^ *+' conftest.er1 >conftest.err
87925 rm -f conftest.er1
87926 cat conftest.err >&5
87927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87928 (exit $ac_status); } &&
87929 { ac_try='test -z "$ac_c_werror_flag"
87930 || test ! -s conftest.err'
87931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87932 (eval $ac_try) 2>&5
87933 ac_status=$?
87934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87935 (exit $ac_status); }; } &&
87936 { ac_try='test -s conftest$ac_exeext'
87937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87938 (eval $ac_try) 2>&5
87939 ac_status=$?
87940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87941 (exit $ac_status); }; }; then
87942 eval "$as_ac_var=yes"
87943 else
87944 echo "$as_me: failed program was:" >&5
87945 sed 's/^/| /' conftest.$ac_ext >&5
87947 eval "$as_ac_var=no"
87949 rm -f conftest.err conftest.$ac_objext \
87950 conftest$ac_exeext conftest.$ac_ext
87952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87954 if test `eval echo '${'$as_ac_var'}'` = yes; then
87955 cat >>confdefs.h <<_ACEOF
87956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87957 _ACEOF
87960 done
87970 echo "$as_me:$LINENO: checking for isnan declaration" >&5
87971 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
87972 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
87973 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
87974 echo $ECHO_N "(cached) $ECHO_C" >&6
87975 else
87979 ac_ext=cc
87980 ac_cpp='$CXXCPP $CPPFLAGS'
87981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87985 cat >conftest.$ac_ext <<_ACEOF
87986 /* confdefs.h. */
87987 _ACEOF
87988 cat confdefs.h >>conftest.$ac_ext
87989 cat >>conftest.$ac_ext <<_ACEOF
87990 /* end confdefs.h. */
87991 #include <math.h>
87992 #ifdef HAVE_IEEEFP_H
87993 #include <ieeefp.h>
87994 #endif
87997 main ()
87999 isnan(0);
88001 return 0;
88003 _ACEOF
88004 rm -f conftest.$ac_objext
88005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88006 (eval $ac_compile) 2>conftest.er1
88007 ac_status=$?
88008 grep -v '^ *+' conftest.er1 >conftest.err
88009 rm -f conftest.er1
88010 cat conftest.err >&5
88011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88012 (exit $ac_status); } &&
88013 { ac_try='test -z "$ac_cxx_werror_flag"
88014 || test ! -s conftest.err'
88015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88016 (eval $ac_try) 2>&5
88017 ac_status=$?
88018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88019 (exit $ac_status); }; } &&
88020 { ac_try='test -s conftest.$ac_objext'
88021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88022 (eval $ac_try) 2>&5
88023 ac_status=$?
88024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88025 (exit $ac_status); }; }; then
88026 glibcxx_cv_func_isnan_use=yes
88027 else
88028 echo "$as_me: failed program was:" >&5
88029 sed 's/^/| /' conftest.$ac_ext >&5
88031 glibcxx_cv_func_isnan_use=no
88033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88034 ac_ext=c
88035 ac_cpp='$CPP $CPPFLAGS'
88036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88044 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
88045 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
88047 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
88049 for ac_func in isnan
88051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88052 echo "$as_me:$LINENO: checking for $ac_func" >&5
88053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88054 if eval "test \"\${$as_ac_var+set}\" = set"; then
88055 echo $ECHO_N "(cached) $ECHO_C" >&6
88056 else
88057 if test x$gcc_no_link = xyes; then
88058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88060 { (exit 1); exit 1; }; }
88062 cat >conftest.$ac_ext <<_ACEOF
88063 /* confdefs.h. */
88064 _ACEOF
88065 cat confdefs.h >>conftest.$ac_ext
88066 cat >>conftest.$ac_ext <<_ACEOF
88067 /* end confdefs.h. */
88068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88070 #define $ac_func innocuous_$ac_func
88072 /* System header to define __stub macros and hopefully few prototypes,
88073 which can conflict with char $ac_func (); below.
88074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88075 <limits.h> exists even on freestanding compilers. */
88077 #ifdef __STDC__
88078 # include <limits.h>
88079 #else
88080 # include <assert.h>
88081 #endif
88083 #undef $ac_func
88085 /* Override any gcc2 internal prototype to avoid an error. */
88086 #ifdef __cplusplus
88087 extern "C"
88089 #endif
88090 /* We use char because int might match the return type of a gcc2
88091 builtin and then its argument prototype would still apply. */
88092 char $ac_func ();
88093 /* The GNU C library defines this for functions which it implements
88094 to always fail with ENOSYS. Some functions are actually named
88095 something starting with __ and the normal name is an alias. */
88096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88097 choke me
88098 #else
88099 char (*f) () = $ac_func;
88100 #endif
88101 #ifdef __cplusplus
88103 #endif
88106 main ()
88108 return f != $ac_func;
88110 return 0;
88112 _ACEOF
88113 rm -f conftest.$ac_objext conftest$ac_exeext
88114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88115 (eval $ac_link) 2>conftest.er1
88116 ac_status=$?
88117 grep -v '^ *+' conftest.er1 >conftest.err
88118 rm -f conftest.er1
88119 cat conftest.err >&5
88120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88121 (exit $ac_status); } &&
88122 { ac_try='test -z "$ac_c_werror_flag"
88123 || test ! -s conftest.err'
88124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88125 (eval $ac_try) 2>&5
88126 ac_status=$?
88127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88128 (exit $ac_status); }; } &&
88129 { ac_try='test -s conftest$ac_exeext'
88130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88131 (eval $ac_try) 2>&5
88132 ac_status=$?
88133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88134 (exit $ac_status); }; }; then
88135 eval "$as_ac_var=yes"
88136 else
88137 echo "$as_me: failed program was:" >&5
88138 sed 's/^/| /' conftest.$ac_ext >&5
88140 eval "$as_ac_var=no"
88142 rm -f conftest.err conftest.$ac_objext \
88143 conftest$ac_exeext conftest.$ac_ext
88145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88147 if test `eval echo '${'$as_ac_var'}'` = yes; then
88148 cat >>confdefs.h <<_ACEOF
88149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88150 _ACEOF
88153 done
88155 else
88157 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
88158 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
88159 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
88160 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
88161 echo $ECHO_N "(cached) $ECHO_C" >&6
88162 else
88166 ac_ext=cc
88167 ac_cpp='$CXXCPP $CPPFLAGS'
88168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88172 cat >conftest.$ac_ext <<_ACEOF
88173 /* confdefs.h. */
88174 _ACEOF
88175 cat confdefs.h >>conftest.$ac_ext
88176 cat >>conftest.$ac_ext <<_ACEOF
88177 /* end confdefs.h. */
88178 #include <math.h>
88179 #ifdef HAVE_IEEEFP_H
88180 #include <ieeefp.h>
88181 #endif
88184 main ()
88186 _isnan(0);
88188 return 0;
88190 _ACEOF
88191 rm -f conftest.$ac_objext
88192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88193 (eval $ac_compile) 2>conftest.er1
88194 ac_status=$?
88195 grep -v '^ *+' conftest.er1 >conftest.err
88196 rm -f conftest.er1
88197 cat conftest.err >&5
88198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88199 (exit $ac_status); } &&
88200 { ac_try='test -z "$ac_cxx_werror_flag"
88201 || test ! -s conftest.err'
88202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88203 (eval $ac_try) 2>&5
88204 ac_status=$?
88205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88206 (exit $ac_status); }; } &&
88207 { ac_try='test -s conftest.$ac_objext'
88208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88209 (eval $ac_try) 2>&5
88210 ac_status=$?
88211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88212 (exit $ac_status); }; }; then
88213 glibcxx_cv_func__isnan_use=yes
88214 else
88215 echo "$as_me: failed program was:" >&5
88216 sed 's/^/| /' conftest.$ac_ext >&5
88218 glibcxx_cv_func__isnan_use=no
88220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88221 ac_ext=c
88222 ac_cpp='$CPP $CPPFLAGS'
88223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88231 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
88232 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
88234 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
88236 for ac_func in _isnan
88238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88239 echo "$as_me:$LINENO: checking for $ac_func" >&5
88240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88241 if eval "test \"\${$as_ac_var+set}\" = set"; then
88242 echo $ECHO_N "(cached) $ECHO_C" >&6
88243 else
88244 if test x$gcc_no_link = xyes; then
88245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88247 { (exit 1); exit 1; }; }
88249 cat >conftest.$ac_ext <<_ACEOF
88250 /* confdefs.h. */
88251 _ACEOF
88252 cat confdefs.h >>conftest.$ac_ext
88253 cat >>conftest.$ac_ext <<_ACEOF
88254 /* end confdefs.h. */
88255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88257 #define $ac_func innocuous_$ac_func
88259 /* System header to define __stub macros and hopefully few prototypes,
88260 which can conflict with char $ac_func (); below.
88261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88262 <limits.h> exists even on freestanding compilers. */
88264 #ifdef __STDC__
88265 # include <limits.h>
88266 #else
88267 # include <assert.h>
88268 #endif
88270 #undef $ac_func
88272 /* Override any gcc2 internal prototype to avoid an error. */
88273 #ifdef __cplusplus
88274 extern "C"
88276 #endif
88277 /* We use char because int might match the return type of a gcc2
88278 builtin and then its argument prototype would still apply. */
88279 char $ac_func ();
88280 /* The GNU C library defines this for functions which it implements
88281 to always fail with ENOSYS. Some functions are actually named
88282 something starting with __ and the normal name is an alias. */
88283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88284 choke me
88285 #else
88286 char (*f) () = $ac_func;
88287 #endif
88288 #ifdef __cplusplus
88290 #endif
88293 main ()
88295 return f != $ac_func;
88297 return 0;
88299 _ACEOF
88300 rm -f conftest.$ac_objext conftest$ac_exeext
88301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88302 (eval $ac_link) 2>conftest.er1
88303 ac_status=$?
88304 grep -v '^ *+' conftest.er1 >conftest.err
88305 rm -f conftest.er1
88306 cat conftest.err >&5
88307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88308 (exit $ac_status); } &&
88309 { ac_try='test -z "$ac_c_werror_flag"
88310 || test ! -s conftest.err'
88311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88312 (eval $ac_try) 2>&5
88313 ac_status=$?
88314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88315 (exit $ac_status); }; } &&
88316 { ac_try='test -s conftest$ac_exeext'
88317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88318 (eval $ac_try) 2>&5
88319 ac_status=$?
88320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88321 (exit $ac_status); }; }; then
88322 eval "$as_ac_var=yes"
88323 else
88324 echo "$as_me: failed program was:" >&5
88325 sed 's/^/| /' conftest.$ac_ext >&5
88327 eval "$as_ac_var=no"
88329 rm -f conftest.err conftest.$ac_objext \
88330 conftest$ac_exeext conftest.$ac_ext
88332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88334 if test `eval echo '${'$as_ac_var'}'` = yes; then
88335 cat >>confdefs.h <<_ACEOF
88336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88337 _ACEOF
88340 done
88350 echo "$as_me:$LINENO: checking for finite declaration" >&5
88351 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
88352 if test x${glibcxx_cv_func_finite_use+set} != xset; then
88353 if test "${glibcxx_cv_func_finite_use+set}" = set; then
88354 echo $ECHO_N "(cached) $ECHO_C" >&6
88355 else
88359 ac_ext=cc
88360 ac_cpp='$CXXCPP $CPPFLAGS'
88361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88365 cat >conftest.$ac_ext <<_ACEOF
88366 /* confdefs.h. */
88367 _ACEOF
88368 cat confdefs.h >>conftest.$ac_ext
88369 cat >>conftest.$ac_ext <<_ACEOF
88370 /* end confdefs.h. */
88371 #include <math.h>
88372 #ifdef HAVE_IEEEFP_H
88373 #include <ieeefp.h>
88374 #endif
88377 main ()
88379 finite(0);
88381 return 0;
88383 _ACEOF
88384 rm -f conftest.$ac_objext
88385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88386 (eval $ac_compile) 2>conftest.er1
88387 ac_status=$?
88388 grep -v '^ *+' conftest.er1 >conftest.err
88389 rm -f conftest.er1
88390 cat conftest.err >&5
88391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88392 (exit $ac_status); } &&
88393 { ac_try='test -z "$ac_cxx_werror_flag"
88394 || test ! -s conftest.err'
88395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88396 (eval $ac_try) 2>&5
88397 ac_status=$?
88398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88399 (exit $ac_status); }; } &&
88400 { ac_try='test -s conftest.$ac_objext'
88401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88402 (eval $ac_try) 2>&5
88403 ac_status=$?
88404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88405 (exit $ac_status); }; }; then
88406 glibcxx_cv_func_finite_use=yes
88407 else
88408 echo "$as_me: failed program was:" >&5
88409 sed 's/^/| /' conftest.$ac_ext >&5
88411 glibcxx_cv_func_finite_use=no
88413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88414 ac_ext=c
88415 ac_cpp='$CPP $CPPFLAGS'
88416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88424 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
88425 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
88427 if test x$glibcxx_cv_func_finite_use = x"yes"; then
88429 for ac_func in finite
88431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88432 echo "$as_me:$LINENO: checking for $ac_func" >&5
88433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88434 if eval "test \"\${$as_ac_var+set}\" = set"; then
88435 echo $ECHO_N "(cached) $ECHO_C" >&6
88436 else
88437 if test x$gcc_no_link = xyes; then
88438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88440 { (exit 1); exit 1; }; }
88442 cat >conftest.$ac_ext <<_ACEOF
88443 /* confdefs.h. */
88444 _ACEOF
88445 cat confdefs.h >>conftest.$ac_ext
88446 cat >>conftest.$ac_ext <<_ACEOF
88447 /* end confdefs.h. */
88448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88450 #define $ac_func innocuous_$ac_func
88452 /* System header to define __stub macros and hopefully few prototypes,
88453 which can conflict with char $ac_func (); below.
88454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88455 <limits.h> exists even on freestanding compilers. */
88457 #ifdef __STDC__
88458 # include <limits.h>
88459 #else
88460 # include <assert.h>
88461 #endif
88463 #undef $ac_func
88465 /* Override any gcc2 internal prototype to avoid an error. */
88466 #ifdef __cplusplus
88467 extern "C"
88469 #endif
88470 /* We use char because int might match the return type of a gcc2
88471 builtin and then its argument prototype would still apply. */
88472 char $ac_func ();
88473 /* The GNU C library defines this for functions which it implements
88474 to always fail with ENOSYS. Some functions are actually named
88475 something starting with __ and the normal name is an alias. */
88476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88477 choke me
88478 #else
88479 char (*f) () = $ac_func;
88480 #endif
88481 #ifdef __cplusplus
88483 #endif
88486 main ()
88488 return f != $ac_func;
88490 return 0;
88492 _ACEOF
88493 rm -f conftest.$ac_objext conftest$ac_exeext
88494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88495 (eval $ac_link) 2>conftest.er1
88496 ac_status=$?
88497 grep -v '^ *+' conftest.er1 >conftest.err
88498 rm -f conftest.er1
88499 cat conftest.err >&5
88500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88501 (exit $ac_status); } &&
88502 { ac_try='test -z "$ac_c_werror_flag"
88503 || test ! -s conftest.err'
88504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88505 (eval $ac_try) 2>&5
88506 ac_status=$?
88507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88508 (exit $ac_status); }; } &&
88509 { ac_try='test -s conftest$ac_exeext'
88510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88511 (eval $ac_try) 2>&5
88512 ac_status=$?
88513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88514 (exit $ac_status); }; }; then
88515 eval "$as_ac_var=yes"
88516 else
88517 echo "$as_me: failed program was:" >&5
88518 sed 's/^/| /' conftest.$ac_ext >&5
88520 eval "$as_ac_var=no"
88522 rm -f conftest.err conftest.$ac_objext \
88523 conftest$ac_exeext conftest.$ac_ext
88525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88527 if test `eval echo '${'$as_ac_var'}'` = yes; then
88528 cat >>confdefs.h <<_ACEOF
88529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88530 _ACEOF
88533 done
88535 else
88537 echo "$as_me:$LINENO: checking for _finite declaration" >&5
88538 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
88539 if test x${glibcxx_cv_func__finite_use+set} != xset; then
88540 if test "${glibcxx_cv_func__finite_use+set}" = set; then
88541 echo $ECHO_N "(cached) $ECHO_C" >&6
88542 else
88546 ac_ext=cc
88547 ac_cpp='$CXXCPP $CPPFLAGS'
88548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88552 cat >conftest.$ac_ext <<_ACEOF
88553 /* confdefs.h. */
88554 _ACEOF
88555 cat confdefs.h >>conftest.$ac_ext
88556 cat >>conftest.$ac_ext <<_ACEOF
88557 /* end confdefs.h. */
88558 #include <math.h>
88559 #ifdef HAVE_IEEEFP_H
88560 #include <ieeefp.h>
88561 #endif
88564 main ()
88566 _finite(0);
88568 return 0;
88570 _ACEOF
88571 rm -f conftest.$ac_objext
88572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88573 (eval $ac_compile) 2>conftest.er1
88574 ac_status=$?
88575 grep -v '^ *+' conftest.er1 >conftest.err
88576 rm -f conftest.er1
88577 cat conftest.err >&5
88578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88579 (exit $ac_status); } &&
88580 { ac_try='test -z "$ac_cxx_werror_flag"
88581 || test ! -s conftest.err'
88582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88583 (eval $ac_try) 2>&5
88584 ac_status=$?
88585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88586 (exit $ac_status); }; } &&
88587 { ac_try='test -s conftest.$ac_objext'
88588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88589 (eval $ac_try) 2>&5
88590 ac_status=$?
88591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88592 (exit $ac_status); }; }; then
88593 glibcxx_cv_func__finite_use=yes
88594 else
88595 echo "$as_me: failed program was:" >&5
88596 sed 's/^/| /' conftest.$ac_ext >&5
88598 glibcxx_cv_func__finite_use=no
88600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88601 ac_ext=c
88602 ac_cpp='$CPP $CPPFLAGS'
88603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88611 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
88612 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
88614 if test x$glibcxx_cv_func__finite_use = x"yes"; then
88616 for ac_func in _finite
88618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88619 echo "$as_me:$LINENO: checking for $ac_func" >&5
88620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88621 if eval "test \"\${$as_ac_var+set}\" = set"; then
88622 echo $ECHO_N "(cached) $ECHO_C" >&6
88623 else
88624 if test x$gcc_no_link = xyes; then
88625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88627 { (exit 1); exit 1; }; }
88629 cat >conftest.$ac_ext <<_ACEOF
88630 /* confdefs.h. */
88631 _ACEOF
88632 cat confdefs.h >>conftest.$ac_ext
88633 cat >>conftest.$ac_ext <<_ACEOF
88634 /* end confdefs.h. */
88635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88637 #define $ac_func innocuous_$ac_func
88639 /* System header to define __stub macros and hopefully few prototypes,
88640 which can conflict with char $ac_func (); below.
88641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88642 <limits.h> exists even on freestanding compilers. */
88644 #ifdef __STDC__
88645 # include <limits.h>
88646 #else
88647 # include <assert.h>
88648 #endif
88650 #undef $ac_func
88652 /* Override any gcc2 internal prototype to avoid an error. */
88653 #ifdef __cplusplus
88654 extern "C"
88656 #endif
88657 /* We use char because int might match the return type of a gcc2
88658 builtin and then its argument prototype would still apply. */
88659 char $ac_func ();
88660 /* The GNU C library defines this for functions which it implements
88661 to always fail with ENOSYS. Some functions are actually named
88662 something starting with __ and the normal name is an alias. */
88663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88664 choke me
88665 #else
88666 char (*f) () = $ac_func;
88667 #endif
88668 #ifdef __cplusplus
88670 #endif
88673 main ()
88675 return f != $ac_func;
88677 return 0;
88679 _ACEOF
88680 rm -f conftest.$ac_objext conftest$ac_exeext
88681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88682 (eval $ac_link) 2>conftest.er1
88683 ac_status=$?
88684 grep -v '^ *+' conftest.er1 >conftest.err
88685 rm -f conftest.er1
88686 cat conftest.err >&5
88687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88688 (exit $ac_status); } &&
88689 { ac_try='test -z "$ac_c_werror_flag"
88690 || test ! -s conftest.err'
88691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88692 (eval $ac_try) 2>&5
88693 ac_status=$?
88694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88695 (exit $ac_status); }; } &&
88696 { ac_try='test -s conftest$ac_exeext'
88697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88698 (eval $ac_try) 2>&5
88699 ac_status=$?
88700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88701 (exit $ac_status); }; }; then
88702 eval "$as_ac_var=yes"
88703 else
88704 echo "$as_me: failed program was:" >&5
88705 sed 's/^/| /' conftest.$ac_ext >&5
88707 eval "$as_ac_var=no"
88709 rm -f conftest.err conftest.$ac_objext \
88710 conftest$ac_exeext conftest.$ac_ext
88712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88714 if test `eval echo '${'$as_ac_var'}'` = yes; then
88715 cat >>confdefs.h <<_ACEOF
88716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88717 _ACEOF
88720 done
88730 echo "$as_me:$LINENO: checking for copysign declaration" >&5
88731 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
88732 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
88733 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
88734 echo $ECHO_N "(cached) $ECHO_C" >&6
88735 else
88739 ac_ext=cc
88740 ac_cpp='$CXXCPP $CPPFLAGS'
88741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88745 cat >conftest.$ac_ext <<_ACEOF
88746 /* confdefs.h. */
88747 _ACEOF
88748 cat confdefs.h >>conftest.$ac_ext
88749 cat >>conftest.$ac_ext <<_ACEOF
88750 /* end confdefs.h. */
88751 #include <math.h>
88753 main ()
88755 copysign(0, 0);
88757 return 0;
88759 _ACEOF
88760 rm -f conftest.$ac_objext
88761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88762 (eval $ac_compile) 2>conftest.er1
88763 ac_status=$?
88764 grep -v '^ *+' conftest.er1 >conftest.err
88765 rm -f conftest.er1
88766 cat conftest.err >&5
88767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88768 (exit $ac_status); } &&
88769 { ac_try='test -z "$ac_cxx_werror_flag"
88770 || test ! -s conftest.err'
88771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88772 (eval $ac_try) 2>&5
88773 ac_status=$?
88774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88775 (exit $ac_status); }; } &&
88776 { ac_try='test -s conftest.$ac_objext'
88777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88778 (eval $ac_try) 2>&5
88779 ac_status=$?
88780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88781 (exit $ac_status); }; }; then
88782 glibcxx_cv_func_copysign_use=yes
88783 else
88784 echo "$as_me: failed program was:" >&5
88785 sed 's/^/| /' conftest.$ac_ext >&5
88787 glibcxx_cv_func_copysign_use=no
88789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88790 ac_ext=c
88791 ac_cpp='$CPP $CPPFLAGS'
88792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88800 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
88801 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
88803 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
88805 for ac_func in copysign
88807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88808 echo "$as_me:$LINENO: checking for $ac_func" >&5
88809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88810 if eval "test \"\${$as_ac_var+set}\" = set"; then
88811 echo $ECHO_N "(cached) $ECHO_C" >&6
88812 else
88813 if test x$gcc_no_link = xyes; then
88814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88816 { (exit 1); exit 1; }; }
88818 cat >conftest.$ac_ext <<_ACEOF
88819 /* confdefs.h. */
88820 _ACEOF
88821 cat confdefs.h >>conftest.$ac_ext
88822 cat >>conftest.$ac_ext <<_ACEOF
88823 /* end confdefs.h. */
88824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88826 #define $ac_func innocuous_$ac_func
88828 /* System header to define __stub macros and hopefully few prototypes,
88829 which can conflict with char $ac_func (); below.
88830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88831 <limits.h> exists even on freestanding compilers. */
88833 #ifdef __STDC__
88834 # include <limits.h>
88835 #else
88836 # include <assert.h>
88837 #endif
88839 #undef $ac_func
88841 /* Override any gcc2 internal prototype to avoid an error. */
88842 #ifdef __cplusplus
88843 extern "C"
88845 #endif
88846 /* We use char because int might match the return type of a gcc2
88847 builtin and then its argument prototype would still apply. */
88848 char $ac_func ();
88849 /* The GNU C library defines this for functions which it implements
88850 to always fail with ENOSYS. Some functions are actually named
88851 something starting with __ and the normal name is an alias. */
88852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88853 choke me
88854 #else
88855 char (*f) () = $ac_func;
88856 #endif
88857 #ifdef __cplusplus
88859 #endif
88862 main ()
88864 return f != $ac_func;
88866 return 0;
88868 _ACEOF
88869 rm -f conftest.$ac_objext conftest$ac_exeext
88870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88871 (eval $ac_link) 2>conftest.er1
88872 ac_status=$?
88873 grep -v '^ *+' conftest.er1 >conftest.err
88874 rm -f conftest.er1
88875 cat conftest.err >&5
88876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88877 (exit $ac_status); } &&
88878 { ac_try='test -z "$ac_c_werror_flag"
88879 || test ! -s conftest.err'
88880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88881 (eval $ac_try) 2>&5
88882 ac_status=$?
88883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88884 (exit $ac_status); }; } &&
88885 { ac_try='test -s conftest$ac_exeext'
88886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88887 (eval $ac_try) 2>&5
88888 ac_status=$?
88889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88890 (exit $ac_status); }; }; then
88891 eval "$as_ac_var=yes"
88892 else
88893 echo "$as_me: failed program was:" >&5
88894 sed 's/^/| /' conftest.$ac_ext >&5
88896 eval "$as_ac_var=no"
88898 rm -f conftest.err conftest.$ac_objext \
88899 conftest$ac_exeext conftest.$ac_ext
88901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88903 if test `eval echo '${'$as_ac_var'}'` = yes; then
88904 cat >>confdefs.h <<_ACEOF
88905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88906 _ACEOF
88909 done
88911 else
88913 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
88914 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
88915 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
88916 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
88917 echo $ECHO_N "(cached) $ECHO_C" >&6
88918 else
88922 ac_ext=cc
88923 ac_cpp='$CXXCPP $CPPFLAGS'
88924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88928 cat >conftest.$ac_ext <<_ACEOF
88929 /* confdefs.h. */
88930 _ACEOF
88931 cat confdefs.h >>conftest.$ac_ext
88932 cat >>conftest.$ac_ext <<_ACEOF
88933 /* end confdefs.h. */
88934 #include <math.h>
88936 main ()
88938 _copysign(0, 0);
88940 return 0;
88942 _ACEOF
88943 rm -f conftest.$ac_objext
88944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88945 (eval $ac_compile) 2>conftest.er1
88946 ac_status=$?
88947 grep -v '^ *+' conftest.er1 >conftest.err
88948 rm -f conftest.er1
88949 cat conftest.err >&5
88950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88951 (exit $ac_status); } &&
88952 { ac_try='test -z "$ac_cxx_werror_flag"
88953 || test ! -s conftest.err'
88954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88955 (eval $ac_try) 2>&5
88956 ac_status=$?
88957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88958 (exit $ac_status); }; } &&
88959 { ac_try='test -s conftest.$ac_objext'
88960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88961 (eval $ac_try) 2>&5
88962 ac_status=$?
88963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88964 (exit $ac_status); }; }; then
88965 glibcxx_cv_func__copysign_use=yes
88966 else
88967 echo "$as_me: failed program was:" >&5
88968 sed 's/^/| /' conftest.$ac_ext >&5
88970 glibcxx_cv_func__copysign_use=no
88972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88973 ac_ext=c
88974 ac_cpp='$CPP $CPPFLAGS'
88975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88983 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
88984 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
88986 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
88988 for ac_func in _copysign
88990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88991 echo "$as_me:$LINENO: checking for $ac_func" >&5
88992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88993 if eval "test \"\${$as_ac_var+set}\" = set"; then
88994 echo $ECHO_N "(cached) $ECHO_C" >&6
88995 else
88996 if test x$gcc_no_link = xyes; then
88997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88999 { (exit 1); exit 1; }; }
89001 cat >conftest.$ac_ext <<_ACEOF
89002 /* confdefs.h. */
89003 _ACEOF
89004 cat confdefs.h >>conftest.$ac_ext
89005 cat >>conftest.$ac_ext <<_ACEOF
89006 /* end confdefs.h. */
89007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89009 #define $ac_func innocuous_$ac_func
89011 /* System header to define __stub macros and hopefully few prototypes,
89012 which can conflict with char $ac_func (); below.
89013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89014 <limits.h> exists even on freestanding compilers. */
89016 #ifdef __STDC__
89017 # include <limits.h>
89018 #else
89019 # include <assert.h>
89020 #endif
89022 #undef $ac_func
89024 /* Override any gcc2 internal prototype to avoid an error. */
89025 #ifdef __cplusplus
89026 extern "C"
89028 #endif
89029 /* We use char because int might match the return type of a gcc2
89030 builtin and then its argument prototype would still apply. */
89031 char $ac_func ();
89032 /* The GNU C library defines this for functions which it implements
89033 to always fail with ENOSYS. Some functions are actually named
89034 something starting with __ and the normal name is an alias. */
89035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89036 choke me
89037 #else
89038 char (*f) () = $ac_func;
89039 #endif
89040 #ifdef __cplusplus
89042 #endif
89045 main ()
89047 return f != $ac_func;
89049 return 0;
89051 _ACEOF
89052 rm -f conftest.$ac_objext conftest$ac_exeext
89053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89054 (eval $ac_link) 2>conftest.er1
89055 ac_status=$?
89056 grep -v '^ *+' conftest.er1 >conftest.err
89057 rm -f conftest.er1
89058 cat conftest.err >&5
89059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89060 (exit $ac_status); } &&
89061 { ac_try='test -z "$ac_c_werror_flag"
89062 || test ! -s conftest.err'
89063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89064 (eval $ac_try) 2>&5
89065 ac_status=$?
89066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89067 (exit $ac_status); }; } &&
89068 { ac_try='test -s conftest$ac_exeext'
89069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89070 (eval $ac_try) 2>&5
89071 ac_status=$?
89072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89073 (exit $ac_status); }; }; then
89074 eval "$as_ac_var=yes"
89075 else
89076 echo "$as_me: failed program was:" >&5
89077 sed 's/^/| /' conftest.$ac_ext >&5
89079 eval "$as_ac_var=no"
89081 rm -f conftest.err conftest.$ac_objext \
89082 conftest$ac_exeext conftest.$ac_ext
89084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89086 if test `eval echo '${'$as_ac_var'}'` = yes; then
89087 cat >>confdefs.h <<_ACEOF
89088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89089 _ACEOF
89092 done
89102 echo "$as_me:$LINENO: checking for sincos declaration" >&5
89103 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
89104 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
89105 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
89106 echo $ECHO_N "(cached) $ECHO_C" >&6
89107 else
89111 ac_ext=cc
89112 ac_cpp='$CXXCPP $CPPFLAGS'
89113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89117 cat >conftest.$ac_ext <<_ACEOF
89118 /* confdefs.h. */
89119 _ACEOF
89120 cat confdefs.h >>conftest.$ac_ext
89121 cat >>conftest.$ac_ext <<_ACEOF
89122 /* end confdefs.h. */
89123 #include <math.h>
89125 main ()
89127 sincos(0, 0, 0);
89129 return 0;
89131 _ACEOF
89132 rm -f conftest.$ac_objext
89133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89134 (eval $ac_compile) 2>conftest.er1
89135 ac_status=$?
89136 grep -v '^ *+' conftest.er1 >conftest.err
89137 rm -f conftest.er1
89138 cat conftest.err >&5
89139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89140 (exit $ac_status); } &&
89141 { ac_try='test -z "$ac_cxx_werror_flag"
89142 || test ! -s conftest.err'
89143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89144 (eval $ac_try) 2>&5
89145 ac_status=$?
89146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89147 (exit $ac_status); }; } &&
89148 { ac_try='test -s conftest.$ac_objext'
89149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89150 (eval $ac_try) 2>&5
89151 ac_status=$?
89152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89153 (exit $ac_status); }; }; then
89154 glibcxx_cv_func_sincos_use=yes
89155 else
89156 echo "$as_me: failed program was:" >&5
89157 sed 's/^/| /' conftest.$ac_ext >&5
89159 glibcxx_cv_func_sincos_use=no
89161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89162 ac_ext=c
89163 ac_cpp='$CPP $CPPFLAGS'
89164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89172 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
89173 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
89175 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
89177 for ac_func in sincos
89179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89180 echo "$as_me:$LINENO: checking for $ac_func" >&5
89181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89182 if eval "test \"\${$as_ac_var+set}\" = set"; then
89183 echo $ECHO_N "(cached) $ECHO_C" >&6
89184 else
89185 if test x$gcc_no_link = xyes; then
89186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89188 { (exit 1); exit 1; }; }
89190 cat >conftest.$ac_ext <<_ACEOF
89191 /* confdefs.h. */
89192 _ACEOF
89193 cat confdefs.h >>conftest.$ac_ext
89194 cat >>conftest.$ac_ext <<_ACEOF
89195 /* end confdefs.h. */
89196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89198 #define $ac_func innocuous_$ac_func
89200 /* System header to define __stub macros and hopefully few prototypes,
89201 which can conflict with char $ac_func (); below.
89202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89203 <limits.h> exists even on freestanding compilers. */
89205 #ifdef __STDC__
89206 # include <limits.h>
89207 #else
89208 # include <assert.h>
89209 #endif
89211 #undef $ac_func
89213 /* Override any gcc2 internal prototype to avoid an error. */
89214 #ifdef __cplusplus
89215 extern "C"
89217 #endif
89218 /* We use char because int might match the return type of a gcc2
89219 builtin and then its argument prototype would still apply. */
89220 char $ac_func ();
89221 /* The GNU C library defines this for functions which it implements
89222 to always fail with ENOSYS. Some functions are actually named
89223 something starting with __ and the normal name is an alias. */
89224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89225 choke me
89226 #else
89227 char (*f) () = $ac_func;
89228 #endif
89229 #ifdef __cplusplus
89231 #endif
89234 main ()
89236 return f != $ac_func;
89238 return 0;
89240 _ACEOF
89241 rm -f conftest.$ac_objext conftest$ac_exeext
89242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89243 (eval $ac_link) 2>conftest.er1
89244 ac_status=$?
89245 grep -v '^ *+' conftest.er1 >conftest.err
89246 rm -f conftest.er1
89247 cat conftest.err >&5
89248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89249 (exit $ac_status); } &&
89250 { ac_try='test -z "$ac_c_werror_flag"
89251 || test ! -s conftest.err'
89252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89253 (eval $ac_try) 2>&5
89254 ac_status=$?
89255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89256 (exit $ac_status); }; } &&
89257 { ac_try='test -s conftest$ac_exeext'
89258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89259 (eval $ac_try) 2>&5
89260 ac_status=$?
89261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89262 (exit $ac_status); }; }; then
89263 eval "$as_ac_var=yes"
89264 else
89265 echo "$as_me: failed program was:" >&5
89266 sed 's/^/| /' conftest.$ac_ext >&5
89268 eval "$as_ac_var=no"
89270 rm -f conftest.err conftest.$ac_objext \
89271 conftest$ac_exeext conftest.$ac_ext
89273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89275 if test `eval echo '${'$as_ac_var'}'` = yes; then
89276 cat >>confdefs.h <<_ACEOF
89277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89278 _ACEOF
89281 done
89283 else
89285 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
89286 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
89287 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
89288 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
89289 echo $ECHO_N "(cached) $ECHO_C" >&6
89290 else
89294 ac_ext=cc
89295 ac_cpp='$CXXCPP $CPPFLAGS'
89296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89300 cat >conftest.$ac_ext <<_ACEOF
89301 /* confdefs.h. */
89302 _ACEOF
89303 cat confdefs.h >>conftest.$ac_ext
89304 cat >>conftest.$ac_ext <<_ACEOF
89305 /* end confdefs.h. */
89306 #include <math.h>
89308 main ()
89310 _sincos(0, 0, 0);
89312 return 0;
89314 _ACEOF
89315 rm -f conftest.$ac_objext
89316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89317 (eval $ac_compile) 2>conftest.er1
89318 ac_status=$?
89319 grep -v '^ *+' conftest.er1 >conftest.err
89320 rm -f conftest.er1
89321 cat conftest.err >&5
89322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89323 (exit $ac_status); } &&
89324 { ac_try='test -z "$ac_cxx_werror_flag"
89325 || test ! -s conftest.err'
89326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89327 (eval $ac_try) 2>&5
89328 ac_status=$?
89329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89330 (exit $ac_status); }; } &&
89331 { ac_try='test -s conftest.$ac_objext'
89332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89333 (eval $ac_try) 2>&5
89334 ac_status=$?
89335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89336 (exit $ac_status); }; }; then
89337 glibcxx_cv_func__sincos_use=yes
89338 else
89339 echo "$as_me: failed program was:" >&5
89340 sed 's/^/| /' conftest.$ac_ext >&5
89342 glibcxx_cv_func__sincos_use=no
89344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89345 ac_ext=c
89346 ac_cpp='$CPP $CPPFLAGS'
89347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89355 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
89356 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
89358 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
89360 for ac_func in _sincos
89362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89363 echo "$as_me:$LINENO: checking for $ac_func" >&5
89364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89365 if eval "test \"\${$as_ac_var+set}\" = set"; then
89366 echo $ECHO_N "(cached) $ECHO_C" >&6
89367 else
89368 if test x$gcc_no_link = xyes; then
89369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89371 { (exit 1); exit 1; }; }
89373 cat >conftest.$ac_ext <<_ACEOF
89374 /* confdefs.h. */
89375 _ACEOF
89376 cat confdefs.h >>conftest.$ac_ext
89377 cat >>conftest.$ac_ext <<_ACEOF
89378 /* end confdefs.h. */
89379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89381 #define $ac_func innocuous_$ac_func
89383 /* System header to define __stub macros and hopefully few prototypes,
89384 which can conflict with char $ac_func (); below.
89385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89386 <limits.h> exists even on freestanding compilers. */
89388 #ifdef __STDC__
89389 # include <limits.h>
89390 #else
89391 # include <assert.h>
89392 #endif
89394 #undef $ac_func
89396 /* Override any gcc2 internal prototype to avoid an error. */
89397 #ifdef __cplusplus
89398 extern "C"
89400 #endif
89401 /* We use char because int might match the return type of a gcc2
89402 builtin and then its argument prototype would still apply. */
89403 char $ac_func ();
89404 /* The GNU C library defines this for functions which it implements
89405 to always fail with ENOSYS. Some functions are actually named
89406 something starting with __ and the normal name is an alias. */
89407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89408 choke me
89409 #else
89410 char (*f) () = $ac_func;
89411 #endif
89412 #ifdef __cplusplus
89414 #endif
89417 main ()
89419 return f != $ac_func;
89421 return 0;
89423 _ACEOF
89424 rm -f conftest.$ac_objext conftest$ac_exeext
89425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89426 (eval $ac_link) 2>conftest.er1
89427 ac_status=$?
89428 grep -v '^ *+' conftest.er1 >conftest.err
89429 rm -f conftest.er1
89430 cat conftest.err >&5
89431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89432 (exit $ac_status); } &&
89433 { ac_try='test -z "$ac_c_werror_flag"
89434 || test ! -s conftest.err'
89435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89436 (eval $ac_try) 2>&5
89437 ac_status=$?
89438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89439 (exit $ac_status); }; } &&
89440 { ac_try='test -s conftest$ac_exeext'
89441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89442 (eval $ac_try) 2>&5
89443 ac_status=$?
89444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89445 (exit $ac_status); }; }; then
89446 eval "$as_ac_var=yes"
89447 else
89448 echo "$as_me: failed program was:" >&5
89449 sed 's/^/| /' conftest.$ac_ext >&5
89451 eval "$as_ac_var=no"
89453 rm -f conftest.err conftest.$ac_objext \
89454 conftest$ac_exeext conftest.$ac_ext
89456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89458 if test `eval echo '${'$as_ac_var'}'` = yes; then
89459 cat >>confdefs.h <<_ACEOF
89460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89461 _ACEOF
89464 done
89474 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
89475 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
89476 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
89477 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
89478 echo $ECHO_N "(cached) $ECHO_C" >&6
89479 else
89483 ac_ext=cc
89484 ac_cpp='$CXXCPP $CPPFLAGS'
89485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89489 cat >conftest.$ac_ext <<_ACEOF
89490 /* confdefs.h. */
89491 _ACEOF
89492 cat confdefs.h >>conftest.$ac_ext
89493 cat >>conftest.$ac_ext <<_ACEOF
89494 /* end confdefs.h. */
89495 #include <math.h>
89496 #ifdef HAVE_IEEEFP_H
89497 #include <ieeefp.h>
89498 #endif
89501 main ()
89503 fpclass(0);
89505 return 0;
89507 _ACEOF
89508 rm -f conftest.$ac_objext
89509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89510 (eval $ac_compile) 2>conftest.er1
89511 ac_status=$?
89512 grep -v '^ *+' conftest.er1 >conftest.err
89513 rm -f conftest.er1
89514 cat conftest.err >&5
89515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89516 (exit $ac_status); } &&
89517 { ac_try='test -z "$ac_cxx_werror_flag"
89518 || test ! -s conftest.err'
89519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89520 (eval $ac_try) 2>&5
89521 ac_status=$?
89522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89523 (exit $ac_status); }; } &&
89524 { ac_try='test -s conftest.$ac_objext'
89525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89526 (eval $ac_try) 2>&5
89527 ac_status=$?
89528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89529 (exit $ac_status); }; }; then
89530 glibcxx_cv_func_fpclass_use=yes
89531 else
89532 echo "$as_me: failed program was:" >&5
89533 sed 's/^/| /' conftest.$ac_ext >&5
89535 glibcxx_cv_func_fpclass_use=no
89537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89538 ac_ext=c
89539 ac_cpp='$CPP $CPPFLAGS'
89540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89548 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
89549 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
89551 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
89553 for ac_func in fpclass
89555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89556 echo "$as_me:$LINENO: checking for $ac_func" >&5
89557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89558 if eval "test \"\${$as_ac_var+set}\" = set"; then
89559 echo $ECHO_N "(cached) $ECHO_C" >&6
89560 else
89561 if test x$gcc_no_link = xyes; then
89562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89564 { (exit 1); exit 1; }; }
89566 cat >conftest.$ac_ext <<_ACEOF
89567 /* confdefs.h. */
89568 _ACEOF
89569 cat confdefs.h >>conftest.$ac_ext
89570 cat >>conftest.$ac_ext <<_ACEOF
89571 /* end confdefs.h. */
89572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89574 #define $ac_func innocuous_$ac_func
89576 /* System header to define __stub macros and hopefully few prototypes,
89577 which can conflict with char $ac_func (); below.
89578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89579 <limits.h> exists even on freestanding compilers. */
89581 #ifdef __STDC__
89582 # include <limits.h>
89583 #else
89584 # include <assert.h>
89585 #endif
89587 #undef $ac_func
89589 /* Override any gcc2 internal prototype to avoid an error. */
89590 #ifdef __cplusplus
89591 extern "C"
89593 #endif
89594 /* We use char because int might match the return type of a gcc2
89595 builtin and then its argument prototype would still apply. */
89596 char $ac_func ();
89597 /* The GNU C library defines this for functions which it implements
89598 to always fail with ENOSYS. Some functions are actually named
89599 something starting with __ and the normal name is an alias. */
89600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89601 choke me
89602 #else
89603 char (*f) () = $ac_func;
89604 #endif
89605 #ifdef __cplusplus
89607 #endif
89610 main ()
89612 return f != $ac_func;
89614 return 0;
89616 _ACEOF
89617 rm -f conftest.$ac_objext conftest$ac_exeext
89618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89619 (eval $ac_link) 2>conftest.er1
89620 ac_status=$?
89621 grep -v '^ *+' conftest.er1 >conftest.err
89622 rm -f conftest.er1
89623 cat conftest.err >&5
89624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89625 (exit $ac_status); } &&
89626 { ac_try='test -z "$ac_c_werror_flag"
89627 || test ! -s conftest.err'
89628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89629 (eval $ac_try) 2>&5
89630 ac_status=$?
89631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89632 (exit $ac_status); }; } &&
89633 { ac_try='test -s conftest$ac_exeext'
89634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89635 (eval $ac_try) 2>&5
89636 ac_status=$?
89637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89638 (exit $ac_status); }; }; then
89639 eval "$as_ac_var=yes"
89640 else
89641 echo "$as_me: failed program was:" >&5
89642 sed 's/^/| /' conftest.$ac_ext >&5
89644 eval "$as_ac_var=no"
89646 rm -f conftest.err conftest.$ac_objext \
89647 conftest$ac_exeext conftest.$ac_ext
89649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89651 if test `eval echo '${'$as_ac_var'}'` = yes; then
89652 cat >>confdefs.h <<_ACEOF
89653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89654 _ACEOF
89657 done
89659 else
89661 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
89662 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
89663 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
89664 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
89665 echo $ECHO_N "(cached) $ECHO_C" >&6
89666 else
89670 ac_ext=cc
89671 ac_cpp='$CXXCPP $CPPFLAGS'
89672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89676 cat >conftest.$ac_ext <<_ACEOF
89677 /* confdefs.h. */
89678 _ACEOF
89679 cat confdefs.h >>conftest.$ac_ext
89680 cat >>conftest.$ac_ext <<_ACEOF
89681 /* end confdefs.h. */
89682 #include <math.h>
89683 #ifdef HAVE_IEEEFP_H
89684 #include <ieeefp.h>
89685 #endif
89688 main ()
89690 _fpclass(0);
89692 return 0;
89694 _ACEOF
89695 rm -f conftest.$ac_objext
89696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89697 (eval $ac_compile) 2>conftest.er1
89698 ac_status=$?
89699 grep -v '^ *+' conftest.er1 >conftest.err
89700 rm -f conftest.er1
89701 cat conftest.err >&5
89702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89703 (exit $ac_status); } &&
89704 { ac_try='test -z "$ac_cxx_werror_flag"
89705 || test ! -s conftest.err'
89706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89707 (eval $ac_try) 2>&5
89708 ac_status=$?
89709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89710 (exit $ac_status); }; } &&
89711 { ac_try='test -s conftest.$ac_objext'
89712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89713 (eval $ac_try) 2>&5
89714 ac_status=$?
89715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89716 (exit $ac_status); }; }; then
89717 glibcxx_cv_func__fpclass_use=yes
89718 else
89719 echo "$as_me: failed program was:" >&5
89720 sed 's/^/| /' conftest.$ac_ext >&5
89722 glibcxx_cv_func__fpclass_use=no
89724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89725 ac_ext=c
89726 ac_cpp='$CPP $CPPFLAGS'
89727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89735 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
89736 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
89738 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
89740 for ac_func in _fpclass
89742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89743 echo "$as_me:$LINENO: checking for $ac_func" >&5
89744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89745 if eval "test \"\${$as_ac_var+set}\" = set"; then
89746 echo $ECHO_N "(cached) $ECHO_C" >&6
89747 else
89748 if test x$gcc_no_link = xyes; then
89749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89751 { (exit 1); exit 1; }; }
89753 cat >conftest.$ac_ext <<_ACEOF
89754 /* confdefs.h. */
89755 _ACEOF
89756 cat confdefs.h >>conftest.$ac_ext
89757 cat >>conftest.$ac_ext <<_ACEOF
89758 /* end confdefs.h. */
89759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89761 #define $ac_func innocuous_$ac_func
89763 /* System header to define __stub macros and hopefully few prototypes,
89764 which can conflict with char $ac_func (); below.
89765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89766 <limits.h> exists even on freestanding compilers. */
89768 #ifdef __STDC__
89769 # include <limits.h>
89770 #else
89771 # include <assert.h>
89772 #endif
89774 #undef $ac_func
89776 /* Override any gcc2 internal prototype to avoid an error. */
89777 #ifdef __cplusplus
89778 extern "C"
89780 #endif
89781 /* We use char because int might match the return type of a gcc2
89782 builtin and then its argument prototype would still apply. */
89783 char $ac_func ();
89784 /* The GNU C library defines this for functions which it implements
89785 to always fail with ENOSYS. Some functions are actually named
89786 something starting with __ and the normal name is an alias. */
89787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89788 choke me
89789 #else
89790 char (*f) () = $ac_func;
89791 #endif
89792 #ifdef __cplusplus
89794 #endif
89797 main ()
89799 return f != $ac_func;
89801 return 0;
89803 _ACEOF
89804 rm -f conftest.$ac_objext conftest$ac_exeext
89805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89806 (eval $ac_link) 2>conftest.er1
89807 ac_status=$?
89808 grep -v '^ *+' conftest.er1 >conftest.err
89809 rm -f conftest.er1
89810 cat conftest.err >&5
89811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89812 (exit $ac_status); } &&
89813 { ac_try='test -z "$ac_c_werror_flag"
89814 || test ! -s conftest.err'
89815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89816 (eval $ac_try) 2>&5
89817 ac_status=$?
89818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89819 (exit $ac_status); }; } &&
89820 { ac_try='test -s conftest$ac_exeext'
89821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89822 (eval $ac_try) 2>&5
89823 ac_status=$?
89824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89825 (exit $ac_status); }; }; then
89826 eval "$as_ac_var=yes"
89827 else
89828 echo "$as_me: failed program was:" >&5
89829 sed 's/^/| /' conftest.$ac_ext >&5
89831 eval "$as_ac_var=no"
89833 rm -f conftest.err conftest.$ac_objext \
89834 conftest$ac_exeext conftest.$ac_ext
89836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89838 if test `eval echo '${'$as_ac_var'}'` = yes; then
89839 cat >>confdefs.h <<_ACEOF
89840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89841 _ACEOF
89844 done
89854 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
89855 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
89856 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
89857 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
89858 echo $ECHO_N "(cached) $ECHO_C" >&6
89859 else
89863 ac_ext=cc
89864 ac_cpp='$CXXCPP $CPPFLAGS'
89865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89869 cat >conftest.$ac_ext <<_ACEOF
89870 /* confdefs.h. */
89871 _ACEOF
89872 cat confdefs.h >>conftest.$ac_ext
89873 cat >>conftest.$ac_ext <<_ACEOF
89874 /* end confdefs.h. */
89875 #include <math.h>
89876 #ifdef HAVE_IEEEFP_H
89877 #include <ieeefp.h>
89878 #endif
89881 main ()
89883 qfpclass(0);
89885 return 0;
89887 _ACEOF
89888 rm -f conftest.$ac_objext
89889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89890 (eval $ac_compile) 2>conftest.er1
89891 ac_status=$?
89892 grep -v '^ *+' conftest.er1 >conftest.err
89893 rm -f conftest.er1
89894 cat conftest.err >&5
89895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89896 (exit $ac_status); } &&
89897 { ac_try='test -z "$ac_cxx_werror_flag"
89898 || test ! -s conftest.err'
89899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89900 (eval $ac_try) 2>&5
89901 ac_status=$?
89902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89903 (exit $ac_status); }; } &&
89904 { ac_try='test -s conftest.$ac_objext'
89905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89906 (eval $ac_try) 2>&5
89907 ac_status=$?
89908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89909 (exit $ac_status); }; }; then
89910 glibcxx_cv_func_qfpclass_use=yes
89911 else
89912 echo "$as_me: failed program was:" >&5
89913 sed 's/^/| /' conftest.$ac_ext >&5
89915 glibcxx_cv_func_qfpclass_use=no
89917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89918 ac_ext=c
89919 ac_cpp='$CPP $CPPFLAGS'
89920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89928 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
89929 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
89931 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
89933 for ac_func in qfpclass
89935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89936 echo "$as_me:$LINENO: checking for $ac_func" >&5
89937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89938 if eval "test \"\${$as_ac_var+set}\" = set"; then
89939 echo $ECHO_N "(cached) $ECHO_C" >&6
89940 else
89941 if test x$gcc_no_link = xyes; then
89942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89944 { (exit 1); exit 1; }; }
89946 cat >conftest.$ac_ext <<_ACEOF
89947 /* confdefs.h. */
89948 _ACEOF
89949 cat confdefs.h >>conftest.$ac_ext
89950 cat >>conftest.$ac_ext <<_ACEOF
89951 /* end confdefs.h. */
89952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89954 #define $ac_func innocuous_$ac_func
89956 /* System header to define __stub macros and hopefully few prototypes,
89957 which can conflict with char $ac_func (); below.
89958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89959 <limits.h> exists even on freestanding compilers. */
89961 #ifdef __STDC__
89962 # include <limits.h>
89963 #else
89964 # include <assert.h>
89965 #endif
89967 #undef $ac_func
89969 /* Override any gcc2 internal prototype to avoid an error. */
89970 #ifdef __cplusplus
89971 extern "C"
89973 #endif
89974 /* We use char because int might match the return type of a gcc2
89975 builtin and then its argument prototype would still apply. */
89976 char $ac_func ();
89977 /* The GNU C library defines this for functions which it implements
89978 to always fail with ENOSYS. Some functions are actually named
89979 something starting with __ and the normal name is an alias. */
89980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89981 choke me
89982 #else
89983 char (*f) () = $ac_func;
89984 #endif
89985 #ifdef __cplusplus
89987 #endif
89990 main ()
89992 return f != $ac_func;
89994 return 0;
89996 _ACEOF
89997 rm -f conftest.$ac_objext conftest$ac_exeext
89998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89999 (eval $ac_link) 2>conftest.er1
90000 ac_status=$?
90001 grep -v '^ *+' conftest.er1 >conftest.err
90002 rm -f conftest.er1
90003 cat conftest.err >&5
90004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90005 (exit $ac_status); } &&
90006 { ac_try='test -z "$ac_c_werror_flag"
90007 || test ! -s conftest.err'
90008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90009 (eval $ac_try) 2>&5
90010 ac_status=$?
90011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90012 (exit $ac_status); }; } &&
90013 { ac_try='test -s conftest$ac_exeext'
90014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90015 (eval $ac_try) 2>&5
90016 ac_status=$?
90017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90018 (exit $ac_status); }; }; then
90019 eval "$as_ac_var=yes"
90020 else
90021 echo "$as_me: failed program was:" >&5
90022 sed 's/^/| /' conftest.$ac_ext >&5
90024 eval "$as_ac_var=no"
90026 rm -f conftest.err conftest.$ac_objext \
90027 conftest$ac_exeext conftest.$ac_ext
90029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90031 if test `eval echo '${'$as_ac_var'}'` = yes; then
90032 cat >>confdefs.h <<_ACEOF
90033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90034 _ACEOF
90037 done
90039 else
90041 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
90042 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
90043 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
90044 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
90045 echo $ECHO_N "(cached) $ECHO_C" >&6
90046 else
90050 ac_ext=cc
90051 ac_cpp='$CXXCPP $CPPFLAGS'
90052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90056 cat >conftest.$ac_ext <<_ACEOF
90057 /* confdefs.h. */
90058 _ACEOF
90059 cat confdefs.h >>conftest.$ac_ext
90060 cat >>conftest.$ac_ext <<_ACEOF
90061 /* end confdefs.h. */
90062 #include <math.h>
90063 #ifdef HAVE_IEEEFP_H
90064 #include <ieeefp.h>
90065 #endif
90068 main ()
90070 _qfpclass(0);
90072 return 0;
90074 _ACEOF
90075 rm -f conftest.$ac_objext
90076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90077 (eval $ac_compile) 2>conftest.er1
90078 ac_status=$?
90079 grep -v '^ *+' conftest.er1 >conftest.err
90080 rm -f conftest.er1
90081 cat conftest.err >&5
90082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90083 (exit $ac_status); } &&
90084 { ac_try='test -z "$ac_cxx_werror_flag"
90085 || test ! -s conftest.err'
90086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90087 (eval $ac_try) 2>&5
90088 ac_status=$?
90089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90090 (exit $ac_status); }; } &&
90091 { ac_try='test -s conftest.$ac_objext'
90092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90093 (eval $ac_try) 2>&5
90094 ac_status=$?
90095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90096 (exit $ac_status); }; }; then
90097 glibcxx_cv_func__qfpclass_use=yes
90098 else
90099 echo "$as_me: failed program was:" >&5
90100 sed 's/^/| /' conftest.$ac_ext >&5
90102 glibcxx_cv_func__qfpclass_use=no
90104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90105 ac_ext=c
90106 ac_cpp='$CPP $CPPFLAGS'
90107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90115 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
90116 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
90118 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
90120 for ac_func in _qfpclass
90122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90123 echo "$as_me:$LINENO: checking for $ac_func" >&5
90124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90125 if eval "test \"\${$as_ac_var+set}\" = set"; then
90126 echo $ECHO_N "(cached) $ECHO_C" >&6
90127 else
90128 if test x$gcc_no_link = xyes; then
90129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90131 { (exit 1); exit 1; }; }
90133 cat >conftest.$ac_ext <<_ACEOF
90134 /* confdefs.h. */
90135 _ACEOF
90136 cat confdefs.h >>conftest.$ac_ext
90137 cat >>conftest.$ac_ext <<_ACEOF
90138 /* end confdefs.h. */
90139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90141 #define $ac_func innocuous_$ac_func
90143 /* System header to define __stub macros and hopefully few prototypes,
90144 which can conflict with char $ac_func (); below.
90145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90146 <limits.h> exists even on freestanding compilers. */
90148 #ifdef __STDC__
90149 # include <limits.h>
90150 #else
90151 # include <assert.h>
90152 #endif
90154 #undef $ac_func
90156 /* Override any gcc2 internal prototype to avoid an error. */
90157 #ifdef __cplusplus
90158 extern "C"
90160 #endif
90161 /* We use char because int might match the return type of a gcc2
90162 builtin and then its argument prototype would still apply. */
90163 char $ac_func ();
90164 /* The GNU C library defines this for functions which it implements
90165 to always fail with ENOSYS. Some functions are actually named
90166 something starting with __ and the normal name is an alias. */
90167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90168 choke me
90169 #else
90170 char (*f) () = $ac_func;
90171 #endif
90172 #ifdef __cplusplus
90174 #endif
90177 main ()
90179 return f != $ac_func;
90181 return 0;
90183 _ACEOF
90184 rm -f conftest.$ac_objext conftest$ac_exeext
90185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90186 (eval $ac_link) 2>conftest.er1
90187 ac_status=$?
90188 grep -v '^ *+' conftest.er1 >conftest.err
90189 rm -f conftest.er1
90190 cat conftest.err >&5
90191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90192 (exit $ac_status); } &&
90193 { ac_try='test -z "$ac_c_werror_flag"
90194 || test ! -s conftest.err'
90195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90196 (eval $ac_try) 2>&5
90197 ac_status=$?
90198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90199 (exit $ac_status); }; } &&
90200 { ac_try='test -s conftest$ac_exeext'
90201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90202 (eval $ac_try) 2>&5
90203 ac_status=$?
90204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90205 (exit $ac_status); }; }; then
90206 eval "$as_ac_var=yes"
90207 else
90208 echo "$as_me: failed program was:" >&5
90209 sed 's/^/| /' conftest.$ac_ext >&5
90211 eval "$as_ac_var=no"
90213 rm -f conftest.err conftest.$ac_objext \
90214 conftest$ac_exeext conftest.$ac_ext
90216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90218 if test `eval echo '${'$as_ac_var'}'` = yes; then
90219 cat >>confdefs.h <<_ACEOF
90220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90221 _ACEOF
90224 done
90234 echo "$as_me:$LINENO: checking for hypot declaration" >&5
90235 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
90236 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
90237 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
90238 echo $ECHO_N "(cached) $ECHO_C" >&6
90239 else
90243 ac_ext=cc
90244 ac_cpp='$CXXCPP $CPPFLAGS'
90245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90249 cat >conftest.$ac_ext <<_ACEOF
90250 /* confdefs.h. */
90251 _ACEOF
90252 cat confdefs.h >>conftest.$ac_ext
90253 cat >>conftest.$ac_ext <<_ACEOF
90254 /* end confdefs.h. */
90255 #include <math.h>
90257 main ()
90259 hypot(0, 0);
90261 return 0;
90263 _ACEOF
90264 rm -f conftest.$ac_objext
90265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90266 (eval $ac_compile) 2>conftest.er1
90267 ac_status=$?
90268 grep -v '^ *+' conftest.er1 >conftest.err
90269 rm -f conftest.er1
90270 cat conftest.err >&5
90271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90272 (exit $ac_status); } &&
90273 { ac_try='test -z "$ac_cxx_werror_flag"
90274 || test ! -s conftest.err'
90275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90276 (eval $ac_try) 2>&5
90277 ac_status=$?
90278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90279 (exit $ac_status); }; } &&
90280 { ac_try='test -s conftest.$ac_objext'
90281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90282 (eval $ac_try) 2>&5
90283 ac_status=$?
90284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90285 (exit $ac_status); }; }; then
90286 glibcxx_cv_func_hypot_use=yes
90287 else
90288 echo "$as_me: failed program was:" >&5
90289 sed 's/^/| /' conftest.$ac_ext >&5
90291 glibcxx_cv_func_hypot_use=no
90293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90294 ac_ext=c
90295 ac_cpp='$CPP $CPPFLAGS'
90296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90304 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
90305 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
90307 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
90309 for ac_func in hypot
90311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90312 echo "$as_me:$LINENO: checking for $ac_func" >&5
90313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90314 if eval "test \"\${$as_ac_var+set}\" = set"; then
90315 echo $ECHO_N "(cached) $ECHO_C" >&6
90316 else
90317 if test x$gcc_no_link = xyes; then
90318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90320 { (exit 1); exit 1; }; }
90322 cat >conftest.$ac_ext <<_ACEOF
90323 /* confdefs.h. */
90324 _ACEOF
90325 cat confdefs.h >>conftest.$ac_ext
90326 cat >>conftest.$ac_ext <<_ACEOF
90327 /* end confdefs.h. */
90328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90330 #define $ac_func innocuous_$ac_func
90332 /* System header to define __stub macros and hopefully few prototypes,
90333 which can conflict with char $ac_func (); below.
90334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90335 <limits.h> exists even on freestanding compilers. */
90337 #ifdef __STDC__
90338 # include <limits.h>
90339 #else
90340 # include <assert.h>
90341 #endif
90343 #undef $ac_func
90345 /* Override any gcc2 internal prototype to avoid an error. */
90346 #ifdef __cplusplus
90347 extern "C"
90349 #endif
90350 /* We use char because int might match the return type of a gcc2
90351 builtin and then its argument prototype would still apply. */
90352 char $ac_func ();
90353 /* The GNU C library defines this for functions which it implements
90354 to always fail with ENOSYS. Some functions are actually named
90355 something starting with __ and the normal name is an alias. */
90356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90357 choke me
90358 #else
90359 char (*f) () = $ac_func;
90360 #endif
90361 #ifdef __cplusplus
90363 #endif
90366 main ()
90368 return f != $ac_func;
90370 return 0;
90372 _ACEOF
90373 rm -f conftest.$ac_objext conftest$ac_exeext
90374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90375 (eval $ac_link) 2>conftest.er1
90376 ac_status=$?
90377 grep -v '^ *+' conftest.er1 >conftest.err
90378 rm -f conftest.er1
90379 cat conftest.err >&5
90380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90381 (exit $ac_status); } &&
90382 { ac_try='test -z "$ac_c_werror_flag"
90383 || test ! -s conftest.err'
90384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90385 (eval $ac_try) 2>&5
90386 ac_status=$?
90387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90388 (exit $ac_status); }; } &&
90389 { ac_try='test -s conftest$ac_exeext'
90390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90391 (eval $ac_try) 2>&5
90392 ac_status=$?
90393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90394 (exit $ac_status); }; }; then
90395 eval "$as_ac_var=yes"
90396 else
90397 echo "$as_me: failed program was:" >&5
90398 sed 's/^/| /' conftest.$ac_ext >&5
90400 eval "$as_ac_var=no"
90402 rm -f conftest.err conftest.$ac_objext \
90403 conftest$ac_exeext conftest.$ac_ext
90405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90407 if test `eval echo '${'$as_ac_var'}'` = yes; then
90408 cat >>confdefs.h <<_ACEOF
90409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90410 _ACEOF
90413 done
90415 else
90417 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
90418 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
90419 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
90420 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
90421 echo $ECHO_N "(cached) $ECHO_C" >&6
90422 else
90426 ac_ext=cc
90427 ac_cpp='$CXXCPP $CPPFLAGS'
90428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90432 cat >conftest.$ac_ext <<_ACEOF
90433 /* confdefs.h. */
90434 _ACEOF
90435 cat confdefs.h >>conftest.$ac_ext
90436 cat >>conftest.$ac_ext <<_ACEOF
90437 /* end confdefs.h. */
90438 #include <math.h>
90440 main ()
90442 _hypot(0, 0);
90444 return 0;
90446 _ACEOF
90447 rm -f conftest.$ac_objext
90448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90449 (eval $ac_compile) 2>conftest.er1
90450 ac_status=$?
90451 grep -v '^ *+' conftest.er1 >conftest.err
90452 rm -f conftest.er1
90453 cat conftest.err >&5
90454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90455 (exit $ac_status); } &&
90456 { ac_try='test -z "$ac_cxx_werror_flag"
90457 || test ! -s conftest.err'
90458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90459 (eval $ac_try) 2>&5
90460 ac_status=$?
90461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90462 (exit $ac_status); }; } &&
90463 { ac_try='test -s conftest.$ac_objext'
90464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90465 (eval $ac_try) 2>&5
90466 ac_status=$?
90467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90468 (exit $ac_status); }; }; then
90469 glibcxx_cv_func__hypot_use=yes
90470 else
90471 echo "$as_me: failed program was:" >&5
90472 sed 's/^/| /' conftest.$ac_ext >&5
90474 glibcxx_cv_func__hypot_use=no
90476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90477 ac_ext=c
90478 ac_cpp='$CPP $CPPFLAGS'
90479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90487 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
90488 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
90490 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
90492 for ac_func in _hypot
90494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90495 echo "$as_me:$LINENO: checking for $ac_func" >&5
90496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90497 if eval "test \"\${$as_ac_var+set}\" = set"; then
90498 echo $ECHO_N "(cached) $ECHO_C" >&6
90499 else
90500 if test x$gcc_no_link = xyes; then
90501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90503 { (exit 1); exit 1; }; }
90505 cat >conftest.$ac_ext <<_ACEOF
90506 /* confdefs.h. */
90507 _ACEOF
90508 cat confdefs.h >>conftest.$ac_ext
90509 cat >>conftest.$ac_ext <<_ACEOF
90510 /* end confdefs.h. */
90511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90513 #define $ac_func innocuous_$ac_func
90515 /* System header to define __stub macros and hopefully few prototypes,
90516 which can conflict with char $ac_func (); below.
90517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90518 <limits.h> exists even on freestanding compilers. */
90520 #ifdef __STDC__
90521 # include <limits.h>
90522 #else
90523 # include <assert.h>
90524 #endif
90526 #undef $ac_func
90528 /* Override any gcc2 internal prototype to avoid an error. */
90529 #ifdef __cplusplus
90530 extern "C"
90532 #endif
90533 /* We use char because int might match the return type of a gcc2
90534 builtin and then its argument prototype would still apply. */
90535 char $ac_func ();
90536 /* The GNU C library defines this for functions which it implements
90537 to always fail with ENOSYS. Some functions are actually named
90538 something starting with __ and the normal name is an alias. */
90539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90540 choke me
90541 #else
90542 char (*f) () = $ac_func;
90543 #endif
90544 #ifdef __cplusplus
90546 #endif
90549 main ()
90551 return f != $ac_func;
90553 return 0;
90555 _ACEOF
90556 rm -f conftest.$ac_objext conftest$ac_exeext
90557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90558 (eval $ac_link) 2>conftest.er1
90559 ac_status=$?
90560 grep -v '^ *+' conftest.er1 >conftest.err
90561 rm -f conftest.er1
90562 cat conftest.err >&5
90563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90564 (exit $ac_status); } &&
90565 { ac_try='test -z "$ac_c_werror_flag"
90566 || test ! -s conftest.err'
90567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90568 (eval $ac_try) 2>&5
90569 ac_status=$?
90570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90571 (exit $ac_status); }; } &&
90572 { ac_try='test -s conftest$ac_exeext'
90573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90574 (eval $ac_try) 2>&5
90575 ac_status=$?
90576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90577 (exit $ac_status); }; }; then
90578 eval "$as_ac_var=yes"
90579 else
90580 echo "$as_me: failed program was:" >&5
90581 sed 's/^/| /' conftest.$ac_ext >&5
90583 eval "$as_ac_var=no"
90585 rm -f conftest.err conftest.$ac_objext \
90586 conftest$ac_exeext conftest.$ac_ext
90588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90590 if test `eval echo '${'$as_ac_var'}'` = yes; then
90591 cat >>confdefs.h <<_ACEOF
90592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90593 _ACEOF
90596 done
90606 echo "$as_me:$LINENO: checking for float trig functions" >&5
90607 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
90608 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
90609 echo $ECHO_N "(cached) $ECHO_C" >&6
90610 else
90614 ac_ext=cc
90615 ac_cpp='$CXXCPP $CPPFLAGS'
90616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90620 cat >conftest.$ac_ext <<_ACEOF
90621 /* confdefs.h. */
90622 _ACEOF
90623 cat confdefs.h >>conftest.$ac_ext
90624 cat >>conftest.$ac_ext <<_ACEOF
90625 /* end confdefs.h. */
90626 #include <math.h>
90628 main ()
90630 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
90632 return 0;
90634 _ACEOF
90635 rm -f conftest.$ac_objext
90636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90637 (eval $ac_compile) 2>conftest.er1
90638 ac_status=$?
90639 grep -v '^ *+' conftest.er1 >conftest.err
90640 rm -f conftest.er1
90641 cat conftest.err >&5
90642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90643 (exit $ac_status); } &&
90644 { ac_try='test -z "$ac_cxx_werror_flag"
90645 || test ! -s conftest.err'
90646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90647 (eval $ac_try) 2>&5
90648 ac_status=$?
90649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90650 (exit $ac_status); }; } &&
90651 { ac_try='test -s conftest.$ac_objext'
90652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90653 (eval $ac_try) 2>&5
90654 ac_status=$?
90655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90656 (exit $ac_status); }; }; then
90657 glibcxx_cv_func_float_trig_use=yes
90658 else
90659 echo "$as_me: failed program was:" >&5
90660 sed 's/^/| /' conftest.$ac_ext >&5
90662 glibcxx_cv_func_float_trig_use=no
90664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90665 ac_ext=c
90666 ac_cpp='$CPP $CPPFLAGS'
90667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90673 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
90674 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
90675 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
90685 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
90687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90688 echo "$as_me:$LINENO: checking for $ac_func" >&5
90689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90690 if eval "test \"\${$as_ac_var+set}\" = set"; then
90691 echo $ECHO_N "(cached) $ECHO_C" >&6
90692 else
90693 if test x$gcc_no_link = xyes; then
90694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90696 { (exit 1); exit 1; }; }
90698 cat >conftest.$ac_ext <<_ACEOF
90699 /* confdefs.h. */
90700 _ACEOF
90701 cat confdefs.h >>conftest.$ac_ext
90702 cat >>conftest.$ac_ext <<_ACEOF
90703 /* end confdefs.h. */
90704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90706 #define $ac_func innocuous_$ac_func
90708 /* System header to define __stub macros and hopefully few prototypes,
90709 which can conflict with char $ac_func (); below.
90710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90711 <limits.h> exists even on freestanding compilers. */
90713 #ifdef __STDC__
90714 # include <limits.h>
90715 #else
90716 # include <assert.h>
90717 #endif
90719 #undef $ac_func
90721 /* Override any gcc2 internal prototype to avoid an error. */
90722 #ifdef __cplusplus
90723 extern "C"
90725 #endif
90726 /* We use char because int might match the return type of a gcc2
90727 builtin and then its argument prototype would still apply. */
90728 char $ac_func ();
90729 /* The GNU C library defines this for functions which it implements
90730 to always fail with ENOSYS. Some functions are actually named
90731 something starting with __ and the normal name is an alias. */
90732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90733 choke me
90734 #else
90735 char (*f) () = $ac_func;
90736 #endif
90737 #ifdef __cplusplus
90739 #endif
90742 main ()
90744 return f != $ac_func;
90746 return 0;
90748 _ACEOF
90749 rm -f conftest.$ac_objext conftest$ac_exeext
90750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90751 (eval $ac_link) 2>conftest.er1
90752 ac_status=$?
90753 grep -v '^ *+' conftest.er1 >conftest.err
90754 rm -f conftest.er1
90755 cat conftest.err >&5
90756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90757 (exit $ac_status); } &&
90758 { ac_try='test -z "$ac_c_werror_flag"
90759 || test ! -s conftest.err'
90760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90761 (eval $ac_try) 2>&5
90762 ac_status=$?
90763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90764 (exit $ac_status); }; } &&
90765 { ac_try='test -s conftest$ac_exeext'
90766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90767 (eval $ac_try) 2>&5
90768 ac_status=$?
90769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90770 (exit $ac_status); }; }; then
90771 eval "$as_ac_var=yes"
90772 else
90773 echo "$as_me: failed program was:" >&5
90774 sed 's/^/| /' conftest.$ac_ext >&5
90776 eval "$as_ac_var=no"
90778 rm -f conftest.err conftest.$ac_objext \
90779 conftest$ac_exeext conftest.$ac_ext
90781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90783 if test `eval echo '${'$as_ac_var'}'` = yes; then
90784 cat >>confdefs.h <<_ACEOF
90785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90786 _ACEOF
90789 done
90791 else
90792 echo "$as_me:$LINENO: checking for _float trig functions" >&5
90793 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
90794 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
90795 echo $ECHO_N "(cached) $ECHO_C" >&6
90796 else
90800 ac_ext=cc
90801 ac_cpp='$CXXCPP $CPPFLAGS'
90802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90806 cat >conftest.$ac_ext <<_ACEOF
90807 /* confdefs.h. */
90808 _ACEOF
90809 cat confdefs.h >>conftest.$ac_ext
90810 cat >>conftest.$ac_ext <<_ACEOF
90811 /* end confdefs.h. */
90812 #include <math.h>
90814 main ()
90816 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
90818 return 0;
90820 _ACEOF
90821 rm -f conftest.$ac_objext
90822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90823 (eval $ac_compile) 2>conftest.er1
90824 ac_status=$?
90825 grep -v '^ *+' conftest.er1 >conftest.err
90826 rm -f conftest.er1
90827 cat conftest.err >&5
90828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90829 (exit $ac_status); } &&
90830 { ac_try='test -z "$ac_cxx_werror_flag"
90831 || test ! -s conftest.err'
90832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90833 (eval $ac_try) 2>&5
90834 ac_status=$?
90835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90836 (exit $ac_status); }; } &&
90837 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
90843 glibcxx_cv_func__float_trig_use=yes
90844 else
90845 echo "$as_me: failed program was:" >&5
90846 sed 's/^/| /' conftest.$ac_ext >&5
90848 glibcxx_cv_func__float_trig_use=no
90850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90851 ac_ext=c
90852 ac_cpp='$CPP $CPPFLAGS'
90853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90859 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
90860 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
90861 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
90871 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
90873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90874 echo "$as_me:$LINENO: checking for $ac_func" >&5
90875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90876 if eval "test \"\${$as_ac_var+set}\" = set"; then
90877 echo $ECHO_N "(cached) $ECHO_C" >&6
90878 else
90879 if test x$gcc_no_link = xyes; then
90880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90882 { (exit 1); exit 1; }; }
90884 cat >conftest.$ac_ext <<_ACEOF
90885 /* confdefs.h. */
90886 _ACEOF
90887 cat confdefs.h >>conftest.$ac_ext
90888 cat >>conftest.$ac_ext <<_ACEOF
90889 /* end confdefs.h. */
90890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90892 #define $ac_func innocuous_$ac_func
90894 /* System header to define __stub macros and hopefully few prototypes,
90895 which can conflict with char $ac_func (); below.
90896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90897 <limits.h> exists even on freestanding compilers. */
90899 #ifdef __STDC__
90900 # include <limits.h>
90901 #else
90902 # include <assert.h>
90903 #endif
90905 #undef $ac_func
90907 /* Override any gcc2 internal prototype to avoid an error. */
90908 #ifdef __cplusplus
90909 extern "C"
90911 #endif
90912 /* We use char because int might match the return type of a gcc2
90913 builtin and then its argument prototype would still apply. */
90914 char $ac_func ();
90915 /* The GNU C library defines this for functions which it implements
90916 to always fail with ENOSYS. Some functions are actually named
90917 something starting with __ and the normal name is an alias. */
90918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90919 choke me
90920 #else
90921 char (*f) () = $ac_func;
90922 #endif
90923 #ifdef __cplusplus
90925 #endif
90928 main ()
90930 return f != $ac_func;
90932 return 0;
90934 _ACEOF
90935 rm -f conftest.$ac_objext conftest$ac_exeext
90936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90937 (eval $ac_link) 2>conftest.er1
90938 ac_status=$?
90939 grep -v '^ *+' conftest.er1 >conftest.err
90940 rm -f conftest.er1
90941 cat conftest.err >&5
90942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90943 (exit $ac_status); } &&
90944 { ac_try='test -z "$ac_c_werror_flag"
90945 || test ! -s conftest.err'
90946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90947 (eval $ac_try) 2>&5
90948 ac_status=$?
90949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90950 (exit $ac_status); }; } &&
90951 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
90957 eval "$as_ac_var=yes"
90958 else
90959 echo "$as_me: failed program was:" >&5
90960 sed 's/^/| /' conftest.$ac_ext >&5
90962 eval "$as_ac_var=no"
90964 rm -f conftest.err conftest.$ac_objext \
90965 conftest$ac_exeext conftest.$ac_ext
90967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90969 if test `eval echo '${'$as_ac_var'}'` = yes; then
90970 cat >>confdefs.h <<_ACEOF
90971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90972 _ACEOF
90975 done
90993 echo "$as_me:$LINENO: checking for float round functions" >&5
90994 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
90995 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
90996 echo $ECHO_N "(cached) $ECHO_C" >&6
90997 else
91001 ac_ext=cc
91002 ac_cpp='$CXXCPP $CPPFLAGS'
91003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91007 cat >conftest.$ac_ext <<_ACEOF
91008 /* confdefs.h. */
91009 _ACEOF
91010 cat confdefs.h >>conftest.$ac_ext
91011 cat >>conftest.$ac_ext <<_ACEOF
91012 /* end confdefs.h. */
91013 #include <math.h>
91015 main ()
91017 ceilf (0); floorf (0);
91019 return 0;
91021 _ACEOF
91022 rm -f conftest.$ac_objext
91023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91024 (eval $ac_compile) 2>conftest.er1
91025 ac_status=$?
91026 grep -v '^ *+' conftest.er1 >conftest.err
91027 rm -f conftest.er1
91028 cat conftest.err >&5
91029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91030 (exit $ac_status); } &&
91031 { ac_try='test -z "$ac_cxx_werror_flag"
91032 || test ! -s conftest.err'
91033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91034 (eval $ac_try) 2>&5
91035 ac_status=$?
91036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91037 (exit $ac_status); }; } &&
91038 { ac_try='test -s conftest.$ac_objext'
91039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91040 (eval $ac_try) 2>&5
91041 ac_status=$?
91042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91043 (exit $ac_status); }; }; then
91044 glibcxx_cv_func_float_round_use=yes
91045 else
91046 echo "$as_me: failed program was:" >&5
91047 sed 's/^/| /' conftest.$ac_ext >&5
91049 glibcxx_cv_func_float_round_use=no
91051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91052 ac_ext=c
91053 ac_cpp='$CPP $CPPFLAGS'
91054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91060 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
91061 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
91062 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
91065 for ac_func in ceilf floorf
91067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91068 echo "$as_me:$LINENO: checking for $ac_func" >&5
91069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91070 if eval "test \"\${$as_ac_var+set}\" = set"; then
91071 echo $ECHO_N "(cached) $ECHO_C" >&6
91072 else
91073 if test x$gcc_no_link = xyes; then
91074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91076 { (exit 1); exit 1; }; }
91078 cat >conftest.$ac_ext <<_ACEOF
91079 /* confdefs.h. */
91080 _ACEOF
91081 cat confdefs.h >>conftest.$ac_ext
91082 cat >>conftest.$ac_ext <<_ACEOF
91083 /* end confdefs.h. */
91084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91086 #define $ac_func innocuous_$ac_func
91088 /* System header to define __stub macros and hopefully few prototypes,
91089 which can conflict with char $ac_func (); below.
91090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91091 <limits.h> exists even on freestanding compilers. */
91093 #ifdef __STDC__
91094 # include <limits.h>
91095 #else
91096 # include <assert.h>
91097 #endif
91099 #undef $ac_func
91101 /* Override any gcc2 internal prototype to avoid an error. */
91102 #ifdef __cplusplus
91103 extern "C"
91105 #endif
91106 /* We use char because int might match the return type of a gcc2
91107 builtin and then its argument prototype would still apply. */
91108 char $ac_func ();
91109 /* The GNU C library defines this for functions which it implements
91110 to always fail with ENOSYS. Some functions are actually named
91111 something starting with __ and the normal name is an alias. */
91112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91113 choke me
91114 #else
91115 char (*f) () = $ac_func;
91116 #endif
91117 #ifdef __cplusplus
91119 #endif
91122 main ()
91124 return f != $ac_func;
91126 return 0;
91128 _ACEOF
91129 rm -f conftest.$ac_objext conftest$ac_exeext
91130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91131 (eval $ac_link) 2>conftest.er1
91132 ac_status=$?
91133 grep -v '^ *+' conftest.er1 >conftest.err
91134 rm -f conftest.er1
91135 cat conftest.err >&5
91136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91137 (exit $ac_status); } &&
91138 { ac_try='test -z "$ac_c_werror_flag"
91139 || test ! -s conftest.err'
91140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91141 (eval $ac_try) 2>&5
91142 ac_status=$?
91143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91144 (exit $ac_status); }; } &&
91145 { ac_try='test -s conftest$ac_exeext'
91146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91147 (eval $ac_try) 2>&5
91148 ac_status=$?
91149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91150 (exit $ac_status); }; }; then
91151 eval "$as_ac_var=yes"
91152 else
91153 echo "$as_me: failed program was:" >&5
91154 sed 's/^/| /' conftest.$ac_ext >&5
91156 eval "$as_ac_var=no"
91158 rm -f conftest.err conftest.$ac_objext \
91159 conftest$ac_exeext conftest.$ac_ext
91161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91163 if test `eval echo '${'$as_ac_var'}'` = yes; then
91164 cat >>confdefs.h <<_ACEOF
91165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91166 _ACEOF
91169 done
91171 else
91172 echo "$as_me:$LINENO: checking for _float round functions" >&5
91173 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
91174 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
91175 echo $ECHO_N "(cached) $ECHO_C" >&6
91176 else
91180 ac_ext=cc
91181 ac_cpp='$CXXCPP $CPPFLAGS'
91182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91186 cat >conftest.$ac_ext <<_ACEOF
91187 /* confdefs.h. */
91188 _ACEOF
91189 cat confdefs.h >>conftest.$ac_ext
91190 cat >>conftest.$ac_ext <<_ACEOF
91191 /* end confdefs.h. */
91192 #include <math.h>
91194 main ()
91196 _ceilf (0); _floorf (0);
91198 return 0;
91200 _ACEOF
91201 rm -f conftest.$ac_objext
91202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91203 (eval $ac_compile) 2>conftest.er1
91204 ac_status=$?
91205 grep -v '^ *+' conftest.er1 >conftest.err
91206 rm -f conftest.er1
91207 cat conftest.err >&5
91208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91209 (exit $ac_status); } &&
91210 { ac_try='test -z "$ac_cxx_werror_flag"
91211 || test ! -s conftest.err'
91212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91213 (eval $ac_try) 2>&5
91214 ac_status=$?
91215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91216 (exit $ac_status); }; } &&
91217 { ac_try='test -s conftest.$ac_objext'
91218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91219 (eval $ac_try) 2>&5
91220 ac_status=$?
91221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91222 (exit $ac_status); }; }; then
91223 glibcxx_cv_func__float_round_use=yes
91224 else
91225 echo "$as_me: failed program was:" >&5
91226 sed 's/^/| /' conftest.$ac_ext >&5
91228 glibcxx_cv_func__float_round_use=no
91230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91231 ac_ext=c
91232 ac_cpp='$CPP $CPPFLAGS'
91233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91239 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
91240 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
91241 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
91244 for ac_func in _ceilf _floorf
91246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91247 echo "$as_me:$LINENO: checking for $ac_func" >&5
91248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91249 if eval "test \"\${$as_ac_var+set}\" = set"; then
91250 echo $ECHO_N "(cached) $ECHO_C" >&6
91251 else
91252 if test x$gcc_no_link = xyes; then
91253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91255 { (exit 1); exit 1; }; }
91257 cat >conftest.$ac_ext <<_ACEOF
91258 /* confdefs.h. */
91259 _ACEOF
91260 cat confdefs.h >>conftest.$ac_ext
91261 cat >>conftest.$ac_ext <<_ACEOF
91262 /* end confdefs.h. */
91263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91265 #define $ac_func innocuous_$ac_func
91267 /* System header to define __stub macros and hopefully few prototypes,
91268 which can conflict with char $ac_func (); below.
91269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91270 <limits.h> exists even on freestanding compilers. */
91272 #ifdef __STDC__
91273 # include <limits.h>
91274 #else
91275 # include <assert.h>
91276 #endif
91278 #undef $ac_func
91280 /* Override any gcc2 internal prototype to avoid an error. */
91281 #ifdef __cplusplus
91282 extern "C"
91284 #endif
91285 /* We use char because int might match the return type of a gcc2
91286 builtin and then its argument prototype would still apply. */
91287 char $ac_func ();
91288 /* The GNU C library defines this for functions which it implements
91289 to always fail with ENOSYS. Some functions are actually named
91290 something starting with __ and the normal name is an alias. */
91291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91292 choke me
91293 #else
91294 char (*f) () = $ac_func;
91295 #endif
91296 #ifdef __cplusplus
91298 #endif
91301 main ()
91303 return f != $ac_func;
91305 return 0;
91307 _ACEOF
91308 rm -f conftest.$ac_objext conftest$ac_exeext
91309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91310 (eval $ac_link) 2>conftest.er1
91311 ac_status=$?
91312 grep -v '^ *+' conftest.er1 >conftest.err
91313 rm -f conftest.er1
91314 cat conftest.err >&5
91315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91316 (exit $ac_status); } &&
91317 { ac_try='test -z "$ac_c_werror_flag"
91318 || test ! -s conftest.err'
91319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91320 (eval $ac_try) 2>&5
91321 ac_status=$?
91322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91323 (exit $ac_status); }; } &&
91324 { ac_try='test -s conftest$ac_exeext'
91325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91326 (eval $ac_try) 2>&5
91327 ac_status=$?
91328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91329 (exit $ac_status); }; }; then
91330 eval "$as_ac_var=yes"
91331 else
91332 echo "$as_me: failed program was:" >&5
91333 sed 's/^/| /' conftest.$ac_ext >&5
91335 eval "$as_ac_var=no"
91337 rm -f conftest.err conftest.$ac_objext \
91338 conftest$ac_exeext conftest.$ac_ext
91340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91342 if test `eval echo '${'$as_ac_var'}'` = yes; then
91343 cat >>confdefs.h <<_ACEOF
91344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91345 _ACEOF
91348 done
91360 echo "$as_me:$LINENO: checking for expf declaration" >&5
91361 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
91362 if test x${glibcxx_cv_func_expf_use+set} != xset; then
91363 if test "${glibcxx_cv_func_expf_use+set}" = set; then
91364 echo $ECHO_N "(cached) $ECHO_C" >&6
91365 else
91369 ac_ext=cc
91370 ac_cpp='$CXXCPP $CPPFLAGS'
91371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91375 cat >conftest.$ac_ext <<_ACEOF
91376 /* confdefs.h. */
91377 _ACEOF
91378 cat confdefs.h >>conftest.$ac_ext
91379 cat >>conftest.$ac_ext <<_ACEOF
91380 /* end confdefs.h. */
91381 #include <math.h>
91382 #ifdef HAVE_IEEEFP_H
91383 #include <ieeefp.h>
91384 #endif
91387 main ()
91389 expf(0);
91391 return 0;
91393 _ACEOF
91394 rm -f conftest.$ac_objext
91395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91396 (eval $ac_compile) 2>conftest.er1
91397 ac_status=$?
91398 grep -v '^ *+' conftest.er1 >conftest.err
91399 rm -f conftest.er1
91400 cat conftest.err >&5
91401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91402 (exit $ac_status); } &&
91403 { ac_try='test -z "$ac_cxx_werror_flag"
91404 || test ! -s conftest.err'
91405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91406 (eval $ac_try) 2>&5
91407 ac_status=$?
91408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91409 (exit $ac_status); }; } &&
91410 { ac_try='test -s conftest.$ac_objext'
91411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91412 (eval $ac_try) 2>&5
91413 ac_status=$?
91414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91415 (exit $ac_status); }; }; then
91416 glibcxx_cv_func_expf_use=yes
91417 else
91418 echo "$as_me: failed program was:" >&5
91419 sed 's/^/| /' conftest.$ac_ext >&5
91421 glibcxx_cv_func_expf_use=no
91423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91424 ac_ext=c
91425 ac_cpp='$CPP $CPPFLAGS'
91426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91434 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
91435 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
91437 if test x$glibcxx_cv_func_expf_use = x"yes"; then
91439 for ac_func in expf
91441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91442 echo "$as_me:$LINENO: checking for $ac_func" >&5
91443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91444 if eval "test \"\${$as_ac_var+set}\" = set"; then
91445 echo $ECHO_N "(cached) $ECHO_C" >&6
91446 else
91447 if test x$gcc_no_link = xyes; then
91448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91450 { (exit 1); exit 1; }; }
91452 cat >conftest.$ac_ext <<_ACEOF
91453 /* confdefs.h. */
91454 _ACEOF
91455 cat confdefs.h >>conftest.$ac_ext
91456 cat >>conftest.$ac_ext <<_ACEOF
91457 /* end confdefs.h. */
91458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91460 #define $ac_func innocuous_$ac_func
91462 /* System header to define __stub macros and hopefully few prototypes,
91463 which can conflict with char $ac_func (); below.
91464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91465 <limits.h> exists even on freestanding compilers. */
91467 #ifdef __STDC__
91468 # include <limits.h>
91469 #else
91470 # include <assert.h>
91471 #endif
91473 #undef $ac_func
91475 /* Override any gcc2 internal prototype to avoid an error. */
91476 #ifdef __cplusplus
91477 extern "C"
91479 #endif
91480 /* We use char because int might match the return type of a gcc2
91481 builtin and then its argument prototype would still apply. */
91482 char $ac_func ();
91483 /* The GNU C library defines this for functions which it implements
91484 to always fail with ENOSYS. Some functions are actually named
91485 something starting with __ and the normal name is an alias. */
91486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91487 choke me
91488 #else
91489 char (*f) () = $ac_func;
91490 #endif
91491 #ifdef __cplusplus
91493 #endif
91496 main ()
91498 return f != $ac_func;
91500 return 0;
91502 _ACEOF
91503 rm -f conftest.$ac_objext conftest$ac_exeext
91504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91505 (eval $ac_link) 2>conftest.er1
91506 ac_status=$?
91507 grep -v '^ *+' conftest.er1 >conftest.err
91508 rm -f conftest.er1
91509 cat conftest.err >&5
91510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91511 (exit $ac_status); } &&
91512 { ac_try='test -z "$ac_c_werror_flag"
91513 || test ! -s conftest.err'
91514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91515 (eval $ac_try) 2>&5
91516 ac_status=$?
91517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91518 (exit $ac_status); }; } &&
91519 { ac_try='test -s conftest$ac_exeext'
91520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91521 (eval $ac_try) 2>&5
91522 ac_status=$?
91523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91524 (exit $ac_status); }; }; then
91525 eval "$as_ac_var=yes"
91526 else
91527 echo "$as_me: failed program was:" >&5
91528 sed 's/^/| /' conftest.$ac_ext >&5
91530 eval "$as_ac_var=no"
91532 rm -f conftest.err conftest.$ac_objext \
91533 conftest$ac_exeext conftest.$ac_ext
91535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91537 if test `eval echo '${'$as_ac_var'}'` = yes; then
91538 cat >>confdefs.h <<_ACEOF
91539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91540 _ACEOF
91543 done
91545 else
91547 echo "$as_me:$LINENO: checking for _expf declaration" >&5
91548 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
91549 if test x${glibcxx_cv_func__expf_use+set} != xset; then
91550 if test "${glibcxx_cv_func__expf_use+set}" = set; then
91551 echo $ECHO_N "(cached) $ECHO_C" >&6
91552 else
91556 ac_ext=cc
91557 ac_cpp='$CXXCPP $CPPFLAGS'
91558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91562 cat >conftest.$ac_ext <<_ACEOF
91563 /* confdefs.h. */
91564 _ACEOF
91565 cat confdefs.h >>conftest.$ac_ext
91566 cat >>conftest.$ac_ext <<_ACEOF
91567 /* end confdefs.h. */
91568 #include <math.h>
91569 #ifdef HAVE_IEEEFP_H
91570 #include <ieeefp.h>
91571 #endif
91574 main ()
91576 _expf(0);
91578 return 0;
91580 _ACEOF
91581 rm -f conftest.$ac_objext
91582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91583 (eval $ac_compile) 2>conftest.er1
91584 ac_status=$?
91585 grep -v '^ *+' conftest.er1 >conftest.err
91586 rm -f conftest.er1
91587 cat conftest.err >&5
91588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91589 (exit $ac_status); } &&
91590 { ac_try='test -z "$ac_cxx_werror_flag"
91591 || test ! -s conftest.err'
91592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91593 (eval $ac_try) 2>&5
91594 ac_status=$?
91595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91596 (exit $ac_status); }; } &&
91597 { ac_try='test -s conftest.$ac_objext'
91598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91599 (eval $ac_try) 2>&5
91600 ac_status=$?
91601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91602 (exit $ac_status); }; }; then
91603 glibcxx_cv_func__expf_use=yes
91604 else
91605 echo "$as_me: failed program was:" >&5
91606 sed 's/^/| /' conftest.$ac_ext >&5
91608 glibcxx_cv_func__expf_use=no
91610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91611 ac_ext=c
91612 ac_cpp='$CPP $CPPFLAGS'
91613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91621 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
91622 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
91624 if test x$glibcxx_cv_func__expf_use = x"yes"; then
91626 for ac_func in _expf
91628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91629 echo "$as_me:$LINENO: checking for $ac_func" >&5
91630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91631 if eval "test \"\${$as_ac_var+set}\" = set"; then
91632 echo $ECHO_N "(cached) $ECHO_C" >&6
91633 else
91634 if test x$gcc_no_link = xyes; then
91635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91637 { (exit 1); exit 1; }; }
91639 cat >conftest.$ac_ext <<_ACEOF
91640 /* confdefs.h. */
91641 _ACEOF
91642 cat confdefs.h >>conftest.$ac_ext
91643 cat >>conftest.$ac_ext <<_ACEOF
91644 /* end confdefs.h. */
91645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91647 #define $ac_func innocuous_$ac_func
91649 /* System header to define __stub macros and hopefully few prototypes,
91650 which can conflict with char $ac_func (); below.
91651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91652 <limits.h> exists even on freestanding compilers. */
91654 #ifdef __STDC__
91655 # include <limits.h>
91656 #else
91657 # include <assert.h>
91658 #endif
91660 #undef $ac_func
91662 /* Override any gcc2 internal prototype to avoid an error. */
91663 #ifdef __cplusplus
91664 extern "C"
91666 #endif
91667 /* We use char because int might match the return type of a gcc2
91668 builtin and then its argument prototype would still apply. */
91669 char $ac_func ();
91670 /* The GNU C library defines this for functions which it implements
91671 to always fail with ENOSYS. Some functions are actually named
91672 something starting with __ and the normal name is an alias. */
91673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91674 choke me
91675 #else
91676 char (*f) () = $ac_func;
91677 #endif
91678 #ifdef __cplusplus
91680 #endif
91683 main ()
91685 return f != $ac_func;
91687 return 0;
91689 _ACEOF
91690 rm -f conftest.$ac_objext conftest$ac_exeext
91691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91692 (eval $ac_link) 2>conftest.er1
91693 ac_status=$?
91694 grep -v '^ *+' conftest.er1 >conftest.err
91695 rm -f conftest.er1
91696 cat conftest.err >&5
91697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91698 (exit $ac_status); } &&
91699 { ac_try='test -z "$ac_c_werror_flag"
91700 || test ! -s conftest.err'
91701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91702 (eval $ac_try) 2>&5
91703 ac_status=$?
91704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91705 (exit $ac_status); }; } &&
91706 { ac_try='test -s conftest$ac_exeext'
91707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91708 (eval $ac_try) 2>&5
91709 ac_status=$?
91710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91711 (exit $ac_status); }; }; then
91712 eval "$as_ac_var=yes"
91713 else
91714 echo "$as_me: failed program was:" >&5
91715 sed 's/^/| /' conftest.$ac_ext >&5
91717 eval "$as_ac_var=no"
91719 rm -f conftest.err conftest.$ac_objext \
91720 conftest$ac_exeext conftest.$ac_ext
91722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91724 if test `eval echo '${'$as_ac_var'}'` = yes; then
91725 cat >>confdefs.h <<_ACEOF
91726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91727 _ACEOF
91730 done
91740 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
91741 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
91742 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
91743 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
91744 echo $ECHO_N "(cached) $ECHO_C" >&6
91745 else
91749 ac_ext=cc
91750 ac_cpp='$CXXCPP $CPPFLAGS'
91751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91755 cat >conftest.$ac_ext <<_ACEOF
91756 /* confdefs.h. */
91757 _ACEOF
91758 cat confdefs.h >>conftest.$ac_ext
91759 cat >>conftest.$ac_ext <<_ACEOF
91760 /* end confdefs.h. */
91761 #include <math.h>
91762 #ifdef HAVE_IEEEFP_H
91763 #include <ieeefp.h>
91764 #endif
91767 main ()
91769 isnanf(0);
91771 return 0;
91773 _ACEOF
91774 rm -f conftest.$ac_objext
91775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91776 (eval $ac_compile) 2>conftest.er1
91777 ac_status=$?
91778 grep -v '^ *+' conftest.er1 >conftest.err
91779 rm -f conftest.er1
91780 cat conftest.err >&5
91781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91782 (exit $ac_status); } &&
91783 { ac_try='test -z "$ac_cxx_werror_flag"
91784 || test ! -s conftest.err'
91785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91786 (eval $ac_try) 2>&5
91787 ac_status=$?
91788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91789 (exit $ac_status); }; } &&
91790 { ac_try='test -s conftest.$ac_objext'
91791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91792 (eval $ac_try) 2>&5
91793 ac_status=$?
91794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91795 (exit $ac_status); }; }; then
91796 glibcxx_cv_func_isnanf_use=yes
91797 else
91798 echo "$as_me: failed program was:" >&5
91799 sed 's/^/| /' conftest.$ac_ext >&5
91801 glibcxx_cv_func_isnanf_use=no
91803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91804 ac_ext=c
91805 ac_cpp='$CPP $CPPFLAGS'
91806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91814 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
91815 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
91817 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
91819 for ac_func in isnanf
91821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91822 echo "$as_me:$LINENO: checking for $ac_func" >&5
91823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91824 if eval "test \"\${$as_ac_var+set}\" = set"; then
91825 echo $ECHO_N "(cached) $ECHO_C" >&6
91826 else
91827 if test x$gcc_no_link = xyes; then
91828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91830 { (exit 1); exit 1; }; }
91832 cat >conftest.$ac_ext <<_ACEOF
91833 /* confdefs.h. */
91834 _ACEOF
91835 cat confdefs.h >>conftest.$ac_ext
91836 cat >>conftest.$ac_ext <<_ACEOF
91837 /* end confdefs.h. */
91838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91840 #define $ac_func innocuous_$ac_func
91842 /* System header to define __stub macros and hopefully few prototypes,
91843 which can conflict with char $ac_func (); below.
91844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91845 <limits.h> exists even on freestanding compilers. */
91847 #ifdef __STDC__
91848 # include <limits.h>
91849 #else
91850 # include <assert.h>
91851 #endif
91853 #undef $ac_func
91855 /* Override any gcc2 internal prototype to avoid an error. */
91856 #ifdef __cplusplus
91857 extern "C"
91859 #endif
91860 /* We use char because int might match the return type of a gcc2
91861 builtin and then its argument prototype would still apply. */
91862 char $ac_func ();
91863 /* The GNU C library defines this for functions which it implements
91864 to always fail with ENOSYS. Some functions are actually named
91865 something starting with __ and the normal name is an alias. */
91866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91867 choke me
91868 #else
91869 char (*f) () = $ac_func;
91870 #endif
91871 #ifdef __cplusplus
91873 #endif
91876 main ()
91878 return f != $ac_func;
91880 return 0;
91882 _ACEOF
91883 rm -f conftest.$ac_objext conftest$ac_exeext
91884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91885 (eval $ac_link) 2>conftest.er1
91886 ac_status=$?
91887 grep -v '^ *+' conftest.er1 >conftest.err
91888 rm -f conftest.er1
91889 cat conftest.err >&5
91890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91891 (exit $ac_status); } &&
91892 { ac_try='test -z "$ac_c_werror_flag"
91893 || test ! -s conftest.err'
91894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91895 (eval $ac_try) 2>&5
91896 ac_status=$?
91897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91898 (exit $ac_status); }; } &&
91899 { ac_try='test -s conftest$ac_exeext'
91900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91901 (eval $ac_try) 2>&5
91902 ac_status=$?
91903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91904 (exit $ac_status); }; }; then
91905 eval "$as_ac_var=yes"
91906 else
91907 echo "$as_me: failed program was:" >&5
91908 sed 's/^/| /' conftest.$ac_ext >&5
91910 eval "$as_ac_var=no"
91912 rm -f conftest.err conftest.$ac_objext \
91913 conftest$ac_exeext conftest.$ac_ext
91915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91917 if test `eval echo '${'$as_ac_var'}'` = yes; then
91918 cat >>confdefs.h <<_ACEOF
91919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91920 _ACEOF
91923 done
91925 else
91927 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
91928 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
91929 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
91930 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
91931 echo $ECHO_N "(cached) $ECHO_C" >&6
91932 else
91936 ac_ext=cc
91937 ac_cpp='$CXXCPP $CPPFLAGS'
91938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91942 cat >conftest.$ac_ext <<_ACEOF
91943 /* confdefs.h. */
91944 _ACEOF
91945 cat confdefs.h >>conftest.$ac_ext
91946 cat >>conftest.$ac_ext <<_ACEOF
91947 /* end confdefs.h. */
91948 #include <math.h>
91949 #ifdef HAVE_IEEEFP_H
91950 #include <ieeefp.h>
91951 #endif
91954 main ()
91956 _isnanf(0);
91958 return 0;
91960 _ACEOF
91961 rm -f conftest.$ac_objext
91962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91963 (eval $ac_compile) 2>conftest.er1
91964 ac_status=$?
91965 grep -v '^ *+' conftest.er1 >conftest.err
91966 rm -f conftest.er1
91967 cat conftest.err >&5
91968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91969 (exit $ac_status); } &&
91970 { ac_try='test -z "$ac_cxx_werror_flag"
91971 || test ! -s conftest.err'
91972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91973 (eval $ac_try) 2>&5
91974 ac_status=$?
91975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91976 (exit $ac_status); }; } &&
91977 { ac_try='test -s conftest.$ac_objext'
91978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91979 (eval $ac_try) 2>&5
91980 ac_status=$?
91981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91982 (exit $ac_status); }; }; then
91983 glibcxx_cv_func__isnanf_use=yes
91984 else
91985 echo "$as_me: failed program was:" >&5
91986 sed 's/^/| /' conftest.$ac_ext >&5
91988 glibcxx_cv_func__isnanf_use=no
91990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91991 ac_ext=c
91992 ac_cpp='$CPP $CPPFLAGS'
91993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92001 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
92002 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
92004 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
92006 for ac_func in _isnanf
92008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92009 echo "$as_me:$LINENO: checking for $ac_func" >&5
92010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92011 if eval "test \"\${$as_ac_var+set}\" = set"; then
92012 echo $ECHO_N "(cached) $ECHO_C" >&6
92013 else
92014 if test x$gcc_no_link = xyes; then
92015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92017 { (exit 1); exit 1; }; }
92019 cat >conftest.$ac_ext <<_ACEOF
92020 /* confdefs.h. */
92021 _ACEOF
92022 cat confdefs.h >>conftest.$ac_ext
92023 cat >>conftest.$ac_ext <<_ACEOF
92024 /* end confdefs.h. */
92025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92027 #define $ac_func innocuous_$ac_func
92029 /* System header to define __stub macros and hopefully few prototypes,
92030 which can conflict with char $ac_func (); below.
92031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92032 <limits.h> exists even on freestanding compilers. */
92034 #ifdef __STDC__
92035 # include <limits.h>
92036 #else
92037 # include <assert.h>
92038 #endif
92040 #undef $ac_func
92042 /* Override any gcc2 internal prototype to avoid an error. */
92043 #ifdef __cplusplus
92044 extern "C"
92046 #endif
92047 /* We use char because int might match the return type of a gcc2
92048 builtin and then its argument prototype would still apply. */
92049 char $ac_func ();
92050 /* The GNU C library defines this for functions which it implements
92051 to always fail with ENOSYS. Some functions are actually named
92052 something starting with __ and the normal name is an alias. */
92053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92054 choke me
92055 #else
92056 char (*f) () = $ac_func;
92057 #endif
92058 #ifdef __cplusplus
92060 #endif
92063 main ()
92065 return f != $ac_func;
92067 return 0;
92069 _ACEOF
92070 rm -f conftest.$ac_objext conftest$ac_exeext
92071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92072 (eval $ac_link) 2>conftest.er1
92073 ac_status=$?
92074 grep -v '^ *+' conftest.er1 >conftest.err
92075 rm -f conftest.er1
92076 cat conftest.err >&5
92077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92078 (exit $ac_status); } &&
92079 { ac_try='test -z "$ac_c_werror_flag"
92080 || test ! -s conftest.err'
92081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92082 (eval $ac_try) 2>&5
92083 ac_status=$?
92084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92085 (exit $ac_status); }; } &&
92086 { ac_try='test -s conftest$ac_exeext'
92087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92088 (eval $ac_try) 2>&5
92089 ac_status=$?
92090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92091 (exit $ac_status); }; }; then
92092 eval "$as_ac_var=yes"
92093 else
92094 echo "$as_me: failed program was:" >&5
92095 sed 's/^/| /' conftest.$ac_ext >&5
92097 eval "$as_ac_var=no"
92099 rm -f conftest.err conftest.$ac_objext \
92100 conftest$ac_exeext conftest.$ac_ext
92102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92104 if test `eval echo '${'$as_ac_var'}'` = yes; then
92105 cat >>confdefs.h <<_ACEOF
92106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92107 _ACEOF
92110 done
92120 echo "$as_me:$LINENO: checking for isinff declaration" >&5
92121 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
92122 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
92123 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
92124 echo $ECHO_N "(cached) $ECHO_C" >&6
92125 else
92129 ac_ext=cc
92130 ac_cpp='$CXXCPP $CPPFLAGS'
92131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92135 cat >conftest.$ac_ext <<_ACEOF
92136 /* confdefs.h. */
92137 _ACEOF
92138 cat confdefs.h >>conftest.$ac_ext
92139 cat >>conftest.$ac_ext <<_ACEOF
92140 /* end confdefs.h. */
92141 #include <math.h>
92142 #ifdef HAVE_IEEEFP_H
92143 #include <ieeefp.h>
92144 #endif
92147 main ()
92149 isinff(0);
92151 return 0;
92153 _ACEOF
92154 rm -f conftest.$ac_objext
92155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92156 (eval $ac_compile) 2>conftest.er1
92157 ac_status=$?
92158 grep -v '^ *+' conftest.er1 >conftest.err
92159 rm -f conftest.er1
92160 cat conftest.err >&5
92161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92162 (exit $ac_status); } &&
92163 { ac_try='test -z "$ac_cxx_werror_flag"
92164 || test ! -s conftest.err'
92165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92166 (eval $ac_try) 2>&5
92167 ac_status=$?
92168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92169 (exit $ac_status); }; } &&
92170 { ac_try='test -s conftest.$ac_objext'
92171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92172 (eval $ac_try) 2>&5
92173 ac_status=$?
92174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92175 (exit $ac_status); }; }; then
92176 glibcxx_cv_func_isinff_use=yes
92177 else
92178 echo "$as_me: failed program was:" >&5
92179 sed 's/^/| /' conftest.$ac_ext >&5
92181 glibcxx_cv_func_isinff_use=no
92183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92184 ac_ext=c
92185 ac_cpp='$CPP $CPPFLAGS'
92186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92194 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
92195 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
92197 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
92199 for ac_func in isinff
92201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92202 echo "$as_me:$LINENO: checking for $ac_func" >&5
92203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92204 if eval "test \"\${$as_ac_var+set}\" = set"; then
92205 echo $ECHO_N "(cached) $ECHO_C" >&6
92206 else
92207 if test x$gcc_no_link = xyes; then
92208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92210 { (exit 1); exit 1; }; }
92212 cat >conftest.$ac_ext <<_ACEOF
92213 /* confdefs.h. */
92214 _ACEOF
92215 cat confdefs.h >>conftest.$ac_ext
92216 cat >>conftest.$ac_ext <<_ACEOF
92217 /* end confdefs.h. */
92218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92220 #define $ac_func innocuous_$ac_func
92222 /* System header to define __stub macros and hopefully few prototypes,
92223 which can conflict with char $ac_func (); below.
92224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92225 <limits.h> exists even on freestanding compilers. */
92227 #ifdef __STDC__
92228 # include <limits.h>
92229 #else
92230 # include <assert.h>
92231 #endif
92233 #undef $ac_func
92235 /* Override any gcc2 internal prototype to avoid an error. */
92236 #ifdef __cplusplus
92237 extern "C"
92239 #endif
92240 /* We use char because int might match the return type of a gcc2
92241 builtin and then its argument prototype would still apply. */
92242 char $ac_func ();
92243 /* The GNU C library defines this for functions which it implements
92244 to always fail with ENOSYS. Some functions are actually named
92245 something starting with __ and the normal name is an alias. */
92246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92247 choke me
92248 #else
92249 char (*f) () = $ac_func;
92250 #endif
92251 #ifdef __cplusplus
92253 #endif
92256 main ()
92258 return f != $ac_func;
92260 return 0;
92262 _ACEOF
92263 rm -f conftest.$ac_objext conftest$ac_exeext
92264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92265 (eval $ac_link) 2>conftest.er1
92266 ac_status=$?
92267 grep -v '^ *+' conftest.er1 >conftest.err
92268 rm -f conftest.er1
92269 cat conftest.err >&5
92270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92271 (exit $ac_status); } &&
92272 { ac_try='test -z "$ac_c_werror_flag"
92273 || test ! -s conftest.err'
92274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92275 (eval $ac_try) 2>&5
92276 ac_status=$?
92277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92278 (exit $ac_status); }; } &&
92279 { ac_try='test -s conftest$ac_exeext'
92280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92281 (eval $ac_try) 2>&5
92282 ac_status=$?
92283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92284 (exit $ac_status); }; }; then
92285 eval "$as_ac_var=yes"
92286 else
92287 echo "$as_me: failed program was:" >&5
92288 sed 's/^/| /' conftest.$ac_ext >&5
92290 eval "$as_ac_var=no"
92292 rm -f conftest.err conftest.$ac_objext \
92293 conftest$ac_exeext conftest.$ac_ext
92295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92297 if test `eval echo '${'$as_ac_var'}'` = yes; then
92298 cat >>confdefs.h <<_ACEOF
92299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92300 _ACEOF
92303 done
92305 else
92307 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
92308 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
92309 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
92310 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
92311 echo $ECHO_N "(cached) $ECHO_C" >&6
92312 else
92316 ac_ext=cc
92317 ac_cpp='$CXXCPP $CPPFLAGS'
92318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92322 cat >conftest.$ac_ext <<_ACEOF
92323 /* confdefs.h. */
92324 _ACEOF
92325 cat confdefs.h >>conftest.$ac_ext
92326 cat >>conftest.$ac_ext <<_ACEOF
92327 /* end confdefs.h. */
92328 #include <math.h>
92329 #ifdef HAVE_IEEEFP_H
92330 #include <ieeefp.h>
92331 #endif
92334 main ()
92336 _isinff(0);
92338 return 0;
92340 _ACEOF
92341 rm -f conftest.$ac_objext
92342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92343 (eval $ac_compile) 2>conftest.er1
92344 ac_status=$?
92345 grep -v '^ *+' conftest.er1 >conftest.err
92346 rm -f conftest.er1
92347 cat conftest.err >&5
92348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92349 (exit $ac_status); } &&
92350 { ac_try='test -z "$ac_cxx_werror_flag"
92351 || test ! -s conftest.err'
92352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92353 (eval $ac_try) 2>&5
92354 ac_status=$?
92355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92356 (exit $ac_status); }; } &&
92357 { ac_try='test -s conftest.$ac_objext'
92358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92359 (eval $ac_try) 2>&5
92360 ac_status=$?
92361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92362 (exit $ac_status); }; }; then
92363 glibcxx_cv_func__isinff_use=yes
92364 else
92365 echo "$as_me: failed program was:" >&5
92366 sed 's/^/| /' conftest.$ac_ext >&5
92368 glibcxx_cv_func__isinff_use=no
92370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92371 ac_ext=c
92372 ac_cpp='$CPP $CPPFLAGS'
92373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92381 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
92382 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
92384 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
92386 for ac_func in _isinff
92388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92389 echo "$as_me:$LINENO: checking for $ac_func" >&5
92390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92391 if eval "test \"\${$as_ac_var+set}\" = set"; then
92392 echo $ECHO_N "(cached) $ECHO_C" >&6
92393 else
92394 if test x$gcc_no_link = xyes; then
92395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92397 { (exit 1); exit 1; }; }
92399 cat >conftest.$ac_ext <<_ACEOF
92400 /* confdefs.h. */
92401 _ACEOF
92402 cat confdefs.h >>conftest.$ac_ext
92403 cat >>conftest.$ac_ext <<_ACEOF
92404 /* end confdefs.h. */
92405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92407 #define $ac_func innocuous_$ac_func
92409 /* System header to define __stub macros and hopefully few prototypes,
92410 which can conflict with char $ac_func (); below.
92411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92412 <limits.h> exists even on freestanding compilers. */
92414 #ifdef __STDC__
92415 # include <limits.h>
92416 #else
92417 # include <assert.h>
92418 #endif
92420 #undef $ac_func
92422 /* Override any gcc2 internal prototype to avoid an error. */
92423 #ifdef __cplusplus
92424 extern "C"
92426 #endif
92427 /* We use char because int might match the return type of a gcc2
92428 builtin and then its argument prototype would still apply. */
92429 char $ac_func ();
92430 /* The GNU C library defines this for functions which it implements
92431 to always fail with ENOSYS. Some functions are actually named
92432 something starting with __ and the normal name is an alias. */
92433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92434 choke me
92435 #else
92436 char (*f) () = $ac_func;
92437 #endif
92438 #ifdef __cplusplus
92440 #endif
92443 main ()
92445 return f != $ac_func;
92447 return 0;
92449 _ACEOF
92450 rm -f conftest.$ac_objext conftest$ac_exeext
92451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92452 (eval $ac_link) 2>conftest.er1
92453 ac_status=$?
92454 grep -v '^ *+' conftest.er1 >conftest.err
92455 rm -f conftest.er1
92456 cat conftest.err >&5
92457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92458 (exit $ac_status); } &&
92459 { ac_try='test -z "$ac_c_werror_flag"
92460 || test ! -s conftest.err'
92461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92462 (eval $ac_try) 2>&5
92463 ac_status=$?
92464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92465 (exit $ac_status); }; } &&
92466 { ac_try='test -s conftest$ac_exeext'
92467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92468 (eval $ac_try) 2>&5
92469 ac_status=$?
92470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92471 (exit $ac_status); }; }; then
92472 eval "$as_ac_var=yes"
92473 else
92474 echo "$as_me: failed program was:" >&5
92475 sed 's/^/| /' conftest.$ac_ext >&5
92477 eval "$as_ac_var=no"
92479 rm -f conftest.err conftest.$ac_objext \
92480 conftest$ac_exeext conftest.$ac_ext
92482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92484 if test `eval echo '${'$as_ac_var'}'` = yes; then
92485 cat >>confdefs.h <<_ACEOF
92486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92487 _ACEOF
92490 done
92500 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
92501 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
92502 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
92503 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
92504 echo $ECHO_N "(cached) $ECHO_C" >&6
92505 else
92509 ac_ext=cc
92510 ac_cpp='$CXXCPP $CPPFLAGS'
92511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92515 cat >conftest.$ac_ext <<_ACEOF
92516 /* confdefs.h. */
92517 _ACEOF
92518 cat confdefs.h >>conftest.$ac_ext
92519 cat >>conftest.$ac_ext <<_ACEOF
92520 /* end confdefs.h. */
92521 #include <math.h>
92523 main ()
92525 atan2f(0, 0);
92527 return 0;
92529 _ACEOF
92530 rm -f conftest.$ac_objext
92531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92532 (eval $ac_compile) 2>conftest.er1
92533 ac_status=$?
92534 grep -v '^ *+' conftest.er1 >conftest.err
92535 rm -f conftest.er1
92536 cat conftest.err >&5
92537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92538 (exit $ac_status); } &&
92539 { ac_try='test -z "$ac_cxx_werror_flag"
92540 || test ! -s conftest.err'
92541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92542 (eval $ac_try) 2>&5
92543 ac_status=$?
92544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92545 (exit $ac_status); }; } &&
92546 { ac_try='test -s conftest.$ac_objext'
92547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92548 (eval $ac_try) 2>&5
92549 ac_status=$?
92550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92551 (exit $ac_status); }; }; then
92552 glibcxx_cv_func_atan2f_use=yes
92553 else
92554 echo "$as_me: failed program was:" >&5
92555 sed 's/^/| /' conftest.$ac_ext >&5
92557 glibcxx_cv_func_atan2f_use=no
92559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92560 ac_ext=c
92561 ac_cpp='$CPP $CPPFLAGS'
92562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92570 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
92571 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
92573 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
92575 for ac_func in atan2f
92577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92578 echo "$as_me:$LINENO: checking for $ac_func" >&5
92579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92580 if eval "test \"\${$as_ac_var+set}\" = set"; then
92581 echo $ECHO_N "(cached) $ECHO_C" >&6
92582 else
92583 if test x$gcc_no_link = xyes; then
92584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92586 { (exit 1); exit 1; }; }
92588 cat >conftest.$ac_ext <<_ACEOF
92589 /* confdefs.h. */
92590 _ACEOF
92591 cat confdefs.h >>conftest.$ac_ext
92592 cat >>conftest.$ac_ext <<_ACEOF
92593 /* end confdefs.h. */
92594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92596 #define $ac_func innocuous_$ac_func
92598 /* System header to define __stub macros and hopefully few prototypes,
92599 which can conflict with char $ac_func (); below.
92600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92601 <limits.h> exists even on freestanding compilers. */
92603 #ifdef __STDC__
92604 # include <limits.h>
92605 #else
92606 # include <assert.h>
92607 #endif
92609 #undef $ac_func
92611 /* Override any gcc2 internal prototype to avoid an error. */
92612 #ifdef __cplusplus
92613 extern "C"
92615 #endif
92616 /* We use char because int might match the return type of a gcc2
92617 builtin and then its argument prototype would still apply. */
92618 char $ac_func ();
92619 /* The GNU C library defines this for functions which it implements
92620 to always fail with ENOSYS. Some functions are actually named
92621 something starting with __ and the normal name is an alias. */
92622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92623 choke me
92624 #else
92625 char (*f) () = $ac_func;
92626 #endif
92627 #ifdef __cplusplus
92629 #endif
92632 main ()
92634 return f != $ac_func;
92636 return 0;
92638 _ACEOF
92639 rm -f conftest.$ac_objext conftest$ac_exeext
92640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92641 (eval $ac_link) 2>conftest.er1
92642 ac_status=$?
92643 grep -v '^ *+' conftest.er1 >conftest.err
92644 rm -f conftest.er1
92645 cat conftest.err >&5
92646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92647 (exit $ac_status); } &&
92648 { ac_try='test -z "$ac_c_werror_flag"
92649 || test ! -s conftest.err'
92650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92651 (eval $ac_try) 2>&5
92652 ac_status=$?
92653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92654 (exit $ac_status); }; } &&
92655 { ac_try='test -s conftest$ac_exeext'
92656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92657 (eval $ac_try) 2>&5
92658 ac_status=$?
92659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92660 (exit $ac_status); }; }; then
92661 eval "$as_ac_var=yes"
92662 else
92663 echo "$as_me: failed program was:" >&5
92664 sed 's/^/| /' conftest.$ac_ext >&5
92666 eval "$as_ac_var=no"
92668 rm -f conftest.err conftest.$ac_objext \
92669 conftest$ac_exeext conftest.$ac_ext
92671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92673 if test `eval echo '${'$as_ac_var'}'` = yes; then
92674 cat >>confdefs.h <<_ACEOF
92675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92676 _ACEOF
92679 done
92681 else
92683 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
92684 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
92685 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
92686 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
92687 echo $ECHO_N "(cached) $ECHO_C" >&6
92688 else
92692 ac_ext=cc
92693 ac_cpp='$CXXCPP $CPPFLAGS'
92694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92698 cat >conftest.$ac_ext <<_ACEOF
92699 /* confdefs.h. */
92700 _ACEOF
92701 cat confdefs.h >>conftest.$ac_ext
92702 cat >>conftest.$ac_ext <<_ACEOF
92703 /* end confdefs.h. */
92704 #include <math.h>
92706 main ()
92708 _atan2f(0, 0);
92710 return 0;
92712 _ACEOF
92713 rm -f conftest.$ac_objext
92714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92715 (eval $ac_compile) 2>conftest.er1
92716 ac_status=$?
92717 grep -v '^ *+' conftest.er1 >conftest.err
92718 rm -f conftest.er1
92719 cat conftest.err >&5
92720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92721 (exit $ac_status); } &&
92722 { ac_try='test -z "$ac_cxx_werror_flag"
92723 || test ! -s conftest.err'
92724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92725 (eval $ac_try) 2>&5
92726 ac_status=$?
92727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92728 (exit $ac_status); }; } &&
92729 { ac_try='test -s conftest.$ac_objext'
92730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92731 (eval $ac_try) 2>&5
92732 ac_status=$?
92733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92734 (exit $ac_status); }; }; then
92735 glibcxx_cv_func__atan2f_use=yes
92736 else
92737 echo "$as_me: failed program was:" >&5
92738 sed 's/^/| /' conftest.$ac_ext >&5
92740 glibcxx_cv_func__atan2f_use=no
92742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92743 ac_ext=c
92744 ac_cpp='$CPP $CPPFLAGS'
92745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92753 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
92754 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
92756 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
92758 for ac_func in _atan2f
92760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92761 echo "$as_me:$LINENO: checking for $ac_func" >&5
92762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92763 if eval "test \"\${$as_ac_var+set}\" = set"; then
92764 echo $ECHO_N "(cached) $ECHO_C" >&6
92765 else
92766 if test x$gcc_no_link = xyes; then
92767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92769 { (exit 1); exit 1; }; }
92771 cat >conftest.$ac_ext <<_ACEOF
92772 /* confdefs.h. */
92773 _ACEOF
92774 cat confdefs.h >>conftest.$ac_ext
92775 cat >>conftest.$ac_ext <<_ACEOF
92776 /* end confdefs.h. */
92777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92779 #define $ac_func innocuous_$ac_func
92781 /* System header to define __stub macros and hopefully few prototypes,
92782 which can conflict with char $ac_func (); below.
92783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92784 <limits.h> exists even on freestanding compilers. */
92786 #ifdef __STDC__
92787 # include <limits.h>
92788 #else
92789 # include <assert.h>
92790 #endif
92792 #undef $ac_func
92794 /* Override any gcc2 internal prototype to avoid an error. */
92795 #ifdef __cplusplus
92796 extern "C"
92798 #endif
92799 /* We use char because int might match the return type of a gcc2
92800 builtin and then its argument prototype would still apply. */
92801 char $ac_func ();
92802 /* The GNU C library defines this for functions which it implements
92803 to always fail with ENOSYS. Some functions are actually named
92804 something starting with __ and the normal name is an alias. */
92805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92806 choke me
92807 #else
92808 char (*f) () = $ac_func;
92809 #endif
92810 #ifdef __cplusplus
92812 #endif
92815 main ()
92817 return f != $ac_func;
92819 return 0;
92821 _ACEOF
92822 rm -f conftest.$ac_objext conftest$ac_exeext
92823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92824 (eval $ac_link) 2>conftest.er1
92825 ac_status=$?
92826 grep -v '^ *+' conftest.er1 >conftest.err
92827 rm -f conftest.er1
92828 cat conftest.err >&5
92829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92830 (exit $ac_status); } &&
92831 { ac_try='test -z "$ac_c_werror_flag"
92832 || test ! -s conftest.err'
92833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92834 (eval $ac_try) 2>&5
92835 ac_status=$?
92836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92837 (exit $ac_status); }; } &&
92838 { ac_try='test -s conftest$ac_exeext'
92839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92840 (eval $ac_try) 2>&5
92841 ac_status=$?
92842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92843 (exit $ac_status); }; }; then
92844 eval "$as_ac_var=yes"
92845 else
92846 echo "$as_me: failed program was:" >&5
92847 sed 's/^/| /' conftest.$ac_ext >&5
92849 eval "$as_ac_var=no"
92851 rm -f conftest.err conftest.$ac_objext \
92852 conftest$ac_exeext conftest.$ac_ext
92854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92856 if test `eval echo '${'$as_ac_var'}'` = yes; then
92857 cat >>confdefs.h <<_ACEOF
92858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92859 _ACEOF
92862 done
92872 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
92873 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
92874 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
92875 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
92876 echo $ECHO_N "(cached) $ECHO_C" >&6
92877 else
92881 ac_ext=cc
92882 ac_cpp='$CXXCPP $CPPFLAGS'
92883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92887 cat >conftest.$ac_ext <<_ACEOF
92888 /* confdefs.h. */
92889 _ACEOF
92890 cat confdefs.h >>conftest.$ac_ext
92891 cat >>conftest.$ac_ext <<_ACEOF
92892 /* end confdefs.h. */
92893 #include <math.h>
92894 #ifdef HAVE_IEEEFP_H
92895 #include <ieeefp.h>
92896 #endif
92899 main ()
92901 fabsf(0);
92903 return 0;
92905 _ACEOF
92906 rm -f conftest.$ac_objext
92907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92908 (eval $ac_compile) 2>conftest.er1
92909 ac_status=$?
92910 grep -v '^ *+' conftest.er1 >conftest.err
92911 rm -f conftest.er1
92912 cat conftest.err >&5
92913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92914 (exit $ac_status); } &&
92915 { ac_try='test -z "$ac_cxx_werror_flag"
92916 || test ! -s conftest.err'
92917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92918 (eval $ac_try) 2>&5
92919 ac_status=$?
92920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92921 (exit $ac_status); }; } &&
92922 { ac_try='test -s conftest.$ac_objext'
92923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92924 (eval $ac_try) 2>&5
92925 ac_status=$?
92926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92927 (exit $ac_status); }; }; then
92928 glibcxx_cv_func_fabsf_use=yes
92929 else
92930 echo "$as_me: failed program was:" >&5
92931 sed 's/^/| /' conftest.$ac_ext >&5
92933 glibcxx_cv_func_fabsf_use=no
92935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92936 ac_ext=c
92937 ac_cpp='$CPP $CPPFLAGS'
92938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92946 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
92947 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
92949 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
92951 for ac_func in fabsf
92953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92954 echo "$as_me:$LINENO: checking for $ac_func" >&5
92955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92956 if eval "test \"\${$as_ac_var+set}\" = set"; then
92957 echo $ECHO_N "(cached) $ECHO_C" >&6
92958 else
92959 if test x$gcc_no_link = xyes; then
92960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92962 { (exit 1); exit 1; }; }
92964 cat >conftest.$ac_ext <<_ACEOF
92965 /* confdefs.h. */
92966 _ACEOF
92967 cat confdefs.h >>conftest.$ac_ext
92968 cat >>conftest.$ac_ext <<_ACEOF
92969 /* end confdefs.h. */
92970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92972 #define $ac_func innocuous_$ac_func
92974 /* System header to define __stub macros and hopefully few prototypes,
92975 which can conflict with char $ac_func (); below.
92976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92977 <limits.h> exists even on freestanding compilers. */
92979 #ifdef __STDC__
92980 # include <limits.h>
92981 #else
92982 # include <assert.h>
92983 #endif
92985 #undef $ac_func
92987 /* Override any gcc2 internal prototype to avoid an error. */
92988 #ifdef __cplusplus
92989 extern "C"
92991 #endif
92992 /* We use char because int might match the return type of a gcc2
92993 builtin and then its argument prototype would still apply. */
92994 char $ac_func ();
92995 /* The GNU C library defines this for functions which it implements
92996 to always fail with ENOSYS. Some functions are actually named
92997 something starting with __ and the normal name is an alias. */
92998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92999 choke me
93000 #else
93001 char (*f) () = $ac_func;
93002 #endif
93003 #ifdef __cplusplus
93005 #endif
93008 main ()
93010 return f != $ac_func;
93012 return 0;
93014 _ACEOF
93015 rm -f conftest.$ac_objext conftest$ac_exeext
93016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93017 (eval $ac_link) 2>conftest.er1
93018 ac_status=$?
93019 grep -v '^ *+' conftest.er1 >conftest.err
93020 rm -f conftest.er1
93021 cat conftest.err >&5
93022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93023 (exit $ac_status); } &&
93024 { ac_try='test -z "$ac_c_werror_flag"
93025 || test ! -s conftest.err'
93026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93027 (eval $ac_try) 2>&5
93028 ac_status=$?
93029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93030 (exit $ac_status); }; } &&
93031 { ac_try='test -s conftest$ac_exeext'
93032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93033 (eval $ac_try) 2>&5
93034 ac_status=$?
93035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93036 (exit $ac_status); }; }; then
93037 eval "$as_ac_var=yes"
93038 else
93039 echo "$as_me: failed program was:" >&5
93040 sed 's/^/| /' conftest.$ac_ext >&5
93042 eval "$as_ac_var=no"
93044 rm -f conftest.err conftest.$ac_objext \
93045 conftest$ac_exeext conftest.$ac_ext
93047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93049 if test `eval echo '${'$as_ac_var'}'` = yes; then
93050 cat >>confdefs.h <<_ACEOF
93051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93052 _ACEOF
93055 done
93057 else
93059 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
93060 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
93061 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
93062 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
93063 echo $ECHO_N "(cached) $ECHO_C" >&6
93064 else
93068 ac_ext=cc
93069 ac_cpp='$CXXCPP $CPPFLAGS'
93070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93074 cat >conftest.$ac_ext <<_ACEOF
93075 /* confdefs.h. */
93076 _ACEOF
93077 cat confdefs.h >>conftest.$ac_ext
93078 cat >>conftest.$ac_ext <<_ACEOF
93079 /* end confdefs.h. */
93080 #include <math.h>
93081 #ifdef HAVE_IEEEFP_H
93082 #include <ieeefp.h>
93083 #endif
93086 main ()
93088 _fabsf(0);
93090 return 0;
93092 _ACEOF
93093 rm -f conftest.$ac_objext
93094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93095 (eval $ac_compile) 2>conftest.er1
93096 ac_status=$?
93097 grep -v '^ *+' conftest.er1 >conftest.err
93098 rm -f conftest.er1
93099 cat conftest.err >&5
93100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93101 (exit $ac_status); } &&
93102 { ac_try='test -z "$ac_cxx_werror_flag"
93103 || test ! -s conftest.err'
93104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93105 (eval $ac_try) 2>&5
93106 ac_status=$?
93107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93108 (exit $ac_status); }; } &&
93109 { ac_try='test -s conftest.$ac_objext'
93110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93111 (eval $ac_try) 2>&5
93112 ac_status=$?
93113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93114 (exit $ac_status); }; }; then
93115 glibcxx_cv_func__fabsf_use=yes
93116 else
93117 echo "$as_me: failed program was:" >&5
93118 sed 's/^/| /' conftest.$ac_ext >&5
93120 glibcxx_cv_func__fabsf_use=no
93122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93123 ac_ext=c
93124 ac_cpp='$CPP $CPPFLAGS'
93125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93133 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
93134 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
93136 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
93138 for ac_func in _fabsf
93140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93141 echo "$as_me:$LINENO: checking for $ac_func" >&5
93142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93143 if eval "test \"\${$as_ac_var+set}\" = set"; then
93144 echo $ECHO_N "(cached) $ECHO_C" >&6
93145 else
93146 if test x$gcc_no_link = xyes; then
93147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93149 { (exit 1); exit 1; }; }
93151 cat >conftest.$ac_ext <<_ACEOF
93152 /* confdefs.h. */
93153 _ACEOF
93154 cat confdefs.h >>conftest.$ac_ext
93155 cat >>conftest.$ac_ext <<_ACEOF
93156 /* end confdefs.h. */
93157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93159 #define $ac_func innocuous_$ac_func
93161 /* System header to define __stub macros and hopefully few prototypes,
93162 which can conflict with char $ac_func (); below.
93163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93164 <limits.h> exists even on freestanding compilers. */
93166 #ifdef __STDC__
93167 # include <limits.h>
93168 #else
93169 # include <assert.h>
93170 #endif
93172 #undef $ac_func
93174 /* Override any gcc2 internal prototype to avoid an error. */
93175 #ifdef __cplusplus
93176 extern "C"
93178 #endif
93179 /* We use char because int might match the return type of a gcc2
93180 builtin and then its argument prototype would still apply. */
93181 char $ac_func ();
93182 /* The GNU C library defines this for functions which it implements
93183 to always fail with ENOSYS. Some functions are actually named
93184 something starting with __ and the normal name is an alias. */
93185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93186 choke me
93187 #else
93188 char (*f) () = $ac_func;
93189 #endif
93190 #ifdef __cplusplus
93192 #endif
93195 main ()
93197 return f != $ac_func;
93199 return 0;
93201 _ACEOF
93202 rm -f conftest.$ac_objext conftest$ac_exeext
93203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93204 (eval $ac_link) 2>conftest.er1
93205 ac_status=$?
93206 grep -v '^ *+' conftest.er1 >conftest.err
93207 rm -f conftest.er1
93208 cat conftest.err >&5
93209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93210 (exit $ac_status); } &&
93211 { ac_try='test -z "$ac_c_werror_flag"
93212 || test ! -s conftest.err'
93213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93214 (eval $ac_try) 2>&5
93215 ac_status=$?
93216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93217 (exit $ac_status); }; } &&
93218 { ac_try='test -s conftest$ac_exeext'
93219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93220 (eval $ac_try) 2>&5
93221 ac_status=$?
93222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93223 (exit $ac_status); }; }; then
93224 eval "$as_ac_var=yes"
93225 else
93226 echo "$as_me: failed program was:" >&5
93227 sed 's/^/| /' conftest.$ac_ext >&5
93229 eval "$as_ac_var=no"
93231 rm -f conftest.err conftest.$ac_objext \
93232 conftest$ac_exeext conftest.$ac_ext
93234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93236 if test `eval echo '${'$as_ac_var'}'` = yes; then
93237 cat >>confdefs.h <<_ACEOF
93238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93239 _ACEOF
93242 done
93252 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
93253 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
93254 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
93255 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
93256 echo $ECHO_N "(cached) $ECHO_C" >&6
93257 else
93261 ac_ext=cc
93262 ac_cpp='$CXXCPP $CPPFLAGS'
93263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93267 cat >conftest.$ac_ext <<_ACEOF
93268 /* confdefs.h. */
93269 _ACEOF
93270 cat confdefs.h >>conftest.$ac_ext
93271 cat >>conftest.$ac_ext <<_ACEOF
93272 /* end confdefs.h. */
93273 #include <math.h>
93275 main ()
93277 fmodf(0, 0);
93279 return 0;
93281 _ACEOF
93282 rm -f conftest.$ac_objext
93283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93284 (eval $ac_compile) 2>conftest.er1
93285 ac_status=$?
93286 grep -v '^ *+' conftest.er1 >conftest.err
93287 rm -f conftest.er1
93288 cat conftest.err >&5
93289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93290 (exit $ac_status); } &&
93291 { ac_try='test -z "$ac_cxx_werror_flag"
93292 || test ! -s conftest.err'
93293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93294 (eval $ac_try) 2>&5
93295 ac_status=$?
93296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93297 (exit $ac_status); }; } &&
93298 { ac_try='test -s conftest.$ac_objext'
93299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93300 (eval $ac_try) 2>&5
93301 ac_status=$?
93302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93303 (exit $ac_status); }; }; then
93304 glibcxx_cv_func_fmodf_use=yes
93305 else
93306 echo "$as_me: failed program was:" >&5
93307 sed 's/^/| /' conftest.$ac_ext >&5
93309 glibcxx_cv_func_fmodf_use=no
93311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93312 ac_ext=c
93313 ac_cpp='$CPP $CPPFLAGS'
93314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93322 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
93323 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
93325 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
93327 for ac_func in fmodf
93329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93330 echo "$as_me:$LINENO: checking for $ac_func" >&5
93331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93332 if eval "test \"\${$as_ac_var+set}\" = set"; then
93333 echo $ECHO_N "(cached) $ECHO_C" >&6
93334 else
93335 if test x$gcc_no_link = xyes; then
93336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93338 { (exit 1); exit 1; }; }
93340 cat >conftest.$ac_ext <<_ACEOF
93341 /* confdefs.h. */
93342 _ACEOF
93343 cat confdefs.h >>conftest.$ac_ext
93344 cat >>conftest.$ac_ext <<_ACEOF
93345 /* end confdefs.h. */
93346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93348 #define $ac_func innocuous_$ac_func
93350 /* System header to define __stub macros and hopefully few prototypes,
93351 which can conflict with char $ac_func (); below.
93352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93353 <limits.h> exists even on freestanding compilers. */
93355 #ifdef __STDC__
93356 # include <limits.h>
93357 #else
93358 # include <assert.h>
93359 #endif
93361 #undef $ac_func
93363 /* Override any gcc2 internal prototype to avoid an error. */
93364 #ifdef __cplusplus
93365 extern "C"
93367 #endif
93368 /* We use char because int might match the return type of a gcc2
93369 builtin and then its argument prototype would still apply. */
93370 char $ac_func ();
93371 /* The GNU C library defines this for functions which it implements
93372 to always fail with ENOSYS. Some functions are actually named
93373 something starting with __ and the normal name is an alias. */
93374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93375 choke me
93376 #else
93377 char (*f) () = $ac_func;
93378 #endif
93379 #ifdef __cplusplus
93381 #endif
93384 main ()
93386 return f != $ac_func;
93388 return 0;
93390 _ACEOF
93391 rm -f conftest.$ac_objext conftest$ac_exeext
93392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93393 (eval $ac_link) 2>conftest.er1
93394 ac_status=$?
93395 grep -v '^ *+' conftest.er1 >conftest.err
93396 rm -f conftest.er1
93397 cat conftest.err >&5
93398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93399 (exit $ac_status); } &&
93400 { ac_try='test -z "$ac_c_werror_flag"
93401 || test ! -s conftest.err'
93402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93403 (eval $ac_try) 2>&5
93404 ac_status=$?
93405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93406 (exit $ac_status); }; } &&
93407 { ac_try='test -s conftest$ac_exeext'
93408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93409 (eval $ac_try) 2>&5
93410 ac_status=$?
93411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93412 (exit $ac_status); }; }; then
93413 eval "$as_ac_var=yes"
93414 else
93415 echo "$as_me: failed program was:" >&5
93416 sed 's/^/| /' conftest.$ac_ext >&5
93418 eval "$as_ac_var=no"
93420 rm -f conftest.err conftest.$ac_objext \
93421 conftest$ac_exeext conftest.$ac_ext
93423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93425 if test `eval echo '${'$as_ac_var'}'` = yes; then
93426 cat >>confdefs.h <<_ACEOF
93427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93428 _ACEOF
93431 done
93433 else
93435 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
93436 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
93437 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
93438 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
93439 echo $ECHO_N "(cached) $ECHO_C" >&6
93440 else
93444 ac_ext=cc
93445 ac_cpp='$CXXCPP $CPPFLAGS'
93446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93450 cat >conftest.$ac_ext <<_ACEOF
93451 /* confdefs.h. */
93452 _ACEOF
93453 cat confdefs.h >>conftest.$ac_ext
93454 cat >>conftest.$ac_ext <<_ACEOF
93455 /* end confdefs.h. */
93456 #include <math.h>
93458 main ()
93460 _fmodf(0, 0);
93462 return 0;
93464 _ACEOF
93465 rm -f conftest.$ac_objext
93466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93467 (eval $ac_compile) 2>conftest.er1
93468 ac_status=$?
93469 grep -v '^ *+' conftest.er1 >conftest.err
93470 rm -f conftest.er1
93471 cat conftest.err >&5
93472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93473 (exit $ac_status); } &&
93474 { ac_try='test -z "$ac_cxx_werror_flag"
93475 || test ! -s conftest.err'
93476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93477 (eval $ac_try) 2>&5
93478 ac_status=$?
93479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93480 (exit $ac_status); }; } &&
93481 { ac_try='test -s conftest.$ac_objext'
93482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93483 (eval $ac_try) 2>&5
93484 ac_status=$?
93485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93486 (exit $ac_status); }; }; then
93487 glibcxx_cv_func__fmodf_use=yes
93488 else
93489 echo "$as_me: failed program was:" >&5
93490 sed 's/^/| /' conftest.$ac_ext >&5
93492 glibcxx_cv_func__fmodf_use=no
93494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93495 ac_ext=c
93496 ac_cpp='$CPP $CPPFLAGS'
93497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93505 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
93506 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
93508 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
93510 for ac_func in _fmodf
93512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93513 echo "$as_me:$LINENO: checking for $ac_func" >&5
93514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93515 if eval "test \"\${$as_ac_var+set}\" = set"; then
93516 echo $ECHO_N "(cached) $ECHO_C" >&6
93517 else
93518 if test x$gcc_no_link = xyes; then
93519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93521 { (exit 1); exit 1; }; }
93523 cat >conftest.$ac_ext <<_ACEOF
93524 /* confdefs.h. */
93525 _ACEOF
93526 cat confdefs.h >>conftest.$ac_ext
93527 cat >>conftest.$ac_ext <<_ACEOF
93528 /* end confdefs.h. */
93529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93531 #define $ac_func innocuous_$ac_func
93533 /* System header to define __stub macros and hopefully few prototypes,
93534 which can conflict with char $ac_func (); below.
93535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93536 <limits.h> exists even on freestanding compilers. */
93538 #ifdef __STDC__
93539 # include <limits.h>
93540 #else
93541 # include <assert.h>
93542 #endif
93544 #undef $ac_func
93546 /* Override any gcc2 internal prototype to avoid an error. */
93547 #ifdef __cplusplus
93548 extern "C"
93550 #endif
93551 /* We use char because int might match the return type of a gcc2
93552 builtin and then its argument prototype would still apply. */
93553 char $ac_func ();
93554 /* The GNU C library defines this for functions which it implements
93555 to always fail with ENOSYS. Some functions are actually named
93556 something starting with __ and the normal name is an alias. */
93557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93558 choke me
93559 #else
93560 char (*f) () = $ac_func;
93561 #endif
93562 #ifdef __cplusplus
93564 #endif
93567 main ()
93569 return f != $ac_func;
93571 return 0;
93573 _ACEOF
93574 rm -f conftest.$ac_objext conftest$ac_exeext
93575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93576 (eval $ac_link) 2>conftest.er1
93577 ac_status=$?
93578 grep -v '^ *+' conftest.er1 >conftest.err
93579 rm -f conftest.er1
93580 cat conftest.err >&5
93581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93582 (exit $ac_status); } &&
93583 { ac_try='test -z "$ac_c_werror_flag"
93584 || test ! -s conftest.err'
93585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93586 (eval $ac_try) 2>&5
93587 ac_status=$?
93588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93589 (exit $ac_status); }; } &&
93590 { ac_try='test -s conftest$ac_exeext'
93591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93592 (eval $ac_try) 2>&5
93593 ac_status=$?
93594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93595 (exit $ac_status); }; }; then
93596 eval "$as_ac_var=yes"
93597 else
93598 echo "$as_me: failed program was:" >&5
93599 sed 's/^/| /' conftest.$ac_ext >&5
93601 eval "$as_ac_var=no"
93603 rm -f conftest.err conftest.$ac_objext \
93604 conftest$ac_exeext conftest.$ac_ext
93606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93608 if test `eval echo '${'$as_ac_var'}'` = yes; then
93609 cat >>confdefs.h <<_ACEOF
93610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93611 _ACEOF
93614 done
93624 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
93625 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
93626 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
93627 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
93628 echo $ECHO_N "(cached) $ECHO_C" >&6
93629 else
93633 ac_ext=cc
93634 ac_cpp='$CXXCPP $CPPFLAGS'
93635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93639 cat >conftest.$ac_ext <<_ACEOF
93640 /* confdefs.h. */
93641 _ACEOF
93642 cat confdefs.h >>conftest.$ac_ext
93643 cat >>conftest.$ac_ext <<_ACEOF
93644 /* end confdefs.h. */
93645 #include <math.h>
93647 main ()
93649 frexpf(0, 0);
93651 return 0;
93653 _ACEOF
93654 rm -f conftest.$ac_objext
93655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93656 (eval $ac_compile) 2>conftest.er1
93657 ac_status=$?
93658 grep -v '^ *+' conftest.er1 >conftest.err
93659 rm -f conftest.er1
93660 cat conftest.err >&5
93661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93662 (exit $ac_status); } &&
93663 { ac_try='test -z "$ac_cxx_werror_flag"
93664 || test ! -s conftest.err'
93665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93666 (eval $ac_try) 2>&5
93667 ac_status=$?
93668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93669 (exit $ac_status); }; } &&
93670 { ac_try='test -s conftest.$ac_objext'
93671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93672 (eval $ac_try) 2>&5
93673 ac_status=$?
93674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93675 (exit $ac_status); }; }; then
93676 glibcxx_cv_func_frexpf_use=yes
93677 else
93678 echo "$as_me: failed program was:" >&5
93679 sed 's/^/| /' conftest.$ac_ext >&5
93681 glibcxx_cv_func_frexpf_use=no
93683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93684 ac_ext=c
93685 ac_cpp='$CPP $CPPFLAGS'
93686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93694 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
93695 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
93697 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
93699 for ac_func in frexpf
93701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93702 echo "$as_me:$LINENO: checking for $ac_func" >&5
93703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93704 if eval "test \"\${$as_ac_var+set}\" = set"; then
93705 echo $ECHO_N "(cached) $ECHO_C" >&6
93706 else
93707 if test x$gcc_no_link = xyes; then
93708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93710 { (exit 1); exit 1; }; }
93712 cat >conftest.$ac_ext <<_ACEOF
93713 /* confdefs.h. */
93714 _ACEOF
93715 cat confdefs.h >>conftest.$ac_ext
93716 cat >>conftest.$ac_ext <<_ACEOF
93717 /* end confdefs.h. */
93718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93720 #define $ac_func innocuous_$ac_func
93722 /* System header to define __stub macros and hopefully few prototypes,
93723 which can conflict with char $ac_func (); below.
93724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93725 <limits.h> exists even on freestanding compilers. */
93727 #ifdef __STDC__
93728 # include <limits.h>
93729 #else
93730 # include <assert.h>
93731 #endif
93733 #undef $ac_func
93735 /* Override any gcc2 internal prototype to avoid an error. */
93736 #ifdef __cplusplus
93737 extern "C"
93739 #endif
93740 /* We use char because int might match the return type of a gcc2
93741 builtin and then its argument prototype would still apply. */
93742 char $ac_func ();
93743 /* The GNU C library defines this for functions which it implements
93744 to always fail with ENOSYS. Some functions are actually named
93745 something starting with __ and the normal name is an alias. */
93746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93747 choke me
93748 #else
93749 char (*f) () = $ac_func;
93750 #endif
93751 #ifdef __cplusplus
93753 #endif
93756 main ()
93758 return f != $ac_func;
93760 return 0;
93762 _ACEOF
93763 rm -f conftest.$ac_objext conftest$ac_exeext
93764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93765 (eval $ac_link) 2>conftest.er1
93766 ac_status=$?
93767 grep -v '^ *+' conftest.er1 >conftest.err
93768 rm -f conftest.er1
93769 cat conftest.err >&5
93770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93771 (exit $ac_status); } &&
93772 { ac_try='test -z "$ac_c_werror_flag"
93773 || test ! -s conftest.err'
93774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93775 (eval $ac_try) 2>&5
93776 ac_status=$?
93777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93778 (exit $ac_status); }; } &&
93779 { ac_try='test -s conftest$ac_exeext'
93780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93781 (eval $ac_try) 2>&5
93782 ac_status=$?
93783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93784 (exit $ac_status); }; }; then
93785 eval "$as_ac_var=yes"
93786 else
93787 echo "$as_me: failed program was:" >&5
93788 sed 's/^/| /' conftest.$ac_ext >&5
93790 eval "$as_ac_var=no"
93792 rm -f conftest.err conftest.$ac_objext \
93793 conftest$ac_exeext conftest.$ac_ext
93795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93797 if test `eval echo '${'$as_ac_var'}'` = yes; then
93798 cat >>confdefs.h <<_ACEOF
93799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93800 _ACEOF
93803 done
93805 else
93807 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
93808 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
93809 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
93810 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
93811 echo $ECHO_N "(cached) $ECHO_C" >&6
93812 else
93816 ac_ext=cc
93817 ac_cpp='$CXXCPP $CPPFLAGS'
93818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93822 cat >conftest.$ac_ext <<_ACEOF
93823 /* confdefs.h. */
93824 _ACEOF
93825 cat confdefs.h >>conftest.$ac_ext
93826 cat >>conftest.$ac_ext <<_ACEOF
93827 /* end confdefs.h. */
93828 #include <math.h>
93830 main ()
93832 _frexpf(0, 0);
93834 return 0;
93836 _ACEOF
93837 rm -f conftest.$ac_objext
93838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93839 (eval $ac_compile) 2>conftest.er1
93840 ac_status=$?
93841 grep -v '^ *+' conftest.er1 >conftest.err
93842 rm -f conftest.er1
93843 cat conftest.err >&5
93844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93845 (exit $ac_status); } &&
93846 { ac_try='test -z "$ac_cxx_werror_flag"
93847 || test ! -s conftest.err'
93848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93849 (eval $ac_try) 2>&5
93850 ac_status=$?
93851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93852 (exit $ac_status); }; } &&
93853 { ac_try='test -s conftest.$ac_objext'
93854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93855 (eval $ac_try) 2>&5
93856 ac_status=$?
93857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93858 (exit $ac_status); }; }; then
93859 glibcxx_cv_func__frexpf_use=yes
93860 else
93861 echo "$as_me: failed program was:" >&5
93862 sed 's/^/| /' conftest.$ac_ext >&5
93864 glibcxx_cv_func__frexpf_use=no
93866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93867 ac_ext=c
93868 ac_cpp='$CPP $CPPFLAGS'
93869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93877 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
93878 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
93880 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
93882 for ac_func in _frexpf
93884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93885 echo "$as_me:$LINENO: checking for $ac_func" >&5
93886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93887 if eval "test \"\${$as_ac_var+set}\" = set"; then
93888 echo $ECHO_N "(cached) $ECHO_C" >&6
93889 else
93890 if test x$gcc_no_link = xyes; then
93891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93893 { (exit 1); exit 1; }; }
93895 cat >conftest.$ac_ext <<_ACEOF
93896 /* confdefs.h. */
93897 _ACEOF
93898 cat confdefs.h >>conftest.$ac_ext
93899 cat >>conftest.$ac_ext <<_ACEOF
93900 /* end confdefs.h. */
93901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93903 #define $ac_func innocuous_$ac_func
93905 /* System header to define __stub macros and hopefully few prototypes,
93906 which can conflict with char $ac_func (); below.
93907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93908 <limits.h> exists even on freestanding compilers. */
93910 #ifdef __STDC__
93911 # include <limits.h>
93912 #else
93913 # include <assert.h>
93914 #endif
93916 #undef $ac_func
93918 /* Override any gcc2 internal prototype to avoid an error. */
93919 #ifdef __cplusplus
93920 extern "C"
93922 #endif
93923 /* We use char because int might match the return type of a gcc2
93924 builtin and then its argument prototype would still apply. */
93925 char $ac_func ();
93926 /* The GNU C library defines this for functions which it implements
93927 to always fail with ENOSYS. Some functions are actually named
93928 something starting with __ and the normal name is an alias. */
93929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93930 choke me
93931 #else
93932 char (*f) () = $ac_func;
93933 #endif
93934 #ifdef __cplusplus
93936 #endif
93939 main ()
93941 return f != $ac_func;
93943 return 0;
93945 _ACEOF
93946 rm -f conftest.$ac_objext conftest$ac_exeext
93947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93948 (eval $ac_link) 2>conftest.er1
93949 ac_status=$?
93950 grep -v '^ *+' conftest.er1 >conftest.err
93951 rm -f conftest.er1
93952 cat conftest.err >&5
93953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93954 (exit $ac_status); } &&
93955 { ac_try='test -z "$ac_c_werror_flag"
93956 || test ! -s conftest.err'
93957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93958 (eval $ac_try) 2>&5
93959 ac_status=$?
93960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93961 (exit $ac_status); }; } &&
93962 { ac_try='test -s conftest$ac_exeext'
93963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93964 (eval $ac_try) 2>&5
93965 ac_status=$?
93966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93967 (exit $ac_status); }; }; then
93968 eval "$as_ac_var=yes"
93969 else
93970 echo "$as_me: failed program was:" >&5
93971 sed 's/^/| /' conftest.$ac_ext >&5
93973 eval "$as_ac_var=no"
93975 rm -f conftest.err conftest.$ac_objext \
93976 conftest$ac_exeext conftest.$ac_ext
93978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93980 if test `eval echo '${'$as_ac_var'}'` = yes; then
93981 cat >>confdefs.h <<_ACEOF
93982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93983 _ACEOF
93986 done
93996 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
93997 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
93998 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
93999 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
94000 echo $ECHO_N "(cached) $ECHO_C" >&6
94001 else
94005 ac_ext=cc
94006 ac_cpp='$CXXCPP $CPPFLAGS'
94007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94011 cat >conftest.$ac_ext <<_ACEOF
94012 /* confdefs.h. */
94013 _ACEOF
94014 cat confdefs.h >>conftest.$ac_ext
94015 cat >>conftest.$ac_ext <<_ACEOF
94016 /* end confdefs.h. */
94017 #include <math.h>
94019 main ()
94021 hypotf(0, 0);
94023 return 0;
94025 _ACEOF
94026 rm -f conftest.$ac_objext
94027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94028 (eval $ac_compile) 2>conftest.er1
94029 ac_status=$?
94030 grep -v '^ *+' conftest.er1 >conftest.err
94031 rm -f conftest.er1
94032 cat conftest.err >&5
94033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94034 (exit $ac_status); } &&
94035 { ac_try='test -z "$ac_cxx_werror_flag"
94036 || test ! -s conftest.err'
94037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94038 (eval $ac_try) 2>&5
94039 ac_status=$?
94040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94041 (exit $ac_status); }; } &&
94042 { ac_try='test -s conftest.$ac_objext'
94043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94044 (eval $ac_try) 2>&5
94045 ac_status=$?
94046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94047 (exit $ac_status); }; }; then
94048 glibcxx_cv_func_hypotf_use=yes
94049 else
94050 echo "$as_me: failed program was:" >&5
94051 sed 's/^/| /' conftest.$ac_ext >&5
94053 glibcxx_cv_func_hypotf_use=no
94055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94056 ac_ext=c
94057 ac_cpp='$CPP $CPPFLAGS'
94058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94066 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
94067 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
94069 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
94071 for ac_func in hypotf
94073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94074 echo "$as_me:$LINENO: checking for $ac_func" >&5
94075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94076 if eval "test \"\${$as_ac_var+set}\" = set"; then
94077 echo $ECHO_N "(cached) $ECHO_C" >&6
94078 else
94079 if test x$gcc_no_link = xyes; then
94080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94082 { (exit 1); exit 1; }; }
94084 cat >conftest.$ac_ext <<_ACEOF
94085 /* confdefs.h. */
94086 _ACEOF
94087 cat confdefs.h >>conftest.$ac_ext
94088 cat >>conftest.$ac_ext <<_ACEOF
94089 /* end confdefs.h. */
94090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94092 #define $ac_func innocuous_$ac_func
94094 /* System header to define __stub macros and hopefully few prototypes,
94095 which can conflict with char $ac_func (); below.
94096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94097 <limits.h> exists even on freestanding compilers. */
94099 #ifdef __STDC__
94100 # include <limits.h>
94101 #else
94102 # include <assert.h>
94103 #endif
94105 #undef $ac_func
94107 /* Override any gcc2 internal prototype to avoid an error. */
94108 #ifdef __cplusplus
94109 extern "C"
94111 #endif
94112 /* We use char because int might match the return type of a gcc2
94113 builtin and then its argument prototype would still apply. */
94114 char $ac_func ();
94115 /* The GNU C library defines this for functions which it implements
94116 to always fail with ENOSYS. Some functions are actually named
94117 something starting with __ and the normal name is an alias. */
94118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94119 choke me
94120 #else
94121 char (*f) () = $ac_func;
94122 #endif
94123 #ifdef __cplusplus
94125 #endif
94128 main ()
94130 return f != $ac_func;
94132 return 0;
94134 _ACEOF
94135 rm -f conftest.$ac_objext conftest$ac_exeext
94136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94137 (eval $ac_link) 2>conftest.er1
94138 ac_status=$?
94139 grep -v '^ *+' conftest.er1 >conftest.err
94140 rm -f conftest.er1
94141 cat conftest.err >&5
94142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94143 (exit $ac_status); } &&
94144 { ac_try='test -z "$ac_c_werror_flag"
94145 || test ! -s conftest.err'
94146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94147 (eval $ac_try) 2>&5
94148 ac_status=$?
94149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94150 (exit $ac_status); }; } &&
94151 { ac_try='test -s conftest$ac_exeext'
94152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94153 (eval $ac_try) 2>&5
94154 ac_status=$?
94155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94156 (exit $ac_status); }; }; then
94157 eval "$as_ac_var=yes"
94158 else
94159 echo "$as_me: failed program was:" >&5
94160 sed 's/^/| /' conftest.$ac_ext >&5
94162 eval "$as_ac_var=no"
94164 rm -f conftest.err conftest.$ac_objext \
94165 conftest$ac_exeext conftest.$ac_ext
94167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94169 if test `eval echo '${'$as_ac_var'}'` = yes; then
94170 cat >>confdefs.h <<_ACEOF
94171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94172 _ACEOF
94175 done
94177 else
94179 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
94180 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
94181 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
94182 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
94183 echo $ECHO_N "(cached) $ECHO_C" >&6
94184 else
94188 ac_ext=cc
94189 ac_cpp='$CXXCPP $CPPFLAGS'
94190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94194 cat >conftest.$ac_ext <<_ACEOF
94195 /* confdefs.h. */
94196 _ACEOF
94197 cat confdefs.h >>conftest.$ac_ext
94198 cat >>conftest.$ac_ext <<_ACEOF
94199 /* end confdefs.h. */
94200 #include <math.h>
94202 main ()
94204 _hypotf(0, 0);
94206 return 0;
94208 _ACEOF
94209 rm -f conftest.$ac_objext
94210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94211 (eval $ac_compile) 2>conftest.er1
94212 ac_status=$?
94213 grep -v '^ *+' conftest.er1 >conftest.err
94214 rm -f conftest.er1
94215 cat conftest.err >&5
94216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94217 (exit $ac_status); } &&
94218 { ac_try='test -z "$ac_cxx_werror_flag"
94219 || test ! -s conftest.err'
94220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94221 (eval $ac_try) 2>&5
94222 ac_status=$?
94223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94224 (exit $ac_status); }; } &&
94225 { ac_try='test -s conftest.$ac_objext'
94226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94227 (eval $ac_try) 2>&5
94228 ac_status=$?
94229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94230 (exit $ac_status); }; }; then
94231 glibcxx_cv_func__hypotf_use=yes
94232 else
94233 echo "$as_me: failed program was:" >&5
94234 sed 's/^/| /' conftest.$ac_ext >&5
94236 glibcxx_cv_func__hypotf_use=no
94238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94239 ac_ext=c
94240 ac_cpp='$CPP $CPPFLAGS'
94241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94249 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
94250 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
94252 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
94254 for ac_func in _hypotf
94256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94257 echo "$as_me:$LINENO: checking for $ac_func" >&5
94258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94259 if eval "test \"\${$as_ac_var+set}\" = set"; then
94260 echo $ECHO_N "(cached) $ECHO_C" >&6
94261 else
94262 if test x$gcc_no_link = xyes; then
94263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94265 { (exit 1); exit 1; }; }
94267 cat >conftest.$ac_ext <<_ACEOF
94268 /* confdefs.h. */
94269 _ACEOF
94270 cat confdefs.h >>conftest.$ac_ext
94271 cat >>conftest.$ac_ext <<_ACEOF
94272 /* end confdefs.h. */
94273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94275 #define $ac_func innocuous_$ac_func
94277 /* System header to define __stub macros and hopefully few prototypes,
94278 which can conflict with char $ac_func (); below.
94279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94280 <limits.h> exists even on freestanding compilers. */
94282 #ifdef __STDC__
94283 # include <limits.h>
94284 #else
94285 # include <assert.h>
94286 #endif
94288 #undef $ac_func
94290 /* Override any gcc2 internal prototype to avoid an error. */
94291 #ifdef __cplusplus
94292 extern "C"
94294 #endif
94295 /* We use char because int might match the return type of a gcc2
94296 builtin and then its argument prototype would still apply. */
94297 char $ac_func ();
94298 /* The GNU C library defines this for functions which it implements
94299 to always fail with ENOSYS. Some functions are actually named
94300 something starting with __ and the normal name is an alias. */
94301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94302 choke me
94303 #else
94304 char (*f) () = $ac_func;
94305 #endif
94306 #ifdef __cplusplus
94308 #endif
94311 main ()
94313 return f != $ac_func;
94315 return 0;
94317 _ACEOF
94318 rm -f conftest.$ac_objext conftest$ac_exeext
94319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94320 (eval $ac_link) 2>conftest.er1
94321 ac_status=$?
94322 grep -v '^ *+' conftest.er1 >conftest.err
94323 rm -f conftest.er1
94324 cat conftest.err >&5
94325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94326 (exit $ac_status); } &&
94327 { ac_try='test -z "$ac_c_werror_flag"
94328 || test ! -s conftest.err'
94329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94330 (eval $ac_try) 2>&5
94331 ac_status=$?
94332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94333 (exit $ac_status); }; } &&
94334 { ac_try='test -s conftest$ac_exeext'
94335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94336 (eval $ac_try) 2>&5
94337 ac_status=$?
94338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94339 (exit $ac_status); }; }; then
94340 eval "$as_ac_var=yes"
94341 else
94342 echo "$as_me: failed program was:" >&5
94343 sed 's/^/| /' conftest.$ac_ext >&5
94345 eval "$as_ac_var=no"
94347 rm -f conftest.err conftest.$ac_objext \
94348 conftest$ac_exeext conftest.$ac_ext
94350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94352 if test `eval echo '${'$as_ac_var'}'` = yes; then
94353 cat >>confdefs.h <<_ACEOF
94354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94355 _ACEOF
94358 done
94368 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
94369 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
94370 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
94371 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
94372 echo $ECHO_N "(cached) $ECHO_C" >&6
94373 else
94377 ac_ext=cc
94378 ac_cpp='$CXXCPP $CPPFLAGS'
94379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94383 cat >conftest.$ac_ext <<_ACEOF
94384 /* confdefs.h. */
94385 _ACEOF
94386 cat confdefs.h >>conftest.$ac_ext
94387 cat >>conftest.$ac_ext <<_ACEOF
94388 /* end confdefs.h. */
94389 #include <math.h>
94391 main ()
94393 ldexpf(0, 0);
94395 return 0;
94397 _ACEOF
94398 rm -f conftest.$ac_objext
94399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94400 (eval $ac_compile) 2>conftest.er1
94401 ac_status=$?
94402 grep -v '^ *+' conftest.er1 >conftest.err
94403 rm -f conftest.er1
94404 cat conftest.err >&5
94405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94406 (exit $ac_status); } &&
94407 { ac_try='test -z "$ac_cxx_werror_flag"
94408 || test ! -s conftest.err'
94409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94410 (eval $ac_try) 2>&5
94411 ac_status=$?
94412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94413 (exit $ac_status); }; } &&
94414 { ac_try='test -s conftest.$ac_objext'
94415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94416 (eval $ac_try) 2>&5
94417 ac_status=$?
94418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94419 (exit $ac_status); }; }; then
94420 glibcxx_cv_func_ldexpf_use=yes
94421 else
94422 echo "$as_me: failed program was:" >&5
94423 sed 's/^/| /' conftest.$ac_ext >&5
94425 glibcxx_cv_func_ldexpf_use=no
94427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94428 ac_ext=c
94429 ac_cpp='$CPP $CPPFLAGS'
94430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94438 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
94439 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
94441 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
94443 for ac_func in ldexpf
94445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94446 echo "$as_me:$LINENO: checking for $ac_func" >&5
94447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94448 if eval "test \"\${$as_ac_var+set}\" = set"; then
94449 echo $ECHO_N "(cached) $ECHO_C" >&6
94450 else
94451 if test x$gcc_no_link = xyes; then
94452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94454 { (exit 1); exit 1; }; }
94456 cat >conftest.$ac_ext <<_ACEOF
94457 /* confdefs.h. */
94458 _ACEOF
94459 cat confdefs.h >>conftest.$ac_ext
94460 cat >>conftest.$ac_ext <<_ACEOF
94461 /* end confdefs.h. */
94462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94464 #define $ac_func innocuous_$ac_func
94466 /* System header to define __stub macros and hopefully few prototypes,
94467 which can conflict with char $ac_func (); below.
94468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94469 <limits.h> exists even on freestanding compilers. */
94471 #ifdef __STDC__
94472 # include <limits.h>
94473 #else
94474 # include <assert.h>
94475 #endif
94477 #undef $ac_func
94479 /* Override any gcc2 internal prototype to avoid an error. */
94480 #ifdef __cplusplus
94481 extern "C"
94483 #endif
94484 /* We use char because int might match the return type of a gcc2
94485 builtin and then its argument prototype would still apply. */
94486 char $ac_func ();
94487 /* The GNU C library defines this for functions which it implements
94488 to always fail with ENOSYS. Some functions are actually named
94489 something starting with __ and the normal name is an alias. */
94490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94491 choke me
94492 #else
94493 char (*f) () = $ac_func;
94494 #endif
94495 #ifdef __cplusplus
94497 #endif
94500 main ()
94502 return f != $ac_func;
94504 return 0;
94506 _ACEOF
94507 rm -f conftest.$ac_objext conftest$ac_exeext
94508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94509 (eval $ac_link) 2>conftest.er1
94510 ac_status=$?
94511 grep -v '^ *+' conftest.er1 >conftest.err
94512 rm -f conftest.er1
94513 cat conftest.err >&5
94514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94515 (exit $ac_status); } &&
94516 { ac_try='test -z "$ac_c_werror_flag"
94517 || test ! -s conftest.err'
94518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94519 (eval $ac_try) 2>&5
94520 ac_status=$?
94521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94522 (exit $ac_status); }; } &&
94523 { ac_try='test -s conftest$ac_exeext'
94524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94525 (eval $ac_try) 2>&5
94526 ac_status=$?
94527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94528 (exit $ac_status); }; }; then
94529 eval "$as_ac_var=yes"
94530 else
94531 echo "$as_me: failed program was:" >&5
94532 sed 's/^/| /' conftest.$ac_ext >&5
94534 eval "$as_ac_var=no"
94536 rm -f conftest.err conftest.$ac_objext \
94537 conftest$ac_exeext conftest.$ac_ext
94539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94541 if test `eval echo '${'$as_ac_var'}'` = yes; then
94542 cat >>confdefs.h <<_ACEOF
94543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94544 _ACEOF
94547 done
94549 else
94551 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
94552 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
94553 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
94554 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
94555 echo $ECHO_N "(cached) $ECHO_C" >&6
94556 else
94560 ac_ext=cc
94561 ac_cpp='$CXXCPP $CPPFLAGS'
94562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94566 cat >conftest.$ac_ext <<_ACEOF
94567 /* confdefs.h. */
94568 _ACEOF
94569 cat confdefs.h >>conftest.$ac_ext
94570 cat >>conftest.$ac_ext <<_ACEOF
94571 /* end confdefs.h. */
94572 #include <math.h>
94574 main ()
94576 _ldexpf(0, 0);
94578 return 0;
94580 _ACEOF
94581 rm -f conftest.$ac_objext
94582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94583 (eval $ac_compile) 2>conftest.er1
94584 ac_status=$?
94585 grep -v '^ *+' conftest.er1 >conftest.err
94586 rm -f conftest.er1
94587 cat conftest.err >&5
94588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94589 (exit $ac_status); } &&
94590 { ac_try='test -z "$ac_cxx_werror_flag"
94591 || test ! -s conftest.err'
94592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94593 (eval $ac_try) 2>&5
94594 ac_status=$?
94595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94596 (exit $ac_status); }; } &&
94597 { ac_try='test -s conftest.$ac_objext'
94598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94599 (eval $ac_try) 2>&5
94600 ac_status=$?
94601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94602 (exit $ac_status); }; }; then
94603 glibcxx_cv_func__ldexpf_use=yes
94604 else
94605 echo "$as_me: failed program was:" >&5
94606 sed 's/^/| /' conftest.$ac_ext >&5
94608 glibcxx_cv_func__ldexpf_use=no
94610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94611 ac_ext=c
94612 ac_cpp='$CPP $CPPFLAGS'
94613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94621 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
94622 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
94624 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
94626 for ac_func in _ldexpf
94628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94629 echo "$as_me:$LINENO: checking for $ac_func" >&5
94630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94631 if eval "test \"\${$as_ac_var+set}\" = set"; then
94632 echo $ECHO_N "(cached) $ECHO_C" >&6
94633 else
94634 if test x$gcc_no_link = xyes; then
94635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94637 { (exit 1); exit 1; }; }
94639 cat >conftest.$ac_ext <<_ACEOF
94640 /* confdefs.h. */
94641 _ACEOF
94642 cat confdefs.h >>conftest.$ac_ext
94643 cat >>conftest.$ac_ext <<_ACEOF
94644 /* end confdefs.h. */
94645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94647 #define $ac_func innocuous_$ac_func
94649 /* System header to define __stub macros and hopefully few prototypes,
94650 which can conflict with char $ac_func (); below.
94651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94652 <limits.h> exists even on freestanding compilers. */
94654 #ifdef __STDC__
94655 # include <limits.h>
94656 #else
94657 # include <assert.h>
94658 #endif
94660 #undef $ac_func
94662 /* Override any gcc2 internal prototype to avoid an error. */
94663 #ifdef __cplusplus
94664 extern "C"
94666 #endif
94667 /* We use char because int might match the return type of a gcc2
94668 builtin and then its argument prototype would still apply. */
94669 char $ac_func ();
94670 /* The GNU C library defines this for functions which it implements
94671 to always fail with ENOSYS. Some functions are actually named
94672 something starting with __ and the normal name is an alias. */
94673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94674 choke me
94675 #else
94676 char (*f) () = $ac_func;
94677 #endif
94678 #ifdef __cplusplus
94680 #endif
94683 main ()
94685 return f != $ac_func;
94687 return 0;
94689 _ACEOF
94690 rm -f conftest.$ac_objext conftest$ac_exeext
94691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94692 (eval $ac_link) 2>conftest.er1
94693 ac_status=$?
94694 grep -v '^ *+' conftest.er1 >conftest.err
94695 rm -f conftest.er1
94696 cat conftest.err >&5
94697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94698 (exit $ac_status); } &&
94699 { ac_try='test -z "$ac_c_werror_flag"
94700 || test ! -s conftest.err'
94701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94702 (eval $ac_try) 2>&5
94703 ac_status=$?
94704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94705 (exit $ac_status); }; } &&
94706 { ac_try='test -s conftest$ac_exeext'
94707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94708 (eval $ac_try) 2>&5
94709 ac_status=$?
94710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94711 (exit $ac_status); }; }; then
94712 eval "$as_ac_var=yes"
94713 else
94714 echo "$as_me: failed program was:" >&5
94715 sed 's/^/| /' conftest.$ac_ext >&5
94717 eval "$as_ac_var=no"
94719 rm -f conftest.err conftest.$ac_objext \
94720 conftest$ac_exeext conftest.$ac_ext
94722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94724 if test `eval echo '${'$as_ac_var'}'` = yes; then
94725 cat >>confdefs.h <<_ACEOF
94726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94727 _ACEOF
94730 done
94740 echo "$as_me:$LINENO: checking for logf declaration" >&5
94741 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
94742 if test x${glibcxx_cv_func_logf_use+set} != xset; then
94743 if test "${glibcxx_cv_func_logf_use+set}" = set; then
94744 echo $ECHO_N "(cached) $ECHO_C" >&6
94745 else
94749 ac_ext=cc
94750 ac_cpp='$CXXCPP $CPPFLAGS'
94751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94755 cat >conftest.$ac_ext <<_ACEOF
94756 /* confdefs.h. */
94757 _ACEOF
94758 cat confdefs.h >>conftest.$ac_ext
94759 cat >>conftest.$ac_ext <<_ACEOF
94760 /* end confdefs.h. */
94761 #include <math.h>
94762 #ifdef HAVE_IEEEFP_H
94763 #include <ieeefp.h>
94764 #endif
94767 main ()
94769 logf(0);
94771 return 0;
94773 _ACEOF
94774 rm -f conftest.$ac_objext
94775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94776 (eval $ac_compile) 2>conftest.er1
94777 ac_status=$?
94778 grep -v '^ *+' conftest.er1 >conftest.err
94779 rm -f conftest.er1
94780 cat conftest.err >&5
94781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94782 (exit $ac_status); } &&
94783 { ac_try='test -z "$ac_cxx_werror_flag"
94784 || test ! -s conftest.err'
94785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94786 (eval $ac_try) 2>&5
94787 ac_status=$?
94788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94789 (exit $ac_status); }; } &&
94790 { ac_try='test -s conftest.$ac_objext'
94791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94792 (eval $ac_try) 2>&5
94793 ac_status=$?
94794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94795 (exit $ac_status); }; }; then
94796 glibcxx_cv_func_logf_use=yes
94797 else
94798 echo "$as_me: failed program was:" >&5
94799 sed 's/^/| /' conftest.$ac_ext >&5
94801 glibcxx_cv_func_logf_use=no
94803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94804 ac_ext=c
94805 ac_cpp='$CPP $CPPFLAGS'
94806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94814 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
94815 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
94817 if test x$glibcxx_cv_func_logf_use = x"yes"; then
94819 for ac_func in logf
94821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94822 echo "$as_me:$LINENO: checking for $ac_func" >&5
94823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94824 if eval "test \"\${$as_ac_var+set}\" = set"; then
94825 echo $ECHO_N "(cached) $ECHO_C" >&6
94826 else
94827 if test x$gcc_no_link = xyes; then
94828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94830 { (exit 1); exit 1; }; }
94832 cat >conftest.$ac_ext <<_ACEOF
94833 /* confdefs.h. */
94834 _ACEOF
94835 cat confdefs.h >>conftest.$ac_ext
94836 cat >>conftest.$ac_ext <<_ACEOF
94837 /* end confdefs.h. */
94838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94840 #define $ac_func innocuous_$ac_func
94842 /* System header to define __stub macros and hopefully few prototypes,
94843 which can conflict with char $ac_func (); below.
94844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94845 <limits.h> exists even on freestanding compilers. */
94847 #ifdef __STDC__
94848 # include <limits.h>
94849 #else
94850 # include <assert.h>
94851 #endif
94853 #undef $ac_func
94855 /* Override any gcc2 internal prototype to avoid an error. */
94856 #ifdef __cplusplus
94857 extern "C"
94859 #endif
94860 /* We use char because int might match the return type of a gcc2
94861 builtin and then its argument prototype would still apply. */
94862 char $ac_func ();
94863 /* The GNU C library defines this for functions which it implements
94864 to always fail with ENOSYS. Some functions are actually named
94865 something starting with __ and the normal name is an alias. */
94866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94867 choke me
94868 #else
94869 char (*f) () = $ac_func;
94870 #endif
94871 #ifdef __cplusplus
94873 #endif
94876 main ()
94878 return f != $ac_func;
94880 return 0;
94882 _ACEOF
94883 rm -f conftest.$ac_objext conftest$ac_exeext
94884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94885 (eval $ac_link) 2>conftest.er1
94886 ac_status=$?
94887 grep -v '^ *+' conftest.er1 >conftest.err
94888 rm -f conftest.er1
94889 cat conftest.err >&5
94890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94891 (exit $ac_status); } &&
94892 { ac_try='test -z "$ac_c_werror_flag"
94893 || test ! -s conftest.err'
94894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94895 (eval $ac_try) 2>&5
94896 ac_status=$?
94897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94898 (exit $ac_status); }; } &&
94899 { ac_try='test -s conftest$ac_exeext'
94900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94901 (eval $ac_try) 2>&5
94902 ac_status=$?
94903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94904 (exit $ac_status); }; }; then
94905 eval "$as_ac_var=yes"
94906 else
94907 echo "$as_me: failed program was:" >&5
94908 sed 's/^/| /' conftest.$ac_ext >&5
94910 eval "$as_ac_var=no"
94912 rm -f conftest.err conftest.$ac_objext \
94913 conftest$ac_exeext conftest.$ac_ext
94915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94917 if test `eval echo '${'$as_ac_var'}'` = yes; then
94918 cat >>confdefs.h <<_ACEOF
94919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94920 _ACEOF
94923 done
94925 else
94927 echo "$as_me:$LINENO: checking for _logf declaration" >&5
94928 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
94929 if test x${glibcxx_cv_func__logf_use+set} != xset; then
94930 if test "${glibcxx_cv_func__logf_use+set}" = set; then
94931 echo $ECHO_N "(cached) $ECHO_C" >&6
94932 else
94936 ac_ext=cc
94937 ac_cpp='$CXXCPP $CPPFLAGS'
94938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94942 cat >conftest.$ac_ext <<_ACEOF
94943 /* confdefs.h. */
94944 _ACEOF
94945 cat confdefs.h >>conftest.$ac_ext
94946 cat >>conftest.$ac_ext <<_ACEOF
94947 /* end confdefs.h. */
94948 #include <math.h>
94949 #ifdef HAVE_IEEEFP_H
94950 #include <ieeefp.h>
94951 #endif
94954 main ()
94956 _logf(0);
94958 return 0;
94960 _ACEOF
94961 rm -f conftest.$ac_objext
94962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94963 (eval $ac_compile) 2>conftest.er1
94964 ac_status=$?
94965 grep -v '^ *+' conftest.er1 >conftest.err
94966 rm -f conftest.er1
94967 cat conftest.err >&5
94968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94969 (exit $ac_status); } &&
94970 { ac_try='test -z "$ac_cxx_werror_flag"
94971 || test ! -s conftest.err'
94972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94973 (eval $ac_try) 2>&5
94974 ac_status=$?
94975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94976 (exit $ac_status); }; } &&
94977 { ac_try='test -s conftest.$ac_objext'
94978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94979 (eval $ac_try) 2>&5
94980 ac_status=$?
94981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94982 (exit $ac_status); }; }; then
94983 glibcxx_cv_func__logf_use=yes
94984 else
94985 echo "$as_me: failed program was:" >&5
94986 sed 's/^/| /' conftest.$ac_ext >&5
94988 glibcxx_cv_func__logf_use=no
94990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94991 ac_ext=c
94992 ac_cpp='$CPP $CPPFLAGS'
94993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95001 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
95002 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
95004 if test x$glibcxx_cv_func__logf_use = x"yes"; then
95006 for ac_func in _logf
95008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95009 echo "$as_me:$LINENO: checking for $ac_func" >&5
95010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95011 if eval "test \"\${$as_ac_var+set}\" = set"; then
95012 echo $ECHO_N "(cached) $ECHO_C" >&6
95013 else
95014 if test x$gcc_no_link = xyes; then
95015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95017 { (exit 1); exit 1; }; }
95019 cat >conftest.$ac_ext <<_ACEOF
95020 /* confdefs.h. */
95021 _ACEOF
95022 cat confdefs.h >>conftest.$ac_ext
95023 cat >>conftest.$ac_ext <<_ACEOF
95024 /* end confdefs.h. */
95025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95027 #define $ac_func innocuous_$ac_func
95029 /* System header to define __stub macros and hopefully few prototypes,
95030 which can conflict with char $ac_func (); below.
95031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95032 <limits.h> exists even on freestanding compilers. */
95034 #ifdef __STDC__
95035 # include <limits.h>
95036 #else
95037 # include <assert.h>
95038 #endif
95040 #undef $ac_func
95042 /* Override any gcc2 internal prototype to avoid an error. */
95043 #ifdef __cplusplus
95044 extern "C"
95046 #endif
95047 /* We use char because int might match the return type of a gcc2
95048 builtin and then its argument prototype would still apply. */
95049 char $ac_func ();
95050 /* The GNU C library defines this for functions which it implements
95051 to always fail with ENOSYS. Some functions are actually named
95052 something starting with __ and the normal name is an alias. */
95053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95054 choke me
95055 #else
95056 char (*f) () = $ac_func;
95057 #endif
95058 #ifdef __cplusplus
95060 #endif
95063 main ()
95065 return f != $ac_func;
95067 return 0;
95069 _ACEOF
95070 rm -f conftest.$ac_objext conftest$ac_exeext
95071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95072 (eval $ac_link) 2>conftest.er1
95073 ac_status=$?
95074 grep -v '^ *+' conftest.er1 >conftest.err
95075 rm -f conftest.er1
95076 cat conftest.err >&5
95077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95078 (exit $ac_status); } &&
95079 { ac_try='test -z "$ac_c_werror_flag"
95080 || test ! -s conftest.err'
95081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95082 (eval $ac_try) 2>&5
95083 ac_status=$?
95084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95085 (exit $ac_status); }; } &&
95086 { ac_try='test -s conftest$ac_exeext'
95087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95088 (eval $ac_try) 2>&5
95089 ac_status=$?
95090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95091 (exit $ac_status); }; }; then
95092 eval "$as_ac_var=yes"
95093 else
95094 echo "$as_me: failed program was:" >&5
95095 sed 's/^/| /' conftest.$ac_ext >&5
95097 eval "$as_ac_var=no"
95099 rm -f conftest.err conftest.$ac_objext \
95100 conftest$ac_exeext conftest.$ac_ext
95102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95104 if test `eval echo '${'$as_ac_var'}'` = yes; then
95105 cat >>confdefs.h <<_ACEOF
95106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95107 _ACEOF
95110 done
95120 echo "$as_me:$LINENO: checking for log10f declaration" >&5
95121 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
95122 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
95123 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
95124 echo $ECHO_N "(cached) $ECHO_C" >&6
95125 else
95129 ac_ext=cc
95130 ac_cpp='$CXXCPP $CPPFLAGS'
95131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95135 cat >conftest.$ac_ext <<_ACEOF
95136 /* confdefs.h. */
95137 _ACEOF
95138 cat confdefs.h >>conftest.$ac_ext
95139 cat >>conftest.$ac_ext <<_ACEOF
95140 /* end confdefs.h. */
95141 #include <math.h>
95142 #ifdef HAVE_IEEEFP_H
95143 #include <ieeefp.h>
95144 #endif
95147 main ()
95149 log10f(0);
95151 return 0;
95153 _ACEOF
95154 rm -f conftest.$ac_objext
95155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95156 (eval $ac_compile) 2>conftest.er1
95157 ac_status=$?
95158 grep -v '^ *+' conftest.er1 >conftest.err
95159 rm -f conftest.er1
95160 cat conftest.err >&5
95161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95162 (exit $ac_status); } &&
95163 { ac_try='test -z "$ac_cxx_werror_flag"
95164 || test ! -s conftest.err'
95165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95166 (eval $ac_try) 2>&5
95167 ac_status=$?
95168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95169 (exit $ac_status); }; } &&
95170 { ac_try='test -s conftest.$ac_objext'
95171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95172 (eval $ac_try) 2>&5
95173 ac_status=$?
95174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95175 (exit $ac_status); }; }; then
95176 glibcxx_cv_func_log10f_use=yes
95177 else
95178 echo "$as_me: failed program was:" >&5
95179 sed 's/^/| /' conftest.$ac_ext >&5
95181 glibcxx_cv_func_log10f_use=no
95183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95184 ac_ext=c
95185 ac_cpp='$CPP $CPPFLAGS'
95186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95194 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
95195 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
95197 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
95199 for ac_func in log10f
95201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95202 echo "$as_me:$LINENO: checking for $ac_func" >&5
95203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95204 if eval "test \"\${$as_ac_var+set}\" = set"; then
95205 echo $ECHO_N "(cached) $ECHO_C" >&6
95206 else
95207 if test x$gcc_no_link = xyes; then
95208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95210 { (exit 1); exit 1; }; }
95212 cat >conftest.$ac_ext <<_ACEOF
95213 /* confdefs.h. */
95214 _ACEOF
95215 cat confdefs.h >>conftest.$ac_ext
95216 cat >>conftest.$ac_ext <<_ACEOF
95217 /* end confdefs.h. */
95218 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95220 #define $ac_func innocuous_$ac_func
95222 /* System header to define __stub macros and hopefully few prototypes,
95223 which can conflict with char $ac_func (); below.
95224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95225 <limits.h> exists even on freestanding compilers. */
95227 #ifdef __STDC__
95228 # include <limits.h>
95229 #else
95230 # include <assert.h>
95231 #endif
95233 #undef $ac_func
95235 /* Override any gcc2 internal prototype to avoid an error. */
95236 #ifdef __cplusplus
95237 extern "C"
95239 #endif
95240 /* We use char because int might match the return type of a gcc2
95241 builtin and then its argument prototype would still apply. */
95242 char $ac_func ();
95243 /* The GNU C library defines this for functions which it implements
95244 to always fail with ENOSYS. Some functions are actually named
95245 something starting with __ and the normal name is an alias. */
95246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95247 choke me
95248 #else
95249 char (*f) () = $ac_func;
95250 #endif
95251 #ifdef __cplusplus
95253 #endif
95256 main ()
95258 return f != $ac_func;
95260 return 0;
95262 _ACEOF
95263 rm -f conftest.$ac_objext conftest$ac_exeext
95264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95265 (eval $ac_link) 2>conftest.er1
95266 ac_status=$?
95267 grep -v '^ *+' conftest.er1 >conftest.err
95268 rm -f conftest.er1
95269 cat conftest.err >&5
95270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95271 (exit $ac_status); } &&
95272 { ac_try='test -z "$ac_c_werror_flag"
95273 || test ! -s conftest.err'
95274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95275 (eval $ac_try) 2>&5
95276 ac_status=$?
95277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95278 (exit $ac_status); }; } &&
95279 { ac_try='test -s conftest$ac_exeext'
95280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95281 (eval $ac_try) 2>&5
95282 ac_status=$?
95283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95284 (exit $ac_status); }; }; then
95285 eval "$as_ac_var=yes"
95286 else
95287 echo "$as_me: failed program was:" >&5
95288 sed 's/^/| /' conftest.$ac_ext >&5
95290 eval "$as_ac_var=no"
95292 rm -f conftest.err conftest.$ac_objext \
95293 conftest$ac_exeext conftest.$ac_ext
95295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95296 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95297 if test `eval echo '${'$as_ac_var'}'` = yes; then
95298 cat >>confdefs.h <<_ACEOF
95299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95300 _ACEOF
95303 done
95305 else
95307 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
95308 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
95309 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
95310 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
95311 echo $ECHO_N "(cached) $ECHO_C" >&6
95312 else
95316 ac_ext=cc
95317 ac_cpp='$CXXCPP $CPPFLAGS'
95318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95322 cat >conftest.$ac_ext <<_ACEOF
95323 /* confdefs.h. */
95324 _ACEOF
95325 cat confdefs.h >>conftest.$ac_ext
95326 cat >>conftest.$ac_ext <<_ACEOF
95327 /* end confdefs.h. */
95328 #include <math.h>
95329 #ifdef HAVE_IEEEFP_H
95330 #include <ieeefp.h>
95331 #endif
95334 main ()
95336 _log10f(0);
95338 return 0;
95340 _ACEOF
95341 rm -f conftest.$ac_objext
95342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95343 (eval $ac_compile) 2>conftest.er1
95344 ac_status=$?
95345 grep -v '^ *+' conftest.er1 >conftest.err
95346 rm -f conftest.er1
95347 cat conftest.err >&5
95348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95349 (exit $ac_status); } &&
95350 { ac_try='test -z "$ac_cxx_werror_flag"
95351 || test ! -s conftest.err'
95352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95353 (eval $ac_try) 2>&5
95354 ac_status=$?
95355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95356 (exit $ac_status); }; } &&
95357 { ac_try='test -s conftest.$ac_objext'
95358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95359 (eval $ac_try) 2>&5
95360 ac_status=$?
95361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95362 (exit $ac_status); }; }; then
95363 glibcxx_cv_func__log10f_use=yes
95364 else
95365 echo "$as_me: failed program was:" >&5
95366 sed 's/^/| /' conftest.$ac_ext >&5
95368 glibcxx_cv_func__log10f_use=no
95370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95371 ac_ext=c
95372 ac_cpp='$CPP $CPPFLAGS'
95373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95381 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
95382 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
95384 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
95386 for ac_func in _log10f
95388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95389 echo "$as_me:$LINENO: checking for $ac_func" >&5
95390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95391 if eval "test \"\${$as_ac_var+set}\" = set"; then
95392 echo $ECHO_N "(cached) $ECHO_C" >&6
95393 else
95394 if test x$gcc_no_link = xyes; then
95395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95397 { (exit 1); exit 1; }; }
95399 cat >conftest.$ac_ext <<_ACEOF
95400 /* confdefs.h. */
95401 _ACEOF
95402 cat confdefs.h >>conftest.$ac_ext
95403 cat >>conftest.$ac_ext <<_ACEOF
95404 /* end confdefs.h. */
95405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95407 #define $ac_func innocuous_$ac_func
95409 /* System header to define __stub macros and hopefully few prototypes,
95410 which can conflict with char $ac_func (); below.
95411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95412 <limits.h> exists even on freestanding compilers. */
95414 #ifdef __STDC__
95415 # include <limits.h>
95416 #else
95417 # include <assert.h>
95418 #endif
95420 #undef $ac_func
95422 /* Override any gcc2 internal prototype to avoid an error. */
95423 #ifdef __cplusplus
95424 extern "C"
95426 #endif
95427 /* We use char because int might match the return type of a gcc2
95428 builtin and then its argument prototype would still apply. */
95429 char $ac_func ();
95430 /* The GNU C library defines this for functions which it implements
95431 to always fail with ENOSYS. Some functions are actually named
95432 something starting with __ and the normal name is an alias. */
95433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95434 choke me
95435 #else
95436 char (*f) () = $ac_func;
95437 #endif
95438 #ifdef __cplusplus
95440 #endif
95443 main ()
95445 return f != $ac_func;
95447 return 0;
95449 _ACEOF
95450 rm -f conftest.$ac_objext conftest$ac_exeext
95451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95452 (eval $ac_link) 2>conftest.er1
95453 ac_status=$?
95454 grep -v '^ *+' conftest.er1 >conftest.err
95455 rm -f conftest.er1
95456 cat conftest.err >&5
95457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95458 (exit $ac_status); } &&
95459 { ac_try='test -z "$ac_c_werror_flag"
95460 || test ! -s conftest.err'
95461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95462 (eval $ac_try) 2>&5
95463 ac_status=$?
95464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95465 (exit $ac_status); }; } &&
95466 { ac_try='test -s conftest$ac_exeext'
95467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95468 (eval $ac_try) 2>&5
95469 ac_status=$?
95470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95471 (exit $ac_status); }; }; then
95472 eval "$as_ac_var=yes"
95473 else
95474 echo "$as_me: failed program was:" >&5
95475 sed 's/^/| /' conftest.$ac_ext >&5
95477 eval "$as_ac_var=no"
95479 rm -f conftest.err conftest.$ac_objext \
95480 conftest$ac_exeext conftest.$ac_ext
95482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95484 if test `eval echo '${'$as_ac_var'}'` = yes; then
95485 cat >>confdefs.h <<_ACEOF
95486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95487 _ACEOF
95490 done
95500 echo "$as_me:$LINENO: checking for modff declaration" >&5
95501 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
95502 if test x${glibcxx_cv_func_modff_use+set} != xset; then
95503 if test "${glibcxx_cv_func_modff_use+set}" = set; then
95504 echo $ECHO_N "(cached) $ECHO_C" >&6
95505 else
95509 ac_ext=cc
95510 ac_cpp='$CXXCPP $CPPFLAGS'
95511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95515 cat >conftest.$ac_ext <<_ACEOF
95516 /* confdefs.h. */
95517 _ACEOF
95518 cat confdefs.h >>conftest.$ac_ext
95519 cat >>conftest.$ac_ext <<_ACEOF
95520 /* end confdefs.h. */
95521 #include <math.h>
95523 main ()
95525 modff(0, 0);
95527 return 0;
95529 _ACEOF
95530 rm -f conftest.$ac_objext
95531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95532 (eval $ac_compile) 2>conftest.er1
95533 ac_status=$?
95534 grep -v '^ *+' conftest.er1 >conftest.err
95535 rm -f conftest.er1
95536 cat conftest.err >&5
95537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95538 (exit $ac_status); } &&
95539 { ac_try='test -z "$ac_cxx_werror_flag"
95540 || test ! -s conftest.err'
95541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95542 (eval $ac_try) 2>&5
95543 ac_status=$?
95544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95545 (exit $ac_status); }; } &&
95546 { ac_try='test -s conftest.$ac_objext'
95547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95548 (eval $ac_try) 2>&5
95549 ac_status=$?
95550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95551 (exit $ac_status); }; }; then
95552 glibcxx_cv_func_modff_use=yes
95553 else
95554 echo "$as_me: failed program was:" >&5
95555 sed 's/^/| /' conftest.$ac_ext >&5
95557 glibcxx_cv_func_modff_use=no
95559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95560 ac_ext=c
95561 ac_cpp='$CPP $CPPFLAGS'
95562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95570 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
95571 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
95573 if test x$glibcxx_cv_func_modff_use = x"yes"; then
95575 for ac_func in modff
95577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95578 echo "$as_me:$LINENO: checking for $ac_func" >&5
95579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95580 if eval "test \"\${$as_ac_var+set}\" = set"; then
95581 echo $ECHO_N "(cached) $ECHO_C" >&6
95582 else
95583 if test x$gcc_no_link = xyes; then
95584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95586 { (exit 1); exit 1; }; }
95588 cat >conftest.$ac_ext <<_ACEOF
95589 /* confdefs.h. */
95590 _ACEOF
95591 cat confdefs.h >>conftest.$ac_ext
95592 cat >>conftest.$ac_ext <<_ACEOF
95593 /* end confdefs.h. */
95594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95596 #define $ac_func innocuous_$ac_func
95598 /* System header to define __stub macros and hopefully few prototypes,
95599 which can conflict with char $ac_func (); below.
95600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95601 <limits.h> exists even on freestanding compilers. */
95603 #ifdef __STDC__
95604 # include <limits.h>
95605 #else
95606 # include <assert.h>
95607 #endif
95609 #undef $ac_func
95611 /* Override any gcc2 internal prototype to avoid an error. */
95612 #ifdef __cplusplus
95613 extern "C"
95615 #endif
95616 /* We use char because int might match the return type of a gcc2
95617 builtin and then its argument prototype would still apply. */
95618 char $ac_func ();
95619 /* The GNU C library defines this for functions which it implements
95620 to always fail with ENOSYS. Some functions are actually named
95621 something starting with __ and the normal name is an alias. */
95622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95623 choke me
95624 #else
95625 char (*f) () = $ac_func;
95626 #endif
95627 #ifdef __cplusplus
95629 #endif
95632 main ()
95634 return f != $ac_func;
95636 return 0;
95638 _ACEOF
95639 rm -f conftest.$ac_objext conftest$ac_exeext
95640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95641 (eval $ac_link) 2>conftest.er1
95642 ac_status=$?
95643 grep -v '^ *+' conftest.er1 >conftest.err
95644 rm -f conftest.er1
95645 cat conftest.err >&5
95646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95647 (exit $ac_status); } &&
95648 { ac_try='test -z "$ac_c_werror_flag"
95649 || test ! -s conftest.err'
95650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95651 (eval $ac_try) 2>&5
95652 ac_status=$?
95653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95654 (exit $ac_status); }; } &&
95655 { ac_try='test -s conftest$ac_exeext'
95656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95657 (eval $ac_try) 2>&5
95658 ac_status=$?
95659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95660 (exit $ac_status); }; }; then
95661 eval "$as_ac_var=yes"
95662 else
95663 echo "$as_me: failed program was:" >&5
95664 sed 's/^/| /' conftest.$ac_ext >&5
95666 eval "$as_ac_var=no"
95668 rm -f conftest.err conftest.$ac_objext \
95669 conftest$ac_exeext conftest.$ac_ext
95671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95673 if test `eval echo '${'$as_ac_var'}'` = yes; then
95674 cat >>confdefs.h <<_ACEOF
95675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95676 _ACEOF
95679 done
95681 else
95683 echo "$as_me:$LINENO: checking for _modff declaration" >&5
95684 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
95685 if test x${glibcxx_cv_func__modff_use+set} != xset; then
95686 if test "${glibcxx_cv_func__modff_use+set}" = set; then
95687 echo $ECHO_N "(cached) $ECHO_C" >&6
95688 else
95692 ac_ext=cc
95693 ac_cpp='$CXXCPP $CPPFLAGS'
95694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95698 cat >conftest.$ac_ext <<_ACEOF
95699 /* confdefs.h. */
95700 _ACEOF
95701 cat confdefs.h >>conftest.$ac_ext
95702 cat >>conftest.$ac_ext <<_ACEOF
95703 /* end confdefs.h. */
95704 #include <math.h>
95706 main ()
95708 _modff(0, 0);
95710 return 0;
95712 _ACEOF
95713 rm -f conftest.$ac_objext
95714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95715 (eval $ac_compile) 2>conftest.er1
95716 ac_status=$?
95717 grep -v '^ *+' conftest.er1 >conftest.err
95718 rm -f conftest.er1
95719 cat conftest.err >&5
95720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95721 (exit $ac_status); } &&
95722 { ac_try='test -z "$ac_cxx_werror_flag"
95723 || test ! -s conftest.err'
95724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95725 (eval $ac_try) 2>&5
95726 ac_status=$?
95727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95728 (exit $ac_status); }; } &&
95729 { ac_try='test -s conftest.$ac_objext'
95730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95731 (eval $ac_try) 2>&5
95732 ac_status=$?
95733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95734 (exit $ac_status); }; }; then
95735 glibcxx_cv_func__modff_use=yes
95736 else
95737 echo "$as_me: failed program was:" >&5
95738 sed 's/^/| /' conftest.$ac_ext >&5
95740 glibcxx_cv_func__modff_use=no
95742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95743 ac_ext=c
95744 ac_cpp='$CPP $CPPFLAGS'
95745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95753 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
95754 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
95756 if test x$glibcxx_cv_func__modff_use = x"yes"; then
95758 for ac_func in _modff
95760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95761 echo "$as_me:$LINENO: checking for $ac_func" >&5
95762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95763 if eval "test \"\${$as_ac_var+set}\" = set"; then
95764 echo $ECHO_N "(cached) $ECHO_C" >&6
95765 else
95766 if test x$gcc_no_link = xyes; then
95767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95769 { (exit 1); exit 1; }; }
95771 cat >conftest.$ac_ext <<_ACEOF
95772 /* confdefs.h. */
95773 _ACEOF
95774 cat confdefs.h >>conftest.$ac_ext
95775 cat >>conftest.$ac_ext <<_ACEOF
95776 /* end confdefs.h. */
95777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95779 #define $ac_func innocuous_$ac_func
95781 /* System header to define __stub macros and hopefully few prototypes,
95782 which can conflict with char $ac_func (); below.
95783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95784 <limits.h> exists even on freestanding compilers. */
95786 #ifdef __STDC__
95787 # include <limits.h>
95788 #else
95789 # include <assert.h>
95790 #endif
95792 #undef $ac_func
95794 /* Override any gcc2 internal prototype to avoid an error. */
95795 #ifdef __cplusplus
95796 extern "C"
95798 #endif
95799 /* We use char because int might match the return type of a gcc2
95800 builtin and then its argument prototype would still apply. */
95801 char $ac_func ();
95802 /* The GNU C library defines this for functions which it implements
95803 to always fail with ENOSYS. Some functions are actually named
95804 something starting with __ and the normal name is an alias. */
95805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95806 choke me
95807 #else
95808 char (*f) () = $ac_func;
95809 #endif
95810 #ifdef __cplusplus
95812 #endif
95815 main ()
95817 return f != $ac_func;
95819 return 0;
95821 _ACEOF
95822 rm -f conftest.$ac_objext conftest$ac_exeext
95823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95824 (eval $ac_link) 2>conftest.er1
95825 ac_status=$?
95826 grep -v '^ *+' conftest.er1 >conftest.err
95827 rm -f conftest.er1
95828 cat conftest.err >&5
95829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95830 (exit $ac_status); } &&
95831 { ac_try='test -z "$ac_c_werror_flag"
95832 || test ! -s conftest.err'
95833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95834 (eval $ac_try) 2>&5
95835 ac_status=$?
95836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95837 (exit $ac_status); }; } &&
95838 { ac_try='test -s conftest$ac_exeext'
95839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95840 (eval $ac_try) 2>&5
95841 ac_status=$?
95842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95843 (exit $ac_status); }; }; then
95844 eval "$as_ac_var=yes"
95845 else
95846 echo "$as_me: failed program was:" >&5
95847 sed 's/^/| /' conftest.$ac_ext >&5
95849 eval "$as_ac_var=no"
95851 rm -f conftest.err conftest.$ac_objext \
95852 conftest$ac_exeext conftest.$ac_ext
95854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95856 if test `eval echo '${'$as_ac_var'}'` = yes; then
95857 cat >>confdefs.h <<_ACEOF
95858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95859 _ACEOF
95862 done
95872 echo "$as_me:$LINENO: checking for modf declaration" >&5
95873 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
95874 if test x${glibcxx_cv_func_modf_use+set} != xset; then
95875 if test "${glibcxx_cv_func_modf_use+set}" = set; then
95876 echo $ECHO_N "(cached) $ECHO_C" >&6
95877 else
95881 ac_ext=cc
95882 ac_cpp='$CXXCPP $CPPFLAGS'
95883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95887 cat >conftest.$ac_ext <<_ACEOF
95888 /* confdefs.h. */
95889 _ACEOF
95890 cat confdefs.h >>conftest.$ac_ext
95891 cat >>conftest.$ac_ext <<_ACEOF
95892 /* end confdefs.h. */
95893 #include <math.h>
95895 main ()
95897 modf(0, 0);
95899 return 0;
95901 _ACEOF
95902 rm -f conftest.$ac_objext
95903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95904 (eval $ac_compile) 2>conftest.er1
95905 ac_status=$?
95906 grep -v '^ *+' conftest.er1 >conftest.err
95907 rm -f conftest.er1
95908 cat conftest.err >&5
95909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95910 (exit $ac_status); } &&
95911 { ac_try='test -z "$ac_cxx_werror_flag"
95912 || test ! -s conftest.err'
95913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95914 (eval $ac_try) 2>&5
95915 ac_status=$?
95916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95917 (exit $ac_status); }; } &&
95918 { ac_try='test -s conftest.$ac_objext'
95919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95920 (eval $ac_try) 2>&5
95921 ac_status=$?
95922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95923 (exit $ac_status); }; }; then
95924 glibcxx_cv_func_modf_use=yes
95925 else
95926 echo "$as_me: failed program was:" >&5
95927 sed 's/^/| /' conftest.$ac_ext >&5
95929 glibcxx_cv_func_modf_use=no
95931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95932 ac_ext=c
95933 ac_cpp='$CPP $CPPFLAGS'
95934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95942 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
95943 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
95945 if test x$glibcxx_cv_func_modf_use = x"yes"; then
95947 for ac_func in modf
95949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95950 echo "$as_me:$LINENO: checking for $ac_func" >&5
95951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95952 if eval "test \"\${$as_ac_var+set}\" = set"; then
95953 echo $ECHO_N "(cached) $ECHO_C" >&6
95954 else
95955 if test x$gcc_no_link = xyes; then
95956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95958 { (exit 1); exit 1; }; }
95960 cat >conftest.$ac_ext <<_ACEOF
95961 /* confdefs.h. */
95962 _ACEOF
95963 cat confdefs.h >>conftest.$ac_ext
95964 cat >>conftest.$ac_ext <<_ACEOF
95965 /* end confdefs.h. */
95966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95968 #define $ac_func innocuous_$ac_func
95970 /* System header to define __stub macros and hopefully few prototypes,
95971 which can conflict with char $ac_func (); below.
95972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95973 <limits.h> exists even on freestanding compilers. */
95975 #ifdef __STDC__
95976 # include <limits.h>
95977 #else
95978 # include <assert.h>
95979 #endif
95981 #undef $ac_func
95983 /* Override any gcc2 internal prototype to avoid an error. */
95984 #ifdef __cplusplus
95985 extern "C"
95987 #endif
95988 /* We use char because int might match the return type of a gcc2
95989 builtin and then its argument prototype would still apply. */
95990 char $ac_func ();
95991 /* The GNU C library defines this for functions which it implements
95992 to always fail with ENOSYS. Some functions are actually named
95993 something starting with __ and the normal name is an alias. */
95994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95995 choke me
95996 #else
95997 char (*f) () = $ac_func;
95998 #endif
95999 #ifdef __cplusplus
96001 #endif
96004 main ()
96006 return f != $ac_func;
96008 return 0;
96010 _ACEOF
96011 rm -f conftest.$ac_objext conftest$ac_exeext
96012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96013 (eval $ac_link) 2>conftest.er1
96014 ac_status=$?
96015 grep -v '^ *+' conftest.er1 >conftest.err
96016 rm -f conftest.er1
96017 cat conftest.err >&5
96018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96019 (exit $ac_status); } &&
96020 { ac_try='test -z "$ac_c_werror_flag"
96021 || test ! -s conftest.err'
96022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96023 (eval $ac_try) 2>&5
96024 ac_status=$?
96025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96026 (exit $ac_status); }; } &&
96027 { ac_try='test -s conftest$ac_exeext'
96028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96029 (eval $ac_try) 2>&5
96030 ac_status=$?
96031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96032 (exit $ac_status); }; }; then
96033 eval "$as_ac_var=yes"
96034 else
96035 echo "$as_me: failed program was:" >&5
96036 sed 's/^/| /' conftest.$ac_ext >&5
96038 eval "$as_ac_var=no"
96040 rm -f conftest.err conftest.$ac_objext \
96041 conftest$ac_exeext conftest.$ac_ext
96043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96045 if test `eval echo '${'$as_ac_var'}'` = yes; then
96046 cat >>confdefs.h <<_ACEOF
96047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96048 _ACEOF
96051 done
96053 else
96055 echo "$as_me:$LINENO: checking for _modf declaration" >&5
96056 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
96057 if test x${glibcxx_cv_func__modf_use+set} != xset; then
96058 if test "${glibcxx_cv_func__modf_use+set}" = set; then
96059 echo $ECHO_N "(cached) $ECHO_C" >&6
96060 else
96064 ac_ext=cc
96065 ac_cpp='$CXXCPP $CPPFLAGS'
96066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96070 cat >conftest.$ac_ext <<_ACEOF
96071 /* confdefs.h. */
96072 _ACEOF
96073 cat confdefs.h >>conftest.$ac_ext
96074 cat >>conftest.$ac_ext <<_ACEOF
96075 /* end confdefs.h. */
96076 #include <math.h>
96078 main ()
96080 _modf(0, 0);
96082 return 0;
96084 _ACEOF
96085 rm -f conftest.$ac_objext
96086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96087 (eval $ac_compile) 2>conftest.er1
96088 ac_status=$?
96089 grep -v '^ *+' conftest.er1 >conftest.err
96090 rm -f conftest.er1
96091 cat conftest.err >&5
96092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96093 (exit $ac_status); } &&
96094 { ac_try='test -z "$ac_cxx_werror_flag"
96095 || test ! -s conftest.err'
96096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96097 (eval $ac_try) 2>&5
96098 ac_status=$?
96099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96100 (exit $ac_status); }; } &&
96101 { ac_try='test -s conftest.$ac_objext'
96102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96103 (eval $ac_try) 2>&5
96104 ac_status=$?
96105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96106 (exit $ac_status); }; }; then
96107 glibcxx_cv_func__modf_use=yes
96108 else
96109 echo "$as_me: failed program was:" >&5
96110 sed 's/^/| /' conftest.$ac_ext >&5
96112 glibcxx_cv_func__modf_use=no
96114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96115 ac_ext=c
96116 ac_cpp='$CPP $CPPFLAGS'
96117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96125 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
96126 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
96128 if test x$glibcxx_cv_func__modf_use = x"yes"; then
96130 for ac_func in _modf
96132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96133 echo "$as_me:$LINENO: checking for $ac_func" >&5
96134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96135 if eval "test \"\${$as_ac_var+set}\" = set"; then
96136 echo $ECHO_N "(cached) $ECHO_C" >&6
96137 else
96138 if test x$gcc_no_link = xyes; then
96139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96141 { (exit 1); exit 1; }; }
96143 cat >conftest.$ac_ext <<_ACEOF
96144 /* confdefs.h. */
96145 _ACEOF
96146 cat confdefs.h >>conftest.$ac_ext
96147 cat >>conftest.$ac_ext <<_ACEOF
96148 /* end confdefs.h. */
96149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96151 #define $ac_func innocuous_$ac_func
96153 /* System header to define __stub macros and hopefully few prototypes,
96154 which can conflict with char $ac_func (); below.
96155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96156 <limits.h> exists even on freestanding compilers. */
96158 #ifdef __STDC__
96159 # include <limits.h>
96160 #else
96161 # include <assert.h>
96162 #endif
96164 #undef $ac_func
96166 /* Override any gcc2 internal prototype to avoid an error. */
96167 #ifdef __cplusplus
96168 extern "C"
96170 #endif
96171 /* We use char because int might match the return type of a gcc2
96172 builtin and then its argument prototype would still apply. */
96173 char $ac_func ();
96174 /* The GNU C library defines this for functions which it implements
96175 to always fail with ENOSYS. Some functions are actually named
96176 something starting with __ and the normal name is an alias. */
96177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96178 choke me
96179 #else
96180 char (*f) () = $ac_func;
96181 #endif
96182 #ifdef __cplusplus
96184 #endif
96187 main ()
96189 return f != $ac_func;
96191 return 0;
96193 _ACEOF
96194 rm -f conftest.$ac_objext conftest$ac_exeext
96195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96196 (eval $ac_link) 2>conftest.er1
96197 ac_status=$?
96198 grep -v '^ *+' conftest.er1 >conftest.err
96199 rm -f conftest.er1
96200 cat conftest.err >&5
96201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96202 (exit $ac_status); } &&
96203 { ac_try='test -z "$ac_c_werror_flag"
96204 || test ! -s conftest.err'
96205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96206 (eval $ac_try) 2>&5
96207 ac_status=$?
96208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96209 (exit $ac_status); }; } &&
96210 { ac_try='test -s conftest$ac_exeext'
96211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96212 (eval $ac_try) 2>&5
96213 ac_status=$?
96214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96215 (exit $ac_status); }; }; then
96216 eval "$as_ac_var=yes"
96217 else
96218 echo "$as_me: failed program was:" >&5
96219 sed 's/^/| /' conftest.$ac_ext >&5
96221 eval "$as_ac_var=no"
96223 rm -f conftest.err conftest.$ac_objext \
96224 conftest$ac_exeext conftest.$ac_ext
96226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96228 if test `eval echo '${'$as_ac_var'}'` = yes; then
96229 cat >>confdefs.h <<_ACEOF
96230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96231 _ACEOF
96234 done
96244 echo "$as_me:$LINENO: checking for powf declaration" >&5
96245 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
96246 if test x${glibcxx_cv_func_powf_use+set} != xset; then
96247 if test "${glibcxx_cv_func_powf_use+set}" = set; then
96248 echo $ECHO_N "(cached) $ECHO_C" >&6
96249 else
96253 ac_ext=cc
96254 ac_cpp='$CXXCPP $CPPFLAGS'
96255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96259 cat >conftest.$ac_ext <<_ACEOF
96260 /* confdefs.h. */
96261 _ACEOF
96262 cat confdefs.h >>conftest.$ac_ext
96263 cat >>conftest.$ac_ext <<_ACEOF
96264 /* end confdefs.h. */
96265 #include <math.h>
96267 main ()
96269 powf(0, 0);
96271 return 0;
96273 _ACEOF
96274 rm -f conftest.$ac_objext
96275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96276 (eval $ac_compile) 2>conftest.er1
96277 ac_status=$?
96278 grep -v '^ *+' conftest.er1 >conftest.err
96279 rm -f conftest.er1
96280 cat conftest.err >&5
96281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96282 (exit $ac_status); } &&
96283 { ac_try='test -z "$ac_cxx_werror_flag"
96284 || test ! -s conftest.err'
96285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96286 (eval $ac_try) 2>&5
96287 ac_status=$?
96288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96289 (exit $ac_status); }; } &&
96290 { ac_try='test -s conftest.$ac_objext'
96291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96292 (eval $ac_try) 2>&5
96293 ac_status=$?
96294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96295 (exit $ac_status); }; }; then
96296 glibcxx_cv_func_powf_use=yes
96297 else
96298 echo "$as_me: failed program was:" >&5
96299 sed 's/^/| /' conftest.$ac_ext >&5
96301 glibcxx_cv_func_powf_use=no
96303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96304 ac_ext=c
96305 ac_cpp='$CPP $CPPFLAGS'
96306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96314 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
96315 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
96317 if test x$glibcxx_cv_func_powf_use = x"yes"; then
96319 for ac_func in powf
96321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96322 echo "$as_me:$LINENO: checking for $ac_func" >&5
96323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96324 if eval "test \"\${$as_ac_var+set}\" = set"; then
96325 echo $ECHO_N "(cached) $ECHO_C" >&6
96326 else
96327 if test x$gcc_no_link = xyes; then
96328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96330 { (exit 1); exit 1; }; }
96332 cat >conftest.$ac_ext <<_ACEOF
96333 /* confdefs.h. */
96334 _ACEOF
96335 cat confdefs.h >>conftest.$ac_ext
96336 cat >>conftest.$ac_ext <<_ACEOF
96337 /* end confdefs.h. */
96338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96340 #define $ac_func innocuous_$ac_func
96342 /* System header to define __stub macros and hopefully few prototypes,
96343 which can conflict with char $ac_func (); below.
96344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96345 <limits.h> exists even on freestanding compilers. */
96347 #ifdef __STDC__
96348 # include <limits.h>
96349 #else
96350 # include <assert.h>
96351 #endif
96353 #undef $ac_func
96355 /* Override any gcc2 internal prototype to avoid an error. */
96356 #ifdef __cplusplus
96357 extern "C"
96359 #endif
96360 /* We use char because int might match the return type of a gcc2
96361 builtin and then its argument prototype would still apply. */
96362 char $ac_func ();
96363 /* The GNU C library defines this for functions which it implements
96364 to always fail with ENOSYS. Some functions are actually named
96365 something starting with __ and the normal name is an alias. */
96366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96367 choke me
96368 #else
96369 char (*f) () = $ac_func;
96370 #endif
96371 #ifdef __cplusplus
96373 #endif
96376 main ()
96378 return f != $ac_func;
96380 return 0;
96382 _ACEOF
96383 rm -f conftest.$ac_objext conftest$ac_exeext
96384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96385 (eval $ac_link) 2>conftest.er1
96386 ac_status=$?
96387 grep -v '^ *+' conftest.er1 >conftest.err
96388 rm -f conftest.er1
96389 cat conftest.err >&5
96390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96391 (exit $ac_status); } &&
96392 { ac_try='test -z "$ac_c_werror_flag"
96393 || test ! -s conftest.err'
96394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96395 (eval $ac_try) 2>&5
96396 ac_status=$?
96397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96398 (exit $ac_status); }; } &&
96399 { ac_try='test -s conftest$ac_exeext'
96400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96401 (eval $ac_try) 2>&5
96402 ac_status=$?
96403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96404 (exit $ac_status); }; }; then
96405 eval "$as_ac_var=yes"
96406 else
96407 echo "$as_me: failed program was:" >&5
96408 sed 's/^/| /' conftest.$ac_ext >&5
96410 eval "$as_ac_var=no"
96412 rm -f conftest.err conftest.$ac_objext \
96413 conftest$ac_exeext conftest.$ac_ext
96415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96417 if test `eval echo '${'$as_ac_var'}'` = yes; then
96418 cat >>confdefs.h <<_ACEOF
96419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96420 _ACEOF
96423 done
96425 else
96427 echo "$as_me:$LINENO: checking for _powf declaration" >&5
96428 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
96429 if test x${glibcxx_cv_func__powf_use+set} != xset; then
96430 if test "${glibcxx_cv_func__powf_use+set}" = set; then
96431 echo $ECHO_N "(cached) $ECHO_C" >&6
96432 else
96436 ac_ext=cc
96437 ac_cpp='$CXXCPP $CPPFLAGS'
96438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96442 cat >conftest.$ac_ext <<_ACEOF
96443 /* confdefs.h. */
96444 _ACEOF
96445 cat confdefs.h >>conftest.$ac_ext
96446 cat >>conftest.$ac_ext <<_ACEOF
96447 /* end confdefs.h. */
96448 #include <math.h>
96450 main ()
96452 _powf(0, 0);
96454 return 0;
96456 _ACEOF
96457 rm -f conftest.$ac_objext
96458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96459 (eval $ac_compile) 2>conftest.er1
96460 ac_status=$?
96461 grep -v '^ *+' conftest.er1 >conftest.err
96462 rm -f conftest.er1
96463 cat conftest.err >&5
96464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96465 (exit $ac_status); } &&
96466 { ac_try='test -z "$ac_cxx_werror_flag"
96467 || test ! -s conftest.err'
96468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96469 (eval $ac_try) 2>&5
96470 ac_status=$?
96471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96472 (exit $ac_status); }; } &&
96473 { ac_try='test -s conftest.$ac_objext'
96474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96475 (eval $ac_try) 2>&5
96476 ac_status=$?
96477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96478 (exit $ac_status); }; }; then
96479 glibcxx_cv_func__powf_use=yes
96480 else
96481 echo "$as_me: failed program was:" >&5
96482 sed 's/^/| /' conftest.$ac_ext >&5
96484 glibcxx_cv_func__powf_use=no
96486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96487 ac_ext=c
96488 ac_cpp='$CPP $CPPFLAGS'
96489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96497 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
96498 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
96500 if test x$glibcxx_cv_func__powf_use = x"yes"; then
96502 for ac_func in _powf
96504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96505 echo "$as_me:$LINENO: checking for $ac_func" >&5
96506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96507 if eval "test \"\${$as_ac_var+set}\" = set"; then
96508 echo $ECHO_N "(cached) $ECHO_C" >&6
96509 else
96510 if test x$gcc_no_link = xyes; then
96511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96513 { (exit 1); exit 1; }; }
96515 cat >conftest.$ac_ext <<_ACEOF
96516 /* confdefs.h. */
96517 _ACEOF
96518 cat confdefs.h >>conftest.$ac_ext
96519 cat >>conftest.$ac_ext <<_ACEOF
96520 /* end confdefs.h. */
96521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96523 #define $ac_func innocuous_$ac_func
96525 /* System header to define __stub macros and hopefully few prototypes,
96526 which can conflict with char $ac_func (); below.
96527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96528 <limits.h> exists even on freestanding compilers. */
96530 #ifdef __STDC__
96531 # include <limits.h>
96532 #else
96533 # include <assert.h>
96534 #endif
96536 #undef $ac_func
96538 /* Override any gcc2 internal prototype to avoid an error. */
96539 #ifdef __cplusplus
96540 extern "C"
96542 #endif
96543 /* We use char because int might match the return type of a gcc2
96544 builtin and then its argument prototype would still apply. */
96545 char $ac_func ();
96546 /* The GNU C library defines this for functions which it implements
96547 to always fail with ENOSYS. Some functions are actually named
96548 something starting with __ and the normal name is an alias. */
96549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96550 choke me
96551 #else
96552 char (*f) () = $ac_func;
96553 #endif
96554 #ifdef __cplusplus
96556 #endif
96559 main ()
96561 return f != $ac_func;
96563 return 0;
96565 _ACEOF
96566 rm -f conftest.$ac_objext conftest$ac_exeext
96567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96568 (eval $ac_link) 2>conftest.er1
96569 ac_status=$?
96570 grep -v '^ *+' conftest.er1 >conftest.err
96571 rm -f conftest.er1
96572 cat conftest.err >&5
96573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96574 (exit $ac_status); } &&
96575 { ac_try='test -z "$ac_c_werror_flag"
96576 || test ! -s conftest.err'
96577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96578 (eval $ac_try) 2>&5
96579 ac_status=$?
96580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96581 (exit $ac_status); }; } &&
96582 { ac_try='test -s conftest$ac_exeext'
96583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96584 (eval $ac_try) 2>&5
96585 ac_status=$?
96586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96587 (exit $ac_status); }; }; then
96588 eval "$as_ac_var=yes"
96589 else
96590 echo "$as_me: failed program was:" >&5
96591 sed 's/^/| /' conftest.$ac_ext >&5
96593 eval "$as_ac_var=no"
96595 rm -f conftest.err conftest.$ac_objext \
96596 conftest$ac_exeext conftest.$ac_ext
96598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96600 if test `eval echo '${'$as_ac_var'}'` = yes; then
96601 cat >>confdefs.h <<_ACEOF
96602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96603 _ACEOF
96606 done
96616 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
96617 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
96618 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
96619 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
96620 echo $ECHO_N "(cached) $ECHO_C" >&6
96621 else
96625 ac_ext=cc
96626 ac_cpp='$CXXCPP $CPPFLAGS'
96627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96631 cat >conftest.$ac_ext <<_ACEOF
96632 /* confdefs.h. */
96633 _ACEOF
96634 cat confdefs.h >>conftest.$ac_ext
96635 cat >>conftest.$ac_ext <<_ACEOF
96636 /* end confdefs.h. */
96637 #include <math.h>
96638 #ifdef HAVE_IEEEFP_H
96639 #include <ieeefp.h>
96640 #endif
96643 main ()
96645 sqrtf(0);
96647 return 0;
96649 _ACEOF
96650 rm -f conftest.$ac_objext
96651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96652 (eval $ac_compile) 2>conftest.er1
96653 ac_status=$?
96654 grep -v '^ *+' conftest.er1 >conftest.err
96655 rm -f conftest.er1
96656 cat conftest.err >&5
96657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96658 (exit $ac_status); } &&
96659 { ac_try='test -z "$ac_cxx_werror_flag"
96660 || test ! -s conftest.err'
96661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96662 (eval $ac_try) 2>&5
96663 ac_status=$?
96664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96665 (exit $ac_status); }; } &&
96666 { ac_try='test -s conftest.$ac_objext'
96667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96668 (eval $ac_try) 2>&5
96669 ac_status=$?
96670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96671 (exit $ac_status); }; }; then
96672 glibcxx_cv_func_sqrtf_use=yes
96673 else
96674 echo "$as_me: failed program was:" >&5
96675 sed 's/^/| /' conftest.$ac_ext >&5
96677 glibcxx_cv_func_sqrtf_use=no
96679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96680 ac_ext=c
96681 ac_cpp='$CPP $CPPFLAGS'
96682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96690 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
96691 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
96693 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
96695 for ac_func in sqrtf
96697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96698 echo "$as_me:$LINENO: checking for $ac_func" >&5
96699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96700 if eval "test \"\${$as_ac_var+set}\" = set"; then
96701 echo $ECHO_N "(cached) $ECHO_C" >&6
96702 else
96703 if test x$gcc_no_link = xyes; then
96704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96706 { (exit 1); exit 1; }; }
96708 cat >conftest.$ac_ext <<_ACEOF
96709 /* confdefs.h. */
96710 _ACEOF
96711 cat confdefs.h >>conftest.$ac_ext
96712 cat >>conftest.$ac_ext <<_ACEOF
96713 /* end confdefs.h. */
96714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96716 #define $ac_func innocuous_$ac_func
96718 /* System header to define __stub macros and hopefully few prototypes,
96719 which can conflict with char $ac_func (); below.
96720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96721 <limits.h> exists even on freestanding compilers. */
96723 #ifdef __STDC__
96724 # include <limits.h>
96725 #else
96726 # include <assert.h>
96727 #endif
96729 #undef $ac_func
96731 /* Override any gcc2 internal prototype to avoid an error. */
96732 #ifdef __cplusplus
96733 extern "C"
96735 #endif
96736 /* We use char because int might match the return type of a gcc2
96737 builtin and then its argument prototype would still apply. */
96738 char $ac_func ();
96739 /* The GNU C library defines this for functions which it implements
96740 to always fail with ENOSYS. Some functions are actually named
96741 something starting with __ and the normal name is an alias. */
96742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96743 choke me
96744 #else
96745 char (*f) () = $ac_func;
96746 #endif
96747 #ifdef __cplusplus
96749 #endif
96752 main ()
96754 return f != $ac_func;
96756 return 0;
96758 _ACEOF
96759 rm -f conftest.$ac_objext conftest$ac_exeext
96760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96761 (eval $ac_link) 2>conftest.er1
96762 ac_status=$?
96763 grep -v '^ *+' conftest.er1 >conftest.err
96764 rm -f conftest.er1
96765 cat conftest.err >&5
96766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96767 (exit $ac_status); } &&
96768 { ac_try='test -z "$ac_c_werror_flag"
96769 || test ! -s conftest.err'
96770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96771 (eval $ac_try) 2>&5
96772 ac_status=$?
96773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96774 (exit $ac_status); }; } &&
96775 { ac_try='test -s conftest$ac_exeext'
96776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96777 (eval $ac_try) 2>&5
96778 ac_status=$?
96779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96780 (exit $ac_status); }; }; then
96781 eval "$as_ac_var=yes"
96782 else
96783 echo "$as_me: failed program was:" >&5
96784 sed 's/^/| /' conftest.$ac_ext >&5
96786 eval "$as_ac_var=no"
96788 rm -f conftest.err conftest.$ac_objext \
96789 conftest$ac_exeext conftest.$ac_ext
96791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96793 if test `eval echo '${'$as_ac_var'}'` = yes; then
96794 cat >>confdefs.h <<_ACEOF
96795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96796 _ACEOF
96799 done
96801 else
96803 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
96804 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
96805 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
96806 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
96807 echo $ECHO_N "(cached) $ECHO_C" >&6
96808 else
96812 ac_ext=cc
96813 ac_cpp='$CXXCPP $CPPFLAGS'
96814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96818 cat >conftest.$ac_ext <<_ACEOF
96819 /* confdefs.h. */
96820 _ACEOF
96821 cat confdefs.h >>conftest.$ac_ext
96822 cat >>conftest.$ac_ext <<_ACEOF
96823 /* end confdefs.h. */
96824 #include <math.h>
96825 #ifdef HAVE_IEEEFP_H
96826 #include <ieeefp.h>
96827 #endif
96830 main ()
96832 _sqrtf(0);
96834 return 0;
96836 _ACEOF
96837 rm -f conftest.$ac_objext
96838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96839 (eval $ac_compile) 2>conftest.er1
96840 ac_status=$?
96841 grep -v '^ *+' conftest.er1 >conftest.err
96842 rm -f conftest.er1
96843 cat conftest.err >&5
96844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96845 (exit $ac_status); } &&
96846 { ac_try='test -z "$ac_cxx_werror_flag"
96847 || test ! -s conftest.err'
96848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96849 (eval $ac_try) 2>&5
96850 ac_status=$?
96851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96852 (exit $ac_status); }; } &&
96853 { ac_try='test -s conftest.$ac_objext'
96854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96855 (eval $ac_try) 2>&5
96856 ac_status=$?
96857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96858 (exit $ac_status); }; }; then
96859 glibcxx_cv_func__sqrtf_use=yes
96860 else
96861 echo "$as_me: failed program was:" >&5
96862 sed 's/^/| /' conftest.$ac_ext >&5
96864 glibcxx_cv_func__sqrtf_use=no
96866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96867 ac_ext=c
96868 ac_cpp='$CPP $CPPFLAGS'
96869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96877 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
96878 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
96880 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
96882 for ac_func in _sqrtf
96884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96885 echo "$as_me:$LINENO: checking for $ac_func" >&5
96886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96887 if eval "test \"\${$as_ac_var+set}\" = set"; then
96888 echo $ECHO_N "(cached) $ECHO_C" >&6
96889 else
96890 if test x$gcc_no_link = xyes; then
96891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96893 { (exit 1); exit 1; }; }
96895 cat >conftest.$ac_ext <<_ACEOF
96896 /* confdefs.h. */
96897 _ACEOF
96898 cat confdefs.h >>conftest.$ac_ext
96899 cat >>conftest.$ac_ext <<_ACEOF
96900 /* end confdefs.h. */
96901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96903 #define $ac_func innocuous_$ac_func
96905 /* System header to define __stub macros and hopefully few prototypes,
96906 which can conflict with char $ac_func (); below.
96907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96908 <limits.h> exists even on freestanding compilers. */
96910 #ifdef __STDC__
96911 # include <limits.h>
96912 #else
96913 # include <assert.h>
96914 #endif
96916 #undef $ac_func
96918 /* Override any gcc2 internal prototype to avoid an error. */
96919 #ifdef __cplusplus
96920 extern "C"
96922 #endif
96923 /* We use char because int might match the return type of a gcc2
96924 builtin and then its argument prototype would still apply. */
96925 char $ac_func ();
96926 /* The GNU C library defines this for functions which it implements
96927 to always fail with ENOSYS. Some functions are actually named
96928 something starting with __ and the normal name is an alias. */
96929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96930 choke me
96931 #else
96932 char (*f) () = $ac_func;
96933 #endif
96934 #ifdef __cplusplus
96936 #endif
96939 main ()
96941 return f != $ac_func;
96943 return 0;
96945 _ACEOF
96946 rm -f conftest.$ac_objext conftest$ac_exeext
96947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96948 (eval $ac_link) 2>conftest.er1
96949 ac_status=$?
96950 grep -v '^ *+' conftest.er1 >conftest.err
96951 rm -f conftest.er1
96952 cat conftest.err >&5
96953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96954 (exit $ac_status); } &&
96955 { ac_try='test -z "$ac_c_werror_flag"
96956 || test ! -s conftest.err'
96957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96958 (eval $ac_try) 2>&5
96959 ac_status=$?
96960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96961 (exit $ac_status); }; } &&
96962 { ac_try='test -s conftest$ac_exeext'
96963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96964 (eval $ac_try) 2>&5
96965 ac_status=$?
96966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96967 (exit $ac_status); }; }; then
96968 eval "$as_ac_var=yes"
96969 else
96970 echo "$as_me: failed program was:" >&5
96971 sed 's/^/| /' conftest.$ac_ext >&5
96973 eval "$as_ac_var=no"
96975 rm -f conftest.err conftest.$ac_objext \
96976 conftest$ac_exeext conftest.$ac_ext
96978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96980 if test `eval echo '${'$as_ac_var'}'` = yes; then
96981 cat >>confdefs.h <<_ACEOF
96982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96983 _ACEOF
96986 done
96996 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
96997 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
96998 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
96999 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
97000 echo $ECHO_N "(cached) $ECHO_C" >&6
97001 else
97005 ac_ext=cc
97006 ac_cpp='$CXXCPP $CPPFLAGS'
97007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97011 cat >conftest.$ac_ext <<_ACEOF
97012 /* confdefs.h. */
97013 _ACEOF
97014 cat confdefs.h >>conftest.$ac_ext
97015 cat >>conftest.$ac_ext <<_ACEOF
97016 /* end confdefs.h. */
97017 #include <math.h>
97019 main ()
97021 sincosf(0, 0, 0);
97023 return 0;
97025 _ACEOF
97026 rm -f conftest.$ac_objext
97027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97028 (eval $ac_compile) 2>conftest.er1
97029 ac_status=$?
97030 grep -v '^ *+' conftest.er1 >conftest.err
97031 rm -f conftest.er1
97032 cat conftest.err >&5
97033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97034 (exit $ac_status); } &&
97035 { ac_try='test -z "$ac_cxx_werror_flag"
97036 || test ! -s conftest.err'
97037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97038 (eval $ac_try) 2>&5
97039 ac_status=$?
97040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97041 (exit $ac_status); }; } &&
97042 { ac_try='test -s conftest.$ac_objext'
97043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97044 (eval $ac_try) 2>&5
97045 ac_status=$?
97046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97047 (exit $ac_status); }; }; then
97048 glibcxx_cv_func_sincosf_use=yes
97049 else
97050 echo "$as_me: failed program was:" >&5
97051 sed 's/^/| /' conftest.$ac_ext >&5
97053 glibcxx_cv_func_sincosf_use=no
97055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97056 ac_ext=c
97057 ac_cpp='$CPP $CPPFLAGS'
97058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97066 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
97067 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
97069 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
97071 for ac_func in sincosf
97073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97074 echo "$as_me:$LINENO: checking for $ac_func" >&5
97075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97076 if eval "test \"\${$as_ac_var+set}\" = set"; then
97077 echo $ECHO_N "(cached) $ECHO_C" >&6
97078 else
97079 if test x$gcc_no_link = xyes; then
97080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97082 { (exit 1); exit 1; }; }
97084 cat >conftest.$ac_ext <<_ACEOF
97085 /* confdefs.h. */
97086 _ACEOF
97087 cat confdefs.h >>conftest.$ac_ext
97088 cat >>conftest.$ac_ext <<_ACEOF
97089 /* end confdefs.h. */
97090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97092 #define $ac_func innocuous_$ac_func
97094 /* System header to define __stub macros and hopefully few prototypes,
97095 which can conflict with char $ac_func (); below.
97096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97097 <limits.h> exists even on freestanding compilers. */
97099 #ifdef __STDC__
97100 # include <limits.h>
97101 #else
97102 # include <assert.h>
97103 #endif
97105 #undef $ac_func
97107 /* Override any gcc2 internal prototype to avoid an error. */
97108 #ifdef __cplusplus
97109 extern "C"
97111 #endif
97112 /* We use char because int might match the return type of a gcc2
97113 builtin and then its argument prototype would still apply. */
97114 char $ac_func ();
97115 /* The GNU C library defines this for functions which it implements
97116 to always fail with ENOSYS. Some functions are actually named
97117 something starting with __ and the normal name is an alias. */
97118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97119 choke me
97120 #else
97121 char (*f) () = $ac_func;
97122 #endif
97123 #ifdef __cplusplus
97125 #endif
97128 main ()
97130 return f != $ac_func;
97132 return 0;
97134 _ACEOF
97135 rm -f conftest.$ac_objext conftest$ac_exeext
97136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97137 (eval $ac_link) 2>conftest.er1
97138 ac_status=$?
97139 grep -v '^ *+' conftest.er1 >conftest.err
97140 rm -f conftest.er1
97141 cat conftest.err >&5
97142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97143 (exit $ac_status); } &&
97144 { ac_try='test -z "$ac_c_werror_flag"
97145 || test ! -s conftest.err'
97146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97147 (eval $ac_try) 2>&5
97148 ac_status=$?
97149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97150 (exit $ac_status); }; } &&
97151 { ac_try='test -s conftest$ac_exeext'
97152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97153 (eval $ac_try) 2>&5
97154 ac_status=$?
97155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97156 (exit $ac_status); }; }; then
97157 eval "$as_ac_var=yes"
97158 else
97159 echo "$as_me: failed program was:" >&5
97160 sed 's/^/| /' conftest.$ac_ext >&5
97162 eval "$as_ac_var=no"
97164 rm -f conftest.err conftest.$ac_objext \
97165 conftest$ac_exeext conftest.$ac_ext
97167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97169 if test `eval echo '${'$as_ac_var'}'` = yes; then
97170 cat >>confdefs.h <<_ACEOF
97171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97172 _ACEOF
97175 done
97177 else
97179 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
97180 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
97181 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
97182 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
97183 echo $ECHO_N "(cached) $ECHO_C" >&6
97184 else
97188 ac_ext=cc
97189 ac_cpp='$CXXCPP $CPPFLAGS'
97190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97194 cat >conftest.$ac_ext <<_ACEOF
97195 /* confdefs.h. */
97196 _ACEOF
97197 cat confdefs.h >>conftest.$ac_ext
97198 cat >>conftest.$ac_ext <<_ACEOF
97199 /* end confdefs.h. */
97200 #include <math.h>
97202 main ()
97204 _sincosf(0, 0, 0);
97206 return 0;
97208 _ACEOF
97209 rm -f conftest.$ac_objext
97210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97211 (eval $ac_compile) 2>conftest.er1
97212 ac_status=$?
97213 grep -v '^ *+' conftest.er1 >conftest.err
97214 rm -f conftest.er1
97215 cat conftest.err >&5
97216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97217 (exit $ac_status); } &&
97218 { ac_try='test -z "$ac_cxx_werror_flag"
97219 || test ! -s conftest.err'
97220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97221 (eval $ac_try) 2>&5
97222 ac_status=$?
97223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97224 (exit $ac_status); }; } &&
97225 { ac_try='test -s conftest.$ac_objext'
97226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97227 (eval $ac_try) 2>&5
97228 ac_status=$?
97229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97230 (exit $ac_status); }; }; then
97231 glibcxx_cv_func__sincosf_use=yes
97232 else
97233 echo "$as_me: failed program was:" >&5
97234 sed 's/^/| /' conftest.$ac_ext >&5
97236 glibcxx_cv_func__sincosf_use=no
97238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97239 ac_ext=c
97240 ac_cpp='$CPP $CPPFLAGS'
97241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97249 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
97250 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
97252 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
97254 for ac_func in _sincosf
97256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97257 echo "$as_me:$LINENO: checking for $ac_func" >&5
97258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97259 if eval "test \"\${$as_ac_var+set}\" = set"; then
97260 echo $ECHO_N "(cached) $ECHO_C" >&6
97261 else
97262 if test x$gcc_no_link = xyes; then
97263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97265 { (exit 1); exit 1; }; }
97267 cat >conftest.$ac_ext <<_ACEOF
97268 /* confdefs.h. */
97269 _ACEOF
97270 cat confdefs.h >>conftest.$ac_ext
97271 cat >>conftest.$ac_ext <<_ACEOF
97272 /* end confdefs.h. */
97273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97275 #define $ac_func innocuous_$ac_func
97277 /* System header to define __stub macros and hopefully few prototypes,
97278 which can conflict with char $ac_func (); below.
97279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97280 <limits.h> exists even on freestanding compilers. */
97282 #ifdef __STDC__
97283 # include <limits.h>
97284 #else
97285 # include <assert.h>
97286 #endif
97288 #undef $ac_func
97290 /* Override any gcc2 internal prototype to avoid an error. */
97291 #ifdef __cplusplus
97292 extern "C"
97294 #endif
97295 /* We use char because int might match the return type of a gcc2
97296 builtin and then its argument prototype would still apply. */
97297 char $ac_func ();
97298 /* The GNU C library defines this for functions which it implements
97299 to always fail with ENOSYS. Some functions are actually named
97300 something starting with __ and the normal name is an alias. */
97301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97302 choke me
97303 #else
97304 char (*f) () = $ac_func;
97305 #endif
97306 #ifdef __cplusplus
97308 #endif
97311 main ()
97313 return f != $ac_func;
97315 return 0;
97317 _ACEOF
97318 rm -f conftest.$ac_objext conftest$ac_exeext
97319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97320 (eval $ac_link) 2>conftest.er1
97321 ac_status=$?
97322 grep -v '^ *+' conftest.er1 >conftest.err
97323 rm -f conftest.er1
97324 cat conftest.err >&5
97325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97326 (exit $ac_status); } &&
97327 { ac_try='test -z "$ac_c_werror_flag"
97328 || test ! -s conftest.err'
97329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97330 (eval $ac_try) 2>&5
97331 ac_status=$?
97332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97333 (exit $ac_status); }; } &&
97334 { ac_try='test -s conftest$ac_exeext'
97335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97336 (eval $ac_try) 2>&5
97337 ac_status=$?
97338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97339 (exit $ac_status); }; }; then
97340 eval "$as_ac_var=yes"
97341 else
97342 echo "$as_me: failed program was:" >&5
97343 sed 's/^/| /' conftest.$ac_ext >&5
97345 eval "$as_ac_var=no"
97347 rm -f conftest.err conftest.$ac_objext \
97348 conftest$ac_exeext conftest.$ac_ext
97350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97352 if test `eval echo '${'$as_ac_var'}'` = yes; then
97353 cat >>confdefs.h <<_ACEOF
97354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97355 _ACEOF
97358 done
97368 echo "$as_me:$LINENO: checking for finitef declaration" >&5
97369 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
97370 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
97371 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
97372 echo $ECHO_N "(cached) $ECHO_C" >&6
97373 else
97377 ac_ext=cc
97378 ac_cpp='$CXXCPP $CPPFLAGS'
97379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97383 cat >conftest.$ac_ext <<_ACEOF
97384 /* confdefs.h. */
97385 _ACEOF
97386 cat confdefs.h >>conftest.$ac_ext
97387 cat >>conftest.$ac_ext <<_ACEOF
97388 /* end confdefs.h. */
97389 #include <math.h>
97390 #ifdef HAVE_IEEEFP_H
97391 #include <ieeefp.h>
97392 #endif
97395 main ()
97397 finitef(0);
97399 return 0;
97401 _ACEOF
97402 rm -f conftest.$ac_objext
97403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97404 (eval $ac_compile) 2>conftest.er1
97405 ac_status=$?
97406 grep -v '^ *+' conftest.er1 >conftest.err
97407 rm -f conftest.er1
97408 cat conftest.err >&5
97409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97410 (exit $ac_status); } &&
97411 { ac_try='test -z "$ac_cxx_werror_flag"
97412 || test ! -s conftest.err'
97413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97414 (eval $ac_try) 2>&5
97415 ac_status=$?
97416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97417 (exit $ac_status); }; } &&
97418 { ac_try='test -s conftest.$ac_objext'
97419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97420 (eval $ac_try) 2>&5
97421 ac_status=$?
97422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97423 (exit $ac_status); }; }; then
97424 glibcxx_cv_func_finitef_use=yes
97425 else
97426 echo "$as_me: failed program was:" >&5
97427 sed 's/^/| /' conftest.$ac_ext >&5
97429 glibcxx_cv_func_finitef_use=no
97431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97432 ac_ext=c
97433 ac_cpp='$CPP $CPPFLAGS'
97434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97442 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
97443 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
97445 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
97447 for ac_func in finitef
97449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97450 echo "$as_me:$LINENO: checking for $ac_func" >&5
97451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97452 if eval "test \"\${$as_ac_var+set}\" = set"; then
97453 echo $ECHO_N "(cached) $ECHO_C" >&6
97454 else
97455 if test x$gcc_no_link = xyes; then
97456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97458 { (exit 1); exit 1; }; }
97460 cat >conftest.$ac_ext <<_ACEOF
97461 /* confdefs.h. */
97462 _ACEOF
97463 cat confdefs.h >>conftest.$ac_ext
97464 cat >>conftest.$ac_ext <<_ACEOF
97465 /* end confdefs.h. */
97466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97468 #define $ac_func innocuous_$ac_func
97470 /* System header to define __stub macros and hopefully few prototypes,
97471 which can conflict with char $ac_func (); below.
97472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97473 <limits.h> exists even on freestanding compilers. */
97475 #ifdef __STDC__
97476 # include <limits.h>
97477 #else
97478 # include <assert.h>
97479 #endif
97481 #undef $ac_func
97483 /* Override any gcc2 internal prototype to avoid an error. */
97484 #ifdef __cplusplus
97485 extern "C"
97487 #endif
97488 /* We use char because int might match the return type of a gcc2
97489 builtin and then its argument prototype would still apply. */
97490 char $ac_func ();
97491 /* The GNU C library defines this for functions which it implements
97492 to always fail with ENOSYS. Some functions are actually named
97493 something starting with __ and the normal name is an alias. */
97494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97495 choke me
97496 #else
97497 char (*f) () = $ac_func;
97498 #endif
97499 #ifdef __cplusplus
97501 #endif
97504 main ()
97506 return f != $ac_func;
97508 return 0;
97510 _ACEOF
97511 rm -f conftest.$ac_objext conftest$ac_exeext
97512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97513 (eval $ac_link) 2>conftest.er1
97514 ac_status=$?
97515 grep -v '^ *+' conftest.er1 >conftest.err
97516 rm -f conftest.er1
97517 cat conftest.err >&5
97518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97519 (exit $ac_status); } &&
97520 { ac_try='test -z "$ac_c_werror_flag"
97521 || test ! -s conftest.err'
97522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97523 (eval $ac_try) 2>&5
97524 ac_status=$?
97525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97526 (exit $ac_status); }; } &&
97527 { ac_try='test -s conftest$ac_exeext'
97528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97529 (eval $ac_try) 2>&5
97530 ac_status=$?
97531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97532 (exit $ac_status); }; }; then
97533 eval "$as_ac_var=yes"
97534 else
97535 echo "$as_me: failed program was:" >&5
97536 sed 's/^/| /' conftest.$ac_ext >&5
97538 eval "$as_ac_var=no"
97540 rm -f conftest.err conftest.$ac_objext \
97541 conftest$ac_exeext conftest.$ac_ext
97543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97545 if test `eval echo '${'$as_ac_var'}'` = yes; then
97546 cat >>confdefs.h <<_ACEOF
97547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97548 _ACEOF
97551 done
97553 else
97555 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
97556 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
97557 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
97558 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
97559 echo $ECHO_N "(cached) $ECHO_C" >&6
97560 else
97564 ac_ext=cc
97565 ac_cpp='$CXXCPP $CPPFLAGS'
97566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97570 cat >conftest.$ac_ext <<_ACEOF
97571 /* confdefs.h. */
97572 _ACEOF
97573 cat confdefs.h >>conftest.$ac_ext
97574 cat >>conftest.$ac_ext <<_ACEOF
97575 /* end confdefs.h. */
97576 #include <math.h>
97577 #ifdef HAVE_IEEEFP_H
97578 #include <ieeefp.h>
97579 #endif
97582 main ()
97584 _finitef(0);
97586 return 0;
97588 _ACEOF
97589 rm -f conftest.$ac_objext
97590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97591 (eval $ac_compile) 2>conftest.er1
97592 ac_status=$?
97593 grep -v '^ *+' conftest.er1 >conftest.err
97594 rm -f conftest.er1
97595 cat conftest.err >&5
97596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97597 (exit $ac_status); } &&
97598 { ac_try='test -z "$ac_cxx_werror_flag"
97599 || test ! -s conftest.err'
97600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97601 (eval $ac_try) 2>&5
97602 ac_status=$?
97603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97604 (exit $ac_status); }; } &&
97605 { ac_try='test -s conftest.$ac_objext'
97606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97607 (eval $ac_try) 2>&5
97608 ac_status=$?
97609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97610 (exit $ac_status); }; }; then
97611 glibcxx_cv_func__finitef_use=yes
97612 else
97613 echo "$as_me: failed program was:" >&5
97614 sed 's/^/| /' conftest.$ac_ext >&5
97616 glibcxx_cv_func__finitef_use=no
97618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97619 ac_ext=c
97620 ac_cpp='$CPP $CPPFLAGS'
97621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97629 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
97630 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
97632 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
97634 for ac_func in _finitef
97636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97637 echo "$as_me:$LINENO: checking for $ac_func" >&5
97638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97639 if eval "test \"\${$as_ac_var+set}\" = set"; then
97640 echo $ECHO_N "(cached) $ECHO_C" >&6
97641 else
97642 if test x$gcc_no_link = xyes; then
97643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97645 { (exit 1); exit 1; }; }
97647 cat >conftest.$ac_ext <<_ACEOF
97648 /* confdefs.h. */
97649 _ACEOF
97650 cat confdefs.h >>conftest.$ac_ext
97651 cat >>conftest.$ac_ext <<_ACEOF
97652 /* end confdefs.h. */
97653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97655 #define $ac_func innocuous_$ac_func
97657 /* System header to define __stub macros and hopefully few prototypes,
97658 which can conflict with char $ac_func (); below.
97659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97660 <limits.h> exists even on freestanding compilers. */
97662 #ifdef __STDC__
97663 # include <limits.h>
97664 #else
97665 # include <assert.h>
97666 #endif
97668 #undef $ac_func
97670 /* Override any gcc2 internal prototype to avoid an error. */
97671 #ifdef __cplusplus
97672 extern "C"
97674 #endif
97675 /* We use char because int might match the return type of a gcc2
97676 builtin and then its argument prototype would still apply. */
97677 char $ac_func ();
97678 /* The GNU C library defines this for functions which it implements
97679 to always fail with ENOSYS. Some functions are actually named
97680 something starting with __ and the normal name is an alias. */
97681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97682 choke me
97683 #else
97684 char (*f) () = $ac_func;
97685 #endif
97686 #ifdef __cplusplus
97688 #endif
97691 main ()
97693 return f != $ac_func;
97695 return 0;
97697 _ACEOF
97698 rm -f conftest.$ac_objext conftest$ac_exeext
97699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97700 (eval $ac_link) 2>conftest.er1
97701 ac_status=$?
97702 grep -v '^ *+' conftest.er1 >conftest.err
97703 rm -f conftest.er1
97704 cat conftest.err >&5
97705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97706 (exit $ac_status); } &&
97707 { ac_try='test -z "$ac_c_werror_flag"
97708 || test ! -s conftest.err'
97709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97710 (eval $ac_try) 2>&5
97711 ac_status=$?
97712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97713 (exit $ac_status); }; } &&
97714 { ac_try='test -s conftest$ac_exeext'
97715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97716 (eval $ac_try) 2>&5
97717 ac_status=$?
97718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97719 (exit $ac_status); }; }; then
97720 eval "$as_ac_var=yes"
97721 else
97722 echo "$as_me: failed program was:" >&5
97723 sed 's/^/| /' conftest.$ac_ext >&5
97725 eval "$as_ac_var=no"
97727 rm -f conftest.err conftest.$ac_objext \
97728 conftest$ac_exeext conftest.$ac_ext
97730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97732 if test `eval echo '${'$as_ac_var'}'` = yes; then
97733 cat >>confdefs.h <<_ACEOF
97734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97735 _ACEOF
97738 done
97748 echo "$as_me:$LINENO: checking for long double trig functions" >&5
97749 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
97750 if test "${glibcxx_cv_func_long_double_trig_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>
97770 main ()
97772 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
97774 return 0;
97776 _ACEOF
97777 rm -f conftest.$ac_objext
97778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97779 (eval $ac_compile) 2>conftest.er1
97780 ac_status=$?
97781 grep -v '^ *+' conftest.er1 >conftest.err
97782 rm -f conftest.er1
97783 cat conftest.err >&5
97784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97785 (exit $ac_status); } &&
97786 { ac_try='test -z "$ac_cxx_werror_flag"
97787 || test ! -s conftest.err'
97788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97789 (eval $ac_try) 2>&5
97790 ac_status=$?
97791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97792 (exit $ac_status); }; } &&
97793 { ac_try='test -s conftest.$ac_objext'
97794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97795 (eval $ac_try) 2>&5
97796 ac_status=$?
97797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97798 (exit $ac_status); }; }; then
97799 glibcxx_cv_func_long_double_trig_use=yes
97800 else
97801 echo "$as_me: failed program was:" >&5
97802 sed 's/^/| /' conftest.$ac_ext >&5
97804 glibcxx_cv_func_long_double_trig_use=no
97806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97807 ac_ext=c
97808 ac_cpp='$CPP $CPPFLAGS'
97809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97815 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
97816 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
97817 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
97827 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
97829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97830 echo "$as_me:$LINENO: checking for $ac_func" >&5
97831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97832 if eval "test \"\${$as_ac_var+set}\" = set"; then
97833 echo $ECHO_N "(cached) $ECHO_C" >&6
97834 else
97835 if test x$gcc_no_link = xyes; then
97836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97838 { (exit 1); exit 1; }; }
97840 cat >conftest.$ac_ext <<_ACEOF
97841 /* confdefs.h. */
97842 _ACEOF
97843 cat confdefs.h >>conftest.$ac_ext
97844 cat >>conftest.$ac_ext <<_ACEOF
97845 /* end confdefs.h. */
97846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97848 #define $ac_func innocuous_$ac_func
97850 /* System header to define __stub macros and hopefully few prototypes,
97851 which can conflict with char $ac_func (); below.
97852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97853 <limits.h> exists even on freestanding compilers. */
97855 #ifdef __STDC__
97856 # include <limits.h>
97857 #else
97858 # include <assert.h>
97859 #endif
97861 #undef $ac_func
97863 /* Override any gcc2 internal prototype to avoid an error. */
97864 #ifdef __cplusplus
97865 extern "C"
97867 #endif
97868 /* We use char because int might match the return type of a gcc2
97869 builtin and then its argument prototype would still apply. */
97870 char $ac_func ();
97871 /* The GNU C library defines this for functions which it implements
97872 to always fail with ENOSYS. Some functions are actually named
97873 something starting with __ and the normal name is an alias. */
97874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97875 choke me
97876 #else
97877 char (*f) () = $ac_func;
97878 #endif
97879 #ifdef __cplusplus
97881 #endif
97884 main ()
97886 return f != $ac_func;
97888 return 0;
97890 _ACEOF
97891 rm -f conftest.$ac_objext conftest$ac_exeext
97892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97893 (eval $ac_link) 2>conftest.er1
97894 ac_status=$?
97895 grep -v '^ *+' conftest.er1 >conftest.err
97896 rm -f conftest.er1
97897 cat conftest.err >&5
97898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97899 (exit $ac_status); } &&
97900 { ac_try='test -z "$ac_c_werror_flag"
97901 || test ! -s conftest.err'
97902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97903 (eval $ac_try) 2>&5
97904 ac_status=$?
97905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97906 (exit $ac_status); }; } &&
97907 { ac_try='test -s conftest$ac_exeext'
97908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97909 (eval $ac_try) 2>&5
97910 ac_status=$?
97911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97912 (exit $ac_status); }; }; then
97913 eval "$as_ac_var=yes"
97914 else
97915 echo "$as_me: failed program was:" >&5
97916 sed 's/^/| /' conftest.$ac_ext >&5
97918 eval "$as_ac_var=no"
97920 rm -f conftest.err conftest.$ac_objext \
97921 conftest$ac_exeext conftest.$ac_ext
97923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97925 if test `eval echo '${'$as_ac_var'}'` = yes; then
97926 cat >>confdefs.h <<_ACEOF
97927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97928 _ACEOF
97931 done
97933 else
97934 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
97935 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
97936 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
97937 echo $ECHO_N "(cached) $ECHO_C" >&6
97938 else
97942 ac_ext=cc
97943 ac_cpp='$CXXCPP $CPPFLAGS'
97944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97948 cat >conftest.$ac_ext <<_ACEOF
97949 /* confdefs.h. */
97950 _ACEOF
97951 cat confdefs.h >>conftest.$ac_ext
97952 cat >>conftest.$ac_ext <<_ACEOF
97953 /* end confdefs.h. */
97954 #include <math.h>
97956 main ()
97958 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
97960 return 0;
97962 _ACEOF
97963 rm -f conftest.$ac_objext
97964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97965 (eval $ac_compile) 2>conftest.er1
97966 ac_status=$?
97967 grep -v '^ *+' conftest.er1 >conftest.err
97968 rm -f conftest.er1
97969 cat conftest.err >&5
97970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97971 (exit $ac_status); } &&
97972 { ac_try='test -z "$ac_cxx_werror_flag"
97973 || test ! -s conftest.err'
97974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97975 (eval $ac_try) 2>&5
97976 ac_status=$?
97977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97978 (exit $ac_status); }; } &&
97979 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
97985 glibcxx_cv_func__long_double_trig_use=yes
97986 else
97987 echo "$as_me: failed program was:" >&5
97988 sed 's/^/| /' conftest.$ac_ext >&5
97990 glibcxx_cv_func__long_double_trig_use=no
97992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97993 ac_ext=c
97994 ac_cpp='$CPP $CPPFLAGS'
97995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98001 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
98002 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
98003 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
98013 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
98015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98016 echo "$as_me:$LINENO: checking for $ac_func" >&5
98017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98018 if eval "test \"\${$as_ac_var+set}\" = set"; then
98019 echo $ECHO_N "(cached) $ECHO_C" >&6
98020 else
98021 if test x$gcc_no_link = xyes; then
98022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98024 { (exit 1); exit 1; }; }
98026 cat >conftest.$ac_ext <<_ACEOF
98027 /* confdefs.h. */
98028 _ACEOF
98029 cat confdefs.h >>conftest.$ac_ext
98030 cat >>conftest.$ac_ext <<_ACEOF
98031 /* end confdefs.h. */
98032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98034 #define $ac_func innocuous_$ac_func
98036 /* System header to define __stub macros and hopefully few prototypes,
98037 which can conflict with char $ac_func (); below.
98038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98039 <limits.h> exists even on freestanding compilers. */
98041 #ifdef __STDC__
98042 # include <limits.h>
98043 #else
98044 # include <assert.h>
98045 #endif
98047 #undef $ac_func
98049 /* Override any gcc2 internal prototype to avoid an error. */
98050 #ifdef __cplusplus
98051 extern "C"
98053 #endif
98054 /* We use char because int might match the return type of a gcc2
98055 builtin and then its argument prototype would still apply. */
98056 char $ac_func ();
98057 /* The GNU C library defines this for functions which it implements
98058 to always fail with ENOSYS. Some functions are actually named
98059 something starting with __ and the normal name is an alias. */
98060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98061 choke me
98062 #else
98063 char (*f) () = $ac_func;
98064 #endif
98065 #ifdef __cplusplus
98067 #endif
98070 main ()
98072 return f != $ac_func;
98074 return 0;
98076 _ACEOF
98077 rm -f conftest.$ac_objext conftest$ac_exeext
98078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98079 (eval $ac_link) 2>conftest.er1
98080 ac_status=$?
98081 grep -v '^ *+' conftest.er1 >conftest.err
98082 rm -f conftest.er1
98083 cat conftest.err >&5
98084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98085 (exit $ac_status); } &&
98086 { ac_try='test -z "$ac_c_werror_flag"
98087 || test ! -s conftest.err'
98088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98089 (eval $ac_try) 2>&5
98090 ac_status=$?
98091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98092 (exit $ac_status); }; } &&
98093 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
98099 eval "$as_ac_var=yes"
98100 else
98101 echo "$as_me: failed program was:" >&5
98102 sed 's/^/| /' conftest.$ac_ext >&5
98104 eval "$as_ac_var=no"
98106 rm -f conftest.err conftest.$ac_objext \
98107 conftest$ac_exeext conftest.$ac_ext
98109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98111 if test `eval echo '${'$as_ac_var'}'` = yes; then
98112 cat >>confdefs.h <<_ACEOF
98113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98114 _ACEOF
98117 done
98135 echo "$as_me:$LINENO: checking for long double round functions" >&5
98136 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
98137 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
98138 echo $ECHO_N "(cached) $ECHO_C" >&6
98139 else
98143 ac_ext=cc
98144 ac_cpp='$CXXCPP $CPPFLAGS'
98145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98149 cat >conftest.$ac_ext <<_ACEOF
98150 /* confdefs.h. */
98151 _ACEOF
98152 cat confdefs.h >>conftest.$ac_ext
98153 cat >>conftest.$ac_ext <<_ACEOF
98154 /* end confdefs.h. */
98155 #include <math.h>
98157 main ()
98159 ceill (0); floorl (0);
98161 return 0;
98163 _ACEOF
98164 rm -f conftest.$ac_objext
98165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98166 (eval $ac_compile) 2>conftest.er1
98167 ac_status=$?
98168 grep -v '^ *+' conftest.er1 >conftest.err
98169 rm -f conftest.er1
98170 cat conftest.err >&5
98171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98172 (exit $ac_status); } &&
98173 { ac_try='test -z "$ac_cxx_werror_flag"
98174 || test ! -s conftest.err'
98175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98176 (eval $ac_try) 2>&5
98177 ac_status=$?
98178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98179 (exit $ac_status); }; } &&
98180 { ac_try='test -s conftest.$ac_objext'
98181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98182 (eval $ac_try) 2>&5
98183 ac_status=$?
98184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98185 (exit $ac_status); }; }; then
98186 glibcxx_cv_func_long_double_round_use=yes
98187 else
98188 echo "$as_me: failed program was:" >&5
98189 sed 's/^/| /' conftest.$ac_ext >&5
98191 glibcxx_cv_func_long_double_round_use=no
98193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98194 ac_ext=c
98195 ac_cpp='$CPP $CPPFLAGS'
98196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98202 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
98203 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
98204 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
98207 for ac_func in ceill floorl
98209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98210 echo "$as_me:$LINENO: checking for $ac_func" >&5
98211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98212 if eval "test \"\${$as_ac_var+set}\" = set"; then
98213 echo $ECHO_N "(cached) $ECHO_C" >&6
98214 else
98215 if test x$gcc_no_link = xyes; then
98216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98218 { (exit 1); exit 1; }; }
98220 cat >conftest.$ac_ext <<_ACEOF
98221 /* confdefs.h. */
98222 _ACEOF
98223 cat confdefs.h >>conftest.$ac_ext
98224 cat >>conftest.$ac_ext <<_ACEOF
98225 /* end confdefs.h. */
98226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98228 #define $ac_func innocuous_$ac_func
98230 /* System header to define __stub macros and hopefully few prototypes,
98231 which can conflict with char $ac_func (); below.
98232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98233 <limits.h> exists even on freestanding compilers. */
98235 #ifdef __STDC__
98236 # include <limits.h>
98237 #else
98238 # include <assert.h>
98239 #endif
98241 #undef $ac_func
98243 /* Override any gcc2 internal prototype to avoid an error. */
98244 #ifdef __cplusplus
98245 extern "C"
98247 #endif
98248 /* We use char because int might match the return type of a gcc2
98249 builtin and then its argument prototype would still apply. */
98250 char $ac_func ();
98251 /* The GNU C library defines this for functions which it implements
98252 to always fail with ENOSYS. Some functions are actually named
98253 something starting with __ and the normal name is an alias. */
98254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98255 choke me
98256 #else
98257 char (*f) () = $ac_func;
98258 #endif
98259 #ifdef __cplusplus
98261 #endif
98264 main ()
98266 return f != $ac_func;
98268 return 0;
98270 _ACEOF
98271 rm -f conftest.$ac_objext conftest$ac_exeext
98272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98273 (eval $ac_link) 2>conftest.er1
98274 ac_status=$?
98275 grep -v '^ *+' conftest.er1 >conftest.err
98276 rm -f conftest.er1
98277 cat conftest.err >&5
98278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98279 (exit $ac_status); } &&
98280 { ac_try='test -z "$ac_c_werror_flag"
98281 || test ! -s conftest.err'
98282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98283 (eval $ac_try) 2>&5
98284 ac_status=$?
98285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98286 (exit $ac_status); }; } &&
98287 { ac_try='test -s conftest$ac_exeext'
98288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98289 (eval $ac_try) 2>&5
98290 ac_status=$?
98291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98292 (exit $ac_status); }; }; then
98293 eval "$as_ac_var=yes"
98294 else
98295 echo "$as_me: failed program was:" >&5
98296 sed 's/^/| /' conftest.$ac_ext >&5
98298 eval "$as_ac_var=no"
98300 rm -f conftest.err conftest.$ac_objext \
98301 conftest$ac_exeext conftest.$ac_ext
98303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98305 if test `eval echo '${'$as_ac_var'}'` = yes; then
98306 cat >>confdefs.h <<_ACEOF
98307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98308 _ACEOF
98311 done
98313 else
98314 echo "$as_me:$LINENO: checking for _long double round functions" >&5
98315 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
98316 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
98317 echo $ECHO_N "(cached) $ECHO_C" >&6
98318 else
98322 ac_ext=cc
98323 ac_cpp='$CXXCPP $CPPFLAGS'
98324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98328 cat >conftest.$ac_ext <<_ACEOF
98329 /* confdefs.h. */
98330 _ACEOF
98331 cat confdefs.h >>conftest.$ac_ext
98332 cat >>conftest.$ac_ext <<_ACEOF
98333 /* end confdefs.h. */
98334 #include <math.h>
98336 main ()
98338 _ceill (0); _floorl (0);
98340 return 0;
98342 _ACEOF
98343 rm -f conftest.$ac_objext
98344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98345 (eval $ac_compile) 2>conftest.er1
98346 ac_status=$?
98347 grep -v '^ *+' conftest.er1 >conftest.err
98348 rm -f conftest.er1
98349 cat conftest.err >&5
98350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98351 (exit $ac_status); } &&
98352 { ac_try='test -z "$ac_cxx_werror_flag"
98353 || test ! -s conftest.err'
98354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98355 (eval $ac_try) 2>&5
98356 ac_status=$?
98357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98358 (exit $ac_status); }; } &&
98359 { ac_try='test -s conftest.$ac_objext'
98360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98361 (eval $ac_try) 2>&5
98362 ac_status=$?
98363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98364 (exit $ac_status); }; }; then
98365 glibcxx_cv_func__long_double_round_use=yes
98366 else
98367 echo "$as_me: failed program was:" >&5
98368 sed 's/^/| /' conftest.$ac_ext >&5
98370 glibcxx_cv_func__long_double_round_use=no
98372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98373 ac_ext=c
98374 ac_cpp='$CPP $CPPFLAGS'
98375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98381 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
98382 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
98383 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
98386 for ac_func in _ceill _floorl
98388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98389 echo "$as_me:$LINENO: checking for $ac_func" >&5
98390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98391 if eval "test \"\${$as_ac_var+set}\" = set"; then
98392 echo $ECHO_N "(cached) $ECHO_C" >&6
98393 else
98394 if test x$gcc_no_link = xyes; then
98395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98397 { (exit 1); exit 1; }; }
98399 cat >conftest.$ac_ext <<_ACEOF
98400 /* confdefs.h. */
98401 _ACEOF
98402 cat confdefs.h >>conftest.$ac_ext
98403 cat >>conftest.$ac_ext <<_ACEOF
98404 /* end confdefs.h. */
98405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98407 #define $ac_func innocuous_$ac_func
98409 /* System header to define __stub macros and hopefully few prototypes,
98410 which can conflict with char $ac_func (); below.
98411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98412 <limits.h> exists even on freestanding compilers. */
98414 #ifdef __STDC__
98415 # include <limits.h>
98416 #else
98417 # include <assert.h>
98418 #endif
98420 #undef $ac_func
98422 /* Override any gcc2 internal prototype to avoid an error. */
98423 #ifdef __cplusplus
98424 extern "C"
98426 #endif
98427 /* We use char because int might match the return type of a gcc2
98428 builtin and then its argument prototype would still apply. */
98429 char $ac_func ();
98430 /* The GNU C library defines this for functions which it implements
98431 to always fail with ENOSYS. Some functions are actually named
98432 something starting with __ and the normal name is an alias. */
98433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98434 choke me
98435 #else
98436 char (*f) () = $ac_func;
98437 #endif
98438 #ifdef __cplusplus
98440 #endif
98443 main ()
98445 return f != $ac_func;
98447 return 0;
98449 _ACEOF
98450 rm -f conftest.$ac_objext conftest$ac_exeext
98451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98452 (eval $ac_link) 2>conftest.er1
98453 ac_status=$?
98454 grep -v '^ *+' conftest.er1 >conftest.err
98455 rm -f conftest.er1
98456 cat conftest.err >&5
98457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98458 (exit $ac_status); } &&
98459 { ac_try='test -z "$ac_c_werror_flag"
98460 || test ! -s conftest.err'
98461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98462 (eval $ac_try) 2>&5
98463 ac_status=$?
98464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98465 (exit $ac_status); }; } &&
98466 { ac_try='test -s conftest$ac_exeext'
98467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98468 (eval $ac_try) 2>&5
98469 ac_status=$?
98470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98471 (exit $ac_status); }; }; then
98472 eval "$as_ac_var=yes"
98473 else
98474 echo "$as_me: failed program was:" >&5
98475 sed 's/^/| /' conftest.$ac_ext >&5
98477 eval "$as_ac_var=no"
98479 rm -f conftest.err conftest.$ac_objext \
98480 conftest$ac_exeext conftest.$ac_ext
98482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98484 if test `eval echo '${'$as_ac_var'}'` = yes; then
98485 cat >>confdefs.h <<_ACEOF
98486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98487 _ACEOF
98490 done
98502 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
98503 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
98504 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
98505 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
98506 echo $ECHO_N "(cached) $ECHO_C" >&6
98507 else
98511 ac_ext=cc
98512 ac_cpp='$CXXCPP $CPPFLAGS'
98513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98517 cat >conftest.$ac_ext <<_ACEOF
98518 /* confdefs.h. */
98519 _ACEOF
98520 cat confdefs.h >>conftest.$ac_ext
98521 cat >>conftest.$ac_ext <<_ACEOF
98522 /* end confdefs.h. */
98523 #include <math.h>
98524 #ifdef HAVE_IEEEFP_H
98525 #include <ieeefp.h>
98526 #endif
98529 main ()
98531 isnanl(0);
98533 return 0;
98535 _ACEOF
98536 rm -f conftest.$ac_objext
98537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98538 (eval $ac_compile) 2>conftest.er1
98539 ac_status=$?
98540 grep -v '^ *+' conftest.er1 >conftest.err
98541 rm -f conftest.er1
98542 cat conftest.err >&5
98543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98544 (exit $ac_status); } &&
98545 { ac_try='test -z "$ac_cxx_werror_flag"
98546 || test ! -s conftest.err'
98547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98548 (eval $ac_try) 2>&5
98549 ac_status=$?
98550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98551 (exit $ac_status); }; } &&
98552 { ac_try='test -s conftest.$ac_objext'
98553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98554 (eval $ac_try) 2>&5
98555 ac_status=$?
98556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98557 (exit $ac_status); }; }; then
98558 glibcxx_cv_func_isnanl_use=yes
98559 else
98560 echo "$as_me: failed program was:" >&5
98561 sed 's/^/| /' conftest.$ac_ext >&5
98563 glibcxx_cv_func_isnanl_use=no
98565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98566 ac_ext=c
98567 ac_cpp='$CPP $CPPFLAGS'
98568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98576 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
98577 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
98579 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
98581 for ac_func in isnanl
98583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98584 echo "$as_me:$LINENO: checking for $ac_func" >&5
98585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98586 if eval "test \"\${$as_ac_var+set}\" = set"; then
98587 echo $ECHO_N "(cached) $ECHO_C" >&6
98588 else
98589 if test x$gcc_no_link = xyes; then
98590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98592 { (exit 1); exit 1; }; }
98594 cat >conftest.$ac_ext <<_ACEOF
98595 /* confdefs.h. */
98596 _ACEOF
98597 cat confdefs.h >>conftest.$ac_ext
98598 cat >>conftest.$ac_ext <<_ACEOF
98599 /* end confdefs.h. */
98600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98602 #define $ac_func innocuous_$ac_func
98604 /* System header to define __stub macros and hopefully few prototypes,
98605 which can conflict with char $ac_func (); below.
98606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98607 <limits.h> exists even on freestanding compilers. */
98609 #ifdef __STDC__
98610 # include <limits.h>
98611 #else
98612 # include <assert.h>
98613 #endif
98615 #undef $ac_func
98617 /* Override any gcc2 internal prototype to avoid an error. */
98618 #ifdef __cplusplus
98619 extern "C"
98621 #endif
98622 /* We use char because int might match the return type of a gcc2
98623 builtin and then its argument prototype would still apply. */
98624 char $ac_func ();
98625 /* The GNU C library defines this for functions which it implements
98626 to always fail with ENOSYS. Some functions are actually named
98627 something starting with __ and the normal name is an alias. */
98628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98629 choke me
98630 #else
98631 char (*f) () = $ac_func;
98632 #endif
98633 #ifdef __cplusplus
98635 #endif
98638 main ()
98640 return f != $ac_func;
98642 return 0;
98644 _ACEOF
98645 rm -f conftest.$ac_objext conftest$ac_exeext
98646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98647 (eval $ac_link) 2>conftest.er1
98648 ac_status=$?
98649 grep -v '^ *+' conftest.er1 >conftest.err
98650 rm -f conftest.er1
98651 cat conftest.err >&5
98652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98653 (exit $ac_status); } &&
98654 { ac_try='test -z "$ac_c_werror_flag"
98655 || test ! -s conftest.err'
98656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98657 (eval $ac_try) 2>&5
98658 ac_status=$?
98659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98660 (exit $ac_status); }; } &&
98661 { ac_try='test -s conftest$ac_exeext'
98662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98663 (eval $ac_try) 2>&5
98664 ac_status=$?
98665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98666 (exit $ac_status); }; }; then
98667 eval "$as_ac_var=yes"
98668 else
98669 echo "$as_me: failed program was:" >&5
98670 sed 's/^/| /' conftest.$ac_ext >&5
98672 eval "$as_ac_var=no"
98674 rm -f conftest.err conftest.$ac_objext \
98675 conftest$ac_exeext conftest.$ac_ext
98677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98679 if test `eval echo '${'$as_ac_var'}'` = yes; then
98680 cat >>confdefs.h <<_ACEOF
98681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98682 _ACEOF
98685 done
98687 else
98689 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
98690 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
98691 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
98692 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
98693 echo $ECHO_N "(cached) $ECHO_C" >&6
98694 else
98698 ac_ext=cc
98699 ac_cpp='$CXXCPP $CPPFLAGS'
98700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98704 cat >conftest.$ac_ext <<_ACEOF
98705 /* confdefs.h. */
98706 _ACEOF
98707 cat confdefs.h >>conftest.$ac_ext
98708 cat >>conftest.$ac_ext <<_ACEOF
98709 /* end confdefs.h. */
98710 #include <math.h>
98711 #ifdef HAVE_IEEEFP_H
98712 #include <ieeefp.h>
98713 #endif
98716 main ()
98718 _isnanl(0);
98720 return 0;
98722 _ACEOF
98723 rm -f conftest.$ac_objext
98724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98725 (eval $ac_compile) 2>conftest.er1
98726 ac_status=$?
98727 grep -v '^ *+' conftest.er1 >conftest.err
98728 rm -f conftest.er1
98729 cat conftest.err >&5
98730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98731 (exit $ac_status); } &&
98732 { ac_try='test -z "$ac_cxx_werror_flag"
98733 || test ! -s conftest.err'
98734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98735 (eval $ac_try) 2>&5
98736 ac_status=$?
98737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98738 (exit $ac_status); }; } &&
98739 { ac_try='test -s conftest.$ac_objext'
98740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98741 (eval $ac_try) 2>&5
98742 ac_status=$?
98743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98744 (exit $ac_status); }; }; then
98745 glibcxx_cv_func__isnanl_use=yes
98746 else
98747 echo "$as_me: failed program was:" >&5
98748 sed 's/^/| /' conftest.$ac_ext >&5
98750 glibcxx_cv_func__isnanl_use=no
98752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98753 ac_ext=c
98754 ac_cpp='$CPP $CPPFLAGS'
98755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98763 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
98764 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
98766 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
98768 for ac_func in _isnanl
98770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98771 echo "$as_me:$LINENO: checking for $ac_func" >&5
98772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98773 if eval "test \"\${$as_ac_var+set}\" = set"; then
98774 echo $ECHO_N "(cached) $ECHO_C" >&6
98775 else
98776 if test x$gcc_no_link = xyes; then
98777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98779 { (exit 1); exit 1; }; }
98781 cat >conftest.$ac_ext <<_ACEOF
98782 /* confdefs.h. */
98783 _ACEOF
98784 cat confdefs.h >>conftest.$ac_ext
98785 cat >>conftest.$ac_ext <<_ACEOF
98786 /* end confdefs.h. */
98787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98789 #define $ac_func innocuous_$ac_func
98791 /* System header to define __stub macros and hopefully few prototypes,
98792 which can conflict with char $ac_func (); below.
98793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98794 <limits.h> exists even on freestanding compilers. */
98796 #ifdef __STDC__
98797 # include <limits.h>
98798 #else
98799 # include <assert.h>
98800 #endif
98802 #undef $ac_func
98804 /* Override any gcc2 internal prototype to avoid an error. */
98805 #ifdef __cplusplus
98806 extern "C"
98808 #endif
98809 /* We use char because int might match the return type of a gcc2
98810 builtin and then its argument prototype would still apply. */
98811 char $ac_func ();
98812 /* The GNU C library defines this for functions which it implements
98813 to always fail with ENOSYS. Some functions are actually named
98814 something starting with __ and the normal name is an alias. */
98815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98816 choke me
98817 #else
98818 char (*f) () = $ac_func;
98819 #endif
98820 #ifdef __cplusplus
98822 #endif
98825 main ()
98827 return f != $ac_func;
98829 return 0;
98831 _ACEOF
98832 rm -f conftest.$ac_objext conftest$ac_exeext
98833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98834 (eval $ac_link) 2>conftest.er1
98835 ac_status=$?
98836 grep -v '^ *+' conftest.er1 >conftest.err
98837 rm -f conftest.er1
98838 cat conftest.err >&5
98839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98840 (exit $ac_status); } &&
98841 { ac_try='test -z "$ac_c_werror_flag"
98842 || test ! -s conftest.err'
98843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98844 (eval $ac_try) 2>&5
98845 ac_status=$?
98846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98847 (exit $ac_status); }; } &&
98848 { ac_try='test -s conftest$ac_exeext'
98849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98850 (eval $ac_try) 2>&5
98851 ac_status=$?
98852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98853 (exit $ac_status); }; }; then
98854 eval "$as_ac_var=yes"
98855 else
98856 echo "$as_me: failed program was:" >&5
98857 sed 's/^/| /' conftest.$ac_ext >&5
98859 eval "$as_ac_var=no"
98861 rm -f conftest.err conftest.$ac_objext \
98862 conftest$ac_exeext conftest.$ac_ext
98864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98866 if test `eval echo '${'$as_ac_var'}'` = yes; then
98867 cat >>confdefs.h <<_ACEOF
98868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98869 _ACEOF
98872 done
98882 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
98883 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
98884 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
98885 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
98886 echo $ECHO_N "(cached) $ECHO_C" >&6
98887 else
98891 ac_ext=cc
98892 ac_cpp='$CXXCPP $CPPFLAGS'
98893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98897 cat >conftest.$ac_ext <<_ACEOF
98898 /* confdefs.h. */
98899 _ACEOF
98900 cat confdefs.h >>conftest.$ac_ext
98901 cat >>conftest.$ac_ext <<_ACEOF
98902 /* end confdefs.h. */
98903 #include <math.h>
98904 #ifdef HAVE_IEEEFP_H
98905 #include <ieeefp.h>
98906 #endif
98909 main ()
98911 isinfl(0);
98913 return 0;
98915 _ACEOF
98916 rm -f conftest.$ac_objext
98917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98918 (eval $ac_compile) 2>conftest.er1
98919 ac_status=$?
98920 grep -v '^ *+' conftest.er1 >conftest.err
98921 rm -f conftest.er1
98922 cat conftest.err >&5
98923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98924 (exit $ac_status); } &&
98925 { ac_try='test -z "$ac_cxx_werror_flag"
98926 || test ! -s conftest.err'
98927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98928 (eval $ac_try) 2>&5
98929 ac_status=$?
98930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98931 (exit $ac_status); }; } &&
98932 { ac_try='test -s conftest.$ac_objext'
98933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98934 (eval $ac_try) 2>&5
98935 ac_status=$?
98936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98937 (exit $ac_status); }; }; then
98938 glibcxx_cv_func_isinfl_use=yes
98939 else
98940 echo "$as_me: failed program was:" >&5
98941 sed 's/^/| /' conftest.$ac_ext >&5
98943 glibcxx_cv_func_isinfl_use=no
98945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98946 ac_ext=c
98947 ac_cpp='$CPP $CPPFLAGS'
98948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98956 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
98957 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
98959 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
98961 for ac_func in isinfl
98963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98964 echo "$as_me:$LINENO: checking for $ac_func" >&5
98965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98966 if eval "test \"\${$as_ac_var+set}\" = set"; then
98967 echo $ECHO_N "(cached) $ECHO_C" >&6
98968 else
98969 if test x$gcc_no_link = xyes; then
98970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98972 { (exit 1); exit 1; }; }
98974 cat >conftest.$ac_ext <<_ACEOF
98975 /* confdefs.h. */
98976 _ACEOF
98977 cat confdefs.h >>conftest.$ac_ext
98978 cat >>conftest.$ac_ext <<_ACEOF
98979 /* end confdefs.h. */
98980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98982 #define $ac_func innocuous_$ac_func
98984 /* System header to define __stub macros and hopefully few prototypes,
98985 which can conflict with char $ac_func (); below.
98986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98987 <limits.h> exists even on freestanding compilers. */
98989 #ifdef __STDC__
98990 # include <limits.h>
98991 #else
98992 # include <assert.h>
98993 #endif
98995 #undef $ac_func
98997 /* Override any gcc2 internal prototype to avoid an error. */
98998 #ifdef __cplusplus
98999 extern "C"
99001 #endif
99002 /* We use char because int might match the return type of a gcc2
99003 builtin and then its argument prototype would still apply. */
99004 char $ac_func ();
99005 /* The GNU C library defines this for functions which it implements
99006 to always fail with ENOSYS. Some functions are actually named
99007 something starting with __ and the normal name is an alias. */
99008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99009 choke me
99010 #else
99011 char (*f) () = $ac_func;
99012 #endif
99013 #ifdef __cplusplus
99015 #endif
99018 main ()
99020 return f != $ac_func;
99022 return 0;
99024 _ACEOF
99025 rm -f conftest.$ac_objext conftest$ac_exeext
99026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99027 (eval $ac_link) 2>conftest.er1
99028 ac_status=$?
99029 grep -v '^ *+' conftest.er1 >conftest.err
99030 rm -f conftest.er1
99031 cat conftest.err >&5
99032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99033 (exit $ac_status); } &&
99034 { ac_try='test -z "$ac_c_werror_flag"
99035 || test ! -s conftest.err'
99036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99037 (eval $ac_try) 2>&5
99038 ac_status=$?
99039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99040 (exit $ac_status); }; } &&
99041 { ac_try='test -s conftest$ac_exeext'
99042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99043 (eval $ac_try) 2>&5
99044 ac_status=$?
99045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99046 (exit $ac_status); }; }; then
99047 eval "$as_ac_var=yes"
99048 else
99049 echo "$as_me: failed program was:" >&5
99050 sed 's/^/| /' conftest.$ac_ext >&5
99052 eval "$as_ac_var=no"
99054 rm -f conftest.err conftest.$ac_objext \
99055 conftest$ac_exeext conftest.$ac_ext
99057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99059 if test `eval echo '${'$as_ac_var'}'` = yes; then
99060 cat >>confdefs.h <<_ACEOF
99061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99062 _ACEOF
99065 done
99067 else
99069 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
99070 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
99071 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
99072 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
99073 echo $ECHO_N "(cached) $ECHO_C" >&6
99074 else
99078 ac_ext=cc
99079 ac_cpp='$CXXCPP $CPPFLAGS'
99080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99084 cat >conftest.$ac_ext <<_ACEOF
99085 /* confdefs.h. */
99086 _ACEOF
99087 cat confdefs.h >>conftest.$ac_ext
99088 cat >>conftest.$ac_ext <<_ACEOF
99089 /* end confdefs.h. */
99090 #include <math.h>
99091 #ifdef HAVE_IEEEFP_H
99092 #include <ieeefp.h>
99093 #endif
99096 main ()
99098 _isinfl(0);
99100 return 0;
99102 _ACEOF
99103 rm -f conftest.$ac_objext
99104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99105 (eval $ac_compile) 2>conftest.er1
99106 ac_status=$?
99107 grep -v '^ *+' conftest.er1 >conftest.err
99108 rm -f conftest.er1
99109 cat conftest.err >&5
99110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99111 (exit $ac_status); } &&
99112 { ac_try='test -z "$ac_cxx_werror_flag"
99113 || test ! -s conftest.err'
99114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99115 (eval $ac_try) 2>&5
99116 ac_status=$?
99117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99118 (exit $ac_status); }; } &&
99119 { ac_try='test -s conftest.$ac_objext'
99120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99121 (eval $ac_try) 2>&5
99122 ac_status=$?
99123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99124 (exit $ac_status); }; }; then
99125 glibcxx_cv_func__isinfl_use=yes
99126 else
99127 echo "$as_me: failed program was:" >&5
99128 sed 's/^/| /' conftest.$ac_ext >&5
99130 glibcxx_cv_func__isinfl_use=no
99132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99133 ac_ext=c
99134 ac_cpp='$CPP $CPPFLAGS'
99135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99143 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
99144 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
99146 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
99148 for ac_func in _isinfl
99150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99151 echo "$as_me:$LINENO: checking for $ac_func" >&5
99152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99153 if eval "test \"\${$as_ac_var+set}\" = set"; then
99154 echo $ECHO_N "(cached) $ECHO_C" >&6
99155 else
99156 if test x$gcc_no_link = xyes; then
99157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99159 { (exit 1); exit 1; }; }
99161 cat >conftest.$ac_ext <<_ACEOF
99162 /* confdefs.h. */
99163 _ACEOF
99164 cat confdefs.h >>conftest.$ac_ext
99165 cat >>conftest.$ac_ext <<_ACEOF
99166 /* end confdefs.h. */
99167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99169 #define $ac_func innocuous_$ac_func
99171 /* System header to define __stub macros and hopefully few prototypes,
99172 which can conflict with char $ac_func (); below.
99173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99174 <limits.h> exists even on freestanding compilers. */
99176 #ifdef __STDC__
99177 # include <limits.h>
99178 #else
99179 # include <assert.h>
99180 #endif
99182 #undef $ac_func
99184 /* Override any gcc2 internal prototype to avoid an error. */
99185 #ifdef __cplusplus
99186 extern "C"
99188 #endif
99189 /* We use char because int might match the return type of a gcc2
99190 builtin and then its argument prototype would still apply. */
99191 char $ac_func ();
99192 /* The GNU C library defines this for functions which it implements
99193 to always fail with ENOSYS. Some functions are actually named
99194 something starting with __ and the normal name is an alias. */
99195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99196 choke me
99197 #else
99198 char (*f) () = $ac_func;
99199 #endif
99200 #ifdef __cplusplus
99202 #endif
99205 main ()
99207 return f != $ac_func;
99209 return 0;
99211 _ACEOF
99212 rm -f conftest.$ac_objext conftest$ac_exeext
99213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99214 (eval $ac_link) 2>conftest.er1
99215 ac_status=$?
99216 grep -v '^ *+' conftest.er1 >conftest.err
99217 rm -f conftest.er1
99218 cat conftest.err >&5
99219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99220 (exit $ac_status); } &&
99221 { ac_try='test -z "$ac_c_werror_flag"
99222 || test ! -s conftest.err'
99223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99224 (eval $ac_try) 2>&5
99225 ac_status=$?
99226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99227 (exit $ac_status); }; } &&
99228 { ac_try='test -s conftest$ac_exeext'
99229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99230 (eval $ac_try) 2>&5
99231 ac_status=$?
99232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99233 (exit $ac_status); }; }; then
99234 eval "$as_ac_var=yes"
99235 else
99236 echo "$as_me: failed program was:" >&5
99237 sed 's/^/| /' conftest.$ac_ext >&5
99239 eval "$as_ac_var=no"
99241 rm -f conftest.err conftest.$ac_objext \
99242 conftest$ac_exeext conftest.$ac_ext
99244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99246 if test `eval echo '${'$as_ac_var'}'` = yes; then
99247 cat >>confdefs.h <<_ACEOF
99248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99249 _ACEOF
99252 done
99262 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
99263 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
99264 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
99265 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
99266 echo $ECHO_N "(cached) $ECHO_C" >&6
99267 else
99271 ac_ext=cc
99272 ac_cpp='$CXXCPP $CPPFLAGS'
99273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99277 cat >conftest.$ac_ext <<_ACEOF
99278 /* confdefs.h. */
99279 _ACEOF
99280 cat confdefs.h >>conftest.$ac_ext
99281 cat >>conftest.$ac_ext <<_ACEOF
99282 /* end confdefs.h. */
99283 #include <math.h>
99285 main ()
99287 copysignl(0, 0);
99289 return 0;
99291 _ACEOF
99292 rm -f conftest.$ac_objext
99293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99294 (eval $ac_compile) 2>conftest.er1
99295 ac_status=$?
99296 grep -v '^ *+' conftest.er1 >conftest.err
99297 rm -f conftest.er1
99298 cat conftest.err >&5
99299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99300 (exit $ac_status); } &&
99301 { ac_try='test -z "$ac_cxx_werror_flag"
99302 || test ! -s conftest.err'
99303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99304 (eval $ac_try) 2>&5
99305 ac_status=$?
99306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99307 (exit $ac_status); }; } &&
99308 { ac_try='test -s conftest.$ac_objext'
99309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99310 (eval $ac_try) 2>&5
99311 ac_status=$?
99312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99313 (exit $ac_status); }; }; then
99314 glibcxx_cv_func_copysignl_use=yes
99315 else
99316 echo "$as_me: failed program was:" >&5
99317 sed 's/^/| /' conftest.$ac_ext >&5
99319 glibcxx_cv_func_copysignl_use=no
99321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99322 ac_ext=c
99323 ac_cpp='$CPP $CPPFLAGS'
99324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99332 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
99333 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
99335 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
99337 for ac_func in copysignl
99339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99340 echo "$as_me:$LINENO: checking for $ac_func" >&5
99341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99342 if eval "test \"\${$as_ac_var+set}\" = set"; then
99343 echo $ECHO_N "(cached) $ECHO_C" >&6
99344 else
99345 if test x$gcc_no_link = xyes; then
99346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99348 { (exit 1); exit 1; }; }
99350 cat >conftest.$ac_ext <<_ACEOF
99351 /* confdefs.h. */
99352 _ACEOF
99353 cat confdefs.h >>conftest.$ac_ext
99354 cat >>conftest.$ac_ext <<_ACEOF
99355 /* end confdefs.h. */
99356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99358 #define $ac_func innocuous_$ac_func
99360 /* System header to define __stub macros and hopefully few prototypes,
99361 which can conflict with char $ac_func (); below.
99362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99363 <limits.h> exists even on freestanding compilers. */
99365 #ifdef __STDC__
99366 # include <limits.h>
99367 #else
99368 # include <assert.h>
99369 #endif
99371 #undef $ac_func
99373 /* Override any gcc2 internal prototype to avoid an error. */
99374 #ifdef __cplusplus
99375 extern "C"
99377 #endif
99378 /* We use char because int might match the return type of a gcc2
99379 builtin and then its argument prototype would still apply. */
99380 char $ac_func ();
99381 /* The GNU C library defines this for functions which it implements
99382 to always fail with ENOSYS. Some functions are actually named
99383 something starting with __ and the normal name is an alias. */
99384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99385 choke me
99386 #else
99387 char (*f) () = $ac_func;
99388 #endif
99389 #ifdef __cplusplus
99391 #endif
99394 main ()
99396 return f != $ac_func;
99398 return 0;
99400 _ACEOF
99401 rm -f conftest.$ac_objext conftest$ac_exeext
99402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99403 (eval $ac_link) 2>conftest.er1
99404 ac_status=$?
99405 grep -v '^ *+' conftest.er1 >conftest.err
99406 rm -f conftest.er1
99407 cat conftest.err >&5
99408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99409 (exit $ac_status); } &&
99410 { ac_try='test -z "$ac_c_werror_flag"
99411 || test ! -s conftest.err'
99412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99413 (eval $ac_try) 2>&5
99414 ac_status=$?
99415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99416 (exit $ac_status); }; } &&
99417 { ac_try='test -s conftest$ac_exeext'
99418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99419 (eval $ac_try) 2>&5
99420 ac_status=$?
99421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99422 (exit $ac_status); }; }; then
99423 eval "$as_ac_var=yes"
99424 else
99425 echo "$as_me: failed program was:" >&5
99426 sed 's/^/| /' conftest.$ac_ext >&5
99428 eval "$as_ac_var=no"
99430 rm -f conftest.err conftest.$ac_objext \
99431 conftest$ac_exeext conftest.$ac_ext
99433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99435 if test `eval echo '${'$as_ac_var'}'` = yes; then
99436 cat >>confdefs.h <<_ACEOF
99437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99438 _ACEOF
99441 done
99443 else
99445 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
99446 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
99447 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
99448 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
99449 echo $ECHO_N "(cached) $ECHO_C" >&6
99450 else
99454 ac_ext=cc
99455 ac_cpp='$CXXCPP $CPPFLAGS'
99456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99460 cat >conftest.$ac_ext <<_ACEOF
99461 /* confdefs.h. */
99462 _ACEOF
99463 cat confdefs.h >>conftest.$ac_ext
99464 cat >>conftest.$ac_ext <<_ACEOF
99465 /* end confdefs.h. */
99466 #include <math.h>
99468 main ()
99470 _copysignl(0, 0);
99472 return 0;
99474 _ACEOF
99475 rm -f conftest.$ac_objext
99476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99477 (eval $ac_compile) 2>conftest.er1
99478 ac_status=$?
99479 grep -v '^ *+' conftest.er1 >conftest.err
99480 rm -f conftest.er1
99481 cat conftest.err >&5
99482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99483 (exit $ac_status); } &&
99484 { ac_try='test -z "$ac_cxx_werror_flag"
99485 || test ! -s conftest.err'
99486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99487 (eval $ac_try) 2>&5
99488 ac_status=$?
99489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99490 (exit $ac_status); }; } &&
99491 { ac_try='test -s conftest.$ac_objext'
99492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99493 (eval $ac_try) 2>&5
99494 ac_status=$?
99495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99496 (exit $ac_status); }; }; then
99497 glibcxx_cv_func__copysignl_use=yes
99498 else
99499 echo "$as_me: failed program was:" >&5
99500 sed 's/^/| /' conftest.$ac_ext >&5
99502 glibcxx_cv_func__copysignl_use=no
99504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99505 ac_ext=c
99506 ac_cpp='$CPP $CPPFLAGS'
99507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99515 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
99516 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
99518 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
99520 for ac_func in _copysignl
99522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99523 echo "$as_me:$LINENO: checking for $ac_func" >&5
99524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99525 if eval "test \"\${$as_ac_var+set}\" = set"; then
99526 echo $ECHO_N "(cached) $ECHO_C" >&6
99527 else
99528 if test x$gcc_no_link = xyes; then
99529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99531 { (exit 1); exit 1; }; }
99533 cat >conftest.$ac_ext <<_ACEOF
99534 /* confdefs.h. */
99535 _ACEOF
99536 cat confdefs.h >>conftest.$ac_ext
99537 cat >>conftest.$ac_ext <<_ACEOF
99538 /* end confdefs.h. */
99539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99541 #define $ac_func innocuous_$ac_func
99543 /* System header to define __stub macros and hopefully few prototypes,
99544 which can conflict with char $ac_func (); below.
99545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99546 <limits.h> exists even on freestanding compilers. */
99548 #ifdef __STDC__
99549 # include <limits.h>
99550 #else
99551 # include <assert.h>
99552 #endif
99554 #undef $ac_func
99556 /* Override any gcc2 internal prototype to avoid an error. */
99557 #ifdef __cplusplus
99558 extern "C"
99560 #endif
99561 /* We use char because int might match the return type of a gcc2
99562 builtin and then its argument prototype would still apply. */
99563 char $ac_func ();
99564 /* The GNU C library defines this for functions which it implements
99565 to always fail with ENOSYS. Some functions are actually named
99566 something starting with __ and the normal name is an alias. */
99567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99568 choke me
99569 #else
99570 char (*f) () = $ac_func;
99571 #endif
99572 #ifdef __cplusplus
99574 #endif
99577 main ()
99579 return f != $ac_func;
99581 return 0;
99583 _ACEOF
99584 rm -f conftest.$ac_objext conftest$ac_exeext
99585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99586 (eval $ac_link) 2>conftest.er1
99587 ac_status=$?
99588 grep -v '^ *+' conftest.er1 >conftest.err
99589 rm -f conftest.er1
99590 cat conftest.err >&5
99591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99592 (exit $ac_status); } &&
99593 { ac_try='test -z "$ac_c_werror_flag"
99594 || test ! -s conftest.err'
99595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99596 (eval $ac_try) 2>&5
99597 ac_status=$?
99598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99599 (exit $ac_status); }; } &&
99600 { ac_try='test -s conftest$ac_exeext'
99601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99602 (eval $ac_try) 2>&5
99603 ac_status=$?
99604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99605 (exit $ac_status); }; }; then
99606 eval "$as_ac_var=yes"
99607 else
99608 echo "$as_me: failed program was:" >&5
99609 sed 's/^/| /' conftest.$ac_ext >&5
99611 eval "$as_ac_var=no"
99613 rm -f conftest.err conftest.$ac_objext \
99614 conftest$ac_exeext conftest.$ac_ext
99616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99618 if test `eval echo '${'$as_ac_var'}'` = yes; then
99619 cat >>confdefs.h <<_ACEOF
99620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99621 _ACEOF
99624 done
99634 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
99635 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
99636 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
99637 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
99638 echo $ECHO_N "(cached) $ECHO_C" >&6
99639 else
99643 ac_ext=cc
99644 ac_cpp='$CXXCPP $CPPFLAGS'
99645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99649 cat >conftest.$ac_ext <<_ACEOF
99650 /* confdefs.h. */
99651 _ACEOF
99652 cat confdefs.h >>conftest.$ac_ext
99653 cat >>conftest.$ac_ext <<_ACEOF
99654 /* end confdefs.h. */
99655 #include <math.h>
99657 main ()
99659 atan2l(0, 0);
99661 return 0;
99663 _ACEOF
99664 rm -f conftest.$ac_objext
99665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99666 (eval $ac_compile) 2>conftest.er1
99667 ac_status=$?
99668 grep -v '^ *+' conftest.er1 >conftest.err
99669 rm -f conftest.er1
99670 cat conftest.err >&5
99671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99672 (exit $ac_status); } &&
99673 { ac_try='test -z "$ac_cxx_werror_flag"
99674 || test ! -s conftest.err'
99675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99676 (eval $ac_try) 2>&5
99677 ac_status=$?
99678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99679 (exit $ac_status); }; } &&
99680 { ac_try='test -s conftest.$ac_objext'
99681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99682 (eval $ac_try) 2>&5
99683 ac_status=$?
99684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99685 (exit $ac_status); }; }; then
99686 glibcxx_cv_func_atan2l_use=yes
99687 else
99688 echo "$as_me: failed program was:" >&5
99689 sed 's/^/| /' conftest.$ac_ext >&5
99691 glibcxx_cv_func_atan2l_use=no
99693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99694 ac_ext=c
99695 ac_cpp='$CPP $CPPFLAGS'
99696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99704 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
99705 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
99707 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
99709 for ac_func in atan2l
99711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99712 echo "$as_me:$LINENO: checking for $ac_func" >&5
99713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99714 if eval "test \"\${$as_ac_var+set}\" = set"; then
99715 echo $ECHO_N "(cached) $ECHO_C" >&6
99716 else
99717 if test x$gcc_no_link = xyes; then
99718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99720 { (exit 1); exit 1; }; }
99722 cat >conftest.$ac_ext <<_ACEOF
99723 /* confdefs.h. */
99724 _ACEOF
99725 cat confdefs.h >>conftest.$ac_ext
99726 cat >>conftest.$ac_ext <<_ACEOF
99727 /* end confdefs.h. */
99728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99730 #define $ac_func innocuous_$ac_func
99732 /* System header to define __stub macros and hopefully few prototypes,
99733 which can conflict with char $ac_func (); below.
99734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99735 <limits.h> exists even on freestanding compilers. */
99737 #ifdef __STDC__
99738 # include <limits.h>
99739 #else
99740 # include <assert.h>
99741 #endif
99743 #undef $ac_func
99745 /* Override any gcc2 internal prototype to avoid an error. */
99746 #ifdef __cplusplus
99747 extern "C"
99749 #endif
99750 /* We use char because int might match the return type of a gcc2
99751 builtin and then its argument prototype would still apply. */
99752 char $ac_func ();
99753 /* The GNU C library defines this for functions which it implements
99754 to always fail with ENOSYS. Some functions are actually named
99755 something starting with __ and the normal name is an alias. */
99756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99757 choke me
99758 #else
99759 char (*f) () = $ac_func;
99760 #endif
99761 #ifdef __cplusplus
99763 #endif
99766 main ()
99768 return f != $ac_func;
99770 return 0;
99772 _ACEOF
99773 rm -f conftest.$ac_objext conftest$ac_exeext
99774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99775 (eval $ac_link) 2>conftest.er1
99776 ac_status=$?
99777 grep -v '^ *+' conftest.er1 >conftest.err
99778 rm -f conftest.er1
99779 cat conftest.err >&5
99780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99781 (exit $ac_status); } &&
99782 { ac_try='test -z "$ac_c_werror_flag"
99783 || test ! -s conftest.err'
99784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99785 (eval $ac_try) 2>&5
99786 ac_status=$?
99787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99788 (exit $ac_status); }; } &&
99789 { ac_try='test -s conftest$ac_exeext'
99790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99791 (eval $ac_try) 2>&5
99792 ac_status=$?
99793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99794 (exit $ac_status); }; }; then
99795 eval "$as_ac_var=yes"
99796 else
99797 echo "$as_me: failed program was:" >&5
99798 sed 's/^/| /' conftest.$ac_ext >&5
99800 eval "$as_ac_var=no"
99802 rm -f conftest.err conftest.$ac_objext \
99803 conftest$ac_exeext conftest.$ac_ext
99805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99807 if test `eval echo '${'$as_ac_var'}'` = yes; then
99808 cat >>confdefs.h <<_ACEOF
99809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99810 _ACEOF
99813 done
99815 else
99817 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
99818 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
99819 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
99820 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
99821 echo $ECHO_N "(cached) $ECHO_C" >&6
99822 else
99826 ac_ext=cc
99827 ac_cpp='$CXXCPP $CPPFLAGS'
99828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99832 cat >conftest.$ac_ext <<_ACEOF
99833 /* confdefs.h. */
99834 _ACEOF
99835 cat confdefs.h >>conftest.$ac_ext
99836 cat >>conftest.$ac_ext <<_ACEOF
99837 /* end confdefs.h. */
99838 #include <math.h>
99840 main ()
99842 _atan2l(0, 0);
99844 return 0;
99846 _ACEOF
99847 rm -f conftest.$ac_objext
99848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99849 (eval $ac_compile) 2>conftest.er1
99850 ac_status=$?
99851 grep -v '^ *+' conftest.er1 >conftest.err
99852 rm -f conftest.er1
99853 cat conftest.err >&5
99854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99855 (exit $ac_status); } &&
99856 { ac_try='test -z "$ac_cxx_werror_flag"
99857 || test ! -s conftest.err'
99858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99859 (eval $ac_try) 2>&5
99860 ac_status=$?
99861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99862 (exit $ac_status); }; } &&
99863 { ac_try='test -s conftest.$ac_objext'
99864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99865 (eval $ac_try) 2>&5
99866 ac_status=$?
99867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99868 (exit $ac_status); }; }; then
99869 glibcxx_cv_func__atan2l_use=yes
99870 else
99871 echo "$as_me: failed program was:" >&5
99872 sed 's/^/| /' conftest.$ac_ext >&5
99874 glibcxx_cv_func__atan2l_use=no
99876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99877 ac_ext=c
99878 ac_cpp='$CPP $CPPFLAGS'
99879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99887 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
99888 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
99890 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
99892 for ac_func in _atan2l
99894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99895 echo "$as_me:$LINENO: checking for $ac_func" >&5
99896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99897 if eval "test \"\${$as_ac_var+set}\" = set"; then
99898 echo $ECHO_N "(cached) $ECHO_C" >&6
99899 else
99900 if test x$gcc_no_link = xyes; then
99901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99903 { (exit 1); exit 1; }; }
99905 cat >conftest.$ac_ext <<_ACEOF
99906 /* confdefs.h. */
99907 _ACEOF
99908 cat confdefs.h >>conftest.$ac_ext
99909 cat >>conftest.$ac_ext <<_ACEOF
99910 /* end confdefs.h. */
99911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99913 #define $ac_func innocuous_$ac_func
99915 /* System header to define __stub macros and hopefully few prototypes,
99916 which can conflict with char $ac_func (); below.
99917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99918 <limits.h> exists even on freestanding compilers. */
99920 #ifdef __STDC__
99921 # include <limits.h>
99922 #else
99923 # include <assert.h>
99924 #endif
99926 #undef $ac_func
99928 /* Override any gcc2 internal prototype to avoid an error. */
99929 #ifdef __cplusplus
99930 extern "C"
99932 #endif
99933 /* We use char because int might match the return type of a gcc2
99934 builtin and then its argument prototype would still apply. */
99935 char $ac_func ();
99936 /* The GNU C library defines this for functions which it implements
99937 to always fail with ENOSYS. Some functions are actually named
99938 something starting with __ and the normal name is an alias. */
99939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99940 choke me
99941 #else
99942 char (*f) () = $ac_func;
99943 #endif
99944 #ifdef __cplusplus
99946 #endif
99949 main ()
99951 return f != $ac_func;
99953 return 0;
99955 _ACEOF
99956 rm -f conftest.$ac_objext conftest$ac_exeext
99957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99958 (eval $ac_link) 2>conftest.er1
99959 ac_status=$?
99960 grep -v '^ *+' conftest.er1 >conftest.err
99961 rm -f conftest.er1
99962 cat conftest.err >&5
99963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99964 (exit $ac_status); } &&
99965 { ac_try='test -z "$ac_c_werror_flag"
99966 || test ! -s conftest.err'
99967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99968 (eval $ac_try) 2>&5
99969 ac_status=$?
99970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99971 (exit $ac_status); }; } &&
99972 { ac_try='test -s conftest$ac_exeext'
99973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99974 (eval $ac_try) 2>&5
99975 ac_status=$?
99976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99977 (exit $ac_status); }; }; then
99978 eval "$as_ac_var=yes"
99979 else
99980 echo "$as_me: failed program was:" >&5
99981 sed 's/^/| /' conftest.$ac_ext >&5
99983 eval "$as_ac_var=no"
99985 rm -f conftest.err conftest.$ac_objext \
99986 conftest$ac_exeext conftest.$ac_ext
99988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99990 if test `eval echo '${'$as_ac_var'}'` = yes; then
99991 cat >>confdefs.h <<_ACEOF
99992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99993 _ACEOF
99996 done
100006 echo "$as_me:$LINENO: checking for expl declaration" >&5
100007 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
100008 if test x${glibcxx_cv_func_expl_use+set} != xset; then
100009 if test "${glibcxx_cv_func_expl_use+set}" = set; then
100010 echo $ECHO_N "(cached) $ECHO_C" >&6
100015 ac_ext=cc
100016 ac_cpp='$CXXCPP $CPPFLAGS'
100017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100021 cat >conftest.$ac_ext <<_ACEOF
100022 /* confdefs.h. */
100023 _ACEOF
100024 cat confdefs.h >>conftest.$ac_ext
100025 cat >>conftest.$ac_ext <<_ACEOF
100026 /* end confdefs.h. */
100027 #include <math.h>
100028 #ifdef HAVE_IEEEFP_H
100029 #include <ieeefp.h>
100030 #endif
100033 main ()
100035 expl(0);
100037 return 0;
100039 _ACEOF
100040 rm -f conftest.$ac_objext
100041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100042 (eval $ac_compile) 2>conftest.er1
100043 ac_status=$?
100044 grep -v '^ *+' conftest.er1 >conftest.err
100045 rm -f conftest.er1
100046 cat conftest.err >&5
100047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100048 (exit $ac_status); } &&
100049 { ac_try='test -z "$ac_cxx_werror_flag"
100050 || test ! -s conftest.err'
100051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100052 (eval $ac_try) 2>&5
100053 ac_status=$?
100054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100055 (exit $ac_status); }; } &&
100056 { ac_try='test -s conftest.$ac_objext'
100057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100058 (eval $ac_try) 2>&5
100059 ac_status=$?
100060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100061 (exit $ac_status); }; }; then
100062 glibcxx_cv_func_expl_use=yes
100064 echo "$as_me: failed program was:" >&5
100065 sed 's/^/| /' conftest.$ac_ext >&5
100067 glibcxx_cv_func_expl_use=no
100069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100070 ac_ext=c
100071 ac_cpp='$CPP $CPPFLAGS'
100072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100080 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
100081 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
100083 if test x$glibcxx_cv_func_expl_use = x"yes"; then
100085 for ac_func in expl
100087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100088 echo "$as_me:$LINENO: checking for $ac_func" >&5
100089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100090 if eval "test \"\${$as_ac_var+set}\" = set"; then
100091 echo $ECHO_N "(cached) $ECHO_C" >&6
100093 if test x$gcc_no_link = xyes; then
100094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100096 { (exit 1); exit 1; }; }
100098 cat >conftest.$ac_ext <<_ACEOF
100099 /* confdefs.h. */
100100 _ACEOF
100101 cat confdefs.h >>conftest.$ac_ext
100102 cat >>conftest.$ac_ext <<_ACEOF
100103 /* end confdefs.h. */
100104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100106 #define $ac_func innocuous_$ac_func
100108 /* System header to define __stub macros and hopefully few prototypes,
100109 which can conflict with char $ac_func (); below.
100110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100111 <limits.h> exists even on freestanding compilers. */
100113 #ifdef __STDC__
100114 # include <limits.h>
100115 #else
100116 # include <assert.h>
100117 #endif
100119 #undef $ac_func
100121 /* Override any gcc2 internal prototype to avoid an error. */
100122 #ifdef __cplusplus
100123 extern "C"
100125 #endif
100126 /* We use char because int might match the return type of a gcc2
100127 builtin and then its argument prototype would still apply. */
100128 char $ac_func ();
100129 /* The GNU C library defines this for functions which it implements
100130 to always fail with ENOSYS. Some functions are actually named
100131 something starting with __ and the normal name is an alias. */
100132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100133 choke me
100134 #else
100135 char (*f) () = $ac_func;
100136 #endif
100137 #ifdef __cplusplus
100139 #endif
100142 main ()
100144 return f != $ac_func;
100146 return 0;
100148 _ACEOF
100149 rm -f conftest.$ac_objext conftest$ac_exeext
100150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100151 (eval $ac_link) 2>conftest.er1
100152 ac_status=$?
100153 grep -v '^ *+' conftest.er1 >conftest.err
100154 rm -f conftest.er1
100155 cat conftest.err >&5
100156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100157 (exit $ac_status); } &&
100158 { ac_try='test -z "$ac_c_werror_flag"
100159 || test ! -s conftest.err'
100160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100161 (eval $ac_try) 2>&5
100162 ac_status=$?
100163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100164 (exit $ac_status); }; } &&
100165 { ac_try='test -s conftest$ac_exeext'
100166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100167 (eval $ac_try) 2>&5
100168 ac_status=$?
100169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100170 (exit $ac_status); }; }; then
100171 eval "$as_ac_var=yes"
100173 echo "$as_me: failed program was:" >&5
100174 sed 's/^/| /' conftest.$ac_ext >&5
100176 eval "$as_ac_var=no"
100178 rm -f conftest.err conftest.$ac_objext \
100179 conftest$ac_exeext conftest.$ac_ext
100181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100183 if test `eval echo '${'$as_ac_var'}'` = yes; then
100184 cat >>confdefs.h <<_ACEOF
100185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100186 _ACEOF
100193 echo "$as_me:$LINENO: checking for _expl declaration" >&5
100194 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
100195 if test x${glibcxx_cv_func__expl_use+set} != xset; then
100196 if test "${glibcxx_cv_func__expl_use+set}" = set; then
100197 echo $ECHO_N "(cached) $ECHO_C" >&6
100202 ac_ext=cc
100203 ac_cpp='$CXXCPP $CPPFLAGS'
100204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100208 cat >conftest.$ac_ext <<_ACEOF
100209 /* confdefs.h. */
100210 _ACEOF
100211 cat confdefs.h >>conftest.$ac_ext
100212 cat >>conftest.$ac_ext <<_ACEOF
100213 /* end confdefs.h. */
100214 #include <math.h>
100215 #ifdef HAVE_IEEEFP_H
100216 #include <ieeefp.h>
100217 #endif
100220 main ()
100222 _expl(0);
100224 return 0;
100226 _ACEOF
100227 rm -f conftest.$ac_objext
100228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100229 (eval $ac_compile) 2>conftest.er1
100230 ac_status=$?
100231 grep -v '^ *+' conftest.er1 >conftest.err
100232 rm -f conftest.er1
100233 cat conftest.err >&5
100234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100235 (exit $ac_status); } &&
100236 { ac_try='test -z "$ac_cxx_werror_flag"
100237 || test ! -s conftest.err'
100238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100239 (eval $ac_try) 2>&5
100240 ac_status=$?
100241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100242 (exit $ac_status); }; } &&
100243 { ac_try='test -s conftest.$ac_objext'
100244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100245 (eval $ac_try) 2>&5
100246 ac_status=$?
100247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100248 (exit $ac_status); }; }; then
100249 glibcxx_cv_func__expl_use=yes
100251 echo "$as_me: failed program was:" >&5
100252 sed 's/^/| /' conftest.$ac_ext >&5
100254 glibcxx_cv_func__expl_use=no
100256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100257 ac_ext=c
100258 ac_cpp='$CPP $CPPFLAGS'
100259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100267 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
100268 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
100270 if test x$glibcxx_cv_func__expl_use = x"yes"; then
100272 for ac_func in _expl
100274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100275 echo "$as_me:$LINENO: checking for $ac_func" >&5
100276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100277 if eval "test \"\${$as_ac_var+set}\" = set"; then
100278 echo $ECHO_N "(cached) $ECHO_C" >&6
100280 if test x$gcc_no_link = xyes; then
100281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100283 { (exit 1); exit 1; }; }
100285 cat >conftest.$ac_ext <<_ACEOF
100286 /* confdefs.h. */
100287 _ACEOF
100288 cat confdefs.h >>conftest.$ac_ext
100289 cat >>conftest.$ac_ext <<_ACEOF
100290 /* end confdefs.h. */
100291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100293 #define $ac_func innocuous_$ac_func
100295 /* System header to define __stub macros and hopefully few prototypes,
100296 which can conflict with char $ac_func (); below.
100297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100298 <limits.h> exists even on freestanding compilers. */
100300 #ifdef __STDC__
100301 # include <limits.h>
100302 #else
100303 # include <assert.h>
100304 #endif
100306 #undef $ac_func
100308 /* Override any gcc2 internal prototype to avoid an error. */
100309 #ifdef __cplusplus
100310 extern "C"
100312 #endif
100313 /* We use char because int might match the return type of a gcc2
100314 builtin and then its argument prototype would still apply. */
100315 char $ac_func ();
100316 /* The GNU C library defines this for functions which it implements
100317 to always fail with ENOSYS. Some functions are actually named
100318 something starting with __ and the normal name is an alias. */
100319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100320 choke me
100321 #else
100322 char (*f) () = $ac_func;
100323 #endif
100324 #ifdef __cplusplus
100326 #endif
100329 main ()
100331 return f != $ac_func;
100333 return 0;
100335 _ACEOF
100336 rm -f conftest.$ac_objext conftest$ac_exeext
100337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100338 (eval $ac_link) 2>conftest.er1
100339 ac_status=$?
100340 grep -v '^ *+' conftest.er1 >conftest.err
100341 rm -f conftest.er1
100342 cat conftest.err >&5
100343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100344 (exit $ac_status); } &&
100345 { ac_try='test -z "$ac_c_werror_flag"
100346 || test ! -s conftest.err'
100347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100348 (eval $ac_try) 2>&5
100349 ac_status=$?
100350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100351 (exit $ac_status); }; } &&
100352 { ac_try='test -s conftest$ac_exeext'
100353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100354 (eval $ac_try) 2>&5
100355 ac_status=$?
100356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100357 (exit $ac_status); }; }; then
100358 eval "$as_ac_var=yes"
100360 echo "$as_me: failed program was:" >&5
100361 sed 's/^/| /' conftest.$ac_ext >&5
100363 eval "$as_ac_var=no"
100365 rm -f conftest.err conftest.$ac_objext \
100366 conftest$ac_exeext conftest.$ac_ext
100368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100370 if test `eval echo '${'$as_ac_var'}'` = yes; then
100371 cat >>confdefs.h <<_ACEOF
100372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100373 _ACEOF
100386 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
100387 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
100388 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
100389 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
100390 echo $ECHO_N "(cached) $ECHO_C" >&6
100395 ac_ext=cc
100396 ac_cpp='$CXXCPP $CPPFLAGS'
100397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100401 cat >conftest.$ac_ext <<_ACEOF
100402 /* confdefs.h. */
100403 _ACEOF
100404 cat confdefs.h >>conftest.$ac_ext
100405 cat >>conftest.$ac_ext <<_ACEOF
100406 /* end confdefs.h. */
100407 #include <math.h>
100408 #ifdef HAVE_IEEEFP_H
100409 #include <ieeefp.h>
100410 #endif
100413 main ()
100415 fabsl(0);
100417 return 0;
100419 _ACEOF
100420 rm -f conftest.$ac_objext
100421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100422 (eval $ac_compile) 2>conftest.er1
100423 ac_status=$?
100424 grep -v '^ *+' conftest.er1 >conftest.err
100425 rm -f conftest.er1
100426 cat conftest.err >&5
100427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100428 (exit $ac_status); } &&
100429 { ac_try='test -z "$ac_cxx_werror_flag"
100430 || test ! -s conftest.err'
100431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100432 (eval $ac_try) 2>&5
100433 ac_status=$?
100434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100435 (exit $ac_status); }; } &&
100436 { ac_try='test -s conftest.$ac_objext'
100437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100438 (eval $ac_try) 2>&5
100439 ac_status=$?
100440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100441 (exit $ac_status); }; }; then
100442 glibcxx_cv_func_fabsl_use=yes
100444 echo "$as_me: failed program was:" >&5
100445 sed 's/^/| /' conftest.$ac_ext >&5
100447 glibcxx_cv_func_fabsl_use=no
100449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100450 ac_ext=c
100451 ac_cpp='$CPP $CPPFLAGS'
100452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100460 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
100461 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
100463 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
100465 for ac_func in fabsl
100467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100468 echo "$as_me:$LINENO: checking for $ac_func" >&5
100469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100470 if eval "test \"\${$as_ac_var+set}\" = set"; then
100471 echo $ECHO_N "(cached) $ECHO_C" >&6
100473 if test x$gcc_no_link = xyes; then
100474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100476 { (exit 1); exit 1; }; }
100478 cat >conftest.$ac_ext <<_ACEOF
100479 /* confdefs.h. */
100480 _ACEOF
100481 cat confdefs.h >>conftest.$ac_ext
100482 cat >>conftest.$ac_ext <<_ACEOF
100483 /* end confdefs.h. */
100484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100486 #define $ac_func innocuous_$ac_func
100488 /* System header to define __stub macros and hopefully few prototypes,
100489 which can conflict with char $ac_func (); below.
100490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100491 <limits.h> exists even on freestanding compilers. */
100493 #ifdef __STDC__
100494 # include <limits.h>
100495 #else
100496 # include <assert.h>
100497 #endif
100499 #undef $ac_func
100501 /* Override any gcc2 internal prototype to avoid an error. */
100502 #ifdef __cplusplus
100503 extern "C"
100505 #endif
100506 /* We use char because int might match the return type of a gcc2
100507 builtin and then its argument prototype would still apply. */
100508 char $ac_func ();
100509 /* The GNU C library defines this for functions which it implements
100510 to always fail with ENOSYS. Some functions are actually named
100511 something starting with __ and the normal name is an alias. */
100512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100513 choke me
100514 #else
100515 char (*f) () = $ac_func;
100516 #endif
100517 #ifdef __cplusplus
100519 #endif
100522 main ()
100524 return f != $ac_func;
100526 return 0;
100528 _ACEOF
100529 rm -f conftest.$ac_objext conftest$ac_exeext
100530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100531 (eval $ac_link) 2>conftest.er1
100532 ac_status=$?
100533 grep -v '^ *+' conftest.er1 >conftest.err
100534 rm -f conftest.er1
100535 cat conftest.err >&5
100536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100537 (exit $ac_status); } &&
100538 { ac_try='test -z "$ac_c_werror_flag"
100539 || test ! -s conftest.err'
100540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100541 (eval $ac_try) 2>&5
100542 ac_status=$?
100543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100544 (exit $ac_status); }; } &&
100545 { ac_try='test -s conftest$ac_exeext'
100546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100547 (eval $ac_try) 2>&5
100548 ac_status=$?
100549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100550 (exit $ac_status); }; }; then
100551 eval "$as_ac_var=yes"
100553 echo "$as_me: failed program was:" >&5
100554 sed 's/^/| /' conftest.$ac_ext >&5
100556 eval "$as_ac_var=no"
100558 rm -f conftest.err conftest.$ac_objext \
100559 conftest$ac_exeext conftest.$ac_ext
100561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100563 if test `eval echo '${'$as_ac_var'}'` = yes; then
100564 cat >>confdefs.h <<_ACEOF
100565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100566 _ACEOF
100573 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
100574 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
100575 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
100576 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
100577 echo $ECHO_N "(cached) $ECHO_C" >&6
100582 ac_ext=cc
100583 ac_cpp='$CXXCPP $CPPFLAGS'
100584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100588 cat >conftest.$ac_ext <<_ACEOF
100589 /* confdefs.h. */
100590 _ACEOF
100591 cat confdefs.h >>conftest.$ac_ext
100592 cat >>conftest.$ac_ext <<_ACEOF
100593 /* end confdefs.h. */
100594 #include <math.h>
100595 #ifdef HAVE_IEEEFP_H
100596 #include <ieeefp.h>
100597 #endif
100600 main ()
100602 _fabsl(0);
100604 return 0;
100606 _ACEOF
100607 rm -f conftest.$ac_objext
100608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100609 (eval $ac_compile) 2>conftest.er1
100610 ac_status=$?
100611 grep -v '^ *+' conftest.er1 >conftest.err
100612 rm -f conftest.er1
100613 cat conftest.err >&5
100614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100615 (exit $ac_status); } &&
100616 { ac_try='test -z "$ac_cxx_werror_flag"
100617 || test ! -s conftest.err'
100618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100619 (eval $ac_try) 2>&5
100620 ac_status=$?
100621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100622 (exit $ac_status); }; } &&
100623 { ac_try='test -s conftest.$ac_objext'
100624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100625 (eval $ac_try) 2>&5
100626 ac_status=$?
100627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100628 (exit $ac_status); }; }; then
100629 glibcxx_cv_func__fabsl_use=yes
100631 echo "$as_me: failed program was:" >&5
100632 sed 's/^/| /' conftest.$ac_ext >&5
100634 glibcxx_cv_func__fabsl_use=no
100636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100637 ac_ext=c
100638 ac_cpp='$CPP $CPPFLAGS'
100639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100647 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
100648 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
100650 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
100652 for ac_func in _fabsl
100654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100655 echo "$as_me:$LINENO: checking for $ac_func" >&5
100656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100657 if eval "test \"\${$as_ac_var+set}\" = set"; then
100658 echo $ECHO_N "(cached) $ECHO_C" >&6
100660 if test x$gcc_no_link = xyes; then
100661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100663 { (exit 1); exit 1; }; }
100665 cat >conftest.$ac_ext <<_ACEOF
100666 /* confdefs.h. */
100667 _ACEOF
100668 cat confdefs.h >>conftest.$ac_ext
100669 cat >>conftest.$ac_ext <<_ACEOF
100670 /* end confdefs.h. */
100671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100673 #define $ac_func innocuous_$ac_func
100675 /* System header to define __stub macros and hopefully few prototypes,
100676 which can conflict with char $ac_func (); below.
100677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100678 <limits.h> exists even on freestanding compilers. */
100680 #ifdef __STDC__
100681 # include <limits.h>
100682 #else
100683 # include <assert.h>
100684 #endif
100686 #undef $ac_func
100688 /* Override any gcc2 internal prototype to avoid an error. */
100689 #ifdef __cplusplus
100690 extern "C"
100692 #endif
100693 /* We use char because int might match the return type of a gcc2
100694 builtin and then its argument prototype would still apply. */
100695 char $ac_func ();
100696 /* The GNU C library defines this for functions which it implements
100697 to always fail with ENOSYS. Some functions are actually named
100698 something starting with __ and the normal name is an alias. */
100699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100700 choke me
100701 #else
100702 char (*f) () = $ac_func;
100703 #endif
100704 #ifdef __cplusplus
100706 #endif
100709 main ()
100711 return f != $ac_func;
100713 return 0;
100715 _ACEOF
100716 rm -f conftest.$ac_objext conftest$ac_exeext
100717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100718 (eval $ac_link) 2>conftest.er1
100719 ac_status=$?
100720 grep -v '^ *+' conftest.er1 >conftest.err
100721 rm -f conftest.er1
100722 cat conftest.err >&5
100723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100724 (exit $ac_status); } &&
100725 { ac_try='test -z "$ac_c_werror_flag"
100726 || test ! -s conftest.err'
100727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100728 (eval $ac_try) 2>&5
100729 ac_status=$?
100730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100731 (exit $ac_status); }; } &&
100732 { ac_try='test -s conftest$ac_exeext'
100733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100734 (eval $ac_try) 2>&5
100735 ac_status=$?
100736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100737 (exit $ac_status); }; }; then
100738 eval "$as_ac_var=yes"
100740 echo "$as_me: failed program was:" >&5
100741 sed 's/^/| /' conftest.$ac_ext >&5
100743 eval "$as_ac_var=no"
100745 rm -f conftest.err conftest.$ac_objext \
100746 conftest$ac_exeext conftest.$ac_ext
100748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100750 if test `eval echo '${'$as_ac_var'}'` = yes; then
100751 cat >>confdefs.h <<_ACEOF
100752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100753 _ACEOF
100766 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
100767 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
100768 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
100769 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
100770 echo $ECHO_N "(cached) $ECHO_C" >&6
100775 ac_ext=cc
100776 ac_cpp='$CXXCPP $CPPFLAGS'
100777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100781 cat >conftest.$ac_ext <<_ACEOF
100782 /* confdefs.h. */
100783 _ACEOF
100784 cat confdefs.h >>conftest.$ac_ext
100785 cat >>conftest.$ac_ext <<_ACEOF
100786 /* end confdefs.h. */
100787 #include <math.h>
100789 main ()
100791 fmodl(0, 0);
100793 return 0;
100795 _ACEOF
100796 rm -f conftest.$ac_objext
100797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100798 (eval $ac_compile) 2>conftest.er1
100799 ac_status=$?
100800 grep -v '^ *+' conftest.er1 >conftest.err
100801 rm -f conftest.er1
100802 cat conftest.err >&5
100803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100804 (exit $ac_status); } &&
100805 { ac_try='test -z "$ac_cxx_werror_flag"
100806 || test ! -s conftest.err'
100807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100808 (eval $ac_try) 2>&5
100809 ac_status=$?
100810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100811 (exit $ac_status); }; } &&
100812 { ac_try='test -s conftest.$ac_objext'
100813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100814 (eval $ac_try) 2>&5
100815 ac_status=$?
100816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100817 (exit $ac_status); }; }; then
100818 glibcxx_cv_func_fmodl_use=yes
100820 echo "$as_me: failed program was:" >&5
100821 sed 's/^/| /' conftest.$ac_ext >&5
100823 glibcxx_cv_func_fmodl_use=no
100825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100826 ac_ext=c
100827 ac_cpp='$CPP $CPPFLAGS'
100828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100836 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
100837 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
100839 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
100841 for ac_func in fmodl
100843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100844 echo "$as_me:$LINENO: checking for $ac_func" >&5
100845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100846 if eval "test \"\${$as_ac_var+set}\" = set"; then
100847 echo $ECHO_N "(cached) $ECHO_C" >&6
100849 if test x$gcc_no_link = xyes; then
100850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100852 { (exit 1); exit 1; }; }
100854 cat >conftest.$ac_ext <<_ACEOF
100855 /* confdefs.h. */
100856 _ACEOF
100857 cat confdefs.h >>conftest.$ac_ext
100858 cat >>conftest.$ac_ext <<_ACEOF
100859 /* end confdefs.h. */
100860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100862 #define $ac_func innocuous_$ac_func
100864 /* System header to define __stub macros and hopefully few prototypes,
100865 which can conflict with char $ac_func (); below.
100866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100867 <limits.h> exists even on freestanding compilers. */
100869 #ifdef __STDC__
100870 # include <limits.h>
100871 #else
100872 # include <assert.h>
100873 #endif
100875 #undef $ac_func
100877 /* Override any gcc2 internal prototype to avoid an error. */
100878 #ifdef __cplusplus
100879 extern "C"
100881 #endif
100882 /* We use char because int might match the return type of a gcc2
100883 builtin and then its argument prototype would still apply. */
100884 char $ac_func ();
100885 /* The GNU C library defines this for functions which it implements
100886 to always fail with ENOSYS. Some functions are actually named
100887 something starting with __ and the normal name is an alias. */
100888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100889 choke me
100890 #else
100891 char (*f) () = $ac_func;
100892 #endif
100893 #ifdef __cplusplus
100895 #endif
100898 main ()
100900 return f != $ac_func;
100902 return 0;
100904 _ACEOF
100905 rm -f conftest.$ac_objext conftest$ac_exeext
100906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100907 (eval $ac_link) 2>conftest.er1
100908 ac_status=$?
100909 grep -v '^ *+' conftest.er1 >conftest.err
100910 rm -f conftest.er1
100911 cat conftest.err >&5
100912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100913 (exit $ac_status); } &&
100914 { ac_try='test -z "$ac_c_werror_flag"
100915 || test ! -s conftest.err'
100916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100917 (eval $ac_try) 2>&5
100918 ac_status=$?
100919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100920 (exit $ac_status); }; } &&
100921 { ac_try='test -s conftest$ac_exeext'
100922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100923 (eval $ac_try) 2>&5
100924 ac_status=$?
100925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100926 (exit $ac_status); }; }; then
100927 eval "$as_ac_var=yes"
100929 echo "$as_me: failed program was:" >&5
100930 sed 's/^/| /' conftest.$ac_ext >&5
100932 eval "$as_ac_var=no"
100934 rm -f conftest.err conftest.$ac_objext \
100935 conftest$ac_exeext conftest.$ac_ext
100937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100939 if test `eval echo '${'$as_ac_var'}'` = yes; then
100940 cat >>confdefs.h <<_ACEOF
100941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100942 _ACEOF
100949 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
100950 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
100951 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
100952 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
100953 echo $ECHO_N "(cached) $ECHO_C" >&6
100958 ac_ext=cc
100959 ac_cpp='$CXXCPP $CPPFLAGS'
100960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100964 cat >conftest.$ac_ext <<_ACEOF
100965 /* confdefs.h. */
100966 _ACEOF
100967 cat confdefs.h >>conftest.$ac_ext
100968 cat >>conftest.$ac_ext <<_ACEOF
100969 /* end confdefs.h. */
100970 #include <math.h>
100972 main ()
100974 _fmodl(0, 0);
100976 return 0;
100978 _ACEOF
100979 rm -f conftest.$ac_objext
100980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100981 (eval $ac_compile) 2>conftest.er1
100982 ac_status=$?
100983 grep -v '^ *+' conftest.er1 >conftest.err
100984 rm -f conftest.er1
100985 cat conftest.err >&5
100986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100987 (exit $ac_status); } &&
100988 { ac_try='test -z "$ac_cxx_werror_flag"
100989 || test ! -s conftest.err'
100990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100991 (eval $ac_try) 2>&5
100992 ac_status=$?
100993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100994 (exit $ac_status); }; } &&
100995 { ac_try='test -s conftest.$ac_objext'
100996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100997 (eval $ac_try) 2>&5
100998 ac_status=$?
100999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101000 (exit $ac_status); }; }; then
101001 glibcxx_cv_func__fmodl_use=yes
101003 echo "$as_me: failed program was:" >&5
101004 sed 's/^/| /' conftest.$ac_ext >&5
101006 glibcxx_cv_func__fmodl_use=no
101008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101009 ac_ext=c
101010 ac_cpp='$CPP $CPPFLAGS'
101011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101019 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
101020 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
101022 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
101024 for ac_func in _fmodl
101026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101027 echo "$as_me:$LINENO: checking for $ac_func" >&5
101028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101029 if eval "test \"\${$as_ac_var+set}\" = set"; then
101030 echo $ECHO_N "(cached) $ECHO_C" >&6
101032 if test x$gcc_no_link = xyes; then
101033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101035 { (exit 1); exit 1; }; }
101037 cat >conftest.$ac_ext <<_ACEOF
101038 /* confdefs.h. */
101039 _ACEOF
101040 cat confdefs.h >>conftest.$ac_ext
101041 cat >>conftest.$ac_ext <<_ACEOF
101042 /* end confdefs.h. */
101043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101045 #define $ac_func innocuous_$ac_func
101047 /* System header to define __stub macros and hopefully few prototypes,
101048 which can conflict with char $ac_func (); below.
101049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101050 <limits.h> exists even on freestanding compilers. */
101052 #ifdef __STDC__
101053 # include <limits.h>
101054 #else
101055 # include <assert.h>
101056 #endif
101058 #undef $ac_func
101060 /* Override any gcc2 internal prototype to avoid an error. */
101061 #ifdef __cplusplus
101062 extern "C"
101064 #endif
101065 /* We use char because int might match the return type of a gcc2
101066 builtin and then its argument prototype would still apply. */
101067 char $ac_func ();
101068 /* The GNU C library defines this for functions which it implements
101069 to always fail with ENOSYS. Some functions are actually named
101070 something starting with __ and the normal name is an alias. */
101071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101072 choke me
101073 #else
101074 char (*f) () = $ac_func;
101075 #endif
101076 #ifdef __cplusplus
101078 #endif
101081 main ()
101083 return f != $ac_func;
101085 return 0;
101087 _ACEOF
101088 rm -f conftest.$ac_objext conftest$ac_exeext
101089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101090 (eval $ac_link) 2>conftest.er1
101091 ac_status=$?
101092 grep -v '^ *+' conftest.er1 >conftest.err
101093 rm -f conftest.er1
101094 cat conftest.err >&5
101095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101096 (exit $ac_status); } &&
101097 { ac_try='test -z "$ac_c_werror_flag"
101098 || test ! -s conftest.err'
101099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101100 (eval $ac_try) 2>&5
101101 ac_status=$?
101102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101103 (exit $ac_status); }; } &&
101104 { ac_try='test -s conftest$ac_exeext'
101105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101106 (eval $ac_try) 2>&5
101107 ac_status=$?
101108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101109 (exit $ac_status); }; }; then
101110 eval "$as_ac_var=yes"
101112 echo "$as_me: failed program was:" >&5
101113 sed 's/^/| /' conftest.$ac_ext >&5
101115 eval "$as_ac_var=no"
101117 rm -f conftest.err conftest.$ac_objext \
101118 conftest$ac_exeext conftest.$ac_ext
101120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101122 if test `eval echo '${'$as_ac_var'}'` = yes; then
101123 cat >>confdefs.h <<_ACEOF
101124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101125 _ACEOF
101138 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
101139 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
101140 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
101141 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
101142 echo $ECHO_N "(cached) $ECHO_C" >&6
101147 ac_ext=cc
101148 ac_cpp='$CXXCPP $CPPFLAGS'
101149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101153 cat >conftest.$ac_ext <<_ACEOF
101154 /* confdefs.h. */
101155 _ACEOF
101156 cat confdefs.h >>conftest.$ac_ext
101157 cat >>conftest.$ac_ext <<_ACEOF
101158 /* end confdefs.h. */
101159 #include <math.h>
101161 main ()
101163 frexpl(0, 0);
101165 return 0;
101167 _ACEOF
101168 rm -f conftest.$ac_objext
101169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101170 (eval $ac_compile) 2>conftest.er1
101171 ac_status=$?
101172 grep -v '^ *+' conftest.er1 >conftest.err
101173 rm -f conftest.er1
101174 cat conftest.err >&5
101175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101176 (exit $ac_status); } &&
101177 { ac_try='test -z "$ac_cxx_werror_flag"
101178 || test ! -s conftest.err'
101179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101180 (eval $ac_try) 2>&5
101181 ac_status=$?
101182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101183 (exit $ac_status); }; } &&
101184 { ac_try='test -s conftest.$ac_objext'
101185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101186 (eval $ac_try) 2>&5
101187 ac_status=$?
101188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101189 (exit $ac_status); }; }; then
101190 glibcxx_cv_func_frexpl_use=yes
101192 echo "$as_me: failed program was:" >&5
101193 sed 's/^/| /' conftest.$ac_ext >&5
101195 glibcxx_cv_func_frexpl_use=no
101197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101198 ac_ext=c
101199 ac_cpp='$CPP $CPPFLAGS'
101200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101208 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
101209 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
101211 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
101213 for ac_func in frexpl
101215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101216 echo "$as_me:$LINENO: checking for $ac_func" >&5
101217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101218 if eval "test \"\${$as_ac_var+set}\" = set"; then
101219 echo $ECHO_N "(cached) $ECHO_C" >&6
101221 if test x$gcc_no_link = xyes; then
101222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101224 { (exit 1); exit 1; }; }
101226 cat >conftest.$ac_ext <<_ACEOF
101227 /* confdefs.h. */
101228 _ACEOF
101229 cat confdefs.h >>conftest.$ac_ext
101230 cat >>conftest.$ac_ext <<_ACEOF
101231 /* end confdefs.h. */
101232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101234 #define $ac_func innocuous_$ac_func
101236 /* System header to define __stub macros and hopefully few prototypes,
101237 which can conflict with char $ac_func (); below.
101238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101239 <limits.h> exists even on freestanding compilers. */
101241 #ifdef __STDC__
101242 # include <limits.h>
101243 #else
101244 # include <assert.h>
101245 #endif
101247 #undef $ac_func
101249 /* Override any gcc2 internal prototype to avoid an error. */
101250 #ifdef __cplusplus
101251 extern "C"
101253 #endif
101254 /* We use char because int might match the return type of a gcc2
101255 builtin and then its argument prototype would still apply. */
101256 char $ac_func ();
101257 /* The GNU C library defines this for functions which it implements
101258 to always fail with ENOSYS. Some functions are actually named
101259 something starting with __ and the normal name is an alias. */
101260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101261 choke me
101262 #else
101263 char (*f) () = $ac_func;
101264 #endif
101265 #ifdef __cplusplus
101267 #endif
101270 main ()
101272 return f != $ac_func;
101274 return 0;
101276 _ACEOF
101277 rm -f conftest.$ac_objext conftest$ac_exeext
101278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101279 (eval $ac_link) 2>conftest.er1
101280 ac_status=$?
101281 grep -v '^ *+' conftest.er1 >conftest.err
101282 rm -f conftest.er1
101283 cat conftest.err >&5
101284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101285 (exit $ac_status); } &&
101286 { ac_try='test -z "$ac_c_werror_flag"
101287 || test ! -s conftest.err'
101288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101289 (eval $ac_try) 2>&5
101290 ac_status=$?
101291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101292 (exit $ac_status); }; } &&
101293 { ac_try='test -s conftest$ac_exeext'
101294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101295 (eval $ac_try) 2>&5
101296 ac_status=$?
101297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101298 (exit $ac_status); }; }; then
101299 eval "$as_ac_var=yes"
101301 echo "$as_me: failed program was:" >&5
101302 sed 's/^/| /' conftest.$ac_ext >&5
101304 eval "$as_ac_var=no"
101306 rm -f conftest.err conftest.$ac_objext \
101307 conftest$ac_exeext conftest.$ac_ext
101309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101311 if test `eval echo '${'$as_ac_var'}'` = yes; then
101312 cat >>confdefs.h <<_ACEOF
101313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101314 _ACEOF
101321 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
101322 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
101323 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
101324 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
101325 echo $ECHO_N "(cached) $ECHO_C" >&6
101330 ac_ext=cc
101331 ac_cpp='$CXXCPP $CPPFLAGS'
101332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101336 cat >conftest.$ac_ext <<_ACEOF
101337 /* confdefs.h. */
101338 _ACEOF
101339 cat confdefs.h >>conftest.$ac_ext
101340 cat >>conftest.$ac_ext <<_ACEOF
101341 /* end confdefs.h. */
101342 #include <math.h>
101344 main ()
101346 _frexpl(0, 0);
101348 return 0;
101350 _ACEOF
101351 rm -f conftest.$ac_objext
101352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101353 (eval $ac_compile) 2>conftest.er1
101354 ac_status=$?
101355 grep -v '^ *+' conftest.er1 >conftest.err
101356 rm -f conftest.er1
101357 cat conftest.err >&5
101358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101359 (exit $ac_status); } &&
101360 { ac_try='test -z "$ac_cxx_werror_flag"
101361 || test ! -s conftest.err'
101362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101363 (eval $ac_try) 2>&5
101364 ac_status=$?
101365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101366 (exit $ac_status); }; } &&
101367 { ac_try='test -s conftest.$ac_objext'
101368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101369 (eval $ac_try) 2>&5
101370 ac_status=$?
101371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101372 (exit $ac_status); }; }; then
101373 glibcxx_cv_func__frexpl_use=yes
101375 echo "$as_me: failed program was:" >&5
101376 sed 's/^/| /' conftest.$ac_ext >&5
101378 glibcxx_cv_func__frexpl_use=no
101380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101381 ac_ext=c
101382 ac_cpp='$CPP $CPPFLAGS'
101383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101391 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
101392 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
101394 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
101396 for ac_func in _frexpl
101398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101399 echo "$as_me:$LINENO: checking for $ac_func" >&5
101400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101401 if eval "test \"\${$as_ac_var+set}\" = set"; then
101402 echo $ECHO_N "(cached) $ECHO_C" >&6
101404 if test x$gcc_no_link = xyes; then
101405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101407 { (exit 1); exit 1; }; }
101409 cat >conftest.$ac_ext <<_ACEOF
101410 /* confdefs.h. */
101411 _ACEOF
101412 cat confdefs.h >>conftest.$ac_ext
101413 cat >>conftest.$ac_ext <<_ACEOF
101414 /* end confdefs.h. */
101415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101417 #define $ac_func innocuous_$ac_func
101419 /* System header to define __stub macros and hopefully few prototypes,
101420 which can conflict with char $ac_func (); below.
101421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101422 <limits.h> exists even on freestanding compilers. */
101424 #ifdef __STDC__
101425 # include <limits.h>
101426 #else
101427 # include <assert.h>
101428 #endif
101430 #undef $ac_func
101432 /* Override any gcc2 internal prototype to avoid an error. */
101433 #ifdef __cplusplus
101434 extern "C"
101436 #endif
101437 /* We use char because int might match the return type of a gcc2
101438 builtin and then its argument prototype would still apply. */
101439 char $ac_func ();
101440 /* The GNU C library defines this for functions which it implements
101441 to always fail with ENOSYS. Some functions are actually named
101442 something starting with __ and the normal name is an alias. */
101443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101444 choke me
101445 #else
101446 char (*f) () = $ac_func;
101447 #endif
101448 #ifdef __cplusplus
101450 #endif
101453 main ()
101455 return f != $ac_func;
101457 return 0;
101459 _ACEOF
101460 rm -f conftest.$ac_objext conftest$ac_exeext
101461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101462 (eval $ac_link) 2>conftest.er1
101463 ac_status=$?
101464 grep -v '^ *+' conftest.er1 >conftest.err
101465 rm -f conftest.er1
101466 cat conftest.err >&5
101467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101468 (exit $ac_status); } &&
101469 { ac_try='test -z "$ac_c_werror_flag"
101470 || test ! -s conftest.err'
101471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101472 (eval $ac_try) 2>&5
101473 ac_status=$?
101474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101475 (exit $ac_status); }; } &&
101476 { ac_try='test -s conftest$ac_exeext'
101477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101478 (eval $ac_try) 2>&5
101479 ac_status=$?
101480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101481 (exit $ac_status); }; }; then
101482 eval "$as_ac_var=yes"
101484 echo "$as_me: failed program was:" >&5
101485 sed 's/^/| /' conftest.$ac_ext >&5
101487 eval "$as_ac_var=no"
101489 rm -f conftest.err conftest.$ac_objext \
101490 conftest$ac_exeext conftest.$ac_ext
101492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101494 if test `eval echo '${'$as_ac_var'}'` = yes; then
101495 cat >>confdefs.h <<_ACEOF
101496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101497 _ACEOF
101510 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
101511 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
101512 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
101513 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
101514 echo $ECHO_N "(cached) $ECHO_C" >&6
101519 ac_ext=cc
101520 ac_cpp='$CXXCPP $CPPFLAGS'
101521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101525 cat >conftest.$ac_ext <<_ACEOF
101526 /* confdefs.h. */
101527 _ACEOF
101528 cat confdefs.h >>conftest.$ac_ext
101529 cat >>conftest.$ac_ext <<_ACEOF
101530 /* end confdefs.h. */
101531 #include <math.h>
101533 main ()
101535 hypotl(0, 0);
101537 return 0;
101539 _ACEOF
101540 rm -f conftest.$ac_objext
101541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101542 (eval $ac_compile) 2>conftest.er1
101543 ac_status=$?
101544 grep -v '^ *+' conftest.er1 >conftest.err
101545 rm -f conftest.er1
101546 cat conftest.err >&5
101547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101548 (exit $ac_status); } &&
101549 { ac_try='test -z "$ac_cxx_werror_flag"
101550 || test ! -s conftest.err'
101551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101552 (eval $ac_try) 2>&5
101553 ac_status=$?
101554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101555 (exit $ac_status); }; } &&
101556 { ac_try='test -s conftest.$ac_objext'
101557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101558 (eval $ac_try) 2>&5
101559 ac_status=$?
101560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101561 (exit $ac_status); }; }; then
101562 glibcxx_cv_func_hypotl_use=yes
101564 echo "$as_me: failed program was:" >&5
101565 sed 's/^/| /' conftest.$ac_ext >&5
101567 glibcxx_cv_func_hypotl_use=no
101569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101570 ac_ext=c
101571 ac_cpp='$CPP $CPPFLAGS'
101572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101580 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
101581 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
101583 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
101585 for ac_func in hypotl
101587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101588 echo "$as_me:$LINENO: checking for $ac_func" >&5
101589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101590 if eval "test \"\${$as_ac_var+set}\" = set"; then
101591 echo $ECHO_N "(cached) $ECHO_C" >&6
101593 if test x$gcc_no_link = xyes; then
101594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101596 { (exit 1); exit 1; }; }
101598 cat >conftest.$ac_ext <<_ACEOF
101599 /* confdefs.h. */
101600 _ACEOF
101601 cat confdefs.h >>conftest.$ac_ext
101602 cat >>conftest.$ac_ext <<_ACEOF
101603 /* end confdefs.h. */
101604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101606 #define $ac_func innocuous_$ac_func
101608 /* System header to define __stub macros and hopefully few prototypes,
101609 which can conflict with char $ac_func (); below.
101610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101611 <limits.h> exists even on freestanding compilers. */
101613 #ifdef __STDC__
101614 # include <limits.h>
101615 #else
101616 # include <assert.h>
101617 #endif
101619 #undef $ac_func
101621 /* Override any gcc2 internal prototype to avoid an error. */
101622 #ifdef __cplusplus
101623 extern "C"
101625 #endif
101626 /* We use char because int might match the return type of a gcc2
101627 builtin and then its argument prototype would still apply. */
101628 char $ac_func ();
101629 /* The GNU C library defines this for functions which it implements
101630 to always fail with ENOSYS. Some functions are actually named
101631 something starting with __ and the normal name is an alias. */
101632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101633 choke me
101634 #else
101635 char (*f) () = $ac_func;
101636 #endif
101637 #ifdef __cplusplus
101639 #endif
101642 main ()
101644 return f != $ac_func;
101646 return 0;
101648 _ACEOF
101649 rm -f conftest.$ac_objext conftest$ac_exeext
101650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101651 (eval $ac_link) 2>conftest.er1
101652 ac_status=$?
101653 grep -v '^ *+' conftest.er1 >conftest.err
101654 rm -f conftest.er1
101655 cat conftest.err >&5
101656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101657 (exit $ac_status); } &&
101658 { ac_try='test -z "$ac_c_werror_flag"
101659 || test ! -s conftest.err'
101660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101661 (eval $ac_try) 2>&5
101662 ac_status=$?
101663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101664 (exit $ac_status); }; } &&
101665 { ac_try='test -s conftest$ac_exeext'
101666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101667 (eval $ac_try) 2>&5
101668 ac_status=$?
101669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101670 (exit $ac_status); }; }; then
101671 eval "$as_ac_var=yes"
101673 echo "$as_me: failed program was:" >&5
101674 sed 's/^/| /' conftest.$ac_ext >&5
101676 eval "$as_ac_var=no"
101678 rm -f conftest.err conftest.$ac_objext \
101679 conftest$ac_exeext conftest.$ac_ext
101681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101683 if test `eval echo '${'$as_ac_var'}'` = yes; then
101684 cat >>confdefs.h <<_ACEOF
101685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101686 _ACEOF
101693 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
101694 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
101695 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
101696 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
101697 echo $ECHO_N "(cached) $ECHO_C" >&6
101702 ac_ext=cc
101703 ac_cpp='$CXXCPP $CPPFLAGS'
101704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101708 cat >conftest.$ac_ext <<_ACEOF
101709 /* confdefs.h. */
101710 _ACEOF
101711 cat confdefs.h >>conftest.$ac_ext
101712 cat >>conftest.$ac_ext <<_ACEOF
101713 /* end confdefs.h. */
101714 #include <math.h>
101716 main ()
101718 _hypotl(0, 0);
101720 return 0;
101722 _ACEOF
101723 rm -f conftest.$ac_objext
101724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101725 (eval $ac_compile) 2>conftest.er1
101726 ac_status=$?
101727 grep -v '^ *+' conftest.er1 >conftest.err
101728 rm -f conftest.er1
101729 cat conftest.err >&5
101730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101731 (exit $ac_status); } &&
101732 { ac_try='test -z "$ac_cxx_werror_flag"
101733 || test ! -s conftest.err'
101734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101735 (eval $ac_try) 2>&5
101736 ac_status=$?
101737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101738 (exit $ac_status); }; } &&
101739 { ac_try='test -s conftest.$ac_objext'
101740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101741 (eval $ac_try) 2>&5
101742 ac_status=$?
101743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101744 (exit $ac_status); }; }; then
101745 glibcxx_cv_func__hypotl_use=yes
101747 echo "$as_me: failed program was:" >&5
101748 sed 's/^/| /' conftest.$ac_ext >&5
101750 glibcxx_cv_func__hypotl_use=no
101752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101753 ac_ext=c
101754 ac_cpp='$CPP $CPPFLAGS'
101755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101763 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
101764 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
101766 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
101768 for ac_func in _hypotl
101770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101771 echo "$as_me:$LINENO: checking for $ac_func" >&5
101772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101773 if eval "test \"\${$as_ac_var+set}\" = set"; then
101774 echo $ECHO_N "(cached) $ECHO_C" >&6
101776 if test x$gcc_no_link = xyes; then
101777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101779 { (exit 1); exit 1; }; }
101781 cat >conftest.$ac_ext <<_ACEOF
101782 /* confdefs.h. */
101783 _ACEOF
101784 cat confdefs.h >>conftest.$ac_ext
101785 cat >>conftest.$ac_ext <<_ACEOF
101786 /* end confdefs.h. */
101787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101789 #define $ac_func innocuous_$ac_func
101791 /* System header to define __stub macros and hopefully few prototypes,
101792 which can conflict with char $ac_func (); below.
101793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101794 <limits.h> exists even on freestanding compilers. */
101796 #ifdef __STDC__
101797 # include <limits.h>
101798 #else
101799 # include <assert.h>
101800 #endif
101802 #undef $ac_func
101804 /* Override any gcc2 internal prototype to avoid an error. */
101805 #ifdef __cplusplus
101806 extern "C"
101808 #endif
101809 /* We use char because int might match the return type of a gcc2
101810 builtin and then its argument prototype would still apply. */
101811 char $ac_func ();
101812 /* The GNU C library defines this for functions which it implements
101813 to always fail with ENOSYS. Some functions are actually named
101814 something starting with __ and the normal name is an alias. */
101815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101816 choke me
101817 #else
101818 char (*f) () = $ac_func;
101819 #endif
101820 #ifdef __cplusplus
101822 #endif
101825 main ()
101827 return f != $ac_func;
101829 return 0;
101831 _ACEOF
101832 rm -f conftest.$ac_objext conftest$ac_exeext
101833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101834 (eval $ac_link) 2>conftest.er1
101835 ac_status=$?
101836 grep -v '^ *+' conftest.er1 >conftest.err
101837 rm -f conftest.er1
101838 cat conftest.err >&5
101839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101840 (exit $ac_status); } &&
101841 { ac_try='test -z "$ac_c_werror_flag"
101842 || test ! -s conftest.err'
101843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101844 (eval $ac_try) 2>&5
101845 ac_status=$?
101846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101847 (exit $ac_status); }; } &&
101848 { ac_try='test -s conftest$ac_exeext'
101849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101850 (eval $ac_try) 2>&5
101851 ac_status=$?
101852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101853 (exit $ac_status); }; }; then
101854 eval "$as_ac_var=yes"
101856 echo "$as_me: failed program was:" >&5
101857 sed 's/^/| /' conftest.$ac_ext >&5
101859 eval "$as_ac_var=no"
101861 rm -f conftest.err conftest.$ac_objext \
101862 conftest$ac_exeext conftest.$ac_ext
101864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101866 if test `eval echo '${'$as_ac_var'}'` = yes; then
101867 cat >>confdefs.h <<_ACEOF
101868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101869 _ACEOF
101882 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
101883 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
101884 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
101885 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
101886 echo $ECHO_N "(cached) $ECHO_C" >&6
101891 ac_ext=cc
101892 ac_cpp='$CXXCPP $CPPFLAGS'
101893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101897 cat >conftest.$ac_ext <<_ACEOF
101898 /* confdefs.h. */
101899 _ACEOF
101900 cat confdefs.h >>conftest.$ac_ext
101901 cat >>conftest.$ac_ext <<_ACEOF
101902 /* end confdefs.h. */
101903 #include <math.h>
101905 main ()
101907 ldexpl(0, 0);
101909 return 0;
101911 _ACEOF
101912 rm -f conftest.$ac_objext
101913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101914 (eval $ac_compile) 2>conftest.er1
101915 ac_status=$?
101916 grep -v '^ *+' conftest.er1 >conftest.err
101917 rm -f conftest.er1
101918 cat conftest.err >&5
101919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101920 (exit $ac_status); } &&
101921 { ac_try='test -z "$ac_cxx_werror_flag"
101922 || test ! -s conftest.err'
101923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101924 (eval $ac_try) 2>&5
101925 ac_status=$?
101926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101927 (exit $ac_status); }; } &&
101928 { ac_try='test -s conftest.$ac_objext'
101929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101930 (eval $ac_try) 2>&5
101931 ac_status=$?
101932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101933 (exit $ac_status); }; }; then
101934 glibcxx_cv_func_ldexpl_use=yes
101936 echo "$as_me: failed program was:" >&5
101937 sed 's/^/| /' conftest.$ac_ext >&5
101939 glibcxx_cv_func_ldexpl_use=no
101941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101942 ac_ext=c
101943 ac_cpp='$CPP $CPPFLAGS'
101944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101952 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
101953 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
101955 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
101957 for ac_func in ldexpl
101959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101960 echo "$as_me:$LINENO: checking for $ac_func" >&5
101961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101962 if eval "test \"\${$as_ac_var+set}\" = set"; then
101963 echo $ECHO_N "(cached) $ECHO_C" >&6
101965 if test x$gcc_no_link = xyes; then
101966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101968 { (exit 1); exit 1; }; }
101970 cat >conftest.$ac_ext <<_ACEOF
101971 /* confdefs.h. */
101972 _ACEOF
101973 cat confdefs.h >>conftest.$ac_ext
101974 cat >>conftest.$ac_ext <<_ACEOF
101975 /* end confdefs.h. */
101976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101978 #define $ac_func innocuous_$ac_func
101980 /* System header to define __stub macros and hopefully few prototypes,
101981 which can conflict with char $ac_func (); below.
101982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101983 <limits.h> exists even on freestanding compilers. */
101985 #ifdef __STDC__
101986 # include <limits.h>
101987 #else
101988 # include <assert.h>
101989 #endif
101991 #undef $ac_func
101993 /* Override any gcc2 internal prototype to avoid an error. */
101994 #ifdef __cplusplus
101995 extern "C"
101997 #endif
101998 /* We use char because int might match the return type of a gcc2
101999 builtin and then its argument prototype would still apply. */
102000 char $ac_func ();
102001 /* The GNU C library defines this for functions which it implements
102002 to always fail with ENOSYS. Some functions are actually named
102003 something starting with __ and the normal name is an alias. */
102004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102005 choke me
102006 #else
102007 char (*f) () = $ac_func;
102008 #endif
102009 #ifdef __cplusplus
102011 #endif
102014 main ()
102016 return f != $ac_func;
102018 return 0;
102020 _ACEOF
102021 rm -f conftest.$ac_objext conftest$ac_exeext
102022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102023 (eval $ac_link) 2>conftest.er1
102024 ac_status=$?
102025 grep -v '^ *+' conftest.er1 >conftest.err
102026 rm -f conftest.er1
102027 cat conftest.err >&5
102028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102029 (exit $ac_status); } &&
102030 { ac_try='test -z "$ac_c_werror_flag"
102031 || test ! -s conftest.err'
102032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102033 (eval $ac_try) 2>&5
102034 ac_status=$?
102035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102036 (exit $ac_status); }; } &&
102037 { ac_try='test -s conftest$ac_exeext'
102038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102039 (eval $ac_try) 2>&5
102040 ac_status=$?
102041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102042 (exit $ac_status); }; }; then
102043 eval "$as_ac_var=yes"
102045 echo "$as_me: failed program was:" >&5
102046 sed 's/^/| /' conftest.$ac_ext >&5
102048 eval "$as_ac_var=no"
102050 rm -f conftest.err conftest.$ac_objext \
102051 conftest$ac_exeext conftest.$ac_ext
102053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102055 if test `eval echo '${'$as_ac_var'}'` = yes; then
102056 cat >>confdefs.h <<_ACEOF
102057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102058 _ACEOF
102065 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
102066 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
102067 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
102068 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
102069 echo $ECHO_N "(cached) $ECHO_C" >&6
102074 ac_ext=cc
102075 ac_cpp='$CXXCPP $CPPFLAGS'
102076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102080 cat >conftest.$ac_ext <<_ACEOF
102081 /* confdefs.h. */
102082 _ACEOF
102083 cat confdefs.h >>conftest.$ac_ext
102084 cat >>conftest.$ac_ext <<_ACEOF
102085 /* end confdefs.h. */
102086 #include <math.h>
102088 main ()
102090 _ldexpl(0, 0);
102092 return 0;
102094 _ACEOF
102095 rm -f conftest.$ac_objext
102096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102097 (eval $ac_compile) 2>conftest.er1
102098 ac_status=$?
102099 grep -v '^ *+' conftest.er1 >conftest.err
102100 rm -f conftest.er1
102101 cat conftest.err >&5
102102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102103 (exit $ac_status); } &&
102104 { ac_try='test -z "$ac_cxx_werror_flag"
102105 || test ! -s conftest.err'
102106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102107 (eval $ac_try) 2>&5
102108 ac_status=$?
102109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102110 (exit $ac_status); }; } &&
102111 { ac_try='test -s conftest.$ac_objext'
102112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102113 (eval $ac_try) 2>&5
102114 ac_status=$?
102115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102116 (exit $ac_status); }; }; then
102117 glibcxx_cv_func__ldexpl_use=yes
102119 echo "$as_me: failed program was:" >&5
102120 sed 's/^/| /' conftest.$ac_ext >&5
102122 glibcxx_cv_func__ldexpl_use=no
102124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102125 ac_ext=c
102126 ac_cpp='$CPP $CPPFLAGS'
102127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102135 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
102136 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
102138 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
102140 for ac_func in _ldexpl
102142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102143 echo "$as_me:$LINENO: checking for $ac_func" >&5
102144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102145 if eval "test \"\${$as_ac_var+set}\" = set"; then
102146 echo $ECHO_N "(cached) $ECHO_C" >&6
102148 if test x$gcc_no_link = xyes; then
102149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102151 { (exit 1); exit 1; }; }
102153 cat >conftest.$ac_ext <<_ACEOF
102154 /* confdefs.h. */
102155 _ACEOF
102156 cat confdefs.h >>conftest.$ac_ext
102157 cat >>conftest.$ac_ext <<_ACEOF
102158 /* end confdefs.h. */
102159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102161 #define $ac_func innocuous_$ac_func
102163 /* System header to define __stub macros and hopefully few prototypes,
102164 which can conflict with char $ac_func (); below.
102165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102166 <limits.h> exists even on freestanding compilers. */
102168 #ifdef __STDC__
102169 # include <limits.h>
102170 #else
102171 # include <assert.h>
102172 #endif
102174 #undef $ac_func
102176 /* Override any gcc2 internal prototype to avoid an error. */
102177 #ifdef __cplusplus
102178 extern "C"
102180 #endif
102181 /* We use char because int might match the return type of a gcc2
102182 builtin and then its argument prototype would still apply. */
102183 char $ac_func ();
102184 /* The GNU C library defines this for functions which it implements
102185 to always fail with ENOSYS. Some functions are actually named
102186 something starting with __ and the normal name is an alias. */
102187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102188 choke me
102189 #else
102190 char (*f) () = $ac_func;
102191 #endif
102192 #ifdef __cplusplus
102194 #endif
102197 main ()
102199 return f != $ac_func;
102201 return 0;
102203 _ACEOF
102204 rm -f conftest.$ac_objext conftest$ac_exeext
102205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102206 (eval $ac_link) 2>conftest.er1
102207 ac_status=$?
102208 grep -v '^ *+' conftest.er1 >conftest.err
102209 rm -f conftest.er1
102210 cat conftest.err >&5
102211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102212 (exit $ac_status); } &&
102213 { ac_try='test -z "$ac_c_werror_flag"
102214 || test ! -s conftest.err'
102215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102216 (eval $ac_try) 2>&5
102217 ac_status=$?
102218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102219 (exit $ac_status); }; } &&
102220 { ac_try='test -s conftest$ac_exeext'
102221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102222 (eval $ac_try) 2>&5
102223 ac_status=$?
102224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102225 (exit $ac_status); }; }; then
102226 eval "$as_ac_var=yes"
102228 echo "$as_me: failed program was:" >&5
102229 sed 's/^/| /' conftest.$ac_ext >&5
102231 eval "$as_ac_var=no"
102233 rm -f conftest.err conftest.$ac_objext \
102234 conftest$ac_exeext conftest.$ac_ext
102236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102238 if test `eval echo '${'$as_ac_var'}'` = yes; then
102239 cat >>confdefs.h <<_ACEOF
102240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102241 _ACEOF
102254 echo "$as_me:$LINENO: checking for logl declaration" >&5
102255 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
102256 if test x${glibcxx_cv_func_logl_use+set} != xset; then
102257 if test "${glibcxx_cv_func_logl_use+set}" = set; then
102258 echo $ECHO_N "(cached) $ECHO_C" >&6
102263 ac_ext=cc
102264 ac_cpp='$CXXCPP $CPPFLAGS'
102265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102269 cat >conftest.$ac_ext <<_ACEOF
102270 /* confdefs.h. */
102271 _ACEOF
102272 cat confdefs.h >>conftest.$ac_ext
102273 cat >>conftest.$ac_ext <<_ACEOF
102274 /* end confdefs.h. */
102275 #include <math.h>
102276 #ifdef HAVE_IEEEFP_H
102277 #include <ieeefp.h>
102278 #endif
102281 main ()
102283 logl(0);
102285 return 0;
102287 _ACEOF
102288 rm -f conftest.$ac_objext
102289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102290 (eval $ac_compile) 2>conftest.er1
102291 ac_status=$?
102292 grep -v '^ *+' conftest.er1 >conftest.err
102293 rm -f conftest.er1
102294 cat conftest.err >&5
102295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102296 (exit $ac_status); } &&
102297 { ac_try='test -z "$ac_cxx_werror_flag"
102298 || test ! -s conftest.err'
102299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102300 (eval $ac_try) 2>&5
102301 ac_status=$?
102302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102303 (exit $ac_status); }; } &&
102304 { ac_try='test -s conftest.$ac_objext'
102305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102306 (eval $ac_try) 2>&5
102307 ac_status=$?
102308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102309 (exit $ac_status); }; }; then
102310 glibcxx_cv_func_logl_use=yes
102312 echo "$as_me: failed program was:" >&5
102313 sed 's/^/| /' conftest.$ac_ext >&5
102315 glibcxx_cv_func_logl_use=no
102317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102318 ac_ext=c
102319 ac_cpp='$CPP $CPPFLAGS'
102320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102328 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
102329 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
102331 if test x$glibcxx_cv_func_logl_use = x"yes"; then
102333 for ac_func in logl
102335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102336 echo "$as_me:$LINENO: checking for $ac_func" >&5
102337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102338 if eval "test \"\${$as_ac_var+set}\" = set"; then
102339 echo $ECHO_N "(cached) $ECHO_C" >&6
102341 if test x$gcc_no_link = xyes; then
102342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102344 { (exit 1); exit 1; }; }
102346 cat >conftest.$ac_ext <<_ACEOF
102347 /* confdefs.h. */
102348 _ACEOF
102349 cat confdefs.h >>conftest.$ac_ext
102350 cat >>conftest.$ac_ext <<_ACEOF
102351 /* end confdefs.h. */
102352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102354 #define $ac_func innocuous_$ac_func
102356 /* System header to define __stub macros and hopefully few prototypes,
102357 which can conflict with char $ac_func (); below.
102358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102359 <limits.h> exists even on freestanding compilers. */
102361 #ifdef __STDC__
102362 # include <limits.h>
102363 #else
102364 # include <assert.h>
102365 #endif
102367 #undef $ac_func
102369 /* Override any gcc2 internal prototype to avoid an error. */
102370 #ifdef __cplusplus
102371 extern "C"
102373 #endif
102374 /* We use char because int might match the return type of a gcc2
102375 builtin and then its argument prototype would still apply. */
102376 char $ac_func ();
102377 /* The GNU C library defines this for functions which it implements
102378 to always fail with ENOSYS. Some functions are actually named
102379 something starting with __ and the normal name is an alias. */
102380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102381 choke me
102382 #else
102383 char (*f) () = $ac_func;
102384 #endif
102385 #ifdef __cplusplus
102387 #endif
102390 main ()
102392 return f != $ac_func;
102394 return 0;
102396 _ACEOF
102397 rm -f conftest.$ac_objext conftest$ac_exeext
102398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102399 (eval $ac_link) 2>conftest.er1
102400 ac_status=$?
102401 grep -v '^ *+' conftest.er1 >conftest.err
102402 rm -f conftest.er1
102403 cat conftest.err >&5
102404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102405 (exit $ac_status); } &&
102406 { ac_try='test -z "$ac_c_werror_flag"
102407 || test ! -s conftest.err'
102408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102409 (eval $ac_try) 2>&5
102410 ac_status=$?
102411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102412 (exit $ac_status); }; } &&
102413 { ac_try='test -s conftest$ac_exeext'
102414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102415 (eval $ac_try) 2>&5
102416 ac_status=$?
102417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102418 (exit $ac_status); }; }; then
102419 eval "$as_ac_var=yes"
102421 echo "$as_me: failed program was:" >&5
102422 sed 's/^/| /' conftest.$ac_ext >&5
102424 eval "$as_ac_var=no"
102426 rm -f conftest.err conftest.$ac_objext \
102427 conftest$ac_exeext conftest.$ac_ext
102429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102431 if test `eval echo '${'$as_ac_var'}'` = yes; then
102432 cat >>confdefs.h <<_ACEOF
102433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102434 _ACEOF
102441 echo "$as_me:$LINENO: checking for _logl declaration" >&5
102442 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
102443 if test x${glibcxx_cv_func__logl_use+set} != xset; then
102444 if test "${glibcxx_cv_func__logl_use+set}" = set; then
102445 echo $ECHO_N "(cached) $ECHO_C" >&6
102450 ac_ext=cc
102451 ac_cpp='$CXXCPP $CPPFLAGS'
102452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102456 cat >conftest.$ac_ext <<_ACEOF
102457 /* confdefs.h. */
102458 _ACEOF
102459 cat confdefs.h >>conftest.$ac_ext
102460 cat >>conftest.$ac_ext <<_ACEOF
102461 /* end confdefs.h. */
102462 #include <math.h>
102463 #ifdef HAVE_IEEEFP_H
102464 #include <ieeefp.h>
102465 #endif
102468 main ()
102470 _logl(0);
102472 return 0;
102474 _ACEOF
102475 rm -f conftest.$ac_objext
102476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102477 (eval $ac_compile) 2>conftest.er1
102478 ac_status=$?
102479 grep -v '^ *+' conftest.er1 >conftest.err
102480 rm -f conftest.er1
102481 cat conftest.err >&5
102482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102483 (exit $ac_status); } &&
102484 { ac_try='test -z "$ac_cxx_werror_flag"
102485 || test ! -s conftest.err'
102486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102487 (eval $ac_try) 2>&5
102488 ac_status=$?
102489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102490 (exit $ac_status); }; } &&
102491 { ac_try='test -s conftest.$ac_objext'
102492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102493 (eval $ac_try) 2>&5
102494 ac_status=$?
102495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102496 (exit $ac_status); }; }; then
102497 glibcxx_cv_func__logl_use=yes
102499 echo "$as_me: failed program was:" >&5
102500 sed 's/^/| /' conftest.$ac_ext >&5
102502 glibcxx_cv_func__logl_use=no
102504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102505 ac_ext=c
102506 ac_cpp='$CPP $CPPFLAGS'
102507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102515 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
102516 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
102518 if test x$glibcxx_cv_func__logl_use = x"yes"; then
102520 for ac_func in _logl
102522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102523 echo "$as_me:$LINENO: checking for $ac_func" >&5
102524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102525 if eval "test \"\${$as_ac_var+set}\" = set"; then
102526 echo $ECHO_N "(cached) $ECHO_C" >&6
102528 if test x$gcc_no_link = xyes; then
102529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102531 { (exit 1); exit 1; }; }
102533 cat >conftest.$ac_ext <<_ACEOF
102534 /* confdefs.h. */
102535 _ACEOF
102536 cat confdefs.h >>conftest.$ac_ext
102537 cat >>conftest.$ac_ext <<_ACEOF
102538 /* end confdefs.h. */
102539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102541 #define $ac_func innocuous_$ac_func
102543 /* System header to define __stub macros and hopefully few prototypes,
102544 which can conflict with char $ac_func (); below.
102545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102546 <limits.h> exists even on freestanding compilers. */
102548 #ifdef __STDC__
102549 # include <limits.h>
102550 #else
102551 # include <assert.h>
102552 #endif
102554 #undef $ac_func
102556 /* Override any gcc2 internal prototype to avoid an error. */
102557 #ifdef __cplusplus
102558 extern "C"
102560 #endif
102561 /* We use char because int might match the return type of a gcc2
102562 builtin and then its argument prototype would still apply. */
102563 char $ac_func ();
102564 /* The GNU C library defines this for functions which it implements
102565 to always fail with ENOSYS. Some functions are actually named
102566 something starting with __ and the normal name is an alias. */
102567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102568 choke me
102569 #else
102570 char (*f) () = $ac_func;
102571 #endif
102572 #ifdef __cplusplus
102574 #endif
102577 main ()
102579 return f != $ac_func;
102581 return 0;
102583 _ACEOF
102584 rm -f conftest.$ac_objext conftest$ac_exeext
102585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102586 (eval $ac_link) 2>conftest.er1
102587 ac_status=$?
102588 grep -v '^ *+' conftest.er1 >conftest.err
102589 rm -f conftest.er1
102590 cat conftest.err >&5
102591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102592 (exit $ac_status); } &&
102593 { ac_try='test -z "$ac_c_werror_flag"
102594 || test ! -s conftest.err'
102595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102596 (eval $ac_try) 2>&5
102597 ac_status=$?
102598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102599 (exit $ac_status); }; } &&
102600 { ac_try='test -s conftest$ac_exeext'
102601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102602 (eval $ac_try) 2>&5
102603 ac_status=$?
102604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102605 (exit $ac_status); }; }; then
102606 eval "$as_ac_var=yes"
102608 echo "$as_me: failed program was:" >&5
102609 sed 's/^/| /' conftest.$ac_ext >&5
102611 eval "$as_ac_var=no"
102613 rm -f conftest.err conftest.$ac_objext \
102614 conftest$ac_exeext conftest.$ac_ext
102616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102618 if test `eval echo '${'$as_ac_var'}'` = yes; then
102619 cat >>confdefs.h <<_ACEOF
102620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102621 _ACEOF
102634 echo "$as_me:$LINENO: checking for log10l declaration" >&5
102635 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
102636 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
102637 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
102638 echo $ECHO_N "(cached) $ECHO_C" >&6
102643 ac_ext=cc
102644 ac_cpp='$CXXCPP $CPPFLAGS'
102645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102649 cat >conftest.$ac_ext <<_ACEOF
102650 /* confdefs.h. */
102651 _ACEOF
102652 cat confdefs.h >>conftest.$ac_ext
102653 cat >>conftest.$ac_ext <<_ACEOF
102654 /* end confdefs.h. */
102655 #include <math.h>
102656 #ifdef HAVE_IEEEFP_H
102657 #include <ieeefp.h>
102658 #endif
102661 main ()
102663 log10l(0);
102665 return 0;
102667 _ACEOF
102668 rm -f conftest.$ac_objext
102669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102670 (eval $ac_compile) 2>conftest.er1
102671 ac_status=$?
102672 grep -v '^ *+' conftest.er1 >conftest.err
102673 rm -f conftest.er1
102674 cat conftest.err >&5
102675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102676 (exit $ac_status); } &&
102677 { ac_try='test -z "$ac_cxx_werror_flag"
102678 || test ! -s conftest.err'
102679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102680 (eval $ac_try) 2>&5
102681 ac_status=$?
102682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102683 (exit $ac_status); }; } &&
102684 { ac_try='test -s conftest.$ac_objext'
102685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102686 (eval $ac_try) 2>&5
102687 ac_status=$?
102688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102689 (exit $ac_status); }; }; then
102690 glibcxx_cv_func_log10l_use=yes
102692 echo "$as_me: failed program was:" >&5
102693 sed 's/^/| /' conftest.$ac_ext >&5
102695 glibcxx_cv_func_log10l_use=no
102697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102698 ac_ext=c
102699 ac_cpp='$CPP $CPPFLAGS'
102700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102708 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
102709 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
102711 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
102713 for ac_func in log10l
102715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102716 echo "$as_me:$LINENO: checking for $ac_func" >&5
102717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102718 if eval "test \"\${$as_ac_var+set}\" = set"; then
102719 echo $ECHO_N "(cached) $ECHO_C" >&6
102721 if test x$gcc_no_link = xyes; then
102722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102724 { (exit 1); exit 1; }; }
102726 cat >conftest.$ac_ext <<_ACEOF
102727 /* confdefs.h. */
102728 _ACEOF
102729 cat confdefs.h >>conftest.$ac_ext
102730 cat >>conftest.$ac_ext <<_ACEOF
102731 /* end confdefs.h. */
102732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102734 #define $ac_func innocuous_$ac_func
102736 /* System header to define __stub macros and hopefully few prototypes,
102737 which can conflict with char $ac_func (); below.
102738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102739 <limits.h> exists even on freestanding compilers. */
102741 #ifdef __STDC__
102742 # include <limits.h>
102743 #else
102744 # include <assert.h>
102745 #endif
102747 #undef $ac_func
102749 /* Override any gcc2 internal prototype to avoid an error. */
102750 #ifdef __cplusplus
102751 extern "C"
102753 #endif
102754 /* We use char because int might match the return type of a gcc2
102755 builtin and then its argument prototype would still apply. */
102756 char $ac_func ();
102757 /* The GNU C library defines this for functions which it implements
102758 to always fail with ENOSYS. Some functions are actually named
102759 something starting with __ and the normal name is an alias. */
102760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102761 choke me
102762 #else
102763 char (*f) () = $ac_func;
102764 #endif
102765 #ifdef __cplusplus
102767 #endif
102770 main ()
102772 return f != $ac_func;
102774 return 0;
102776 _ACEOF
102777 rm -f conftest.$ac_objext conftest$ac_exeext
102778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102779 (eval $ac_link) 2>conftest.er1
102780 ac_status=$?
102781 grep -v '^ *+' conftest.er1 >conftest.err
102782 rm -f conftest.er1
102783 cat conftest.err >&5
102784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102785 (exit $ac_status); } &&
102786 { ac_try='test -z "$ac_c_werror_flag"
102787 || test ! -s conftest.err'
102788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102789 (eval $ac_try) 2>&5
102790 ac_status=$?
102791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102792 (exit $ac_status); }; } &&
102793 { ac_try='test -s conftest$ac_exeext'
102794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102795 (eval $ac_try) 2>&5
102796 ac_status=$?
102797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102798 (exit $ac_status); }; }; then
102799 eval "$as_ac_var=yes"
102801 echo "$as_me: failed program was:" >&5
102802 sed 's/^/| /' conftest.$ac_ext >&5
102804 eval "$as_ac_var=no"
102806 rm -f conftest.err conftest.$ac_objext \
102807 conftest$ac_exeext conftest.$ac_ext
102809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102811 if test `eval echo '${'$as_ac_var'}'` = yes; then
102812 cat >>confdefs.h <<_ACEOF
102813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102814 _ACEOF
102821 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
102822 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
102823 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
102824 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
102825 echo $ECHO_N "(cached) $ECHO_C" >&6
102830 ac_ext=cc
102831 ac_cpp='$CXXCPP $CPPFLAGS'
102832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102836 cat >conftest.$ac_ext <<_ACEOF
102837 /* confdefs.h. */
102838 _ACEOF
102839 cat confdefs.h >>conftest.$ac_ext
102840 cat >>conftest.$ac_ext <<_ACEOF
102841 /* end confdefs.h. */
102842 #include <math.h>
102843 #ifdef HAVE_IEEEFP_H
102844 #include <ieeefp.h>
102845 #endif
102848 main ()
102850 _log10l(0);
102852 return 0;
102854 _ACEOF
102855 rm -f conftest.$ac_objext
102856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102857 (eval $ac_compile) 2>conftest.er1
102858 ac_status=$?
102859 grep -v '^ *+' conftest.er1 >conftest.err
102860 rm -f conftest.er1
102861 cat conftest.err >&5
102862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102863 (exit $ac_status); } &&
102864 { ac_try='test -z "$ac_cxx_werror_flag"
102865 || test ! -s conftest.err'
102866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102867 (eval $ac_try) 2>&5
102868 ac_status=$?
102869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102870 (exit $ac_status); }; } &&
102871 { ac_try='test -s conftest.$ac_objext'
102872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102873 (eval $ac_try) 2>&5
102874 ac_status=$?
102875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102876 (exit $ac_status); }; }; then
102877 glibcxx_cv_func__log10l_use=yes
102879 echo "$as_me: failed program was:" >&5
102880 sed 's/^/| /' conftest.$ac_ext >&5
102882 glibcxx_cv_func__log10l_use=no
102884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102885 ac_ext=c
102886 ac_cpp='$CPP $CPPFLAGS'
102887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102895 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
102896 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
102898 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
102900 for ac_func in _log10l
102902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102903 echo "$as_me:$LINENO: checking for $ac_func" >&5
102904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102905 if eval "test \"\${$as_ac_var+set}\" = set"; then
102906 echo $ECHO_N "(cached) $ECHO_C" >&6
102908 if test x$gcc_no_link = xyes; then
102909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102911 { (exit 1); exit 1; }; }
102913 cat >conftest.$ac_ext <<_ACEOF
102914 /* confdefs.h. */
102915 _ACEOF
102916 cat confdefs.h >>conftest.$ac_ext
102917 cat >>conftest.$ac_ext <<_ACEOF
102918 /* end confdefs.h. */
102919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102921 #define $ac_func innocuous_$ac_func
102923 /* System header to define __stub macros and hopefully few prototypes,
102924 which can conflict with char $ac_func (); below.
102925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102926 <limits.h> exists even on freestanding compilers. */
102928 #ifdef __STDC__
102929 # include <limits.h>
102930 #else
102931 # include <assert.h>
102932 #endif
102934 #undef $ac_func
102936 /* Override any gcc2 internal prototype to avoid an error. */
102937 #ifdef __cplusplus
102938 extern "C"
102940 #endif
102941 /* We use char because int might match the return type of a gcc2
102942 builtin and then its argument prototype would still apply. */
102943 char $ac_func ();
102944 /* The GNU C library defines this for functions which it implements
102945 to always fail with ENOSYS. Some functions are actually named
102946 something starting with __ and the normal name is an alias. */
102947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102948 choke me
102949 #else
102950 char (*f) () = $ac_func;
102951 #endif
102952 #ifdef __cplusplus
102954 #endif
102957 main ()
102959 return f != $ac_func;
102961 return 0;
102963 _ACEOF
102964 rm -f conftest.$ac_objext conftest$ac_exeext
102965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102966 (eval $ac_link) 2>conftest.er1
102967 ac_status=$?
102968 grep -v '^ *+' conftest.er1 >conftest.err
102969 rm -f conftest.er1
102970 cat conftest.err >&5
102971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102972 (exit $ac_status); } &&
102973 { ac_try='test -z "$ac_c_werror_flag"
102974 || test ! -s conftest.err'
102975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102976 (eval $ac_try) 2>&5
102977 ac_status=$?
102978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102979 (exit $ac_status); }; } &&
102980 { ac_try='test -s conftest$ac_exeext'
102981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102982 (eval $ac_try) 2>&5
102983 ac_status=$?
102984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102985 (exit $ac_status); }; }; then
102986 eval "$as_ac_var=yes"
102988 echo "$as_me: failed program was:" >&5
102989 sed 's/^/| /' conftest.$ac_ext >&5
102991 eval "$as_ac_var=no"
102993 rm -f conftest.err conftest.$ac_objext \
102994 conftest$ac_exeext conftest.$ac_ext
102996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102998 if test `eval echo '${'$as_ac_var'}'` = yes; then
102999 cat >>confdefs.h <<_ACEOF
103000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103001 _ACEOF
103014 echo "$as_me:$LINENO: checking for modfl declaration" >&5
103015 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
103016 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
103017 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
103018 echo $ECHO_N "(cached) $ECHO_C" >&6
103023 ac_ext=cc
103024 ac_cpp='$CXXCPP $CPPFLAGS'
103025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103029 cat >conftest.$ac_ext <<_ACEOF
103030 /* confdefs.h. */
103031 _ACEOF
103032 cat confdefs.h >>conftest.$ac_ext
103033 cat >>conftest.$ac_ext <<_ACEOF
103034 /* end confdefs.h. */
103035 #include <math.h>
103037 main ()
103039 modfl(0, 0);
103041 return 0;
103043 _ACEOF
103044 rm -f conftest.$ac_objext
103045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103046 (eval $ac_compile) 2>conftest.er1
103047 ac_status=$?
103048 grep -v '^ *+' conftest.er1 >conftest.err
103049 rm -f conftest.er1
103050 cat conftest.err >&5
103051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103052 (exit $ac_status); } &&
103053 { ac_try='test -z "$ac_cxx_werror_flag"
103054 || test ! -s conftest.err'
103055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103056 (eval $ac_try) 2>&5
103057 ac_status=$?
103058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103059 (exit $ac_status); }; } &&
103060 { ac_try='test -s conftest.$ac_objext'
103061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103062 (eval $ac_try) 2>&5
103063 ac_status=$?
103064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103065 (exit $ac_status); }; }; then
103066 glibcxx_cv_func_modfl_use=yes
103068 echo "$as_me: failed program was:" >&5
103069 sed 's/^/| /' conftest.$ac_ext >&5
103071 glibcxx_cv_func_modfl_use=no
103073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103074 ac_ext=c
103075 ac_cpp='$CPP $CPPFLAGS'
103076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103084 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
103085 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
103087 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
103089 for ac_func in modfl
103091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103092 echo "$as_me:$LINENO: checking for $ac_func" >&5
103093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103094 if eval "test \"\${$as_ac_var+set}\" = set"; then
103095 echo $ECHO_N "(cached) $ECHO_C" >&6
103097 if test x$gcc_no_link = xyes; then
103098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103100 { (exit 1); exit 1; }; }
103102 cat >conftest.$ac_ext <<_ACEOF
103103 /* confdefs.h. */
103104 _ACEOF
103105 cat confdefs.h >>conftest.$ac_ext
103106 cat >>conftest.$ac_ext <<_ACEOF
103107 /* end confdefs.h. */
103108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103110 #define $ac_func innocuous_$ac_func
103112 /* System header to define __stub macros and hopefully few prototypes,
103113 which can conflict with char $ac_func (); below.
103114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103115 <limits.h> exists even on freestanding compilers. */
103117 #ifdef __STDC__
103118 # include <limits.h>
103119 #else
103120 # include <assert.h>
103121 #endif
103123 #undef $ac_func
103125 /* Override any gcc2 internal prototype to avoid an error. */
103126 #ifdef __cplusplus
103127 extern "C"
103129 #endif
103130 /* We use char because int might match the return type of a gcc2
103131 builtin and then its argument prototype would still apply. */
103132 char $ac_func ();
103133 /* The GNU C library defines this for functions which it implements
103134 to always fail with ENOSYS. Some functions are actually named
103135 something starting with __ and the normal name is an alias. */
103136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103137 choke me
103138 #else
103139 char (*f) () = $ac_func;
103140 #endif
103141 #ifdef __cplusplus
103143 #endif
103146 main ()
103148 return f != $ac_func;
103150 return 0;
103152 _ACEOF
103153 rm -f conftest.$ac_objext conftest$ac_exeext
103154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103155 (eval $ac_link) 2>conftest.er1
103156 ac_status=$?
103157 grep -v '^ *+' conftest.er1 >conftest.err
103158 rm -f conftest.er1
103159 cat conftest.err >&5
103160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103161 (exit $ac_status); } &&
103162 { ac_try='test -z "$ac_c_werror_flag"
103163 || test ! -s conftest.err'
103164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103165 (eval $ac_try) 2>&5
103166 ac_status=$?
103167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103168 (exit $ac_status); }; } &&
103169 { ac_try='test -s conftest$ac_exeext'
103170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103171 (eval $ac_try) 2>&5
103172 ac_status=$?
103173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103174 (exit $ac_status); }; }; then
103175 eval "$as_ac_var=yes"
103177 echo "$as_me: failed program was:" >&5
103178 sed 's/^/| /' conftest.$ac_ext >&5
103180 eval "$as_ac_var=no"
103182 rm -f conftest.err conftest.$ac_objext \
103183 conftest$ac_exeext conftest.$ac_ext
103185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103187 if test `eval echo '${'$as_ac_var'}'` = yes; then
103188 cat >>confdefs.h <<_ACEOF
103189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103190 _ACEOF
103197 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
103198 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
103199 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
103200 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
103201 echo $ECHO_N "(cached) $ECHO_C" >&6
103206 ac_ext=cc
103207 ac_cpp='$CXXCPP $CPPFLAGS'
103208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103212 cat >conftest.$ac_ext <<_ACEOF
103213 /* confdefs.h. */
103214 _ACEOF
103215 cat confdefs.h >>conftest.$ac_ext
103216 cat >>conftest.$ac_ext <<_ACEOF
103217 /* end confdefs.h. */
103218 #include <math.h>
103220 main ()
103222 _modfl(0, 0);
103224 return 0;
103226 _ACEOF
103227 rm -f conftest.$ac_objext
103228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103229 (eval $ac_compile) 2>conftest.er1
103230 ac_status=$?
103231 grep -v '^ *+' conftest.er1 >conftest.err
103232 rm -f conftest.er1
103233 cat conftest.err >&5
103234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103235 (exit $ac_status); } &&
103236 { ac_try='test -z "$ac_cxx_werror_flag"
103237 || test ! -s conftest.err'
103238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103239 (eval $ac_try) 2>&5
103240 ac_status=$?
103241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103242 (exit $ac_status); }; } &&
103243 { ac_try='test -s conftest.$ac_objext'
103244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103245 (eval $ac_try) 2>&5
103246 ac_status=$?
103247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103248 (exit $ac_status); }; }; then
103249 glibcxx_cv_func__modfl_use=yes
103251 echo "$as_me: failed program was:" >&5
103252 sed 's/^/| /' conftest.$ac_ext >&5
103254 glibcxx_cv_func__modfl_use=no
103256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103257 ac_ext=c
103258 ac_cpp='$CPP $CPPFLAGS'
103259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103267 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
103268 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
103270 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
103272 for ac_func in _modfl
103274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103275 echo "$as_me:$LINENO: checking for $ac_func" >&5
103276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103277 if eval "test \"\${$as_ac_var+set}\" = set"; then
103278 echo $ECHO_N "(cached) $ECHO_C" >&6
103280 if test x$gcc_no_link = xyes; then
103281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103283 { (exit 1); exit 1; }; }
103285 cat >conftest.$ac_ext <<_ACEOF
103286 /* confdefs.h. */
103287 _ACEOF
103288 cat confdefs.h >>conftest.$ac_ext
103289 cat >>conftest.$ac_ext <<_ACEOF
103290 /* end confdefs.h. */
103291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103293 #define $ac_func innocuous_$ac_func
103295 /* System header to define __stub macros and hopefully few prototypes,
103296 which can conflict with char $ac_func (); below.
103297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103298 <limits.h> exists even on freestanding compilers. */
103300 #ifdef __STDC__
103301 # include <limits.h>
103302 #else
103303 # include <assert.h>
103304 #endif
103306 #undef $ac_func
103308 /* Override any gcc2 internal prototype to avoid an error. */
103309 #ifdef __cplusplus
103310 extern "C"
103312 #endif
103313 /* We use char because int might match the return type of a gcc2
103314 builtin and then its argument prototype would still apply. */
103315 char $ac_func ();
103316 /* The GNU C library defines this for functions which it implements
103317 to always fail with ENOSYS. Some functions are actually named
103318 something starting with __ and the normal name is an alias. */
103319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103320 choke me
103321 #else
103322 char (*f) () = $ac_func;
103323 #endif
103324 #ifdef __cplusplus
103326 #endif
103329 main ()
103331 return f != $ac_func;
103333 return 0;
103335 _ACEOF
103336 rm -f conftest.$ac_objext conftest$ac_exeext
103337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103338 (eval $ac_link) 2>conftest.er1
103339 ac_status=$?
103340 grep -v '^ *+' conftest.er1 >conftest.err
103341 rm -f conftest.er1
103342 cat conftest.err >&5
103343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103344 (exit $ac_status); } &&
103345 { ac_try='test -z "$ac_c_werror_flag"
103346 || test ! -s conftest.err'
103347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103348 (eval $ac_try) 2>&5
103349 ac_status=$?
103350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103351 (exit $ac_status); }; } &&
103352 { ac_try='test -s conftest$ac_exeext'
103353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103354 (eval $ac_try) 2>&5
103355 ac_status=$?
103356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103357 (exit $ac_status); }; }; then
103358 eval "$as_ac_var=yes"
103360 echo "$as_me: failed program was:" >&5
103361 sed 's/^/| /' conftest.$ac_ext >&5
103363 eval "$as_ac_var=no"
103365 rm -f conftest.err conftest.$ac_objext \
103366 conftest$ac_exeext conftest.$ac_ext
103368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103370 if test `eval echo '${'$as_ac_var'}'` = yes; then
103371 cat >>confdefs.h <<_ACEOF
103372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103373 _ACEOF
103386 echo "$as_me:$LINENO: checking for powl declaration" >&5
103387 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
103388 if test x${glibcxx_cv_func_powl_use+set} != xset; then
103389 if test "${glibcxx_cv_func_powl_use+set}" = set; then
103390 echo $ECHO_N "(cached) $ECHO_C" >&6
103395 ac_ext=cc
103396 ac_cpp='$CXXCPP $CPPFLAGS'
103397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103401 cat >conftest.$ac_ext <<_ACEOF
103402 /* confdefs.h. */
103403 _ACEOF
103404 cat confdefs.h >>conftest.$ac_ext
103405 cat >>conftest.$ac_ext <<_ACEOF
103406 /* end confdefs.h. */
103407 #include <math.h>
103409 main ()
103411 powl(0, 0);
103413 return 0;
103415 _ACEOF
103416 rm -f conftest.$ac_objext
103417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103418 (eval $ac_compile) 2>conftest.er1
103419 ac_status=$?
103420 grep -v '^ *+' conftest.er1 >conftest.err
103421 rm -f conftest.er1
103422 cat conftest.err >&5
103423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103424 (exit $ac_status); } &&
103425 { ac_try='test -z "$ac_cxx_werror_flag"
103426 || test ! -s conftest.err'
103427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103428 (eval $ac_try) 2>&5
103429 ac_status=$?
103430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103431 (exit $ac_status); }; } &&
103432 { ac_try='test -s conftest.$ac_objext'
103433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103434 (eval $ac_try) 2>&5
103435 ac_status=$?
103436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103437 (exit $ac_status); }; }; then
103438 glibcxx_cv_func_powl_use=yes
103440 echo "$as_me: failed program was:" >&5
103441 sed 's/^/| /' conftest.$ac_ext >&5
103443 glibcxx_cv_func_powl_use=no
103445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103446 ac_ext=c
103447 ac_cpp='$CPP $CPPFLAGS'
103448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103456 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
103457 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
103459 if test x$glibcxx_cv_func_powl_use = x"yes"; then
103461 for ac_func in powl
103463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103464 echo "$as_me:$LINENO: checking for $ac_func" >&5
103465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103466 if eval "test \"\${$as_ac_var+set}\" = set"; then
103467 echo $ECHO_N "(cached) $ECHO_C" >&6
103469 if test x$gcc_no_link = xyes; then
103470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103472 { (exit 1); exit 1; }; }
103474 cat >conftest.$ac_ext <<_ACEOF
103475 /* confdefs.h. */
103476 _ACEOF
103477 cat confdefs.h >>conftest.$ac_ext
103478 cat >>conftest.$ac_ext <<_ACEOF
103479 /* end confdefs.h. */
103480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103482 #define $ac_func innocuous_$ac_func
103484 /* System header to define __stub macros and hopefully few prototypes,
103485 which can conflict with char $ac_func (); below.
103486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103487 <limits.h> exists even on freestanding compilers. */
103489 #ifdef __STDC__
103490 # include <limits.h>
103491 #else
103492 # include <assert.h>
103493 #endif
103495 #undef $ac_func
103497 /* Override any gcc2 internal prototype to avoid an error. */
103498 #ifdef __cplusplus
103499 extern "C"
103501 #endif
103502 /* We use char because int might match the return type of a gcc2
103503 builtin and then its argument prototype would still apply. */
103504 char $ac_func ();
103505 /* The GNU C library defines this for functions which it implements
103506 to always fail with ENOSYS. Some functions are actually named
103507 something starting with __ and the normal name is an alias. */
103508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103509 choke me
103510 #else
103511 char (*f) () = $ac_func;
103512 #endif
103513 #ifdef __cplusplus
103515 #endif
103518 main ()
103520 return f != $ac_func;
103522 return 0;
103524 _ACEOF
103525 rm -f conftest.$ac_objext conftest$ac_exeext
103526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103527 (eval $ac_link) 2>conftest.er1
103528 ac_status=$?
103529 grep -v '^ *+' conftest.er1 >conftest.err
103530 rm -f conftest.er1
103531 cat conftest.err >&5
103532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103533 (exit $ac_status); } &&
103534 { ac_try='test -z "$ac_c_werror_flag"
103535 || test ! -s conftest.err'
103536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103537 (eval $ac_try) 2>&5
103538 ac_status=$?
103539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103540 (exit $ac_status); }; } &&
103541 { ac_try='test -s conftest$ac_exeext'
103542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103543 (eval $ac_try) 2>&5
103544 ac_status=$?
103545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103546 (exit $ac_status); }; }; then
103547 eval "$as_ac_var=yes"
103549 echo "$as_me: failed program was:" >&5
103550 sed 's/^/| /' conftest.$ac_ext >&5
103552 eval "$as_ac_var=no"
103554 rm -f conftest.err conftest.$ac_objext \
103555 conftest$ac_exeext conftest.$ac_ext
103557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103559 if test `eval echo '${'$as_ac_var'}'` = yes; then
103560 cat >>confdefs.h <<_ACEOF
103561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103562 _ACEOF
103569 echo "$as_me:$LINENO: checking for _powl declaration" >&5
103570 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
103571 if test x${glibcxx_cv_func__powl_use+set} != xset; then
103572 if test "${glibcxx_cv_func__powl_use+set}" = set; then
103573 echo $ECHO_N "(cached) $ECHO_C" >&6
103578 ac_ext=cc
103579 ac_cpp='$CXXCPP $CPPFLAGS'
103580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103584 cat >conftest.$ac_ext <<_ACEOF
103585 /* confdefs.h. */
103586 _ACEOF
103587 cat confdefs.h >>conftest.$ac_ext
103588 cat >>conftest.$ac_ext <<_ACEOF
103589 /* end confdefs.h. */
103590 #include <math.h>
103592 main ()
103594 _powl(0, 0);
103596 return 0;
103598 _ACEOF
103599 rm -f conftest.$ac_objext
103600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103601 (eval $ac_compile) 2>conftest.er1
103602 ac_status=$?
103603 grep -v '^ *+' conftest.er1 >conftest.err
103604 rm -f conftest.er1
103605 cat conftest.err >&5
103606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103607 (exit $ac_status); } &&
103608 { ac_try='test -z "$ac_cxx_werror_flag"
103609 || test ! -s conftest.err'
103610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103611 (eval $ac_try) 2>&5
103612 ac_status=$?
103613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103614 (exit $ac_status); }; } &&
103615 { ac_try='test -s conftest.$ac_objext'
103616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103617 (eval $ac_try) 2>&5
103618 ac_status=$?
103619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103620 (exit $ac_status); }; }; then
103621 glibcxx_cv_func__powl_use=yes
103623 echo "$as_me: failed program was:" >&5
103624 sed 's/^/| /' conftest.$ac_ext >&5
103626 glibcxx_cv_func__powl_use=no
103628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103629 ac_ext=c
103630 ac_cpp='$CPP $CPPFLAGS'
103631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103639 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
103640 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
103642 if test x$glibcxx_cv_func__powl_use = x"yes"; then
103644 for ac_func in _powl
103646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103647 echo "$as_me:$LINENO: checking for $ac_func" >&5
103648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103649 if eval "test \"\${$as_ac_var+set}\" = set"; then
103650 echo $ECHO_N "(cached) $ECHO_C" >&6
103652 if test x$gcc_no_link = xyes; then
103653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103655 { (exit 1); exit 1; }; }
103657 cat >conftest.$ac_ext <<_ACEOF
103658 /* confdefs.h. */
103659 _ACEOF
103660 cat confdefs.h >>conftest.$ac_ext
103661 cat >>conftest.$ac_ext <<_ACEOF
103662 /* end confdefs.h. */
103663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103665 #define $ac_func innocuous_$ac_func
103667 /* System header to define __stub macros and hopefully few prototypes,
103668 which can conflict with char $ac_func (); below.
103669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103670 <limits.h> exists even on freestanding compilers. */
103672 #ifdef __STDC__
103673 # include <limits.h>
103674 #else
103675 # include <assert.h>
103676 #endif
103678 #undef $ac_func
103680 /* Override any gcc2 internal prototype to avoid an error. */
103681 #ifdef __cplusplus
103682 extern "C"
103684 #endif
103685 /* We use char because int might match the return type of a gcc2
103686 builtin and then its argument prototype would still apply. */
103687 char $ac_func ();
103688 /* The GNU C library defines this for functions which it implements
103689 to always fail with ENOSYS. Some functions are actually named
103690 something starting with __ and the normal name is an alias. */
103691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103692 choke me
103693 #else
103694 char (*f) () = $ac_func;
103695 #endif
103696 #ifdef __cplusplus
103698 #endif
103701 main ()
103703 return f != $ac_func;
103705 return 0;
103707 _ACEOF
103708 rm -f conftest.$ac_objext conftest$ac_exeext
103709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103710 (eval $ac_link) 2>conftest.er1
103711 ac_status=$?
103712 grep -v '^ *+' conftest.er1 >conftest.err
103713 rm -f conftest.er1
103714 cat conftest.err >&5
103715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103716 (exit $ac_status); } &&
103717 { ac_try='test -z "$ac_c_werror_flag"
103718 || test ! -s conftest.err'
103719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103720 (eval $ac_try) 2>&5
103721 ac_status=$?
103722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103723 (exit $ac_status); }; } &&
103724 { ac_try='test -s conftest$ac_exeext'
103725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103726 (eval $ac_try) 2>&5
103727 ac_status=$?
103728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103729 (exit $ac_status); }; }; then
103730 eval "$as_ac_var=yes"
103732 echo "$as_me: failed program was:" >&5
103733 sed 's/^/| /' conftest.$ac_ext >&5
103735 eval "$as_ac_var=no"
103737 rm -f conftest.err conftest.$ac_objext \
103738 conftest$ac_exeext conftest.$ac_ext
103740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103742 if test `eval echo '${'$as_ac_var'}'` = yes; then
103743 cat >>confdefs.h <<_ACEOF
103744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103745 _ACEOF
103758 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
103759 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
103760 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
103761 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
103762 echo $ECHO_N "(cached) $ECHO_C" >&6
103767 ac_ext=cc
103768 ac_cpp='$CXXCPP $CPPFLAGS'
103769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103773 cat >conftest.$ac_ext <<_ACEOF
103774 /* confdefs.h. */
103775 _ACEOF
103776 cat confdefs.h >>conftest.$ac_ext
103777 cat >>conftest.$ac_ext <<_ACEOF
103778 /* end confdefs.h. */
103779 #include <math.h>
103780 #ifdef HAVE_IEEEFP_H
103781 #include <ieeefp.h>
103782 #endif
103785 main ()
103787 sqrtl(0);
103789 return 0;
103791 _ACEOF
103792 rm -f conftest.$ac_objext
103793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103794 (eval $ac_compile) 2>conftest.er1
103795 ac_status=$?
103796 grep -v '^ *+' conftest.er1 >conftest.err
103797 rm -f conftest.er1
103798 cat conftest.err >&5
103799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103800 (exit $ac_status); } &&
103801 { ac_try='test -z "$ac_cxx_werror_flag"
103802 || test ! -s conftest.err'
103803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103804 (eval $ac_try) 2>&5
103805 ac_status=$?
103806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103807 (exit $ac_status); }; } &&
103808 { ac_try='test -s conftest.$ac_objext'
103809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103810 (eval $ac_try) 2>&5
103811 ac_status=$?
103812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103813 (exit $ac_status); }; }; then
103814 glibcxx_cv_func_sqrtl_use=yes
103816 echo "$as_me: failed program was:" >&5
103817 sed 's/^/| /' conftest.$ac_ext >&5
103819 glibcxx_cv_func_sqrtl_use=no
103821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103822 ac_ext=c
103823 ac_cpp='$CPP $CPPFLAGS'
103824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103832 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
103833 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
103835 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
103837 for ac_func in sqrtl
103839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103840 echo "$as_me:$LINENO: checking for $ac_func" >&5
103841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103842 if eval "test \"\${$as_ac_var+set}\" = set"; then
103843 echo $ECHO_N "(cached) $ECHO_C" >&6
103845 if test x$gcc_no_link = xyes; then
103846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103848 { (exit 1); exit 1; }; }
103850 cat >conftest.$ac_ext <<_ACEOF
103851 /* confdefs.h. */
103852 _ACEOF
103853 cat confdefs.h >>conftest.$ac_ext
103854 cat >>conftest.$ac_ext <<_ACEOF
103855 /* end confdefs.h. */
103856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103858 #define $ac_func innocuous_$ac_func
103860 /* System header to define __stub macros and hopefully few prototypes,
103861 which can conflict with char $ac_func (); below.
103862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103863 <limits.h> exists even on freestanding compilers. */
103865 #ifdef __STDC__
103866 # include <limits.h>
103867 #else
103868 # include <assert.h>
103869 #endif
103871 #undef $ac_func
103873 /* Override any gcc2 internal prototype to avoid an error. */
103874 #ifdef __cplusplus
103875 extern "C"
103877 #endif
103878 /* We use char because int might match the return type of a gcc2
103879 builtin and then its argument prototype would still apply. */
103880 char $ac_func ();
103881 /* The GNU C library defines this for functions which it implements
103882 to always fail with ENOSYS. Some functions are actually named
103883 something starting with __ and the normal name is an alias. */
103884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103885 choke me
103886 #else
103887 char (*f) () = $ac_func;
103888 #endif
103889 #ifdef __cplusplus
103891 #endif
103894 main ()
103896 return f != $ac_func;
103898 return 0;
103900 _ACEOF
103901 rm -f conftest.$ac_objext conftest$ac_exeext
103902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103903 (eval $ac_link) 2>conftest.er1
103904 ac_status=$?
103905 grep -v '^ *+' conftest.er1 >conftest.err
103906 rm -f conftest.er1
103907 cat conftest.err >&5
103908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103909 (exit $ac_status); } &&
103910 { ac_try='test -z "$ac_c_werror_flag"
103911 || test ! -s conftest.err'
103912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103913 (eval $ac_try) 2>&5
103914 ac_status=$?
103915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103916 (exit $ac_status); }; } &&
103917 { ac_try='test -s conftest$ac_exeext'
103918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103919 (eval $ac_try) 2>&5
103920 ac_status=$?
103921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103922 (exit $ac_status); }; }; then
103923 eval "$as_ac_var=yes"
103925 echo "$as_me: failed program was:" >&5
103926 sed 's/^/| /' conftest.$ac_ext >&5
103928 eval "$as_ac_var=no"
103930 rm -f conftest.err conftest.$ac_objext \
103931 conftest$ac_exeext conftest.$ac_ext
103933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103935 if test `eval echo '${'$as_ac_var'}'` = yes; then
103936 cat >>confdefs.h <<_ACEOF
103937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103938 _ACEOF
103945 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
103946 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
103947 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
103948 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
103949 echo $ECHO_N "(cached) $ECHO_C" >&6
103954 ac_ext=cc
103955 ac_cpp='$CXXCPP $CPPFLAGS'
103956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103960 cat >conftest.$ac_ext <<_ACEOF
103961 /* confdefs.h. */
103962 _ACEOF
103963 cat confdefs.h >>conftest.$ac_ext
103964 cat >>conftest.$ac_ext <<_ACEOF
103965 /* end confdefs.h. */
103966 #include <math.h>
103967 #ifdef HAVE_IEEEFP_H
103968 #include <ieeefp.h>
103969 #endif
103972 main ()
103974 _sqrtl(0);
103976 return 0;
103978 _ACEOF
103979 rm -f conftest.$ac_objext
103980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103981 (eval $ac_compile) 2>conftest.er1
103982 ac_status=$?
103983 grep -v '^ *+' conftest.er1 >conftest.err
103984 rm -f conftest.er1
103985 cat conftest.err >&5
103986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103987 (exit $ac_status); } &&
103988 { ac_try='test -z "$ac_cxx_werror_flag"
103989 || test ! -s conftest.err'
103990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103991 (eval $ac_try) 2>&5
103992 ac_status=$?
103993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103994 (exit $ac_status); }; } &&
103995 { ac_try='test -s conftest.$ac_objext'
103996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103997 (eval $ac_try) 2>&5
103998 ac_status=$?
103999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104000 (exit $ac_status); }; }; then
104001 glibcxx_cv_func__sqrtl_use=yes
104003 echo "$as_me: failed program was:" >&5
104004 sed 's/^/| /' conftest.$ac_ext >&5
104006 glibcxx_cv_func__sqrtl_use=no
104008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104009 ac_ext=c
104010 ac_cpp='$CPP $CPPFLAGS'
104011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104019 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
104020 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
104022 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
104024 for ac_func in _sqrtl
104026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104027 echo "$as_me:$LINENO: checking for $ac_func" >&5
104028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104029 if eval "test \"\${$as_ac_var+set}\" = set"; then
104030 echo $ECHO_N "(cached) $ECHO_C" >&6
104032 if test x$gcc_no_link = xyes; then
104033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104035 { (exit 1); exit 1; }; }
104037 cat >conftest.$ac_ext <<_ACEOF
104038 /* confdefs.h. */
104039 _ACEOF
104040 cat confdefs.h >>conftest.$ac_ext
104041 cat >>conftest.$ac_ext <<_ACEOF
104042 /* end confdefs.h. */
104043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104045 #define $ac_func innocuous_$ac_func
104047 /* System header to define __stub macros and hopefully few prototypes,
104048 which can conflict with char $ac_func (); below.
104049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104050 <limits.h> exists even on freestanding compilers. */
104052 #ifdef __STDC__
104053 # include <limits.h>
104054 #else
104055 # include <assert.h>
104056 #endif
104058 #undef $ac_func
104060 /* Override any gcc2 internal prototype to avoid an error. */
104061 #ifdef __cplusplus
104062 extern "C"
104064 #endif
104065 /* We use char because int might match the return type of a gcc2
104066 builtin and then its argument prototype would still apply. */
104067 char $ac_func ();
104068 /* The GNU C library defines this for functions which it implements
104069 to always fail with ENOSYS. Some functions are actually named
104070 something starting with __ and the normal name is an alias. */
104071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104072 choke me
104073 #else
104074 char (*f) () = $ac_func;
104075 #endif
104076 #ifdef __cplusplus
104078 #endif
104081 main ()
104083 return f != $ac_func;
104085 return 0;
104087 _ACEOF
104088 rm -f conftest.$ac_objext conftest$ac_exeext
104089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104090 (eval $ac_link) 2>conftest.er1
104091 ac_status=$?
104092 grep -v '^ *+' conftest.er1 >conftest.err
104093 rm -f conftest.er1
104094 cat conftest.err >&5
104095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104096 (exit $ac_status); } &&
104097 { ac_try='test -z "$ac_c_werror_flag"
104098 || test ! -s conftest.err'
104099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104100 (eval $ac_try) 2>&5
104101 ac_status=$?
104102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104103 (exit $ac_status); }; } &&
104104 { ac_try='test -s conftest$ac_exeext'
104105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104106 (eval $ac_try) 2>&5
104107 ac_status=$?
104108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104109 (exit $ac_status); }; }; then
104110 eval "$as_ac_var=yes"
104112 echo "$as_me: failed program was:" >&5
104113 sed 's/^/| /' conftest.$ac_ext >&5
104115 eval "$as_ac_var=no"
104117 rm -f conftest.err conftest.$ac_objext \
104118 conftest$ac_exeext conftest.$ac_ext
104120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104122 if test `eval echo '${'$as_ac_var'}'` = yes; then
104123 cat >>confdefs.h <<_ACEOF
104124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104125 _ACEOF
104138 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
104139 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
104140 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
104141 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
104142 echo $ECHO_N "(cached) $ECHO_C" >&6
104147 ac_ext=cc
104148 ac_cpp='$CXXCPP $CPPFLAGS'
104149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104153 cat >conftest.$ac_ext <<_ACEOF
104154 /* confdefs.h. */
104155 _ACEOF
104156 cat confdefs.h >>conftest.$ac_ext
104157 cat >>conftest.$ac_ext <<_ACEOF
104158 /* end confdefs.h. */
104159 #include <math.h>
104161 main ()
104163 sincosl(0, 0, 0);
104165 return 0;
104167 _ACEOF
104168 rm -f conftest.$ac_objext
104169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104170 (eval $ac_compile) 2>conftest.er1
104171 ac_status=$?
104172 grep -v '^ *+' conftest.er1 >conftest.err
104173 rm -f conftest.er1
104174 cat conftest.err >&5
104175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104176 (exit $ac_status); } &&
104177 { ac_try='test -z "$ac_cxx_werror_flag"
104178 || test ! -s conftest.err'
104179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104180 (eval $ac_try) 2>&5
104181 ac_status=$?
104182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104183 (exit $ac_status); }; } &&
104184 { ac_try='test -s conftest.$ac_objext'
104185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104186 (eval $ac_try) 2>&5
104187 ac_status=$?
104188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104189 (exit $ac_status); }; }; then
104190 glibcxx_cv_func_sincosl_use=yes
104192 echo "$as_me: failed program was:" >&5
104193 sed 's/^/| /' conftest.$ac_ext >&5
104195 glibcxx_cv_func_sincosl_use=no
104197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104198 ac_ext=c
104199 ac_cpp='$CPP $CPPFLAGS'
104200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104208 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
104209 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
104211 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
104213 for ac_func in sincosl
104215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104216 echo "$as_me:$LINENO: checking for $ac_func" >&5
104217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104218 if eval "test \"\${$as_ac_var+set}\" = set"; then
104219 echo $ECHO_N "(cached) $ECHO_C" >&6
104221 if test x$gcc_no_link = xyes; then
104222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104224 { (exit 1); exit 1; }; }
104226 cat >conftest.$ac_ext <<_ACEOF
104227 /* confdefs.h. */
104228 _ACEOF
104229 cat confdefs.h >>conftest.$ac_ext
104230 cat >>conftest.$ac_ext <<_ACEOF
104231 /* end confdefs.h. */
104232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104234 #define $ac_func innocuous_$ac_func
104236 /* System header to define __stub macros and hopefully few prototypes,
104237 which can conflict with char $ac_func (); below.
104238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104239 <limits.h> exists even on freestanding compilers. */
104241 #ifdef __STDC__
104242 # include <limits.h>
104243 #else
104244 # include <assert.h>
104245 #endif
104247 #undef $ac_func
104249 /* Override any gcc2 internal prototype to avoid an error. */
104250 #ifdef __cplusplus
104251 extern "C"
104253 #endif
104254 /* We use char because int might match the return type of a gcc2
104255 builtin and then its argument prototype would still apply. */
104256 char $ac_func ();
104257 /* The GNU C library defines this for functions which it implements
104258 to always fail with ENOSYS. Some functions are actually named
104259 something starting with __ and the normal name is an alias. */
104260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104261 choke me
104262 #else
104263 char (*f) () = $ac_func;
104264 #endif
104265 #ifdef __cplusplus
104267 #endif
104270 main ()
104272 return f != $ac_func;
104274 return 0;
104276 _ACEOF
104277 rm -f conftest.$ac_objext conftest$ac_exeext
104278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104279 (eval $ac_link) 2>conftest.er1
104280 ac_status=$?
104281 grep -v '^ *+' conftest.er1 >conftest.err
104282 rm -f conftest.er1
104283 cat conftest.err >&5
104284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104285 (exit $ac_status); } &&
104286 { ac_try='test -z "$ac_c_werror_flag"
104287 || test ! -s conftest.err'
104288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104289 (eval $ac_try) 2>&5
104290 ac_status=$?
104291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104292 (exit $ac_status); }; } &&
104293 { ac_try='test -s conftest$ac_exeext'
104294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104295 (eval $ac_try) 2>&5
104296 ac_status=$?
104297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104298 (exit $ac_status); }; }; then
104299 eval "$as_ac_var=yes"
104301 echo "$as_me: failed program was:" >&5
104302 sed 's/^/| /' conftest.$ac_ext >&5
104304 eval "$as_ac_var=no"
104306 rm -f conftest.err conftest.$ac_objext \
104307 conftest$ac_exeext conftest.$ac_ext
104309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104311 if test `eval echo '${'$as_ac_var'}'` = yes; then
104312 cat >>confdefs.h <<_ACEOF
104313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104314 _ACEOF
104321 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
104322 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
104323 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
104324 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
104325 echo $ECHO_N "(cached) $ECHO_C" >&6
104330 ac_ext=cc
104331 ac_cpp='$CXXCPP $CPPFLAGS'
104332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104336 cat >conftest.$ac_ext <<_ACEOF
104337 /* confdefs.h. */
104338 _ACEOF
104339 cat confdefs.h >>conftest.$ac_ext
104340 cat >>conftest.$ac_ext <<_ACEOF
104341 /* end confdefs.h. */
104342 #include <math.h>
104344 main ()
104346 _sincosl(0, 0, 0);
104348 return 0;
104350 _ACEOF
104351 rm -f conftest.$ac_objext
104352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104353 (eval $ac_compile) 2>conftest.er1
104354 ac_status=$?
104355 grep -v '^ *+' conftest.er1 >conftest.err
104356 rm -f conftest.er1
104357 cat conftest.err >&5
104358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104359 (exit $ac_status); } &&
104360 { ac_try='test -z "$ac_cxx_werror_flag"
104361 || test ! -s conftest.err'
104362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104363 (eval $ac_try) 2>&5
104364 ac_status=$?
104365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104366 (exit $ac_status); }; } &&
104367 { ac_try='test -s conftest.$ac_objext'
104368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104369 (eval $ac_try) 2>&5
104370 ac_status=$?
104371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104372 (exit $ac_status); }; }; then
104373 glibcxx_cv_func__sincosl_use=yes
104375 echo "$as_me: failed program was:" >&5
104376 sed 's/^/| /' conftest.$ac_ext >&5
104378 glibcxx_cv_func__sincosl_use=no
104380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104381 ac_ext=c
104382 ac_cpp='$CPP $CPPFLAGS'
104383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104391 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
104392 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
104394 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
104396 for ac_func in _sincosl
104398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104399 echo "$as_me:$LINENO: checking for $ac_func" >&5
104400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104401 if eval "test \"\${$as_ac_var+set}\" = set"; then
104402 echo $ECHO_N "(cached) $ECHO_C" >&6
104404 if test x$gcc_no_link = xyes; then
104405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104407 { (exit 1); exit 1; }; }
104409 cat >conftest.$ac_ext <<_ACEOF
104410 /* confdefs.h. */
104411 _ACEOF
104412 cat confdefs.h >>conftest.$ac_ext
104413 cat >>conftest.$ac_ext <<_ACEOF
104414 /* end confdefs.h. */
104415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104417 #define $ac_func innocuous_$ac_func
104419 /* System header to define __stub macros and hopefully few prototypes,
104420 which can conflict with char $ac_func (); below.
104421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104422 <limits.h> exists even on freestanding compilers. */
104424 #ifdef __STDC__
104425 # include <limits.h>
104426 #else
104427 # include <assert.h>
104428 #endif
104430 #undef $ac_func
104432 /* Override any gcc2 internal prototype to avoid an error. */
104433 #ifdef __cplusplus
104434 extern "C"
104436 #endif
104437 /* We use char because int might match the return type of a gcc2
104438 builtin and then its argument prototype would still apply. */
104439 char $ac_func ();
104440 /* The GNU C library defines this for functions which it implements
104441 to always fail with ENOSYS. Some functions are actually named
104442 something starting with __ and the normal name is an alias. */
104443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104444 choke me
104445 #else
104446 char (*f) () = $ac_func;
104447 #endif
104448 #ifdef __cplusplus
104450 #endif
104453 main ()
104455 return f != $ac_func;
104457 return 0;
104459 _ACEOF
104460 rm -f conftest.$ac_objext conftest$ac_exeext
104461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104462 (eval $ac_link) 2>conftest.er1
104463 ac_status=$?
104464 grep -v '^ *+' conftest.er1 >conftest.err
104465 rm -f conftest.er1
104466 cat conftest.err >&5
104467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104468 (exit $ac_status); } &&
104469 { ac_try='test -z "$ac_c_werror_flag"
104470 || test ! -s conftest.err'
104471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104472 (eval $ac_try) 2>&5
104473 ac_status=$?
104474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104475 (exit $ac_status); }; } &&
104476 { ac_try='test -s conftest$ac_exeext'
104477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104478 (eval $ac_try) 2>&5
104479 ac_status=$?
104480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104481 (exit $ac_status); }; }; then
104482 eval "$as_ac_var=yes"
104484 echo "$as_me: failed program was:" >&5
104485 sed 's/^/| /' conftest.$ac_ext >&5
104487 eval "$as_ac_var=no"
104489 rm -f conftest.err conftest.$ac_objext \
104490 conftest$ac_exeext conftest.$ac_ext
104492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104494 if test `eval echo '${'$as_ac_var'}'` = yes; then
104495 cat >>confdefs.h <<_ACEOF
104496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104497 _ACEOF
104510 echo "$as_me:$LINENO: checking for finitel declaration" >&5
104511 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
104512 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
104513 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
104514 echo $ECHO_N "(cached) $ECHO_C" >&6
104519 ac_ext=cc
104520 ac_cpp='$CXXCPP $CPPFLAGS'
104521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104525 cat >conftest.$ac_ext <<_ACEOF
104526 /* confdefs.h. */
104527 _ACEOF
104528 cat confdefs.h >>conftest.$ac_ext
104529 cat >>conftest.$ac_ext <<_ACEOF
104530 /* end confdefs.h. */
104531 #include <math.h>
104532 #ifdef HAVE_IEEEFP_H
104533 #include <ieeefp.h>
104534 #endif
104537 main ()
104539 finitel(0);
104541 return 0;
104543 _ACEOF
104544 rm -f conftest.$ac_objext
104545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104546 (eval $ac_compile) 2>conftest.er1
104547 ac_status=$?
104548 grep -v '^ *+' conftest.er1 >conftest.err
104549 rm -f conftest.er1
104550 cat conftest.err >&5
104551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104552 (exit $ac_status); } &&
104553 { ac_try='test -z "$ac_cxx_werror_flag"
104554 || test ! -s conftest.err'
104555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104556 (eval $ac_try) 2>&5
104557 ac_status=$?
104558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104559 (exit $ac_status); }; } &&
104560 { ac_try='test -s conftest.$ac_objext'
104561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104562 (eval $ac_try) 2>&5
104563 ac_status=$?
104564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104565 (exit $ac_status); }; }; then
104566 glibcxx_cv_func_finitel_use=yes
104568 echo "$as_me: failed program was:" >&5
104569 sed 's/^/| /' conftest.$ac_ext >&5
104571 glibcxx_cv_func_finitel_use=no
104573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104574 ac_ext=c
104575 ac_cpp='$CPP $CPPFLAGS'
104576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104584 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
104585 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
104587 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
104589 for ac_func in finitel
104591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104592 echo "$as_me:$LINENO: checking for $ac_func" >&5
104593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104594 if eval "test \"\${$as_ac_var+set}\" = set"; then
104595 echo $ECHO_N "(cached) $ECHO_C" >&6
104597 if test x$gcc_no_link = xyes; then
104598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104600 { (exit 1); exit 1; }; }
104602 cat >conftest.$ac_ext <<_ACEOF
104603 /* confdefs.h. */
104604 _ACEOF
104605 cat confdefs.h >>conftest.$ac_ext
104606 cat >>conftest.$ac_ext <<_ACEOF
104607 /* end confdefs.h. */
104608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104610 #define $ac_func innocuous_$ac_func
104612 /* System header to define __stub macros and hopefully few prototypes,
104613 which can conflict with char $ac_func (); below.
104614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104615 <limits.h> exists even on freestanding compilers. */
104617 #ifdef __STDC__
104618 # include <limits.h>
104619 #else
104620 # include <assert.h>
104621 #endif
104623 #undef $ac_func
104625 /* Override any gcc2 internal prototype to avoid an error. */
104626 #ifdef __cplusplus
104627 extern "C"
104629 #endif
104630 /* We use char because int might match the return type of a gcc2
104631 builtin and then its argument prototype would still apply. */
104632 char $ac_func ();
104633 /* The GNU C library defines this for functions which it implements
104634 to always fail with ENOSYS. Some functions are actually named
104635 something starting with __ and the normal name is an alias. */
104636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104637 choke me
104638 #else
104639 char (*f) () = $ac_func;
104640 #endif
104641 #ifdef __cplusplus
104643 #endif
104646 main ()
104648 return f != $ac_func;
104650 return 0;
104652 _ACEOF
104653 rm -f conftest.$ac_objext conftest$ac_exeext
104654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104655 (eval $ac_link) 2>conftest.er1
104656 ac_status=$?
104657 grep -v '^ *+' conftest.er1 >conftest.err
104658 rm -f conftest.er1
104659 cat conftest.err >&5
104660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104661 (exit $ac_status); } &&
104662 { ac_try='test -z "$ac_c_werror_flag"
104663 || test ! -s conftest.err'
104664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104665 (eval $ac_try) 2>&5
104666 ac_status=$?
104667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104668 (exit $ac_status); }; } &&
104669 { ac_try='test -s conftest$ac_exeext'
104670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104671 (eval $ac_try) 2>&5
104672 ac_status=$?
104673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104674 (exit $ac_status); }; }; then
104675 eval "$as_ac_var=yes"
104677 echo "$as_me: failed program was:" >&5
104678 sed 's/^/| /' conftest.$ac_ext >&5
104680 eval "$as_ac_var=no"
104682 rm -f conftest.err conftest.$ac_objext \
104683 conftest$ac_exeext conftest.$ac_ext
104685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104687 if test `eval echo '${'$as_ac_var'}'` = yes; then
104688 cat >>confdefs.h <<_ACEOF
104689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104690 _ACEOF
104697 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
104698 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
104699 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
104700 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
104701 echo $ECHO_N "(cached) $ECHO_C" >&6
104706 ac_ext=cc
104707 ac_cpp='$CXXCPP $CPPFLAGS'
104708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104712 cat >conftest.$ac_ext <<_ACEOF
104713 /* confdefs.h. */
104714 _ACEOF
104715 cat confdefs.h >>conftest.$ac_ext
104716 cat >>conftest.$ac_ext <<_ACEOF
104717 /* end confdefs.h. */
104718 #include <math.h>
104719 #ifdef HAVE_IEEEFP_H
104720 #include <ieeefp.h>
104721 #endif
104724 main ()
104726 _finitel(0);
104728 return 0;
104730 _ACEOF
104731 rm -f conftest.$ac_objext
104732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104733 (eval $ac_compile) 2>conftest.er1
104734 ac_status=$?
104735 grep -v '^ *+' conftest.er1 >conftest.err
104736 rm -f conftest.er1
104737 cat conftest.err >&5
104738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104739 (exit $ac_status); } &&
104740 { ac_try='test -z "$ac_cxx_werror_flag"
104741 || test ! -s conftest.err'
104742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104743 (eval $ac_try) 2>&5
104744 ac_status=$?
104745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104746 (exit $ac_status); }; } &&
104747 { ac_try='test -s conftest.$ac_objext'
104748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104749 (eval $ac_try) 2>&5
104750 ac_status=$?
104751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104752 (exit $ac_status); }; }; then
104753 glibcxx_cv_func__finitel_use=yes
104755 echo "$as_me: failed program was:" >&5
104756 sed 's/^/| /' conftest.$ac_ext >&5
104758 glibcxx_cv_func__finitel_use=no
104760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104761 ac_ext=c
104762 ac_cpp='$CPP $CPPFLAGS'
104763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104771 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
104772 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
104774 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
104776 for ac_func in _finitel
104778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104779 echo "$as_me:$LINENO: checking for $ac_func" >&5
104780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104781 if eval "test \"\${$as_ac_var+set}\" = set"; then
104782 echo $ECHO_N "(cached) $ECHO_C" >&6
104784 if test x$gcc_no_link = xyes; then
104785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104787 { (exit 1); exit 1; }; }
104789 cat >conftest.$ac_ext <<_ACEOF
104790 /* confdefs.h. */
104791 _ACEOF
104792 cat confdefs.h >>conftest.$ac_ext
104793 cat >>conftest.$ac_ext <<_ACEOF
104794 /* end confdefs.h. */
104795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104797 #define $ac_func innocuous_$ac_func
104799 /* System header to define __stub macros and hopefully few prototypes,
104800 which can conflict with char $ac_func (); below.
104801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104802 <limits.h> exists even on freestanding compilers. */
104804 #ifdef __STDC__
104805 # include <limits.h>
104806 #else
104807 # include <assert.h>
104808 #endif
104810 #undef $ac_func
104812 /* Override any gcc2 internal prototype to avoid an error. */
104813 #ifdef __cplusplus
104814 extern "C"
104816 #endif
104817 /* We use char because int might match the return type of a gcc2
104818 builtin and then its argument prototype would still apply. */
104819 char $ac_func ();
104820 /* The GNU C library defines this for functions which it implements
104821 to always fail with ENOSYS. Some functions are actually named
104822 something starting with __ and the normal name is an alias. */
104823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104824 choke me
104825 #else
104826 char (*f) () = $ac_func;
104827 #endif
104828 #ifdef __cplusplus
104830 #endif
104833 main ()
104835 return f != $ac_func;
104837 return 0;
104839 _ACEOF
104840 rm -f conftest.$ac_objext conftest$ac_exeext
104841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104842 (eval $ac_link) 2>conftest.er1
104843 ac_status=$?
104844 grep -v '^ *+' conftest.er1 >conftest.err
104845 rm -f conftest.er1
104846 cat conftest.err >&5
104847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104848 (exit $ac_status); } &&
104849 { ac_try='test -z "$ac_c_werror_flag"
104850 || test ! -s conftest.err'
104851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104852 (eval $ac_try) 2>&5
104853 ac_status=$?
104854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104855 (exit $ac_status); }; } &&
104856 { ac_try='test -s conftest$ac_exeext'
104857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104858 (eval $ac_try) 2>&5
104859 ac_status=$?
104860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104861 (exit $ac_status); }; }; then
104862 eval "$as_ac_var=yes"
104864 echo "$as_me: failed program was:" >&5
104865 sed 's/^/| /' conftest.$ac_ext >&5
104867 eval "$as_ac_var=no"
104869 rm -f conftest.err conftest.$ac_objext \
104870 conftest$ac_exeext conftest.$ac_ext
104872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104874 if test `eval echo '${'$as_ac_var'}'` = yes; then
104875 cat >>confdefs.h <<_ACEOF
104876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104877 _ACEOF
104889 LIBS="$ac_save_LIBS"
104890 CXXFLAGS="$ac_save_CXXFLAGS"
104894 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
104895 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
104896 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
104897 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
104898 echo $ECHO_N "(cached) $ECHO_C" >&6
104903 ac_ext=cc
104904 ac_cpp='$CXXCPP $CPPFLAGS'
104905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104909 cat >conftest.$ac_ext <<_ACEOF
104910 /* confdefs.h. */
104911 _ACEOF
104912 cat confdefs.h >>conftest.$ac_ext
104913 cat >>conftest.$ac_ext <<_ACEOF
104914 /* end confdefs.h. */
104915 #include <math.h>
104917 main ()
104919 __builtin_abs(0);
104921 return 0;
104923 _ACEOF
104924 rm -f conftest.$ac_objext
104925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104926 (eval $ac_compile) 2>conftest.er1
104927 ac_status=$?
104928 grep -v '^ *+' conftest.er1 >conftest.err
104929 rm -f conftest.er1
104930 cat conftest.err >&5
104931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104932 (exit $ac_status); } &&
104933 { ac_try='test -z "$ac_cxx_werror_flag"
104934 || test ! -s conftest.err'
104935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104936 (eval $ac_try) 2>&5
104937 ac_status=$?
104938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104939 (exit $ac_status); }; } &&
104940 { ac_try='test -s conftest.$ac_objext'
104941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104942 (eval $ac_try) 2>&5
104943 ac_status=$?
104944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104945 (exit $ac_status); }; }; then
104946 glibcxx_cv_func___builtin_abs_use=yes
104948 echo "$as_me: failed program was:" >&5
104949 sed 's/^/| /' conftest.$ac_ext >&5
104951 glibcxx_cv_func___builtin_abs_use=no
104953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104954 ac_ext=c
104955 ac_cpp='$CPP $CPPFLAGS'
104956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104964 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
104965 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
104966 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
104967 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
104968 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
104969 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
104970 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
104971 echo $ECHO_N "(cached) $ECHO_C" >&6
104974 if test x$gcc_no_link = xyes; then
104975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104977 { (exit 1); exit 1; }; }
104979 cat >conftest.$ac_ext <<_ACEOF
104980 /* confdefs.h. */
104981 _ACEOF
104982 cat confdefs.h >>conftest.$ac_ext
104983 cat >>conftest.$ac_ext <<_ACEOF
104984 /* end confdefs.h. */
104985 #include <math.h>
104987 main ()
104989 __builtin_abs(0);
104991 return 0;
104993 _ACEOF
104994 rm -f conftest.$ac_objext conftest$ac_exeext
104995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104996 (eval $ac_link) 2>conftest.er1
104997 ac_status=$?
104998 grep -v '^ *+' conftest.er1 >conftest.err
104999 rm -f conftest.er1
105000 cat conftest.err >&5
105001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105002 (exit $ac_status); } &&
105003 { ac_try='test -z "$ac_c_werror_flag"
105004 || test ! -s conftest.err'
105005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105006 (eval $ac_try) 2>&5
105007 ac_status=$?
105008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105009 (exit $ac_status); }; } &&
105010 { ac_try='test -s conftest$ac_exeext'
105011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105012 (eval $ac_try) 2>&5
105013 ac_status=$?
105014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105015 (exit $ac_status); }; }; then
105016 glibcxx_cv_func___builtin_abs_link=yes
105018 echo "$as_me: failed program was:" >&5
105019 sed 's/^/| /' conftest.$ac_ext >&5
105021 glibcxx_cv_func___builtin_abs_link=no
105023 rm -f conftest.err conftest.$ac_objext \
105024 conftest$ac_exeext conftest.$ac_ext
105029 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
105030 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
105032 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
105034 cat >>confdefs.h <<\_ACEOF
105035 #define HAVE___BUILTIN_ABS 1
105036 _ACEOF
105043 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
105044 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
105045 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
105046 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
105047 echo $ECHO_N "(cached) $ECHO_C" >&6
105052 ac_ext=cc
105053 ac_cpp='$CXXCPP $CPPFLAGS'
105054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105058 cat >conftest.$ac_ext <<_ACEOF
105059 /* confdefs.h. */
105060 _ACEOF
105061 cat confdefs.h >>conftest.$ac_ext
105062 cat >>conftest.$ac_ext <<_ACEOF
105063 /* end confdefs.h. */
105064 #include <math.h>
105066 main ()
105068 __builtin_fabsf(0);
105070 return 0;
105072 _ACEOF
105073 rm -f conftest.$ac_objext
105074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105075 (eval $ac_compile) 2>conftest.er1
105076 ac_status=$?
105077 grep -v '^ *+' conftest.er1 >conftest.err
105078 rm -f conftest.er1
105079 cat conftest.err >&5
105080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105081 (exit $ac_status); } &&
105082 { ac_try='test -z "$ac_cxx_werror_flag"
105083 || test ! -s conftest.err'
105084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105085 (eval $ac_try) 2>&5
105086 ac_status=$?
105087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105088 (exit $ac_status); }; } &&
105089 { ac_try='test -s conftest.$ac_objext'
105090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105091 (eval $ac_try) 2>&5
105092 ac_status=$?
105093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105094 (exit $ac_status); }; }; then
105095 glibcxx_cv_func___builtin_fabsf_use=yes
105097 echo "$as_me: failed program was:" >&5
105098 sed 's/^/| /' conftest.$ac_ext >&5
105100 glibcxx_cv_func___builtin_fabsf_use=no
105102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105103 ac_ext=c
105104 ac_cpp='$CPP $CPPFLAGS'
105105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105113 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
105114 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
105115 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
105116 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
105117 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
105118 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
105119 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
105120 echo $ECHO_N "(cached) $ECHO_C" >&6
105123 if test x$gcc_no_link = xyes; then
105124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105126 { (exit 1); exit 1; }; }
105128 cat >conftest.$ac_ext <<_ACEOF
105129 /* confdefs.h. */
105130 _ACEOF
105131 cat confdefs.h >>conftest.$ac_ext
105132 cat >>conftest.$ac_ext <<_ACEOF
105133 /* end confdefs.h. */
105134 #include <math.h>
105136 main ()
105138 __builtin_fabsf(0);
105140 return 0;
105142 _ACEOF
105143 rm -f conftest.$ac_objext conftest$ac_exeext
105144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105145 (eval $ac_link) 2>conftest.er1
105146 ac_status=$?
105147 grep -v '^ *+' conftest.er1 >conftest.err
105148 rm -f conftest.er1
105149 cat conftest.err >&5
105150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105151 (exit $ac_status); } &&
105152 { ac_try='test -z "$ac_c_werror_flag"
105153 || test ! -s conftest.err'
105154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105155 (eval $ac_try) 2>&5
105156 ac_status=$?
105157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105158 (exit $ac_status); }; } &&
105159 { ac_try='test -s conftest$ac_exeext'
105160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105161 (eval $ac_try) 2>&5
105162 ac_status=$?
105163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105164 (exit $ac_status); }; }; then
105165 glibcxx_cv_func___builtin_fabsf_link=yes
105167 echo "$as_me: failed program was:" >&5
105168 sed 's/^/| /' conftest.$ac_ext >&5
105170 glibcxx_cv_func___builtin_fabsf_link=no
105172 rm -f conftest.err conftest.$ac_objext \
105173 conftest$ac_exeext conftest.$ac_ext
105178 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
105179 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
105181 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
105183 cat >>confdefs.h <<\_ACEOF
105184 #define HAVE___BUILTIN_FABSF 1
105185 _ACEOF
105192 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
105193 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
105194 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
105195 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
105196 echo $ECHO_N "(cached) $ECHO_C" >&6
105201 ac_ext=cc
105202 ac_cpp='$CXXCPP $CPPFLAGS'
105203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105207 cat >conftest.$ac_ext <<_ACEOF
105208 /* confdefs.h. */
105209 _ACEOF
105210 cat confdefs.h >>conftest.$ac_ext
105211 cat >>conftest.$ac_ext <<_ACEOF
105212 /* end confdefs.h. */
105213 #include <math.h>
105215 main ()
105217 __builtin_fabs(0);
105219 return 0;
105221 _ACEOF
105222 rm -f conftest.$ac_objext
105223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105224 (eval $ac_compile) 2>conftest.er1
105225 ac_status=$?
105226 grep -v '^ *+' conftest.er1 >conftest.err
105227 rm -f conftest.er1
105228 cat conftest.err >&5
105229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105230 (exit $ac_status); } &&
105231 { ac_try='test -z "$ac_cxx_werror_flag"
105232 || test ! -s conftest.err'
105233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105234 (eval $ac_try) 2>&5
105235 ac_status=$?
105236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105237 (exit $ac_status); }; } &&
105238 { ac_try='test -s conftest.$ac_objext'
105239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105240 (eval $ac_try) 2>&5
105241 ac_status=$?
105242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105243 (exit $ac_status); }; }; then
105244 glibcxx_cv_func___builtin_fabs_use=yes
105246 echo "$as_me: failed program was:" >&5
105247 sed 's/^/| /' conftest.$ac_ext >&5
105249 glibcxx_cv_func___builtin_fabs_use=no
105251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105252 ac_ext=c
105253 ac_cpp='$CPP $CPPFLAGS'
105254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105262 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
105263 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
105264 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
105265 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
105266 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
105267 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
105268 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
105269 echo $ECHO_N "(cached) $ECHO_C" >&6
105272 if test x$gcc_no_link = xyes; then
105273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105275 { (exit 1); exit 1; }; }
105277 cat >conftest.$ac_ext <<_ACEOF
105278 /* confdefs.h. */
105279 _ACEOF
105280 cat confdefs.h >>conftest.$ac_ext
105281 cat >>conftest.$ac_ext <<_ACEOF
105282 /* end confdefs.h. */
105283 #include <math.h>
105285 main ()
105287 __builtin_fabs(0);
105289 return 0;
105291 _ACEOF
105292 rm -f conftest.$ac_objext conftest$ac_exeext
105293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105294 (eval $ac_link) 2>conftest.er1
105295 ac_status=$?
105296 grep -v '^ *+' conftest.er1 >conftest.err
105297 rm -f conftest.er1
105298 cat conftest.err >&5
105299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105300 (exit $ac_status); } &&
105301 { ac_try='test -z "$ac_c_werror_flag"
105302 || test ! -s conftest.err'
105303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105304 (eval $ac_try) 2>&5
105305 ac_status=$?
105306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105307 (exit $ac_status); }; } &&
105308 { ac_try='test -s conftest$ac_exeext'
105309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105310 (eval $ac_try) 2>&5
105311 ac_status=$?
105312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105313 (exit $ac_status); }; }; then
105314 glibcxx_cv_func___builtin_fabs_link=yes
105316 echo "$as_me: failed program was:" >&5
105317 sed 's/^/| /' conftest.$ac_ext >&5
105319 glibcxx_cv_func___builtin_fabs_link=no
105321 rm -f conftest.err conftest.$ac_objext \
105322 conftest$ac_exeext conftest.$ac_ext
105327 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
105328 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
105330 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
105332 cat >>confdefs.h <<\_ACEOF
105333 #define HAVE___BUILTIN_FABS 1
105334 _ACEOF
105341 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
105342 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
105343 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
105344 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
105345 echo $ECHO_N "(cached) $ECHO_C" >&6
105350 ac_ext=cc
105351 ac_cpp='$CXXCPP $CPPFLAGS'
105352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105356 cat >conftest.$ac_ext <<_ACEOF
105357 /* confdefs.h. */
105358 _ACEOF
105359 cat confdefs.h >>conftest.$ac_ext
105360 cat >>conftest.$ac_ext <<_ACEOF
105361 /* end confdefs.h. */
105362 #include <math.h>
105364 main ()
105366 __builtin_fabsl(0);
105368 return 0;
105370 _ACEOF
105371 rm -f conftest.$ac_objext
105372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105373 (eval $ac_compile) 2>conftest.er1
105374 ac_status=$?
105375 grep -v '^ *+' conftest.er1 >conftest.err
105376 rm -f conftest.er1
105377 cat conftest.err >&5
105378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105379 (exit $ac_status); } &&
105380 { ac_try='test -z "$ac_cxx_werror_flag"
105381 || test ! -s conftest.err'
105382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105383 (eval $ac_try) 2>&5
105384 ac_status=$?
105385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105386 (exit $ac_status); }; } &&
105387 { ac_try='test -s conftest.$ac_objext'
105388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105389 (eval $ac_try) 2>&5
105390 ac_status=$?
105391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105392 (exit $ac_status); }; }; then
105393 glibcxx_cv_func___builtin_fabsl_use=yes
105395 echo "$as_me: failed program was:" >&5
105396 sed 's/^/| /' conftest.$ac_ext >&5
105398 glibcxx_cv_func___builtin_fabsl_use=no
105400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105401 ac_ext=c
105402 ac_cpp='$CPP $CPPFLAGS'
105403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105411 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
105412 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
105413 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
105414 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
105415 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
105416 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
105417 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
105418 echo $ECHO_N "(cached) $ECHO_C" >&6
105421 if test x$gcc_no_link = xyes; then
105422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105424 { (exit 1); exit 1; }; }
105426 cat >conftest.$ac_ext <<_ACEOF
105427 /* confdefs.h. */
105428 _ACEOF
105429 cat confdefs.h >>conftest.$ac_ext
105430 cat >>conftest.$ac_ext <<_ACEOF
105431 /* end confdefs.h. */
105432 #include <math.h>
105434 main ()
105436 __builtin_fabsl(0);
105438 return 0;
105440 _ACEOF
105441 rm -f conftest.$ac_objext conftest$ac_exeext
105442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105443 (eval $ac_link) 2>conftest.er1
105444 ac_status=$?
105445 grep -v '^ *+' conftest.er1 >conftest.err
105446 rm -f conftest.er1
105447 cat conftest.err >&5
105448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105449 (exit $ac_status); } &&
105450 { ac_try='test -z "$ac_c_werror_flag"
105451 || test ! -s conftest.err'
105452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105453 (eval $ac_try) 2>&5
105454 ac_status=$?
105455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105456 (exit $ac_status); }; } &&
105457 { ac_try='test -s conftest$ac_exeext'
105458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105459 (eval $ac_try) 2>&5
105460 ac_status=$?
105461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105462 (exit $ac_status); }; }; then
105463 glibcxx_cv_func___builtin_fabsl_link=yes
105465 echo "$as_me: failed program was:" >&5
105466 sed 's/^/| /' conftest.$ac_ext >&5
105468 glibcxx_cv_func___builtin_fabsl_link=no
105470 rm -f conftest.err conftest.$ac_objext \
105471 conftest$ac_exeext conftest.$ac_ext
105476 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
105477 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
105479 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
105481 cat >>confdefs.h <<\_ACEOF
105482 #define HAVE___BUILTIN_FABSL 1
105483 _ACEOF
105490 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
105491 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
105492 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
105493 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
105494 echo $ECHO_N "(cached) $ECHO_C" >&6
105499 ac_ext=cc
105500 ac_cpp='$CXXCPP $CPPFLAGS'
105501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105505 cat >conftest.$ac_ext <<_ACEOF
105506 /* confdefs.h. */
105507 _ACEOF
105508 cat confdefs.h >>conftest.$ac_ext
105509 cat >>conftest.$ac_ext <<_ACEOF
105510 /* end confdefs.h. */
105511 #include <math.h>
105513 main ()
105515 __builtin_labs(0);
105517 return 0;
105519 _ACEOF
105520 rm -f conftest.$ac_objext
105521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105522 (eval $ac_compile) 2>conftest.er1
105523 ac_status=$?
105524 grep -v '^ *+' conftest.er1 >conftest.err
105525 rm -f conftest.er1
105526 cat conftest.err >&5
105527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105528 (exit $ac_status); } &&
105529 { ac_try='test -z "$ac_cxx_werror_flag"
105530 || test ! -s conftest.err'
105531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105532 (eval $ac_try) 2>&5
105533 ac_status=$?
105534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105535 (exit $ac_status); }; } &&
105536 { ac_try='test -s conftest.$ac_objext'
105537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105538 (eval $ac_try) 2>&5
105539 ac_status=$?
105540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105541 (exit $ac_status); }; }; then
105542 glibcxx_cv_func___builtin_labs_use=yes
105544 echo "$as_me: failed program was:" >&5
105545 sed 's/^/| /' conftest.$ac_ext >&5
105547 glibcxx_cv_func___builtin_labs_use=no
105549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105550 ac_ext=c
105551 ac_cpp='$CPP $CPPFLAGS'
105552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105560 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
105561 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
105562 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
105563 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
105564 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
105565 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
105566 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
105567 echo $ECHO_N "(cached) $ECHO_C" >&6
105570 if test x$gcc_no_link = xyes; then
105571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105573 { (exit 1); exit 1; }; }
105575 cat >conftest.$ac_ext <<_ACEOF
105576 /* confdefs.h. */
105577 _ACEOF
105578 cat confdefs.h >>conftest.$ac_ext
105579 cat >>conftest.$ac_ext <<_ACEOF
105580 /* end confdefs.h. */
105581 #include <math.h>
105583 main ()
105585 __builtin_labs(0);
105587 return 0;
105589 _ACEOF
105590 rm -f conftest.$ac_objext conftest$ac_exeext
105591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105592 (eval $ac_link) 2>conftest.er1
105593 ac_status=$?
105594 grep -v '^ *+' conftest.er1 >conftest.err
105595 rm -f conftest.er1
105596 cat conftest.err >&5
105597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105598 (exit $ac_status); } &&
105599 { ac_try='test -z "$ac_c_werror_flag"
105600 || test ! -s conftest.err'
105601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105602 (eval $ac_try) 2>&5
105603 ac_status=$?
105604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105605 (exit $ac_status); }; } &&
105606 { ac_try='test -s conftest$ac_exeext'
105607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105608 (eval $ac_try) 2>&5
105609 ac_status=$?
105610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105611 (exit $ac_status); }; }; then
105612 glibcxx_cv_func___builtin_labs_link=yes
105614 echo "$as_me: failed program was:" >&5
105615 sed 's/^/| /' conftest.$ac_ext >&5
105617 glibcxx_cv_func___builtin_labs_link=no
105619 rm -f conftest.err conftest.$ac_objext \
105620 conftest$ac_exeext conftest.$ac_ext
105625 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
105626 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
105628 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
105630 cat >>confdefs.h <<\_ACEOF
105631 #define HAVE___BUILTIN_LABS 1
105632 _ACEOF
105640 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
105641 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
105642 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
105643 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
105644 echo $ECHO_N "(cached) $ECHO_C" >&6
105649 ac_ext=cc
105650 ac_cpp='$CXXCPP $CPPFLAGS'
105651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105655 cat >conftest.$ac_ext <<_ACEOF
105656 /* confdefs.h. */
105657 _ACEOF
105658 cat confdefs.h >>conftest.$ac_ext
105659 cat >>conftest.$ac_ext <<_ACEOF
105660 /* end confdefs.h. */
105661 #include <math.h>
105663 main ()
105665 __builtin_sqrtf(0);
105667 return 0;
105669 _ACEOF
105670 rm -f conftest.$ac_objext
105671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105672 (eval $ac_compile) 2>conftest.er1
105673 ac_status=$?
105674 grep -v '^ *+' conftest.er1 >conftest.err
105675 rm -f conftest.er1
105676 cat conftest.err >&5
105677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105678 (exit $ac_status); } &&
105679 { ac_try='test -z "$ac_cxx_werror_flag"
105680 || test ! -s conftest.err'
105681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105682 (eval $ac_try) 2>&5
105683 ac_status=$?
105684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105685 (exit $ac_status); }; } &&
105686 { ac_try='test -s conftest.$ac_objext'
105687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105688 (eval $ac_try) 2>&5
105689 ac_status=$?
105690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105691 (exit $ac_status); }; }; then
105692 glibcxx_cv_func___builtin_sqrtf_use=yes
105694 echo "$as_me: failed program was:" >&5
105695 sed 's/^/| /' conftest.$ac_ext >&5
105697 glibcxx_cv_func___builtin_sqrtf_use=no
105699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105700 ac_ext=c
105701 ac_cpp='$CPP $CPPFLAGS'
105702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105710 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
105711 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
105712 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
105713 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
105714 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
105715 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
105716 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
105717 echo $ECHO_N "(cached) $ECHO_C" >&6
105720 if test x$gcc_no_link = xyes; then
105721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105723 { (exit 1); exit 1; }; }
105725 cat >conftest.$ac_ext <<_ACEOF
105726 /* confdefs.h. */
105727 _ACEOF
105728 cat confdefs.h >>conftest.$ac_ext
105729 cat >>conftest.$ac_ext <<_ACEOF
105730 /* end confdefs.h. */
105731 #include <math.h>
105733 main ()
105735 __builtin_sqrtf(0);
105737 return 0;
105739 _ACEOF
105740 rm -f conftest.$ac_objext conftest$ac_exeext
105741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105742 (eval $ac_link) 2>conftest.er1
105743 ac_status=$?
105744 grep -v '^ *+' conftest.er1 >conftest.err
105745 rm -f conftest.er1
105746 cat conftest.err >&5
105747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105748 (exit $ac_status); } &&
105749 { ac_try='test -z "$ac_c_werror_flag"
105750 || test ! -s conftest.err'
105751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105752 (eval $ac_try) 2>&5
105753 ac_status=$?
105754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105755 (exit $ac_status); }; } &&
105756 { ac_try='test -s conftest$ac_exeext'
105757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105758 (eval $ac_try) 2>&5
105759 ac_status=$?
105760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105761 (exit $ac_status); }; }; then
105762 glibcxx_cv_func___builtin_sqrtf_link=yes
105764 echo "$as_me: failed program was:" >&5
105765 sed 's/^/| /' conftest.$ac_ext >&5
105767 glibcxx_cv_func___builtin_sqrtf_link=no
105769 rm -f conftest.err conftest.$ac_objext \
105770 conftest$ac_exeext conftest.$ac_ext
105775 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
105776 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
105778 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
105780 cat >>confdefs.h <<\_ACEOF
105781 #define HAVE___BUILTIN_SQRTF 1
105782 _ACEOF
105789 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
105790 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
105791 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
105792 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
105793 echo $ECHO_N "(cached) $ECHO_C" >&6
105798 ac_ext=cc
105799 ac_cpp='$CXXCPP $CPPFLAGS'
105800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105804 cat >conftest.$ac_ext <<_ACEOF
105805 /* confdefs.h. */
105806 _ACEOF
105807 cat confdefs.h >>conftest.$ac_ext
105808 cat >>conftest.$ac_ext <<_ACEOF
105809 /* end confdefs.h. */
105810 #include <math.h>
105812 main ()
105814 __builtin_sqrt(0);
105816 return 0;
105818 _ACEOF
105819 rm -f conftest.$ac_objext
105820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105821 (eval $ac_compile) 2>conftest.er1
105822 ac_status=$?
105823 grep -v '^ *+' conftest.er1 >conftest.err
105824 rm -f conftest.er1
105825 cat conftest.err >&5
105826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105827 (exit $ac_status); } &&
105828 { ac_try='test -z "$ac_cxx_werror_flag"
105829 || test ! -s conftest.err'
105830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105831 (eval $ac_try) 2>&5
105832 ac_status=$?
105833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105834 (exit $ac_status); }; } &&
105835 { ac_try='test -s conftest.$ac_objext'
105836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105837 (eval $ac_try) 2>&5
105838 ac_status=$?
105839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105840 (exit $ac_status); }; }; then
105841 glibcxx_cv_func___builtin_sqrt_use=yes
105843 echo "$as_me: failed program was:" >&5
105844 sed 's/^/| /' conftest.$ac_ext >&5
105846 glibcxx_cv_func___builtin_sqrt_use=no
105848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105849 ac_ext=c
105850 ac_cpp='$CPP $CPPFLAGS'
105851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105859 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
105860 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
105861 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
105862 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
105863 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
105864 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
105865 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
105866 echo $ECHO_N "(cached) $ECHO_C" >&6
105869 if test x$gcc_no_link = xyes; then
105870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105872 { (exit 1); exit 1; }; }
105874 cat >conftest.$ac_ext <<_ACEOF
105875 /* confdefs.h. */
105876 _ACEOF
105877 cat confdefs.h >>conftest.$ac_ext
105878 cat >>conftest.$ac_ext <<_ACEOF
105879 /* end confdefs.h. */
105880 #include <math.h>
105882 main ()
105884 __builtin_sqrt(0);
105886 return 0;
105888 _ACEOF
105889 rm -f conftest.$ac_objext conftest$ac_exeext
105890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105891 (eval $ac_link) 2>conftest.er1
105892 ac_status=$?
105893 grep -v '^ *+' conftest.er1 >conftest.err
105894 rm -f conftest.er1
105895 cat conftest.err >&5
105896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105897 (exit $ac_status); } &&
105898 { ac_try='test -z "$ac_c_werror_flag"
105899 || test ! -s conftest.err'
105900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105901 (eval $ac_try) 2>&5
105902 ac_status=$?
105903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105904 (exit $ac_status); }; } &&
105905 { ac_try='test -s conftest$ac_exeext'
105906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105907 (eval $ac_try) 2>&5
105908 ac_status=$?
105909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105910 (exit $ac_status); }; }; then
105911 glibcxx_cv_func___builtin_sqrt_link=yes
105913 echo "$as_me: failed program was:" >&5
105914 sed 's/^/| /' conftest.$ac_ext >&5
105916 glibcxx_cv_func___builtin_sqrt_link=no
105918 rm -f conftest.err conftest.$ac_objext \
105919 conftest$ac_exeext conftest.$ac_ext
105924 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
105925 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
105927 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
105929 cat >>confdefs.h <<\_ACEOF
105930 #define HAVE___BUILTIN_SQRT 1
105931 _ACEOF
105938 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
105939 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
105940 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
105941 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
105942 echo $ECHO_N "(cached) $ECHO_C" >&6
105947 ac_ext=cc
105948 ac_cpp='$CXXCPP $CPPFLAGS'
105949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105953 cat >conftest.$ac_ext <<_ACEOF
105954 /* confdefs.h. */
105955 _ACEOF
105956 cat confdefs.h >>conftest.$ac_ext
105957 cat >>conftest.$ac_ext <<_ACEOF
105958 /* end confdefs.h. */
105959 #include <math.h>
105961 main ()
105963 __builtin_sqrtl(0);
105965 return 0;
105967 _ACEOF
105968 rm -f conftest.$ac_objext
105969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105970 (eval $ac_compile) 2>conftest.er1
105971 ac_status=$?
105972 grep -v '^ *+' conftest.er1 >conftest.err
105973 rm -f conftest.er1
105974 cat conftest.err >&5
105975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105976 (exit $ac_status); } &&
105977 { ac_try='test -z "$ac_cxx_werror_flag"
105978 || test ! -s conftest.err'
105979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105980 (eval $ac_try) 2>&5
105981 ac_status=$?
105982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105983 (exit $ac_status); }; } &&
105984 { ac_try='test -s conftest.$ac_objext'
105985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105986 (eval $ac_try) 2>&5
105987 ac_status=$?
105988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105989 (exit $ac_status); }; }; then
105990 glibcxx_cv_func___builtin_sqrtl_use=yes
105992 echo "$as_me: failed program was:" >&5
105993 sed 's/^/| /' conftest.$ac_ext >&5
105995 glibcxx_cv_func___builtin_sqrtl_use=no
105997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105998 ac_ext=c
105999 ac_cpp='$CPP $CPPFLAGS'
106000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106008 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
106009 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
106010 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
106011 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
106012 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
106013 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
106014 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
106015 echo $ECHO_N "(cached) $ECHO_C" >&6
106018 if test x$gcc_no_link = xyes; then
106019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106021 { (exit 1); exit 1; }; }
106023 cat >conftest.$ac_ext <<_ACEOF
106024 /* confdefs.h. */
106025 _ACEOF
106026 cat confdefs.h >>conftest.$ac_ext
106027 cat >>conftest.$ac_ext <<_ACEOF
106028 /* end confdefs.h. */
106029 #include <math.h>
106031 main ()
106033 __builtin_sqrtl(0);
106035 return 0;
106037 _ACEOF
106038 rm -f conftest.$ac_objext conftest$ac_exeext
106039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106040 (eval $ac_link) 2>conftest.er1
106041 ac_status=$?
106042 grep -v '^ *+' conftest.er1 >conftest.err
106043 rm -f conftest.er1
106044 cat conftest.err >&5
106045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106046 (exit $ac_status); } &&
106047 { ac_try='test -z "$ac_c_werror_flag"
106048 || test ! -s conftest.err'
106049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106050 (eval $ac_try) 2>&5
106051 ac_status=$?
106052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106053 (exit $ac_status); }; } &&
106054 { ac_try='test -s conftest$ac_exeext'
106055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106056 (eval $ac_try) 2>&5
106057 ac_status=$?
106058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106059 (exit $ac_status); }; }; then
106060 glibcxx_cv_func___builtin_sqrtl_link=yes
106062 echo "$as_me: failed program was:" >&5
106063 sed 's/^/| /' conftest.$ac_ext >&5
106065 glibcxx_cv_func___builtin_sqrtl_link=no
106067 rm -f conftest.err conftest.$ac_objext \
106068 conftest$ac_exeext conftest.$ac_ext
106073 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
106074 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
106076 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
106078 cat >>confdefs.h <<\_ACEOF
106079 #define HAVE___BUILTIN_SQRTL 1
106080 _ACEOF
106088 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
106089 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
106090 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
106091 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
106092 echo $ECHO_N "(cached) $ECHO_C" >&6
106097 ac_ext=cc
106098 ac_cpp='$CXXCPP $CPPFLAGS'
106099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106103 cat >conftest.$ac_ext <<_ACEOF
106104 /* confdefs.h. */
106105 _ACEOF
106106 cat confdefs.h >>conftest.$ac_ext
106107 cat >>conftest.$ac_ext <<_ACEOF
106108 /* end confdefs.h. */
106109 #include <math.h>
106111 main ()
106113 __builtin_sinf(0);
106115 return 0;
106117 _ACEOF
106118 rm -f conftest.$ac_objext
106119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106120 (eval $ac_compile) 2>conftest.er1
106121 ac_status=$?
106122 grep -v '^ *+' conftest.er1 >conftest.err
106123 rm -f conftest.er1
106124 cat conftest.err >&5
106125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106126 (exit $ac_status); } &&
106127 { ac_try='test -z "$ac_cxx_werror_flag"
106128 || test ! -s conftest.err'
106129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106130 (eval $ac_try) 2>&5
106131 ac_status=$?
106132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106133 (exit $ac_status); }; } &&
106134 { ac_try='test -s conftest.$ac_objext'
106135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106136 (eval $ac_try) 2>&5
106137 ac_status=$?
106138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106139 (exit $ac_status); }; }; then
106140 glibcxx_cv_func___builtin_sinf_use=yes
106142 echo "$as_me: failed program was:" >&5
106143 sed 's/^/| /' conftest.$ac_ext >&5
106145 glibcxx_cv_func___builtin_sinf_use=no
106147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106148 ac_ext=c
106149 ac_cpp='$CPP $CPPFLAGS'
106150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106158 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
106159 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
106160 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
106161 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
106162 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
106163 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
106164 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
106165 echo $ECHO_N "(cached) $ECHO_C" >&6
106168 if test x$gcc_no_link = xyes; then
106169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106171 { (exit 1); exit 1; }; }
106173 cat >conftest.$ac_ext <<_ACEOF
106174 /* confdefs.h. */
106175 _ACEOF
106176 cat confdefs.h >>conftest.$ac_ext
106177 cat >>conftest.$ac_ext <<_ACEOF
106178 /* end confdefs.h. */
106179 #include <math.h>
106181 main ()
106183 __builtin_sinf(0);
106185 return 0;
106187 _ACEOF
106188 rm -f conftest.$ac_objext conftest$ac_exeext
106189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106190 (eval $ac_link) 2>conftest.er1
106191 ac_status=$?
106192 grep -v '^ *+' conftest.er1 >conftest.err
106193 rm -f conftest.er1
106194 cat conftest.err >&5
106195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106196 (exit $ac_status); } &&
106197 { ac_try='test -z "$ac_c_werror_flag"
106198 || test ! -s conftest.err'
106199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106200 (eval $ac_try) 2>&5
106201 ac_status=$?
106202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106203 (exit $ac_status); }; } &&
106204 { ac_try='test -s conftest$ac_exeext'
106205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106206 (eval $ac_try) 2>&5
106207 ac_status=$?
106208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106209 (exit $ac_status); }; }; then
106210 glibcxx_cv_func___builtin_sinf_link=yes
106212 echo "$as_me: failed program was:" >&5
106213 sed 's/^/| /' conftest.$ac_ext >&5
106215 glibcxx_cv_func___builtin_sinf_link=no
106217 rm -f conftest.err conftest.$ac_objext \
106218 conftest$ac_exeext conftest.$ac_ext
106223 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
106224 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
106226 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
106228 cat >>confdefs.h <<\_ACEOF
106229 #define HAVE___BUILTIN_SINF 1
106230 _ACEOF
106237 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
106238 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
106239 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
106240 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
106241 echo $ECHO_N "(cached) $ECHO_C" >&6
106246 ac_ext=cc
106247 ac_cpp='$CXXCPP $CPPFLAGS'
106248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106252 cat >conftest.$ac_ext <<_ACEOF
106253 /* confdefs.h. */
106254 _ACEOF
106255 cat confdefs.h >>conftest.$ac_ext
106256 cat >>conftest.$ac_ext <<_ACEOF
106257 /* end confdefs.h. */
106258 #include <math.h>
106260 main ()
106262 __builtin_sin(0);
106264 return 0;
106266 _ACEOF
106267 rm -f conftest.$ac_objext
106268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106269 (eval $ac_compile) 2>conftest.er1
106270 ac_status=$?
106271 grep -v '^ *+' conftest.er1 >conftest.err
106272 rm -f conftest.er1
106273 cat conftest.err >&5
106274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106275 (exit $ac_status); } &&
106276 { ac_try='test -z "$ac_cxx_werror_flag"
106277 || test ! -s conftest.err'
106278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106279 (eval $ac_try) 2>&5
106280 ac_status=$?
106281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106282 (exit $ac_status); }; } &&
106283 { ac_try='test -s conftest.$ac_objext'
106284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106285 (eval $ac_try) 2>&5
106286 ac_status=$?
106287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106288 (exit $ac_status); }; }; then
106289 glibcxx_cv_func___builtin_sin_use=yes
106291 echo "$as_me: failed program was:" >&5
106292 sed 's/^/| /' conftest.$ac_ext >&5
106294 glibcxx_cv_func___builtin_sin_use=no
106296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106297 ac_ext=c
106298 ac_cpp='$CPP $CPPFLAGS'
106299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106307 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
106308 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
106309 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
106310 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
106311 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
106312 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
106313 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
106314 echo $ECHO_N "(cached) $ECHO_C" >&6
106317 if test x$gcc_no_link = xyes; then
106318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106320 { (exit 1); exit 1; }; }
106322 cat >conftest.$ac_ext <<_ACEOF
106323 /* confdefs.h. */
106324 _ACEOF
106325 cat confdefs.h >>conftest.$ac_ext
106326 cat >>conftest.$ac_ext <<_ACEOF
106327 /* end confdefs.h. */
106328 #include <math.h>
106330 main ()
106332 __builtin_sin(0);
106334 return 0;
106336 _ACEOF
106337 rm -f conftest.$ac_objext conftest$ac_exeext
106338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106339 (eval $ac_link) 2>conftest.er1
106340 ac_status=$?
106341 grep -v '^ *+' conftest.er1 >conftest.err
106342 rm -f conftest.er1
106343 cat conftest.err >&5
106344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106345 (exit $ac_status); } &&
106346 { ac_try='test -z "$ac_c_werror_flag"
106347 || test ! -s conftest.err'
106348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106349 (eval $ac_try) 2>&5
106350 ac_status=$?
106351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106352 (exit $ac_status); }; } &&
106353 { ac_try='test -s conftest$ac_exeext'
106354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106355 (eval $ac_try) 2>&5
106356 ac_status=$?
106357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106358 (exit $ac_status); }; }; then
106359 glibcxx_cv_func___builtin_sin_link=yes
106361 echo "$as_me: failed program was:" >&5
106362 sed 's/^/| /' conftest.$ac_ext >&5
106364 glibcxx_cv_func___builtin_sin_link=no
106366 rm -f conftest.err conftest.$ac_objext \
106367 conftest$ac_exeext conftest.$ac_ext
106372 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
106373 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
106375 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
106377 cat >>confdefs.h <<\_ACEOF
106378 #define HAVE___BUILTIN_SIN 1
106379 _ACEOF
106386 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
106387 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
106388 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
106389 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
106390 echo $ECHO_N "(cached) $ECHO_C" >&6
106395 ac_ext=cc
106396 ac_cpp='$CXXCPP $CPPFLAGS'
106397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106401 cat >conftest.$ac_ext <<_ACEOF
106402 /* confdefs.h. */
106403 _ACEOF
106404 cat confdefs.h >>conftest.$ac_ext
106405 cat >>conftest.$ac_ext <<_ACEOF
106406 /* end confdefs.h. */
106407 #include <math.h>
106409 main ()
106411 __builtin_sinl(0);
106413 return 0;
106415 _ACEOF
106416 rm -f conftest.$ac_objext
106417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106418 (eval $ac_compile) 2>conftest.er1
106419 ac_status=$?
106420 grep -v '^ *+' conftest.er1 >conftest.err
106421 rm -f conftest.er1
106422 cat conftest.err >&5
106423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106424 (exit $ac_status); } &&
106425 { ac_try='test -z "$ac_cxx_werror_flag"
106426 || test ! -s conftest.err'
106427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106428 (eval $ac_try) 2>&5
106429 ac_status=$?
106430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106431 (exit $ac_status); }; } &&
106432 { ac_try='test -s conftest.$ac_objext'
106433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106434 (eval $ac_try) 2>&5
106435 ac_status=$?
106436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106437 (exit $ac_status); }; }; then
106438 glibcxx_cv_func___builtin_sinl_use=yes
106440 echo "$as_me: failed program was:" >&5
106441 sed 's/^/| /' conftest.$ac_ext >&5
106443 glibcxx_cv_func___builtin_sinl_use=no
106445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106446 ac_ext=c
106447 ac_cpp='$CPP $CPPFLAGS'
106448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106456 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
106457 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
106458 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
106459 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
106460 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
106461 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
106462 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
106463 echo $ECHO_N "(cached) $ECHO_C" >&6
106466 if test x$gcc_no_link = xyes; then
106467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106469 { (exit 1); exit 1; }; }
106471 cat >conftest.$ac_ext <<_ACEOF
106472 /* confdefs.h. */
106473 _ACEOF
106474 cat confdefs.h >>conftest.$ac_ext
106475 cat >>conftest.$ac_ext <<_ACEOF
106476 /* end confdefs.h. */
106477 #include <math.h>
106479 main ()
106481 __builtin_sinl(0);
106483 return 0;
106485 _ACEOF
106486 rm -f conftest.$ac_objext conftest$ac_exeext
106487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106488 (eval $ac_link) 2>conftest.er1
106489 ac_status=$?
106490 grep -v '^ *+' conftest.er1 >conftest.err
106491 rm -f conftest.er1
106492 cat conftest.err >&5
106493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106494 (exit $ac_status); } &&
106495 { ac_try='test -z "$ac_c_werror_flag"
106496 || test ! -s conftest.err'
106497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106498 (eval $ac_try) 2>&5
106499 ac_status=$?
106500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106501 (exit $ac_status); }; } &&
106502 { ac_try='test -s conftest$ac_exeext'
106503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106504 (eval $ac_try) 2>&5
106505 ac_status=$?
106506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106507 (exit $ac_status); }; }; then
106508 glibcxx_cv_func___builtin_sinl_link=yes
106510 echo "$as_me: failed program was:" >&5
106511 sed 's/^/| /' conftest.$ac_ext >&5
106513 glibcxx_cv_func___builtin_sinl_link=no
106515 rm -f conftest.err conftest.$ac_objext \
106516 conftest$ac_exeext conftest.$ac_ext
106521 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
106522 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
106524 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
106526 cat >>confdefs.h <<\_ACEOF
106527 #define HAVE___BUILTIN_SINL 1
106528 _ACEOF
106536 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
106537 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
106538 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
106539 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
106540 echo $ECHO_N "(cached) $ECHO_C" >&6
106545 ac_ext=cc
106546 ac_cpp='$CXXCPP $CPPFLAGS'
106547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106551 cat >conftest.$ac_ext <<_ACEOF
106552 /* confdefs.h. */
106553 _ACEOF
106554 cat confdefs.h >>conftest.$ac_ext
106555 cat >>conftest.$ac_ext <<_ACEOF
106556 /* end confdefs.h. */
106557 #include <math.h>
106559 main ()
106561 __builtin_cosf(0);
106563 return 0;
106565 _ACEOF
106566 rm -f conftest.$ac_objext
106567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106568 (eval $ac_compile) 2>conftest.er1
106569 ac_status=$?
106570 grep -v '^ *+' conftest.er1 >conftest.err
106571 rm -f conftest.er1
106572 cat conftest.err >&5
106573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106574 (exit $ac_status); } &&
106575 { ac_try='test -z "$ac_cxx_werror_flag"
106576 || test ! -s conftest.err'
106577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106578 (eval $ac_try) 2>&5
106579 ac_status=$?
106580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106581 (exit $ac_status); }; } &&
106582 { ac_try='test -s conftest.$ac_objext'
106583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106584 (eval $ac_try) 2>&5
106585 ac_status=$?
106586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106587 (exit $ac_status); }; }; then
106588 glibcxx_cv_func___builtin_cosf_use=yes
106590 echo "$as_me: failed program was:" >&5
106591 sed 's/^/| /' conftest.$ac_ext >&5
106593 glibcxx_cv_func___builtin_cosf_use=no
106595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106596 ac_ext=c
106597 ac_cpp='$CPP $CPPFLAGS'
106598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106606 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
106607 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
106608 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
106609 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
106610 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
106611 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
106612 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
106613 echo $ECHO_N "(cached) $ECHO_C" >&6
106616 if test x$gcc_no_link = xyes; then
106617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106619 { (exit 1); exit 1; }; }
106621 cat >conftest.$ac_ext <<_ACEOF
106622 /* confdefs.h. */
106623 _ACEOF
106624 cat confdefs.h >>conftest.$ac_ext
106625 cat >>conftest.$ac_ext <<_ACEOF
106626 /* end confdefs.h. */
106627 #include <math.h>
106629 main ()
106631 __builtin_cosf(0);
106633 return 0;
106635 _ACEOF
106636 rm -f conftest.$ac_objext conftest$ac_exeext
106637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106638 (eval $ac_link) 2>conftest.er1
106639 ac_status=$?
106640 grep -v '^ *+' conftest.er1 >conftest.err
106641 rm -f conftest.er1
106642 cat conftest.err >&5
106643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106644 (exit $ac_status); } &&
106645 { ac_try='test -z "$ac_c_werror_flag"
106646 || test ! -s conftest.err'
106647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106648 (eval $ac_try) 2>&5
106649 ac_status=$?
106650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106651 (exit $ac_status); }; } &&
106652 { ac_try='test -s conftest$ac_exeext'
106653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106654 (eval $ac_try) 2>&5
106655 ac_status=$?
106656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106657 (exit $ac_status); }; }; then
106658 glibcxx_cv_func___builtin_cosf_link=yes
106660 echo "$as_me: failed program was:" >&5
106661 sed 's/^/| /' conftest.$ac_ext >&5
106663 glibcxx_cv_func___builtin_cosf_link=no
106665 rm -f conftest.err conftest.$ac_objext \
106666 conftest$ac_exeext conftest.$ac_ext
106671 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
106672 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
106674 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
106676 cat >>confdefs.h <<\_ACEOF
106677 #define HAVE___BUILTIN_COSF 1
106678 _ACEOF
106685 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
106686 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
106687 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
106688 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
106689 echo $ECHO_N "(cached) $ECHO_C" >&6
106694 ac_ext=cc
106695 ac_cpp='$CXXCPP $CPPFLAGS'
106696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106700 cat >conftest.$ac_ext <<_ACEOF
106701 /* confdefs.h. */
106702 _ACEOF
106703 cat confdefs.h >>conftest.$ac_ext
106704 cat >>conftest.$ac_ext <<_ACEOF
106705 /* end confdefs.h. */
106706 #include <math.h>
106708 main ()
106710 __builtin_cos(0);
106712 return 0;
106714 _ACEOF
106715 rm -f conftest.$ac_objext
106716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106717 (eval $ac_compile) 2>conftest.er1
106718 ac_status=$?
106719 grep -v '^ *+' conftest.er1 >conftest.err
106720 rm -f conftest.er1
106721 cat conftest.err >&5
106722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106723 (exit $ac_status); } &&
106724 { ac_try='test -z "$ac_cxx_werror_flag"
106725 || test ! -s conftest.err'
106726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106727 (eval $ac_try) 2>&5
106728 ac_status=$?
106729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106730 (exit $ac_status); }; } &&
106731 { ac_try='test -s conftest.$ac_objext'
106732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106733 (eval $ac_try) 2>&5
106734 ac_status=$?
106735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106736 (exit $ac_status); }; }; then
106737 glibcxx_cv_func___builtin_cos_use=yes
106739 echo "$as_me: failed program was:" >&5
106740 sed 's/^/| /' conftest.$ac_ext >&5
106742 glibcxx_cv_func___builtin_cos_use=no
106744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106745 ac_ext=c
106746 ac_cpp='$CPP $CPPFLAGS'
106747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106755 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
106756 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
106757 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
106758 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
106759 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
106760 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
106761 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
106762 echo $ECHO_N "(cached) $ECHO_C" >&6
106765 if test x$gcc_no_link = xyes; then
106766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106768 { (exit 1); exit 1; }; }
106770 cat >conftest.$ac_ext <<_ACEOF
106771 /* confdefs.h. */
106772 _ACEOF
106773 cat confdefs.h >>conftest.$ac_ext
106774 cat >>conftest.$ac_ext <<_ACEOF
106775 /* end confdefs.h. */
106776 #include <math.h>
106778 main ()
106780 __builtin_cos(0);
106782 return 0;
106784 _ACEOF
106785 rm -f conftest.$ac_objext conftest$ac_exeext
106786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106787 (eval $ac_link) 2>conftest.er1
106788 ac_status=$?
106789 grep -v '^ *+' conftest.er1 >conftest.err
106790 rm -f conftest.er1
106791 cat conftest.err >&5
106792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106793 (exit $ac_status); } &&
106794 { ac_try='test -z "$ac_c_werror_flag"
106795 || test ! -s conftest.err'
106796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106797 (eval $ac_try) 2>&5
106798 ac_status=$?
106799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106800 (exit $ac_status); }; } &&
106801 { ac_try='test -s conftest$ac_exeext'
106802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106803 (eval $ac_try) 2>&5
106804 ac_status=$?
106805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106806 (exit $ac_status); }; }; then
106807 glibcxx_cv_func___builtin_cos_link=yes
106809 echo "$as_me: failed program was:" >&5
106810 sed 's/^/| /' conftest.$ac_ext >&5
106812 glibcxx_cv_func___builtin_cos_link=no
106814 rm -f conftest.err conftest.$ac_objext \
106815 conftest$ac_exeext conftest.$ac_ext
106820 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
106821 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
106823 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
106825 cat >>confdefs.h <<\_ACEOF
106826 #define HAVE___BUILTIN_COS 1
106827 _ACEOF
106834 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
106835 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
106836 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
106837 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
106838 echo $ECHO_N "(cached) $ECHO_C" >&6
106843 ac_ext=cc
106844 ac_cpp='$CXXCPP $CPPFLAGS'
106845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106849 cat >conftest.$ac_ext <<_ACEOF
106850 /* confdefs.h. */
106851 _ACEOF
106852 cat confdefs.h >>conftest.$ac_ext
106853 cat >>conftest.$ac_ext <<_ACEOF
106854 /* end confdefs.h. */
106855 #include <math.h>
106857 main ()
106859 __builtin_cosl(0);
106861 return 0;
106863 _ACEOF
106864 rm -f conftest.$ac_objext
106865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106866 (eval $ac_compile) 2>conftest.er1
106867 ac_status=$?
106868 grep -v '^ *+' conftest.er1 >conftest.err
106869 rm -f conftest.er1
106870 cat conftest.err >&5
106871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106872 (exit $ac_status); } &&
106873 { ac_try='test -z "$ac_cxx_werror_flag"
106874 || test ! -s conftest.err'
106875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106876 (eval $ac_try) 2>&5
106877 ac_status=$?
106878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106879 (exit $ac_status); }; } &&
106880 { ac_try='test -s conftest.$ac_objext'
106881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106882 (eval $ac_try) 2>&5
106883 ac_status=$?
106884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106885 (exit $ac_status); }; }; then
106886 glibcxx_cv_func___builtin_cosl_use=yes
106888 echo "$as_me: failed program was:" >&5
106889 sed 's/^/| /' conftest.$ac_ext >&5
106891 glibcxx_cv_func___builtin_cosl_use=no
106893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106894 ac_ext=c
106895 ac_cpp='$CPP $CPPFLAGS'
106896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106904 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
106905 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
106906 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
106907 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
106908 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
106909 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
106910 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
106911 echo $ECHO_N "(cached) $ECHO_C" >&6
106914 if test x$gcc_no_link = xyes; then
106915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106917 { (exit 1); exit 1; }; }
106919 cat >conftest.$ac_ext <<_ACEOF
106920 /* confdefs.h. */
106921 _ACEOF
106922 cat confdefs.h >>conftest.$ac_ext
106923 cat >>conftest.$ac_ext <<_ACEOF
106924 /* end confdefs.h. */
106925 #include <math.h>
106927 main ()
106929 __builtin_cosl(0);
106931 return 0;
106933 _ACEOF
106934 rm -f conftest.$ac_objext conftest$ac_exeext
106935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106936 (eval $ac_link) 2>conftest.er1
106937 ac_status=$?
106938 grep -v '^ *+' conftest.er1 >conftest.err
106939 rm -f conftest.er1
106940 cat conftest.err >&5
106941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106942 (exit $ac_status); } &&
106943 { ac_try='test -z "$ac_c_werror_flag"
106944 || test ! -s conftest.err'
106945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106946 (eval $ac_try) 2>&5
106947 ac_status=$?
106948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106949 (exit $ac_status); }; } &&
106950 { ac_try='test -s conftest$ac_exeext'
106951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106952 (eval $ac_try) 2>&5
106953 ac_status=$?
106954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106955 (exit $ac_status); }; }; then
106956 glibcxx_cv_func___builtin_cosl_link=yes
106958 echo "$as_me: failed program was:" >&5
106959 sed 's/^/| /' conftest.$ac_ext >&5
106961 glibcxx_cv_func___builtin_cosl_link=no
106963 rm -f conftest.err conftest.$ac_objext \
106964 conftest$ac_exeext conftest.$ac_ext
106969 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
106970 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
106972 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
106974 cat >>confdefs.h <<\_ACEOF
106975 #define HAVE___BUILTIN_COSL 1
106976 _ACEOF
106985 echo "$as_me:$LINENO: checking for main in -lm" >&5
106986 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
106987 if test "${ac_cv_lib_m_main+set}" = set; then
106988 echo $ECHO_N "(cached) $ECHO_C" >&6
106990 ac_check_lib_save_LIBS=$LIBS
106991 LIBS="-lm $LIBS"
106992 if test x$gcc_no_link = xyes; then
106993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106995 { (exit 1); exit 1; }; }
106997 cat >conftest.$ac_ext <<_ACEOF
106998 /* confdefs.h. */
106999 _ACEOF
107000 cat confdefs.h >>conftest.$ac_ext
107001 cat >>conftest.$ac_ext <<_ACEOF
107002 /* end confdefs.h. */
107006 main ()
107008 main ();
107010 return 0;
107012 _ACEOF
107013 rm -f conftest.$ac_objext conftest$ac_exeext
107014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107015 (eval $ac_link) 2>conftest.er1
107016 ac_status=$?
107017 grep -v '^ *+' conftest.er1 >conftest.err
107018 rm -f conftest.er1
107019 cat conftest.err >&5
107020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107021 (exit $ac_status); } &&
107022 { ac_try='test -z "$ac_c_werror_flag"
107023 || test ! -s conftest.err'
107024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107025 (eval $ac_try) 2>&5
107026 ac_status=$?
107027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107028 (exit $ac_status); }; } &&
107029 { ac_try='test -s conftest$ac_exeext'
107030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107031 (eval $ac_try) 2>&5
107032 ac_status=$?
107033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107034 (exit $ac_status); }; }; then
107035 ac_cv_lib_m_main=yes
107037 echo "$as_me: failed program was:" >&5
107038 sed 's/^/| /' conftest.$ac_ext >&5
107040 ac_cv_lib_m_main=no
107042 rm -f conftest.err conftest.$ac_objext \
107043 conftest$ac_exeext conftest.$ac_ext
107044 LIBS=$ac_check_lib_save_LIBS
107046 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107047 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107048 if test $ac_cv_lib_m_main = yes; then
107049 cat >>confdefs.h <<_ACEOF
107050 #define HAVE_LIBM 1
107051 _ACEOF
107053 LIBS="-lm $LIBS"
107058 for ac_func in copysignf
107060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107061 echo "$as_me:$LINENO: checking for $ac_func" >&5
107062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107063 if eval "test \"\${$as_ac_var+set}\" = set"; then
107064 echo $ECHO_N "(cached) $ECHO_C" >&6
107066 if test x$gcc_no_link = xyes; then
107067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107069 { (exit 1); exit 1; }; }
107071 cat >conftest.$ac_ext <<_ACEOF
107072 /* confdefs.h. */
107073 _ACEOF
107074 cat confdefs.h >>conftest.$ac_ext
107075 cat >>conftest.$ac_ext <<_ACEOF
107076 /* end confdefs.h. */
107077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107079 #define $ac_func innocuous_$ac_func
107081 /* System header to define __stub macros and hopefully few prototypes,
107082 which can conflict with char $ac_func (); below.
107083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107084 <limits.h> exists even on freestanding compilers. */
107086 #ifdef __STDC__
107087 # include <limits.h>
107088 #else
107089 # include <assert.h>
107090 #endif
107092 #undef $ac_func
107094 /* Override any gcc2 internal prototype to avoid an error. */
107095 #ifdef __cplusplus
107096 extern "C"
107098 #endif
107099 /* We use char because int might match the return type of a gcc2
107100 builtin and then its argument prototype would still apply. */
107101 char $ac_func ();
107102 /* The GNU C library defines this for functions which it implements
107103 to always fail with ENOSYS. Some functions are actually named
107104 something starting with __ and the normal name is an alias. */
107105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107106 choke me
107107 #else
107108 char (*f) () = $ac_func;
107109 #endif
107110 #ifdef __cplusplus
107112 #endif
107115 main ()
107117 return f != $ac_func;
107119 return 0;
107121 _ACEOF
107122 rm -f conftest.$ac_objext conftest$ac_exeext
107123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107124 (eval $ac_link) 2>conftest.er1
107125 ac_status=$?
107126 grep -v '^ *+' conftest.er1 >conftest.err
107127 rm -f conftest.er1
107128 cat conftest.err >&5
107129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107130 (exit $ac_status); } &&
107131 { ac_try='test -z "$ac_c_werror_flag"
107132 || test ! -s conftest.err'
107133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107134 (eval $ac_try) 2>&5
107135 ac_status=$?
107136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107137 (exit $ac_status); }; } &&
107138 { ac_try='test -s conftest$ac_exeext'
107139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107140 (eval $ac_try) 2>&5
107141 ac_status=$?
107142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107143 (exit $ac_status); }; }; then
107144 eval "$as_ac_var=yes"
107146 echo "$as_me: failed program was:" >&5
107147 sed 's/^/| /' conftest.$ac_ext >&5
107149 eval "$as_ac_var=no"
107151 rm -f conftest.err conftest.$ac_objext \
107152 conftest$ac_exeext conftest.$ac_ext
107154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107156 if test `eval echo '${'$as_ac_var'}'` = yes; then
107157 cat >>confdefs.h <<_ACEOF
107158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107159 _ACEOF
107162 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107168 for ac_func in __signbit
107170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107171 echo "$as_me:$LINENO: checking for $ac_func" >&5
107172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107173 if eval "test \"\${$as_ac_var+set}\" = set"; then
107174 echo $ECHO_N "(cached) $ECHO_C" >&6
107176 if test x$gcc_no_link = xyes; then
107177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107179 { (exit 1); exit 1; }; }
107181 cat >conftest.$ac_ext <<_ACEOF
107182 /* confdefs.h. */
107183 _ACEOF
107184 cat confdefs.h >>conftest.$ac_ext
107185 cat >>conftest.$ac_ext <<_ACEOF
107186 /* end confdefs.h. */
107187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107189 #define $ac_func innocuous_$ac_func
107191 /* System header to define __stub macros and hopefully few prototypes,
107192 which can conflict with char $ac_func (); below.
107193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107194 <limits.h> exists even on freestanding compilers. */
107196 #ifdef __STDC__
107197 # include <limits.h>
107198 #else
107199 # include <assert.h>
107200 #endif
107202 #undef $ac_func
107204 /* Override any gcc2 internal prototype to avoid an error. */
107205 #ifdef __cplusplus
107206 extern "C"
107208 #endif
107209 /* We use char because int might match the return type of a gcc2
107210 builtin and then its argument prototype would still apply. */
107211 char $ac_func ();
107212 /* The GNU C library defines this for functions which it implements
107213 to always fail with ENOSYS. Some functions are actually named
107214 something starting with __ and the normal name is an alias. */
107215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107216 choke me
107217 #else
107218 char (*f) () = $ac_func;
107219 #endif
107220 #ifdef __cplusplus
107222 #endif
107225 main ()
107227 return f != $ac_func;
107229 return 0;
107231 _ACEOF
107232 rm -f conftest.$ac_objext conftest$ac_exeext
107233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107234 (eval $ac_link) 2>conftest.er1
107235 ac_status=$?
107236 grep -v '^ *+' conftest.er1 >conftest.err
107237 rm -f conftest.er1
107238 cat conftest.err >&5
107239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107240 (exit $ac_status); } &&
107241 { ac_try='test -z "$ac_c_werror_flag"
107242 || test ! -s conftest.err'
107243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107244 (eval $ac_try) 2>&5
107245 ac_status=$?
107246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107247 (exit $ac_status); }; } &&
107248 { ac_try='test -s conftest$ac_exeext'
107249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107250 (eval $ac_try) 2>&5
107251 ac_status=$?
107252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107253 (exit $ac_status); }; }; then
107254 eval "$as_ac_var=yes"
107256 echo "$as_me: failed program was:" >&5
107257 sed 's/^/| /' conftest.$ac_ext >&5
107259 eval "$as_ac_var=no"
107261 rm -f conftest.err conftest.$ac_objext \
107262 conftest$ac_exeext conftest.$ac_ext
107264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107266 if test `eval echo '${'$as_ac_var'}'` = yes; then
107267 cat >>confdefs.h <<_ACEOF
107268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107269 _ACEOF
107272 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107278 for ac_func in __signbitf
107280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107281 echo "$as_me:$LINENO: checking for $ac_func" >&5
107282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107283 if eval "test \"\${$as_ac_var+set}\" = set"; then
107284 echo $ECHO_N "(cached) $ECHO_C" >&6
107286 if test x$gcc_no_link = xyes; then
107287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107289 { (exit 1); exit 1; }; }
107291 cat >conftest.$ac_ext <<_ACEOF
107292 /* confdefs.h. */
107293 _ACEOF
107294 cat confdefs.h >>conftest.$ac_ext
107295 cat >>conftest.$ac_ext <<_ACEOF
107296 /* end confdefs.h. */
107297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107299 #define $ac_func innocuous_$ac_func
107301 /* System header to define __stub macros and hopefully few prototypes,
107302 which can conflict with char $ac_func (); below.
107303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107304 <limits.h> exists even on freestanding compilers. */
107306 #ifdef __STDC__
107307 # include <limits.h>
107308 #else
107309 # include <assert.h>
107310 #endif
107312 #undef $ac_func
107314 /* Override any gcc2 internal prototype to avoid an error. */
107315 #ifdef __cplusplus
107316 extern "C"
107318 #endif
107319 /* We use char because int might match the return type of a gcc2
107320 builtin and then its argument prototype would still apply. */
107321 char $ac_func ();
107322 /* The GNU C library defines this for functions which it implements
107323 to always fail with ENOSYS. Some functions are actually named
107324 something starting with __ and the normal name is an alias. */
107325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107326 choke me
107327 #else
107328 char (*f) () = $ac_func;
107329 #endif
107330 #ifdef __cplusplus
107332 #endif
107335 main ()
107337 return f != $ac_func;
107339 return 0;
107341 _ACEOF
107342 rm -f conftest.$ac_objext conftest$ac_exeext
107343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107344 (eval $ac_link) 2>conftest.er1
107345 ac_status=$?
107346 grep -v '^ *+' conftest.er1 >conftest.err
107347 rm -f conftest.er1
107348 cat conftest.err >&5
107349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107350 (exit $ac_status); } &&
107351 { ac_try='test -z "$ac_c_werror_flag"
107352 || test ! -s conftest.err'
107353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107354 (eval $ac_try) 2>&5
107355 ac_status=$?
107356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107357 (exit $ac_status); }; } &&
107358 { ac_try='test -s conftest$ac_exeext'
107359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107360 (eval $ac_try) 2>&5
107361 ac_status=$?
107362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107363 (exit $ac_status); }; }; then
107364 eval "$as_ac_var=yes"
107366 echo "$as_me: failed program was:" >&5
107367 sed 's/^/| /' conftest.$ac_ext >&5
107369 eval "$as_ac_var=no"
107371 rm -f conftest.err conftest.$ac_objext \
107372 conftest$ac_exeext conftest.$ac_ext
107374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107376 if test `eval echo '${'$as_ac_var'}'` = yes; then
107377 cat >>confdefs.h <<_ACEOF
107378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107379 _ACEOF
107382 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107387 if test x$ac_cv_func_copysignl = x"yes"; then
107389 for ac_func in __signbitl
107391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107392 echo "$as_me:$LINENO: checking for $ac_func" >&5
107393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107394 if eval "test \"\${$as_ac_var+set}\" = set"; then
107395 echo $ECHO_N "(cached) $ECHO_C" >&6
107397 if test x$gcc_no_link = xyes; then
107398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107400 { (exit 1); exit 1; }; }
107402 cat >conftest.$ac_ext <<_ACEOF
107403 /* confdefs.h. */
107404 _ACEOF
107405 cat confdefs.h >>conftest.$ac_ext
107406 cat >>conftest.$ac_ext <<_ACEOF
107407 /* end confdefs.h. */
107408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107410 #define $ac_func innocuous_$ac_func
107412 /* System header to define __stub macros and hopefully few prototypes,
107413 which can conflict with char $ac_func (); below.
107414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107415 <limits.h> exists even on freestanding compilers. */
107417 #ifdef __STDC__
107418 # include <limits.h>
107419 #else
107420 # include <assert.h>
107421 #endif
107423 #undef $ac_func
107425 /* Override any gcc2 internal prototype to avoid an error. */
107426 #ifdef __cplusplus
107427 extern "C"
107429 #endif
107430 /* We use char because int might match the return type of a gcc2
107431 builtin and then its argument prototype would still apply. */
107432 char $ac_func ();
107433 /* The GNU C library defines this for functions which it implements
107434 to always fail with ENOSYS. Some functions are actually named
107435 something starting with __ and the normal name is an alias. */
107436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107437 choke me
107438 #else
107439 char (*f) () = $ac_func;
107440 #endif
107441 #ifdef __cplusplus
107443 #endif
107446 main ()
107448 return f != $ac_func;
107450 return 0;
107452 _ACEOF
107453 rm -f conftest.$ac_objext conftest$ac_exeext
107454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107455 (eval $ac_link) 2>conftest.er1
107456 ac_status=$?
107457 grep -v '^ *+' conftest.er1 >conftest.err
107458 rm -f conftest.er1
107459 cat conftest.err >&5
107460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107461 (exit $ac_status); } &&
107462 { ac_try='test -z "$ac_c_werror_flag"
107463 || test ! -s conftest.err'
107464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107465 (eval $ac_try) 2>&5
107466 ac_status=$?
107467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107468 (exit $ac_status); }; } &&
107469 { ac_try='test -s conftest$ac_exeext'
107470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107471 (eval $ac_try) 2>&5
107472 ac_status=$?
107473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107474 (exit $ac_status); }; }; then
107475 eval "$as_ac_var=yes"
107477 echo "$as_me: failed program was:" >&5
107478 sed 's/^/| /' conftest.$ac_ext >&5
107480 eval "$as_ac_var=no"
107482 rm -f conftest.err conftest.$ac_objext \
107483 conftest$ac_exeext conftest.$ac_ext
107485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107487 if test `eval echo '${'$as_ac_var'}'` = yes; then
107488 cat >>confdefs.h <<_ACEOF
107489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107490 _ACEOF
107493 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107499 # Used in libmath/Makefile.am.
107500 if test -n "$LIBMATHOBJS"; then
107501 need_libmath=yes
107506 ac_test_CXXFLAGS="${CXXFLAGS+set}"
107507 ac_save_CXXFLAGS="$CXXFLAGS"
107508 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
107511 echo "$as_me:$LINENO: checking for strtold declaration" >&5
107512 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
107513 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
107514 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
107515 echo $ECHO_N "(cached) $ECHO_C" >&6
107520 ac_ext=cc
107521 ac_cpp='$CXXCPP $CPPFLAGS'
107522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107526 cat >conftest.$ac_ext <<_ACEOF
107527 /* confdefs.h. */
107528 _ACEOF
107529 cat confdefs.h >>conftest.$ac_ext
107530 cat >>conftest.$ac_ext <<_ACEOF
107531 /* end confdefs.h. */
107532 #include <stdlib.h>
107534 main ()
107536 strtold(0, 0);
107538 return 0;
107540 _ACEOF
107541 rm -f conftest.$ac_objext
107542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107543 (eval $ac_compile) 2>conftest.er1
107544 ac_status=$?
107545 grep -v '^ *+' conftest.er1 >conftest.err
107546 rm -f conftest.er1
107547 cat conftest.err >&5
107548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107549 (exit $ac_status); } &&
107550 { ac_try='test -z "$ac_cxx_werror_flag"
107551 || test ! -s conftest.err'
107552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107553 (eval $ac_try) 2>&5
107554 ac_status=$?
107555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107556 (exit $ac_status); }; } &&
107557 { ac_try='test -s conftest.$ac_objext'
107558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107559 (eval $ac_try) 2>&5
107560 ac_status=$?
107561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107562 (exit $ac_status); }; }; then
107563 glibcxx_cv_func_strtold_use=yes
107565 echo "$as_me: failed program was:" >&5
107566 sed 's/^/| /' conftest.$ac_ext >&5
107568 glibcxx_cv_func_strtold_use=no
107570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107571 ac_ext=c
107572 ac_cpp='$CPP $CPPFLAGS'
107573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107581 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
107582 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
107583 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
107585 for ac_func in strtold
107587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107588 echo "$as_me:$LINENO: checking for $ac_func" >&5
107589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107590 if eval "test \"\${$as_ac_var+set}\" = set"; then
107591 echo $ECHO_N "(cached) $ECHO_C" >&6
107593 if test x$gcc_no_link = xyes; then
107594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107596 { (exit 1); exit 1; }; }
107598 cat >conftest.$ac_ext <<_ACEOF
107599 /* confdefs.h. */
107600 _ACEOF
107601 cat confdefs.h >>conftest.$ac_ext
107602 cat >>conftest.$ac_ext <<_ACEOF
107603 /* end confdefs.h. */
107604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107606 #define $ac_func innocuous_$ac_func
107608 /* System header to define __stub macros and hopefully few prototypes,
107609 which can conflict with char $ac_func (); below.
107610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107611 <limits.h> exists even on freestanding compilers. */
107613 #ifdef __STDC__
107614 # include <limits.h>
107615 #else
107616 # include <assert.h>
107617 #endif
107619 #undef $ac_func
107621 /* Override any gcc2 internal prototype to avoid an error. */
107622 #ifdef __cplusplus
107623 extern "C"
107625 #endif
107626 /* We use char because int might match the return type of a gcc2
107627 builtin and then its argument prototype would still apply. */
107628 char $ac_func ();
107629 /* The GNU C library defines this for functions which it implements
107630 to always fail with ENOSYS. Some functions are actually named
107631 something starting with __ and the normal name is an alias. */
107632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107633 choke me
107634 #else
107635 char (*f) () = $ac_func;
107636 #endif
107637 #ifdef __cplusplus
107639 #endif
107642 main ()
107644 return f != $ac_func;
107646 return 0;
107648 _ACEOF
107649 rm -f conftest.$ac_objext conftest$ac_exeext
107650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107651 (eval $ac_link) 2>conftest.er1
107652 ac_status=$?
107653 grep -v '^ *+' conftest.er1 >conftest.err
107654 rm -f conftest.er1
107655 cat conftest.err >&5
107656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107657 (exit $ac_status); } &&
107658 { ac_try='test -z "$ac_c_werror_flag"
107659 || test ! -s conftest.err'
107660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107661 (eval $ac_try) 2>&5
107662 ac_status=$?
107663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107664 (exit $ac_status); }; } &&
107665 { ac_try='test -s conftest$ac_exeext'
107666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107667 (eval $ac_try) 2>&5
107668 ac_status=$?
107669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107670 (exit $ac_status); }; }; then
107671 eval "$as_ac_var=yes"
107673 echo "$as_me: failed program was:" >&5
107674 sed 's/^/| /' conftest.$ac_ext >&5
107676 eval "$as_ac_var=no"
107678 rm -f conftest.err conftest.$ac_objext \
107679 conftest$ac_exeext conftest.$ac_ext
107681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107683 if test `eval echo '${'$as_ac_var'}'` = yes; then
107684 cat >>confdefs.h <<_ACEOF
107685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107686 _ACEOF
107697 echo "$as_me:$LINENO: checking for strtof declaration" >&5
107698 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
107699 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
107700 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
107701 echo $ECHO_N "(cached) $ECHO_C" >&6
107706 ac_ext=cc
107707 ac_cpp='$CXXCPP $CPPFLAGS'
107708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107712 cat >conftest.$ac_ext <<_ACEOF
107713 /* confdefs.h. */
107714 _ACEOF
107715 cat confdefs.h >>conftest.$ac_ext
107716 cat >>conftest.$ac_ext <<_ACEOF
107717 /* end confdefs.h. */
107718 #include <stdlib.h>
107720 main ()
107722 strtof(0, 0);
107724 return 0;
107726 _ACEOF
107727 rm -f conftest.$ac_objext
107728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107729 (eval $ac_compile) 2>conftest.er1
107730 ac_status=$?
107731 grep -v '^ *+' conftest.er1 >conftest.err
107732 rm -f conftest.er1
107733 cat conftest.err >&5
107734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107735 (exit $ac_status); } &&
107736 { ac_try='test -z "$ac_cxx_werror_flag"
107737 || test ! -s conftest.err'
107738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107739 (eval $ac_try) 2>&5
107740 ac_status=$?
107741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107742 (exit $ac_status); }; } &&
107743 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
107749 glibcxx_cv_func_strtof_use=yes
107751 echo "$as_me: failed program was:" >&5
107752 sed 's/^/| /' conftest.$ac_ext >&5
107754 glibcxx_cv_func_strtof_use=no
107756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107757 ac_ext=c
107758 ac_cpp='$CPP $CPPFLAGS'
107759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107767 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
107768 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
107769 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
107771 for ac_func in strtof
107773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107774 echo "$as_me:$LINENO: checking for $ac_func" >&5
107775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107776 if eval "test \"\${$as_ac_var+set}\" = set"; then
107777 echo $ECHO_N "(cached) $ECHO_C" >&6
107779 if test x$gcc_no_link = xyes; then
107780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107782 { (exit 1); exit 1; }; }
107784 cat >conftest.$ac_ext <<_ACEOF
107785 /* confdefs.h. */
107786 _ACEOF
107787 cat confdefs.h >>conftest.$ac_ext
107788 cat >>conftest.$ac_ext <<_ACEOF
107789 /* end confdefs.h. */
107790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107792 #define $ac_func innocuous_$ac_func
107794 /* System header to define __stub macros and hopefully few prototypes,
107795 which can conflict with char $ac_func (); below.
107796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107797 <limits.h> exists even on freestanding compilers. */
107799 #ifdef __STDC__
107800 # include <limits.h>
107801 #else
107802 # include <assert.h>
107803 #endif
107805 #undef $ac_func
107807 /* Override any gcc2 internal prototype to avoid an error. */
107808 #ifdef __cplusplus
107809 extern "C"
107811 #endif
107812 /* We use char because int might match the return type of a gcc2
107813 builtin and then its argument prototype would still apply. */
107814 char $ac_func ();
107815 /* The GNU C library defines this for functions which it implements
107816 to always fail with ENOSYS. Some functions are actually named
107817 something starting with __ and the normal name is an alias. */
107818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107819 choke me
107820 #else
107821 char (*f) () = $ac_func;
107822 #endif
107823 #ifdef __cplusplus
107825 #endif
107828 main ()
107830 return f != $ac_func;
107832 return 0;
107834 _ACEOF
107835 rm -f conftest.$ac_objext conftest$ac_exeext
107836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107837 (eval $ac_link) 2>conftest.er1
107838 ac_status=$?
107839 grep -v '^ *+' conftest.er1 >conftest.err
107840 rm -f conftest.er1
107841 cat conftest.err >&5
107842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107843 (exit $ac_status); } &&
107844 { ac_try='test -z "$ac_c_werror_flag"
107845 || test ! -s conftest.err'
107846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107847 (eval $ac_try) 2>&5
107848 ac_status=$?
107849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107850 (exit $ac_status); }; } &&
107851 { ac_try='test -s conftest$ac_exeext'
107852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107853 (eval $ac_try) 2>&5
107854 ac_status=$?
107855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107856 (exit $ac_status); }; }; then
107857 eval "$as_ac_var=yes"
107859 echo "$as_me: failed program was:" >&5
107860 sed 's/^/| /' conftest.$ac_ext >&5
107862 eval "$as_ac_var=no"
107864 rm -f conftest.err conftest.$ac_objext \
107865 conftest$ac_exeext conftest.$ac_ext
107867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107869 if test `eval echo '${'$as_ac_var'}'` = yes; then
107870 cat >>confdefs.h <<_ACEOF
107871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107872 _ACEOF
107883 CXXFLAGS="$ac_save_CXXFLAGS"
107886 # For LFS.
107887 cat >>confdefs.h <<\_ACEOF
107888 #define HAVE_INT64_T 1
107889 _ACEOF
107894 ac_ext=cc
107895 ac_cpp='$CXXCPP $CPPFLAGS'
107896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107900 ac_save_CXXFLAGS="$CXXFLAGS"
107901 CXXFLAGS="$CXXFLAGS -fno-exceptions"
107902 echo "$as_me:$LINENO: checking for LFS support" >&5
107903 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
107904 if test "${glibcxx_cv_LFS+set}" = set; then
107905 echo $ECHO_N "(cached) $ECHO_C" >&6
107908 if test x$gcc_no_link = xyes; then
107909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107911 { (exit 1); exit 1; }; }
107913 cat >conftest.$ac_ext <<_ACEOF
107914 /* confdefs.h. */
107915 _ACEOF
107916 cat confdefs.h >>conftest.$ac_ext
107917 cat >>conftest.$ac_ext <<_ACEOF
107918 /* end confdefs.h. */
107919 #include <unistd.h>
107920 #include <stdio.h>
107921 #include <sys/stat.h>
107924 main ()
107926 FILE* fp;
107927 fopen64("t", "w");
107928 fseeko64(fp, 0, SEEK_CUR);
107929 ftello64(fp);
107930 lseek64(1, 0, SEEK_CUR);
107931 struct stat64 buf;
107932 fstat64(1, &buf);
107934 return 0;
107936 _ACEOF
107937 rm -f conftest.$ac_objext conftest$ac_exeext
107938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107939 (eval $ac_link) 2>conftest.er1
107940 ac_status=$?
107941 grep -v '^ *+' conftest.er1 >conftest.err
107942 rm -f conftest.er1
107943 cat conftest.err >&5
107944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107945 (exit $ac_status); } &&
107946 { ac_try='test -z "$ac_cxx_werror_flag"
107947 || test ! -s conftest.err'
107948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107949 (eval $ac_try) 2>&5
107950 ac_status=$?
107951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107952 (exit $ac_status); }; } &&
107953 { ac_try='test -s conftest$ac_exeext'
107954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107955 (eval $ac_try) 2>&5
107956 ac_status=$?
107957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107958 (exit $ac_status); }; }; then
107959 glibcxx_cv_LFS=yes
107961 echo "$as_me: failed program was:" >&5
107962 sed 's/^/| /' conftest.$ac_ext >&5
107964 glibcxx_cv_LFS=no
107966 rm -f conftest.err conftest.$ac_objext \
107967 conftest$ac_exeext conftest.$ac_ext
107971 if test $glibcxx_cv_LFS = yes; then
107973 cat >>confdefs.h <<\_ACEOF
107974 #define _GLIBCXX_USE_LFS 1
107975 _ACEOF
107978 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
107979 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
107980 CXXFLAGS="$ac_save_CXXFLAGS"
107981 ac_ext=c
107982 ac_cpp='$CPP $CPPFLAGS'
107983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107989 # For showmanyc_helper().
107992 for ac_header in sys/ioctl.h sys/filio.h
107994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
107995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107996 echo "$as_me:$LINENO: checking for $ac_header" >&5
107997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107999 echo $ECHO_N "(cached) $ECHO_C" >&6
108001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108004 # Is the header compilable?
108005 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108007 cat >conftest.$ac_ext <<_ACEOF
108008 /* confdefs.h. */
108009 _ACEOF
108010 cat confdefs.h >>conftest.$ac_ext
108011 cat >>conftest.$ac_ext <<_ACEOF
108012 /* end confdefs.h. */
108013 $ac_includes_default
108014 #include <$ac_header>
108015 _ACEOF
108016 rm -f conftest.$ac_objext
108017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108018 (eval $ac_compile) 2>conftest.er1
108019 ac_status=$?
108020 grep -v '^ *+' conftest.er1 >conftest.err
108021 rm -f conftest.er1
108022 cat conftest.err >&5
108023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108024 (exit $ac_status); } &&
108025 { ac_try='test -z "$ac_c_werror_flag"
108026 || test ! -s conftest.err'
108027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108028 (eval $ac_try) 2>&5
108029 ac_status=$?
108030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108031 (exit $ac_status); }; } &&
108032 { ac_try='test -s conftest.$ac_objext'
108033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108034 (eval $ac_try) 2>&5
108035 ac_status=$?
108036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108037 (exit $ac_status); }; }; then
108038 ac_header_compiler=yes
108040 echo "$as_me: failed program was:" >&5
108041 sed 's/^/| /' conftest.$ac_ext >&5
108043 ac_header_compiler=no
108045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108046 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108047 echo "${ECHO_T}$ac_header_compiler" >&6
108049 # Is the header present?
108050 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108051 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108052 cat >conftest.$ac_ext <<_ACEOF
108053 /* confdefs.h. */
108054 _ACEOF
108055 cat confdefs.h >>conftest.$ac_ext
108056 cat >>conftest.$ac_ext <<_ACEOF
108057 /* end confdefs.h. */
108058 #include <$ac_header>
108059 _ACEOF
108060 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108061 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108062 ac_status=$?
108063 grep -v '^ *+' conftest.er1 >conftest.err
108064 rm -f conftest.er1
108065 cat conftest.err >&5
108066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108067 (exit $ac_status); } >/dev/null; then
108068 if test -s conftest.err; then
108069 ac_cpp_err=$ac_c_preproc_warn_flag
108070 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108072 ac_cpp_err=
108075 ac_cpp_err=yes
108077 if test -z "$ac_cpp_err"; then
108078 ac_header_preproc=yes
108080 echo "$as_me: failed program was:" >&5
108081 sed 's/^/| /' conftest.$ac_ext >&5
108083 ac_header_preproc=no
108085 rm -f conftest.err conftest.$ac_ext
108086 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108087 echo "${ECHO_T}$ac_header_preproc" >&6
108089 # So? What about this header?
108090 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108091 yes:no: )
108092 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108093 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108094 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108095 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108096 ac_header_preproc=yes
108098 no:yes:* )
108099 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108100 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108101 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108102 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108103 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108104 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108105 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108106 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108108 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108109 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108110 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108112 cat <<\_ASBOX
108113 ## ----------------------------------------- ##
108114 ## Report this to the package-unused lists. ##
108115 ## ----------------------------------------- ##
108116 _ASBOX
108118 sed "s/^/$as_me: WARNING: /" >&2
108121 echo "$as_me:$LINENO: checking for $ac_header" >&5
108122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108124 echo $ECHO_N "(cached) $ECHO_C" >&6
108126 eval "$as_ac_Header=\$ac_header_preproc"
108128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108132 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108133 cat >>confdefs.h <<_ACEOF
108134 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108135 _ACEOF
108142 echo "$as_me:$LINENO: checking for poll" >&5
108143 echo $ECHO_N "checking for poll... $ECHO_C" >&6
108144 if test "${glibcxx_cv_POLL+set}" = set; then
108145 echo $ECHO_N "(cached) $ECHO_C" >&6
108148 if test x$gcc_no_link = xyes; then
108149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108151 { (exit 1); exit 1; }; }
108153 cat >conftest.$ac_ext <<_ACEOF
108154 /* confdefs.h. */
108155 _ACEOF
108156 cat confdefs.h >>conftest.$ac_ext
108157 cat >>conftest.$ac_ext <<_ACEOF
108158 /* end confdefs.h. */
108159 #include <poll.h>
108161 main ()
108163 struct pollfd pfd[1];
108164 pfd[0].events = POLLIN;
108165 poll(pfd, 1, 0);
108167 return 0;
108169 _ACEOF
108170 rm -f conftest.$ac_objext conftest$ac_exeext
108171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108172 (eval $ac_link) 2>conftest.er1
108173 ac_status=$?
108174 grep -v '^ *+' conftest.er1 >conftest.err
108175 rm -f conftest.er1
108176 cat conftest.err >&5
108177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108178 (exit $ac_status); } &&
108179 { ac_try='test -z "$ac_c_werror_flag"
108180 || test ! -s conftest.err'
108181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108182 (eval $ac_try) 2>&5
108183 ac_status=$?
108184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108185 (exit $ac_status); }; } &&
108186 { ac_try='test -s conftest$ac_exeext'
108187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108188 (eval $ac_try) 2>&5
108189 ac_status=$?
108190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108191 (exit $ac_status); }; }; then
108192 glibcxx_cv_POLL=yes
108194 echo "$as_me: failed program was:" >&5
108195 sed 's/^/| /' conftest.$ac_ext >&5
108197 glibcxx_cv_POLL=no
108199 rm -f conftest.err conftest.$ac_objext \
108200 conftest$ac_exeext conftest.$ac_ext
108204 if test $glibcxx_cv_POLL = yes; then
108206 cat >>confdefs.h <<\_ACEOF
108207 #define HAVE_POLL 1
108208 _ACEOF
108211 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
108212 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
108215 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
108216 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
108217 if test "${glibcxx_cv_S_ISREG+set}" = set; then
108218 echo $ECHO_N "(cached) $ECHO_C" >&6
108221 if test x$gcc_no_link = xyes; then
108222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108224 { (exit 1); exit 1; }; }
108226 cat >conftest.$ac_ext <<_ACEOF
108227 /* confdefs.h. */
108228 _ACEOF
108229 cat confdefs.h >>conftest.$ac_ext
108230 cat >>conftest.$ac_ext <<_ACEOF
108231 /* end confdefs.h. */
108232 #include <sys/stat.h>
108234 main ()
108236 struct stat buffer;
108237 fstat(0, &buffer);
108238 S_ISREG(buffer.st_mode);
108240 return 0;
108242 _ACEOF
108243 rm -f conftest.$ac_objext conftest$ac_exeext
108244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108245 (eval $ac_link) 2>conftest.er1
108246 ac_status=$?
108247 grep -v '^ *+' conftest.er1 >conftest.err
108248 rm -f conftest.er1
108249 cat conftest.err >&5
108250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108251 (exit $ac_status); } &&
108252 { ac_try='test -z "$ac_c_werror_flag"
108253 || test ! -s conftest.err'
108254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108255 (eval $ac_try) 2>&5
108256 ac_status=$?
108257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108258 (exit $ac_status); }; } &&
108259 { ac_try='test -s conftest$ac_exeext'
108260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108261 (eval $ac_try) 2>&5
108262 ac_status=$?
108263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108264 (exit $ac_status); }; }; then
108265 glibcxx_cv_S_ISREG=yes
108267 echo "$as_me: failed program was:" >&5
108268 sed 's/^/| /' conftest.$ac_ext >&5
108270 glibcxx_cv_S_ISREG=no
108272 rm -f conftest.err conftest.$ac_objext \
108273 conftest$ac_exeext conftest.$ac_ext
108277 if test "${glibcxx_cv_S_IFREG+set}" = set; then
108278 echo $ECHO_N "(cached) $ECHO_C" >&6
108281 if test x$gcc_no_link = xyes; then
108282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108284 { (exit 1); exit 1; }; }
108286 cat >conftest.$ac_ext <<_ACEOF
108287 /* confdefs.h. */
108288 _ACEOF
108289 cat confdefs.h >>conftest.$ac_ext
108290 cat >>conftest.$ac_ext <<_ACEOF
108291 /* end confdefs.h. */
108292 #include <sys/stat.h>
108294 main ()
108296 struct stat buffer;
108297 fstat(0, &buffer);
108298 S_IFREG & buffer.st_mode;
108300 return 0;
108302 _ACEOF
108303 rm -f conftest.$ac_objext conftest$ac_exeext
108304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108305 (eval $ac_link) 2>conftest.er1
108306 ac_status=$?
108307 grep -v '^ *+' conftest.er1 >conftest.err
108308 rm -f conftest.er1
108309 cat conftest.err >&5
108310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108311 (exit $ac_status); } &&
108312 { ac_try='test -z "$ac_c_werror_flag"
108313 || test ! -s conftest.err'
108314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108315 (eval $ac_try) 2>&5
108316 ac_status=$?
108317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108318 (exit $ac_status); }; } &&
108319 { ac_try='test -s conftest$ac_exeext'
108320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108321 (eval $ac_try) 2>&5
108322 ac_status=$?
108323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108324 (exit $ac_status); }; }; then
108325 glibcxx_cv_S_IFREG=yes
108327 echo "$as_me: failed program was:" >&5
108328 sed 's/^/| /' conftest.$ac_ext >&5
108330 glibcxx_cv_S_IFREG=no
108332 rm -f conftest.err conftest.$ac_objext \
108333 conftest$ac_exeext conftest.$ac_ext
108337 res=no
108338 if test $glibcxx_cv_S_ISREG = yes; then
108340 cat >>confdefs.h <<\_ACEOF
108341 #define HAVE_S_ISREG 1
108342 _ACEOF
108344 res=S_ISREG
108345 elif test $glibcxx_cv_S_IFREG = yes; then
108347 cat >>confdefs.h <<\_ACEOF
108348 #define HAVE_S_IFREG 1
108349 _ACEOF
108351 res=S_IFREG
108353 echo "$as_me:$LINENO: result: $res" >&5
108354 echo "${ECHO_T}$res" >&6
108357 # For xsputn_2().
108359 for ac_header in sys/uio.h
108361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108363 echo "$as_me:$LINENO: checking for $ac_header" >&5
108364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108366 echo $ECHO_N "(cached) $ECHO_C" >&6
108368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108369 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108371 # Is the header compilable?
108372 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108373 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108374 cat >conftest.$ac_ext <<_ACEOF
108375 /* confdefs.h. */
108376 _ACEOF
108377 cat confdefs.h >>conftest.$ac_ext
108378 cat >>conftest.$ac_ext <<_ACEOF
108379 /* end confdefs.h. */
108380 $ac_includes_default
108381 #include <$ac_header>
108382 _ACEOF
108383 rm -f conftest.$ac_objext
108384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108385 (eval $ac_compile) 2>conftest.er1
108386 ac_status=$?
108387 grep -v '^ *+' conftest.er1 >conftest.err
108388 rm -f conftest.er1
108389 cat conftest.err >&5
108390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108391 (exit $ac_status); } &&
108392 { ac_try='test -z "$ac_c_werror_flag"
108393 || test ! -s conftest.err'
108394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108395 (eval $ac_try) 2>&5
108396 ac_status=$?
108397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108398 (exit $ac_status); }; } &&
108399 { ac_try='test -s conftest.$ac_objext'
108400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108401 (eval $ac_try) 2>&5
108402 ac_status=$?
108403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108404 (exit $ac_status); }; }; then
108405 ac_header_compiler=yes
108407 echo "$as_me: failed program was:" >&5
108408 sed 's/^/| /' conftest.$ac_ext >&5
108410 ac_header_compiler=no
108412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108413 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108414 echo "${ECHO_T}$ac_header_compiler" >&6
108416 # Is the header present?
108417 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108418 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108419 cat >conftest.$ac_ext <<_ACEOF
108420 /* confdefs.h. */
108421 _ACEOF
108422 cat confdefs.h >>conftest.$ac_ext
108423 cat >>conftest.$ac_ext <<_ACEOF
108424 /* end confdefs.h. */
108425 #include <$ac_header>
108426 _ACEOF
108427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108428 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108429 ac_status=$?
108430 grep -v '^ *+' conftest.er1 >conftest.err
108431 rm -f conftest.er1
108432 cat conftest.err >&5
108433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108434 (exit $ac_status); } >/dev/null; then
108435 if test -s conftest.err; then
108436 ac_cpp_err=$ac_c_preproc_warn_flag
108437 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108439 ac_cpp_err=
108442 ac_cpp_err=yes
108444 if test -z "$ac_cpp_err"; then
108445 ac_header_preproc=yes
108447 echo "$as_me: failed program was:" >&5
108448 sed 's/^/| /' conftest.$ac_ext >&5
108450 ac_header_preproc=no
108452 rm -f conftest.err conftest.$ac_ext
108453 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108454 echo "${ECHO_T}$ac_header_preproc" >&6
108456 # So? What about this header?
108457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108458 yes:no: )
108459 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108460 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108462 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108463 ac_header_preproc=yes
108465 no:yes:* )
108466 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108467 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108468 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108469 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108470 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108471 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108472 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108473 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108475 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108476 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108477 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108479 cat <<\_ASBOX
108480 ## ----------------------------------------- ##
108481 ## Report this to the package-unused lists. ##
108482 ## ----------------------------------------- ##
108483 _ASBOX
108485 sed "s/^/$as_me: WARNING: /" >&2
108488 echo "$as_me:$LINENO: checking for $ac_header" >&5
108489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108491 echo $ECHO_N "(cached) $ECHO_C" >&6
108493 eval "$as_ac_Header=\$ac_header_preproc"
108495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108496 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108500 cat >>confdefs.h <<_ACEOF
108501 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108502 _ACEOF
108509 echo "$as_me:$LINENO: checking for writev" >&5
108510 echo $ECHO_N "checking for writev... $ECHO_C" >&6
108511 if test "${glibcxx_cv_WRITEV+set}" = set; then
108512 echo $ECHO_N "(cached) $ECHO_C" >&6
108515 if test x$gcc_no_link = xyes; then
108516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108518 { (exit 1); exit 1; }; }
108520 cat >conftest.$ac_ext <<_ACEOF
108521 /* confdefs.h. */
108522 _ACEOF
108523 cat confdefs.h >>conftest.$ac_ext
108524 cat >>conftest.$ac_ext <<_ACEOF
108525 /* end confdefs.h. */
108526 #include <sys/uio.h>
108528 main ()
108530 struct iovec iov[2];
108531 writev(0, iov, 0);
108533 return 0;
108535 _ACEOF
108536 rm -f conftest.$ac_objext conftest$ac_exeext
108537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108538 (eval $ac_link) 2>conftest.er1
108539 ac_status=$?
108540 grep -v '^ *+' conftest.er1 >conftest.err
108541 rm -f conftest.er1
108542 cat conftest.err >&5
108543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108544 (exit $ac_status); } &&
108545 { ac_try='test -z "$ac_c_werror_flag"
108546 || test ! -s conftest.err'
108547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108548 (eval $ac_try) 2>&5
108549 ac_status=$?
108550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108551 (exit $ac_status); }; } &&
108552 { ac_try='test -s conftest$ac_exeext'
108553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108554 (eval $ac_try) 2>&5
108555 ac_status=$?
108556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108557 (exit $ac_status); }; }; then
108558 glibcxx_cv_WRITEV=yes
108560 echo "$as_me: failed program was:" >&5
108561 sed 's/^/| /' conftest.$ac_ext >&5
108563 glibcxx_cv_WRITEV=no
108565 rm -f conftest.err conftest.$ac_objext \
108566 conftest$ac_exeext conftest.$ac_ext
108570 if test $glibcxx_cv_WRITEV = yes; then
108572 cat >>confdefs.h <<\_ACEOF
108573 #define HAVE_WRITEV 1
108574 _ACEOF
108577 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
108578 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
108581 # For C99 support to TR1.
108586 ac_ext=cc
108587 ac_cpp='$CXXCPP $CPPFLAGS'
108588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108593 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
108594 # undefined and fake C99 facilities may be spuriously enabled.
108595 ac_save_CXXFLAGS="$CXXFLAGS"
108596 CXXFLAGS="$CXXFLAGS -std=c++98"
108598 # Check for the existence of <complex.h> complex math functions used
108599 # by tr1/complex.
108601 for ac_header in complex.h
108603 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108604 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108605 echo "$as_me:$LINENO: checking for $ac_header" >&5
108606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108607 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108608 echo $ECHO_N "(cached) $ECHO_C" >&6
108610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108611 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108613 # Is the header compilable?
108614 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108615 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108616 cat >conftest.$ac_ext <<_ACEOF
108617 /* confdefs.h. */
108618 _ACEOF
108619 cat confdefs.h >>conftest.$ac_ext
108620 cat >>conftest.$ac_ext <<_ACEOF
108621 /* end confdefs.h. */
108622 $ac_includes_default
108623 #include <$ac_header>
108624 _ACEOF
108625 rm -f conftest.$ac_objext
108626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108627 (eval $ac_compile) 2>conftest.er1
108628 ac_status=$?
108629 grep -v '^ *+' conftest.er1 >conftest.err
108630 rm -f conftest.er1
108631 cat conftest.err >&5
108632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108633 (exit $ac_status); } &&
108634 { ac_try='test -z "$ac_cxx_werror_flag"
108635 || test ! -s conftest.err'
108636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108637 (eval $ac_try) 2>&5
108638 ac_status=$?
108639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108640 (exit $ac_status); }; } &&
108641 { ac_try='test -s conftest.$ac_objext'
108642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108643 (eval $ac_try) 2>&5
108644 ac_status=$?
108645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108646 (exit $ac_status); }; }; then
108647 ac_header_compiler=yes
108649 echo "$as_me: failed program was:" >&5
108650 sed 's/^/| /' conftest.$ac_ext >&5
108652 ac_header_compiler=no
108654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108655 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108656 echo "${ECHO_T}$ac_header_compiler" >&6
108658 # Is the header present?
108659 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108660 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108661 cat >conftest.$ac_ext <<_ACEOF
108662 /* confdefs.h. */
108663 _ACEOF
108664 cat confdefs.h >>conftest.$ac_ext
108665 cat >>conftest.$ac_ext <<_ACEOF
108666 /* end confdefs.h. */
108667 #include <$ac_header>
108668 _ACEOF
108669 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108670 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108671 ac_status=$?
108672 grep -v '^ *+' conftest.er1 >conftest.err
108673 rm -f conftest.er1
108674 cat conftest.err >&5
108675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108676 (exit $ac_status); } >/dev/null; then
108677 if test -s conftest.err; then
108678 ac_cpp_err=$ac_cxx_preproc_warn_flag
108679 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
108681 ac_cpp_err=
108684 ac_cpp_err=yes
108686 if test -z "$ac_cpp_err"; then
108687 ac_header_preproc=yes
108689 echo "$as_me: failed program was:" >&5
108690 sed 's/^/| /' conftest.$ac_ext >&5
108692 ac_header_preproc=no
108694 rm -f conftest.err conftest.$ac_ext
108695 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108696 echo "${ECHO_T}$ac_header_preproc" >&6
108698 # So? What about this header?
108699 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
108700 yes:no: )
108701 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108702 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108704 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108705 ac_header_preproc=yes
108707 no:yes:* )
108708 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108709 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108710 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108711 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108712 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108713 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108714 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108715 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108717 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108718 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108719 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108721 cat <<\_ASBOX
108722 ## ----------------------------------------- ##
108723 ## Report this to the package-unused lists. ##
108724 ## ----------------------------------------- ##
108725 _ASBOX
108727 sed "s/^/$as_me: WARNING: /" >&2
108730 echo "$as_me:$LINENO: checking for $ac_header" >&5
108731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108733 echo $ECHO_N "(cached) $ECHO_C" >&6
108735 eval "$as_ac_Header=\$ac_header_preproc"
108737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108741 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108742 cat >>confdefs.h <<_ACEOF
108743 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108744 _ACEOF
108745 ac_has_complex_h=yes
108747 ac_has_complex_h=no
108752 ac_c99_complex_tr1=no;
108753 if test x"$ac_has_complex_h" = x"yes"; then
108754 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
108755 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
108756 cat >conftest.$ac_ext <<_ACEOF
108757 /* confdefs.h. */
108758 _ACEOF
108759 cat confdefs.h >>conftest.$ac_ext
108760 cat >>conftest.$ac_ext <<_ACEOF
108761 /* end confdefs.h. */
108762 #include <complex.h>
108764 main ()
108766 typedef __complex__ float float_type; float_type tmpf;
108767 cacosf(tmpf);
108768 casinf(tmpf);
108769 catanf(tmpf);
108770 cacoshf(tmpf);
108771 casinhf(tmpf);
108772 catanhf(tmpf);
108773 typedef __complex__ double double_type; double_type tmpd;
108774 cacos(tmpd);
108775 casin(tmpd);
108776 catan(tmpd);
108777 cacosh(tmpd);
108778 casinh(tmpd);
108779 catanh(tmpd);
108780 typedef __complex__ long double ld_type; ld_type tmpld;
108781 cacosl(tmpld);
108782 casinl(tmpld);
108783 catanl(tmpld);
108784 cacoshl(tmpld);
108785 casinhl(tmpld);
108786 catanhl(tmpld);
108789 return 0;
108791 _ACEOF
108792 rm -f conftest.$ac_objext
108793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108794 (eval $ac_compile) 2>conftest.er1
108795 ac_status=$?
108796 grep -v '^ *+' conftest.er1 >conftest.err
108797 rm -f conftest.er1
108798 cat conftest.err >&5
108799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108800 (exit $ac_status); } &&
108801 { ac_try='test -z "$ac_cxx_werror_flag"
108802 || test ! -s conftest.err'
108803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108804 (eval $ac_try) 2>&5
108805 ac_status=$?
108806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108807 (exit $ac_status); }; } &&
108808 { ac_try='test -s conftest.$ac_objext'
108809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108810 (eval $ac_try) 2>&5
108811 ac_status=$?
108812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108813 (exit $ac_status); }; }; then
108814 ac_c99_complex_tr1=yes
108816 echo "$as_me: failed program was:" >&5
108817 sed 's/^/| /' conftest.$ac_ext >&5
108819 ac_c99_complex_tr1=no
108821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108823 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
108824 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
108825 if test x"$ac_c99_complex_tr1" = x"yes"; then
108827 cat >>confdefs.h <<\_ACEOF
108828 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
108829 _ACEOF
108833 # Check for the existence of <ctype.h> functions.
108834 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
108835 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
108836 if test "${ac_c99_ctype_tr1+set}" = set; then
108837 echo $ECHO_N "(cached) $ECHO_C" >&6
108840 cat >conftest.$ac_ext <<_ACEOF
108841 /* confdefs.h. */
108842 _ACEOF
108843 cat confdefs.h >>conftest.$ac_ext
108844 cat >>conftest.$ac_ext <<_ACEOF
108845 /* end confdefs.h. */
108846 #include <ctype.h>
108848 main ()
108850 int ch;
108851 int ret;
108852 ret = isblank(ch);
108855 return 0;
108857 _ACEOF
108858 rm -f conftest.$ac_objext
108859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108860 (eval $ac_compile) 2>conftest.er1
108861 ac_status=$?
108862 grep -v '^ *+' conftest.er1 >conftest.err
108863 rm -f conftest.er1
108864 cat conftest.err >&5
108865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108866 (exit $ac_status); } &&
108867 { ac_try='test -z "$ac_cxx_werror_flag"
108868 || test ! -s conftest.err'
108869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108870 (eval $ac_try) 2>&5
108871 ac_status=$?
108872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108873 (exit $ac_status); }; } &&
108874 { ac_try='test -s conftest.$ac_objext'
108875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108876 (eval $ac_try) 2>&5
108877 ac_status=$?
108878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108879 (exit $ac_status); }; }; then
108880 ac_c99_ctype_tr1=yes
108882 echo "$as_me: failed program was:" >&5
108883 sed 's/^/| /' conftest.$ac_ext >&5
108885 ac_c99_ctype_tr1=no
108887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108891 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
108892 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
108893 if test x"$ac_c99_ctype_tr1" = x"yes"; then
108895 cat >>confdefs.h <<\_ACEOF
108896 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
108897 _ACEOF
108901 # Check for the existence of <fenv.h> functions.
108903 for ac_header in fenv.h
108905 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108907 echo "$as_me:$LINENO: checking for $ac_header" >&5
108908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108910 echo $ECHO_N "(cached) $ECHO_C" >&6
108912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108915 # Is the header compilable?
108916 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108917 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108918 cat >conftest.$ac_ext <<_ACEOF
108919 /* confdefs.h. */
108920 _ACEOF
108921 cat confdefs.h >>conftest.$ac_ext
108922 cat >>conftest.$ac_ext <<_ACEOF
108923 /* end confdefs.h. */
108924 $ac_includes_default
108925 #include <$ac_header>
108926 _ACEOF
108927 rm -f conftest.$ac_objext
108928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108929 (eval $ac_compile) 2>conftest.er1
108930 ac_status=$?
108931 grep -v '^ *+' conftest.er1 >conftest.err
108932 rm -f conftest.er1
108933 cat conftest.err >&5
108934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108935 (exit $ac_status); } &&
108936 { ac_try='test -z "$ac_cxx_werror_flag"
108937 || test ! -s conftest.err'
108938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108939 (eval $ac_try) 2>&5
108940 ac_status=$?
108941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108942 (exit $ac_status); }; } &&
108943 { ac_try='test -s conftest.$ac_objext'
108944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108945 (eval $ac_try) 2>&5
108946 ac_status=$?
108947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108948 (exit $ac_status); }; }; then
108949 ac_header_compiler=yes
108951 echo "$as_me: failed program was:" >&5
108952 sed 's/^/| /' conftest.$ac_ext >&5
108954 ac_header_compiler=no
108956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108957 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108958 echo "${ECHO_T}$ac_header_compiler" >&6
108960 # Is the header present?
108961 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108962 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108963 cat >conftest.$ac_ext <<_ACEOF
108964 /* confdefs.h. */
108965 _ACEOF
108966 cat confdefs.h >>conftest.$ac_ext
108967 cat >>conftest.$ac_ext <<_ACEOF
108968 /* end confdefs.h. */
108969 #include <$ac_header>
108970 _ACEOF
108971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108972 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108973 ac_status=$?
108974 grep -v '^ *+' conftest.er1 >conftest.err
108975 rm -f conftest.er1
108976 cat conftest.err >&5
108977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108978 (exit $ac_status); } >/dev/null; then
108979 if test -s conftest.err; then
108980 ac_cpp_err=$ac_cxx_preproc_warn_flag
108981 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
108983 ac_cpp_err=
108986 ac_cpp_err=yes
108988 if test -z "$ac_cpp_err"; then
108989 ac_header_preproc=yes
108991 echo "$as_me: failed program was:" >&5
108992 sed 's/^/| /' conftest.$ac_ext >&5
108994 ac_header_preproc=no
108996 rm -f conftest.err conftest.$ac_ext
108997 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108998 echo "${ECHO_T}$ac_header_preproc" >&6
109000 # So? What about this header?
109001 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109002 yes:no: )
109003 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109004 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109005 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109006 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109007 ac_header_preproc=yes
109009 no:yes:* )
109010 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109011 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109012 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109013 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109014 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109015 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109016 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109017 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109019 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109020 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109021 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109023 cat <<\_ASBOX
109024 ## ----------------------------------------- ##
109025 ## Report this to the package-unused lists. ##
109026 ## ----------------------------------------- ##
109027 _ASBOX
109029 sed "s/^/$as_me: WARNING: /" >&2
109032 echo "$as_me:$LINENO: checking for $ac_header" >&5
109033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109035 echo $ECHO_N "(cached) $ECHO_C" >&6
109037 eval "$as_ac_Header=\$ac_header_preproc"
109039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109043 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109044 cat >>confdefs.h <<_ACEOF
109045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109046 _ACEOF
109047 ac_has_fenv_h=yes
109049 ac_has_fenv_h=no
109054 ac_c99_fenv_tr1=no;
109055 if test x"$ac_has_fenv_h" = x"yes"; then
109056 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
109057 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
109058 cat >conftest.$ac_ext <<_ACEOF
109059 /* confdefs.h. */
109060 _ACEOF
109061 cat confdefs.h >>conftest.$ac_ext
109062 cat >>conftest.$ac_ext <<_ACEOF
109063 /* end confdefs.h. */
109064 #include <fenv.h>
109066 main ()
109068 int except, mode;
109069 fexcept_t* pflag;
109070 fenv_t* penv;
109071 int ret;
109072 ret = feclearexcept(except);
109073 ret = fegetexceptflag(pflag, except);
109074 ret = feraiseexcept(except);
109075 ret = fesetexceptflag(pflag, except);
109076 ret = fetestexcept(except);
109077 ret = fegetround();
109078 ret = fesetround(mode);
109079 ret = fegetenv(penv);
109080 ret = feholdexcept(penv);
109081 ret = fesetenv(penv);
109082 ret = feupdateenv(penv);
109085 return 0;
109087 _ACEOF
109088 rm -f conftest.$ac_objext
109089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109090 (eval $ac_compile) 2>conftest.er1
109091 ac_status=$?
109092 grep -v '^ *+' conftest.er1 >conftest.err
109093 rm -f conftest.er1
109094 cat conftest.err >&5
109095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109096 (exit $ac_status); } &&
109097 { ac_try='test -z "$ac_cxx_werror_flag"
109098 || test ! -s conftest.err'
109099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109100 (eval $ac_try) 2>&5
109101 ac_status=$?
109102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109103 (exit $ac_status); }; } &&
109104 { ac_try='test -s conftest.$ac_objext'
109105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109106 (eval $ac_try) 2>&5
109107 ac_status=$?
109108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109109 (exit $ac_status); }; }; then
109110 ac_c99_fenv_tr1=yes
109112 echo "$as_me: failed program was:" >&5
109113 sed 's/^/| /' conftest.$ac_ext >&5
109115 ac_c99_fenv_tr1=no
109117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109119 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
109120 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
109121 if test x"$ac_c99_fenv_tr1" = x"yes"; then
109123 cat >>confdefs.h <<\_ACEOF
109124 #define _GLIBCXX_USE_C99_FENV_TR1 1
109125 _ACEOF
109129 # Check for the existence of <stdint.h> types.
109130 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
109131 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
109132 if test "${ac_c99_stdint_tr1+set}" = set; then
109133 echo $ECHO_N "(cached) $ECHO_C" >&6
109136 cat >conftest.$ac_ext <<_ACEOF
109137 /* confdefs.h. */
109138 _ACEOF
109139 cat confdefs.h >>conftest.$ac_ext
109140 cat >>conftest.$ac_ext <<_ACEOF
109141 /* end confdefs.h. */
109142 #include <stdint.h>
109144 main ()
109146 typedef int8_t my_int8_t;
109147 typedef int16_t my_int16_t;
109148 typedef int32_t my_int32_t;
109149 typedef int64_t my_int64_t;
109150 typedef int_fast8_t my_int_fast8_t;
109151 typedef int_fast16_t my_int_fast16_t;
109152 typedef int_fast32_t my_int_fast32_t;
109153 typedef int_fast64_t my_int_fast64_t;
109154 typedef int_least8_t my_int_least8_t;
109155 typedef int_least16_t my_int_least16_t;
109156 typedef int_least32_t my_int_least32_t;
109157 typedef int_least64_t my_int_least64_t;
109158 typedef intmax_t my_intmax_t;
109159 typedef intptr_t my_intptr_t;
109160 typedef uint8_t my_uint8_t;
109161 typedef uint16_t my_uint16_t;
109162 typedef uint32_t my_uint32_t;
109163 typedef uint64_t my_uint64_t;
109164 typedef uint_fast8_t my_uint_fast8_t;
109165 typedef uint_fast16_t my_uint_fast16_t;
109166 typedef uint_fast32_t my_uint_fast32_t;
109167 typedef uint_fast64_t my_uint_fast64_t;
109168 typedef uint_least8_t my_uint_least8_t;
109169 typedef uint_least16_t my_uint_least16_t;
109170 typedef uint_least32_t my_uint_least32_t;
109171 typedef uint_least64_t my_uint_least64_t;
109172 typedef uintmax_t my_uintmax_t;
109173 typedef uintptr_t my_uintptr_t;
109176 return 0;
109178 _ACEOF
109179 rm -f conftest.$ac_objext
109180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109181 (eval $ac_compile) 2>conftest.er1
109182 ac_status=$?
109183 grep -v '^ *+' conftest.er1 >conftest.err
109184 rm -f conftest.er1
109185 cat conftest.err >&5
109186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109187 (exit $ac_status); } &&
109188 { ac_try='test -z "$ac_cxx_werror_flag"
109189 || test ! -s conftest.err'
109190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109191 (eval $ac_try) 2>&5
109192 ac_status=$?
109193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109194 (exit $ac_status); }; } &&
109195 { ac_try='test -s conftest.$ac_objext'
109196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109197 (eval $ac_try) 2>&5
109198 ac_status=$?
109199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109200 (exit $ac_status); }; }; then
109201 ac_c99_stdint_tr1=yes
109203 echo "$as_me: failed program was:" >&5
109204 sed 's/^/| /' conftest.$ac_ext >&5
109206 ac_c99_stdint_tr1=no
109208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109212 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
109213 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
109214 if test x"$ac_c99_stdint_tr1" = x"yes"; then
109216 cat >>confdefs.h <<\_ACEOF
109217 #define _GLIBCXX_USE_C99_STDINT_TR1 1
109218 _ACEOF
109222 # Check for the existence of <math.h> functions.
109223 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
109224 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
109225 if test "${ac_c99_math_tr1+set}" = set; then
109226 echo $ECHO_N "(cached) $ECHO_C" >&6
109229 cat >conftest.$ac_ext <<_ACEOF
109230 /* confdefs.h. */
109231 _ACEOF
109232 cat confdefs.h >>conftest.$ac_ext
109233 cat >>conftest.$ac_ext <<_ACEOF
109234 /* end confdefs.h. */
109235 #include <math.h>
109237 main ()
109239 typedef double_t my_double_t;
109240 typedef float_t my_float_t;
109241 acosh(0.0);
109242 acoshf(0.0f);
109243 acoshl(0.0l);
109244 asinh(0.0);
109245 asinhf(0.0f);
109246 asinhl(0.0l);
109247 atanh(0.0);
109248 atanhf(0.0f);
109249 atanhl(0.0l);
109250 cbrt(0.0);
109251 cbrtf(0.0f);
109252 cbrtl(0.0l);
109253 copysign(0.0, 0.0);
109254 copysignf(0.0f, 0.0f);
109255 copysignl(0.0l, 0.0l);
109256 erf(0.0);
109257 erff(0.0f);
109258 erfl(0.0l);
109259 erfc(0.0);
109260 erfcf(0.0f);
109261 erfcl(0.0l);
109262 exp2(0.0);
109263 exp2f(0.0f);
109264 exp2l(0.0l);
109265 expm1(0.0);
109266 expm1f(0.0f);
109267 expm1l(0.0l);
109268 fdim(0.0, 0.0);
109269 fdimf(0.0f, 0.0f);
109270 fdiml(0.0l, 0.0l);
109271 fma(0.0, 0.0, 0.0);
109272 fmaf(0.0f, 0.0f, 0.0f);
109273 fmal(0.0l, 0.0l, 0.0l);
109274 fmax(0.0, 0.0);
109275 fmaxf(0.0f, 0.0f);
109276 fmaxl(0.0l, 0.0l);
109277 fmin(0.0, 0.0);
109278 fminf(0.0f, 0.0f);
109279 fminl(0.0l, 0.0l);
109280 hypot(0.0, 0.0);
109281 hypotf(0.0f, 0.0f);
109282 hypotl(0.0l, 0.0l);
109283 ilogb(0.0);
109284 ilogbf(0.0f);
109285 ilogbl(0.0l);
109286 lgamma(0.0);
109287 lgammaf(0.0f);
109288 lgammal(0.0l);
109289 llrint(0.0);
109290 llrintf(0.0f);
109291 llrintl(0.0l);
109292 llround(0.0);
109293 llroundf(0.0f);
109294 llroundl(0.0l);
109295 log1p(0.0);
109296 log1pf(0.0f);
109297 log1pl(0.0l);
109298 log2(0.0);
109299 log2f(0.0f);
109300 log2l(0.0l);
109301 logb(0.0);
109302 logbf(0.0f);
109303 logbl(0.0l);
109304 lrint(0.0);
109305 lrintf(0.0f);
109306 lrintl(0.0l);
109307 lround(0.0);
109308 lroundf(0.0f);
109309 lroundl(0.0l);
109310 nan(0);
109311 nanf(0);
109312 nanl(0);
109313 nearbyint(0.0);
109314 nearbyintf(0.0f);
109315 nearbyintl(0.0l);
109316 nextafter(0.0, 0.0);
109317 nextafterf(0.0f, 0.0f);
109318 nextafterl(0.0l, 0.0l);
109319 nexttoward(0.0, 0.0);
109320 nexttowardf(0.0f, 0.0f);
109321 nexttowardl(0.0l, 0.0l);
109322 remainder(0.0, 0.0);
109323 remainderf(0.0f, 0.0f);
109324 remainderl(0.0l, 0.0l);
109325 remquo(0.0, 0.0, 0);
109326 remquo(0.0f, 0.0f, 0);
109327 remquo(0.0l, 0.0l, 0);
109328 rint(0.0);
109329 rintf(0.0f);
109330 rintl(0.0l);
109331 round(0.0);
109332 roundf(0.0f);
109333 roundl(0.0l);
109334 scalbln(0.0, 0l);
109335 scalblnf(0.0f, 0l);
109336 scalblnl(0.0l, 0l);
109337 scalbn(0.0, 0);
109338 scalbnf(0.0f, 0);
109339 scalbnl(0.0l, 0);
109340 tgamma(0.0);
109341 tgammaf(0.0f);
109342 tgammal(0.0l);
109343 trunc(0.0);
109344 truncf(0.0f);
109345 truncl(0.0l);
109348 return 0;
109350 _ACEOF
109351 rm -f conftest.$ac_objext
109352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109353 (eval $ac_compile) 2>conftest.er1
109354 ac_status=$?
109355 grep -v '^ *+' conftest.er1 >conftest.err
109356 rm -f conftest.er1
109357 cat conftest.err >&5
109358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109359 (exit $ac_status); } &&
109360 { ac_try='test -z "$ac_cxx_werror_flag"
109361 || test ! -s conftest.err'
109362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109363 (eval $ac_try) 2>&5
109364 ac_status=$?
109365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109366 (exit $ac_status); }; } &&
109367 { ac_try='test -s conftest.$ac_objext'
109368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109369 (eval $ac_try) 2>&5
109370 ac_status=$?
109371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109372 (exit $ac_status); }; }; then
109373 ac_c99_math_tr1=yes
109375 echo "$as_me: failed program was:" >&5
109376 sed 's/^/| /' conftest.$ac_ext >&5
109378 ac_c99_math_tr1=no
109380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109384 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
109385 echo "${ECHO_T}$ac_c99_math_tr1" >&6
109386 if test x"$ac_c99_math_tr1" = x"yes"; then
109388 cat >>confdefs.h <<\_ACEOF
109389 #define _GLIBCXX_USE_C99_MATH_TR1 1
109390 _ACEOF
109394 # Check for the existence of <inttypes.h> functions (NB: doesn't make
109395 # sense if the previous check fails, per C99, 7.8/1).
109396 ac_c99_inttypes_tr1=no;
109397 if test x"$ac_c99_stdint_tr1" = x"yes"; then
109398 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
109399 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
109400 cat >conftest.$ac_ext <<_ACEOF
109401 /* confdefs.h. */
109402 _ACEOF
109403 cat confdefs.h >>conftest.$ac_ext
109404 cat >>conftest.$ac_ext <<_ACEOF
109405 /* end confdefs.h. */
109406 #include <inttypes.h>
109408 main ()
109410 intmax_t i, numer, denom, base;
109411 const char* s;
109412 char** endptr;
109413 intmax_t ret = imaxabs(i);
109414 imaxdiv_t dret = imaxdiv(numer, denom);
109415 ret = strtoimax(s, endptr, base);
109416 uintmax_t uret = strtoumax(s, endptr, base);
109419 return 0;
109421 _ACEOF
109422 rm -f conftest.$ac_objext
109423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109424 (eval $ac_compile) 2>conftest.er1
109425 ac_status=$?
109426 grep -v '^ *+' conftest.er1 >conftest.err
109427 rm -f conftest.er1
109428 cat conftest.err >&5
109429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109430 (exit $ac_status); } &&
109431 { ac_try='test -z "$ac_cxx_werror_flag"
109432 || test ! -s conftest.err'
109433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109434 (eval $ac_try) 2>&5
109435 ac_status=$?
109436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109437 (exit $ac_status); }; } &&
109438 { ac_try='test -s conftest.$ac_objext'
109439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109440 (eval $ac_try) 2>&5
109441 ac_status=$?
109442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109443 (exit $ac_status); }; }; then
109444 ac_c99_inttypes_tr1=yes
109446 echo "$as_me: failed program was:" >&5
109447 sed 's/^/| /' conftest.$ac_ext >&5
109449 ac_c99_inttypes_tr1=no
109451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109453 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
109454 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
109455 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
109457 cat >>confdefs.h <<\_ACEOF
109458 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
109459 _ACEOF
109463 # Check for the existence of the <stdbool.h> header.
109465 for ac_header in stdbool.h
109467 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109469 echo "$as_me:$LINENO: checking for $ac_header" >&5
109470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109472 echo $ECHO_N "(cached) $ECHO_C" >&6
109474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109477 # Is the header compilable?
109478 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109479 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109480 cat >conftest.$ac_ext <<_ACEOF
109481 /* confdefs.h. */
109482 _ACEOF
109483 cat confdefs.h >>conftest.$ac_ext
109484 cat >>conftest.$ac_ext <<_ACEOF
109485 /* end confdefs.h. */
109486 $ac_includes_default
109487 #include <$ac_header>
109488 _ACEOF
109489 rm -f conftest.$ac_objext
109490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109491 (eval $ac_compile) 2>conftest.er1
109492 ac_status=$?
109493 grep -v '^ *+' conftest.er1 >conftest.err
109494 rm -f conftest.er1
109495 cat conftest.err >&5
109496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109497 (exit $ac_status); } &&
109498 { ac_try='test -z "$ac_cxx_werror_flag"
109499 || test ! -s conftest.err'
109500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109501 (eval $ac_try) 2>&5
109502 ac_status=$?
109503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109504 (exit $ac_status); }; } &&
109505 { ac_try='test -s conftest.$ac_objext'
109506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109507 (eval $ac_try) 2>&5
109508 ac_status=$?
109509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109510 (exit $ac_status); }; }; then
109511 ac_header_compiler=yes
109513 echo "$as_me: failed program was:" >&5
109514 sed 's/^/| /' conftest.$ac_ext >&5
109516 ac_header_compiler=no
109518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109520 echo "${ECHO_T}$ac_header_compiler" >&6
109522 # Is the header present?
109523 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109525 cat >conftest.$ac_ext <<_ACEOF
109526 /* confdefs.h. */
109527 _ACEOF
109528 cat confdefs.h >>conftest.$ac_ext
109529 cat >>conftest.$ac_ext <<_ACEOF
109530 /* end confdefs.h. */
109531 #include <$ac_header>
109532 _ACEOF
109533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109534 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109535 ac_status=$?
109536 grep -v '^ *+' conftest.er1 >conftest.err
109537 rm -f conftest.er1
109538 cat conftest.err >&5
109539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109540 (exit $ac_status); } >/dev/null; then
109541 if test -s conftest.err; then
109542 ac_cpp_err=$ac_cxx_preproc_warn_flag
109543 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109545 ac_cpp_err=
109548 ac_cpp_err=yes
109550 if test -z "$ac_cpp_err"; then
109551 ac_header_preproc=yes
109553 echo "$as_me: failed program was:" >&5
109554 sed 's/^/| /' conftest.$ac_ext >&5
109556 ac_header_preproc=no
109558 rm -f conftest.err conftest.$ac_ext
109559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109560 echo "${ECHO_T}$ac_header_preproc" >&6
109562 # So? What about this header?
109563 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109564 yes:no: )
109565 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109566 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109568 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109569 ac_header_preproc=yes
109571 no:yes:* )
109572 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109573 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109574 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109575 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109576 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109577 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109578 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109579 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109581 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109582 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109583 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109585 cat <<\_ASBOX
109586 ## ----------------------------------------- ##
109587 ## Report this to the package-unused lists. ##
109588 ## ----------------------------------------- ##
109589 _ASBOX
109591 sed "s/^/$as_me: WARNING: /" >&2
109594 echo "$as_me:$LINENO: checking for $ac_header" >&5
109595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109597 echo $ECHO_N "(cached) $ECHO_C" >&6
109599 eval "$as_ac_Header=\$ac_header_preproc"
109601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109606 cat >>confdefs.h <<_ACEOF
109607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109608 _ACEOF
109615 CXXFLAGS="$ac_save_CXXFLAGS"
109616 ac_ext=c
109617 ac_cpp='$CPP $CPPFLAGS'
109618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109624 # Check for sigsetjmp
109625 cat >conftest.$ac_ext <<_ACEOF
109626 /* confdefs.h. */
109627 _ACEOF
109628 cat confdefs.h >>conftest.$ac_ext
109629 cat >>conftest.$ac_ext <<_ACEOF
109630 /* end confdefs.h. */
109631 #include <setjmp.h>
109633 main ()
109635 sigjmp_buf env;
109636 while (! sigsetjmp (env, 1))
109637 siglongjmp (env, 1);
109640 return 0;
109642 _ACEOF
109643 rm -f conftest.$ac_objext
109644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109645 (eval $ac_compile) 2>conftest.er1
109646 ac_status=$?
109647 grep -v '^ *+' conftest.er1 >conftest.err
109648 rm -f conftest.er1
109649 cat conftest.err >&5
109650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109651 (exit $ac_status); } &&
109652 { ac_try='test -z "$ac_c_werror_flag"
109653 || test ! -s conftest.err'
109654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109655 (eval $ac_try) 2>&5
109656 ac_status=$?
109657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109658 (exit $ac_status); }; } &&
109659 { ac_try='test -s conftest.$ac_objext'
109660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109661 (eval $ac_try) 2>&5
109662 ac_status=$?
109663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109664 (exit $ac_status); }; }; then
109666 cat >>confdefs.h <<\_ACEOF
109667 #define HAVE_SIGSETJMP 1
109668 _ACEOF
109671 echo "$as_me: failed program was:" >&5
109672 sed 's/^/| /' conftest.$ac_ext >&5
109675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109677 *-mingw32*)
109681 for ac_header in sys/types.h locale.h float.h
109683 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109685 echo "$as_me:$LINENO: checking for $ac_header" >&5
109686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109688 echo $ECHO_N "(cached) $ECHO_C" >&6
109690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109693 # Is the header compilable?
109694 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109695 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109696 cat >conftest.$ac_ext <<_ACEOF
109697 /* confdefs.h. */
109698 _ACEOF
109699 cat confdefs.h >>conftest.$ac_ext
109700 cat >>conftest.$ac_ext <<_ACEOF
109701 /* end confdefs.h. */
109702 $ac_includes_default
109703 #include <$ac_header>
109704 _ACEOF
109705 rm -f conftest.$ac_objext
109706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109707 (eval $ac_compile) 2>conftest.er1
109708 ac_status=$?
109709 grep -v '^ *+' conftest.er1 >conftest.err
109710 rm -f conftest.er1
109711 cat conftest.err >&5
109712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109713 (exit $ac_status); } &&
109714 { ac_try='test -z "$ac_c_werror_flag"
109715 || test ! -s conftest.err'
109716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109717 (eval $ac_try) 2>&5
109718 ac_status=$?
109719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109720 (exit $ac_status); }; } &&
109721 { ac_try='test -s conftest.$ac_objext'
109722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109723 (eval $ac_try) 2>&5
109724 ac_status=$?
109725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109726 (exit $ac_status); }; }; then
109727 ac_header_compiler=yes
109729 echo "$as_me: failed program was:" >&5
109730 sed 's/^/| /' conftest.$ac_ext >&5
109732 ac_header_compiler=no
109734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109735 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109736 echo "${ECHO_T}$ac_header_compiler" >&6
109738 # Is the header present?
109739 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109740 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109741 cat >conftest.$ac_ext <<_ACEOF
109742 /* confdefs.h. */
109743 _ACEOF
109744 cat confdefs.h >>conftest.$ac_ext
109745 cat >>conftest.$ac_ext <<_ACEOF
109746 /* end confdefs.h. */
109747 #include <$ac_header>
109748 _ACEOF
109749 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109750 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109751 ac_status=$?
109752 grep -v '^ *+' conftest.er1 >conftest.err
109753 rm -f conftest.er1
109754 cat conftest.err >&5
109755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109756 (exit $ac_status); } >/dev/null; then
109757 if test -s conftest.err; then
109758 ac_cpp_err=$ac_c_preproc_warn_flag
109759 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109761 ac_cpp_err=
109764 ac_cpp_err=yes
109766 if test -z "$ac_cpp_err"; then
109767 ac_header_preproc=yes
109769 echo "$as_me: failed program was:" >&5
109770 sed 's/^/| /' conftest.$ac_ext >&5
109772 ac_header_preproc=no
109774 rm -f conftest.err conftest.$ac_ext
109775 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109776 echo "${ECHO_T}$ac_header_preproc" >&6
109778 # So? What about this header?
109779 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109780 yes:no: )
109781 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109782 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109783 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109784 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109785 ac_header_preproc=yes
109787 no:yes:* )
109788 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109789 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109790 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109791 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109792 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109793 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109794 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109795 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109796 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109797 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109798 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109799 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109801 cat <<\_ASBOX
109802 ## ----------------------------------------- ##
109803 ## Report this to the package-unused lists. ##
109804 ## ----------------------------------------- ##
109805 _ASBOX
109807 sed "s/^/$as_me: WARNING: /" >&2
109810 echo "$as_me:$LINENO: checking for $ac_header" >&5
109811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109813 echo $ECHO_N "(cached) $ECHO_C" >&6
109815 eval "$as_ac_Header=\$ac_header_preproc"
109817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109821 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109822 cat >>confdefs.h <<_ACEOF
109823 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109824 _ACEOF
109831 # If we're not using GNU ld, then there's no point in even trying these
109832 # tests. Check for that first. We should have already tested for gld
109833 # by now (in libtool), but require it now just to be safe...
109834 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
109835 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
109839 # The name set by libtool depends on the version of libtool. Shame on us
109840 # for depending on an impl detail, but c'est la vie. Older versions used
109841 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
109842 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
109843 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
109844 # set (hence we're using an older libtool), then set it.
109845 if test x${with_gnu_ld+set} != xset; then
109846 if test x${ac_cv_prog_gnu_ld+set} != xset; then
109847 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
109848 with_gnu_ld=no
109850 with_gnu_ld=$ac_cv_prog_gnu_ld
109854 # Start by getting the version number. I think the libtool test already
109855 # does some of this, but throws away the result.
109856 if test x"$with_gnu_ld" = x"yes"; then
109857 echo "$as_me:$LINENO: checking for ld version" >&5
109858 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
109860 ldver=`$LD --version 2>/dev/null | head -1 | \
109861 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
109863 glibcxx_gnu_ld_version=`echo $ldver | \
109864 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
109865 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
109866 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
109869 # Set --gc-sections.
109870 glibcxx_gcsections_min_ld=21602
109871 if test x"$with_gnu_ld" = x"yes" &&
109872 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
109874 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
109875 # NB: This flag only works reliably after 2.16.1. Configure tests
109876 # for this are difficult, so hard wire a value that should work.
109878 ac_test_CFLAGS="${CFLAGS+set}"
109879 ac_save_CFLAGS="$CFLAGS"
109880 CFLAGS='-Wl,--gc-sections'
109882 # Check for -Wl,--gc-sections
109883 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
109884 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
109885 if test x$gcc_no_link = xyes; then
109886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109888 { (exit 1); exit 1; }; }
109890 cat >conftest.$ac_ext <<_ACEOF
109891 /* confdefs.h. */
109892 _ACEOF
109893 cat confdefs.h >>conftest.$ac_ext
109894 cat >>conftest.$ac_ext <<_ACEOF
109895 /* end confdefs.h. */
109896 int one(void) { return 1; }
109897 int two(void) { return 2; }
109900 main ()
109902 two();
109904 return 0;
109906 _ACEOF
109907 rm -f conftest.$ac_objext conftest$ac_exeext
109908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109909 (eval $ac_link) 2>conftest.er1
109910 ac_status=$?
109911 grep -v '^ *+' conftest.er1 >conftest.err
109912 rm -f conftest.er1
109913 cat conftest.err >&5
109914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109915 (exit $ac_status); } &&
109916 { ac_try='test -z "$ac_c_werror_flag"
109917 || test ! -s conftest.err'
109918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109919 (eval $ac_try) 2>&5
109920 ac_status=$?
109921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109922 (exit $ac_status); }; } &&
109923 { ac_try='test -s conftest$ac_exeext'
109924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109925 (eval $ac_try) 2>&5
109926 ac_status=$?
109927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109928 (exit $ac_status); }; }; then
109929 ac_gcsections=yes
109931 echo "$as_me: failed program was:" >&5
109932 sed 's/^/| /' conftest.$ac_ext >&5
109934 ac_gcsections=no
109936 rm -f conftest.err conftest.$ac_objext \
109937 conftest$ac_exeext conftest.$ac_ext
109938 if test "$ac_gcsections" = "yes"; then
109939 rm -f conftest.c
109940 touch conftest.c
109941 if $CC -c conftest.c; then
109942 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
109943 grep "Warning: gc-sections option ignored" > /dev/null; then
109944 ac_gcsections=no
109947 rm -f conftest.c conftest.o conftest
109949 if test "$ac_gcsections" = "yes"; then
109950 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
109952 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
109953 echo "${ECHO_T}$ac_gcsections" >&6
109955 if test "$ac_test_CFLAGS" = set; then
109956 CFLAGS="$ac_save_CFLAGS"
109958 # this is the suspicious part
109959 CFLAGS=''
109963 # Set -z,relro.
109964 # Note this is only for shared objects.
109965 ac_ld_relro=no
109966 if test x"$with_gnu_ld" = x"yes"; then
109967 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
109968 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
109969 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
109970 if test -n "$cxx_z_relo"; then
109971 OPT_LDFLAGS="-Wl,-z,relro"
109972 ac_ld_relro=yes
109974 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
109975 echo "${ECHO_T}$ac_ld_relro" >&6
109978 # Set linker optimization flags.
109979 if test x"$with_gnu_ld" = x"yes"; then
109980 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
109988 echo "$as_me:$LINENO: checking for main in -lm" >&5
109989 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
109990 if test "${ac_cv_lib_m_main+set}" = set; then
109991 echo $ECHO_N "(cached) $ECHO_C" >&6
109993 ac_check_lib_save_LIBS=$LIBS
109994 LIBS="-lm $LIBS"
109995 if test x$gcc_no_link = xyes; then
109996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109998 { (exit 1); exit 1; }; }
110000 cat >conftest.$ac_ext <<_ACEOF
110001 /* confdefs.h. */
110002 _ACEOF
110003 cat confdefs.h >>conftest.$ac_ext
110004 cat >>conftest.$ac_ext <<_ACEOF
110005 /* end confdefs.h. */
110009 main ()
110011 main ();
110013 return 0;
110015 _ACEOF
110016 rm -f conftest.$ac_objext conftest$ac_exeext
110017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110018 (eval $ac_link) 2>conftest.er1
110019 ac_status=$?
110020 grep -v '^ *+' conftest.er1 >conftest.err
110021 rm -f conftest.er1
110022 cat conftest.err >&5
110023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110024 (exit $ac_status); } &&
110025 { ac_try='test -z "$ac_c_werror_flag"
110026 || test ! -s conftest.err'
110027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110028 (eval $ac_try) 2>&5
110029 ac_status=$?
110030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110031 (exit $ac_status); }; } &&
110032 { ac_try='test -s conftest$ac_exeext'
110033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110034 (eval $ac_try) 2>&5
110035 ac_status=$?
110036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110037 (exit $ac_status); }; }; then
110038 ac_cv_lib_m_main=yes
110040 echo "$as_me: failed program was:" >&5
110041 sed 's/^/| /' conftest.$ac_ext >&5
110043 ac_cv_lib_m_main=no
110045 rm -f conftest.err conftest.$ac_objext \
110046 conftest$ac_exeext conftest.$ac_ext
110047 LIBS=$ac_check_lib_save_LIBS
110049 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
110050 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
110051 if test $ac_cv_lib_m_main = yes; then
110052 cat >>confdefs.h <<_ACEOF
110053 #define HAVE_LIBM 1
110054 _ACEOF
110056 LIBS="-lm $LIBS"
110061 for ac_func in copysignf
110063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110064 echo "$as_me:$LINENO: checking for $ac_func" >&5
110065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110066 if eval "test \"\${$as_ac_var+set}\" = set"; then
110067 echo $ECHO_N "(cached) $ECHO_C" >&6
110069 if test x$gcc_no_link = xyes; then
110070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110072 { (exit 1); exit 1; }; }
110074 cat >conftest.$ac_ext <<_ACEOF
110075 /* confdefs.h. */
110076 _ACEOF
110077 cat confdefs.h >>conftest.$ac_ext
110078 cat >>conftest.$ac_ext <<_ACEOF
110079 /* end confdefs.h. */
110080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110082 #define $ac_func innocuous_$ac_func
110084 /* System header to define __stub macros and hopefully few prototypes,
110085 which can conflict with char $ac_func (); below.
110086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110087 <limits.h> exists even on freestanding compilers. */
110089 #ifdef __STDC__
110090 # include <limits.h>
110091 #else
110092 # include <assert.h>
110093 #endif
110095 #undef $ac_func
110097 /* Override any gcc2 internal prototype to avoid an error. */
110098 #ifdef __cplusplus
110099 extern "C"
110101 #endif
110102 /* We use char because int might match the return type of a gcc2
110103 builtin and then its argument prototype would still apply. */
110104 char $ac_func ();
110105 /* The GNU C library defines this for functions which it implements
110106 to always fail with ENOSYS. Some functions are actually named
110107 something starting with __ and the normal name is an alias. */
110108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110109 choke me
110110 #else
110111 char (*f) () = $ac_func;
110112 #endif
110113 #ifdef __cplusplus
110115 #endif
110118 main ()
110120 return f != $ac_func;
110122 return 0;
110124 _ACEOF
110125 rm -f conftest.$ac_objext conftest$ac_exeext
110126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110127 (eval $ac_link) 2>conftest.er1
110128 ac_status=$?
110129 grep -v '^ *+' conftest.er1 >conftest.err
110130 rm -f conftest.er1
110131 cat conftest.err >&5
110132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110133 (exit $ac_status); } &&
110134 { ac_try='test -z "$ac_c_werror_flag"
110135 || test ! -s conftest.err'
110136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110137 (eval $ac_try) 2>&5
110138 ac_status=$?
110139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110140 (exit $ac_status); }; } &&
110141 { ac_try='test -s conftest$ac_exeext'
110142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110143 (eval $ac_try) 2>&5
110144 ac_status=$?
110145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110146 (exit $ac_status); }; }; then
110147 eval "$as_ac_var=yes"
110149 echo "$as_me: failed program was:" >&5
110150 sed 's/^/| /' conftest.$ac_ext >&5
110152 eval "$as_ac_var=no"
110154 rm -f conftest.err conftest.$ac_objext \
110155 conftest$ac_exeext conftest.$ac_ext
110157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110159 if test `eval echo '${'$as_ac_var'}'` = yes; then
110160 cat >>confdefs.h <<_ACEOF
110161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110162 _ACEOF
110165 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
110171 for ac_func in __signbit
110173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110174 echo "$as_me:$LINENO: checking for $ac_func" >&5
110175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110176 if eval "test \"\${$as_ac_var+set}\" = set"; then
110177 echo $ECHO_N "(cached) $ECHO_C" >&6
110179 if test x$gcc_no_link = xyes; then
110180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110182 { (exit 1); exit 1; }; }
110184 cat >conftest.$ac_ext <<_ACEOF
110185 /* confdefs.h. */
110186 _ACEOF
110187 cat confdefs.h >>conftest.$ac_ext
110188 cat >>conftest.$ac_ext <<_ACEOF
110189 /* end confdefs.h. */
110190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110192 #define $ac_func innocuous_$ac_func
110194 /* System header to define __stub macros and hopefully few prototypes,
110195 which can conflict with char $ac_func (); below.
110196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110197 <limits.h> exists even on freestanding compilers. */
110199 #ifdef __STDC__
110200 # include <limits.h>
110201 #else
110202 # include <assert.h>
110203 #endif
110205 #undef $ac_func
110207 /* Override any gcc2 internal prototype to avoid an error. */
110208 #ifdef __cplusplus
110209 extern "C"
110211 #endif
110212 /* We use char because int might match the return type of a gcc2
110213 builtin and then its argument prototype would still apply. */
110214 char $ac_func ();
110215 /* The GNU C library defines this for functions which it implements
110216 to always fail with ENOSYS. Some functions are actually named
110217 something starting with __ and the normal name is an alias. */
110218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110219 choke me
110220 #else
110221 char (*f) () = $ac_func;
110222 #endif
110223 #ifdef __cplusplus
110225 #endif
110228 main ()
110230 return f != $ac_func;
110232 return 0;
110234 _ACEOF
110235 rm -f conftest.$ac_objext conftest$ac_exeext
110236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110237 (eval $ac_link) 2>conftest.er1
110238 ac_status=$?
110239 grep -v '^ *+' conftest.er1 >conftest.err
110240 rm -f conftest.er1
110241 cat conftest.err >&5
110242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110243 (exit $ac_status); } &&
110244 { ac_try='test -z "$ac_c_werror_flag"
110245 || test ! -s conftest.err'
110246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110247 (eval $ac_try) 2>&5
110248 ac_status=$?
110249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110250 (exit $ac_status); }; } &&
110251 { ac_try='test -s conftest$ac_exeext'
110252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110253 (eval $ac_try) 2>&5
110254 ac_status=$?
110255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110256 (exit $ac_status); }; }; then
110257 eval "$as_ac_var=yes"
110259 echo "$as_me: failed program was:" >&5
110260 sed 's/^/| /' conftest.$ac_ext >&5
110262 eval "$as_ac_var=no"
110264 rm -f conftest.err conftest.$ac_objext \
110265 conftest$ac_exeext conftest.$ac_ext
110267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110269 if test `eval echo '${'$as_ac_var'}'` = yes; then
110270 cat >>confdefs.h <<_ACEOF
110271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110272 _ACEOF
110275 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
110281 for ac_func in __signbitf
110283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110284 echo "$as_me:$LINENO: checking for $ac_func" >&5
110285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110286 if eval "test \"\${$as_ac_var+set}\" = set"; then
110287 echo $ECHO_N "(cached) $ECHO_C" >&6
110289 if test x$gcc_no_link = xyes; then
110290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110292 { (exit 1); exit 1; }; }
110294 cat >conftest.$ac_ext <<_ACEOF
110295 /* confdefs.h. */
110296 _ACEOF
110297 cat confdefs.h >>conftest.$ac_ext
110298 cat >>conftest.$ac_ext <<_ACEOF
110299 /* end confdefs.h. */
110300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110302 #define $ac_func innocuous_$ac_func
110304 /* System header to define __stub macros and hopefully few prototypes,
110305 which can conflict with char $ac_func (); below.
110306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110307 <limits.h> exists even on freestanding compilers. */
110309 #ifdef __STDC__
110310 # include <limits.h>
110311 #else
110312 # include <assert.h>
110313 #endif
110315 #undef $ac_func
110317 /* Override any gcc2 internal prototype to avoid an error. */
110318 #ifdef __cplusplus
110319 extern "C"
110321 #endif
110322 /* We use char because int might match the return type of a gcc2
110323 builtin and then its argument prototype would still apply. */
110324 char $ac_func ();
110325 /* The GNU C library defines this for functions which it implements
110326 to always fail with ENOSYS. Some functions are actually named
110327 something starting with __ and the normal name is an alias. */
110328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110329 choke me
110330 #else
110331 char (*f) () = $ac_func;
110332 #endif
110333 #ifdef __cplusplus
110335 #endif
110338 main ()
110340 return f != $ac_func;
110342 return 0;
110344 _ACEOF
110345 rm -f conftest.$ac_objext conftest$ac_exeext
110346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110347 (eval $ac_link) 2>conftest.er1
110348 ac_status=$?
110349 grep -v '^ *+' conftest.er1 >conftest.err
110350 rm -f conftest.er1
110351 cat conftest.err >&5
110352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110353 (exit $ac_status); } &&
110354 { ac_try='test -z "$ac_c_werror_flag"
110355 || test ! -s conftest.err'
110356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110357 (eval $ac_try) 2>&5
110358 ac_status=$?
110359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110360 (exit $ac_status); }; } &&
110361 { ac_try='test -s conftest$ac_exeext'
110362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110363 (eval $ac_try) 2>&5
110364 ac_status=$?
110365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110366 (exit $ac_status); }; }; then
110367 eval "$as_ac_var=yes"
110369 echo "$as_me: failed program was:" >&5
110370 sed 's/^/| /' conftest.$ac_ext >&5
110372 eval "$as_ac_var=no"
110374 rm -f conftest.err conftest.$ac_objext \
110375 conftest$ac_exeext conftest.$ac_ext
110377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110379 if test `eval echo '${'$as_ac_var'}'` = yes; then
110380 cat >>confdefs.h <<_ACEOF
110381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110382 _ACEOF
110385 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
110390 if test x$ac_cv_func_copysignl = x"yes"; then
110392 for ac_func in __signbitl
110394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110395 echo "$as_me:$LINENO: checking for $ac_func" >&5
110396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110397 if eval "test \"\${$as_ac_var+set}\" = set"; then
110398 echo $ECHO_N "(cached) $ECHO_C" >&6
110400 if test x$gcc_no_link = xyes; then
110401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110403 { (exit 1); exit 1; }; }
110405 cat >conftest.$ac_ext <<_ACEOF
110406 /* confdefs.h. */
110407 _ACEOF
110408 cat confdefs.h >>conftest.$ac_ext
110409 cat >>conftest.$ac_ext <<_ACEOF
110410 /* end confdefs.h. */
110411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110413 #define $ac_func innocuous_$ac_func
110415 /* System header to define __stub macros and hopefully few prototypes,
110416 which can conflict with char $ac_func (); below.
110417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110418 <limits.h> exists even on freestanding compilers. */
110420 #ifdef __STDC__
110421 # include <limits.h>
110422 #else
110423 # include <assert.h>
110424 #endif
110426 #undef $ac_func
110428 /* Override any gcc2 internal prototype to avoid an error. */
110429 #ifdef __cplusplus
110430 extern "C"
110432 #endif
110433 /* We use char because int might match the return type of a gcc2
110434 builtin and then its argument prototype would still apply. */
110435 char $ac_func ();
110436 /* The GNU C library defines this for functions which it implements
110437 to always fail with ENOSYS. Some functions are actually named
110438 something starting with __ and the normal name is an alias. */
110439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110440 choke me
110441 #else
110442 char (*f) () = $ac_func;
110443 #endif
110444 #ifdef __cplusplus
110446 #endif
110449 main ()
110451 return f != $ac_func;
110453 return 0;
110455 _ACEOF
110456 rm -f conftest.$ac_objext conftest$ac_exeext
110457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110458 (eval $ac_link) 2>conftest.er1
110459 ac_status=$?
110460 grep -v '^ *+' conftest.er1 >conftest.err
110461 rm -f conftest.er1
110462 cat conftest.err >&5
110463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110464 (exit $ac_status); } &&
110465 { ac_try='test -z "$ac_c_werror_flag"
110466 || test ! -s conftest.err'
110467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110468 (eval $ac_try) 2>&5
110469 ac_status=$?
110470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110471 (exit $ac_status); }; } &&
110472 { ac_try='test -s conftest$ac_exeext'
110473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110474 (eval $ac_try) 2>&5
110475 ac_status=$?
110476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110477 (exit $ac_status); }; }; then
110478 eval "$as_ac_var=yes"
110480 echo "$as_me: failed program was:" >&5
110481 sed 's/^/| /' conftest.$ac_ext >&5
110483 eval "$as_ac_var=no"
110485 rm -f conftest.err conftest.$ac_objext \
110486 conftest$ac_exeext conftest.$ac_ext
110488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110490 if test `eval echo '${'$as_ac_var'}'` = yes; then
110491 cat >>confdefs.h <<_ACEOF
110492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110493 _ACEOF
110496 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
110502 # Used in libmath/Makefile.am.
110503 if test -n "$LIBMATHOBJS"; then
110504 need_libmath=yes
110509 *-netbsd*)
110522 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
110523 machine/endian.h machine/param.h sys/machine.h sys/types.h \
110524 fp.h locale.h float.h inttypes.h
110526 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110528 echo "$as_me:$LINENO: checking for $ac_header" >&5
110529 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110531 echo $ECHO_N "(cached) $ECHO_C" >&6
110533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110536 # Is the header compilable?
110537 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110538 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110539 cat >conftest.$ac_ext <<_ACEOF
110540 /* confdefs.h. */
110541 _ACEOF
110542 cat confdefs.h >>conftest.$ac_ext
110543 cat >>conftest.$ac_ext <<_ACEOF
110544 /* end confdefs.h. */
110545 $ac_includes_default
110546 #include <$ac_header>
110547 _ACEOF
110548 rm -f conftest.$ac_objext
110549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110550 (eval $ac_compile) 2>conftest.er1
110551 ac_status=$?
110552 grep -v '^ *+' conftest.er1 >conftest.err
110553 rm -f conftest.er1
110554 cat conftest.err >&5
110555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110556 (exit $ac_status); } &&
110557 { ac_try='test -z "$ac_c_werror_flag"
110558 || test ! -s conftest.err'
110559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110560 (eval $ac_try) 2>&5
110561 ac_status=$?
110562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110563 (exit $ac_status); }; } &&
110564 { ac_try='test -s conftest.$ac_objext'
110565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110566 (eval $ac_try) 2>&5
110567 ac_status=$?
110568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110569 (exit $ac_status); }; }; then
110570 ac_header_compiler=yes
110572 echo "$as_me: failed program was:" >&5
110573 sed 's/^/| /' conftest.$ac_ext >&5
110575 ac_header_compiler=no
110577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110578 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110579 echo "${ECHO_T}$ac_header_compiler" >&6
110581 # Is the header present?
110582 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110583 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110584 cat >conftest.$ac_ext <<_ACEOF
110585 /* confdefs.h. */
110586 _ACEOF
110587 cat confdefs.h >>conftest.$ac_ext
110588 cat >>conftest.$ac_ext <<_ACEOF
110589 /* end confdefs.h. */
110590 #include <$ac_header>
110591 _ACEOF
110592 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110593 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110594 ac_status=$?
110595 grep -v '^ *+' conftest.er1 >conftest.err
110596 rm -f conftest.er1
110597 cat conftest.err >&5
110598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110599 (exit $ac_status); } >/dev/null; then
110600 if test -s conftest.err; then
110601 ac_cpp_err=$ac_c_preproc_warn_flag
110602 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110604 ac_cpp_err=
110607 ac_cpp_err=yes
110609 if test -z "$ac_cpp_err"; then
110610 ac_header_preproc=yes
110612 echo "$as_me: failed program was:" >&5
110613 sed 's/^/| /' conftest.$ac_ext >&5
110615 ac_header_preproc=no
110617 rm -f conftest.err conftest.$ac_ext
110618 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110619 echo "${ECHO_T}$ac_header_preproc" >&6
110621 # So? What about this header?
110622 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110623 yes:no: )
110624 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110625 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110627 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110628 ac_header_preproc=yes
110630 no:yes:* )
110631 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110632 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110633 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
110634 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
110635 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110636 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110637 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
110638 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
110639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110640 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110641 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110642 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110644 cat <<\_ASBOX
110645 ## ----------------------------------------- ##
110646 ## Report this to the package-unused lists. ##
110647 ## ----------------------------------------- ##
110648 _ASBOX
110650 sed "s/^/$as_me: WARNING: /" >&2
110653 echo "$as_me:$LINENO: checking for $ac_header" >&5
110654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110656 echo $ECHO_N "(cached) $ECHO_C" >&6
110658 eval "$as_ac_Header=\$ac_header_preproc"
110660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110665 cat >>confdefs.h <<_ACEOF
110666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110667 _ACEOF
110673 SECTION_FLAGS='-ffunction-sections -fdata-sections'
110676 # If we're not using GNU ld, then there's no point in even trying these
110677 # tests. Check for that first. We should have already tested for gld
110678 # by now (in libtool), but require it now just to be safe...
110679 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
110680 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
110684 # The name set by libtool depends on the version of libtool. Shame on us
110685 # for depending on an impl detail, but c'est la vie. Older versions used
110686 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
110687 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
110688 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
110689 # set (hence we're using an older libtool), then set it.
110690 if test x${with_gnu_ld+set} != xset; then
110691 if test x${ac_cv_prog_gnu_ld+set} != xset; then
110692 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
110693 with_gnu_ld=no
110695 with_gnu_ld=$ac_cv_prog_gnu_ld
110699 # Start by getting the version number. I think the libtool test already
110700 # does some of this, but throws away the result.
110701 if test x"$with_gnu_ld" = x"yes"; then
110702 echo "$as_me:$LINENO: checking for ld version" >&5
110703 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
110705 ldver=`$LD --version 2>/dev/null | head -1 | \
110706 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
110708 glibcxx_gnu_ld_version=`echo $ldver | \
110709 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
110710 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
110711 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
110714 # Set --gc-sections.
110715 glibcxx_gcsections_min_ld=21602
110716 if test x"$with_gnu_ld" = x"yes" &&
110717 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
110719 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
110720 # NB: This flag only works reliably after 2.16.1. Configure tests
110721 # for this are difficult, so hard wire a value that should work.
110723 ac_test_CFLAGS="${CFLAGS+set}"
110724 ac_save_CFLAGS="$CFLAGS"
110725 CFLAGS='-Wl,--gc-sections'
110727 # Check for -Wl,--gc-sections
110728 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
110729 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
110730 if test x$gcc_no_link = xyes; then
110731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110733 { (exit 1); exit 1; }; }
110735 cat >conftest.$ac_ext <<_ACEOF
110736 /* confdefs.h. */
110737 _ACEOF
110738 cat confdefs.h >>conftest.$ac_ext
110739 cat >>conftest.$ac_ext <<_ACEOF
110740 /* end confdefs.h. */
110741 int one(void) { return 1; }
110742 int two(void) { return 2; }
110745 main ()
110747 two();
110749 return 0;
110751 _ACEOF
110752 rm -f conftest.$ac_objext conftest$ac_exeext
110753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110754 (eval $ac_link) 2>conftest.er1
110755 ac_status=$?
110756 grep -v '^ *+' conftest.er1 >conftest.err
110757 rm -f conftest.er1
110758 cat conftest.err >&5
110759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110760 (exit $ac_status); } &&
110761 { ac_try='test -z "$ac_c_werror_flag"
110762 || test ! -s conftest.err'
110763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110764 (eval $ac_try) 2>&5
110765 ac_status=$?
110766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110767 (exit $ac_status); }; } &&
110768 { ac_try='test -s conftest$ac_exeext'
110769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110770 (eval $ac_try) 2>&5
110771 ac_status=$?
110772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110773 (exit $ac_status); }; }; then
110774 ac_gcsections=yes
110776 echo "$as_me: failed program was:" >&5
110777 sed 's/^/| /' conftest.$ac_ext >&5
110779 ac_gcsections=no
110781 rm -f conftest.err conftest.$ac_objext \
110782 conftest$ac_exeext conftest.$ac_ext
110783 if test "$ac_gcsections" = "yes"; then
110784 rm -f conftest.c
110785 touch conftest.c
110786 if $CC -c conftest.c; then
110787 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110788 grep "Warning: gc-sections option ignored" > /dev/null; then
110789 ac_gcsections=no
110792 rm -f conftest.c conftest.o conftest
110794 if test "$ac_gcsections" = "yes"; then
110795 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110797 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110798 echo "${ECHO_T}$ac_gcsections" >&6
110800 if test "$ac_test_CFLAGS" = set; then
110801 CFLAGS="$ac_save_CFLAGS"
110803 # this is the suspicious part
110804 CFLAGS=''
110808 # Set -z,relro.
110809 # Note this is only for shared objects.
110810 ac_ld_relro=no
110811 if test x"$with_gnu_ld" = x"yes"; then
110812 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
110813 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
110814 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
110815 if test -n "$cxx_z_relo"; then
110816 OPT_LDFLAGS="-Wl,-z,relro"
110817 ac_ld_relro=yes
110819 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
110820 echo "${ECHO_T}$ac_ld_relro" >&6
110823 # Set linker optimization flags.
110824 if test x"$with_gnu_ld" = x"yes"; then
110825 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
110833 echo "$as_me:$LINENO: checking for main in -lm" >&5
110834 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
110835 if test "${ac_cv_lib_m_main+set}" = set; then
110836 echo $ECHO_N "(cached) $ECHO_C" >&6
110838 ac_check_lib_save_LIBS=$LIBS
110839 LIBS="-lm $LIBS"
110840 if test x$gcc_no_link = xyes; then
110841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110843 { (exit 1); exit 1; }; }
110845 cat >conftest.$ac_ext <<_ACEOF
110846 /* confdefs.h. */
110847 _ACEOF
110848 cat confdefs.h >>conftest.$ac_ext
110849 cat >>conftest.$ac_ext <<_ACEOF
110850 /* end confdefs.h. */
110854 main ()
110856 main ();
110858 return 0;
110860 _ACEOF
110861 rm -f conftest.$ac_objext conftest$ac_exeext
110862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110863 (eval $ac_link) 2>conftest.er1
110864 ac_status=$?
110865 grep -v '^ *+' conftest.er1 >conftest.err
110866 rm -f conftest.er1
110867 cat conftest.err >&5
110868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110869 (exit $ac_status); } &&
110870 { ac_try='test -z "$ac_c_werror_flag"
110871 || test ! -s conftest.err'
110872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110873 (eval $ac_try) 2>&5
110874 ac_status=$?
110875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110876 (exit $ac_status); }; } &&
110877 { ac_try='test -s conftest$ac_exeext'
110878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110879 (eval $ac_try) 2>&5
110880 ac_status=$?
110881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110882 (exit $ac_status); }; }; then
110883 ac_cv_lib_m_main=yes
110885 echo "$as_me: failed program was:" >&5
110886 sed 's/^/| /' conftest.$ac_ext >&5
110888 ac_cv_lib_m_main=no
110890 rm -f conftest.err conftest.$ac_objext \
110891 conftest$ac_exeext conftest.$ac_ext
110892 LIBS=$ac_check_lib_save_LIBS
110894 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
110895 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
110896 if test $ac_cv_lib_m_main = yes; then
110897 cat >>confdefs.h <<_ACEOF
110898 #define HAVE_LIBM 1
110899 _ACEOF
110901 LIBS="-lm $LIBS"
110906 for ac_func in copysignf
110908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110909 echo "$as_me:$LINENO: checking for $ac_func" >&5
110910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110911 if eval "test \"\${$as_ac_var+set}\" = set"; then
110912 echo $ECHO_N "(cached) $ECHO_C" >&6
110914 if test x$gcc_no_link = xyes; then
110915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110917 { (exit 1); exit 1; }; }
110919 cat >conftest.$ac_ext <<_ACEOF
110920 /* confdefs.h. */
110921 _ACEOF
110922 cat confdefs.h >>conftest.$ac_ext
110923 cat >>conftest.$ac_ext <<_ACEOF
110924 /* end confdefs.h. */
110925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110927 #define $ac_func innocuous_$ac_func
110929 /* System header to define __stub macros and hopefully few prototypes,
110930 which can conflict with char $ac_func (); below.
110931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110932 <limits.h> exists even on freestanding compilers. */
110934 #ifdef __STDC__
110935 # include <limits.h>
110936 #else
110937 # include <assert.h>
110938 #endif
110940 #undef $ac_func
110942 /* Override any gcc2 internal prototype to avoid an error. */
110943 #ifdef __cplusplus
110944 extern "C"
110946 #endif
110947 /* We use char because int might match the return type of a gcc2
110948 builtin and then its argument prototype would still apply. */
110949 char $ac_func ();
110950 /* The GNU C library defines this for functions which it implements
110951 to always fail with ENOSYS. Some functions are actually named
110952 something starting with __ and the normal name is an alias. */
110953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110954 choke me
110955 #else
110956 char (*f) () = $ac_func;
110957 #endif
110958 #ifdef __cplusplus
110960 #endif
110963 main ()
110965 return f != $ac_func;
110967 return 0;
110969 _ACEOF
110970 rm -f conftest.$ac_objext conftest$ac_exeext
110971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110972 (eval $ac_link) 2>conftest.er1
110973 ac_status=$?
110974 grep -v '^ *+' conftest.er1 >conftest.err
110975 rm -f conftest.er1
110976 cat conftest.err >&5
110977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110978 (exit $ac_status); } &&
110979 { ac_try='test -z "$ac_c_werror_flag"
110980 || test ! -s conftest.err'
110981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110982 (eval $ac_try) 2>&5
110983 ac_status=$?
110984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110985 (exit $ac_status); }; } &&
110986 { ac_try='test -s conftest$ac_exeext'
110987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110988 (eval $ac_try) 2>&5
110989 ac_status=$?
110990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110991 (exit $ac_status); }; }; then
110992 eval "$as_ac_var=yes"
110994 echo "$as_me: failed program was:" >&5
110995 sed 's/^/| /' conftest.$ac_ext >&5
110997 eval "$as_ac_var=no"
110999 rm -f conftest.err conftest.$ac_objext \
111000 conftest$ac_exeext conftest.$ac_ext
111002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111004 if test `eval echo '${'$as_ac_var'}'` = yes; then
111005 cat >>confdefs.h <<_ACEOF
111006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111007 _ACEOF
111010 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111016 for ac_func in __signbit
111018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111019 echo "$as_me:$LINENO: checking for $ac_func" >&5
111020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111021 if eval "test \"\${$as_ac_var+set}\" = set"; then
111022 echo $ECHO_N "(cached) $ECHO_C" >&6
111024 if test x$gcc_no_link = xyes; then
111025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111027 { (exit 1); exit 1; }; }
111029 cat >conftest.$ac_ext <<_ACEOF
111030 /* confdefs.h. */
111031 _ACEOF
111032 cat confdefs.h >>conftest.$ac_ext
111033 cat >>conftest.$ac_ext <<_ACEOF
111034 /* end confdefs.h. */
111035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111037 #define $ac_func innocuous_$ac_func
111039 /* System header to define __stub macros and hopefully few prototypes,
111040 which can conflict with char $ac_func (); below.
111041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111042 <limits.h> exists even on freestanding compilers. */
111044 #ifdef __STDC__
111045 # include <limits.h>
111046 #else
111047 # include <assert.h>
111048 #endif
111050 #undef $ac_func
111052 /* Override any gcc2 internal prototype to avoid an error. */
111053 #ifdef __cplusplus
111054 extern "C"
111056 #endif
111057 /* We use char because int might match the return type of a gcc2
111058 builtin and then its argument prototype would still apply. */
111059 char $ac_func ();
111060 /* The GNU C library defines this for functions which it implements
111061 to always fail with ENOSYS. Some functions are actually named
111062 something starting with __ and the normal name is an alias. */
111063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111064 choke me
111065 #else
111066 char (*f) () = $ac_func;
111067 #endif
111068 #ifdef __cplusplus
111070 #endif
111073 main ()
111075 return f != $ac_func;
111077 return 0;
111079 _ACEOF
111080 rm -f conftest.$ac_objext conftest$ac_exeext
111081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111082 (eval $ac_link) 2>conftest.er1
111083 ac_status=$?
111084 grep -v '^ *+' conftest.er1 >conftest.err
111085 rm -f conftest.er1
111086 cat conftest.err >&5
111087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111088 (exit $ac_status); } &&
111089 { ac_try='test -z "$ac_c_werror_flag"
111090 || test ! -s conftest.err'
111091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111092 (eval $ac_try) 2>&5
111093 ac_status=$?
111094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111095 (exit $ac_status); }; } &&
111096 { ac_try='test -s conftest$ac_exeext'
111097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111098 (eval $ac_try) 2>&5
111099 ac_status=$?
111100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111101 (exit $ac_status); }; }; then
111102 eval "$as_ac_var=yes"
111104 echo "$as_me: failed program was:" >&5
111105 sed 's/^/| /' conftest.$ac_ext >&5
111107 eval "$as_ac_var=no"
111109 rm -f conftest.err conftest.$ac_objext \
111110 conftest$ac_exeext conftest.$ac_ext
111112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111114 if test `eval echo '${'$as_ac_var'}'` = yes; then
111115 cat >>confdefs.h <<_ACEOF
111116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111117 _ACEOF
111120 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
111126 for ac_func in __signbitf
111128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111129 echo "$as_me:$LINENO: checking for $ac_func" >&5
111130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111131 if eval "test \"\${$as_ac_var+set}\" = set"; then
111132 echo $ECHO_N "(cached) $ECHO_C" >&6
111134 if test x$gcc_no_link = xyes; then
111135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111137 { (exit 1); exit 1; }; }
111139 cat >conftest.$ac_ext <<_ACEOF
111140 /* confdefs.h. */
111141 _ACEOF
111142 cat confdefs.h >>conftest.$ac_ext
111143 cat >>conftest.$ac_ext <<_ACEOF
111144 /* end confdefs.h. */
111145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111147 #define $ac_func innocuous_$ac_func
111149 /* System header to define __stub macros and hopefully few prototypes,
111150 which can conflict with char $ac_func (); below.
111151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111152 <limits.h> exists even on freestanding compilers. */
111154 #ifdef __STDC__
111155 # include <limits.h>
111156 #else
111157 # include <assert.h>
111158 #endif
111160 #undef $ac_func
111162 /* Override any gcc2 internal prototype to avoid an error. */
111163 #ifdef __cplusplus
111164 extern "C"
111166 #endif
111167 /* We use char because int might match the return type of a gcc2
111168 builtin and then its argument prototype would still apply. */
111169 char $ac_func ();
111170 /* The GNU C library defines this for functions which it implements
111171 to always fail with ENOSYS. Some functions are actually named
111172 something starting with __ and the normal name is an alias. */
111173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111174 choke me
111175 #else
111176 char (*f) () = $ac_func;
111177 #endif
111178 #ifdef __cplusplus
111180 #endif
111183 main ()
111185 return f != $ac_func;
111187 return 0;
111189 _ACEOF
111190 rm -f conftest.$ac_objext conftest$ac_exeext
111191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111192 (eval $ac_link) 2>conftest.er1
111193 ac_status=$?
111194 grep -v '^ *+' conftest.er1 >conftest.err
111195 rm -f conftest.er1
111196 cat conftest.err >&5
111197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111198 (exit $ac_status); } &&
111199 { ac_try='test -z "$ac_c_werror_flag"
111200 || test ! -s conftest.err'
111201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111202 (eval $ac_try) 2>&5
111203 ac_status=$?
111204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111205 (exit $ac_status); }; } &&
111206 { ac_try='test -s conftest$ac_exeext'
111207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111208 (eval $ac_try) 2>&5
111209 ac_status=$?
111210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111211 (exit $ac_status); }; }; then
111212 eval "$as_ac_var=yes"
111214 echo "$as_me: failed program was:" >&5
111215 sed 's/^/| /' conftest.$ac_ext >&5
111217 eval "$as_ac_var=no"
111219 rm -f conftest.err conftest.$ac_objext \
111220 conftest$ac_exeext conftest.$ac_ext
111222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111224 if test `eval echo '${'$as_ac_var'}'` = yes; then
111225 cat >>confdefs.h <<_ACEOF
111226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111227 _ACEOF
111230 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
111235 if test x$ac_cv_func_copysignl = x"yes"; then
111237 for ac_func in __signbitl
111239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111240 echo "$as_me:$LINENO: checking for $ac_func" >&5
111241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111242 if eval "test \"\${$as_ac_var+set}\" = set"; then
111243 echo $ECHO_N "(cached) $ECHO_C" >&6
111245 if test x$gcc_no_link = xyes; then
111246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111248 { (exit 1); exit 1; }; }
111250 cat >conftest.$ac_ext <<_ACEOF
111251 /* confdefs.h. */
111252 _ACEOF
111253 cat confdefs.h >>conftest.$ac_ext
111254 cat >>conftest.$ac_ext <<_ACEOF
111255 /* end confdefs.h. */
111256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111258 #define $ac_func innocuous_$ac_func
111260 /* System header to define __stub macros and hopefully few prototypes,
111261 which can conflict with char $ac_func (); below.
111262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111263 <limits.h> exists even on freestanding compilers. */
111265 #ifdef __STDC__
111266 # include <limits.h>
111267 #else
111268 # include <assert.h>
111269 #endif
111271 #undef $ac_func
111273 /* Override any gcc2 internal prototype to avoid an error. */
111274 #ifdef __cplusplus
111275 extern "C"
111277 #endif
111278 /* We use char because int might match the return type of a gcc2
111279 builtin and then its argument prototype would still apply. */
111280 char $ac_func ();
111281 /* The GNU C library defines this for functions which it implements
111282 to always fail with ENOSYS. Some functions are actually named
111283 something starting with __ and the normal name is an alias. */
111284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111285 choke me
111286 #else
111287 char (*f) () = $ac_func;
111288 #endif
111289 #ifdef __cplusplus
111291 #endif
111294 main ()
111296 return f != $ac_func;
111298 return 0;
111300 _ACEOF
111301 rm -f conftest.$ac_objext conftest$ac_exeext
111302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111303 (eval $ac_link) 2>conftest.er1
111304 ac_status=$?
111305 grep -v '^ *+' conftest.er1 >conftest.err
111306 rm -f conftest.er1
111307 cat conftest.err >&5
111308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111309 (exit $ac_status); } &&
111310 { ac_try='test -z "$ac_c_werror_flag"
111311 || test ! -s conftest.err'
111312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111313 (eval $ac_try) 2>&5
111314 ac_status=$?
111315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111316 (exit $ac_status); }; } &&
111317 { ac_try='test -s conftest$ac_exeext'
111318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111319 (eval $ac_try) 2>&5
111320 ac_status=$?
111321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111322 (exit $ac_status); }; }; then
111323 eval "$as_ac_var=yes"
111325 echo "$as_me: failed program was:" >&5
111326 sed 's/^/| /' conftest.$ac_ext >&5
111328 eval "$as_ac_var=no"
111330 rm -f conftest.err conftest.$ac_objext \
111331 conftest$ac_exeext conftest.$ac_ext
111333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111335 if test `eval echo '${'$as_ac_var'}'` = yes; then
111336 cat >>confdefs.h <<_ACEOF
111337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111338 _ACEOF
111341 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
111347 # Used in libmath/Makefile.am.
111348 if test -n "$LIBMATHOBJS"; then
111349 need_libmath=yes
111353 cat >>confdefs.h <<\_ACEOF
111354 #define HAVE_COPYSIGN 1
111355 _ACEOF
111357 cat >>confdefs.h <<\_ACEOF
111358 #define HAVE_COPYSIGNF 1
111359 _ACEOF
111361 cat >>confdefs.h <<\_ACEOF
111362 #define HAVE_FINITEF 1
111363 _ACEOF
111365 cat >>confdefs.h <<\_ACEOF
111366 #define HAVE_FINITE 1
111367 _ACEOF
111369 cat >>confdefs.h <<\_ACEOF
111370 #define HAVE_FREXPF 1
111371 _ACEOF
111373 cat >>confdefs.h <<\_ACEOF
111374 #define HAVE_HYPOTF 1
111375 _ACEOF
111377 cat >>confdefs.h <<\_ACEOF
111378 #define HAVE_ISINF 1
111379 _ACEOF
111381 cat >>confdefs.h <<\_ACEOF
111382 #define HAVE_ISINFF 1
111383 _ACEOF
111385 cat >>confdefs.h <<\_ACEOF
111386 #define HAVE_ISNAN 1
111387 _ACEOF
111389 cat >>confdefs.h <<\_ACEOF
111390 #define HAVE_ISNANF 1
111391 _ACEOF
111393 if test x"long_double_math_on_this_cpu" = x"yes"; then
111394 cat >>confdefs.h <<\_ACEOF
111395 #define HAVE_FINITEL 1
111396 _ACEOF
111398 cat >>confdefs.h <<\_ACEOF
111399 #define HAVE_ISINFL 1
111400 _ACEOF
111402 cat >>confdefs.h <<\_ACEOF
111403 #define HAVE_ISNANL 1
111404 _ACEOF
111408 *-netware)
111417 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
111418 sys/types.h locale.h float.h inttypes.h
111420 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111422 echo "$as_me:$LINENO: checking for $ac_header" >&5
111423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111424 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111425 echo $ECHO_N "(cached) $ECHO_C" >&6
111427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111428 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111430 # Is the header compilable?
111431 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111432 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111433 cat >conftest.$ac_ext <<_ACEOF
111434 /* confdefs.h. */
111435 _ACEOF
111436 cat confdefs.h >>conftest.$ac_ext
111437 cat >>conftest.$ac_ext <<_ACEOF
111438 /* end confdefs.h. */
111439 $ac_includes_default
111440 #include <$ac_header>
111441 _ACEOF
111442 rm -f conftest.$ac_objext
111443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111444 (eval $ac_compile) 2>conftest.er1
111445 ac_status=$?
111446 grep -v '^ *+' conftest.er1 >conftest.err
111447 rm -f conftest.er1
111448 cat conftest.err >&5
111449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111450 (exit $ac_status); } &&
111451 { ac_try='test -z "$ac_c_werror_flag"
111452 || test ! -s conftest.err'
111453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111454 (eval $ac_try) 2>&5
111455 ac_status=$?
111456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111457 (exit $ac_status); }; } &&
111458 { ac_try='test -s conftest.$ac_objext'
111459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111460 (eval $ac_try) 2>&5
111461 ac_status=$?
111462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111463 (exit $ac_status); }; }; then
111464 ac_header_compiler=yes
111466 echo "$as_me: failed program was:" >&5
111467 sed 's/^/| /' conftest.$ac_ext >&5
111469 ac_header_compiler=no
111471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111472 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111473 echo "${ECHO_T}$ac_header_compiler" >&6
111475 # Is the header present?
111476 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111477 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111478 cat >conftest.$ac_ext <<_ACEOF
111479 /* confdefs.h. */
111480 _ACEOF
111481 cat confdefs.h >>conftest.$ac_ext
111482 cat >>conftest.$ac_ext <<_ACEOF
111483 /* end confdefs.h. */
111484 #include <$ac_header>
111485 _ACEOF
111486 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111487 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111488 ac_status=$?
111489 grep -v '^ *+' conftest.er1 >conftest.err
111490 rm -f conftest.er1
111491 cat conftest.err >&5
111492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111493 (exit $ac_status); } >/dev/null; then
111494 if test -s conftest.err; then
111495 ac_cpp_err=$ac_c_preproc_warn_flag
111496 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111498 ac_cpp_err=
111501 ac_cpp_err=yes
111503 if test -z "$ac_cpp_err"; then
111504 ac_header_preproc=yes
111506 echo "$as_me: failed program was:" >&5
111507 sed 's/^/| /' conftest.$ac_ext >&5
111509 ac_header_preproc=no
111511 rm -f conftest.err conftest.$ac_ext
111512 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111513 echo "${ECHO_T}$ac_header_preproc" >&6
111515 # So? What about this header?
111516 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111517 yes:no: )
111518 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111519 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111520 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111521 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111522 ac_header_preproc=yes
111524 no:yes:* )
111525 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111526 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111527 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111528 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111529 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111530 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111531 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111532 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111534 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111535 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111536 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111538 cat <<\_ASBOX
111539 ## ----------------------------------------- ##
111540 ## Report this to the package-unused lists. ##
111541 ## ----------------------------------------- ##
111542 _ASBOX
111544 sed "s/^/$as_me: WARNING: /" >&2
111547 echo "$as_me:$LINENO: checking for $ac_header" >&5
111548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111550 echo $ECHO_N "(cached) $ECHO_C" >&6
111552 eval "$as_ac_Header=\$ac_header_preproc"
111554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111555 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111558 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111559 cat >>confdefs.h <<_ACEOF
111560 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111561 _ACEOF
111567 SECTION_FLAGS='-ffunction-sections -fdata-sections'
111570 # If we're not using GNU ld, then there's no point in even trying these
111571 # tests. Check for that first. We should have already tested for gld
111572 # by now (in libtool), but require it now just to be safe...
111573 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111574 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111578 # The name set by libtool depends on the version of libtool. Shame on us
111579 # for depending on an impl detail, but c'est la vie. Older versions used
111580 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111581 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111582 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
111583 # set (hence we're using an older libtool), then set it.
111584 if test x${with_gnu_ld+set} != xset; then
111585 if test x${ac_cv_prog_gnu_ld+set} != xset; then
111586 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
111587 with_gnu_ld=no
111589 with_gnu_ld=$ac_cv_prog_gnu_ld
111593 # Start by getting the version number. I think the libtool test already
111594 # does some of this, but throws away the result.
111595 if test x"$with_gnu_ld" = x"yes"; then
111596 echo "$as_me:$LINENO: checking for ld version" >&5
111597 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
111599 ldver=`$LD --version 2>/dev/null | head -1 | \
111600 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
111602 glibcxx_gnu_ld_version=`echo $ldver | \
111603 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111604 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111605 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111608 # Set --gc-sections.
111609 glibcxx_gcsections_min_ld=21602
111610 if test x"$with_gnu_ld" = x"yes" &&
111611 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
111613 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
111614 # NB: This flag only works reliably after 2.16.1. Configure tests
111615 # for this are difficult, so hard wire a value that should work.
111617 ac_test_CFLAGS="${CFLAGS+set}"
111618 ac_save_CFLAGS="$CFLAGS"
111619 CFLAGS='-Wl,--gc-sections'
111621 # Check for -Wl,--gc-sections
111622 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
111623 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
111624 if test x$gcc_no_link = xyes; then
111625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111627 { (exit 1); exit 1; }; }
111629 cat >conftest.$ac_ext <<_ACEOF
111630 /* confdefs.h. */
111631 _ACEOF
111632 cat confdefs.h >>conftest.$ac_ext
111633 cat >>conftest.$ac_ext <<_ACEOF
111634 /* end confdefs.h. */
111635 int one(void) { return 1; }
111636 int two(void) { return 2; }
111639 main ()
111641 two();
111643 return 0;
111645 _ACEOF
111646 rm -f conftest.$ac_objext conftest$ac_exeext
111647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111648 (eval $ac_link) 2>conftest.er1
111649 ac_status=$?
111650 grep -v '^ *+' conftest.er1 >conftest.err
111651 rm -f conftest.er1
111652 cat conftest.err >&5
111653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111654 (exit $ac_status); } &&
111655 { ac_try='test -z "$ac_c_werror_flag"
111656 || test ! -s conftest.err'
111657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111658 (eval $ac_try) 2>&5
111659 ac_status=$?
111660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111661 (exit $ac_status); }; } &&
111662 { ac_try='test -s conftest$ac_exeext'
111663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111664 (eval $ac_try) 2>&5
111665 ac_status=$?
111666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111667 (exit $ac_status); }; }; then
111668 ac_gcsections=yes
111670 echo "$as_me: failed program was:" >&5
111671 sed 's/^/| /' conftest.$ac_ext >&5
111673 ac_gcsections=no
111675 rm -f conftest.err conftest.$ac_objext \
111676 conftest$ac_exeext conftest.$ac_ext
111677 if test "$ac_gcsections" = "yes"; then
111678 rm -f conftest.c
111679 touch conftest.c
111680 if $CC -c conftest.c; then
111681 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
111682 grep "Warning: gc-sections option ignored" > /dev/null; then
111683 ac_gcsections=no
111686 rm -f conftest.c conftest.o conftest
111688 if test "$ac_gcsections" = "yes"; then
111689 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
111691 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
111692 echo "${ECHO_T}$ac_gcsections" >&6
111694 if test "$ac_test_CFLAGS" = set; then
111695 CFLAGS="$ac_save_CFLAGS"
111697 # this is the suspicious part
111698 CFLAGS=''
111702 # Set -z,relro.
111703 # Note this is only for shared objects.
111704 ac_ld_relro=no
111705 if test x"$with_gnu_ld" = x"yes"; then
111706 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111707 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111708 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111709 if test -n "$cxx_z_relo"; then
111710 OPT_LDFLAGS="-Wl,-z,relro"
111711 ac_ld_relro=yes
111713 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111714 echo "${ECHO_T}$ac_ld_relro" >&6
111717 # Set linker optimization flags.
111718 if test x"$with_gnu_ld" = x"yes"; then
111719 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111727 echo "$as_me:$LINENO: checking for main in -lm" >&5
111728 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111729 if test "${ac_cv_lib_m_main+set}" = set; then
111730 echo $ECHO_N "(cached) $ECHO_C" >&6
111732 ac_check_lib_save_LIBS=$LIBS
111733 LIBS="-lm $LIBS"
111734 if test x$gcc_no_link = xyes; then
111735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111737 { (exit 1); exit 1; }; }
111739 cat >conftest.$ac_ext <<_ACEOF
111740 /* confdefs.h. */
111741 _ACEOF
111742 cat confdefs.h >>conftest.$ac_ext
111743 cat >>conftest.$ac_ext <<_ACEOF
111744 /* end confdefs.h. */
111748 main ()
111750 main ();
111752 return 0;
111754 _ACEOF
111755 rm -f conftest.$ac_objext conftest$ac_exeext
111756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111757 (eval $ac_link) 2>conftest.er1
111758 ac_status=$?
111759 grep -v '^ *+' conftest.er1 >conftest.err
111760 rm -f conftest.er1
111761 cat conftest.err >&5
111762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111763 (exit $ac_status); } &&
111764 { ac_try='test -z "$ac_c_werror_flag"
111765 || test ! -s conftest.err'
111766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111767 (eval $ac_try) 2>&5
111768 ac_status=$?
111769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111770 (exit $ac_status); }; } &&
111771 { ac_try='test -s conftest$ac_exeext'
111772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111773 (eval $ac_try) 2>&5
111774 ac_status=$?
111775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111776 (exit $ac_status); }; }; then
111777 ac_cv_lib_m_main=yes
111779 echo "$as_me: failed program was:" >&5
111780 sed 's/^/| /' conftest.$ac_ext >&5
111782 ac_cv_lib_m_main=no
111784 rm -f conftest.err conftest.$ac_objext \
111785 conftest$ac_exeext conftest.$ac_ext
111786 LIBS=$ac_check_lib_save_LIBS
111788 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111789 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111790 if test $ac_cv_lib_m_main = yes; then
111791 cat >>confdefs.h <<_ACEOF
111792 #define HAVE_LIBM 1
111793 _ACEOF
111795 LIBS="-lm $LIBS"
111800 for ac_func in copysignf
111802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111803 echo "$as_me:$LINENO: checking for $ac_func" >&5
111804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111805 if eval "test \"\${$as_ac_var+set}\" = set"; then
111806 echo $ECHO_N "(cached) $ECHO_C" >&6
111808 if test x$gcc_no_link = xyes; then
111809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111811 { (exit 1); exit 1; }; }
111813 cat >conftest.$ac_ext <<_ACEOF
111814 /* confdefs.h. */
111815 _ACEOF
111816 cat confdefs.h >>conftest.$ac_ext
111817 cat >>conftest.$ac_ext <<_ACEOF
111818 /* end confdefs.h. */
111819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111821 #define $ac_func innocuous_$ac_func
111823 /* System header to define __stub macros and hopefully few prototypes,
111824 which can conflict with char $ac_func (); below.
111825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111826 <limits.h> exists even on freestanding compilers. */
111828 #ifdef __STDC__
111829 # include <limits.h>
111830 #else
111831 # include <assert.h>
111832 #endif
111834 #undef $ac_func
111836 /* Override any gcc2 internal prototype to avoid an error. */
111837 #ifdef __cplusplus
111838 extern "C"
111840 #endif
111841 /* We use char because int might match the return type of a gcc2
111842 builtin and then its argument prototype would still apply. */
111843 char $ac_func ();
111844 /* The GNU C library defines this for functions which it implements
111845 to always fail with ENOSYS. Some functions are actually named
111846 something starting with __ and the normal name is an alias. */
111847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111848 choke me
111849 #else
111850 char (*f) () = $ac_func;
111851 #endif
111852 #ifdef __cplusplus
111854 #endif
111857 main ()
111859 return f != $ac_func;
111861 return 0;
111863 _ACEOF
111864 rm -f conftest.$ac_objext conftest$ac_exeext
111865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111866 (eval $ac_link) 2>conftest.er1
111867 ac_status=$?
111868 grep -v '^ *+' conftest.er1 >conftest.err
111869 rm -f conftest.er1
111870 cat conftest.err >&5
111871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111872 (exit $ac_status); } &&
111873 { ac_try='test -z "$ac_c_werror_flag"
111874 || test ! -s conftest.err'
111875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111876 (eval $ac_try) 2>&5
111877 ac_status=$?
111878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111879 (exit $ac_status); }; } &&
111880 { ac_try='test -s conftest$ac_exeext'
111881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111882 (eval $ac_try) 2>&5
111883 ac_status=$?
111884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111885 (exit $ac_status); }; }; then
111886 eval "$as_ac_var=yes"
111888 echo "$as_me: failed program was:" >&5
111889 sed 's/^/| /' conftest.$ac_ext >&5
111891 eval "$as_ac_var=no"
111893 rm -f conftest.err conftest.$ac_objext \
111894 conftest$ac_exeext conftest.$ac_ext
111896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111898 if test `eval echo '${'$as_ac_var'}'` = yes; then
111899 cat >>confdefs.h <<_ACEOF
111900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111901 _ACEOF
111904 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111910 for ac_func in __signbit
111912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111913 echo "$as_me:$LINENO: checking for $ac_func" >&5
111914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111915 if eval "test \"\${$as_ac_var+set}\" = set"; then
111916 echo $ECHO_N "(cached) $ECHO_C" >&6
111918 if test x$gcc_no_link = xyes; then
111919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111921 { (exit 1); exit 1; }; }
111923 cat >conftest.$ac_ext <<_ACEOF
111924 /* confdefs.h. */
111925 _ACEOF
111926 cat confdefs.h >>conftest.$ac_ext
111927 cat >>conftest.$ac_ext <<_ACEOF
111928 /* end confdefs.h. */
111929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111931 #define $ac_func innocuous_$ac_func
111933 /* System header to define __stub macros and hopefully few prototypes,
111934 which can conflict with char $ac_func (); below.
111935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111936 <limits.h> exists even on freestanding compilers. */
111938 #ifdef __STDC__
111939 # include <limits.h>
111940 #else
111941 # include <assert.h>
111942 #endif
111944 #undef $ac_func
111946 /* Override any gcc2 internal prototype to avoid an error. */
111947 #ifdef __cplusplus
111948 extern "C"
111950 #endif
111951 /* We use char because int might match the return type of a gcc2
111952 builtin and then its argument prototype would still apply. */
111953 char $ac_func ();
111954 /* The GNU C library defines this for functions which it implements
111955 to always fail with ENOSYS. Some functions are actually named
111956 something starting with __ and the normal name is an alias. */
111957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111958 choke me
111959 #else
111960 char (*f) () = $ac_func;
111961 #endif
111962 #ifdef __cplusplus
111964 #endif
111967 main ()
111969 return f != $ac_func;
111971 return 0;
111973 _ACEOF
111974 rm -f conftest.$ac_objext conftest$ac_exeext
111975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111976 (eval $ac_link) 2>conftest.er1
111977 ac_status=$?
111978 grep -v '^ *+' conftest.er1 >conftest.err
111979 rm -f conftest.er1
111980 cat conftest.err >&5
111981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111982 (exit $ac_status); } &&
111983 { ac_try='test -z "$ac_c_werror_flag"
111984 || test ! -s conftest.err'
111985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111986 (eval $ac_try) 2>&5
111987 ac_status=$?
111988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111989 (exit $ac_status); }; } &&
111990 { ac_try='test -s conftest$ac_exeext'
111991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111992 (eval $ac_try) 2>&5
111993 ac_status=$?
111994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111995 (exit $ac_status); }; }; then
111996 eval "$as_ac_var=yes"
111998 echo "$as_me: failed program was:" >&5
111999 sed 's/^/| /' conftest.$ac_ext >&5
112001 eval "$as_ac_var=no"
112003 rm -f conftest.err conftest.$ac_objext \
112004 conftest$ac_exeext conftest.$ac_ext
112006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112008 if test `eval echo '${'$as_ac_var'}'` = yes; then
112009 cat >>confdefs.h <<_ACEOF
112010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112011 _ACEOF
112014 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112020 for ac_func in __signbitf
112022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112023 echo "$as_me:$LINENO: checking for $ac_func" >&5
112024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112025 if eval "test \"\${$as_ac_var+set}\" = set"; then
112026 echo $ECHO_N "(cached) $ECHO_C" >&6
112028 if test x$gcc_no_link = xyes; then
112029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112031 { (exit 1); exit 1; }; }
112033 cat >conftest.$ac_ext <<_ACEOF
112034 /* confdefs.h. */
112035 _ACEOF
112036 cat confdefs.h >>conftest.$ac_ext
112037 cat >>conftest.$ac_ext <<_ACEOF
112038 /* end confdefs.h. */
112039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112041 #define $ac_func innocuous_$ac_func
112043 /* System header to define __stub macros and hopefully few prototypes,
112044 which can conflict with char $ac_func (); below.
112045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112046 <limits.h> exists even on freestanding compilers. */
112048 #ifdef __STDC__
112049 # include <limits.h>
112050 #else
112051 # include <assert.h>
112052 #endif
112054 #undef $ac_func
112056 /* Override any gcc2 internal prototype to avoid an error. */
112057 #ifdef __cplusplus
112058 extern "C"
112060 #endif
112061 /* We use char because int might match the return type of a gcc2
112062 builtin and then its argument prototype would still apply. */
112063 char $ac_func ();
112064 /* The GNU C library defines this for functions which it implements
112065 to always fail with ENOSYS. Some functions are actually named
112066 something starting with __ and the normal name is an alias. */
112067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112068 choke me
112069 #else
112070 char (*f) () = $ac_func;
112071 #endif
112072 #ifdef __cplusplus
112074 #endif
112077 main ()
112079 return f != $ac_func;
112081 return 0;
112083 _ACEOF
112084 rm -f conftest.$ac_objext conftest$ac_exeext
112085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112086 (eval $ac_link) 2>conftest.er1
112087 ac_status=$?
112088 grep -v '^ *+' conftest.er1 >conftest.err
112089 rm -f conftest.er1
112090 cat conftest.err >&5
112091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112092 (exit $ac_status); } &&
112093 { ac_try='test -z "$ac_c_werror_flag"
112094 || test ! -s conftest.err'
112095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112096 (eval $ac_try) 2>&5
112097 ac_status=$?
112098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112099 (exit $ac_status); }; } &&
112100 { ac_try='test -s conftest$ac_exeext'
112101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112102 (eval $ac_try) 2>&5
112103 ac_status=$?
112104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112105 (exit $ac_status); }; }; then
112106 eval "$as_ac_var=yes"
112108 echo "$as_me: failed program was:" >&5
112109 sed 's/^/| /' conftest.$ac_ext >&5
112111 eval "$as_ac_var=no"
112113 rm -f conftest.err conftest.$ac_objext \
112114 conftest$ac_exeext conftest.$ac_ext
112116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112118 if test `eval echo '${'$as_ac_var'}'` = yes; then
112119 cat >>confdefs.h <<_ACEOF
112120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112121 _ACEOF
112124 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112129 if test x$ac_cv_func_copysignl = x"yes"; then
112131 for ac_func in __signbitl
112133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112134 echo "$as_me:$LINENO: checking for $ac_func" >&5
112135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112136 if eval "test \"\${$as_ac_var+set}\" = set"; then
112137 echo $ECHO_N "(cached) $ECHO_C" >&6
112139 if test x$gcc_no_link = xyes; then
112140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112142 { (exit 1); exit 1; }; }
112144 cat >conftest.$ac_ext <<_ACEOF
112145 /* confdefs.h. */
112146 _ACEOF
112147 cat confdefs.h >>conftest.$ac_ext
112148 cat >>conftest.$ac_ext <<_ACEOF
112149 /* end confdefs.h. */
112150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112152 #define $ac_func innocuous_$ac_func
112154 /* System header to define __stub macros and hopefully few prototypes,
112155 which can conflict with char $ac_func (); below.
112156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112157 <limits.h> exists even on freestanding compilers. */
112159 #ifdef __STDC__
112160 # include <limits.h>
112161 #else
112162 # include <assert.h>
112163 #endif
112165 #undef $ac_func
112167 /* Override any gcc2 internal prototype to avoid an error. */
112168 #ifdef __cplusplus
112169 extern "C"
112171 #endif
112172 /* We use char because int might match the return type of a gcc2
112173 builtin and then its argument prototype would still apply. */
112174 char $ac_func ();
112175 /* The GNU C library defines this for functions which it implements
112176 to always fail with ENOSYS. Some functions are actually named
112177 something starting with __ and the normal name is an alias. */
112178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112179 choke me
112180 #else
112181 char (*f) () = $ac_func;
112182 #endif
112183 #ifdef __cplusplus
112185 #endif
112188 main ()
112190 return f != $ac_func;
112192 return 0;
112194 _ACEOF
112195 rm -f conftest.$ac_objext conftest$ac_exeext
112196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112197 (eval $ac_link) 2>conftest.er1
112198 ac_status=$?
112199 grep -v '^ *+' conftest.er1 >conftest.err
112200 rm -f conftest.er1
112201 cat conftest.err >&5
112202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112203 (exit $ac_status); } &&
112204 { ac_try='test -z "$ac_c_werror_flag"
112205 || test ! -s conftest.err'
112206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112207 (eval $ac_try) 2>&5
112208 ac_status=$?
112209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112210 (exit $ac_status); }; } &&
112211 { ac_try='test -s conftest$ac_exeext'
112212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112213 (eval $ac_try) 2>&5
112214 ac_status=$?
112215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112216 (exit $ac_status); }; }; then
112217 eval "$as_ac_var=yes"
112219 echo "$as_me: failed program was:" >&5
112220 sed 's/^/| /' conftest.$ac_ext >&5
112222 eval "$as_ac_var=no"
112224 rm -f conftest.err conftest.$ac_objext \
112225 conftest$ac_exeext conftest.$ac_ext
112227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112229 if test `eval echo '${'$as_ac_var'}'` = yes; then
112230 cat >>confdefs.h <<_ACEOF
112231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112232 _ACEOF
112235 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
112241 # Used in libmath/Makefile.am.
112242 if test -n "$LIBMATHOBJS"; then
112243 need_libmath=yes
112247 cat >>confdefs.h <<\_ACEOF
112248 #define HAVE_HYPOT 1
112249 _ACEOF
112251 cat >>confdefs.h <<\_ACEOF
112252 #define HAVE_ISINF 1
112253 _ACEOF
112255 cat >>confdefs.h <<\_ACEOF
112256 #define HAVE_ISNAN 1
112257 _ACEOF
112260 # For showmanyc_helper().
112263 for ac_header in sys/ioctl.h sys/filio.h
112265 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112266 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112267 echo "$as_me:$LINENO: checking for $ac_header" >&5
112268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112270 echo $ECHO_N "(cached) $ECHO_C" >&6
112272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112275 # Is the header compilable?
112276 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112277 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112278 cat >conftest.$ac_ext <<_ACEOF
112279 /* confdefs.h. */
112280 _ACEOF
112281 cat confdefs.h >>conftest.$ac_ext
112282 cat >>conftest.$ac_ext <<_ACEOF
112283 /* end confdefs.h. */
112284 $ac_includes_default
112285 #include <$ac_header>
112286 _ACEOF
112287 rm -f conftest.$ac_objext
112288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112289 (eval $ac_compile) 2>conftest.er1
112290 ac_status=$?
112291 grep -v '^ *+' conftest.er1 >conftest.err
112292 rm -f conftest.er1
112293 cat conftest.err >&5
112294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112295 (exit $ac_status); } &&
112296 { ac_try='test -z "$ac_c_werror_flag"
112297 || test ! -s conftest.err'
112298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112299 (eval $ac_try) 2>&5
112300 ac_status=$?
112301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112302 (exit $ac_status); }; } &&
112303 { ac_try='test -s conftest.$ac_objext'
112304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112305 (eval $ac_try) 2>&5
112306 ac_status=$?
112307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112308 (exit $ac_status); }; }; then
112309 ac_header_compiler=yes
112311 echo "$as_me: failed program was:" >&5
112312 sed 's/^/| /' conftest.$ac_ext >&5
112314 ac_header_compiler=no
112316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112317 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112318 echo "${ECHO_T}$ac_header_compiler" >&6
112320 # Is the header present?
112321 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112322 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112323 cat >conftest.$ac_ext <<_ACEOF
112324 /* confdefs.h. */
112325 _ACEOF
112326 cat confdefs.h >>conftest.$ac_ext
112327 cat >>conftest.$ac_ext <<_ACEOF
112328 /* end confdefs.h. */
112329 #include <$ac_header>
112330 _ACEOF
112331 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112332 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112333 ac_status=$?
112334 grep -v '^ *+' conftest.er1 >conftest.err
112335 rm -f conftest.er1
112336 cat conftest.err >&5
112337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112338 (exit $ac_status); } >/dev/null; then
112339 if test -s conftest.err; then
112340 ac_cpp_err=$ac_c_preproc_warn_flag
112341 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112343 ac_cpp_err=
112346 ac_cpp_err=yes
112348 if test -z "$ac_cpp_err"; then
112349 ac_header_preproc=yes
112351 echo "$as_me: failed program was:" >&5
112352 sed 's/^/| /' conftest.$ac_ext >&5
112354 ac_header_preproc=no
112356 rm -f conftest.err conftest.$ac_ext
112357 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112358 echo "${ECHO_T}$ac_header_preproc" >&6
112360 # So? What about this header?
112361 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112362 yes:no: )
112363 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112364 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112365 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112366 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112367 ac_header_preproc=yes
112369 no:yes:* )
112370 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112371 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112372 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
112373 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
112374 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112375 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112376 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
112377 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
112378 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112379 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112380 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112381 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112383 cat <<\_ASBOX
112384 ## ----------------------------------------- ##
112385 ## Report this to the package-unused lists. ##
112386 ## ----------------------------------------- ##
112387 _ASBOX
112389 sed "s/^/$as_me: WARNING: /" >&2
112392 echo "$as_me:$LINENO: checking for $ac_header" >&5
112393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112395 echo $ECHO_N "(cached) $ECHO_C" >&6
112397 eval "$as_ac_Header=\$ac_header_preproc"
112399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112403 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112404 cat >>confdefs.h <<_ACEOF
112405 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112406 _ACEOF
112413 echo "$as_me:$LINENO: checking for poll" >&5
112414 echo $ECHO_N "checking for poll... $ECHO_C" >&6
112415 if test "${glibcxx_cv_POLL+set}" = set; then
112416 echo $ECHO_N "(cached) $ECHO_C" >&6
112419 if test x$gcc_no_link = xyes; then
112420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112422 { (exit 1); exit 1; }; }
112424 cat >conftest.$ac_ext <<_ACEOF
112425 /* confdefs.h. */
112426 _ACEOF
112427 cat confdefs.h >>conftest.$ac_ext
112428 cat >>conftest.$ac_ext <<_ACEOF
112429 /* end confdefs.h. */
112430 #include <poll.h>
112432 main ()
112434 struct pollfd pfd[1];
112435 pfd[0].events = POLLIN;
112436 poll(pfd, 1, 0);
112438 return 0;
112440 _ACEOF
112441 rm -f conftest.$ac_objext conftest$ac_exeext
112442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112443 (eval $ac_link) 2>conftest.er1
112444 ac_status=$?
112445 grep -v '^ *+' conftest.er1 >conftest.err
112446 rm -f conftest.er1
112447 cat conftest.err >&5
112448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112449 (exit $ac_status); } &&
112450 { ac_try='test -z "$ac_c_werror_flag"
112451 || test ! -s conftest.err'
112452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112453 (eval $ac_try) 2>&5
112454 ac_status=$?
112455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112456 (exit $ac_status); }; } &&
112457 { ac_try='test -s conftest$ac_exeext'
112458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112459 (eval $ac_try) 2>&5
112460 ac_status=$?
112461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112462 (exit $ac_status); }; }; then
112463 glibcxx_cv_POLL=yes
112465 echo "$as_me: failed program was:" >&5
112466 sed 's/^/| /' conftest.$ac_ext >&5
112468 glibcxx_cv_POLL=no
112470 rm -f conftest.err conftest.$ac_objext \
112471 conftest$ac_exeext conftest.$ac_ext
112475 if test $glibcxx_cv_POLL = yes; then
112477 cat >>confdefs.h <<\_ACEOF
112478 #define HAVE_POLL 1
112479 _ACEOF
112482 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
112483 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
112486 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
112487 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
112488 if test "${glibcxx_cv_S_ISREG+set}" = set; then
112489 echo $ECHO_N "(cached) $ECHO_C" >&6
112492 if test x$gcc_no_link = xyes; then
112493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112495 { (exit 1); exit 1; }; }
112497 cat >conftest.$ac_ext <<_ACEOF
112498 /* confdefs.h. */
112499 _ACEOF
112500 cat confdefs.h >>conftest.$ac_ext
112501 cat >>conftest.$ac_ext <<_ACEOF
112502 /* end confdefs.h. */
112503 #include <sys/stat.h>
112505 main ()
112507 struct stat buffer;
112508 fstat(0, &buffer);
112509 S_ISREG(buffer.st_mode);
112511 return 0;
112513 _ACEOF
112514 rm -f conftest.$ac_objext conftest$ac_exeext
112515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112516 (eval $ac_link) 2>conftest.er1
112517 ac_status=$?
112518 grep -v '^ *+' conftest.er1 >conftest.err
112519 rm -f conftest.er1
112520 cat conftest.err >&5
112521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112522 (exit $ac_status); } &&
112523 { ac_try='test -z "$ac_c_werror_flag"
112524 || test ! -s conftest.err'
112525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112526 (eval $ac_try) 2>&5
112527 ac_status=$?
112528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112529 (exit $ac_status); }; } &&
112530 { ac_try='test -s conftest$ac_exeext'
112531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112532 (eval $ac_try) 2>&5
112533 ac_status=$?
112534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112535 (exit $ac_status); }; }; then
112536 glibcxx_cv_S_ISREG=yes
112538 echo "$as_me: failed program was:" >&5
112539 sed 's/^/| /' conftest.$ac_ext >&5
112541 glibcxx_cv_S_ISREG=no
112543 rm -f conftest.err conftest.$ac_objext \
112544 conftest$ac_exeext conftest.$ac_ext
112548 if test "${glibcxx_cv_S_IFREG+set}" = set; then
112549 echo $ECHO_N "(cached) $ECHO_C" >&6
112552 if test x$gcc_no_link = xyes; then
112553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112555 { (exit 1); exit 1; }; }
112557 cat >conftest.$ac_ext <<_ACEOF
112558 /* confdefs.h. */
112559 _ACEOF
112560 cat confdefs.h >>conftest.$ac_ext
112561 cat >>conftest.$ac_ext <<_ACEOF
112562 /* end confdefs.h. */
112563 #include <sys/stat.h>
112565 main ()
112567 struct stat buffer;
112568 fstat(0, &buffer);
112569 S_IFREG & buffer.st_mode;
112571 return 0;
112573 _ACEOF
112574 rm -f conftest.$ac_objext conftest$ac_exeext
112575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112576 (eval $ac_link) 2>conftest.er1
112577 ac_status=$?
112578 grep -v '^ *+' conftest.er1 >conftest.err
112579 rm -f conftest.er1
112580 cat conftest.err >&5
112581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112582 (exit $ac_status); } &&
112583 { ac_try='test -z "$ac_c_werror_flag"
112584 || test ! -s conftest.err'
112585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112586 (eval $ac_try) 2>&5
112587 ac_status=$?
112588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112589 (exit $ac_status); }; } &&
112590 { ac_try='test -s conftest$ac_exeext'
112591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112592 (eval $ac_try) 2>&5
112593 ac_status=$?
112594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112595 (exit $ac_status); }; }; then
112596 glibcxx_cv_S_IFREG=yes
112598 echo "$as_me: failed program was:" >&5
112599 sed 's/^/| /' conftest.$ac_ext >&5
112601 glibcxx_cv_S_IFREG=no
112603 rm -f conftest.err conftest.$ac_objext \
112604 conftest$ac_exeext conftest.$ac_ext
112608 res=no
112609 if test $glibcxx_cv_S_ISREG = yes; then
112611 cat >>confdefs.h <<\_ACEOF
112612 #define HAVE_S_ISREG 1
112613 _ACEOF
112615 res=S_ISREG
112616 elif test $glibcxx_cv_S_IFREG = yes; then
112618 cat >>confdefs.h <<\_ACEOF
112619 #define HAVE_S_IFREG 1
112620 _ACEOF
112622 res=S_IFREG
112624 echo "$as_me:$LINENO: result: $res" >&5
112625 echo "${ECHO_T}$res" >&6
112628 # For xsputn_2().
112630 for ac_header in sys/uio.h
112632 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112634 echo "$as_me:$LINENO: checking for $ac_header" >&5
112635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112637 echo $ECHO_N "(cached) $ECHO_C" >&6
112639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112642 # Is the header compilable?
112643 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112644 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112645 cat >conftest.$ac_ext <<_ACEOF
112646 /* confdefs.h. */
112647 _ACEOF
112648 cat confdefs.h >>conftest.$ac_ext
112649 cat >>conftest.$ac_ext <<_ACEOF
112650 /* end confdefs.h. */
112651 $ac_includes_default
112652 #include <$ac_header>
112653 _ACEOF
112654 rm -f conftest.$ac_objext
112655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112656 (eval $ac_compile) 2>conftest.er1
112657 ac_status=$?
112658 grep -v '^ *+' conftest.er1 >conftest.err
112659 rm -f conftest.er1
112660 cat conftest.err >&5
112661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112662 (exit $ac_status); } &&
112663 { ac_try='test -z "$ac_c_werror_flag"
112664 || test ! -s conftest.err'
112665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112666 (eval $ac_try) 2>&5
112667 ac_status=$?
112668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112669 (exit $ac_status); }; } &&
112670 { ac_try='test -s conftest.$ac_objext'
112671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112672 (eval $ac_try) 2>&5
112673 ac_status=$?
112674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112675 (exit $ac_status); }; }; then
112676 ac_header_compiler=yes
112678 echo "$as_me: failed program was:" >&5
112679 sed 's/^/| /' conftest.$ac_ext >&5
112681 ac_header_compiler=no
112683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112684 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112685 echo "${ECHO_T}$ac_header_compiler" >&6
112687 # Is the header present?
112688 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112689 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112690 cat >conftest.$ac_ext <<_ACEOF
112691 /* confdefs.h. */
112692 _ACEOF
112693 cat confdefs.h >>conftest.$ac_ext
112694 cat >>conftest.$ac_ext <<_ACEOF
112695 /* end confdefs.h. */
112696 #include <$ac_header>
112697 _ACEOF
112698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112699 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112700 ac_status=$?
112701 grep -v '^ *+' conftest.er1 >conftest.err
112702 rm -f conftest.er1
112703 cat conftest.err >&5
112704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112705 (exit $ac_status); } >/dev/null; then
112706 if test -s conftest.err; then
112707 ac_cpp_err=$ac_c_preproc_warn_flag
112708 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112710 ac_cpp_err=
112713 ac_cpp_err=yes
112715 if test -z "$ac_cpp_err"; then
112716 ac_header_preproc=yes
112718 echo "$as_me: failed program was:" >&5
112719 sed 's/^/| /' conftest.$ac_ext >&5
112721 ac_header_preproc=no
112723 rm -f conftest.err conftest.$ac_ext
112724 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112725 echo "${ECHO_T}$ac_header_preproc" >&6
112727 # So? What about this header?
112728 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112729 yes:no: )
112730 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112731 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112733 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112734 ac_header_preproc=yes
112736 no:yes:* )
112737 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112738 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112739 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
112740 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
112741 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112742 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112743 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
112744 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
112745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112746 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112747 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112748 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112750 cat <<\_ASBOX
112751 ## ----------------------------------------- ##
112752 ## Report this to the package-unused lists. ##
112753 ## ----------------------------------------- ##
112754 _ASBOX
112756 sed "s/^/$as_me: WARNING: /" >&2
112759 echo "$as_me:$LINENO: checking for $ac_header" >&5
112760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112762 echo $ECHO_N "(cached) $ECHO_C" >&6
112764 eval "$as_ac_Header=\$ac_header_preproc"
112766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112771 cat >>confdefs.h <<_ACEOF
112772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112773 _ACEOF
112780 echo "$as_me:$LINENO: checking for writev" >&5
112781 echo $ECHO_N "checking for writev... $ECHO_C" >&6
112782 if test "${glibcxx_cv_WRITEV+set}" = set; then
112783 echo $ECHO_N "(cached) $ECHO_C" >&6
112786 if test x$gcc_no_link = xyes; then
112787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112789 { (exit 1); exit 1; }; }
112791 cat >conftest.$ac_ext <<_ACEOF
112792 /* confdefs.h. */
112793 _ACEOF
112794 cat confdefs.h >>conftest.$ac_ext
112795 cat >>conftest.$ac_ext <<_ACEOF
112796 /* end confdefs.h. */
112797 #include <sys/uio.h>
112799 main ()
112801 struct iovec iov[2];
112802 writev(0, iov, 0);
112804 return 0;
112806 _ACEOF
112807 rm -f conftest.$ac_objext conftest$ac_exeext
112808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112809 (eval $ac_link) 2>conftest.er1
112810 ac_status=$?
112811 grep -v '^ *+' conftest.er1 >conftest.err
112812 rm -f conftest.er1
112813 cat conftest.err >&5
112814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112815 (exit $ac_status); } &&
112816 { ac_try='test -z "$ac_c_werror_flag"
112817 || test ! -s conftest.err'
112818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112819 (eval $ac_try) 2>&5
112820 ac_status=$?
112821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112822 (exit $ac_status); }; } &&
112823 { ac_try='test -s conftest$ac_exeext'
112824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112825 (eval $ac_try) 2>&5
112826 ac_status=$?
112827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112828 (exit $ac_status); }; }; then
112829 glibcxx_cv_WRITEV=yes
112831 echo "$as_me: failed program was:" >&5
112832 sed 's/^/| /' conftest.$ac_ext >&5
112834 glibcxx_cv_WRITEV=no
112836 rm -f conftest.err conftest.$ac_objext \
112837 conftest$ac_exeext conftest.$ac_ext
112841 if test $glibcxx_cv_WRITEV = yes; then
112843 cat >>confdefs.h <<\_ACEOF
112844 #define HAVE_WRITEV 1
112845 _ACEOF
112848 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
112849 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
112852 *-qnx6.1* | *-qnx6.2*)
112853 SECTION_FLAGS='-ffunction-sections -fdata-sections'
112856 # If we're not using GNU ld, then there's no point in even trying these
112857 # tests. Check for that first. We should have already tested for gld
112858 # by now (in libtool), but require it now just to be safe...
112859 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112860 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112864 # The name set by libtool depends on the version of libtool. Shame on us
112865 # for depending on an impl detail, but c'est la vie. Older versions used
112866 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112867 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112868 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112869 # set (hence we're using an older libtool), then set it.
112870 if test x${with_gnu_ld+set} != xset; then
112871 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112872 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112873 with_gnu_ld=no
112875 with_gnu_ld=$ac_cv_prog_gnu_ld
112879 # Start by getting the version number. I think the libtool test already
112880 # does some of this, but throws away the result.
112881 if test x"$with_gnu_ld" = x"yes"; then
112882 echo "$as_me:$LINENO: checking for ld version" >&5
112883 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112885 ldver=`$LD --version 2>/dev/null | head -1 | \
112886 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
112888 glibcxx_gnu_ld_version=`echo $ldver | \
112889 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112890 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112891 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112894 # Set --gc-sections.
112895 glibcxx_gcsections_min_ld=21602
112896 if test x"$with_gnu_ld" = x"yes" &&
112897 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112899 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112900 # NB: This flag only works reliably after 2.16.1. Configure tests
112901 # for this are difficult, so hard wire a value that should work.
112903 ac_test_CFLAGS="${CFLAGS+set}"
112904 ac_save_CFLAGS="$CFLAGS"
112905 CFLAGS='-Wl,--gc-sections'
112907 # Check for -Wl,--gc-sections
112908 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112909 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112910 if test x$gcc_no_link = xyes; then
112911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112913 { (exit 1); exit 1; }; }
112915 cat >conftest.$ac_ext <<_ACEOF
112916 /* confdefs.h. */
112917 _ACEOF
112918 cat confdefs.h >>conftest.$ac_ext
112919 cat >>conftest.$ac_ext <<_ACEOF
112920 /* end confdefs.h. */
112921 int one(void) { return 1; }
112922 int two(void) { return 2; }
112925 main ()
112927 two();
112929 return 0;
112931 _ACEOF
112932 rm -f conftest.$ac_objext conftest$ac_exeext
112933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112934 (eval $ac_link) 2>conftest.er1
112935 ac_status=$?
112936 grep -v '^ *+' conftest.er1 >conftest.err
112937 rm -f conftest.er1
112938 cat conftest.err >&5
112939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112940 (exit $ac_status); } &&
112941 { ac_try='test -z "$ac_c_werror_flag"
112942 || test ! -s conftest.err'
112943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112944 (eval $ac_try) 2>&5
112945 ac_status=$?
112946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112947 (exit $ac_status); }; } &&
112948 { ac_try='test -s conftest$ac_exeext'
112949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112950 (eval $ac_try) 2>&5
112951 ac_status=$?
112952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112953 (exit $ac_status); }; }; then
112954 ac_gcsections=yes
112956 echo "$as_me: failed program was:" >&5
112957 sed 's/^/| /' conftest.$ac_ext >&5
112959 ac_gcsections=no
112961 rm -f conftest.err conftest.$ac_objext \
112962 conftest$ac_exeext conftest.$ac_ext
112963 if test "$ac_gcsections" = "yes"; then
112964 rm -f conftest.c
112965 touch conftest.c
112966 if $CC -c conftest.c; then
112967 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112968 grep "Warning: gc-sections option ignored" > /dev/null; then
112969 ac_gcsections=no
112972 rm -f conftest.c conftest.o conftest
112974 if test "$ac_gcsections" = "yes"; then
112975 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112977 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112978 echo "${ECHO_T}$ac_gcsections" >&6
112980 if test "$ac_test_CFLAGS" = set; then
112981 CFLAGS="$ac_save_CFLAGS"
112983 # this is the suspicious part
112984 CFLAGS=''
112988 # Set -z,relro.
112989 # Note this is only for shared objects.
112990 ac_ld_relro=no
112991 if test x"$with_gnu_ld" = x"yes"; then
112992 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112993 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112994 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112995 if test -n "$cxx_z_relo"; then
112996 OPT_LDFLAGS="-Wl,-z,relro"
112997 ac_ld_relro=yes
112999 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113000 echo "${ECHO_T}$ac_ld_relro" >&6
113003 # Set linker optimization flags.
113004 if test x"$with_gnu_ld" = x"yes"; then
113005 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113013 echo "$as_me:$LINENO: checking for main in -lm" >&5
113014 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
113015 if test "${ac_cv_lib_m_main+set}" = set; then
113016 echo $ECHO_N "(cached) $ECHO_C" >&6
113018 ac_check_lib_save_LIBS=$LIBS
113019 LIBS="-lm $LIBS"
113020 if test x$gcc_no_link = xyes; then
113021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113023 { (exit 1); exit 1; }; }
113025 cat >conftest.$ac_ext <<_ACEOF
113026 /* confdefs.h. */
113027 _ACEOF
113028 cat confdefs.h >>conftest.$ac_ext
113029 cat >>conftest.$ac_ext <<_ACEOF
113030 /* end confdefs.h. */
113034 main ()
113036 main ();
113038 return 0;
113040 _ACEOF
113041 rm -f conftest.$ac_objext conftest$ac_exeext
113042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113043 (eval $ac_link) 2>conftest.er1
113044 ac_status=$?
113045 grep -v '^ *+' conftest.er1 >conftest.err
113046 rm -f conftest.er1
113047 cat conftest.err >&5
113048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113049 (exit $ac_status); } &&
113050 { ac_try='test -z "$ac_c_werror_flag"
113051 || test ! -s conftest.err'
113052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113053 (eval $ac_try) 2>&5
113054 ac_status=$?
113055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113056 (exit $ac_status); }; } &&
113057 { ac_try='test -s conftest$ac_exeext'
113058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113059 (eval $ac_try) 2>&5
113060 ac_status=$?
113061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113062 (exit $ac_status); }; }; then
113063 ac_cv_lib_m_main=yes
113065 echo "$as_me: failed program was:" >&5
113066 sed 's/^/| /' conftest.$ac_ext >&5
113068 ac_cv_lib_m_main=no
113070 rm -f conftest.err conftest.$ac_objext \
113071 conftest$ac_exeext conftest.$ac_ext
113072 LIBS=$ac_check_lib_save_LIBS
113074 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
113075 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
113076 if test $ac_cv_lib_m_main = yes; then
113077 cat >>confdefs.h <<_ACEOF
113078 #define HAVE_LIBM 1
113079 _ACEOF
113081 LIBS="-lm $LIBS"
113086 for ac_func in copysignf
113088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113089 echo "$as_me:$LINENO: checking for $ac_func" >&5
113090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113091 if eval "test \"\${$as_ac_var+set}\" = set"; then
113092 echo $ECHO_N "(cached) $ECHO_C" >&6
113094 if test x$gcc_no_link = xyes; then
113095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113097 { (exit 1); exit 1; }; }
113099 cat >conftest.$ac_ext <<_ACEOF
113100 /* confdefs.h. */
113101 _ACEOF
113102 cat confdefs.h >>conftest.$ac_ext
113103 cat >>conftest.$ac_ext <<_ACEOF
113104 /* end confdefs.h. */
113105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113107 #define $ac_func innocuous_$ac_func
113109 /* System header to define __stub macros and hopefully few prototypes,
113110 which can conflict with char $ac_func (); below.
113111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113112 <limits.h> exists even on freestanding compilers. */
113114 #ifdef __STDC__
113115 # include <limits.h>
113116 #else
113117 # include <assert.h>
113118 #endif
113120 #undef $ac_func
113122 /* Override any gcc2 internal prototype to avoid an error. */
113123 #ifdef __cplusplus
113124 extern "C"
113126 #endif
113127 /* We use char because int might match the return type of a gcc2
113128 builtin and then its argument prototype would still apply. */
113129 char $ac_func ();
113130 /* The GNU C library defines this for functions which it implements
113131 to always fail with ENOSYS. Some functions are actually named
113132 something starting with __ and the normal name is an alias. */
113133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113134 choke me
113135 #else
113136 char (*f) () = $ac_func;
113137 #endif
113138 #ifdef __cplusplus
113140 #endif
113143 main ()
113145 return f != $ac_func;
113147 return 0;
113149 _ACEOF
113150 rm -f conftest.$ac_objext conftest$ac_exeext
113151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113152 (eval $ac_link) 2>conftest.er1
113153 ac_status=$?
113154 grep -v '^ *+' conftest.er1 >conftest.err
113155 rm -f conftest.er1
113156 cat conftest.err >&5
113157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113158 (exit $ac_status); } &&
113159 { ac_try='test -z "$ac_c_werror_flag"
113160 || test ! -s conftest.err'
113161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113162 (eval $ac_try) 2>&5
113163 ac_status=$?
113164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113165 (exit $ac_status); }; } &&
113166 { ac_try='test -s conftest$ac_exeext'
113167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113168 (eval $ac_try) 2>&5
113169 ac_status=$?
113170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113171 (exit $ac_status); }; }; then
113172 eval "$as_ac_var=yes"
113174 echo "$as_me: failed program was:" >&5
113175 sed 's/^/| /' conftest.$ac_ext >&5
113177 eval "$as_ac_var=no"
113179 rm -f conftest.err conftest.$ac_objext \
113180 conftest$ac_exeext conftest.$ac_ext
113182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113184 if test `eval echo '${'$as_ac_var'}'` = yes; then
113185 cat >>confdefs.h <<_ACEOF
113186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113187 _ACEOF
113190 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
113196 for ac_func in __signbit
113198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113199 echo "$as_me:$LINENO: checking for $ac_func" >&5
113200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113201 if eval "test \"\${$as_ac_var+set}\" = set"; then
113202 echo $ECHO_N "(cached) $ECHO_C" >&6
113204 if test x$gcc_no_link = xyes; then
113205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113207 { (exit 1); exit 1; }; }
113209 cat >conftest.$ac_ext <<_ACEOF
113210 /* confdefs.h. */
113211 _ACEOF
113212 cat confdefs.h >>conftest.$ac_ext
113213 cat >>conftest.$ac_ext <<_ACEOF
113214 /* end confdefs.h. */
113215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113217 #define $ac_func innocuous_$ac_func
113219 /* System header to define __stub macros and hopefully few prototypes,
113220 which can conflict with char $ac_func (); below.
113221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113222 <limits.h> exists even on freestanding compilers. */
113224 #ifdef __STDC__
113225 # include <limits.h>
113226 #else
113227 # include <assert.h>
113228 #endif
113230 #undef $ac_func
113232 /* Override any gcc2 internal prototype to avoid an error. */
113233 #ifdef __cplusplus
113234 extern "C"
113236 #endif
113237 /* We use char because int might match the return type of a gcc2
113238 builtin and then its argument prototype would still apply. */
113239 char $ac_func ();
113240 /* The GNU C library defines this for functions which it implements
113241 to always fail with ENOSYS. Some functions are actually named
113242 something starting with __ and the normal name is an alias. */
113243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113244 choke me
113245 #else
113246 char (*f) () = $ac_func;
113247 #endif
113248 #ifdef __cplusplus
113250 #endif
113253 main ()
113255 return f != $ac_func;
113257 return 0;
113259 _ACEOF
113260 rm -f conftest.$ac_objext conftest$ac_exeext
113261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113262 (eval $ac_link) 2>conftest.er1
113263 ac_status=$?
113264 grep -v '^ *+' conftest.er1 >conftest.err
113265 rm -f conftest.er1
113266 cat conftest.err >&5
113267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113268 (exit $ac_status); } &&
113269 { ac_try='test -z "$ac_c_werror_flag"
113270 || test ! -s conftest.err'
113271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113272 (eval $ac_try) 2>&5
113273 ac_status=$?
113274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113275 (exit $ac_status); }; } &&
113276 { ac_try='test -s conftest$ac_exeext'
113277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113278 (eval $ac_try) 2>&5
113279 ac_status=$?
113280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113281 (exit $ac_status); }; }; then
113282 eval "$as_ac_var=yes"
113284 echo "$as_me: failed program was:" >&5
113285 sed 's/^/| /' conftest.$ac_ext >&5
113287 eval "$as_ac_var=no"
113289 rm -f conftest.err conftest.$ac_objext \
113290 conftest$ac_exeext conftest.$ac_ext
113292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113294 if test `eval echo '${'$as_ac_var'}'` = yes; then
113295 cat >>confdefs.h <<_ACEOF
113296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113297 _ACEOF
113300 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
113306 for ac_func in __signbitf
113308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113309 echo "$as_me:$LINENO: checking for $ac_func" >&5
113310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113311 if eval "test \"\${$as_ac_var+set}\" = set"; then
113312 echo $ECHO_N "(cached) $ECHO_C" >&6
113314 if test x$gcc_no_link = xyes; then
113315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113317 { (exit 1); exit 1; }; }
113319 cat >conftest.$ac_ext <<_ACEOF
113320 /* confdefs.h. */
113321 _ACEOF
113322 cat confdefs.h >>conftest.$ac_ext
113323 cat >>conftest.$ac_ext <<_ACEOF
113324 /* end confdefs.h. */
113325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113327 #define $ac_func innocuous_$ac_func
113329 /* System header to define __stub macros and hopefully few prototypes,
113330 which can conflict with char $ac_func (); below.
113331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113332 <limits.h> exists even on freestanding compilers. */
113334 #ifdef __STDC__
113335 # include <limits.h>
113336 #else
113337 # include <assert.h>
113338 #endif
113340 #undef $ac_func
113342 /* Override any gcc2 internal prototype to avoid an error. */
113343 #ifdef __cplusplus
113344 extern "C"
113346 #endif
113347 /* We use char because int might match the return type of a gcc2
113348 builtin and then its argument prototype would still apply. */
113349 char $ac_func ();
113350 /* The GNU C library defines this for functions which it implements
113351 to always fail with ENOSYS. Some functions are actually named
113352 something starting with __ and the normal name is an alias. */
113353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113354 choke me
113355 #else
113356 char (*f) () = $ac_func;
113357 #endif
113358 #ifdef __cplusplus
113360 #endif
113363 main ()
113365 return f != $ac_func;
113367 return 0;
113369 _ACEOF
113370 rm -f conftest.$ac_objext conftest$ac_exeext
113371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113372 (eval $ac_link) 2>conftest.er1
113373 ac_status=$?
113374 grep -v '^ *+' conftest.er1 >conftest.err
113375 rm -f conftest.er1
113376 cat conftest.err >&5
113377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113378 (exit $ac_status); } &&
113379 { ac_try='test -z "$ac_c_werror_flag"
113380 || test ! -s conftest.err'
113381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113382 (eval $ac_try) 2>&5
113383 ac_status=$?
113384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113385 (exit $ac_status); }; } &&
113386 { ac_try='test -s conftest$ac_exeext'
113387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113388 (eval $ac_try) 2>&5
113389 ac_status=$?
113390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113391 (exit $ac_status); }; }; then
113392 eval "$as_ac_var=yes"
113394 echo "$as_me: failed program was:" >&5
113395 sed 's/^/| /' conftest.$ac_ext >&5
113397 eval "$as_ac_var=no"
113399 rm -f conftest.err conftest.$ac_objext \
113400 conftest$ac_exeext conftest.$ac_ext
113402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113404 if test `eval echo '${'$as_ac_var'}'` = yes; then
113405 cat >>confdefs.h <<_ACEOF
113406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113407 _ACEOF
113410 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113415 if test x$ac_cv_func_copysignl = x"yes"; then
113417 for ac_func in __signbitl
113419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113420 echo "$as_me:$LINENO: checking for $ac_func" >&5
113421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113422 if eval "test \"\${$as_ac_var+set}\" = set"; then
113423 echo $ECHO_N "(cached) $ECHO_C" >&6
113425 if test x$gcc_no_link = xyes; then
113426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113428 { (exit 1); exit 1; }; }
113430 cat >conftest.$ac_ext <<_ACEOF
113431 /* confdefs.h. */
113432 _ACEOF
113433 cat confdefs.h >>conftest.$ac_ext
113434 cat >>conftest.$ac_ext <<_ACEOF
113435 /* end confdefs.h. */
113436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113438 #define $ac_func innocuous_$ac_func
113440 /* System header to define __stub macros and hopefully few prototypes,
113441 which can conflict with char $ac_func (); below.
113442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113443 <limits.h> exists even on freestanding compilers. */
113445 #ifdef __STDC__
113446 # include <limits.h>
113447 #else
113448 # include <assert.h>
113449 #endif
113451 #undef $ac_func
113453 /* Override any gcc2 internal prototype to avoid an error. */
113454 #ifdef __cplusplus
113455 extern "C"
113457 #endif
113458 /* We use char because int might match the return type of a gcc2
113459 builtin and then its argument prototype would still apply. */
113460 char $ac_func ();
113461 /* The GNU C library defines this for functions which it implements
113462 to always fail with ENOSYS. Some functions are actually named
113463 something starting with __ and the normal name is an alias. */
113464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113465 choke me
113466 #else
113467 char (*f) () = $ac_func;
113468 #endif
113469 #ifdef __cplusplus
113471 #endif
113474 main ()
113476 return f != $ac_func;
113478 return 0;
113480 _ACEOF
113481 rm -f conftest.$ac_objext conftest$ac_exeext
113482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113483 (eval $ac_link) 2>conftest.er1
113484 ac_status=$?
113485 grep -v '^ *+' conftest.er1 >conftest.err
113486 rm -f conftest.er1
113487 cat conftest.err >&5
113488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113489 (exit $ac_status); } &&
113490 { ac_try='test -z "$ac_c_werror_flag"
113491 || test ! -s conftest.err'
113492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113493 (eval $ac_try) 2>&5
113494 ac_status=$?
113495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113496 (exit $ac_status); }; } &&
113497 { ac_try='test -s conftest$ac_exeext'
113498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113499 (eval $ac_try) 2>&5
113500 ac_status=$?
113501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113502 (exit $ac_status); }; }; then
113503 eval "$as_ac_var=yes"
113505 echo "$as_me: failed program was:" >&5
113506 sed 's/^/| /' conftest.$ac_ext >&5
113508 eval "$as_ac_var=no"
113510 rm -f conftest.err conftest.$ac_objext \
113511 conftest$ac_exeext conftest.$ac_ext
113513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113515 if test `eval echo '${'$as_ac_var'}'` = yes; then
113516 cat >>confdefs.h <<_ACEOF
113517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113518 _ACEOF
113521 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113527 # Used in libmath/Makefile.am.
113528 if test -n "$LIBMATHOBJS"; then
113529 need_libmath=yes
113533 cat >>confdefs.h <<\_ACEOF
113534 #define HAVE_COSF 1
113535 _ACEOF
113537 cat >>confdefs.h <<\_ACEOF
113538 #define HAVE_COSL 1
113539 _ACEOF
113541 cat >>confdefs.h <<\_ACEOF
113542 #define HAVE_COSHF 1
113543 _ACEOF
113545 cat >>confdefs.h <<\_ACEOF
113546 #define HAVE_COSHL 1
113547 _ACEOF
113549 cat >>confdefs.h <<\_ACEOF
113550 #define HAVE_LOGF 1
113551 _ACEOF
113553 cat >>confdefs.h <<\_ACEOF
113554 #define HAVE_LOGL 1
113555 _ACEOF
113557 cat >>confdefs.h <<\_ACEOF
113558 #define HAVE_LOG10F 1
113559 _ACEOF
113561 cat >>confdefs.h <<\_ACEOF
113562 #define HAVE_LOG10L 1
113563 _ACEOF
113565 cat >>confdefs.h <<\_ACEOF
113566 #define HAVE_SINF 1
113567 _ACEOF
113569 cat >>confdefs.h <<\_ACEOF
113570 #define HAVE_SINL 1
113571 _ACEOF
113573 cat >>confdefs.h <<\_ACEOF
113574 #define HAVE_SINHF 1
113575 _ACEOF
113577 cat >>confdefs.h <<\_ACEOF
113578 #define HAVE_SINHL 1
113579 _ACEOF
113582 *-solaris*)
113583 case "$target" in
113584 # *-solaris2.5)
113585 # os_include_dir="os/solaris/solaris2.5"
113587 # *-solaris2.6)
113588 # os_include_dir="os/solaris/solaris2.6"
113590 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
113592 # If we're not using GNU ld, then there's no point in even trying these
113593 # tests. Check for that first. We should have already tested for gld
113594 # by now (in libtool), but require it now just to be safe...
113595 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113596 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113600 # The name set by libtool depends on the version of libtool. Shame on us
113601 # for depending on an impl detail, but c'est la vie. Older versions used
113602 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113603 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113604 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
113605 # set (hence we're using an older libtool), then set it.
113606 if test x${with_gnu_ld+set} != xset; then
113607 if test x${ac_cv_prog_gnu_ld+set} != xset; then
113608 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
113609 with_gnu_ld=no
113611 with_gnu_ld=$ac_cv_prog_gnu_ld
113615 # Start by getting the version number. I think the libtool test already
113616 # does some of this, but throws away the result.
113617 if test x"$with_gnu_ld" = x"yes"; then
113618 echo "$as_me:$LINENO: checking for ld version" >&5
113619 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113621 ldver=`$LD --version 2>/dev/null | head -1 | \
113622 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
113624 glibcxx_gnu_ld_version=`echo $ldver | \
113625 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113626 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113627 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113630 # Set --gc-sections.
113631 glibcxx_gcsections_min_ld=21602
113632 if test x"$with_gnu_ld" = x"yes" &&
113633 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113635 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
113636 # NB: This flag only works reliably after 2.16.1. Configure tests
113637 # for this are difficult, so hard wire a value that should work.
113639 ac_test_CFLAGS="${CFLAGS+set}"
113640 ac_save_CFLAGS="$CFLAGS"
113641 CFLAGS='-Wl,--gc-sections'
113643 # Check for -Wl,--gc-sections
113644 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113645 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113646 if test x$gcc_no_link = xyes; then
113647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113649 { (exit 1); exit 1; }; }
113651 cat >conftest.$ac_ext <<_ACEOF
113652 /* confdefs.h. */
113653 _ACEOF
113654 cat confdefs.h >>conftest.$ac_ext
113655 cat >>conftest.$ac_ext <<_ACEOF
113656 /* end confdefs.h. */
113657 int one(void) { return 1; }
113658 int two(void) { return 2; }
113661 main ()
113663 two();
113665 return 0;
113667 _ACEOF
113668 rm -f conftest.$ac_objext conftest$ac_exeext
113669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113670 (eval $ac_link) 2>conftest.er1
113671 ac_status=$?
113672 grep -v '^ *+' conftest.er1 >conftest.err
113673 rm -f conftest.er1
113674 cat conftest.err >&5
113675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113676 (exit $ac_status); } &&
113677 { ac_try='test -z "$ac_c_werror_flag"
113678 || test ! -s conftest.err'
113679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113680 (eval $ac_try) 2>&5
113681 ac_status=$?
113682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113683 (exit $ac_status); }; } &&
113684 { ac_try='test -s conftest$ac_exeext'
113685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113686 (eval $ac_try) 2>&5
113687 ac_status=$?
113688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113689 (exit $ac_status); }; }; then
113690 ac_gcsections=yes
113692 echo "$as_me: failed program was:" >&5
113693 sed 's/^/| /' conftest.$ac_ext >&5
113695 ac_gcsections=no
113697 rm -f conftest.err conftest.$ac_objext \
113698 conftest$ac_exeext conftest.$ac_ext
113699 if test "$ac_gcsections" = "yes"; then
113700 rm -f conftest.c
113701 touch conftest.c
113702 if $CC -c conftest.c; then
113703 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113704 grep "Warning: gc-sections option ignored" > /dev/null; then
113705 ac_gcsections=no
113708 rm -f conftest.c conftest.o conftest
113710 if test "$ac_gcsections" = "yes"; then
113711 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113713 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113714 echo "${ECHO_T}$ac_gcsections" >&6
113716 if test "$ac_test_CFLAGS" = set; then
113717 CFLAGS="$ac_save_CFLAGS"
113719 # this is the suspicious part
113720 CFLAGS=''
113724 # Set -z,relro.
113725 # Note this is only for shared objects.
113726 ac_ld_relro=no
113727 if test x"$with_gnu_ld" = x"yes"; then
113728 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113729 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113730 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113731 if test -n "$cxx_z_relo"; then
113732 OPT_LDFLAGS="-Wl,-z,relro"
113733 ac_ld_relro=yes
113735 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113736 echo "${ECHO_T}$ac_ld_relro" >&6
113739 # Set linker optimization flags.
113740 if test x"$with_gnu_ld" = x"yes"; then
113741 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113747 cat >>confdefs.h <<\_ACEOF
113748 #define HAVE_GETPAGESIZE 1
113749 _ACEOF
113751 cat >>confdefs.h <<\_ACEOF
113752 #define HAVE_SIGSETJMP 1
113753 _ACEOF
113755 cat >>confdefs.h <<\_ACEOF
113756 #define HAVE_MBSTATE_T 1
113757 _ACEOF
113759 cat >>confdefs.h <<\_ACEOF
113760 #define HAVE_POLL 1
113761 _ACEOF
113763 cat >>confdefs.h <<\_ACEOF
113764 #define HAVE_S_ISREG 1
113765 _ACEOF
113767 cat >>confdefs.h <<\_ACEOF
113768 #define HAVE_LC_MESSAGES 1
113769 _ACEOF
113771 cat >>confdefs.h <<\_ACEOF
113772 #define HAVE_FINITE 1
113773 _ACEOF
113775 cat >>confdefs.h <<\_ACEOF
113776 #define HAVE_FPCLASS 1
113777 _ACEOF
113779 cat >>confdefs.h <<\_ACEOF
113780 #define HAVE_GETPAGESIZE 1
113781 _ACEOF
113783 # All of the dependencies for wide character support are here, so
113784 # turn it on.
113785 cat >>confdefs.h <<\_ACEOF
113786 #define _GLIBCXX_USE_WCHAR_T 1
113787 _ACEOF
113789 # Are these tested for even when cross?
113790 cat >>confdefs.h <<\_ACEOF
113791 #define HAVE_FLOAT_H 1
113792 _ACEOF
113794 cat >>confdefs.h <<\_ACEOF
113795 #define HAVE_IEEEFP_H 1
113796 _ACEOF
113798 cat >>confdefs.h <<\_ACEOF
113799 #define HAVE_INTTYPES_H 1
113800 _ACEOF
113802 cat >>confdefs.h <<\_ACEOF
113803 #define HAVE_LOCALE_H 1
113804 _ACEOF
113806 cat >>confdefs.h <<\_ACEOF
113807 #define HAVE_NAN_H 1
113808 _ACEOF
113810 cat >>confdefs.h <<\_ACEOF
113811 #define HAVE_SYS_FILIO_H 1
113812 _ACEOF
113814 cat >>confdefs.h <<\_ACEOF
113815 #define HAVE_SYS_IOCTL_H 1
113816 _ACEOF
113818 cat >>confdefs.h <<\_ACEOF
113819 #define HAVE_SYS_ISA_DEFS_H 1
113820 _ACEOF
113822 cat >>confdefs.h <<\_ACEOF
113823 #define HAVE_SYS_RESOURCE_H 1
113824 _ACEOF
113826 cat >>confdefs.h <<\_ACEOF
113827 #define HAVE_SYS_TIME_H 1
113828 _ACEOF
113830 cat >>confdefs.h <<\_ACEOF
113831 #define HAVE_SYS_TYPES_H 1
113832 _ACEOF
113834 cat >>confdefs.h <<\_ACEOF
113835 #define HAVE_UNISTD_H 1
113836 _ACEOF
113838 cat >>confdefs.h <<\_ACEOF
113839 #define HAVE_WCHAR_H 1
113840 _ACEOF
113842 cat >>confdefs.h <<\_ACEOF
113843 #define HAVE_WCTYPE_H 1
113844 _ACEOF
113846 cat >>confdefs.h <<\_ACEOF
113847 #define HAVE_LIBM 1
113848 _ACEOF
113852 case "$target" in
113853 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
113854 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
113855 cat >>confdefs.h <<\_ACEOF
113856 #define HAVE___BUILTIN_ABS 1
113857 _ACEOF
113859 cat >>confdefs.h <<\_ACEOF
113860 #define HAVE___BUILTIN_LABS 1
113861 _ACEOF
113863 cat >>confdefs.h <<\_ACEOF
113864 #define HAVE___BUILTIN_FABS 1
113865 _ACEOF
113867 cat >>confdefs.h <<\_ACEOF
113868 #define HAVE___BUILTIN_FABSF 1
113869 _ACEOF
113871 cat >>confdefs.h <<\_ACEOF
113872 #define HAVE___BUILTIN_FABSL 1
113873 _ACEOF
113875 cat >>confdefs.h <<\_ACEOF
113876 #define HAVE___BUILTIN_COS 1
113877 _ACEOF
113879 cat >>confdefs.h <<\_ACEOF
113880 #define HAVE___BUILTIN_COSF 1
113881 _ACEOF
113883 cat >>confdefs.h <<\_ACEOF
113884 #define HAVE___BUILTIN_SIN 1
113885 _ACEOF
113887 cat >>confdefs.h <<\_ACEOF
113888 #define HAVE___BUILTIN_SINF 1
113889 _ACEOF
113893 case "$target" in
113894 *-*-solaris2.10)
113895 # These two C99 functions are present only in Solaris >= 10
113896 cat >>confdefs.h <<\_ACEOF
113897 #define HAVE_STRTOF 1
113898 _ACEOF
113900 cat >>confdefs.h <<\_ACEOF
113901 #define HAVE_STRTOLD 1
113902 _ACEOF
113906 cat >>confdefs.h <<\_ACEOF
113907 #define HAVE_MMAP 1
113908 _ACEOF
113910 cat >>confdefs.h <<\_ACEOF
113911 #define HAVE_COPYSIGN 1
113912 _ACEOF
113914 cat >>confdefs.h <<\_ACEOF
113915 #define HAVE_ISNAN 1
113916 _ACEOF
113918 cat >>confdefs.h <<\_ACEOF
113919 #define HAVE_ISNANF 1
113920 _ACEOF
113922 cat >>confdefs.h <<\_ACEOF
113923 #define HAVE_MODFF 1
113924 _ACEOF
113926 cat >>confdefs.h <<\_ACEOF
113927 #define HAVE_HYPOT 1
113928 _ACEOF
113931 *-tpf)
113940 for ac_header in nan.h endian.h machine/endian.h \
113941 sys/param.h sys/types.h locale.h float.h inttypes.h
113943 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
113944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113945 echo "$as_me:$LINENO: checking for $ac_header" >&5
113946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113948 echo $ECHO_N "(cached) $ECHO_C" >&6
113950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113951 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113953 # Is the header compilable?
113954 echo "$as_me:$LINENO: checking $ac_header usability" >&5
113955 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
113956 cat >conftest.$ac_ext <<_ACEOF
113957 /* confdefs.h. */
113958 _ACEOF
113959 cat confdefs.h >>conftest.$ac_ext
113960 cat >>conftest.$ac_ext <<_ACEOF
113961 /* end confdefs.h. */
113962 $ac_includes_default
113963 #include <$ac_header>
113964 _ACEOF
113965 rm -f conftest.$ac_objext
113966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113967 (eval $ac_compile) 2>conftest.er1
113968 ac_status=$?
113969 grep -v '^ *+' conftest.er1 >conftest.err
113970 rm -f conftest.er1
113971 cat conftest.err >&5
113972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113973 (exit $ac_status); } &&
113974 { ac_try='test -z "$ac_c_werror_flag"
113975 || test ! -s conftest.err'
113976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113977 (eval $ac_try) 2>&5
113978 ac_status=$?
113979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113980 (exit $ac_status); }; } &&
113981 { ac_try='test -s conftest.$ac_objext'
113982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113983 (eval $ac_try) 2>&5
113984 ac_status=$?
113985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113986 (exit $ac_status); }; }; then
113987 ac_header_compiler=yes
113989 echo "$as_me: failed program was:" >&5
113990 sed 's/^/| /' conftest.$ac_ext >&5
113992 ac_header_compiler=no
113994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113995 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
113996 echo "${ECHO_T}$ac_header_compiler" >&6
113998 # Is the header present?
113999 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114000 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114001 cat >conftest.$ac_ext <<_ACEOF
114002 /* confdefs.h. */
114003 _ACEOF
114004 cat confdefs.h >>conftest.$ac_ext
114005 cat >>conftest.$ac_ext <<_ACEOF
114006 /* end confdefs.h. */
114007 #include <$ac_header>
114008 _ACEOF
114009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114010 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114011 ac_status=$?
114012 grep -v '^ *+' conftest.er1 >conftest.err
114013 rm -f conftest.er1
114014 cat conftest.err >&5
114015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114016 (exit $ac_status); } >/dev/null; then
114017 if test -s conftest.err; then
114018 ac_cpp_err=$ac_c_preproc_warn_flag
114019 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114021 ac_cpp_err=
114024 ac_cpp_err=yes
114026 if test -z "$ac_cpp_err"; then
114027 ac_header_preproc=yes
114029 echo "$as_me: failed program was:" >&5
114030 sed 's/^/| /' conftest.$ac_ext >&5
114032 ac_header_preproc=no
114034 rm -f conftest.err conftest.$ac_ext
114035 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114036 echo "${ECHO_T}$ac_header_preproc" >&6
114038 # So? What about this header?
114039 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114040 yes:no: )
114041 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114042 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114043 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114044 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114045 ac_header_preproc=yes
114047 no:yes:* )
114048 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114049 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114050 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
114051 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
114052 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114053 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114054 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
114055 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
114056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114057 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114058 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114059 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114061 cat <<\_ASBOX
114062 ## ----------------------------------------- ##
114063 ## Report this to the package-unused lists. ##
114064 ## ----------------------------------------- ##
114065 _ASBOX
114067 sed "s/^/$as_me: WARNING: /" >&2
114070 echo "$as_me:$LINENO: checking for $ac_header" >&5
114071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114073 echo $ECHO_N "(cached) $ECHO_C" >&6
114075 eval "$as_ac_Header=\$ac_header_preproc"
114077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114081 if test `eval echo '${'$as_ac_Header'}'` = yes; then
114082 cat >>confdefs.h <<_ACEOF
114083 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
114084 _ACEOF
114090 SECTION_FLAGS='-ffunction-sections -fdata-sections'
114093 # If we're not using GNU ld, then there's no point in even trying these
114094 # tests. Check for that first. We should have already tested for gld
114095 # by now (in libtool), but require it now just to be safe...
114096 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114097 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114101 # The name set by libtool depends on the version of libtool. Shame on us
114102 # for depending on an impl detail, but c'est la vie. Older versions used
114103 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
114104 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
114105 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
114106 # set (hence we're using an older libtool), then set it.
114107 if test x${with_gnu_ld+set} != xset; then
114108 if test x${ac_cv_prog_gnu_ld+set} != xset; then
114109 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
114110 with_gnu_ld=no
114112 with_gnu_ld=$ac_cv_prog_gnu_ld
114116 # Start by getting the version number. I think the libtool test already
114117 # does some of this, but throws away the result.
114118 if test x"$with_gnu_ld" = x"yes"; then
114119 echo "$as_me:$LINENO: checking for ld version" >&5
114120 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
114122 ldver=`$LD --version 2>/dev/null | head -1 | \
114123 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
114125 glibcxx_gnu_ld_version=`echo $ldver | \
114126 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
114127 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
114128 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
114131 # Set --gc-sections.
114132 glibcxx_gcsections_min_ld=21602
114133 if test x"$with_gnu_ld" = x"yes" &&
114134 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
114136 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
114137 # NB: This flag only works reliably after 2.16.1. Configure tests
114138 # for this are difficult, so hard wire a value that should work.
114140 ac_test_CFLAGS="${CFLAGS+set}"
114141 ac_save_CFLAGS="$CFLAGS"
114142 CFLAGS='-Wl,--gc-sections'
114144 # Check for -Wl,--gc-sections
114145 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
114146 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
114147 if test x$gcc_no_link = xyes; then
114148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114150 { (exit 1); exit 1; }; }
114152 cat >conftest.$ac_ext <<_ACEOF
114153 /* confdefs.h. */
114154 _ACEOF
114155 cat confdefs.h >>conftest.$ac_ext
114156 cat >>conftest.$ac_ext <<_ACEOF
114157 /* end confdefs.h. */
114158 int one(void) { return 1; }
114159 int two(void) { return 2; }
114162 main ()
114164 two();
114166 return 0;
114168 _ACEOF
114169 rm -f conftest.$ac_objext conftest$ac_exeext
114170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114171 (eval $ac_link) 2>conftest.er1
114172 ac_status=$?
114173 grep -v '^ *+' conftest.er1 >conftest.err
114174 rm -f conftest.er1
114175 cat conftest.err >&5
114176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114177 (exit $ac_status); } &&
114178 { ac_try='test -z "$ac_c_werror_flag"
114179 || test ! -s conftest.err'
114180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114181 (eval $ac_try) 2>&5
114182 ac_status=$?
114183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114184 (exit $ac_status); }; } &&
114185 { ac_try='test -s conftest$ac_exeext'
114186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114187 (eval $ac_try) 2>&5
114188 ac_status=$?
114189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114190 (exit $ac_status); }; }; then
114191 ac_gcsections=yes
114193 echo "$as_me: failed program was:" >&5
114194 sed 's/^/| /' conftest.$ac_ext >&5
114196 ac_gcsections=no
114198 rm -f conftest.err conftest.$ac_objext \
114199 conftest$ac_exeext conftest.$ac_ext
114200 if test "$ac_gcsections" = "yes"; then
114201 rm -f conftest.c
114202 touch conftest.c
114203 if $CC -c conftest.c; then
114204 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
114205 grep "Warning: gc-sections option ignored" > /dev/null; then
114206 ac_gcsections=no
114209 rm -f conftest.c conftest.o conftest
114211 if test "$ac_gcsections" = "yes"; then
114212 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
114214 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
114215 echo "${ECHO_T}$ac_gcsections" >&6
114217 if test "$ac_test_CFLAGS" = set; then
114218 CFLAGS="$ac_save_CFLAGS"
114220 # this is the suspicious part
114221 CFLAGS=''
114225 # Set -z,relro.
114226 # Note this is only for shared objects.
114227 ac_ld_relro=no
114228 if test x"$with_gnu_ld" = x"yes"; then
114229 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
114230 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
114231 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
114232 if test -n "$cxx_z_relo"; then
114233 OPT_LDFLAGS="-Wl,-z,relro"
114234 ac_ld_relro=yes
114236 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
114237 echo "${ECHO_T}$ac_ld_relro" >&6
114240 # Set linker optimization flags.
114241 if test x"$with_gnu_ld" = x"yes"; then
114242 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
114250 echo "$as_me:$LINENO: checking for main in -lm" >&5
114251 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
114252 if test "${ac_cv_lib_m_main+set}" = set; then
114253 echo $ECHO_N "(cached) $ECHO_C" >&6
114255 ac_check_lib_save_LIBS=$LIBS
114256 LIBS="-lm $LIBS"
114257 if test x$gcc_no_link = xyes; then
114258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114260 { (exit 1); exit 1; }; }
114262 cat >conftest.$ac_ext <<_ACEOF
114263 /* confdefs.h. */
114264 _ACEOF
114265 cat confdefs.h >>conftest.$ac_ext
114266 cat >>conftest.$ac_ext <<_ACEOF
114267 /* end confdefs.h. */
114271 main ()
114273 main ();
114275 return 0;
114277 _ACEOF
114278 rm -f conftest.$ac_objext conftest$ac_exeext
114279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114280 (eval $ac_link) 2>conftest.er1
114281 ac_status=$?
114282 grep -v '^ *+' conftest.er1 >conftest.err
114283 rm -f conftest.er1
114284 cat conftest.err >&5
114285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114286 (exit $ac_status); } &&
114287 { ac_try='test -z "$ac_c_werror_flag"
114288 || test ! -s conftest.err'
114289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114290 (eval $ac_try) 2>&5
114291 ac_status=$?
114292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114293 (exit $ac_status); }; } &&
114294 { ac_try='test -s conftest$ac_exeext'
114295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114296 (eval $ac_try) 2>&5
114297 ac_status=$?
114298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114299 (exit $ac_status); }; }; then
114300 ac_cv_lib_m_main=yes
114302 echo "$as_me: failed program was:" >&5
114303 sed 's/^/| /' conftest.$ac_ext >&5
114305 ac_cv_lib_m_main=no
114307 rm -f conftest.err conftest.$ac_objext \
114308 conftest$ac_exeext conftest.$ac_ext
114309 LIBS=$ac_check_lib_save_LIBS
114311 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
114312 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
114313 if test $ac_cv_lib_m_main = yes; then
114314 cat >>confdefs.h <<_ACEOF
114315 #define HAVE_LIBM 1
114316 _ACEOF
114318 LIBS="-lm $LIBS"
114323 for ac_func in copysignf
114325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114326 echo "$as_me:$LINENO: checking for $ac_func" >&5
114327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114328 if eval "test \"\${$as_ac_var+set}\" = set"; then
114329 echo $ECHO_N "(cached) $ECHO_C" >&6
114331 if test x$gcc_no_link = xyes; then
114332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114334 { (exit 1); exit 1; }; }
114336 cat >conftest.$ac_ext <<_ACEOF
114337 /* confdefs.h. */
114338 _ACEOF
114339 cat confdefs.h >>conftest.$ac_ext
114340 cat >>conftest.$ac_ext <<_ACEOF
114341 /* end confdefs.h. */
114342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114344 #define $ac_func innocuous_$ac_func
114346 /* System header to define __stub macros and hopefully few prototypes,
114347 which can conflict with char $ac_func (); below.
114348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114349 <limits.h> exists even on freestanding compilers. */
114351 #ifdef __STDC__
114352 # include <limits.h>
114353 #else
114354 # include <assert.h>
114355 #endif
114357 #undef $ac_func
114359 /* Override any gcc2 internal prototype to avoid an error. */
114360 #ifdef __cplusplus
114361 extern "C"
114363 #endif
114364 /* We use char because int might match the return type of a gcc2
114365 builtin and then its argument prototype would still apply. */
114366 char $ac_func ();
114367 /* The GNU C library defines this for functions which it implements
114368 to always fail with ENOSYS. Some functions are actually named
114369 something starting with __ and the normal name is an alias. */
114370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114371 choke me
114372 #else
114373 char (*f) () = $ac_func;
114374 #endif
114375 #ifdef __cplusplus
114377 #endif
114380 main ()
114382 return f != $ac_func;
114384 return 0;
114386 _ACEOF
114387 rm -f conftest.$ac_objext conftest$ac_exeext
114388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114389 (eval $ac_link) 2>conftest.er1
114390 ac_status=$?
114391 grep -v '^ *+' conftest.er1 >conftest.err
114392 rm -f conftest.er1
114393 cat conftest.err >&5
114394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114395 (exit $ac_status); } &&
114396 { ac_try='test -z "$ac_c_werror_flag"
114397 || test ! -s conftest.err'
114398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114399 (eval $ac_try) 2>&5
114400 ac_status=$?
114401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114402 (exit $ac_status); }; } &&
114403 { ac_try='test -s conftest$ac_exeext'
114404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114405 (eval $ac_try) 2>&5
114406 ac_status=$?
114407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114408 (exit $ac_status); }; }; then
114409 eval "$as_ac_var=yes"
114411 echo "$as_me: failed program was:" >&5
114412 sed 's/^/| /' conftest.$ac_ext >&5
114414 eval "$as_ac_var=no"
114416 rm -f conftest.err conftest.$ac_objext \
114417 conftest$ac_exeext conftest.$ac_ext
114419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114421 if test `eval echo '${'$as_ac_var'}'` = yes; then
114422 cat >>confdefs.h <<_ACEOF
114423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114424 _ACEOF
114427 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
114433 for ac_func in __signbit
114435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114436 echo "$as_me:$LINENO: checking for $ac_func" >&5
114437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114438 if eval "test \"\${$as_ac_var+set}\" = set"; then
114439 echo $ECHO_N "(cached) $ECHO_C" >&6
114441 if test x$gcc_no_link = xyes; then
114442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114444 { (exit 1); exit 1; }; }
114446 cat >conftest.$ac_ext <<_ACEOF
114447 /* confdefs.h. */
114448 _ACEOF
114449 cat confdefs.h >>conftest.$ac_ext
114450 cat >>conftest.$ac_ext <<_ACEOF
114451 /* end confdefs.h. */
114452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114454 #define $ac_func innocuous_$ac_func
114456 /* System header to define __stub macros and hopefully few prototypes,
114457 which can conflict with char $ac_func (); below.
114458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114459 <limits.h> exists even on freestanding compilers. */
114461 #ifdef __STDC__
114462 # include <limits.h>
114463 #else
114464 # include <assert.h>
114465 #endif
114467 #undef $ac_func
114469 /* Override any gcc2 internal prototype to avoid an error. */
114470 #ifdef __cplusplus
114471 extern "C"
114473 #endif
114474 /* We use char because int might match the return type of a gcc2
114475 builtin and then its argument prototype would still apply. */
114476 char $ac_func ();
114477 /* The GNU C library defines this for functions which it implements
114478 to always fail with ENOSYS. Some functions are actually named
114479 something starting with __ and the normal name is an alias. */
114480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114481 choke me
114482 #else
114483 char (*f) () = $ac_func;
114484 #endif
114485 #ifdef __cplusplus
114487 #endif
114490 main ()
114492 return f != $ac_func;
114494 return 0;
114496 _ACEOF
114497 rm -f conftest.$ac_objext conftest$ac_exeext
114498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114499 (eval $ac_link) 2>conftest.er1
114500 ac_status=$?
114501 grep -v '^ *+' conftest.er1 >conftest.err
114502 rm -f conftest.er1
114503 cat conftest.err >&5
114504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114505 (exit $ac_status); } &&
114506 { ac_try='test -z "$ac_c_werror_flag"
114507 || test ! -s conftest.err'
114508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114509 (eval $ac_try) 2>&5
114510 ac_status=$?
114511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114512 (exit $ac_status); }; } &&
114513 { ac_try='test -s conftest$ac_exeext'
114514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114515 (eval $ac_try) 2>&5
114516 ac_status=$?
114517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114518 (exit $ac_status); }; }; then
114519 eval "$as_ac_var=yes"
114521 echo "$as_me: failed program was:" >&5
114522 sed 's/^/| /' conftest.$ac_ext >&5
114524 eval "$as_ac_var=no"
114526 rm -f conftest.err conftest.$ac_objext \
114527 conftest$ac_exeext conftest.$ac_ext
114529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114531 if test `eval echo '${'$as_ac_var'}'` = yes; then
114532 cat >>confdefs.h <<_ACEOF
114533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114534 _ACEOF
114537 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
114543 for ac_func in __signbitf
114545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114546 echo "$as_me:$LINENO: checking for $ac_func" >&5
114547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114548 if eval "test \"\${$as_ac_var+set}\" = set"; then
114549 echo $ECHO_N "(cached) $ECHO_C" >&6
114551 if test x$gcc_no_link = xyes; then
114552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114554 { (exit 1); exit 1; }; }
114556 cat >conftest.$ac_ext <<_ACEOF
114557 /* confdefs.h. */
114558 _ACEOF
114559 cat confdefs.h >>conftest.$ac_ext
114560 cat >>conftest.$ac_ext <<_ACEOF
114561 /* end confdefs.h. */
114562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114564 #define $ac_func innocuous_$ac_func
114566 /* System header to define __stub macros and hopefully few prototypes,
114567 which can conflict with char $ac_func (); below.
114568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114569 <limits.h> exists even on freestanding compilers. */
114571 #ifdef __STDC__
114572 # include <limits.h>
114573 #else
114574 # include <assert.h>
114575 #endif
114577 #undef $ac_func
114579 /* Override any gcc2 internal prototype to avoid an error. */
114580 #ifdef __cplusplus
114581 extern "C"
114583 #endif
114584 /* We use char because int might match the return type of a gcc2
114585 builtin and then its argument prototype would still apply. */
114586 char $ac_func ();
114587 /* The GNU C library defines this for functions which it implements
114588 to always fail with ENOSYS. Some functions are actually named
114589 something starting with __ and the normal name is an alias. */
114590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114591 choke me
114592 #else
114593 char (*f) () = $ac_func;
114594 #endif
114595 #ifdef __cplusplus
114597 #endif
114600 main ()
114602 return f != $ac_func;
114604 return 0;
114606 _ACEOF
114607 rm -f conftest.$ac_objext conftest$ac_exeext
114608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114609 (eval $ac_link) 2>conftest.er1
114610 ac_status=$?
114611 grep -v '^ *+' conftest.er1 >conftest.err
114612 rm -f conftest.er1
114613 cat conftest.err >&5
114614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114615 (exit $ac_status); } &&
114616 { ac_try='test -z "$ac_c_werror_flag"
114617 || test ! -s conftest.err'
114618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114619 (eval $ac_try) 2>&5
114620 ac_status=$?
114621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114622 (exit $ac_status); }; } &&
114623 { ac_try='test -s conftest$ac_exeext'
114624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114625 (eval $ac_try) 2>&5
114626 ac_status=$?
114627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114628 (exit $ac_status); }; }; then
114629 eval "$as_ac_var=yes"
114631 echo "$as_me: failed program was:" >&5
114632 sed 's/^/| /' conftest.$ac_ext >&5
114634 eval "$as_ac_var=no"
114636 rm -f conftest.err conftest.$ac_objext \
114637 conftest$ac_exeext conftest.$ac_ext
114639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114641 if test `eval echo '${'$as_ac_var'}'` = yes; then
114642 cat >>confdefs.h <<_ACEOF
114643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114644 _ACEOF
114647 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
114652 if test x$ac_cv_func_copysignl = x"yes"; then
114654 for ac_func in __signbitl
114656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114657 echo "$as_me:$LINENO: checking for $ac_func" >&5
114658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114659 if eval "test \"\${$as_ac_var+set}\" = set"; then
114660 echo $ECHO_N "(cached) $ECHO_C" >&6
114662 if test x$gcc_no_link = xyes; then
114663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114665 { (exit 1); exit 1; }; }
114667 cat >conftest.$ac_ext <<_ACEOF
114668 /* confdefs.h. */
114669 _ACEOF
114670 cat confdefs.h >>conftest.$ac_ext
114671 cat >>conftest.$ac_ext <<_ACEOF
114672 /* end confdefs.h. */
114673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114675 #define $ac_func innocuous_$ac_func
114677 /* System header to define __stub macros and hopefully few prototypes,
114678 which can conflict with char $ac_func (); below.
114679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114680 <limits.h> exists even on freestanding compilers. */
114682 #ifdef __STDC__
114683 # include <limits.h>
114684 #else
114685 # include <assert.h>
114686 #endif
114688 #undef $ac_func
114690 /* Override any gcc2 internal prototype to avoid an error. */
114691 #ifdef __cplusplus
114692 extern "C"
114694 #endif
114695 /* We use char because int might match the return type of a gcc2
114696 builtin and then its argument prototype would still apply. */
114697 char $ac_func ();
114698 /* The GNU C library defines this for functions which it implements
114699 to always fail with ENOSYS. Some functions are actually named
114700 something starting with __ and the normal name is an alias. */
114701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114702 choke me
114703 #else
114704 char (*f) () = $ac_func;
114705 #endif
114706 #ifdef __cplusplus
114708 #endif
114711 main ()
114713 return f != $ac_func;
114715 return 0;
114717 _ACEOF
114718 rm -f conftest.$ac_objext conftest$ac_exeext
114719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114720 (eval $ac_link) 2>conftest.er1
114721 ac_status=$?
114722 grep -v '^ *+' conftest.er1 >conftest.err
114723 rm -f conftest.er1
114724 cat conftest.err >&5
114725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114726 (exit $ac_status); } &&
114727 { ac_try='test -z "$ac_c_werror_flag"
114728 || test ! -s conftest.err'
114729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114730 (eval $ac_try) 2>&5
114731 ac_status=$?
114732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114733 (exit $ac_status); }; } &&
114734 { ac_try='test -s conftest$ac_exeext'
114735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114736 (eval $ac_try) 2>&5
114737 ac_status=$?
114738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114739 (exit $ac_status); }; }; then
114740 eval "$as_ac_var=yes"
114742 echo "$as_me: failed program was:" >&5
114743 sed 's/^/| /' conftest.$ac_ext >&5
114745 eval "$as_ac_var=no"
114747 rm -f conftest.err conftest.$ac_objext \
114748 conftest$ac_exeext conftest.$ac_ext
114750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114752 if test `eval echo '${'$as_ac_var'}'` = yes; then
114753 cat >>confdefs.h <<_ACEOF
114754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114755 _ACEOF
114758 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
114764 # Used in libmath/Makefile.am.
114765 if test -n "$LIBMATHOBJS"; then
114766 need_libmath=yes
114770 cat >>confdefs.h <<\_ACEOF
114771 #define HAVE_COPYSIGN 1
114772 _ACEOF
114774 cat >>confdefs.h <<\_ACEOF
114775 #define HAVE_COPYSIGNF 1
114776 _ACEOF
114778 cat >>confdefs.h <<\_ACEOF
114779 #define HAVE_FINITE 1
114780 _ACEOF
114782 cat >>confdefs.h <<\_ACEOF
114783 #define HAVE_FINITEF 1
114784 _ACEOF
114786 cat >>confdefs.h <<\_ACEOF
114787 #define HAVE_FREXPF 1
114788 _ACEOF
114790 cat >>confdefs.h <<\_ACEOF
114791 #define HAVE_HYPOTF 1
114792 _ACEOF
114794 cat >>confdefs.h <<\_ACEOF
114795 #define HAVE_ISINF 1
114796 _ACEOF
114798 cat >>confdefs.h <<\_ACEOF
114799 #define HAVE_ISINFF 1
114800 _ACEOF
114802 cat >>confdefs.h <<\_ACEOF
114803 #define HAVE_ISNAN 1
114804 _ACEOF
114806 cat >>confdefs.h <<\_ACEOF
114807 #define HAVE_ISNANF 1
114808 _ACEOF
114810 cat >>confdefs.h <<\_ACEOF
114811 #define HAVE_SINCOS 1
114812 _ACEOF
114814 cat >>confdefs.h <<\_ACEOF
114815 #define HAVE_SINCOSF 1
114816 _ACEOF
114818 if test x"long_double_math_on_this_cpu" = x"yes"; then
114819 cat >>confdefs.h <<\_ACEOF
114820 #define HAVE_FINITEL 1
114821 _ACEOF
114823 cat >>confdefs.h <<\_ACEOF
114824 #define HAVE_HYPOTL 1
114825 _ACEOF
114827 cat >>confdefs.h <<\_ACEOF
114828 #define HAVE_ISINFL 1
114829 _ACEOF
114831 cat >>confdefs.h <<\_ACEOF
114832 #define HAVE_ISNANL 1
114833 _ACEOF
114837 *-vxworks)
114838 cat >>confdefs.h <<\_ACEOF
114839 #define HAVE_MMAP 1
114840 _ACEOF
114842 cat >>confdefs.h <<\_ACEOF
114843 #define HAVE_ACOSF 1
114844 _ACEOF
114846 cat >>confdefs.h <<\_ACEOF
114847 #define HAVE_ASINF 1
114848 _ACEOF
114850 cat >>confdefs.h <<\_ACEOF
114851 #define HAVE_ATAN2F 1
114852 _ACEOF
114854 cat >>confdefs.h <<\_ACEOF
114855 #define HAVE_ATANF 1
114856 _ACEOF
114858 cat >>confdefs.h <<\_ACEOF
114859 #define HAVE_CEILF 1
114860 _ACEOF
114862 cat >>confdefs.h <<\_ACEOF
114863 #define HAVE_COSF 1
114864 _ACEOF
114866 cat >>confdefs.h <<\_ACEOF
114867 #define HAVE_COSHF 1
114868 _ACEOF
114870 cat >>confdefs.h <<\_ACEOF
114871 #define HAVE_EXPF 1
114872 _ACEOF
114874 cat >>confdefs.h <<\_ACEOF
114875 #define HAVE_FABSF 1
114876 _ACEOF
114878 cat >>confdefs.h <<\_ACEOF
114879 #define HAVE_FLOORF 1
114880 _ACEOF
114882 cat >>confdefs.h <<\_ACEOF
114883 #define HAVE_FMODF 1
114884 _ACEOF
114886 cat >>confdefs.h <<\_ACEOF
114887 #define HAVE_HYPOT 1
114888 _ACEOF
114890 cat >>confdefs.h <<\_ACEOF
114891 #define HAVE_LOG10F 1
114892 _ACEOF
114894 cat >>confdefs.h <<\_ACEOF
114895 #define HAVE_LOGF 1
114896 _ACEOF
114898 cat >>confdefs.h <<\_ACEOF
114899 #define HAVE_POWF 1
114900 _ACEOF
114902 cat >>confdefs.h <<\_ACEOF
114903 #define HAVE_SINF 1
114904 _ACEOF
114906 cat >>confdefs.h <<\_ACEOF
114907 #define HAVE_SINHF 1
114908 _ACEOF
114910 cat >>confdefs.h <<\_ACEOF
114911 #define HAVE_SQRTF 1
114912 _ACEOF
114914 cat >>confdefs.h <<\_ACEOF
114915 #define HAVE_TANF 1
114916 _ACEOF
114918 cat >>confdefs.h <<\_ACEOF
114919 #define HAVE_TANHF 1
114920 _ACEOF
114923 *-windiss*)
114924 cat >>confdefs.h <<\_ACEOF
114925 #define HAVE_ACOSF 1
114926 _ACEOF
114928 cat >>confdefs.h <<\_ACEOF
114929 #define HAVE_ACOSL 1
114930 _ACEOF
114932 cat >>confdefs.h <<\_ACEOF
114933 #define HAVE_ASINF 1
114934 _ACEOF
114936 cat >>confdefs.h <<\_ACEOF
114937 #define HAVE_ASINL 1
114938 _ACEOF
114940 cat >>confdefs.h <<\_ACEOF
114941 #define HAVE_ATAN2F 1
114942 _ACEOF
114944 cat >>confdefs.h <<\_ACEOF
114945 #define HAVE_ATAN2L 1
114946 _ACEOF
114948 cat >>confdefs.h <<\_ACEOF
114949 #define HAVE_ATANF 1
114950 _ACEOF
114952 cat >>confdefs.h <<\_ACEOF
114953 #define HAVE_ATANL 1
114954 _ACEOF
114956 cat >>confdefs.h <<\_ACEOF
114957 #define HAVE_CEILF 1
114958 _ACEOF
114960 cat >>confdefs.h <<\_ACEOF
114961 #define HAVE_CEILL 1
114962 _ACEOF
114964 cat >>confdefs.h <<\_ACEOF
114965 #define HAVE_COPYSIGN 1
114966 _ACEOF
114968 cat >>confdefs.h <<\_ACEOF
114969 #define HAVE_COPYSIGNF 1
114970 _ACEOF
114972 cat >>confdefs.h <<\_ACEOF
114973 #define HAVE_COSF 1
114974 _ACEOF
114976 cat >>confdefs.h <<\_ACEOF
114977 #define HAVE_COSL 1
114978 _ACEOF
114980 cat >>confdefs.h <<\_ACEOF
114981 #define HAVE_COSHF 1
114982 _ACEOF
114984 cat >>confdefs.h <<\_ACEOF
114985 #define HAVE_COSHL 1
114986 _ACEOF
114988 cat >>confdefs.h <<\_ACEOF
114989 #define HAVE_EXPF 1
114990 _ACEOF
114992 cat >>confdefs.h <<\_ACEOF
114993 #define HAVE_EXPL 1
114994 _ACEOF
114996 cat >>confdefs.h <<\_ACEOF
114997 #define HAVE_FABSF 1
114998 _ACEOF
115000 cat >>confdefs.h <<\_ACEOF
115001 #define HAVE_FABSL 1
115002 _ACEOF
115004 cat >>confdefs.h <<\_ACEOF
115005 #define HAVE_FLOORF 1
115006 _ACEOF
115008 cat >>confdefs.h <<\_ACEOF
115009 #define HAVE_FLOORL 1
115010 _ACEOF
115012 cat >>confdefs.h <<\_ACEOF
115013 #define HAVE_FMODF 1
115014 _ACEOF
115016 cat >>confdefs.h <<\_ACEOF
115017 #define HAVE_FMODL 1
115018 _ACEOF
115020 cat >>confdefs.h <<\_ACEOF
115021 #define HAVE_FREXPF 1
115022 _ACEOF
115024 cat >>confdefs.h <<\_ACEOF
115025 #define HAVE_FREXPL 1
115026 _ACEOF
115028 cat >>confdefs.h <<\_ACEOF
115029 #define HAVE_LDEXPF 1
115030 _ACEOF
115032 cat >>confdefs.h <<\_ACEOF
115033 #define HAVE_LDEXPL 1
115034 _ACEOF
115036 cat >>confdefs.h <<\_ACEOF
115037 #define HAVE_LOG10F 1
115038 _ACEOF
115040 cat >>confdefs.h <<\_ACEOF
115041 #define HAVE_LOG10L 1
115042 _ACEOF
115044 cat >>confdefs.h <<\_ACEOF
115045 #define HAVE_LOGF 1
115046 _ACEOF
115048 cat >>confdefs.h <<\_ACEOF
115049 #define HAVE_MODFF 1
115050 _ACEOF
115052 cat >>confdefs.h <<\_ACEOF
115053 #define HAVE_MODFL 1
115054 _ACEOF
115056 cat >>confdefs.h <<\_ACEOF
115057 #define HAVE_POWF 1
115058 _ACEOF
115060 cat >>confdefs.h <<\_ACEOF
115061 #define HAVE_POWL 1
115062 _ACEOF
115064 cat >>confdefs.h <<\_ACEOF
115065 #define HAVE_SINF 1
115066 _ACEOF
115068 cat >>confdefs.h <<\_ACEOF
115069 #define HAVE_SINL 1
115070 _ACEOF
115072 cat >>confdefs.h <<\_ACEOF
115073 #define HAVE_SINHF 1
115074 _ACEOF
115076 cat >>confdefs.h <<\_ACEOF
115077 #define HAVE_SINHL 1
115078 _ACEOF
115080 cat >>confdefs.h <<\_ACEOF
115081 #define HAVE_SQRTF 1
115082 _ACEOF
115084 cat >>confdefs.h <<\_ACEOF
115085 #define HAVE_SQRTL 1
115086 _ACEOF
115088 cat >>confdefs.h <<\_ACEOF
115089 #define HAVE_TANF 1
115090 _ACEOF
115092 cat >>confdefs.h <<\_ACEOF
115093 #define HAVE_TANL 1
115094 _ACEOF
115096 cat >>confdefs.h <<\_ACEOF
115097 #define HAVE_TANHF 1
115098 _ACEOF
115100 cat >>confdefs.h <<\_ACEOF
115101 #define HAVE_TANHL 1
115102 _ACEOF
115106 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
115107 echo "$as_me: error: No support for this host/target combination." >&2;}
115108 { (exit 1); exit 1; }; }
115114 # At some point, we should differentiate between architectures
115115 # like x86, which have long double versions, and alpha/powerpc/etc.,
115116 # which don't. For the time being, punt.
115117 if test x"long_double_math_on_this_cpu" = x"yes"; then
115118 cat >>confdefs.h <<\_ACEOF
115119 #define HAVE_ACOSL 1
115120 _ACEOF
115122 cat >>confdefs.h <<\_ACEOF
115123 #define HAVE_ASINL 1
115124 _ACEOF
115126 cat >>confdefs.h <<\_ACEOF
115127 #define HAVE_ATAN2L 1
115128 _ACEOF
115130 cat >>confdefs.h <<\_ACEOF
115131 #define HAVE_ATANL 1
115132 _ACEOF
115134 cat >>confdefs.h <<\_ACEOF
115135 #define HAVE_CEILL 1
115136 _ACEOF
115138 cat >>confdefs.h <<\_ACEOF
115139 #define HAVE_COPYSIGNL 1
115140 _ACEOF
115142 cat >>confdefs.h <<\_ACEOF
115143 #define HAVE_COSL 1
115144 _ACEOF
115146 cat >>confdefs.h <<\_ACEOF
115147 #define HAVE_COSHL 1
115148 _ACEOF
115150 cat >>confdefs.h <<\_ACEOF
115151 #define HAVE_EXPL 1
115152 _ACEOF
115154 cat >>confdefs.h <<\_ACEOF
115155 #define HAVE_FABSL 1
115156 _ACEOF
115158 cat >>confdefs.h <<\_ACEOF
115159 #define HAVE_FLOORL 1
115160 _ACEOF
115162 cat >>confdefs.h <<\_ACEOF
115163 #define HAVE_FMODL 1
115164 _ACEOF
115166 cat >>confdefs.h <<\_ACEOF
115167 #define HAVE_FREXPL 1
115168 _ACEOF
115170 cat >>confdefs.h <<\_ACEOF
115171 #define HAVE_LDEXPL 1
115172 _ACEOF
115174 cat >>confdefs.h <<\_ACEOF
115175 #define HAVE_LOG10L 1
115176 _ACEOF
115178 cat >>confdefs.h <<\_ACEOF
115179 #define HAVE_LOGL 1
115180 _ACEOF
115182 cat >>confdefs.h <<\_ACEOF
115183 #define HAVE_MODFL 1
115184 _ACEOF
115186 cat >>confdefs.h <<\_ACEOF
115187 #define HAVE_POWL 1
115188 _ACEOF
115190 cat >>confdefs.h <<\_ACEOF
115191 #define HAVE_SINCOSL 1
115192 _ACEOF
115194 cat >>confdefs.h <<\_ACEOF
115195 #define HAVE_SINL 1
115196 _ACEOF
115198 cat >>confdefs.h <<\_ACEOF
115199 #define HAVE_SINHL 1
115200 _ACEOF
115202 cat >>confdefs.h <<\_ACEOF
115203 #define HAVE_SQRTL 1
115204 _ACEOF
115206 cat >>confdefs.h <<\_ACEOF
115207 #define HAVE_TANL 1
115208 _ACEOF
115210 cat >>confdefs.h <<\_ACEOF
115211 #define HAVE_TANHL 1
115212 _ACEOF
115216 # Assume we have _Unwind_GetIPInfo for cross-compiles.
115217 cat >>confdefs.h <<\_ACEOF
115218 #define HAVE_GETIPINFO 1
115219 _ACEOF
115223 # Check whether --enable-linux-futex or --disable-linux-futex was given.
115224 if test "${enable_linux_futex+set}" = set; then
115225 enableval="$enable_linux_futex"
115227 case "$enableval" in
115228 yes|no|default) ;;
115229 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
115230 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
115231 { (exit 1); exit 1; }; } ;;
115235 enable_linux_futex=default
115238 case "$target" in
115239 *-linux*)
115240 case "$enable_linux_futex" in
115241 default)
115242 # If headers don't have gettid/futex syscalls definition, then
115243 # default to no, otherwise there will be compile time failures.
115244 # Otherwise, default to yes. If we don't detect we are
115245 # compiled/linked against NPTL and not cross-compiling, check
115246 # if programs are run by default against NPTL and if not, issue
115247 # a warning.
115248 enable_linux_futex=no
115249 if test x$gcc_no_link = xyes; then
115250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115252 { (exit 1); exit 1; }; }
115254 cat >conftest.$ac_ext <<_ACEOF
115255 /* confdefs.h. */
115256 _ACEOF
115257 cat confdefs.h >>conftest.$ac_ext
115258 cat >>conftest.$ac_ext <<_ACEOF
115259 /* end confdefs.h. */
115260 #include <sys/syscall.h>
115261 int lk;
115263 main ()
115265 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
115267 return 0;
115269 _ACEOF
115270 rm -f conftest.$ac_objext conftest$ac_exeext
115271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115272 (eval $ac_link) 2>conftest.er1
115273 ac_status=$?
115274 grep -v '^ *+' conftest.er1 >conftest.err
115275 rm -f conftest.er1
115276 cat conftest.err >&5
115277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115278 (exit $ac_status); } &&
115279 { ac_try='test -z "$ac_c_werror_flag"
115280 || test ! -s conftest.err'
115281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115282 (eval $ac_try) 2>&5
115283 ac_status=$?
115284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115285 (exit $ac_status); }; } &&
115286 { ac_try='test -s conftest$ac_exeext'
115287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115288 (eval $ac_try) 2>&5
115289 ac_status=$?
115290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115291 (exit $ac_status); }; }; then
115292 save_LIBS="$LIBS"
115293 LIBS="-lpthread $LIBS"
115294 if test x$gcc_no_link = xyes; then
115295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115297 { (exit 1); exit 1; }; }
115299 cat >conftest.$ac_ext <<_ACEOF
115300 /* confdefs.h. */
115301 _ACEOF
115302 cat confdefs.h >>conftest.$ac_ext
115303 cat >>conftest.$ac_ext <<_ACEOF
115304 /* end confdefs.h. */
115305 #ifndef _GNU_SOURCE
115306 #define _GNU_SOURCE 1
115307 #endif
115308 #include <pthread.h>
115309 pthread_t th; void *status;
115311 main ()
115313 pthread_tryjoin_np (th, &status);
115315 return 0;
115317 _ACEOF
115318 rm -f conftest.$ac_objext conftest$ac_exeext
115319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115320 (eval $ac_link) 2>conftest.er1
115321 ac_status=$?
115322 grep -v '^ *+' conftest.er1 >conftest.err
115323 rm -f conftest.er1
115324 cat conftest.err >&5
115325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115326 (exit $ac_status); } &&
115327 { ac_try='test -z "$ac_c_werror_flag"
115328 || test ! -s conftest.err'
115329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115330 (eval $ac_try) 2>&5
115331 ac_status=$?
115332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115333 (exit $ac_status); }; } &&
115334 { ac_try='test -s conftest$ac_exeext'
115335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115336 (eval $ac_try) 2>&5
115337 ac_status=$?
115338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115339 (exit $ac_status); }; }; then
115340 enable_linux_futex=yes
115342 echo "$as_me: failed program was:" >&5
115343 sed 's/^/| /' conftest.$ac_ext >&5
115345 if test x$cross_compiling = xno; then
115346 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
115347 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
115348 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
115349 If so, please configure with --disable-linux-futex" >&5
115350 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
115351 If so, please configure with --disable-linux-futex" >&2;}
115354 enable_linux_futex=yes
115356 rm -f conftest.err conftest.$ac_objext \
115357 conftest$ac_exeext conftest.$ac_ext
115358 LIBS="$save_LIBS"
115360 echo "$as_me: failed program was:" >&5
115361 sed 's/^/| /' conftest.$ac_ext >&5
115364 rm -f conftest.err conftest.$ac_objext \
115365 conftest$ac_exeext conftest.$ac_ext
115368 if test x$gcc_no_link = xyes; then
115369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115371 { (exit 1); exit 1; }; }
115373 cat >conftest.$ac_ext <<_ACEOF
115374 /* confdefs.h. */
115375 _ACEOF
115376 cat confdefs.h >>conftest.$ac_ext
115377 cat >>conftest.$ac_ext <<_ACEOF
115378 /* end confdefs.h. */
115379 #include <sys/syscall.h>
115380 int lk;
115382 main ()
115384 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
115386 return 0;
115388 _ACEOF
115389 rm -f conftest.$ac_objext conftest$ac_exeext
115390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115391 (eval $ac_link) 2>conftest.er1
115392 ac_status=$?
115393 grep -v '^ *+' conftest.er1 >conftest.err
115394 rm -f conftest.er1
115395 cat conftest.err >&5
115396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115397 (exit $ac_status); } &&
115398 { ac_try='test -z "$ac_c_werror_flag"
115399 || test ! -s conftest.err'
115400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115401 (eval $ac_try) 2>&5
115402 ac_status=$?
115403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115404 (exit $ac_status); }; } &&
115405 { ac_try='test -s conftest$ac_exeext'
115406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115407 (eval $ac_try) 2>&5
115408 ac_status=$?
115409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115410 (exit $ac_status); }; }; then
115413 echo "$as_me: failed program was:" >&5
115414 sed 's/^/| /' conftest.$ac_ext >&5
115416 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
115417 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
115418 { (exit 1); exit 1; }; }
115420 rm -f conftest.err conftest.$ac_objext \
115421 conftest$ac_exeext conftest.$ac_ext
115426 enable_linux_futex=no
115429 if test x$enable_linux_futex = xyes; then
115431 cat >>confdefs.h <<\_ACEOF
115432 #define HAVE_LINUX_FUTEX 1
115433 _ACEOF
115438 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
115441 # Check whether --enable-symvers or --disable-symvers was given.
115442 if test "${enable_symvers+set}" = set; then
115443 enableval="$enable_symvers"
115445 case "$enableval" in
115446 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
115447 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
115448 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
115449 { (exit 1); exit 1; }; } ;;
115453 enable_symvers=yes
115457 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
115458 # don't know enough about $LD to do tricks...
115461 # Turn a 'yes' into a suitable default.
115462 if test x$enable_symvers = xyes ; then
115463 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
115464 enable_symvers=no
115466 if test $with_gnu_ld = yes ; then
115467 enable_symvers=gnu
115469 case ${target_os} in
115470 darwin*)
115471 enable_symvers=darwin ;;
115473 enable_symvers=no ;;
115479 # Check to see if 'darwin' or 'darwin-export' can win.
115480 if test x$enable_symvers = xdarwin-export ; then
115481 enable_symvers=darwin
115484 # Check to see if 'gnu' can win.
115485 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
115486 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
115487 echo "$as_me:$LINENO: checking for shared libgcc" >&5
115488 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
115489 ac_save_CFLAGS="$CFLAGS"
115490 CFLAGS=' -lgcc_s'
115491 if test x$gcc_no_link = xyes; then
115492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115494 { (exit 1); exit 1; }; }
115496 cat >conftest.$ac_ext <<_ACEOF
115497 /* confdefs.h. */
115498 _ACEOF
115499 cat confdefs.h >>conftest.$ac_ext
115500 cat >>conftest.$ac_ext <<_ACEOF
115501 /* end confdefs.h. */
115504 main ()
115506 return 0;
115508 return 0;
115510 _ACEOF
115511 rm -f conftest.$ac_objext conftest$ac_exeext
115512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115513 (eval $ac_link) 2>conftest.er1
115514 ac_status=$?
115515 grep -v '^ *+' conftest.er1 >conftest.err
115516 rm -f conftest.er1
115517 cat conftest.err >&5
115518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115519 (exit $ac_status); } &&
115520 { ac_try='test -z "$ac_c_werror_flag"
115521 || test ! -s conftest.err'
115522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115523 (eval $ac_try) 2>&5
115524 ac_status=$?
115525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115526 (exit $ac_status); }; } &&
115527 { ac_try='test -s conftest$ac_exeext'
115528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115529 (eval $ac_try) 2>&5
115530 ac_status=$?
115531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115532 (exit $ac_status); }; }; then
115533 glibcxx_shared_libgcc=yes
115535 echo "$as_me: failed program was:" >&5
115536 sed 's/^/| /' conftest.$ac_ext >&5
115538 glibcxx_shared_libgcc=no
115540 rm -f conftest.err conftest.$ac_objext \
115541 conftest$ac_exeext conftest.$ac_ext
115542 CFLAGS="$ac_save_CFLAGS"
115543 if test $glibcxx_shared_libgcc = no; then
115544 cat > conftest.c <<EOF
115545 int main (void) { return 0; }
115547 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
115548 -shared -shared-libgcc -o conftest.so \
115549 conftest.c -v 2>&1 >/dev/null \
115550 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
115551 rm -f conftest.c conftest.so
115552 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
115553 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
115554 if test x$gcc_no_link = xyes; then
115555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115557 { (exit 1); exit 1; }; }
115559 cat >conftest.$ac_ext <<_ACEOF
115560 /* confdefs.h. */
115561 _ACEOF
115562 cat confdefs.h >>conftest.$ac_ext
115563 cat >>conftest.$ac_ext <<_ACEOF
115564 /* end confdefs.h. */
115567 main ()
115569 return 0;
115571 return 0;
115573 _ACEOF
115574 rm -f conftest.$ac_objext conftest$ac_exeext
115575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115576 (eval $ac_link) 2>conftest.er1
115577 ac_status=$?
115578 grep -v '^ *+' conftest.er1 >conftest.err
115579 rm -f conftest.er1
115580 cat conftest.err >&5
115581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115582 (exit $ac_status); } &&
115583 { ac_try='test -z "$ac_c_werror_flag"
115584 || test ! -s conftest.err'
115585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115586 (eval $ac_try) 2>&5
115587 ac_status=$?
115588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115589 (exit $ac_status); }; } &&
115590 { ac_try='test -s conftest$ac_exeext'
115591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115592 (eval $ac_try) 2>&5
115593 ac_status=$?
115594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115595 (exit $ac_status); }; }; then
115596 glibcxx_shared_libgcc=yes
115598 echo "$as_me: failed program was:" >&5
115599 sed 's/^/| /' conftest.$ac_ext >&5
115602 rm -f conftest.err conftest.$ac_objext \
115603 conftest$ac_exeext conftest.$ac_ext
115604 CFLAGS="$ac_save_CFLAGS"
115607 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
115608 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
115610 # For GNU ld, we need at least this version. The format is described in
115611 # GLIBCXX_CHECK_LINKER_FEATURES above.
115612 glibcxx_min_gnu_ld_version=21400
115614 # If no shared libgcc, can't win.
115615 if test $glibcxx_shared_libgcc != yes; then
115616 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
115617 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
115618 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
115619 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
115620 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
115621 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
115622 enable_symvers=no
115623 elif test $with_gnu_ld != yes ; then
115624 # just fail for now
115625 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
115626 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
115627 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
115628 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
115629 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
115630 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
115631 enable_symvers=no
115632 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
115633 # The right tools, the right setup, but too old. Fallbacks?
115634 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
115635 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
115636 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
115637 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
115638 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
115639 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
115640 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
115641 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
115642 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
115643 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
115644 enable_symvers=no
115648 # Everything parsed; figure out what file to use.
115649 case $enable_symvers in
115651 SYMVER_FILE=config/abi/pre/none.ver
115654 SYMVER_FILE=config/abi/pre/gnu.ver
115656 cat >>confdefs.h <<\_ACEOF
115657 #define _GLIBCXX_SYMVER_GNU 1
115658 _ACEOF
115661 gnu-versioned-namespace)
115662 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
115664 cat >>confdefs.h <<\_ACEOF
115665 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
115666 _ACEOF
115669 darwin)
115670 SYMVER_FILE=config/abi/pre/gnu.ver
115672 cat >>confdefs.h <<\_ACEOF
115673 #define _GLIBCXX_SYMVER_DARWIN 1
115674 _ACEOF
115679 if test x$enable_symvers != xno ; then
115681 cat >>confdefs.h <<\_ACEOF
115682 #define _GLIBCXX_SYMVER 1
115683 _ACEOF
115693 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
115694 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
115696 # Now, set up compatibility support, if any.
115697 # In addition, need this to deal with std::size_t mangling in
115698 # src/compatibility.cc. In a perfect world, could use
115699 # typeid(std::size_t).name()[0] to do direct substitution.
115700 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
115701 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
115702 ac_save_CFLAGS="$CFLAGS"
115703 CFLAGS="-Werror"
115704 cat >conftest.$ac_ext <<_ACEOF
115705 /* confdefs.h. */
115706 _ACEOF
115707 cat confdefs.h >>conftest.$ac_ext
115708 cat >>conftest.$ac_ext <<_ACEOF
115709 /* end confdefs.h. */
115712 main ()
115714 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
115716 return 0;
115718 _ACEOF
115719 rm -f conftest.$ac_objext
115720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115721 (eval $ac_compile) 2>conftest.er1
115722 ac_status=$?
115723 grep -v '^ *+' conftest.er1 >conftest.err
115724 rm -f conftest.er1
115725 cat conftest.err >&5
115726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115727 (exit $ac_status); } &&
115728 { ac_try='test -z "$ac_c_werror_flag"
115729 || test ! -s conftest.err'
115730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115731 (eval $ac_try) 2>&5
115732 ac_status=$?
115733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115734 (exit $ac_status); }; } &&
115735 { ac_try='test -s conftest.$ac_objext'
115736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115737 (eval $ac_try) 2>&5
115738 ac_status=$?
115739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115740 (exit $ac_status); }; }; then
115741 glibcxx_size_t_is_i=yes
115743 echo "$as_me: failed program was:" >&5
115744 sed 's/^/| /' conftest.$ac_ext >&5
115746 glibcxx_size_t_is_i=no
115748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115749 CFLAGS=$ac_save_CFLAGS
115750 if test "$glibcxx_size_t_is_i" = yes; then
115752 cat >>confdefs.h <<\_ACEOF
115753 #define _GLIBCXX_SIZE_T_IS_UINT 1
115754 _ACEOF
115757 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
115758 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
115760 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
115761 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
115762 ac_save_CFLAGS="$CFLAGS"
115763 CFLAGS="-Werror"
115764 cat >conftest.$ac_ext <<_ACEOF
115765 /* confdefs.h. */
115766 _ACEOF
115767 cat confdefs.h >>conftest.$ac_ext
115768 cat >>conftest.$ac_ext <<_ACEOF
115769 /* end confdefs.h. */
115772 main ()
115774 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
115776 return 0;
115778 _ACEOF
115779 rm -f conftest.$ac_objext
115780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115781 (eval $ac_compile) 2>conftest.er1
115782 ac_status=$?
115783 grep -v '^ *+' conftest.er1 >conftest.err
115784 rm -f conftest.er1
115785 cat conftest.err >&5
115786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115787 (exit $ac_status); } &&
115788 { ac_try='test -z "$ac_c_werror_flag"
115789 || test ! -s conftest.err'
115790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115791 (eval $ac_try) 2>&5
115792 ac_status=$?
115793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115794 (exit $ac_status); }; } &&
115795 { ac_try='test -s conftest.$ac_objext'
115796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115797 (eval $ac_try) 2>&5
115798 ac_status=$?
115799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115800 (exit $ac_status); }; }; then
115801 glibcxx_ptrdiff_t_is_i=yes
115803 echo "$as_me: failed program was:" >&5
115804 sed 's/^/| /' conftest.$ac_ext >&5
115806 glibcxx_ptrdiff_t_is_i=no
115808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115809 CFLAGS=$ac_save_CFLAGS
115810 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
115812 cat >>confdefs.h <<\_ACEOF
115813 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
115814 _ACEOF
115817 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
115818 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
115821 # Check whether --enable-visibility or --disable-visibility was given.
115822 if test "${enable_visibility+set}" = set; then
115823 enableval="$enable_visibility"
115825 case "$enableval" in
115826 yes|no) ;;
115827 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
115828 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
115829 { (exit 1); exit 1; }; } ;;
115833 enable_visibility=yes
115837 if test x$enable_visibility = xyes ; then
115838 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
115839 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
115840 if test "${have_attribute_visibility+set}" = set; then
115841 echo $ECHO_N "(cached) $ECHO_C" >&6
115844 save_CFLAGS="$CFLAGS"
115845 CFLAGS="$CFLAGS -Werror"
115846 cat >conftest.$ac_ext <<_ACEOF
115847 /* confdefs.h. */
115848 _ACEOF
115849 cat confdefs.h >>conftest.$ac_ext
115850 cat >>conftest.$ac_ext <<_ACEOF
115851 /* end confdefs.h. */
115852 void __attribute__((visibility("hidden"))) foo(void) { }
115854 main ()
115858 return 0;
115860 _ACEOF
115861 rm -f conftest.$ac_objext
115862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115863 (eval $ac_compile) 2>conftest.er1
115864 ac_status=$?
115865 grep -v '^ *+' conftest.er1 >conftest.err
115866 rm -f conftest.er1
115867 cat conftest.err >&5
115868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115869 (exit $ac_status); } &&
115870 { ac_try='test -z "$ac_c_werror_flag"
115871 || test ! -s conftest.err'
115872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115873 (eval $ac_try) 2>&5
115874 ac_status=$?
115875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115876 (exit $ac_status); }; } &&
115877 { ac_try='test -s conftest.$ac_objext'
115878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115879 (eval $ac_try) 2>&5
115880 ac_status=$?
115881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115882 (exit $ac_status); }; }; then
115883 have_attribute_visibility=yes
115885 echo "$as_me: failed program was:" >&5
115886 sed 's/^/| /' conftest.$ac_ext >&5
115888 have_attribute_visibility=no
115890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115891 CFLAGS="$save_CFLAGS"
115893 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
115894 echo "${ECHO_T}$have_attribute_visibility" >&6
115895 if test $have_attribute_visibility = no; then
115896 enable_visibility=no
115901 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
115902 echo "$as_me: visibility supported: $enable_visibility" >&6;}
115905 ac_ldbl_compat=no
115906 case "$target" in
115907 powerpc*-*-linux* | \
115908 powerpc*-*-gnu* | \
115909 sparc*-*-linux* | \
115910 s390*-*-linux* | \
115911 alpha*-*-linux*)
115912 cat >conftest.$ac_ext <<_ACEOF
115913 /* confdefs.h. */
115914 _ACEOF
115915 cat confdefs.h >>conftest.$ac_ext
115916 cat >>conftest.$ac_ext <<_ACEOF
115917 /* end confdefs.h. */
115920 main ()
115923 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
115924 #error no need for long double compatibility
115925 #endif
115928 return 0;
115930 _ACEOF
115931 rm -f conftest.$ac_objext
115932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115933 (eval $ac_compile) 2>conftest.er1
115934 ac_status=$?
115935 grep -v '^ *+' conftest.er1 >conftest.err
115936 rm -f conftest.er1
115937 cat conftest.err >&5
115938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115939 (exit $ac_status); } &&
115940 { ac_try='test -z "$ac_c_werror_flag"
115941 || test ! -s conftest.err'
115942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115943 (eval $ac_try) 2>&5
115944 ac_status=$?
115945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115946 (exit $ac_status); }; } &&
115947 { ac_try='test -s conftest.$ac_objext'
115948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115949 (eval $ac_try) 2>&5
115950 ac_status=$?
115951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115952 (exit $ac_status); }; }; then
115953 ac_ldbl_compat=yes
115955 echo "$as_me: failed program was:" >&5
115956 sed 's/^/| /' conftest.$ac_ext >&5
115958 ac_ldbl_compat=no
115960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115961 if test "$ac_ldbl_compat" = yes; then
115963 cat >>confdefs.h <<\_ACEOF
115964 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
115965 _ACEOF
115967 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
115972 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
115974 if $GLIBCXX_IS_NATIVE ; then
115975 # Do checks for resource limit functions.
115977 setrlimit_have_headers=yes
115981 for ac_header in unistd.h sys/time.h sys/resource.h
115983 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
115984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
115985 echo "$as_me:$LINENO: checking for $ac_header" >&5
115986 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
115987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
115988 echo $ECHO_N "(cached) $ECHO_C" >&6
115990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
115991 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
115993 # Is the header compilable?
115994 echo "$as_me:$LINENO: checking $ac_header usability" >&5
115995 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
115996 cat >conftest.$ac_ext <<_ACEOF
115997 /* confdefs.h. */
115998 _ACEOF
115999 cat confdefs.h >>conftest.$ac_ext
116000 cat >>conftest.$ac_ext <<_ACEOF
116001 /* end confdefs.h. */
116002 $ac_includes_default
116003 #include <$ac_header>
116004 _ACEOF
116005 rm -f conftest.$ac_objext
116006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116007 (eval $ac_compile) 2>conftest.er1
116008 ac_status=$?
116009 grep -v '^ *+' conftest.er1 >conftest.err
116010 rm -f conftest.er1
116011 cat conftest.err >&5
116012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116013 (exit $ac_status); } &&
116014 { ac_try='test -z "$ac_c_werror_flag"
116015 || test ! -s conftest.err'
116016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116017 (eval $ac_try) 2>&5
116018 ac_status=$?
116019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116020 (exit $ac_status); }; } &&
116021 { ac_try='test -s conftest.$ac_objext'
116022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116023 (eval $ac_try) 2>&5
116024 ac_status=$?
116025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116026 (exit $ac_status); }; }; then
116027 ac_header_compiler=yes
116029 echo "$as_me: failed program was:" >&5
116030 sed 's/^/| /' conftest.$ac_ext >&5
116032 ac_header_compiler=no
116034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116035 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
116036 echo "${ECHO_T}$ac_header_compiler" >&6
116038 # Is the header present?
116039 echo "$as_me:$LINENO: checking $ac_header presence" >&5
116040 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
116041 cat >conftest.$ac_ext <<_ACEOF
116042 /* confdefs.h. */
116043 _ACEOF
116044 cat confdefs.h >>conftest.$ac_ext
116045 cat >>conftest.$ac_ext <<_ACEOF
116046 /* end confdefs.h. */
116047 #include <$ac_header>
116048 _ACEOF
116049 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
116050 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
116051 ac_status=$?
116052 grep -v '^ *+' conftest.er1 >conftest.err
116053 rm -f conftest.er1
116054 cat conftest.err >&5
116055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116056 (exit $ac_status); } >/dev/null; then
116057 if test -s conftest.err; then
116058 ac_cpp_err=$ac_c_preproc_warn_flag
116059 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
116061 ac_cpp_err=
116064 ac_cpp_err=yes
116066 if test -z "$ac_cpp_err"; then
116067 ac_header_preproc=yes
116069 echo "$as_me: failed program was:" >&5
116070 sed 's/^/| /' conftest.$ac_ext >&5
116072 ac_header_preproc=no
116074 rm -f conftest.err conftest.$ac_ext
116075 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
116076 echo "${ECHO_T}$ac_header_preproc" >&6
116078 # So? What about this header?
116079 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
116080 yes:no: )
116081 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
116082 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
116083 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
116084 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
116085 ac_header_preproc=yes
116087 no:yes:* )
116088 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
116089 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
116090 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
116091 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
116092 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
116093 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
116094 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
116095 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
116096 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
116097 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
116098 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
116099 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
116101 cat <<\_ASBOX
116102 ## ----------------------------------------- ##
116103 ## Report this to the package-unused lists. ##
116104 ## ----------------------------------------- ##
116105 _ASBOX
116107 sed "s/^/$as_me: WARNING: /" >&2
116110 echo "$as_me:$LINENO: checking for $ac_header" >&5
116111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
116112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
116113 echo $ECHO_N "(cached) $ECHO_C" >&6
116115 eval "$as_ac_Header=\$ac_header_preproc"
116117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
116118 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
116121 if test `eval echo '${'$as_ac_Header'}'` = yes; then
116122 cat >>confdefs.h <<_ACEOF
116123 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
116124 _ACEOF
116127 setrlimit_have_headers=no
116132 # If don't have the headers, then we can't run the tests now, and we
116133 # won't be seeing any of these during testsuite compilation.
116134 if test $setrlimit_have_headers = yes; then
116135 # Can't do these in a loop, else the resulting syntax is wrong.
116137 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
116138 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
116139 cat >conftest.$ac_ext <<_ACEOF
116140 /* confdefs.h. */
116141 _ACEOF
116142 cat confdefs.h >>conftest.$ac_ext
116143 cat >>conftest.$ac_ext <<_ACEOF
116144 /* end confdefs.h. */
116145 #include <unistd.h>
116146 #include <sys/time.h>
116147 #include <sys/resource.h>
116150 main ()
116152 int f = RLIMIT_DATA ;
116154 return 0;
116156 _ACEOF
116157 rm -f conftest.$ac_objext
116158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116159 (eval $ac_compile) 2>conftest.er1
116160 ac_status=$?
116161 grep -v '^ *+' conftest.er1 >conftest.err
116162 rm -f conftest.er1
116163 cat conftest.err >&5
116164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116165 (exit $ac_status); } &&
116166 { ac_try='test -z "$ac_c_werror_flag"
116167 || test ! -s conftest.err'
116168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116169 (eval $ac_try) 2>&5
116170 ac_status=$?
116171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116172 (exit $ac_status); }; } &&
116173 { ac_try='test -s conftest.$ac_objext'
116174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116175 (eval $ac_try) 2>&5
116176 ac_status=$?
116177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116178 (exit $ac_status); }; }; then
116179 glibcxx_mresult=1
116181 echo "$as_me: failed program was:" >&5
116182 sed 's/^/| /' conftest.$ac_ext >&5
116184 glibcxx_mresult=0
116186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116188 cat >>confdefs.h <<_ACEOF
116189 #define HAVE_LIMIT_DATA $glibcxx_mresult
116190 _ACEOF
116192 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116193 echo "$as_me:$LINENO: result: $res" >&5
116194 echo "${ECHO_T}$res" >&6
116197 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
116198 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
116199 cat >conftest.$ac_ext <<_ACEOF
116200 /* confdefs.h. */
116201 _ACEOF
116202 cat confdefs.h >>conftest.$ac_ext
116203 cat >>conftest.$ac_ext <<_ACEOF
116204 /* end confdefs.h. */
116205 #include <unistd.h>
116206 #include <sys/time.h>
116207 #include <sys/resource.h>
116210 main ()
116212 int f = RLIMIT_RSS ;
116214 return 0;
116216 _ACEOF
116217 rm -f conftest.$ac_objext
116218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116219 (eval $ac_compile) 2>conftest.er1
116220 ac_status=$?
116221 grep -v '^ *+' conftest.er1 >conftest.err
116222 rm -f conftest.er1
116223 cat conftest.err >&5
116224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116225 (exit $ac_status); } &&
116226 { ac_try='test -z "$ac_c_werror_flag"
116227 || test ! -s conftest.err'
116228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116229 (eval $ac_try) 2>&5
116230 ac_status=$?
116231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116232 (exit $ac_status); }; } &&
116233 { ac_try='test -s conftest.$ac_objext'
116234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116235 (eval $ac_try) 2>&5
116236 ac_status=$?
116237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116238 (exit $ac_status); }; }; then
116239 glibcxx_mresult=1
116241 echo "$as_me: failed program was:" >&5
116242 sed 's/^/| /' conftest.$ac_ext >&5
116244 glibcxx_mresult=0
116246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116248 cat >>confdefs.h <<_ACEOF
116249 #define HAVE_LIMIT_RSS $glibcxx_mresult
116250 _ACEOF
116252 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116253 echo "$as_me:$LINENO: result: $res" >&5
116254 echo "${ECHO_T}$res" >&6
116257 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
116258 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
116259 cat >conftest.$ac_ext <<_ACEOF
116260 /* confdefs.h. */
116261 _ACEOF
116262 cat confdefs.h >>conftest.$ac_ext
116263 cat >>conftest.$ac_ext <<_ACEOF
116264 /* end confdefs.h. */
116265 #include <unistd.h>
116266 #include <sys/time.h>
116267 #include <sys/resource.h>
116270 main ()
116272 int f = RLIMIT_VMEM ;
116274 return 0;
116276 _ACEOF
116277 rm -f conftest.$ac_objext
116278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116279 (eval $ac_compile) 2>conftest.er1
116280 ac_status=$?
116281 grep -v '^ *+' conftest.er1 >conftest.err
116282 rm -f conftest.er1
116283 cat conftest.err >&5
116284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116285 (exit $ac_status); } &&
116286 { ac_try='test -z "$ac_c_werror_flag"
116287 || test ! -s conftest.err'
116288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116289 (eval $ac_try) 2>&5
116290 ac_status=$?
116291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116292 (exit $ac_status); }; } &&
116293 { ac_try='test -s conftest.$ac_objext'
116294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116295 (eval $ac_try) 2>&5
116296 ac_status=$?
116297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116298 (exit $ac_status); }; }; then
116299 glibcxx_mresult=1
116301 echo "$as_me: failed program was:" >&5
116302 sed 's/^/| /' conftest.$ac_ext >&5
116304 glibcxx_mresult=0
116306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116308 cat >>confdefs.h <<_ACEOF
116309 #define HAVE_LIMIT_VMEM $glibcxx_mresult
116310 _ACEOF
116312 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116313 echo "$as_me:$LINENO: result: $res" >&5
116314 echo "${ECHO_T}$res" >&6
116317 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
116318 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
116319 cat >conftest.$ac_ext <<_ACEOF
116320 /* confdefs.h. */
116321 _ACEOF
116322 cat confdefs.h >>conftest.$ac_ext
116323 cat >>conftest.$ac_ext <<_ACEOF
116324 /* end confdefs.h. */
116325 #include <unistd.h>
116326 #include <sys/time.h>
116327 #include <sys/resource.h>
116330 main ()
116332 int f = RLIMIT_AS ;
116334 return 0;
116336 _ACEOF
116337 rm -f conftest.$ac_objext
116338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116339 (eval $ac_compile) 2>conftest.er1
116340 ac_status=$?
116341 grep -v '^ *+' conftest.er1 >conftest.err
116342 rm -f conftest.er1
116343 cat conftest.err >&5
116344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116345 (exit $ac_status); } &&
116346 { ac_try='test -z "$ac_c_werror_flag"
116347 || test ! -s conftest.err'
116348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116349 (eval $ac_try) 2>&5
116350 ac_status=$?
116351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116352 (exit $ac_status); }; } &&
116353 { ac_try='test -s conftest.$ac_objext'
116354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116355 (eval $ac_try) 2>&5
116356 ac_status=$?
116357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116358 (exit $ac_status); }; }; then
116359 glibcxx_mresult=1
116361 echo "$as_me: failed program was:" >&5
116362 sed 's/^/| /' conftest.$ac_ext >&5
116364 glibcxx_mresult=0
116366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116368 cat >>confdefs.h <<_ACEOF
116369 #define HAVE_LIMIT_AS $glibcxx_mresult
116370 _ACEOF
116372 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116373 echo "$as_me:$LINENO: result: $res" >&5
116374 echo "${ECHO_T}$res" >&6
116377 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
116378 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
116379 cat >conftest.$ac_ext <<_ACEOF
116380 /* confdefs.h. */
116381 _ACEOF
116382 cat confdefs.h >>conftest.$ac_ext
116383 cat >>conftest.$ac_ext <<_ACEOF
116384 /* end confdefs.h. */
116385 #include <unistd.h>
116386 #include <sys/time.h>
116387 #include <sys/resource.h>
116390 main ()
116392 int f = RLIMIT_FSIZE ;
116394 return 0;
116396 _ACEOF
116397 rm -f conftest.$ac_objext
116398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116399 (eval $ac_compile) 2>conftest.er1
116400 ac_status=$?
116401 grep -v '^ *+' conftest.er1 >conftest.err
116402 rm -f conftest.er1
116403 cat conftest.err >&5
116404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116405 (exit $ac_status); } &&
116406 { ac_try='test -z "$ac_c_werror_flag"
116407 || test ! -s conftest.err'
116408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116409 (eval $ac_try) 2>&5
116410 ac_status=$?
116411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116412 (exit $ac_status); }; } &&
116413 { ac_try='test -s conftest.$ac_objext'
116414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116415 (eval $ac_try) 2>&5
116416 ac_status=$?
116417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116418 (exit $ac_status); }; }; then
116419 glibcxx_mresult=1
116421 echo "$as_me: failed program was:" >&5
116422 sed 's/^/| /' conftest.$ac_ext >&5
116424 glibcxx_mresult=0
116426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116428 cat >>confdefs.h <<_ACEOF
116429 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
116430 _ACEOF
116432 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116433 echo "$as_me:$LINENO: result: $res" >&5
116434 echo "${ECHO_T}$res" >&6
116437 # Check for rlimit, setrlimit.
116438 if test "${ac_setrlimit+set}" = set; then
116439 echo $ECHO_N "(cached) $ECHO_C" >&6
116442 cat >conftest.$ac_ext <<_ACEOF
116443 /* confdefs.h. */
116444 _ACEOF
116445 cat confdefs.h >>conftest.$ac_ext
116446 cat >>conftest.$ac_ext <<_ACEOF
116447 /* end confdefs.h. */
116448 #include <unistd.h>
116449 #include <sys/time.h>
116450 #include <sys/resource.h>
116453 main ()
116455 struct rlimit r;
116456 setrlimit(0, &r);
116458 return 0;
116460 _ACEOF
116461 rm -f conftest.$ac_objext
116462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116463 (eval $ac_compile) 2>conftest.er1
116464 ac_status=$?
116465 grep -v '^ *+' conftest.er1 >conftest.err
116466 rm -f conftest.er1
116467 cat conftest.err >&5
116468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116469 (exit $ac_status); } &&
116470 { ac_try='test -z "$ac_c_werror_flag"
116471 || test ! -s conftest.err'
116472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116473 (eval $ac_try) 2>&5
116474 ac_status=$?
116475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116476 (exit $ac_status); }; } &&
116477 { ac_try='test -s conftest.$ac_objext'
116478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116479 (eval $ac_try) 2>&5
116480 ac_status=$?
116481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116482 (exit $ac_status); }; }; then
116483 ac_setrlimit=yes
116485 echo "$as_me: failed program was:" >&5
116486 sed 's/^/| /' conftest.$ac_ext >&5
116488 ac_setrlimit=no
116490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116496 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
116497 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
116498 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
116499 ac_res_limits=yes
116501 cat >>confdefs.h <<\_ACEOF
116502 #define _GLIBCXX_RES_LIMITS 1
116503 _ACEOF
116506 ac_res_limits=no
116508 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
116509 echo "${ECHO_T}$ac_res_limits" >&6
116512 # Look for setenv, so that extended locale tests can be performed.
116514 echo "$as_me:$LINENO: checking for setenv declaration" >&5
116515 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
116516 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
116517 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
116518 echo $ECHO_N "(cached) $ECHO_C" >&6
116523 ac_ext=cc
116524 ac_cpp='$CXXCPP $CPPFLAGS'
116525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
116529 cat >conftest.$ac_ext <<_ACEOF
116530 /* confdefs.h. */
116531 _ACEOF
116532 cat confdefs.h >>conftest.$ac_ext
116533 cat >>conftest.$ac_ext <<_ACEOF
116534 /* end confdefs.h. */
116535 #include <stdlib.h>
116537 main ()
116539 setenv(0, 0, 0);
116541 return 0;
116543 _ACEOF
116544 rm -f conftest.$ac_objext
116545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116546 (eval $ac_compile) 2>conftest.er1
116547 ac_status=$?
116548 grep -v '^ *+' conftest.er1 >conftest.err
116549 rm -f conftest.er1
116550 cat conftest.err >&5
116551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116552 (exit $ac_status); } &&
116553 { ac_try='test -z "$ac_cxx_werror_flag"
116554 || test ! -s conftest.err'
116555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116556 (eval $ac_try) 2>&5
116557 ac_status=$?
116558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116559 (exit $ac_status); }; } &&
116560 { ac_try='test -s conftest.$ac_objext'
116561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116562 (eval $ac_try) 2>&5
116563 ac_status=$?
116564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116565 (exit $ac_status); }; }; then
116566 glibcxx_cv_func_setenv_use=yes
116568 echo "$as_me: failed program was:" >&5
116569 sed 's/^/| /' conftest.$ac_ext >&5
116571 glibcxx_cv_func_setenv_use=no
116573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116574 ac_ext=c
116575 ac_cpp='$CPP $CPPFLAGS'
116576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
116584 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
116585 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
116586 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
116588 for ac_func in setenv
116590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116591 echo "$as_me:$LINENO: checking for $ac_func" >&5
116592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116593 if eval "test \"\${$as_ac_var+set}\" = set"; then
116594 echo $ECHO_N "(cached) $ECHO_C" >&6
116596 if test x$gcc_no_link = xyes; then
116597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116599 { (exit 1); exit 1; }; }
116601 cat >conftest.$ac_ext <<_ACEOF
116602 /* confdefs.h. */
116603 _ACEOF
116604 cat confdefs.h >>conftest.$ac_ext
116605 cat >>conftest.$ac_ext <<_ACEOF
116606 /* end confdefs.h. */
116607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
116609 #define $ac_func innocuous_$ac_func
116611 /* System header to define __stub macros and hopefully few prototypes,
116612 which can conflict with char $ac_func (); below.
116613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116614 <limits.h> exists even on freestanding compilers. */
116616 #ifdef __STDC__
116617 # include <limits.h>
116618 #else
116619 # include <assert.h>
116620 #endif
116622 #undef $ac_func
116624 /* Override any gcc2 internal prototype to avoid an error. */
116625 #ifdef __cplusplus
116626 extern "C"
116628 #endif
116629 /* We use char because int might match the return type of a gcc2
116630 builtin and then its argument prototype would still apply. */
116631 char $ac_func ();
116632 /* The GNU C library defines this for functions which it implements
116633 to always fail with ENOSYS. Some functions are actually named
116634 something starting with __ and the normal name is an alias. */
116635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116636 choke me
116637 #else
116638 char (*f) () = $ac_func;
116639 #endif
116640 #ifdef __cplusplus
116642 #endif
116645 main ()
116647 return f != $ac_func;
116649 return 0;
116651 _ACEOF
116652 rm -f conftest.$ac_objext conftest$ac_exeext
116653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116654 (eval $ac_link) 2>conftest.er1
116655 ac_status=$?
116656 grep -v '^ *+' conftest.er1 >conftest.err
116657 rm -f conftest.er1
116658 cat conftest.err >&5
116659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116660 (exit $ac_status); } &&
116661 { ac_try='test -z "$ac_c_werror_flag"
116662 || test ! -s conftest.err'
116663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116664 (eval $ac_try) 2>&5
116665 ac_status=$?
116666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116667 (exit $ac_status); }; } &&
116668 { ac_try='test -s conftest$ac_exeext'
116669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116670 (eval $ac_try) 2>&5
116671 ac_status=$?
116672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116673 (exit $ac_status); }; }; then
116674 eval "$as_ac_var=yes"
116676 echo "$as_me: failed program was:" >&5
116677 sed 's/^/| /' conftest.$ac_ext >&5
116679 eval "$as_ac_var=no"
116681 rm -f conftest.err conftest.$ac_objext \
116682 conftest$ac_exeext conftest.$ac_ext
116684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116686 if test `eval echo '${'$as_ac_var'}'` = yes; then
116687 cat >>confdefs.h <<_ACEOF
116688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116689 _ACEOF
116698 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
116699 test $enable_symvers != no; then
116700 case "$host" in
116701 *-*-cygwin*)
116702 enable_abi_check=no ;;
116704 enable_abi_check=yes ;;
116707 # Only build this as native, since automake does not understand
116708 # CXX_FOR_BUILD.
116709 enable_abi_check=no
116712 # Export file names for ABI checking.
116713 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
116717 # Propagate the target-specific source directories through the build chain.
116718 ATOMICITY_SRCDIR=config/${atomicity_dir}
116719 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
116720 ATOMIC_FLAGS=${atomic_flags}
116721 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
116722 OS_INC_SRCDIR=config/${os_include_dir}
116723 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
116724 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
116734 # Determine cross-compile flags and AM_CONDITIONALs.
116735 #AC_SUBST(GLIBCXX_IS_NATIVE)
116736 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
116737 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
116738 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
116741 if test $is_hosted = yes; then
116742 GLIBCXX_HOSTED_TRUE=
116743 GLIBCXX_HOSTED_FALSE='#'
116745 GLIBCXX_HOSTED_TRUE='#'
116746 GLIBCXX_HOSTED_FALSE=
116752 if test $enable_libstdcxx_pch = yes; then
116753 GLIBCXX_BUILD_PCH_TRUE=
116754 GLIBCXX_BUILD_PCH_FALSE='#'
116756 GLIBCXX_BUILD_PCH_TRUE='#'
116757 GLIBCXX_BUILD_PCH_FALSE=
116763 if test $enable_cheaders = c; then
116764 GLIBCXX_C_HEADERS_C_TRUE=
116765 GLIBCXX_C_HEADERS_C_FALSE='#'
116767 GLIBCXX_C_HEADERS_C_TRUE='#'
116768 GLIBCXX_C_HEADERS_C_FALSE=
116774 if test $enable_cheaders = c_std; then
116775 GLIBCXX_C_HEADERS_C_STD_TRUE=
116776 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
116778 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
116779 GLIBCXX_C_HEADERS_C_STD_FALSE=
116785 if test $enable_cheaders = c_global; then
116786 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
116787 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
116789 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
116790 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
116796 if test $c_compatibility = yes; then
116797 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
116798 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
116800 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
116801 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
116807 if test $c_extra = yes; then
116808 GLIBCXX_C_HEADERS_EXTRA_TRUE=
116809 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
116811 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
116812 GLIBCXX_C_HEADERS_EXTRA_FALSE=
116818 if test $enable_libstdcxx_debug = yes; then
116819 GLIBCXX_BUILD_DEBUG_TRUE=
116820 GLIBCXX_BUILD_DEBUG_FALSE='#'
116822 GLIBCXX_BUILD_DEBUG_TRUE='#'
116823 GLIBCXX_BUILD_DEBUG_FALSE=
116829 if test $enable_parallel = yes; then
116830 ENABLE_PARALLEL_TRUE=
116831 ENABLE_PARALLEL_FALSE='#'
116833 ENABLE_PARALLEL_TRUE='#'
116834 ENABLE_PARALLEL_FALSE=
116840 if test $enable_symvers != no; then
116841 ENABLE_SYMVERS_TRUE=
116842 ENABLE_SYMVERS_FALSE='#'
116844 ENABLE_SYMVERS_TRUE='#'
116845 ENABLE_SYMVERS_FALSE=
116851 if test $enable_symvers = gnu; then
116852 ENABLE_SYMVERS_GNU_TRUE=
116853 ENABLE_SYMVERS_GNU_FALSE='#'
116855 ENABLE_SYMVERS_GNU_TRUE='#'
116856 ENABLE_SYMVERS_GNU_FALSE=
116862 if test $enable_symvers = gnu-versioned-namespace; then
116863 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
116864 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
116866 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
116867 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
116873 if test $enable_symvers = darwin; then
116874 ENABLE_SYMVERS_DARWIN_TRUE=
116875 ENABLE_SYMVERS_DARWIN_FALSE='#'
116877 ENABLE_SYMVERS_DARWIN_TRUE='#'
116878 ENABLE_SYMVERS_DARWIN_FALSE=
116884 if test $enable_visibility = yes; then
116885 ENABLE_VISIBILITY_TRUE=
116886 ENABLE_VISIBILITY_FALSE='#'
116888 ENABLE_VISIBILITY_TRUE='#'
116889 ENABLE_VISIBILITY_FALSE=
116895 if test $ac_ldbl_compat = yes; then
116896 GLIBCXX_LDBL_COMPAT_TRUE=
116897 GLIBCXX_LDBL_COMPAT_FALSE='#'
116899 GLIBCXX_LDBL_COMPAT_TRUE='#'
116900 GLIBCXX_LDBL_COMPAT_FALSE=
116906 cat >confcache <<\_ACEOF
116907 # This file is a shell script that caches the results of configure
116908 # tests run on this system so they can be shared between configure
116909 # scripts and configure runs, see configure's option --config-cache.
116910 # It is not useful on other systems. If it contains results you don't
116911 # want to keep, you may remove or edit it.
116913 # config.status only pays attention to the cache file if you give it
116914 # the --recheck option to rerun configure.
116916 # `ac_cv_env_foo' variables (set or unset) will be overridden when
116917 # loading this file, other *unset* `ac_cv_foo' will be assigned the
116918 # following values.
116920 _ACEOF
116922 # The following way of writing the cache mishandles newlines in values,
116923 # but we know of no workaround that is simple, portable, and efficient.
116924 # So, don't put newlines in cache variables' values.
116925 # Ultrix sh set writes to stderr and can't be redirected directly,
116926 # and sets the high bit in the cache file unless we assign to the vars.
116928 (set) 2>&1 |
116929 case `(ac_space=' '; set | grep ac_space) 2>&1` in
116930 *ac_space=\ *)
116931 # `set' does not quote correctly, so add quotes (double-quote
116932 # substitution turns \\\\ into \\, and sed turns \\ into \).
116933 sed -n \
116934 "s/'/'\\\\''/g;
116935 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
116938 # `set' quotes correctly as required by POSIX, so do not add quotes.
116939 sed -n \
116940 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
116942 esac;
116944 sed '
116945 t clear
116946 : clear
116947 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
116948 t end
116949 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
116950 : end' >>confcache
116951 if diff $cache_file confcache >/dev/null 2>&1; then :; else
116952 if test -w $cache_file; then
116953 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
116954 cat confcache >$cache_file
116956 echo "not updating unwritable cache $cache_file"
116959 rm -f confcache
116961 if test ${multilib} = yes; then
116962 multilib_arg="--enable-multilib"
116964 multilib_arg=
116967 # Export all the install information.
116969 glibcxx_toolexecdir=no
116970 glibcxx_toolexeclibdir=no
116971 glibcxx_prefixdir=$prefix
116973 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
116974 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
116976 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
116977 if test "${with_gxx_include_dir+set}" = set; then
116978 withval="$with_gxx_include_dir"
116979 case "$withval" in
116980 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
116981 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
116982 { (exit 1); exit 1; }; } ;;
116983 no) gxx_include_dir=no ;;
116984 *) gxx_include_dir=$withval ;;
116987 gxx_include_dir=no
116989 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
116990 echo "${ECHO_T}$gxx_include_dir" >&6
116992 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
116993 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
116994 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
116995 if test "${enable_version_specific_runtime_libs+set}" = set; then
116996 enableval="$enable_version_specific_runtime_libs"
116997 case "$enableval" in
116998 yes) version_specific_libs=yes ;;
116999 no) version_specific_libs=no ;;
117000 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
117001 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
117002 { (exit 1); exit 1; }; };;
117005 version_specific_libs=no
117007 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
117008 echo "${ECHO_T}$version_specific_libs" >&6
117010 # Default case for install directory for include files.
117011 if test $version_specific_libs = no && test $gxx_include_dir = no; then
117012 gxx_include_dir='include/c++/${gcc_version}'
117013 if test -n "$with_cross_host" &&
117014 test x"$with_cross_host" != x"no"; then
117015 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
117017 gxx_include_dir='${prefix}/'"$gxx_include_dir"
117021 # Version-specific runtime libs processing.
117022 if test $version_specific_libs = yes; then
117023 # Need the gcc compiler version to know where to install libraries
117024 # and header files if --enable-version-specific-runtime-libs option
117025 # is selected. FIXME: these variables are misnamed, there are
117026 # no executables installed in _toolexecdir or _toolexeclibdir.
117027 if test x"$gxx_include_dir" = x"no"; then
117028 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
117030 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
117031 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
117034 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
117035 # Install a library built with a cross compiler in tooldir, not libdir.
117036 if test x"$glibcxx_toolexecdir" = x"no"; then
117037 if test -n "$with_cross_host" &&
117038 test x"$with_cross_host" != x"no"; then
117039 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
117040 glibcxx_toolexeclibdir='${toolexecdir}/lib'
117042 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
117043 glibcxx_toolexeclibdir='${libdir}'
117045 multi_os_directory=`$CXX -print-multi-os-directory`
117046 case $multi_os_directory in
117047 .) ;; # Avoid trailing /.
117048 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
117052 echo "$as_me:$LINENO: checking for install location" >&5
117053 echo $ECHO_N "checking for install location... $ECHO_C" >&6
117054 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
117055 echo "${ECHO_T}$gxx_include_dir" >&6
117063 # Export all the include and flag information to Makefiles.
117065 # Used for every C++ compile we perform.
117066 GLIBCXX_INCLUDES="\
117067 -I$glibcxx_builddir/include/$host_alias \
117068 -I$glibcxx_builddir/include \
117069 -I$glibcxx_srcdir/libsupc++"
117071 # For Canadian crosses, pick this up too.
117072 if test $CANADIAN = yes; then
117073 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
117076 # Stuff in the actual top level. Currently only used by libsupc++ to
117077 # get unwind* headers from the gcc dir.
117078 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
117079 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
117081 # Now, export this to all the little Makefiles....
117086 # Optimization flags that are probably a good idea for thrill-seekers. Just
117087 # uncomment the lines below and make, everything else is ready to go...
117088 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
117089 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
117092 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
117096 if test "$enable_shared" = yes; then
117097 LIBSUPCXX_PICFLAGS="-prefer-pic"
117099 LIBSUPCXX_PICFLAGS=
117103 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
117105 ac_config_files="$ac_config_files scripts/testsuite_flags"
117108 ac_config_commands="$ac_config_commands default"
117111 cat >confcache <<\_ACEOF
117112 # This file is a shell script that caches the results of configure
117113 # tests run on this system so they can be shared between configure
117114 # scripts and configure runs, see configure's option --config-cache.
117115 # It is not useful on other systems. If it contains results you don't
117116 # want to keep, you may remove or edit it.
117118 # config.status only pays attention to the cache file if you give it
117119 # the --recheck option to rerun configure.
117121 # `ac_cv_env_foo' variables (set or unset) will be overridden when
117122 # loading this file, other *unset* `ac_cv_foo' will be assigned the
117123 # following values.
117125 _ACEOF
117127 # The following way of writing the cache mishandles newlines in values,
117128 # but we know of no workaround that is simple, portable, and efficient.
117129 # So, don't put newlines in cache variables' values.
117130 # Ultrix sh set writes to stderr and can't be redirected directly,
117131 # and sets the high bit in the cache file unless we assign to the vars.
117133 (set) 2>&1 |
117134 case `(ac_space=' '; set | grep ac_space) 2>&1` in
117135 *ac_space=\ *)
117136 # `set' does not quote correctly, so add quotes (double-quote
117137 # substitution turns \\\\ into \\, and sed turns \\ into \).
117138 sed -n \
117139 "s/'/'\\\\''/g;
117140 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
117143 # `set' quotes correctly as required by POSIX, so do not add quotes.
117144 sed -n \
117145 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
117147 esac;
117149 sed '
117150 t clear
117151 : clear
117152 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
117153 t end
117154 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
117155 : end' >>confcache
117156 if diff $cache_file confcache >/dev/null 2>&1; then :; else
117157 if test -w $cache_file; then
117158 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
117159 cat confcache >$cache_file
117161 echo "not updating unwritable cache $cache_file"
117164 rm -f confcache
117166 test "x$prefix" = xNONE && prefix=$ac_default_prefix
117167 # Let make expand exec_prefix.
117168 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
117170 # VPATH may cause trouble with some makes, so we remove $(srcdir),
117171 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
117172 # trailing colons and then remove the whole line if VPATH becomes empty
117173 # (actually we leave an empty line to preserve line numbers).
117174 if test "x$srcdir" = x.; then
117175 ac_vpsub='/^[ ]*VPATH[ ]*=/{
117176 s/:*\$(srcdir):*/:/;
117177 s/:*\${srcdir}:*/:/;
117178 s/:*@srcdir@:*/:/;
117179 s/^\([^=]*=[ ]*\):*/\1/;
117180 s/:*$//;
117181 s/^[^=]*=[ ]*$//;
117185 DEFS=-DHAVE_CONFIG_H
117187 ac_libobjs=
117188 ac_ltlibobjs=
117189 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
117190 # 1. Remove the extension, and $U if already installed.
117191 ac_i=`echo "$ac_i" |
117192 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
117193 # 2. Add them.
117194 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
117195 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
117197 LIBOBJS=$ac_libobjs
117199 LTLIBOBJS=$ac_ltlibobjs
117202 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
117203 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
117204 Usually this means the macro was only invoked conditionally." >&5
117205 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
117206 Usually this means the macro was only invoked conditionally." >&2;}
117207 { (exit 1); exit 1; }; }
117209 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
117210 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
117211 Usually this means the macro was only invoked conditionally." >&5
117212 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
117213 Usually this means the macro was only invoked conditionally." >&2;}
117214 { (exit 1); exit 1; }; }
117216 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
117217 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
117218 Usually this means the macro was only invoked conditionally." >&5
117219 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
117220 Usually this means the macro was only invoked conditionally." >&2;}
117221 { (exit 1); exit 1; }; }
117223 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
117224 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
117225 Usually this means the macro was only invoked conditionally." >&5
117226 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
117227 Usually this means the macro was only invoked conditionally." >&2;}
117228 { (exit 1); exit 1; }; }
117230 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
117231 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
117232 Usually this means the macro was only invoked conditionally." >&5
117233 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
117234 Usually this means the macro was only invoked conditionally." >&2;}
117235 { (exit 1); exit 1; }; }
117237 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
117238 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
117239 Usually this means the macro was only invoked conditionally." >&5
117240 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
117241 Usually this means the macro was only invoked conditionally." >&2;}
117242 { (exit 1); exit 1; }; }
117244 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
117245 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
117246 Usually this means the macro was only invoked conditionally." >&5
117247 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
117248 Usually this means the macro was only invoked conditionally." >&2;}
117249 { (exit 1); exit 1; }; }
117251 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
117252 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
117253 Usually this means the macro was only invoked conditionally." >&5
117254 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
117255 Usually this means the macro was only invoked conditionally." >&2;}
117256 { (exit 1); exit 1; }; }
117258 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
117259 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
117260 Usually this means the macro was only invoked conditionally." >&5
117261 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
117262 Usually this means the macro was only invoked conditionally." >&2;}
117263 { (exit 1); exit 1; }; }
117265 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
117266 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
117267 Usually this means the macro was only invoked conditionally." >&5
117268 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
117269 Usually this means the macro was only invoked conditionally." >&2;}
117270 { (exit 1); exit 1; }; }
117272 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
117273 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
117274 Usually this means the macro was only invoked conditionally." >&5
117275 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
117276 Usually this means the macro was only invoked conditionally." >&2;}
117277 { (exit 1); exit 1; }; }
117279 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
117280 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
117281 Usually this means the macro was only invoked conditionally." >&5
117282 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
117283 Usually this means the macro was only invoked conditionally." >&2;}
117284 { (exit 1); exit 1; }; }
117286 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
117287 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
117288 Usually this means the macro was only invoked conditionally." >&5
117289 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
117290 Usually this means the macro was only invoked conditionally." >&2;}
117291 { (exit 1); exit 1; }; }
117293 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
117294 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
117295 Usually this means the macro was only invoked conditionally." >&5
117296 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
117297 Usually this means the macro was only invoked conditionally." >&2;}
117298 { (exit 1); exit 1; }; }
117300 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
117301 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
117302 Usually this means the macro was only invoked conditionally." >&5
117303 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
117304 Usually this means the macro was only invoked conditionally." >&2;}
117305 { (exit 1); exit 1; }; }
117307 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
117308 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
117309 Usually this means the macro was only invoked conditionally." >&5
117310 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
117311 Usually this means the macro was only invoked conditionally." >&2;}
117312 { (exit 1); exit 1; }; }
117315 : ${CONFIG_STATUS=./config.status}
117316 ac_clean_files_save=$ac_clean_files
117317 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
117318 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
117319 echo "$as_me: creating $CONFIG_STATUS" >&6;}
117320 cat >$CONFIG_STATUS <<_ACEOF
117321 #! $SHELL
117322 # Generated by $as_me.
117323 # Run this file to recreate the current configuration.
117324 # Compiler output produced by configure, useful for debugging
117325 # configure, is in config.log if it exists.
117327 debug=false
117328 ac_cs_recheck=false
117329 ac_cs_silent=false
117330 SHELL=\${CONFIG_SHELL-$SHELL}
117331 _ACEOF
117333 cat >>$CONFIG_STATUS <<\_ACEOF
117334 ## --------------------- ##
117335 ## M4sh Initialization. ##
117336 ## --------------------- ##
117338 # Be Bourne compatible
117339 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
117340 emulate sh
117341 NULLCMD=:
117342 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
117343 # is contrary to our usage. Disable this feature.
117344 alias -g '${1+"$@"}'='"$@"'
117345 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
117346 set -o posix
117348 DUALCASE=1; export DUALCASE # for MKS sh
117350 # Support unset when possible.
117351 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
117352 as_unset=unset
117354 as_unset=false
117358 # Work around bugs in pre-3.0 UWIN ksh.
117359 $as_unset ENV MAIL MAILPATH
117360 PS1='$ '
117361 PS2='> '
117362 PS4='+ '
117364 # NLS nuisances.
117365 for as_var in \
117366 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
117367 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
117368 LC_TELEPHONE LC_TIME
117370 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
117371 eval $as_var=C; export $as_var
117373 $as_unset $as_var
117377 # Required to use basename.
117378 if expr a : '\(a\)' >/dev/null 2>&1; then
117379 as_expr=expr
117381 as_expr=false
117384 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
117385 as_basename=basename
117387 as_basename=false
117391 # Name of the executable.
117392 as_me=`$as_basename "$0" ||
117393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
117394 X"$0" : 'X\(//\)$' \| \
117395 X"$0" : 'X\(/\)$' \| \
117396 . : '\(.\)' 2>/dev/null ||
117397 echo X/"$0" |
117398 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
117399 /^X\/\(\/\/\)$/{ s//\1/; q; }
117400 /^X\/\(\/\).*/{ s//\1/; q; }
117401 s/.*/./; q'`
117404 # PATH needs CR, and LINENO needs CR and PATH.
117405 # Avoid depending upon Character Ranges.
117406 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
117407 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
117408 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
117409 as_cr_digits='0123456789'
117410 as_cr_alnum=$as_cr_Letters$as_cr_digits
117412 # The user is always right.
117413 if test "${PATH_SEPARATOR+set}" != set; then
117414 echo "#! /bin/sh" >conf$$.sh
117415 echo "exit 0" >>conf$$.sh
117416 chmod +x conf$$.sh
117417 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
117418 PATH_SEPARATOR=';'
117420 PATH_SEPARATOR=:
117422 rm -f conf$$.sh
117426 as_lineno_1=$LINENO
117427 as_lineno_2=$LINENO
117428 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
117429 test "x$as_lineno_1" != "x$as_lineno_2" &&
117430 test "x$as_lineno_3" = "x$as_lineno_2" || {
117431 # Find who we are. Look in the path if we contain no path at all
117432 # relative or not.
117433 case $0 in
117434 *[\\/]* ) as_myself=$0 ;;
117435 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
117436 for as_dir in $PATH
117438 IFS=$as_save_IFS
117439 test -z "$as_dir" && as_dir=.
117440 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117445 # We did not find ourselves, most probably we were run as `sh COMMAND'
117446 # in which case we are not to be found in the path.
117447 if test "x$as_myself" = x; then
117448 as_myself=$0
117450 if test ! -f "$as_myself"; then
117451 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
117452 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
117453 { (exit 1); exit 1; }; }
117455 case $CONFIG_SHELL in
117457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
117458 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
117460 IFS=$as_save_IFS
117461 test -z "$as_dir" && as_dir=.
117462 for as_base in sh bash ksh sh5; do
117463 case $as_dir in
117465 if ("$as_dir/$as_base" -c '
117466 as_lineno_1=$LINENO
117467 as_lineno_2=$LINENO
117468 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
117469 test "x$as_lineno_1" != "x$as_lineno_2" &&
117470 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
117471 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
117472 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
117473 CONFIG_SHELL=$as_dir/$as_base
117474 export CONFIG_SHELL
117475 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
117483 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
117484 # uniformly replaced by the line number. The first 'sed' inserts a
117485 # line-number line before each line; the second 'sed' does the real
117486 # work. The second script uses 'N' to pair each line-number line
117487 # with the numbered line, and appends trailing '-' during
117488 # substitution so that $LINENO is not a special case at line end.
117489 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
117490 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
117491 sed '=' <$as_myself |
117492 sed '
117494 s,$,-,
117495 : loop
117496 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
117497 t loop
117498 s,-$,,
117499 s,^['$as_cr_digits']*\n,,
117500 ' >$as_me.lineno &&
117501 chmod +x $as_me.lineno ||
117502 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
117503 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
117504 { (exit 1); exit 1; }; }
117506 # Don't try to exec as it changes $[0], causing all sort of problems
117507 # (the dirname of $[0] is not the place where we might find the
117508 # original and so on. Autoconf is especially sensible to this).
117509 . ./$as_me.lineno
117510 # Exit status is that of the last command.
117515 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
117516 *c*,-n*) ECHO_N= ECHO_C='
117517 ' ECHO_T=' ' ;;
117518 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
117519 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
117522 if expr a : '\(a\)' >/dev/null 2>&1; then
117523 as_expr=expr
117525 as_expr=false
117528 rm -f conf$$ conf$$.exe conf$$.file
117529 echo >conf$$.file
117530 if ln -s conf$$.file conf$$ 2>/dev/null; then
117531 # We could just check for DJGPP; but this test a) works b) is more generic
117532 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
117533 if test -f conf$$.exe; then
117534 # Don't use ln at all; we don't have any links
117535 as_ln_s='cp -p'
117537 as_ln_s='ln -s'
117539 elif ln conf$$.file conf$$ 2>/dev/null; then
117540 as_ln_s=ln
117542 as_ln_s='cp -p'
117544 rm -f conf$$ conf$$.exe conf$$.file
117546 if mkdir -p . 2>/dev/null; then
117547 as_mkdir_p=:
117549 test -d ./-p && rmdir ./-p
117550 as_mkdir_p=false
117553 as_executable_p="test -f"
117555 # Sed expression to map a string onto a valid CPP name.
117556 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
117558 # Sed expression to map a string onto a valid variable name.
117559 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
117562 # IFS
117563 # We need space, tab and new line, in precisely that order.
117564 as_nl='
117566 IFS=" $as_nl"
117568 # CDPATH.
117569 $as_unset CDPATH
117571 exec 6>&1
117573 # Open the log real soon, to keep \$[0] and so on meaningful, and to
117574 # report actual input values of CONFIG_FILES etc. instead of their
117575 # values after options handling. Logging --version etc. is OK.
117576 exec 5>>config.log
117579 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
117580 ## Running $as_me. ##
117581 _ASBOX
117582 } >&5
117583 cat >&5 <<_CSEOF
117585 This file was extended by package-unused $as_me version-unused, which was
117586 generated by GNU Autoconf 2.59. Invocation command line was
117588 CONFIG_FILES = $CONFIG_FILES
117589 CONFIG_HEADERS = $CONFIG_HEADERS
117590 CONFIG_LINKS = $CONFIG_LINKS
117591 CONFIG_COMMANDS = $CONFIG_COMMANDS
117592 $ $0 $@
117594 _CSEOF
117595 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
117596 echo >&5
117597 _ACEOF
117599 # Files that config.status was made for.
117600 if test -n "$ac_config_files"; then
117601 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
117604 if test -n "$ac_config_headers"; then
117605 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
117608 if test -n "$ac_config_links"; then
117609 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
117612 if test -n "$ac_config_commands"; then
117613 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
117616 cat >>$CONFIG_STATUS <<\_ACEOF
117618 ac_cs_usage="\
117619 \`$as_me' instantiates files from templates according to the
117620 current configuration.
117622 Usage: $0 [OPTIONS] [FILE]...
117624 -h, --help print this help, then exit
117625 -V, --version print version number, then exit
117626 -q, --quiet do not print progress messages
117627 -d, --debug don't remove temporary files
117628 --recheck update $as_me by reconfiguring in the same conditions
117629 --file=FILE[:TEMPLATE]
117630 instantiate the configuration file FILE
117631 --header=FILE[:TEMPLATE]
117632 instantiate the configuration header FILE
117634 Configuration files:
117635 $config_files
117637 Configuration headers:
117638 $config_headers
117640 Configuration commands:
117641 $config_commands
117643 Report bugs to <bug-autoconf@gnu.org>."
117644 _ACEOF
117646 cat >>$CONFIG_STATUS <<_ACEOF
117647 ac_cs_version="\\
117648 package-unused config.status version-unused
117649 configured by $0, generated by GNU Autoconf 2.59,
117650 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
117652 Copyright (C) 2003 Free Software Foundation, Inc.
117653 This config.status script is free software; the Free Software Foundation
117654 gives unlimited permission to copy, distribute and modify it."
117655 srcdir=$srcdir
117656 INSTALL="$INSTALL"
117657 _ACEOF
117659 cat >>$CONFIG_STATUS <<\_ACEOF
117660 # If no file are specified by the user, then we need to provide default
117661 # value. By we need to know if files were specified by the user.
117662 ac_need_defaults=:
117663 while test $# != 0
117665 case $1 in
117666 --*=*)
117667 ac_option=`expr "x$1" : 'x\([^=]*\)='`
117668 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
117669 ac_shift=:
117672 ac_option=$1
117673 ac_optarg=$2
117674 ac_shift=shift
117676 *) # This is not an option, so the user has probably given explicit
117677 # arguments.
117678 ac_option=$1
117679 ac_need_defaults=false;;
117682 case $ac_option in
117683 # Handling of the options.
117684 _ACEOF
117685 cat >>$CONFIG_STATUS <<\_ACEOF
117686 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
117687 ac_cs_recheck=: ;;
117688 --version | --vers* | -V )
117689 echo "$ac_cs_version"; exit 0 ;;
117690 --he | --h)
117691 # Conflict between --help and --header
117692 { { echo "$as_me:$LINENO: error: ambiguous option: $1
117693 Try \`$0 --help' for more information." >&5
117694 echo "$as_me: error: ambiguous option: $1
117695 Try \`$0 --help' for more information." >&2;}
117696 { (exit 1); exit 1; }; };;
117697 --help | --hel | -h )
117698 echo "$ac_cs_usage"; exit 0 ;;
117699 --debug | --d* | -d )
117700 debug=: ;;
117701 --file | --fil | --fi | --f )
117702 $ac_shift
117703 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
117704 ac_need_defaults=false;;
117705 --header | --heade | --head | --hea )
117706 $ac_shift
117707 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
117708 ac_need_defaults=false;;
117709 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
117710 | -silent | --silent | --silen | --sile | --sil | --si | --s)
117711 ac_cs_silent=: ;;
117713 # This is an error.
117714 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
117715 Try \`$0 --help' for more information." >&5
117716 echo "$as_me: error: unrecognized option: $1
117717 Try \`$0 --help' for more information." >&2;}
117718 { (exit 1); exit 1; }; } ;;
117720 *) ac_config_targets="$ac_config_targets $1" ;;
117723 shift
117726 ac_configure_extra_args=
117728 if $ac_cs_silent; then
117729 exec 6>/dev/null
117730 ac_configure_extra_args="$ac_configure_extra_args --silent"
117733 _ACEOF
117734 cat >>$CONFIG_STATUS <<_ACEOF
117735 if \$ac_cs_recheck; then
117736 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
117737 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
117740 _ACEOF
117742 cat >>$CONFIG_STATUS <<_ACEOF
117744 # INIT-COMMANDS section.
117748 srcdir="$srcdir"
117749 host="$host"
117750 target="$target"
117751 with_multisubdir="$with_multisubdir"
117752 with_multisrctop="$with_multisrctop"
117753 with_target_subdir="$with_target_subdir"
117754 ac_configure_args="${multilib_arg} ${ac_configure_args}"
117755 multi_basedir="$multi_basedir"
117756 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
117757 CC="$CC"
117760 # The HP-UX ksh and POSIX shell print the target directory to stdout
117761 # if CDPATH is set.
117762 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
117764 sed_quote_subst='$sed_quote_subst'
117765 double_quote_subst='$double_quote_subst'
117766 delay_variable_subst='$delay_variable_subst'
117767 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
117768 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
117769 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
117770 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
117771 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
117772 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
117773 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
117774 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
117775 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
117776 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
117777 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
117778 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
117779 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
117780 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
117781 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
117782 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
117783 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
117784 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
117785 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
117786 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
117787 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
117788 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
117789 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
117790 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
117791 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
117792 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
117793 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
117794 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117795 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
117796 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
117797 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
117798 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
117799 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
117800 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
117801 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117802 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117803 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117804 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
117805 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
117806 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
117807 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
117808 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
117809 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
117810 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"`'
117811 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
117812 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
117813 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
117814 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
117815 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
117816 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
117817 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
117818 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
117819 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
117820 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
117821 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
117822 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117823 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117824 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
117825 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
117826 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
117827 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
117828 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
117829 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117830 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117831 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117832 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117833 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117834 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117835 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
117836 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
117837 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
117838 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
117839 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
117840 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
117841 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
117842 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
117843 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
117844 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
117845 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
117846 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
117847 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
117848 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
117849 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
117850 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117851 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
117852 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
117853 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117854 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
117855 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
117856 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
117857 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
117858 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
117859 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
117860 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
117861 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
117862 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
117863 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
117864 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
117865 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117866 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117867 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117868 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
117869 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
117870 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
117871 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
117872 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
117873 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
117874 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
117875 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
117876 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
117877 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
117878 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
117879 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
117880 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
117881 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
117882 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
117883 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117884 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117885 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117886 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117887 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117888 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117889 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117890 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117891 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117892 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117893 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117894 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117895 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117896 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117897 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117898 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117899 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117900 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117901 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117902 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117903 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117904 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117905 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117906 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117907 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117908 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117909 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117910 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117911 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117912 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117913 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117914 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117915 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117916 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117917 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117918 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117919 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117920 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117921 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117922 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117923 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117924 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117925 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117926 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117927 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117928 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117930 LTCC='$LTCC'
117931 LTCFLAGS='$LTCFLAGS'
117932 compiler='$compiler_DEFAULT'
117934 # Quote evaled strings.
117935 for var in SED \
117936 GREP \
117937 EGREP \
117938 FGREP \
117941 LN_S \
117942 lt_SP2NL \
117943 lt_NL2SP \
117944 reload_flag \
117945 deplibs_check_method \
117946 file_magic_cmd \
117948 AR_FLAGS \
117949 STRIP \
117950 RANLIB \
117952 CFLAGS \
117953 compiler \
117954 lt_cv_sys_global_symbol_pipe \
117955 lt_cv_sys_global_symbol_to_cdecl \
117956 lt_cv_sys_global_symbol_to_c_name_address \
117957 SHELL \
117958 ECHO \
117959 lt_prog_compiler_no_builtin_flag \
117960 lt_prog_compiler_wl \
117961 lt_prog_compiler_pic \
117962 lt_prog_compiler_static \
117963 lt_cv_prog_compiler_c_o \
117964 need_locks \
117965 shrext_cmds \
117966 export_dynamic_flag_spec \
117967 whole_archive_flag_spec \
117968 compiler_needs_object \
117969 with_gnu_ld \
117970 allow_undefined_flag \
117971 no_undefined_flag \
117972 hardcode_libdir_flag_spec \
117973 hardcode_libdir_flag_spec_ld \
117974 hardcode_libdir_separator \
117975 fix_srcfile_path \
117976 exclude_expsyms \
117977 include_expsyms \
117978 file_list_spec \
117979 variables_saved_for_relink \
117980 libname_spec \
117981 library_names_spec \
117982 soname_spec \
117983 finish_eval \
117984 old_striplib \
117985 striplib \
117986 predep_objects \
117987 postdep_objects \
117988 predeps \
117989 postdeps \
117990 compiler_lib_search_path \
117991 LD_CXX \
117992 compiler_CXX \
117993 lt_prog_compiler_no_builtin_flag_CXX \
117994 lt_prog_compiler_wl_CXX \
117995 lt_prog_compiler_pic_CXX \
117996 lt_prog_compiler_static_CXX \
117997 lt_cv_prog_compiler_c_o_CXX \
117998 export_dynamic_flag_spec_CXX \
117999 whole_archive_flag_spec_CXX \
118000 compiler_needs_object_CXX \
118001 with_gnu_ld_CXX \
118002 allow_undefined_flag_CXX \
118003 no_undefined_flag_CXX \
118004 hardcode_libdir_flag_spec_CXX \
118005 hardcode_libdir_flag_spec_ld_CXX \
118006 hardcode_libdir_separator_CXX \
118007 fix_srcfile_path_CXX \
118008 exclude_expsyms_CXX \
118009 include_expsyms_CXX \
118010 file_list_spec_CXX \
118011 predep_objects_CXX \
118012 postdep_objects_CXX \
118013 predeps_CXX \
118014 postdeps_CXX \
118015 compiler_lib_search_path_CXX; do
118016 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
118017 *[\\\\\\\`\\"\\\$]*)
118018 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
118021 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
118026 # Double-quote double-evaled strings.
118027 for var in reload_cmds \
118028 old_postinstall_cmds \
118029 old_postuninstall_cmds \
118030 old_archive_cmds \
118031 extract_expsyms_cmds \
118032 old_archive_from_new_cmds \
118033 old_archive_from_expsyms_cmds \
118034 archive_cmds \
118035 archive_expsym_cmds \
118036 module_cmds \
118037 module_expsym_cmds \
118038 export_symbols_cmds \
118039 prelink_cmds \
118040 postinstall_cmds \
118041 postuninstall_cmds \
118042 finish_cmds \
118043 sys_lib_search_path_spec \
118044 sys_lib_dlsearch_path_spec \
118045 old_archive_cmds_CXX \
118046 old_archive_from_new_cmds_CXX \
118047 old_archive_from_expsyms_cmds_CXX \
118048 archive_cmds_CXX \
118049 archive_expsym_cmds_CXX \
118050 module_cmds_CXX \
118051 module_expsym_cmds_CXX \
118052 export_symbols_cmds_CXX \
118053 prelink_cmds_CXX; do
118054 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
118055 *[\\\\\\\`\\"\\\$]*)
118056 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
118059 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
118064 # Fix-up fallback echo if it was mangled by the above quoting rules.
118065 case \$lt_ECHO in
118066 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
118070 ac_aux_dir='$ac_aux_dir'
118071 xsi_shell='$xsi_shell'
118072 lt_shell_append='$lt_shell_append'
118074 # See if we are running on zsh, and set the options which allow our
118075 # commands through without removal of \ escapes INIT.
118076 if test -n "\${ZSH_VERSION+set}" ; then
118077 setopt NO_GLOB_SUBST
118081 PACKAGE='$PACKAGE'
118082 VERSION='$VERSION'
118083 TIMESTAMP='$TIMESTAMP'
118084 RM='$RM'
118085 ofile='$ofile'
118092 # Variables needed in config.status (file generation) which aren't already
118093 # passed by autoconf.
118094 SUBDIRS="$SUBDIRS"
118097 _ACEOF
118101 cat >>$CONFIG_STATUS <<\_ACEOF
118102 for ac_config_target in $ac_config_targets
118104 case "$ac_config_target" in
118105 # Handling of arguments.
118106 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
118107 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
118108 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
118109 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
118110 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
118111 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
118112 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
118113 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
118114 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
118115 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
118116 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
118117 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
118118 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
118119 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
118120 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
118121 { (exit 1); exit 1; }; };;
118125 # If the user did not use the arguments to specify the items to instantiate,
118126 # then the envvar interface is used. Set only those that are not.
118127 # We use the long form for the default assignment because of an extremely
118128 # bizarre bug on SunOS 4.1.3.
118129 if $ac_need_defaults; then
118130 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
118131 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
118132 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
118135 # Have a temporary directory for convenience. Make it in the build tree
118136 # simply because there is no reason to put it here, and in addition,
118137 # creating and moving files from /tmp can sometimes cause problems.
118138 # Create a temporary directory, and hook for its removal unless debugging.
118139 $debug ||
118141 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
118142 trap '{ (exit 1); exit 1; }' 1 2 13 15
118145 # Create a (secure) tmp directory for tmp files.
118148 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
118149 test -n "$tmp" && test -d "$tmp"
118152 tmp=./confstat$$-$RANDOM
118153 (umask 077 && mkdir $tmp)
118156 echo "$me: cannot create a temporary directory in ." >&2
118157 { (exit 1); exit 1; }
118160 _ACEOF
118162 cat >>$CONFIG_STATUS <<_ACEOF
118165 # CONFIG_FILES section.
118168 # No need to generate the scripts if there are no CONFIG_FILES.
118169 # This happens for instance when ./config.status config.h
118170 if test -n "\$CONFIG_FILES"; then
118171 # Protect against being on the right side of a sed subst in config.status.
118172 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
118173 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
118174 s,@SHELL@,$SHELL,;t t
118175 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
118176 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
118177 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
118178 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
118179 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
118180 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
118181 s,@exec_prefix@,$exec_prefix,;t t
118182 s,@prefix@,$prefix,;t t
118183 s,@program_transform_name@,$program_transform_name,;t t
118184 s,@bindir@,$bindir,;t t
118185 s,@sbindir@,$sbindir,;t t
118186 s,@libexecdir@,$libexecdir,;t t
118187 s,@datadir@,$datadir,;t t
118188 s,@sysconfdir@,$sysconfdir,;t t
118189 s,@sharedstatedir@,$sharedstatedir,;t t
118190 s,@localstatedir@,$localstatedir,;t t
118191 s,@libdir@,$libdir,;t t
118192 s,@includedir@,$includedir,;t t
118193 s,@oldincludedir@,$oldincludedir,;t t
118194 s,@infodir@,$infodir,;t t
118195 s,@mandir@,$mandir,;t t
118196 s,@build_alias@,$build_alias,;t t
118197 s,@host_alias@,$host_alias,;t t
118198 s,@target_alias@,$target_alias,;t t
118199 s,@DEFS@,$DEFS,;t t
118200 s,@ECHO_C@,$ECHO_C,;t t
118201 s,@ECHO_N@,$ECHO_N,;t t
118202 s,@ECHO_T@,$ECHO_T,;t t
118203 s,@LIBS@,$LIBS,;t t
118204 s,@libtool_VERSION@,$libtool_VERSION,;t t
118205 s,@multi_basedir@,$multi_basedir,;t t
118206 s,@build@,$build,;t t
118207 s,@build_cpu@,$build_cpu,;t t
118208 s,@build_vendor@,$build_vendor,;t t
118209 s,@build_os@,$build_os,;t t
118210 s,@host@,$host,;t t
118211 s,@host_cpu@,$host_cpu,;t t
118212 s,@host_vendor@,$host_vendor,;t t
118213 s,@host_os@,$host_os,;t t
118214 s,@target@,$target,;t t
118215 s,@target_cpu@,$target_cpu,;t t
118216 s,@target_vendor@,$target_vendor,;t t
118217 s,@target_os@,$target_os,;t t
118218 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
118219 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
118220 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
118221 s,@CYGPATH_W@,$CYGPATH_W,;t t
118222 s,@PACKAGE@,$PACKAGE,;t t
118223 s,@VERSION@,$VERSION,;t t
118224 s,@ACLOCAL@,$ACLOCAL,;t t
118225 s,@AUTOCONF@,$AUTOCONF,;t t
118226 s,@AUTOMAKE@,$AUTOMAKE,;t t
118227 s,@AUTOHEADER@,$AUTOHEADER,;t t
118228 s,@MAKEINFO@,$MAKEINFO,;t t
118229 s,@install_sh@,$install_sh,;t t
118230 s,@STRIP@,$STRIP,;t t
118231 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
118232 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
118233 s,@mkdir_p@,$mkdir_p,;t t
118234 s,@AWK@,$AWK,;t t
118235 s,@SET_MAKE@,$SET_MAKE,;t t
118236 s,@am__leading_dot@,$am__leading_dot,;t t
118237 s,@AMTAR@,$AMTAR,;t t
118238 s,@am__tar@,$am__tar,;t t
118239 s,@am__untar@,$am__untar,;t t
118240 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
118241 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
118242 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
118243 s,@CC@,$CC,;t t
118244 s,@ac_ct_CC@,$ac_ct_CC,;t t
118245 s,@EXEEXT@,$EXEEXT,;t t
118246 s,@OBJEXT@,$OBJEXT,;t t
118247 s,@CXX@,$CXX,;t t
118248 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
118249 s,@CFLAGS@,$CFLAGS,;t t
118250 s,@CXXFLAGS@,$CXXFLAGS,;t t
118251 s,@LN_S@,$LN_S,;t t
118252 s,@AS@,$AS,;t t
118253 s,@ac_ct_AS@,$ac_ct_AS,;t t
118254 s,@AR@,$AR,;t t
118255 s,@ac_ct_AR@,$ac_ct_AR,;t t
118256 s,@RANLIB@,$RANLIB,;t t
118257 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
118258 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
118259 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
118260 s,@MAINT@,$MAINT,;t t
118261 s,@CPP@,$CPP,;t t
118262 s,@CPPFLAGS@,$CPPFLAGS,;t t
118263 s,@EGREP@,$EGREP,;t t
118264 s,@LIBTOOL@,$LIBTOOL,;t t
118265 s,@SED@,$SED,;t t
118266 s,@FGREP@,$FGREP,;t t
118267 s,@GREP@,$GREP,;t t
118268 s,@LD@,$LD,;t t
118269 s,@DUMPBIN@,$DUMPBIN,;t t
118270 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
118271 s,@NM@,$NM,;t t
118272 s,@lt_ECHO@,$lt_ECHO,;t t
118273 s,@LDFLAGS@,$LDFLAGS,;t t
118274 s,@CXXCPP@,$CXXCPP,;t t
118275 s,@enable_shared@,$enable_shared,;t t
118276 s,@enable_static@,$enable_static,;t t
118277 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
118278 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
118279 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
118280 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
118281 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
118282 s,@CSTDIO_H@,$CSTDIO_H,;t t
118283 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
118284 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
118285 s,@check_msgfmt@,$check_msgfmt,;t t
118286 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
118287 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
118288 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
118289 s,@USE_NLS@,$USE_NLS,;t t
118290 s,@CLOCALE_H@,$CLOCALE_H,;t t
118291 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
118292 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
118293 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
118294 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
118295 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
118296 s,@CMONEY_CC@,$CMONEY_CC,;t t
118297 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
118298 s,@CTIME_H@,$CTIME_H,;t t
118299 s,@CTIME_CC@,$CTIME_CC,;t t
118300 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
118301 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
118302 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
118303 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
118304 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
118305 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
118306 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
118307 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
118308 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
118309 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
118310 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
118311 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
118312 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
118313 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
118314 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
118315 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
118316 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
118317 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
118318 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
118319 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
118320 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
118321 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
118322 s,@WERROR@,$WERROR,;t t
118323 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
118324 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
118325 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
118326 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
118327 s,@LIBICONV@,$LIBICONV,;t t
118328 s,@LTLIBICONV@,$LTLIBICONV,;t t
118329 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
118330 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
118331 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
118332 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
118333 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
118334 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
118335 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
118336 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
118337 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
118338 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
118339 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
118340 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
118341 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
118342 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
118343 s,@baseline_dir@,$baseline_dir,;t t
118344 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
118345 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
118346 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
118347 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
118348 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
118349 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
118350 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
118351 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
118352 s,@gxx_include_dir@,$gxx_include_dir,;t t
118353 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
118354 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
118355 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
118356 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
118357 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
118358 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
118359 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
118360 s,@LIBOBJS@,$LIBOBJS,;t t
118361 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
118364 _ACEOF
118366 cat >>$CONFIG_STATUS <<\_ACEOF
118367 # Split the substitutions into bite-sized pieces for seds with
118368 # small command number limits, like on Digital OSF/1 and HP-UX.
118369 ac_max_sed_lines=48
118370 ac_sed_frag=1 # Number of current file.
118371 ac_beg=1 # First line for current file.
118372 ac_end=$ac_max_sed_lines # Line after last line for current file.
118373 ac_more_lines=:
118374 ac_sed_cmds=
118375 while $ac_more_lines; do
118376 if test $ac_beg -gt 1; then
118377 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
118379 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
118381 if test ! -s $tmp/subs.frag; then
118382 ac_more_lines=false
118384 # The purpose of the label and of the branching condition is to
118385 # speed up the sed processing (if there are no `@' at all, there
118386 # is no need to browse any of the substitutions).
118387 # These are the two extra sed commands mentioned above.
118388 (echo ':t
118389 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
118390 if test -z "$ac_sed_cmds"; then
118391 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
118393 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
118395 ac_sed_frag=`expr $ac_sed_frag + 1`
118396 ac_beg=$ac_end
118397 ac_end=`expr $ac_end + $ac_max_sed_lines`
118400 if test -z "$ac_sed_cmds"; then
118401 ac_sed_cmds=cat
118403 fi # test -n "$CONFIG_FILES"
118405 _ACEOF
118406 cat >>$CONFIG_STATUS <<\_ACEOF
118407 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
118408 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
118409 case $ac_file in
118410 - | *:- | *:-:* ) # input from stdin
118411 cat >$tmp/stdin
118412 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
118413 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
118414 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
118415 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
118416 * ) ac_file_in=$ac_file.in ;;
118419 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
118420 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
118421 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118422 X"$ac_file" : 'X\(//\)[^/]' \| \
118423 X"$ac_file" : 'X\(//\)$' \| \
118424 X"$ac_file" : 'X\(/\)' \| \
118425 . : '\(.\)' 2>/dev/null ||
118426 echo X"$ac_file" |
118427 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118428 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118429 /^X\(\/\/\)$/{ s//\1/; q; }
118430 /^X\(\/\).*/{ s//\1/; q; }
118431 s/.*/./; q'`
118432 { if $as_mkdir_p; then
118433 mkdir -p "$ac_dir"
118435 as_dir="$ac_dir"
118436 as_dirs=
118437 while test ! -d "$as_dir"; do
118438 as_dirs="$as_dir $as_dirs"
118439 as_dir=`(dirname "$as_dir") 2>/dev/null ||
118440 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118441 X"$as_dir" : 'X\(//\)[^/]' \| \
118442 X"$as_dir" : 'X\(//\)$' \| \
118443 X"$as_dir" : 'X\(/\)' \| \
118444 . : '\(.\)' 2>/dev/null ||
118445 echo X"$as_dir" |
118446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118447 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118448 /^X\(\/\/\)$/{ s//\1/; q; }
118449 /^X\(\/\).*/{ s//\1/; q; }
118450 s/.*/./; q'`
118452 test ! -n "$as_dirs" || mkdir $as_dirs
118453 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
118454 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
118455 { (exit 1); exit 1; }; }; }
118457 ac_builddir=.
118459 if test "$ac_dir" != .; then
118460 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
118461 # A "../" for each directory in $ac_dir_suffix.
118462 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
118464 ac_dir_suffix= ac_top_builddir=
118467 case $srcdir in
118468 .) # No --srcdir option. We are building in place.
118469 ac_srcdir=.
118470 if test -z "$ac_top_builddir"; then
118471 ac_top_srcdir=.
118473 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
118474 fi ;;
118475 [\\/]* | ?:[\\/]* ) # Absolute path.
118476 ac_srcdir=$srcdir$ac_dir_suffix;
118477 ac_top_srcdir=$srcdir ;;
118478 *) # Relative path.
118479 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
118480 ac_top_srcdir=$ac_top_builddir$srcdir ;;
118483 # Do not use `cd foo && pwd` to compute absolute paths, because
118484 # the directories may not exist.
118485 case `pwd` in
118486 .) ac_abs_builddir="$ac_dir";;
118488 case "$ac_dir" in
118489 .) ac_abs_builddir=`pwd`;;
118490 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
118491 *) ac_abs_builddir=`pwd`/"$ac_dir";;
118492 esac;;
118494 case $ac_abs_builddir in
118495 .) ac_abs_top_builddir=${ac_top_builddir}.;;
118497 case ${ac_top_builddir}. in
118498 .) ac_abs_top_builddir=$ac_abs_builddir;;
118499 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
118500 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
118501 esac;;
118503 case $ac_abs_builddir in
118504 .) ac_abs_srcdir=$ac_srcdir;;
118506 case $ac_srcdir in
118507 .) ac_abs_srcdir=$ac_abs_builddir;;
118508 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
118509 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
118510 esac;;
118512 case $ac_abs_builddir in
118513 .) ac_abs_top_srcdir=$ac_top_srcdir;;
118515 case $ac_top_srcdir in
118516 .) ac_abs_top_srcdir=$ac_abs_builddir;;
118517 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
118518 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
118519 esac;;
118523 case $INSTALL in
118524 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
118525 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
118528 if test x"$ac_file" != x-; then
118529 { echo "$as_me:$LINENO: creating $ac_file" >&5
118530 echo "$as_me: creating $ac_file" >&6;}
118531 rm -f "$ac_file"
118533 # Let's still pretend it is `configure' which instantiates (i.e., don't
118534 # use $as_me), people would be surprised to read:
118535 # /* config.h. Generated by config.status. */
118536 if test x"$ac_file" = x-; then
118537 configure_input=
118539 configure_input="$ac_file. "
118541 configure_input=$configure_input"Generated from `echo $ac_file_in |
118542 sed 's,.*/,,'` by configure."
118544 # First look for the input files in the build tree, otherwise in the
118545 # src tree.
118546 ac_file_inputs=`IFS=:
118547 for f in $ac_file_in; do
118548 case $f in
118549 -) echo $tmp/stdin ;;
118550 [\\/$]*)
118551 # Absolute (can't be DOS-style, as IFS=:)
118552 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
118553 echo "$as_me: error: cannot find input file: $f" >&2;}
118554 { (exit 1); exit 1; }; }
118555 echo "$f";;
118556 *) # Relative
118557 if test -f "$f"; then
118558 # Build tree
118559 echo "$f"
118560 elif test -f "$srcdir/$f"; then
118561 # Source tree
118562 echo "$srcdir/$f"
118564 # /dev/null tree
118565 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
118566 echo "$as_me: error: cannot find input file: $f" >&2;}
118567 { (exit 1); exit 1; }; }
118570 done` || { (exit 1); exit 1; }
118571 _ACEOF
118572 cat >>$CONFIG_STATUS <<_ACEOF
118573 sed "$ac_vpsub
118574 $extrasub
118575 _ACEOF
118576 cat >>$CONFIG_STATUS <<\_ACEOF
118578 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
118579 s,@configure_input@,$configure_input,;t t
118580 s,@srcdir@,$ac_srcdir,;t t
118581 s,@abs_srcdir@,$ac_abs_srcdir,;t t
118582 s,@top_srcdir@,$ac_top_srcdir,;t t
118583 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
118584 s,@builddir@,$ac_builddir,;t t
118585 s,@abs_builddir@,$ac_abs_builddir,;t t
118586 s,@top_builddir@,$ac_top_builddir,;t t
118587 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
118588 s,@INSTALL@,$ac_INSTALL,;t t
118589 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
118590 rm -f $tmp/stdin
118591 if test x"$ac_file" != x-; then
118592 mv $tmp/out $ac_file
118594 cat $tmp/out
118595 rm -f $tmp/out
118598 # Run the commands associated with the file.
118599 case $ac_file in
118600 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
118603 _ACEOF
118604 cat >>$CONFIG_STATUS <<\_ACEOF
118607 # CONFIG_HEADER section.
118610 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
118611 # NAME is the cpp macro being defined and VALUE is the value it is being given.
118613 # ac_d sets the value in "#define NAME VALUE" lines.
118614 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
118615 ac_dB='[ ].*$,\1#\2'
118616 ac_dC=' '
118617 ac_dD=',;t'
118618 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
118619 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
118620 ac_uB='$,\1#\2define\3'
118621 ac_uC=' '
118622 ac_uD=',;t'
118624 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
118625 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
118626 case $ac_file in
118627 - | *:- | *:-:* ) # input from stdin
118628 cat >$tmp/stdin
118629 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
118630 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
118631 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
118632 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
118633 * ) ac_file_in=$ac_file.in ;;
118636 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
118637 echo "$as_me: creating $ac_file" >&6;}
118639 # First look for the input files in the build tree, otherwise in the
118640 # src tree.
118641 ac_file_inputs=`IFS=:
118642 for f in $ac_file_in; do
118643 case $f in
118644 -) echo $tmp/stdin ;;
118645 [\\/$]*)
118646 # Absolute (can't be DOS-style, as IFS=:)
118647 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
118648 echo "$as_me: error: cannot find input file: $f" >&2;}
118649 { (exit 1); exit 1; }; }
118650 # Do quote $f, to prevent DOS paths from being IFS'd.
118651 echo "$f";;
118652 *) # Relative
118653 if test -f "$f"; then
118654 # Build tree
118655 echo "$f"
118656 elif test -f "$srcdir/$f"; then
118657 # Source tree
118658 echo "$srcdir/$f"
118660 # /dev/null tree
118661 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
118662 echo "$as_me: error: cannot find input file: $f" >&2;}
118663 { (exit 1); exit 1; }; }
118666 done` || { (exit 1); exit 1; }
118667 # Remove the trailing spaces.
118668 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
118670 _ACEOF
118672 # Transform confdefs.h into two sed scripts, `conftest.defines' and
118673 # `conftest.undefs', that substitutes the proper values into
118674 # config.h.in to produce config.h. The first handles `#define'
118675 # templates, and the second `#undef' templates.
118676 # And first: Protect against being on the right side of a sed subst in
118677 # config.status. Protect against being in an unquoted here document
118678 # in config.status.
118679 rm -f conftest.defines conftest.undefs
118680 # Using a here document instead of a string reduces the quoting nightmare.
118681 # Putting comments in sed scripts is not portable.
118683 # `end' is used to avoid that the second main sed command (meant for
118684 # 0-ary CPP macros) applies to n-ary macro definitions.
118685 # See the Autoconf documentation for `clear'.
118686 cat >confdef2sed.sed <<\_ACEOF
118687 s/[\\&,]/\\&/g
118688 s,[\\$`],\\&,g
118689 t clear
118690 : clear
118691 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
118692 t end
118693 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
118694 : end
118695 _ACEOF
118696 # If some macros were called several times there might be several times
118697 # the same #defines, which is useless. Nevertheless, we may not want to
118698 # sort them, since we want the *last* AC-DEFINE to be honored.
118699 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
118700 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
118701 rm -f confdef2sed.sed
118703 # This sed command replaces #undef with comments. This is necessary, for
118704 # example, in the case of _POSIX_SOURCE, which is predefined and required
118705 # on some systems where configure will not decide to define it.
118706 cat >>conftest.undefs <<\_ACEOF
118707 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
118708 _ACEOF
118710 # Break up conftest.defines because some shells have a limit on the size
118711 # of here documents, and old seds have small limits too (100 cmds).
118712 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
118713 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
118714 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
118715 echo ' :' >>$CONFIG_STATUS
118716 rm -f conftest.tail
118717 while grep . conftest.defines >/dev/null
118719 # Write a limited-size here document to $tmp/defines.sed.
118720 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
118721 # Speed up: don't consider the non `#define' lines.
118722 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
118723 # Work around the forget-to-reset-the-flag bug.
118724 echo 't clr' >>$CONFIG_STATUS
118725 echo ': clr' >>$CONFIG_STATUS
118726 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
118727 echo 'CEOF
118728 sed -f $tmp/defines.sed $tmp/in >$tmp/out
118729 rm -f $tmp/in
118730 mv $tmp/out $tmp/in
118731 ' >>$CONFIG_STATUS
118732 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
118733 rm -f conftest.defines
118734 mv conftest.tail conftest.defines
118736 rm -f conftest.defines
118737 echo ' fi # grep' >>$CONFIG_STATUS
118738 echo >>$CONFIG_STATUS
118740 # Break up conftest.undefs because some shells have a limit on the size
118741 # of here documents, and old seds have small limits too (100 cmds).
118742 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
118743 rm -f conftest.tail
118744 while grep . conftest.undefs >/dev/null
118746 # Write a limited-size here document to $tmp/undefs.sed.
118747 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
118748 # Speed up: don't consider the non `#undef'
118749 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
118750 # Work around the forget-to-reset-the-flag bug.
118751 echo 't clr' >>$CONFIG_STATUS
118752 echo ': clr' >>$CONFIG_STATUS
118753 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
118754 echo 'CEOF
118755 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
118756 rm -f $tmp/in
118757 mv $tmp/out $tmp/in
118758 ' >>$CONFIG_STATUS
118759 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
118760 rm -f conftest.undefs
118761 mv conftest.tail conftest.undefs
118763 rm -f conftest.undefs
118765 cat >>$CONFIG_STATUS <<\_ACEOF
118766 # Let's still pretend it is `configure' which instantiates (i.e., don't
118767 # use $as_me), people would be surprised to read:
118768 # /* config.h. Generated by config.status. */
118769 if test x"$ac_file" = x-; then
118770 echo "/* Generated by configure. */" >$tmp/config.h
118772 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
118774 cat $tmp/in >>$tmp/config.h
118775 rm -f $tmp/in
118776 if test x"$ac_file" != x-; then
118777 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
118778 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
118779 echo "$as_me: $ac_file is unchanged" >&6;}
118781 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
118782 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118783 X"$ac_file" : 'X\(//\)[^/]' \| \
118784 X"$ac_file" : 'X\(//\)$' \| \
118785 X"$ac_file" : 'X\(/\)' \| \
118786 . : '\(.\)' 2>/dev/null ||
118787 echo X"$ac_file" |
118788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118789 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118790 /^X\(\/\/\)$/{ s//\1/; q; }
118791 /^X\(\/\).*/{ s//\1/; q; }
118792 s/.*/./; q'`
118793 { if $as_mkdir_p; then
118794 mkdir -p "$ac_dir"
118796 as_dir="$ac_dir"
118797 as_dirs=
118798 while test ! -d "$as_dir"; do
118799 as_dirs="$as_dir $as_dirs"
118800 as_dir=`(dirname "$as_dir") 2>/dev/null ||
118801 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118802 X"$as_dir" : 'X\(//\)[^/]' \| \
118803 X"$as_dir" : 'X\(//\)$' \| \
118804 X"$as_dir" : 'X\(/\)' \| \
118805 . : '\(.\)' 2>/dev/null ||
118806 echo X"$as_dir" |
118807 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118808 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118809 /^X\(\/\/\)$/{ s//\1/; q; }
118810 /^X\(\/\).*/{ s//\1/; q; }
118811 s/.*/./; q'`
118813 test ! -n "$as_dirs" || mkdir $as_dirs
118814 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
118815 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
118816 { (exit 1); exit 1; }; }; }
118818 rm -f $ac_file
118819 mv $tmp/config.h $ac_file
118822 cat $tmp/config.h
118823 rm -f $tmp/config.h
118825 # Compute $ac_file's index in $config_headers.
118826 _am_stamp_count=1
118827 for _am_header in $config_headers :; do
118828 case $_am_header in
118829 $ac_file | $ac_file:* )
118830 break ;;
118832 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
118835 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
118836 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118837 X$ac_file : 'X\(//\)[^/]' \| \
118838 X$ac_file : 'X\(//\)$' \| \
118839 X$ac_file : 'X\(/\)' \| \
118840 . : '\(.\)' 2>/dev/null ||
118841 echo X$ac_file |
118842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118843 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118844 /^X\(\/\/\)$/{ s//\1/; q; }
118845 /^X\(\/\).*/{ s//\1/; q; }
118846 s/.*/./; q'`/stamp-h$_am_stamp_count
118848 _ACEOF
118849 cat >>$CONFIG_STATUS <<\_ACEOF
118852 # CONFIG_COMMANDS section.
118854 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
118855 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
118856 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
118857 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
118858 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118859 X"$ac_dest" : 'X\(//\)[^/]' \| \
118860 X"$ac_dest" : 'X\(//\)$' \| \
118861 X"$ac_dest" : 'X\(/\)' \| \
118862 . : '\(.\)' 2>/dev/null ||
118863 echo X"$ac_dest" |
118864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118865 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118866 /^X\(\/\/\)$/{ s//\1/; q; }
118867 /^X\(\/\).*/{ s//\1/; q; }
118868 s/.*/./; q'`
118869 { if $as_mkdir_p; then
118870 mkdir -p "$ac_dir"
118872 as_dir="$ac_dir"
118873 as_dirs=
118874 while test ! -d "$as_dir"; do
118875 as_dirs="$as_dir $as_dirs"
118876 as_dir=`(dirname "$as_dir") 2>/dev/null ||
118877 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118878 X"$as_dir" : 'X\(//\)[^/]' \| \
118879 X"$as_dir" : 'X\(//\)$' \| \
118880 X"$as_dir" : 'X\(/\)' \| \
118881 . : '\(.\)' 2>/dev/null ||
118882 echo X"$as_dir" |
118883 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118884 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118885 /^X\(\/\/\)$/{ s//\1/; q; }
118886 /^X\(\/\).*/{ s//\1/; q; }
118887 s/.*/./; q'`
118889 test ! -n "$as_dirs" || mkdir $as_dirs
118890 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
118891 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
118892 { (exit 1); exit 1; }; }; }
118894 ac_builddir=.
118896 if test "$ac_dir" != .; then
118897 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
118898 # A "../" for each directory in $ac_dir_suffix.
118899 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
118901 ac_dir_suffix= ac_top_builddir=
118904 case $srcdir in
118905 .) # No --srcdir option. We are building in place.
118906 ac_srcdir=.
118907 if test -z "$ac_top_builddir"; then
118908 ac_top_srcdir=.
118910 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
118911 fi ;;
118912 [\\/]* | ?:[\\/]* ) # Absolute path.
118913 ac_srcdir=$srcdir$ac_dir_suffix;
118914 ac_top_srcdir=$srcdir ;;
118915 *) # Relative path.
118916 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
118917 ac_top_srcdir=$ac_top_builddir$srcdir ;;
118920 # Do not use `cd foo && pwd` to compute absolute paths, because
118921 # the directories may not exist.
118922 case `pwd` in
118923 .) ac_abs_builddir="$ac_dir";;
118925 case "$ac_dir" in
118926 .) ac_abs_builddir=`pwd`;;
118927 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
118928 *) ac_abs_builddir=`pwd`/"$ac_dir";;
118929 esac;;
118931 case $ac_abs_builddir in
118932 .) ac_abs_top_builddir=${ac_top_builddir}.;;
118934 case ${ac_top_builddir}. in
118935 .) ac_abs_top_builddir=$ac_abs_builddir;;
118936 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
118937 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
118938 esac;;
118940 case $ac_abs_builddir in
118941 .) ac_abs_srcdir=$ac_srcdir;;
118943 case $ac_srcdir in
118944 .) ac_abs_srcdir=$ac_abs_builddir;;
118945 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
118946 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
118947 esac;;
118949 case $ac_abs_builddir in
118950 .) ac_abs_top_srcdir=$ac_top_srcdir;;
118952 case $ac_top_srcdir in
118953 .) ac_abs_top_srcdir=$ac_abs_builddir;;
118954 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
118955 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
118956 esac;;
118960 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
118961 echo "$as_me: executing $ac_dest commands" >&6;}
118962 case $ac_dest in
118963 default-1 )
118964 # Only add multilib support code if we just rebuilt the top-level
118965 # Makefile.
118966 case " $CONFIG_FILES " in
118967 *" Makefile "*)
118968 ac_file=Makefile . ${multi_basedir}/config-ml.in
118970 esac ;;
118971 libtool )
118973 # See if we are running on zsh, and set the options which allow our
118974 # commands through without removal of \ escapes.
118975 if test -n "${ZSH_VERSION+set}" ; then
118976 setopt NO_GLOB_SUBST
118979 cfgfile="${ofile}T"
118980 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
118981 $RM "$cfgfile"
118983 cat <<_LT_EOF >> "$cfgfile"
118984 #! $SHELL
118986 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
118987 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
118988 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
118989 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
118991 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
118992 # 2006, 2007 Free Software Foundation, Inc.
118994 # This file is part of GNU Libtool:
118995 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
118997 # This program is free software; you can redistribute it and/or modify
118998 # it under the terms of the GNU General Public License as published by
118999 # the Free Software Foundation; either version 2 of the License, or
119000 # (at your option) any later version.
119002 # This program is distributed in the hope that it will be useful, but
119003 # WITHOUT ANY WARRANTY; without even the implied warranty of
119004 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
119005 # General Public License for more details.
119007 # You should have received a copy of the GNU General Public License
119008 # along with this program; if not, a copy can be downloaded from
119009 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
119010 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
119011 # MA 02110-1301, USA.
119013 # As a special exception to the GNU General Public License, if you
119014 # distribute this file as part of a program that contains a
119015 # configuration script generated by Autoconf, you may include it under
119016 # the same distribution terms that you use for the rest of that program.
119019 # The names of the tagged configurations supported by this script.
119020 available_tags="CXX "
119022 # ### BEGIN LIBTOOL CONFIG
119024 # Which release of libtool.m4 was used?
119025 macro_version=$macro_version
119026 macro_revision=$macro_revision
119028 # Whether or not to build shared libraries.
119029 build_libtool_libs=$enable_shared
119031 # Whether or not to build static libraries.
119032 build_old_libs=$enable_static
119034 # What type of objects to build.
119035 pic_mode=$pic_mode
119037 # Whether or not to optimize for fast installation.
119038 fast_install=$enable_fast_install
119040 # The host system.
119041 host_alias=$host_alias
119042 host=$host
119043 host_os=$host_os
119045 # The build system.
119046 build_alias=$build_alias
119047 build=$build
119048 build_os=$build_os
119050 # A sed program that does not truncate output.
119051 SED=$lt_SED
119053 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
119054 Xsed="\$SED -e 1s/^X//"
119056 # A grep program that handles long lines.
119057 GREP=$lt_GREP
119059 # An ERE matcher.
119060 EGREP=$lt_EGREP
119062 # A literal string matcher.
119063 FGREP=$lt_FGREP
119065 # A BSD- or MS-compatible name lister.
119066 NM=$lt_NM
119068 # Whether we need soft or hard links.
119069 LN_S=$lt_LN_S
119071 # What is the maximum length of a command?
119072 max_cmd_len=$max_cmd_len
119074 # Object file suffix (normally "o").
119075 objext=$ac_objext
119077 # Executable file suffix (normally "").
119078 exeext=$exeext
119080 # whether the shell understands "unset".
119081 lt_unset=$lt_unset
119083 # turn spaces into newlines.
119084 SP2NL=$lt_lt_SP2NL
119086 # turn newlines into spaces.
119087 NL2SP=$lt_lt_NL2SP
119089 # How to create reloadable object files.
119090 reload_flag=$lt_reload_flag
119091 reload_cmds=$lt_reload_cmds
119093 # Method to check whether dependent libraries are shared objects.
119094 deplibs_check_method=$lt_deplibs_check_method
119096 # Command to use when deplibs_check_method == "file_magic".
119097 file_magic_cmd=$lt_file_magic_cmd
119099 # The archiver.
119100 AR=$lt_AR
119101 AR_FLAGS=$lt_AR_FLAGS
119103 # A symbol stripping program.
119104 STRIP=$lt_STRIP
119106 # Commands used to install an old-style archive.
119107 RANLIB=$lt_RANLIB
119108 old_postinstall_cmds=$lt_old_postinstall_cmds
119109 old_postuninstall_cmds=$lt_old_postuninstall_cmds
119111 # A C compiler.
119112 LTCC=$lt_CC
119114 # LTCC compiler flags.
119115 LTCFLAGS=$lt_CFLAGS
119117 # Take the output of nm and produce a listing of raw symbols and C names.
119118 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
119120 # Transform the output of nm in a proper C declaration.
119121 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
119123 # Transform the output of nm in a C name address pair.
119124 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
119126 # The name of the directory that contains temporary libtool files.
119127 objdir=$objdir
119129 # Shell to use when invoking shell scripts.
119130 SHELL=$lt_SHELL
119132 # An echo program that does not interpret backslashes.
119133 ECHO=$lt_ECHO
119135 # Used to examine libraries when file_magic_cmd begins with "file".
119136 MAGIC_CMD=$MAGIC_CMD
119138 # Must we lock files when doing compilation?
119139 need_locks=$lt_need_locks
119141 # Old archive suffix (normally "a").
119142 libext=$libext
119144 # Shared library suffix (normally ".so").
119145 shrext_cmds=$lt_shrext_cmds
119147 # The commands to extract the exported symbol list from a shared archive.
119148 extract_expsyms_cmds=$lt_extract_expsyms_cmds
119150 # Variables whose values should be saved in libtool wrapper scripts and
119151 # restored at link time.
119152 variables_saved_for_relink=$lt_variables_saved_for_relink
119154 # Do we need the "lib" prefix for modules?
119155 need_lib_prefix=$need_lib_prefix
119157 # Do we need a version for libraries?
119158 need_version=$need_version
119160 # Library versioning type.
119161 version_type=$version_type
119163 # Shared library runtime path variable.
119164 runpath_var=$runpath_var
119166 # Shared library path variable.
119167 shlibpath_var=$shlibpath_var
119169 # Is shlibpath searched before the hard-coded library search path?
119170 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
119172 # Format of library name prefix.
119173 libname_spec=$lt_libname_spec
119175 # List of archive names. First name is the real one, the rest are links.
119176 # The last name is the one that the linker finds with -lNAME
119177 library_names_spec=$lt_library_names_spec
119179 # The coded name of the library, if different from the real name.
119180 soname_spec=$lt_soname_spec
119182 # Command to use after installation of a shared archive.
119183 postinstall_cmds=$lt_postinstall_cmds
119185 # Command to use after uninstallation of a shared archive.
119186 postuninstall_cmds=$lt_postuninstall_cmds
119188 # Commands used to finish a libtool library installation in a directory.
119189 finish_cmds=$lt_finish_cmds
119191 # As "finish_cmds", except a single script fragment to be evaled but
119192 # not shown.
119193 finish_eval=$lt_finish_eval
119195 # Whether we should hardcode library paths into libraries.
119196 hardcode_into_libs=$hardcode_into_libs
119198 # Compile-time system search path for libraries.
119199 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
119201 # Run-time system search path for libraries.
119202 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
119204 # Whether dlopen is supported.
119205 dlopen_support=$enable_dlopen
119207 # Whether dlopen of programs is supported.
119208 dlopen_self=$enable_dlopen_self
119210 # Whether dlopen of statically linked programs is supported.
119211 dlopen_self_static=$enable_dlopen_self_static
119213 # Commands to strip libraries.
119214 old_striplib=$lt_old_striplib
119215 striplib=$lt_striplib
119218 # The linker used to build libraries.
119219 LD=$lt_LD
119221 # Commands used to build an old-style archive.
119222 old_archive_cmds=$lt_old_archive_cmds
119224 # A language specific compiler.
119225 CC=$lt_compiler
119227 # Is the compiler the GNU compiler?
119228 with_gcc=$GCC
119230 # Compiler flag to turn off builtin functions.
119231 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
119233 # How to pass a linker flag through the compiler.
119234 wl=$lt_lt_prog_compiler_wl
119236 # Additional compiler flags for building library objects.
119237 pic_flag=$lt_lt_prog_compiler_pic
119239 # Compiler flag to prevent dynamic linking.
119240 link_static_flag=$lt_lt_prog_compiler_static
119242 # Does compiler simultaneously support -c and -o options?
119243 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
119245 # Whether or not to add -lc for building shared libraries.
119246 build_libtool_need_lc=$archive_cmds_need_lc
119248 # Whether or not to disallow shared libs when runtime libs are static.
119249 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
119251 # Compiler flag to allow reflexive dlopens.
119252 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
119254 # Compiler flag to generate shared objects directly from archives.
119255 whole_archive_flag_spec=$lt_whole_archive_flag_spec
119257 # Whether the compiler copes with passing no objects directly.
119258 compiler_needs_object=$lt_compiler_needs_object
119260 # Create an old-style archive from a shared archive.
119261 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
119263 # Create a temporary old-style archive to link instead of a shared archive.
119264 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
119266 # Commands used to build a shared archive.
119267 archive_cmds=$lt_archive_cmds
119268 archive_expsym_cmds=$lt_archive_expsym_cmds
119270 # Commands used to build a loadable module if different from building
119271 # a shared archive.
119272 module_cmds=$lt_module_cmds
119273 module_expsym_cmds=$lt_module_expsym_cmds
119275 # Whether we are building with GNU ld or not.
119276 with_gnu_ld=$lt_with_gnu_ld
119278 # Flag that allows shared libraries with undefined symbols to be built.
119279 allow_undefined_flag=$lt_allow_undefined_flag
119281 # Flag that enforces no undefined symbols.
119282 no_undefined_flag=$lt_no_undefined_flag
119284 # Flag to hardcode \$libdir into a binary during linking.
119285 # This must work even if \$libdir does not exist
119286 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
119288 # If ld is used when linking, flag to hardcode \$libdir into a binary
119289 # during linking. This must work even if \$libdir does not exist.
119290 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
119292 # Whether we need a single "-rpath" flag with a separated argument.
119293 hardcode_libdir_separator=$lt_hardcode_libdir_separator
119295 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
119296 # DIR into the resulting binary.
119297 hardcode_direct=$hardcode_direct
119299 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
119300 # DIR into the resulting binary and the resulting library dependency is
119301 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
119302 # library is relocated.
119303 hardcode_direct_absolute=$hardcode_direct_absolute
119305 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
119306 # into the resulting binary.
119307 hardcode_minus_L=$hardcode_minus_L
119309 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
119310 # into the resulting binary.
119311 hardcode_shlibpath_var=$hardcode_shlibpath_var
119313 # Set to "yes" if building a shared library automatically hardcodes DIR
119314 # into the library and all subsequent libraries and executables linked
119315 # against it.
119316 hardcode_automatic=$hardcode_automatic
119318 # Set to yes if linker adds runtime paths of dependent libraries
119319 # to runtime path list.
119320 inherit_rpath=$inherit_rpath
119322 # Whether libtool must link a program against all its dependency libraries.
119323 link_all_deplibs=$link_all_deplibs
119325 # Fix the shell variable \$srcfile for the compiler.
119326 fix_srcfile_path=$lt_fix_srcfile_path
119328 # Set to "yes" if exported symbols are required.
119329 always_export_symbols=$always_export_symbols
119331 # The commands to list exported symbols.
119332 export_symbols_cmds=$lt_export_symbols_cmds
119334 # Symbols that should not be listed in the preloaded symbols.
119335 exclude_expsyms=$lt_exclude_expsyms
119337 # Symbols that must always be exported.
119338 include_expsyms=$lt_include_expsyms
119340 # Commands necessary for linking programs (against libraries) with templates.
119341 prelink_cmds=$lt_prelink_cmds
119343 # Specify filename containing input files.
119344 file_list_spec=$lt_file_list_spec
119346 # How to hardcode a shared library path into an executable.
119347 hardcode_action=$hardcode_action
119349 # Dependencies to place before and after the objects being linked to
119350 # create a shared library.
119351 predep_objects=$lt_predep_objects
119352 postdep_objects=$lt_postdep_objects
119353 predeps=$lt_predeps
119354 postdeps=$lt_postdeps
119356 # The library search path used internally by the compiler when linking
119357 # a shared library.
119358 compiler_lib_search_path=$lt_compiler_lib_search_path
119360 # ### END LIBTOOL CONFIG
119362 _LT_EOF
119364 case $host_os in
119365 aix3*)
119366 cat <<\_LT_EOF >> "$cfgfile"
119367 # AIX sometimes has problems with the GCC collect2 program. For some
119368 # reason, if we set the COLLECT_NAMES environment variable, the problems
119369 # vanish in a puff of smoke.
119370 if test "X${COLLECT_NAMES+set}" != Xset; then
119371 COLLECT_NAMES=
119372 export COLLECT_NAMES
119374 _LT_EOF
119379 ltmain="$ac_aux_dir/ltmain.sh"
119382 # We use sed instead of cat because bash on DJGPP gets confused if
119383 # if finds mixed CR/LF and LF-only lines. Since sed operates in
119384 # text mode, it properly converts lines to CR/LF. This bash problem
119385 # is reportedly fixed, but why not run on old versions too?
119386 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
119387 || (rm -f "$cfgfile"; exit 1)
119389 case $xsi_shell in
119391 cat << \_LT_EOF >> "$cfgfile"
119392 # func_dirname file append nondir_replacement
119393 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
119394 # otherwise set result to NONDIR_REPLACEMENT.
119395 func_dirname ()
119397 case ${1} in
119398 */*) func_dirname_result="${1%/*}${2}" ;;
119399 * ) func_dirname_result="${3}" ;;
119403 # func_basename file
119404 func_basename ()
119406 func_basename_result="${1##*/}"
119409 # func_stripname prefix suffix name
119410 # strip PREFIX and SUFFIX off of NAME.
119411 # PREFIX and SUFFIX must not contain globbing or regex special
119412 # characters, hashes, percent signs, but SUFFIX may contain a leading
119413 # dot (in which case that matches only a dot).
119414 func_stripname ()
119416 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
119417 # positional parameters, so assign one to ordinary parameter first.
119418 func_stripname_result=${3}
119419 func_stripname_result=${func_stripname_result#"${1}"}
119420 func_stripname_result=${func_stripname_result%"${2}"}
119423 # func_opt_split
119424 func_opt_split ()
119426 func_opt_split_opt=${1%%=*}
119427 func_opt_split_arg=${1#*=}
119430 # func_lo2o object
119431 func_lo2o ()
119433 case ${1} in
119434 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
119435 *) func_lo2o_result=${1} ;;
119438 _LT_EOF
119440 *) # Bourne compatible functions.
119441 cat << \_LT_EOF >> "$cfgfile"
119442 # func_dirname file append nondir_replacement
119443 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
119444 # otherwise set result to NONDIR_REPLACEMENT.
119445 func_dirname ()
119447 # Extract subdirectory from the argument.
119448 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
119449 if test "X$func_dirname_result" = "X${1}"; then
119450 func_dirname_result="${3}"
119452 func_dirname_result="$func_dirname_result${2}"
119456 # func_basename file
119457 func_basename ()
119459 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
119462 # func_stripname prefix suffix name
119463 # strip PREFIX and SUFFIX off of NAME.
119464 # PREFIX and SUFFIX must not contain globbing or regex special
119465 # characters, hashes, percent signs, but SUFFIX may contain a leading
119466 # dot (in which case that matches only a dot).
119467 # func_strip_suffix prefix name
119468 func_stripname ()
119470 case ${2} in
119471 .*) func_stripname_result=`$ECHO "X${3}" \
119472 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
119473 *) func_stripname_result=`$ECHO "X${3}" \
119474 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
119478 # sed scripts:
119479 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
119480 my_sed_long_arg='1s/^-[^=]*=//'
119482 # func_opt_split
119483 func_opt_split ()
119485 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
119486 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
119489 # func_lo2o object
119490 func_lo2o ()
119492 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
119494 _LT_EOF
119497 case $lt_shell_append in
119499 cat << \_LT_EOF >> "$cfgfile"
119501 # func_append var value
119502 # Append VALUE to the end of shell variable VAR.
119503 func_append ()
119505 eval "$1+=\$2"
119507 _LT_EOF
119510 cat << \_LT_EOF >> "$cfgfile"
119512 # func_append var value
119513 # Append VALUE to the end of shell variable VAR.
119514 func_append ()
119516 eval "$1=\$$1\$2"
119518 _LT_EOF
119523 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
119524 || (rm -f "$cfgfile"; exit 1)
119526 mv -f "$cfgfile" "$ofile" ||
119527 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
119528 chmod +x "$ofile"
119531 cat <<_LT_EOF >> "$ofile"
119533 # ### BEGIN LIBTOOL TAG CONFIG: CXX
119535 # The linker used to build libraries.
119536 LD=$lt_LD_CXX
119538 # Commands used to build an old-style archive.
119539 old_archive_cmds=$lt_old_archive_cmds_CXX
119541 # A language specific compiler.
119542 CC=$lt_compiler_CXX
119544 # Is the compiler the GNU compiler?
119545 with_gcc=$GCC_CXX
119547 # Compiler flag to turn off builtin functions.
119548 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
119550 # How to pass a linker flag through the compiler.
119551 wl=$lt_lt_prog_compiler_wl_CXX
119553 # Additional compiler flags for building library objects.
119554 pic_flag=$lt_lt_prog_compiler_pic_CXX
119556 # Compiler flag to prevent dynamic linking.
119557 link_static_flag=$lt_lt_prog_compiler_static_CXX
119559 # Does compiler simultaneously support -c and -o options?
119560 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
119562 # Whether or not to add -lc for building shared libraries.
119563 build_libtool_need_lc=$archive_cmds_need_lc_CXX
119565 # Whether or not to disallow shared libs when runtime libs are static.
119566 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
119568 # Compiler flag to allow reflexive dlopens.
119569 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
119571 # Compiler flag to generate shared objects directly from archives.
119572 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
119574 # Whether the compiler copes with passing no objects directly.
119575 compiler_needs_object=$lt_compiler_needs_object_CXX
119577 # Create an old-style archive from a shared archive.
119578 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
119580 # Create a temporary old-style archive to link instead of a shared archive.
119581 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
119583 # Commands used to build a shared archive.
119584 archive_cmds=$lt_archive_cmds_CXX
119585 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
119587 # Commands used to build a loadable module if different from building
119588 # a shared archive.
119589 module_cmds=$lt_module_cmds_CXX
119590 module_expsym_cmds=$lt_module_expsym_cmds_CXX
119592 # Whether we are building with GNU ld or not.
119593 with_gnu_ld=$lt_with_gnu_ld_CXX
119595 # Flag that allows shared libraries with undefined symbols to be built.
119596 allow_undefined_flag=$lt_allow_undefined_flag_CXX
119598 # Flag that enforces no undefined symbols.
119599 no_undefined_flag=$lt_no_undefined_flag_CXX
119601 # Flag to hardcode \$libdir into a binary during linking.
119602 # This must work even if \$libdir does not exist
119603 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
119605 # If ld is used when linking, flag to hardcode \$libdir into a binary
119606 # during linking. This must work even if \$libdir does not exist.
119607 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
119609 # Whether we need a single "-rpath" flag with a separated argument.
119610 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
119612 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
119613 # DIR into the resulting binary.
119614 hardcode_direct=$hardcode_direct_CXX
119616 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
119617 # DIR into the resulting binary and the resulting library dependency is
119618 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
119619 # library is relocated.
119620 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
119622 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
119623 # into the resulting binary.
119624 hardcode_minus_L=$hardcode_minus_L_CXX
119626 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
119627 # into the resulting binary.
119628 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
119630 # Set to "yes" if building a shared library automatically hardcodes DIR
119631 # into the library and all subsequent libraries and executables linked
119632 # against it.
119633 hardcode_automatic=$hardcode_automatic_CXX
119635 # Set to yes if linker adds runtime paths of dependent libraries
119636 # to runtime path list.
119637 inherit_rpath=$inherit_rpath_CXX
119639 # Whether libtool must link a program against all its dependency libraries.
119640 link_all_deplibs=$link_all_deplibs_CXX
119642 # Fix the shell variable \$srcfile for the compiler.
119643 fix_srcfile_path=$lt_fix_srcfile_path_CXX
119645 # Set to "yes" if exported symbols are required.
119646 always_export_symbols=$always_export_symbols_CXX
119648 # The commands to list exported symbols.
119649 export_symbols_cmds=$lt_export_symbols_cmds_CXX
119651 # Symbols that should not be listed in the preloaded symbols.
119652 exclude_expsyms=$lt_exclude_expsyms_CXX
119654 # Symbols that must always be exported.
119655 include_expsyms=$lt_include_expsyms_CXX
119657 # Commands necessary for linking programs (against libraries) with templates.
119658 prelink_cmds=$lt_prelink_cmds_CXX
119660 # Specify filename containing input files.
119661 file_list_spec=$lt_file_list_spec_CXX
119663 # How to hardcode a shared library path into an executable.
119664 hardcode_action=$hardcode_action_CXX
119666 # Dependencies to place before and after the objects being linked to
119667 # create a shared library.
119668 predep_objects=$lt_predep_objects_CXX
119669 postdep_objects=$lt_postdep_objects_CXX
119670 predeps=$lt_predeps_CXX
119671 postdeps=$lt_postdeps_CXX
119673 # The library search path used internally by the compiler when linking
119674 # a shared library.
119675 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
119677 # ### END LIBTOOL TAG CONFIG: CXX
119678 _LT_EOF
119681 default ) if test -n "$CONFIG_FILES"; then
119682 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
119683 # that multilib installs will end up installed in the correct place.
119684 # The testsuite needs it for multilib-aware ABI baseline files.
119685 # To work around this not being passed down from config-ml.in ->
119686 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
119687 # append it here. Only modify Makefiles that have just been created.
119689 # Also, get rid of this simulated-VPATH thing that automake does.
119690 cat > vpsed << \_EOF
119691 s!`test -f '$<' || echo '$(srcdir)/'`!!
119693 for i in $SUBDIRS; do
119694 case $CONFIG_FILES in
119695 *${i}/Makefile*)
119696 #echo "Adding MULTISUBDIR to $i/Makefile"
119697 sed -f vpsed $i/Makefile > tmp
119698 grep '^MULTISUBDIR =' Makefile >> tmp
119699 mv tmp $i/Makefile
119703 rm vpsed
119705 (cd include && ${MAKE-make})
119709 _ACEOF
119711 cat >>$CONFIG_STATUS <<\_ACEOF
119713 { (exit 0); exit 0; }
119714 _ACEOF
119715 chmod +x $CONFIG_STATUS
119716 ac_clean_files=$ac_clean_files_save
119719 # configure is writing to config.log, and then calls config.status.
119720 # config.status does its own redirection, appending to config.log.
119721 # Unfortunately, on DOS this fails, as config.log is still kept open
119722 # by configure, so config.status won't be able to write to it; its
119723 # output is simply discarded. So we exec the FD to /dev/null,
119724 # effectively closing config.log, so it can be properly (re)opened and
119725 # appended to by config.status. When coming back to configure, we
119726 # need to make the FD available again.
119727 if test "$no_create" != yes; then
119728 ac_cs_success=:
119729 ac_config_status_args=
119730 test "$silent" = yes &&
119731 ac_config_status_args="$ac_config_status_args --quiet"
119732 exec 5>/dev/null
119733 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
119734 exec 5>>config.log
119735 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
119736 # would make configure fail if this is the last instruction.
119737 $ac_cs_success || { (exit 1); exit 1; }