Daily bump.
[official-gcc.git] / libstdc++-v3 / configure
blob9a6ec5256bbac0644a796cd0b55a14a6748b32b0
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
248 case X$lt_ECHO in
249 X*--fallback-echo)
250 # Remove one level of quotation (which was required for Make).
251 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
253 esac
255 ECHO=${lt_ECHO-echo}
256 if test "X$1" = X--no-reexec; then
257 # Discard the --no-reexec flag, and continue.
258 shift
259 elif test "X$1" = X--fallback-echo; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
265 else
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo; then
271 # used as fallback echo
272 shift
273 cat <<_LT_EOF
275 _LT_EOF
276 exit 0
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290 then
291 break
293 done
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
300 else
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308 for dir in $PATH /usr/ucb; do
309 IFS="$lt_save_ifs"
310 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
314 ECHO="$dir/echo"
315 break
317 done
318 IFS="$lt_save_ifs"
320 if test "X$ECHO" = Xecho; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
326 ECHO='print -r'
327 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X/bin/ksh; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL=/bin/ksh
333 export CONFIG_SHELL
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335 else
336 # Try using printf.
337 ECHO='printf %s\n'
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
341 # Cool, printf works
343 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348 export CONFIG_SHELL
349 SHELL="$CONFIG_SHELL"
350 export SHELL
351 ECHO="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO="$CONFIG_SHELL $0 --fallback-echo"
357 else
358 # maybe with a smaller string...
359 prev=:
361 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363 then
364 break
366 prev="$cmd"
367 done
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373 else
374 # Oops. We lost completely, so just stick with echo.
375 ECHO=echo
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
385 lt_ECHO=$ECHO
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
393 # Name of the host.
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
398 exec 6>&1
401 # Initializations.
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
405 cross_compiling=no
406 subdirs=
407 MFLAGS=
408 MAKEFLAGS=
409 SHELL=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
417 PACKAGE_NAME='package-unused'
418 PACKAGE_TARNAME='libstdc++'
419 PACKAGE_VERSION='version-unused'
420 PACKAGE_STRING='package-unused version-unused'
421 PACKAGE_BUGREPORT=''
423 ac_unique_file="src/ios.cc"
424 # Factoring default headers for most tests.
425 ac_includes_default="\
426 #include <stdio.h>
427 #if HAVE_SYS_TYPES_H
428 # include <sys/types.h>
429 #endif
430 #if HAVE_SYS_STAT_H
431 # include <sys/stat.h>
432 #endif
433 #if STDC_HEADERS
434 # include <stdlib.h>
435 # include <stddef.h>
436 #else
437 # if HAVE_STDLIB_H
438 # include <stdlib.h>
439 # endif
440 #endif
441 #if HAVE_STRING_H
442 # if !STDC_HEADERS && HAVE_MEMORY_H
443 # include <memory.h>
444 # endif
445 # include <string.h>
446 #endif
447 #if HAVE_STRINGS_H
448 # include <strings.h>
449 #endif
450 #if HAVE_INTTYPES_H
451 # include <inttypes.h>
452 #else
453 # if HAVE_STDINT_H
454 # include <stdint.h>
455 # endif
456 #endif
457 #if HAVE_UNISTD_H
458 # include <unistd.h>
459 #endif"
461 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM lt_ECHO LDFLAGS CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_C_GLOBAL_TRUE GLIBCXX_C_HEADERS_C_GLOBAL_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE GLIBCXX_C_HEADERS_EXTRA_TRUE GLIBCXX_C_HEADERS_EXTRA_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE ENABLE_PARALLEL_TRUE ENABLE_PARALLEL_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV LTLIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ATOMIC_FLAGS CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR ERROR_CONSTANTS_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
462 ac_subst_files=''
464 # Initialize some variables set by options.
465 ac_init_help=
466 ac_init_version=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
469 cache_file=/dev/null
470 exec_prefix=NONE
471 no_create=
472 no_recursion=
473 prefix=NONE
474 program_prefix=NONE
475 program_suffix=NONE
476 program_transform_name=s,x,x,
477 silent=
478 site=
479 srcdir=
480 verbose=
481 x_includes=NONE
482 x_libraries=NONE
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir='${exec_prefix}/bin'
490 sbindir='${exec_prefix}/sbin'
491 libexecdir='${exec_prefix}/libexec'
492 datadir='${prefix}/share'
493 sysconfdir='${prefix}/etc'
494 sharedstatedir='${prefix}/com'
495 localstatedir='${prefix}/var'
496 libdir='${exec_prefix}/lib'
497 includedir='${prefix}/include'
498 oldincludedir='/usr/include'
499 infodir='${prefix}/info'
500 mandir='${prefix}/man'
502 ac_prev=
503 for ac_option
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
508 ac_prev=
509 continue
512 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
516 case $ac_option in
518 -bindir | --bindir | --bindi | --bind | --bin | --bi)
519 ac_prev=bindir ;;
520 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
521 bindir=$ac_optarg ;;
523 -build | --build | --buil | --bui | --bu)
524 ac_prev=build_alias ;;
525 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
526 build_alias=$ac_optarg ;;
528 -cache-file | --cache-file | --cache-fil | --cache-fi \
529 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
530 ac_prev=cache_file ;;
531 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
532 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
533 cache_file=$ac_optarg ;;
535 --config-cache | -C)
536 cache_file=config.cache ;;
538 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
539 ac_prev=datadir ;;
540 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
541 | --da=*)
542 datadir=$ac_optarg ;;
544 -disable-* | --disable-*)
545 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* | --enable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560 case $ac_option in
561 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
562 *) ac_optarg=yes ;;
563 esac
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568 | --exec | --exe | --ex)
569 ac_prev=exec_prefix ;;
570 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572 | --exec=* | --exe=* | --ex=*)
573 exec_prefix=$ac_optarg ;;
575 -gas | --gas | --ga | --g)
576 # Obsolete; use --with-gas.
577 with_gas=yes ;;
579 -help | --help | --hel | --he | -h)
580 ac_init_help=long ;;
581 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
582 ac_init_help=recursive ;;
583 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
584 ac_init_help=short ;;
586 -host | --host | --hos | --ho)
587 ac_prev=host_alias ;;
588 -host=* | --host=* | --hos=* | --ho=*)
589 host_alias=$ac_optarg ;;
591 -includedir | --includedir | --includedi | --included | --include \
592 | --includ | --inclu | --incl | --inc)
593 ac_prev=includedir ;;
594 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
595 | --includ=* | --inclu=* | --incl=* | --inc=*)
596 includedir=$ac_optarg ;;
598 -infodir | --infodir | --infodi | --infod | --info | --inf)
599 ac_prev=infodir ;;
600 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
601 infodir=$ac_optarg ;;
603 -libdir | --libdir | --libdi | --libd)
604 ac_prev=libdir ;;
605 -libdir=* | --libdir=* | --libdi=* | --libd=*)
606 libdir=$ac_optarg ;;
608 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
609 | --libexe | --libex | --libe)
610 ac_prev=libexecdir ;;
611 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
612 | --libexe=* | --libex=* | --libe=*)
613 libexecdir=$ac_optarg ;;
615 -localstatedir | --localstatedir | --localstatedi | --localstated \
616 | --localstate | --localstat | --localsta | --localst \
617 | --locals | --local | --loca | --loc | --lo)
618 ac_prev=localstatedir ;;
619 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
620 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
621 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
622 localstatedir=$ac_optarg ;;
624 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
625 ac_prev=mandir ;;
626 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
627 mandir=$ac_optarg ;;
629 -nfp | --nfp | --nf)
630 # Obsolete; use --without-fp.
631 with_fp=no ;;
633 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
634 | --no-cr | --no-c | -n)
635 no_create=yes ;;
637 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
638 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
639 no_recursion=yes ;;
641 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
642 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
643 | --oldin | --oldi | --old | --ol | --o)
644 ac_prev=oldincludedir ;;
645 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
646 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
647 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
648 oldincludedir=$ac_optarg ;;
650 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
651 ac_prev=prefix ;;
652 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
653 prefix=$ac_optarg ;;
655 -program-prefix | --program-prefix | --program-prefi | --program-pref \
656 | --program-pre | --program-pr | --program-p)
657 ac_prev=program_prefix ;;
658 -program-prefix=* | --program-prefix=* | --program-prefi=* \
659 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
660 program_prefix=$ac_optarg ;;
662 -program-suffix | --program-suffix | --program-suffi | --program-suff \
663 | --program-suf | --program-su | --program-s)
664 ac_prev=program_suffix ;;
665 -program-suffix=* | --program-suffix=* | --program-suffi=* \
666 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
667 program_suffix=$ac_optarg ;;
669 -program-transform-name | --program-transform-name \
670 | --program-transform-nam | --program-transform-na \
671 | --program-transform-n | --program-transform- \
672 | --program-transform | --program-transfor \
673 | --program-transfo | --program-transf \
674 | --program-trans | --program-tran \
675 | --progr-tra | --program-tr | --program-t)
676 ac_prev=program_transform_name ;;
677 -program-transform-name=* | --program-transform-name=* \
678 | --program-transform-nam=* | --program-transform-na=* \
679 | --program-transform-n=* | --program-transform-=* \
680 | --program-transform=* | --program-transfor=* \
681 | --program-transfo=* | --program-transf=* \
682 | --program-trans=* | --program-tran=* \
683 | --progr-tra=* | --program-tr=* | --program-t=*)
684 program_transform_name=$ac_optarg ;;
686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
687 | -silent | --silent | --silen | --sile | --sil)
688 silent=yes ;;
690 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
691 ac_prev=sbindir ;;
692 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
693 | --sbi=* | --sb=*)
694 sbindir=$ac_optarg ;;
696 -sharedstatedir | --sharedstatedir | --sharedstatedi \
697 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
698 | --sharedst | --shareds | --shared | --share | --shar \
699 | --sha | --sh)
700 ac_prev=sharedstatedir ;;
701 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
702 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
703 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
704 | --sha=* | --sh=*)
705 sharedstatedir=$ac_optarg ;;
707 -site | --site | --sit)
708 ac_prev=site ;;
709 -site=* | --site=* | --sit=*)
710 site=$ac_optarg ;;
712 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
713 ac_prev=srcdir ;;
714 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
715 srcdir=$ac_optarg ;;
717 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
718 | --syscon | --sysco | --sysc | --sys | --sy)
719 ac_prev=sysconfdir ;;
720 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
721 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
722 sysconfdir=$ac_optarg ;;
724 -target | --target | --targe | --targ | --tar | --ta | --t)
725 ac_prev=target_alias ;;
726 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
727 target_alias=$ac_optarg ;;
729 -v | -verbose | --verbose | --verbos | --verbo | --verb)
730 verbose=yes ;;
732 -version | --version | --versio | --versi | --vers | -V)
733 ac_init_version=: ;;
735 -with-* | --with-*)
736 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package=`echo $ac_package| sed 's/-/_/g'`
742 case $ac_option in
743 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
744 *) ac_optarg=yes ;;
745 esac
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* | --without-*)
749 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
757 --x)
758 # Obsolete; use --with-x.
759 with_x=yes ;;
761 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
762 | --x-incl | --x-inc | --x-in | --x-i)
763 ac_prev=x_includes ;;
764 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
765 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
766 x_includes=$ac_optarg ;;
768 -x-libraries | --x-libraries | --x-librarie | --x-librari \
769 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
770 ac_prev=x_libraries ;;
771 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
772 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
773 x_libraries=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
780 *=*)
781 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
788 export $ac_envvar ;;
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
798 esac
799 done
801 if test -n "$ac_prev"; then
802 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var in exec_prefix prefix
810 eval ac_val=$`echo $ac_var`
811 case $ac_val in
812 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
815 esac
816 done
818 # Be sure to have absolute paths.
819 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val=$`echo $ac_var`
823 case $ac_val in
824 [\\/$]* | ?:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
827 esac
828 done
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
833 build=$build_alias
834 host=$host_alias
835 target=$target_alias
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x; then
839 if test "x$build_alias" = x; then
840 cross_compiling=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
844 cross_compiling=yes
848 ac_tool_prefix=
849 test -n "$host_alias" && ac_tool_prefix=$host_alias-
851 test "$silent" = yes && exec 6>/dev/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
864 echo X"$0" |
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
869 s/.*/./; q'`
870 srcdir=$ac_confdir
871 if test ! -r $srcdir/$ac_unique_file; then
872 srcdir=..
874 else
875 ac_srcdir_defaulted=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
881 else
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set=${build_alias+set}
891 ac_env_build_alias_value=$build_alias
892 ac_cv_env_build_alias_set=${build_alias+set}
893 ac_cv_env_build_alias_value=$build_alias
894 ac_env_host_alias_set=${host_alias+set}
895 ac_env_host_alias_value=$host_alias
896 ac_cv_env_host_alias_set=${host_alias+set}
897 ac_cv_env_host_alias_value=$host_alias
898 ac_env_target_alias_set=${target_alias+set}
899 ac_env_target_alias_value=$target_alias
900 ac_cv_env_target_alias_set=${target_alias+set}
901 ac_cv_env_target_alias_value=$target_alias
902 ac_env_CPP_set=${CPP+set}
903 ac_env_CPP_value=$CPP
904 ac_cv_env_CPP_set=${CPP+set}
905 ac_cv_env_CPP_value=$CPP
906 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
910 ac_env_CXX_set=${CXX+set}
911 ac_env_CXX_value=$CXX
912 ac_cv_env_CXX_set=${CXX+set}
913 ac_cv_env_CXX_value=$CXX
914 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_env_CXXFLAGS_value=$CXXFLAGS
916 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
917 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
922 ac_env_CXXCPP_set=${CXXCPP+set}
923 ac_env_CXXCPP_value=$CXXCPP
924 ac_cv_env_CXXCPP_set=${CXXCPP+set}
925 ac_cv_env_CXXCPP_value=$CXXCPP
928 # Report the --help message.
930 if test "$ac_init_help" = "long"; then
931 # Omit some internal or obsolete options to make the list less imposing.
932 # This message is too long to be a string in the A/UX 3.1 sh.
933 cat <<_ACEOF
934 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
936 Usage: $0 [OPTION]... [VAR=VALUE]...
938 To assign environment variables (e.g., CC, CFLAGS...), specify them as
939 VAR=VALUE. See below for descriptions of some of the useful variables.
941 Defaults for the options are specified in brackets.
943 Configuration:
944 -h, --help display this help and exit
945 --help=short display options specific to this package
946 --help=recursive display the short help of all the included packages
947 -V, --version display version information and exit
948 -q, --quiet, --silent do not print \`checking...' messages
949 --cache-file=FILE cache test results in FILE [disabled]
950 -C, --config-cache alias for \`--cache-file=config.cache'
951 -n, --no-create do not create output files
952 --srcdir=DIR find the sources in DIR [configure dir or \`..']
954 _ACEOF
956 cat <<_ACEOF
957 Installation directories:
958 --prefix=PREFIX install architecture-independent files in PREFIX
959 [$ac_default_prefix]
960 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
961 [PREFIX]
963 By default, \`make install' will install all the files in
964 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
965 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
966 for instance \`--prefix=\$HOME'.
968 For better control, use the options below.
970 Fine tuning of the installation directories:
971 --bindir=DIR user executables [EPREFIX/bin]
972 --sbindir=DIR system admin executables [EPREFIX/sbin]
973 --libexecdir=DIR program executables [EPREFIX/libexec]
974 --datadir=DIR read-only architecture-independent data [PREFIX/share]
975 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
976 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
977 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
978 --libdir=DIR object code libraries [EPREFIX/lib]
979 --includedir=DIR C header files [PREFIX/include]
980 --oldincludedir=DIR C header files for non-gcc [/usr/include]
981 --infodir=DIR info documentation [PREFIX/info]
982 --mandir=DIR man documentation [PREFIX/man]
983 _ACEOF
985 cat <<\_ACEOF
987 Program names:
988 --program-prefix=PREFIX prepend PREFIX to installed program names
989 --program-suffix=SUFFIX append SUFFIX to installed program names
990 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
992 System types:
993 --build=BUILD configure for building on BUILD [guessed]
994 --host=HOST cross-compile to build programs to run on HOST [BUILD]
995 --target=TARGET configure for building compilers for TARGET [HOST]
996 _ACEOF
999 if test -n "$ac_init_help"; then
1000 case $ac_init_help in
1001 short | recursive ) echo "Configuration of package-unused version-unused:";;
1002 esac
1003 cat <<\_ACEOF
1005 Optional Features:
1006 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1007 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1008 --enable-multilib build many library versions (default)
1009 --enable-maintainer-mode enable make rules and dependencies not useful
1010 (and sometimes confusing) to the casual installer
1011 --enable-shared[=PKGS]
1012 build shared libraries [default=yes]
1013 --enable-static[=PKGS]
1014 build static libraries [default=yes]
1015 --enable-fast-install[=PKGS]
1016 optimize for fast installation [default=yes]
1017 --disable-libtool-lock avoid locking (might break parallel builds)
1018 --disable-hosted-libstdcxx
1019 only build freestanding C++ runtime support
1020 --enable-sjlj-exceptions
1021 force use of builtin_setjmp for exceptions
1022 [default=auto]
1023 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1024 [default=$is_hosted]
1025 --enable-cstdio=PACKAGE use target-specific I/O package
1026 [default=stdio]
1027 --enable-clocale[=MODEL]
1028 use MODEL for target locale package
1029 [default=auto]
1030 --enable-nls use Native Language Support (default)
1031 --enable-libstdcxx-allocator=KIND
1032 use KIND for target std::allocator base
1033 [default=auto]
1034 --enable-cheaders=KIND construct "C" headers for g++
1035 [default=$c_model]
1036 --enable-long-long enable template specializations for 'long long'
1037 [default=yes]
1038 --enable-wchar_t enable template specializations for 'wchar_t'
1039 [default=yes]
1040 --enable-c99 turns on ISO/IEC 9899:1999 support
1041 [default=yes]
1042 --enable-concept-checks use Boost-derived template checks [default=no]
1043 --enable-libstdcxx-debug-flags=FLAGS
1044 pass compiler FLAGS when building debug library
1045 [default="-g3 -O0"]
1046 --enable-libstdcxx-debug
1047 build extra debug library [default=no]
1048 --enable-cxx-flags=FLAGS
1049 pass compiler FLAGS when building library
1050 [default=]
1051 --enable-fully-dynamic-string
1052 do not put empty strings in per-process static
1053 memory [default=no]
1054 --enable-tls Use thread-local storage [default=yes]
1055 --disable-rpath do not hardcode runtime library paths
1056 --enable-linux-futex use the Linux futex system call
1057 [default=default]
1058 --enable-symvers=STYLE enables symbol versioning of the shared library
1059 [default=yes]
1060 --enable-visibility enables visibility safe usage [default=yes]
1061 --enable-version-specific-runtime-libs
1062 Specify that runtime libraries should be installed
1063 in a compiler-specific directory
1065 Optional Packages:
1066 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1067 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1068 --with-target-subdir=SUBDIR
1069 configuring in a subdirectory
1070 --with-cross-host=HOST configuring with a cross compiler
1071 --with-newlib assume newlib as a system C library
1072 --with-pic try to use only PIC/non-PIC objects [default=use
1073 both]
1074 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1075 --with-gnu-ld assume the C compiler uses GNU ld default=no
1076 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1077 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1078 --with-gxx-include-dir=DIR
1079 installation directory for include files
1081 Some influential environment variables:
1082 CC C compiler command
1083 CFLAGS C compiler flags
1084 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1085 nonstandard directory <lib dir>
1086 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1087 headers in a nonstandard directory <include dir>
1088 CXX C++ compiler command
1089 CXXFLAGS C++ compiler flags
1090 CPP C preprocessor
1091 CXXCPP C++ preprocessor
1093 Use these variables to override the choices made by `configure' or to help
1094 it to find libraries and programs with nonstandard names/locations.
1096 _ACEOF
1099 if test "$ac_init_help" = "recursive"; then
1100 # If there are subdirs, report their specific --help.
1101 ac_popdir=`pwd`
1102 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1103 test -d $ac_dir || continue
1104 ac_builddir=.
1106 if test "$ac_dir" != .; then
1107 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1108 # A "../" for each directory in $ac_dir_suffix.
1109 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1110 else
1111 ac_dir_suffix= ac_top_builddir=
1114 case $srcdir in
1115 .) # No --srcdir option. We are building in place.
1116 ac_srcdir=.
1117 if test -z "$ac_top_builddir"; then
1118 ac_top_srcdir=.
1119 else
1120 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1121 fi ;;
1122 [\\/]* | ?:[\\/]* ) # Absolute path.
1123 ac_srcdir=$srcdir$ac_dir_suffix;
1124 ac_top_srcdir=$srcdir ;;
1125 *) # Relative path.
1126 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1127 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1128 esac
1130 # Do not use `cd foo && pwd` to compute absolute paths, because
1131 # the directories may not exist.
1132 case `pwd` in
1133 .) ac_abs_builddir="$ac_dir";;
1135 case "$ac_dir" in
1136 .) ac_abs_builddir=`pwd`;;
1137 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1138 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1139 esac;;
1140 esac
1141 case $ac_abs_builddir in
1142 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1144 case ${ac_top_builddir}. in
1145 .) ac_abs_top_builddir=$ac_abs_builddir;;
1146 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1147 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1148 esac;;
1149 esac
1150 case $ac_abs_builddir in
1151 .) ac_abs_srcdir=$ac_srcdir;;
1153 case $ac_srcdir in
1154 .) ac_abs_srcdir=$ac_abs_builddir;;
1155 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1156 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1157 esac;;
1158 esac
1159 case $ac_abs_builddir in
1160 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1162 case $ac_top_srcdir in
1163 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1164 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1165 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1166 esac;;
1167 esac
1169 cd $ac_dir
1170 # Check for guested configure; otherwise get Cygnus style configure.
1171 if test -f $ac_srcdir/configure.gnu; then
1172 echo
1173 $SHELL $ac_srcdir/configure.gnu --help=recursive
1174 elif test -f $ac_srcdir/configure; then
1175 echo
1176 $SHELL $ac_srcdir/configure --help=recursive
1177 elif test -f $ac_srcdir/configure.ac ||
1178 test -f $ac_srcdir/configure.in; then
1179 echo
1180 $ac_configure --help
1181 else
1182 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1184 cd $ac_popdir
1185 done
1188 test -n "$ac_init_help" && exit 0
1189 if $ac_init_version; then
1190 cat <<\_ACEOF
1191 package-unused configure version-unused
1192 generated by GNU Autoconf 2.59
1194 Copyright (C) 2003 Free Software Foundation, Inc.
1195 This configure script is free software; the Free Software Foundation
1196 gives unlimited permission to copy, distribute and modify it.
1197 _ACEOF
1198 exit 0
1200 exec 5>config.log
1201 cat >&5 <<_ACEOF
1202 This file contains any messages produced by compilers while
1203 running configure, to aid debugging if configure makes a mistake.
1205 It was created by package-unused $as_me version-unused, which was
1206 generated by GNU Autoconf 2.59. Invocation command line was
1208 $ $0 $@
1210 _ACEOF
1212 cat <<_ASUNAME
1213 ## --------- ##
1214 ## Platform. ##
1215 ## --------- ##
1217 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1218 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1219 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1220 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1221 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1223 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1224 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1226 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1227 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1228 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1229 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1230 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1231 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1232 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1234 _ASUNAME
1236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1237 for as_dir in $PATH
1239 IFS=$as_save_IFS
1240 test -z "$as_dir" && as_dir=.
1241 echo "PATH: $as_dir"
1242 done
1244 } >&5
1246 cat >&5 <<_ACEOF
1249 ## ----------- ##
1250 ## Core tests. ##
1251 ## ----------- ##
1253 _ACEOF
1256 # Keep a trace of the command line.
1257 # Strip out --no-create and --no-recursion so they do not pile up.
1258 # Strip out --silent because we don't want to record it for future runs.
1259 # Also quote any args containing shell meta-characters.
1260 # Make two passes to allow for proper duplicate-argument suppression.
1261 ac_configure_args=
1262 ac_configure_args0=
1263 ac_configure_args1=
1264 ac_sep=
1265 ac_must_keep_next=false
1266 for ac_pass in 1 2
1268 for ac_arg
1270 case $ac_arg in
1271 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1273 | -silent | --silent | --silen | --sile | --sil)
1274 continue ;;
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1277 esac
1278 case $ac_pass in
1279 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1281 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1282 if test $ac_must_keep_next = true; then
1283 ac_must_keep_next=false # Got value, back to normal.
1284 else
1285 case $ac_arg in
1286 *=* | --config-cache | -C | -disable-* | --disable-* \
1287 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1288 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1289 | -with-* | --with-* | -without-* | --without-* | --x)
1290 case "$ac_configure_args0 " in
1291 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1292 esac
1294 -* ) ac_must_keep_next=true ;;
1295 esac
1297 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1298 # Get rid of the leading space.
1299 ac_sep=" "
1301 esac
1302 done
1303 done
1304 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1305 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1307 # When interrupted or exit'd, cleanup temporary files, and complete
1308 # config.log. We remove comments because anyway the quotes in there
1309 # would cause problems or look ugly.
1310 # WARNING: Be sure not to use single quotes in there, as some shells,
1311 # such as our DU 5.0 friend, will then `close' the trap.
1312 trap 'exit_status=$?
1313 # Save into config.log some information that might help in debugging.
1315 echo
1317 cat <<\_ASBOX
1318 ## ---------------- ##
1319 ## Cache variables. ##
1320 ## ---------------- ##
1321 _ASBOX
1322 echo
1323 # The following way of writing the cache mishandles newlines in values,
1325 (set) 2>&1 |
1326 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1327 *ac_space=\ *)
1328 sed -n \
1329 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1330 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1333 sed -n \
1334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1336 esac;
1338 echo
1340 cat <<\_ASBOX
1341 ## ----------------- ##
1342 ## Output variables. ##
1343 ## ----------------- ##
1344 _ASBOX
1345 echo
1346 for ac_var in $ac_subst_vars
1348 eval ac_val=$`echo $ac_var`
1349 echo "$ac_var='"'"'$ac_val'"'"'"
1350 done | sort
1351 echo
1353 if test -n "$ac_subst_files"; then
1354 cat <<\_ASBOX
1355 ## ------------- ##
1356 ## Output files. ##
1357 ## ------------- ##
1358 _ASBOX
1359 echo
1360 for ac_var in $ac_subst_files
1362 eval ac_val=$`echo $ac_var`
1363 echo "$ac_var='"'"'$ac_val'"'"'"
1364 done | sort
1365 echo
1368 if test -s confdefs.h; then
1369 cat <<\_ASBOX
1370 ## ----------- ##
1371 ## confdefs.h. ##
1372 ## ----------- ##
1373 _ASBOX
1374 echo
1375 sed "/^$/d" confdefs.h | sort
1376 echo
1378 test "$ac_signal" != 0 &&
1379 echo "$as_me: caught signal $ac_signal"
1380 echo "$as_me: exit $exit_status"
1381 } >&5
1382 rm -f core *.core &&
1383 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1384 exit $exit_status
1386 for ac_signal in 1 2 13 15; do
1387 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1388 done
1389 ac_signal=0
1391 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1392 rm -rf conftest* confdefs.h
1393 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1394 echo >confdefs.h
1396 # Predefined preprocessor variables.
1398 cat >>confdefs.h <<_ACEOF
1399 #define PACKAGE_NAME "$PACKAGE_NAME"
1400 _ACEOF
1403 cat >>confdefs.h <<_ACEOF
1404 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1405 _ACEOF
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1410 _ACEOF
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_STRING "$PACKAGE_STRING"
1415 _ACEOF
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1420 _ACEOF
1423 # Let the site file select an alternate cache file if it wants to.
1424 # Prefer explicitly selected file to automatically selected ones.
1425 if test -z "$CONFIG_SITE"; then
1426 if test "x$prefix" != xNONE; then
1427 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1428 else
1429 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1432 for ac_site_file in $CONFIG_SITE; do
1433 if test -r "$ac_site_file"; then
1434 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1435 echo "$as_me: loading site script $ac_site_file" >&6;}
1436 sed 's/^/| /' "$ac_site_file" >&5
1437 . "$ac_site_file"
1439 done
1441 if test -r "$cache_file"; then
1442 # Some versions of bash will fail to source /dev/null (special
1443 # files actually), so we avoid doing that.
1444 if test -f "$cache_file"; then
1445 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1446 echo "$as_me: loading cache $cache_file" >&6;}
1447 case $cache_file in
1448 [\\/]* | ?:[\\/]* ) . $cache_file;;
1449 *) . ./$cache_file;;
1450 esac
1452 else
1453 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1454 echo "$as_me: creating cache $cache_file" >&6;}
1455 >$cache_file
1458 # Check that the precious variables saved in the cache have kept the same
1459 # value.
1460 ac_cache_corrupted=false
1461 for ac_var in `(set) 2>&1 |
1462 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1463 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1464 eval ac_new_set=\$ac_env_${ac_var}_set
1465 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1466 eval ac_new_val="\$ac_env_${ac_var}_value"
1467 case $ac_old_set,$ac_new_set in
1468 set,)
1469 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1471 ac_cache_corrupted=: ;;
1472 ,set)
1473 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1475 ac_cache_corrupted=: ;;
1476 ,);;
1478 if test "x$ac_old_val" != "x$ac_new_val"; then
1479 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1480 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1481 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1482 echo "$as_me: former value: $ac_old_val" >&2;}
1483 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1484 echo "$as_me: current value: $ac_new_val" >&2;}
1485 ac_cache_corrupted=:
1486 fi;;
1487 esac
1488 # Pass precious variables to config.status.
1489 if test "$ac_new_set" = set; then
1490 case $ac_new_val in
1491 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1492 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1493 *) ac_arg=$ac_var=$ac_new_val ;;
1494 esac
1495 case " $ac_configure_args " in
1496 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1497 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1498 esac
1500 done
1501 if $ac_cache_corrupted; then
1502 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1503 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1504 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1505 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1506 { (exit 1); exit 1; }; }
1509 ac_ext=c
1510 ac_cpp='$CPP $CPPFLAGS'
1511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1542 ac_config_headers="$ac_config_headers config.h"
1545 # This works around the fact that libtool configuration may change LD
1546 # for this particular configuration, but some shells, instead of
1547 # keeping the changes in LD private, export them just because LD is
1548 # exported. Only used at the end of this file.
1549 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1551 # For libtool versioning info, format is CURRENT:REVISION:AGE
1552 libtool_VERSION=6:11:0
1555 # Find the rest of the source tree framework.
1556 # Default to --enable-multilib
1557 # Check whether --enable-multilib or --disable-multilib was given.
1558 if test "${enable_multilib+set}" = set; then
1559 enableval="$enable_multilib"
1560 case "$enableval" in
1561 yes) multilib=yes ;;
1562 no) multilib=no ;;
1563 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1564 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1565 { (exit 1); exit 1; }; } ;;
1566 esac
1567 else
1568 multilib=yes
1571 # We may get other options which we leave undocumented:
1572 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1573 # See config-ml.in if you want the gory details.
1575 if test "$srcdir" = "."; then
1576 if test "$with_target_subdir" != "."; then
1577 multi_basedir="$srcdir/$with_multisrctop../.."
1578 else
1579 multi_basedir="$srcdir/$with_multisrctop.."
1581 else
1582 multi_basedir="$srcdir/.."
1586 # Even if the default multilib is not a cross compilation,
1587 # it may be that some of the other multilibs are.
1588 if test $cross_compiling = no && test $multilib = yes \
1589 && test "x${with_multisubdir}" != x ; then
1590 cross_compiling=maybe
1593 ac_config_commands="$ac_config_commands default-1"
1596 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1598 # You will slowly go insane if you do not grok the following fact: when
1599 # building v3 as part of the compiler, the top-level /target/ becomes the
1600 # library's /host/. configure then causes --target to default to --host,
1601 # exactly like any other package using autoconf. Therefore, 'target' and
1602 # 'host' will always be the same. This makes sense both for native and
1603 # cross compilers, just think about it for a little while. :-)
1605 # Also, if v3 is being configured as part of a cross compiler, the top-level
1606 # configure script will pass the "real" host as $with_cross_host.
1608 # Do not delete or change the following two lines. For why, see
1609 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1610 ac_aux_dir=
1611 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1612 if test -f $ac_dir/install-sh; then
1613 ac_aux_dir=$ac_dir
1614 ac_install_sh="$ac_aux_dir/install-sh -c"
1615 break
1616 elif test -f $ac_dir/install.sh; then
1617 ac_aux_dir=$ac_dir
1618 ac_install_sh="$ac_aux_dir/install.sh -c"
1619 break
1620 elif test -f $ac_dir/shtool; then
1621 ac_aux_dir=$ac_dir
1622 ac_install_sh="$ac_aux_dir/shtool install -c"
1623 break
1625 done
1626 if test -z "$ac_aux_dir"; then
1627 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1628 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1629 { (exit 1); exit 1; }; }
1631 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1632 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1633 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1635 # Make sure we can run config.sub.
1636 $ac_config_sub sun4 >/dev/null 2>&1 ||
1637 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1638 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1639 { (exit 1); exit 1; }; }
1641 echo "$as_me:$LINENO: checking build system type" >&5
1642 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1643 if test "${ac_cv_build+set}" = set; then
1644 echo $ECHO_N "(cached) $ECHO_C" >&6
1645 else
1646 ac_cv_build_alias=$build_alias
1647 test -z "$ac_cv_build_alias" &&
1648 ac_cv_build_alias=`$ac_config_guess`
1649 test -z "$ac_cv_build_alias" &&
1650 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1651 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1652 { (exit 1); exit 1; }; }
1653 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1654 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1655 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1656 { (exit 1); exit 1; }; }
1659 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1660 echo "${ECHO_T}$ac_cv_build" >&6
1661 build=$ac_cv_build
1662 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1663 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1664 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1667 echo "$as_me:$LINENO: checking host system type" >&5
1668 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1669 if test "${ac_cv_host+set}" = set; then
1670 echo $ECHO_N "(cached) $ECHO_C" >&6
1671 else
1672 ac_cv_host_alias=$host_alias
1673 test -z "$ac_cv_host_alias" &&
1674 ac_cv_host_alias=$ac_cv_build_alias
1675 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1676 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1677 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1678 { (exit 1); exit 1; }; }
1681 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1682 echo "${ECHO_T}$ac_cv_host" >&6
1683 host=$ac_cv_host
1684 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1685 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1686 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1689 echo "$as_me:$LINENO: checking target system type" >&5
1690 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1691 if test "${ac_cv_target+set}" = set; then
1692 echo $ECHO_N "(cached) $ECHO_C" >&6
1693 else
1694 ac_cv_target_alias=$target_alias
1695 test "x$ac_cv_target_alias" = "x" &&
1696 ac_cv_target_alias=$ac_cv_host_alias
1697 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1698 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1699 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1700 { (exit 1); exit 1; }; }
1703 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1704 echo "${ECHO_T}$ac_cv_target" >&6
1705 target=$ac_cv_target
1706 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1707 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1708 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1711 # The aliases save the names the user supplied, while $host etc.
1712 # will get canonicalized.
1713 test -n "$target_alias" &&
1714 test "$program_prefix$program_suffix$program_transform_name" = \
1715 NONENONEs,x,x, &&
1716 program_prefix=${target_alias}-
1717 target_alias=${target_alias-$host_alias}
1719 # Handy for debugging:
1720 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1722 if test "$build" != "$host"; then
1723 # We are being configured with some form of cross compiler.
1724 GLIBCXX_IS_NATIVE=false
1725 case "$host","$target" in
1726 # Darwin crosses can use the host system's libraries and headers,
1727 # because of the fat library support. Of course, it must be the
1728 # same version of Darwin on both sides. Allow the user to
1729 # just say --target=foo-darwin without a version number to mean
1730 # "the version on this system".
1731 *-*-darwin*,*-*-darwin*)
1732 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1733 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1734 if test $hostos = $targetos -o $targetos = darwin ; then
1735 GLIBCXX_IS_NATIVE=true
1742 esac
1743 else
1744 GLIBCXX_IS_NATIVE=true
1747 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1748 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1749 # 1.x: minimum required version
1750 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1751 # of other PACKAGE_* variables will, however, and there's nothing
1752 # we can do about that; they come from AC_INIT).
1753 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1754 # file in the top srcdir, etc, etc), so stop complaining.
1755 # no-dependencies: turns off auto dependency generation (just for now)
1756 # -Wall: turns on all automake warnings...
1757 # -Wno-portability: ...except this one, since GNU make is now required.
1758 am__api_version="1.9"
1759 # Find a good install program. We prefer a C program (faster),
1760 # so one script is as good as another. But avoid the broken or
1761 # incompatible versions:
1762 # SysV /etc/install, /usr/sbin/install
1763 # SunOS /usr/etc/install
1764 # IRIX /sbin/install
1765 # AIX /bin/install
1766 # AmigaOS /C/install, which installs bootblocks on floppy discs
1767 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1768 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1769 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1770 # OS/2's system install, which has a completely different semantic
1771 # ./install, which can be erroneously created by make from ./install.sh.
1772 # Reject install programs that cannot install multiple files.
1773 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1774 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1775 if test -z "$INSTALL"; then
1776 if test "${ac_cv_path_install+set}" = set; then
1777 echo $ECHO_N "(cached) $ECHO_C" >&6
1778 else
1779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1780 for as_dir in $PATH
1782 IFS=$as_save_IFS
1783 test -z "$as_dir" && as_dir=.
1784 # Account for people who put trailing slashes in PATH elements.
1785 case $as_dir/ in
1786 ./ | .// | /cC/* | \
1787 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1788 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1789 /usr/ucb/* ) ;;
1791 # OSF1 and SCO ODT 3.0 have their own names for install.
1792 # Don't use installbsd from OSF since it installs stuff as root
1793 # by default.
1794 for ac_prog in ginstall scoinst install; do
1795 for ac_exec_ext in '' $ac_executable_extensions; do
1796 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1797 if test $ac_prog = install &&
1798 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1799 # AIX install. It has an incompatible calling convention.
1801 elif test $ac_prog = install &&
1802 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1803 # program-specific install script used by HP pwplus--don't use.
1805 else
1806 rm -rf conftest.one conftest.two conftest.dir
1807 echo one > conftest.one
1808 echo two > conftest.two
1809 mkdir conftest.dir
1810 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1811 test -s conftest.one && test -s conftest.two &&
1812 test -s conftest.dir/conftest.one &&
1813 test -s conftest.dir/conftest.two
1814 then
1815 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1816 break 3
1820 done
1821 done
1823 esac
1824 done
1826 rm -rf conftest.one conftest.two conftest.dir
1829 if test "${ac_cv_path_install+set}" = set; then
1830 INSTALL=$ac_cv_path_install
1831 else
1832 # As a last resort, use the slow shell script. Don't cache a
1833 # value for INSTALL within a source directory, because that will
1834 # break other packages using the cache if that directory is
1835 # removed, or if the value is a relative name.
1836 INSTALL=$ac_install_sh
1839 echo "$as_me:$LINENO: result: $INSTALL" >&5
1840 echo "${ECHO_T}$INSTALL" >&6
1842 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1843 # It thinks the first close brace ends the variable substitution.
1844 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1846 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1848 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1850 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1851 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1852 # Just in case
1853 sleep 1
1854 echo timestamp > conftest.file
1855 # Do `set' in a subshell so we don't clobber the current shell's
1856 # arguments. Must try -L first in case configure is actually a
1857 # symlink; some systems play weird games with the mod time of symlinks
1858 # (eg FreeBSD returns the mod time of the symlink's containing
1859 # directory).
1860 if (
1861 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1862 if test "$*" = "X"; then
1863 # -L didn't work.
1864 set X `ls -t $srcdir/configure conftest.file`
1866 rm -f conftest.file
1867 if test "$*" != "X $srcdir/configure conftest.file" \
1868 && test "$*" != "X conftest.file $srcdir/configure"; then
1870 # If neither matched, then we have a broken ls. This can happen
1871 # if, for instance, CONFIG_SHELL is bash and it inherits a
1872 # broken ls alias from the environment. This has actually
1873 # happened. Such a system could not be considered "sane".
1874 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1875 alias in your environment" >&5
1876 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1877 alias in your environment" >&2;}
1878 { (exit 1); exit 1; }; }
1881 test "$2" = conftest.file
1883 then
1884 # Ok.
1886 else
1887 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1888 Check your system clock" >&5
1889 echo "$as_me: error: newly created file is older than distributed files!
1890 Check your system clock" >&2;}
1891 { (exit 1); exit 1; }; }
1893 echo "$as_me:$LINENO: result: yes" >&5
1894 echo "${ECHO_T}yes" >&6
1895 test "$program_prefix" != NONE &&
1896 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1897 # Use a double $ so make ignores it.
1898 test "$program_suffix" != NONE &&
1899 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1900 # Double any \ or $. echo might interpret backslashes.
1901 # By default was `s,x,x', remove it if useless.
1902 cat <<\_ACEOF >conftest.sed
1903 s/[\\$]/&&/g;s/;s,x,x,$//
1904 _ACEOF
1905 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1906 rm conftest.sed
1908 # expand $ac_aux_dir to an absolute path
1909 am_aux_dir=`cd $ac_aux_dir && pwd`
1911 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1912 # Use eval to expand $SHELL
1913 if eval "$MISSING --run true"; then
1914 am_missing_run="$MISSING --run "
1915 else
1916 am_missing_run=
1917 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1918 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1921 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1922 # We used to keeping the `.' as first argument, in order to
1923 # allow $(mkdir_p) to be used without argument. As in
1924 # $(mkdir_p) $(somedir)
1925 # where $(somedir) is conditionally defined. However this is wrong
1926 # for two reasons:
1927 # 1. if the package is installed by a user who cannot write `.'
1928 # make install will fail,
1929 # 2. the above comment should most certainly read
1930 # $(mkdir_p) $(DESTDIR)$(somedir)
1931 # so it does not work when $(somedir) is undefined and
1932 # $(DESTDIR) is not.
1933 # To support the latter case, we have to write
1934 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1935 # so the `.' trick is pointless.
1936 mkdir_p='mkdir -p --'
1937 else
1938 # On NextStep and OpenStep, the `mkdir' command does not
1939 # recognize any option. It will interpret all options as
1940 # directories to create, and then abort because `.' already
1941 # exists.
1942 for d in ./-p ./--version;
1944 test -d $d && rmdir $d
1945 done
1946 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1947 if test -f "$ac_aux_dir/mkinstalldirs"; then
1948 mkdir_p='$(mkinstalldirs)'
1949 else
1950 mkdir_p='$(install_sh) -d'
1954 for ac_prog in gawk mawk nawk awk
1956 # Extract the first word of "$ac_prog", so it can be a program name with args.
1957 set dummy $ac_prog; ac_word=$2
1958 echo "$as_me:$LINENO: checking for $ac_word" >&5
1959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1960 if test "${ac_cv_prog_AWK+set}" = set; then
1961 echo $ECHO_N "(cached) $ECHO_C" >&6
1962 else
1963 if test -n "$AWK"; then
1964 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1965 else
1966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1967 for as_dir in $PATH
1969 IFS=$as_save_IFS
1970 test -z "$as_dir" && as_dir=.
1971 for ac_exec_ext in '' $ac_executable_extensions; do
1972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1973 ac_cv_prog_AWK="$ac_prog"
1974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1975 break 2
1977 done
1978 done
1982 AWK=$ac_cv_prog_AWK
1983 if test -n "$AWK"; then
1984 echo "$as_me:$LINENO: result: $AWK" >&5
1985 echo "${ECHO_T}$AWK" >&6
1986 else
1987 echo "$as_me:$LINENO: result: no" >&5
1988 echo "${ECHO_T}no" >&6
1991 test -n "$AWK" && break
1992 done
1994 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1995 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1996 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1997 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1998 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 else
2000 cat >conftest.make <<\_ACEOF
2001 all:
2002 @echo 'ac_maketemp="$(MAKE)"'
2003 _ACEOF
2004 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2005 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2006 if test -n "$ac_maketemp"; then
2007 eval ac_cv_prog_make_${ac_make}_set=yes
2008 else
2009 eval ac_cv_prog_make_${ac_make}_set=no
2011 rm -f conftest.make
2013 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2014 echo "$as_me:$LINENO: result: yes" >&5
2015 echo "${ECHO_T}yes" >&6
2016 SET_MAKE=
2017 else
2018 echo "$as_me:$LINENO: result: no" >&5
2019 echo "${ECHO_T}no" >&6
2020 SET_MAKE="MAKE=${MAKE-make}"
2023 rm -rf .tst 2>/dev/null
2024 mkdir .tst 2>/dev/null
2025 if test -d .tst; then
2026 am__leading_dot=.
2027 else
2028 am__leading_dot=_
2030 rmdir .tst 2>/dev/null
2032 # test to see if srcdir already configured
2033 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2034 test -f $srcdir/config.status; then
2035 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2036 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2037 { (exit 1); exit 1; }; }
2040 # test whether we have cygpath
2041 if test -z "$CYGPATH_W"; then
2042 if (cygpath --version) >/dev/null 2>/dev/null; then
2043 CYGPATH_W='cygpath -w'
2044 else
2045 CYGPATH_W=echo
2050 # Define the identity of the package.
2051 PACKAGE='libstdc++'
2052 VERSION='version-unused'
2055 # Some tools Automake needs.
2057 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2060 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2063 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2066 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2069 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2071 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2073 # Installed binaries are usually stripped using `strip' when the user
2074 # run `make install-strip'. However `strip' might not be the right
2075 # tool to use in cross-compilation environments, therefore Automake
2076 # will honor the `STRIP' environment variable to overrule this program.
2077 if test "$cross_compiling" != no; then
2078 if test -n "$ac_tool_prefix"; then
2079 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2080 set dummy ${ac_tool_prefix}strip; ac_word=$2
2081 echo "$as_me:$LINENO: checking for $ac_word" >&5
2082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2083 if test "${ac_cv_prog_STRIP+set}" = set; then
2084 echo $ECHO_N "(cached) $ECHO_C" >&6
2085 else
2086 if test -n "$STRIP"; then
2087 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2088 else
2089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2090 for as_dir in $PATH
2092 IFS=$as_save_IFS
2093 test -z "$as_dir" && as_dir=.
2094 for ac_exec_ext in '' $ac_executable_extensions; do
2095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2096 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2098 break 2
2100 done
2101 done
2105 STRIP=$ac_cv_prog_STRIP
2106 if test -n "$STRIP"; then
2107 echo "$as_me:$LINENO: result: $STRIP" >&5
2108 echo "${ECHO_T}$STRIP" >&6
2109 else
2110 echo "$as_me:$LINENO: result: no" >&5
2111 echo "${ECHO_T}no" >&6
2115 if test -z "$ac_cv_prog_STRIP"; then
2116 ac_ct_STRIP=$STRIP
2117 # Extract the first word of "strip", so it can be a program name with args.
2118 set dummy strip; ac_word=$2
2119 echo "$as_me:$LINENO: checking for $ac_word" >&5
2120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2121 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2122 echo $ECHO_N "(cached) $ECHO_C" >&6
2123 else
2124 if test -n "$ac_ct_STRIP"; then
2125 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2126 else
2127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2128 for as_dir in $PATH
2130 IFS=$as_save_IFS
2131 test -z "$as_dir" && as_dir=.
2132 for ac_exec_ext in '' $ac_executable_extensions; do
2133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2134 ac_cv_prog_ac_ct_STRIP="strip"
2135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2136 break 2
2138 done
2139 done
2141 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2144 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2145 if test -n "$ac_ct_STRIP"; then
2146 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2147 echo "${ECHO_T}$ac_ct_STRIP" >&6
2148 else
2149 echo "$as_me:$LINENO: result: no" >&5
2150 echo "${ECHO_T}no" >&6
2153 STRIP=$ac_ct_STRIP
2154 else
2155 STRIP="$ac_cv_prog_STRIP"
2159 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2161 # We need awk for the "check" target. The system "awk" is bad on
2162 # some platforms.
2163 # Always define AMTAR for backward compatibility.
2165 AMTAR=${AMTAR-"${am_missing_run}tar"}
2167 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2178 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
2179 # up critical shell variables.
2181 ac_ext=c
2182 ac_cpp='$CPP $CPPFLAGS'
2183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2186 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2187 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2188 # On Suns, sometimes $CPP names a directory.
2189 if test -n "$CPP" && test -d "$CPP"; then
2190 CPP=
2192 if test -z "$CPP"; then
2193 if test "${ac_cv_prog_CPP+set}" = set; then
2194 echo $ECHO_N "(cached) $ECHO_C" >&6
2195 else
2196 # Double quotes because CPP needs to be expanded
2197 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2199 ac_preproc_ok=false
2200 for ac_c_preproc_warn_flag in '' yes
2202 # Use a header file that comes with gcc, so configuring glibc
2203 # with a fresh cross-compiler works.
2204 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2205 # <limits.h> exists even on freestanding compilers.
2206 # On the NeXT, cc -E runs the code through the compiler's parser,
2207 # not just through cpp. "Syntax error" is here to catch this case.
2208 cat >conftest.$ac_ext <<_ACEOF
2209 /* confdefs.h. */
2210 _ACEOF
2211 cat confdefs.h >>conftest.$ac_ext
2212 cat >>conftest.$ac_ext <<_ACEOF
2213 /* end confdefs.h. */
2214 #ifdef __STDC__
2215 # include <limits.h>
2216 #else
2217 # include <assert.h>
2218 #endif
2219 Syntax error
2220 _ACEOF
2221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2222 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2223 ac_status=$?
2224 grep -v '^ *+' conftest.er1 >conftest.err
2225 rm -f conftest.er1
2226 cat conftest.err >&5
2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228 (exit $ac_status); } >/dev/null; then
2229 if test -s conftest.err; then
2230 ac_cpp_err=$ac_c_preproc_warn_flag
2231 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2232 else
2233 ac_cpp_err=
2235 else
2236 ac_cpp_err=yes
2238 if test -z "$ac_cpp_err"; then
2240 else
2241 echo "$as_me: failed program was:" >&5
2242 sed 's/^/| /' conftest.$ac_ext >&5
2244 # Broken: fails on valid input.
2245 continue
2247 rm -f conftest.err conftest.$ac_ext
2249 # OK, works on sane cases. Now check whether non-existent headers
2250 # can be detected and how.
2251 cat >conftest.$ac_ext <<_ACEOF
2252 /* confdefs.h. */
2253 _ACEOF
2254 cat confdefs.h >>conftest.$ac_ext
2255 cat >>conftest.$ac_ext <<_ACEOF
2256 /* end confdefs.h. */
2257 #include <ac_nonexistent.h>
2258 _ACEOF
2259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2260 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2261 ac_status=$?
2262 grep -v '^ *+' conftest.er1 >conftest.err
2263 rm -f conftest.er1
2264 cat conftest.err >&5
2265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266 (exit $ac_status); } >/dev/null; then
2267 if test -s conftest.err; then
2268 ac_cpp_err=$ac_c_preproc_warn_flag
2269 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2270 else
2271 ac_cpp_err=
2273 else
2274 ac_cpp_err=yes
2276 if test -z "$ac_cpp_err"; then
2277 # Broken: success on invalid input.
2278 continue
2279 else
2280 echo "$as_me: failed program was:" >&5
2281 sed 's/^/| /' conftest.$ac_ext >&5
2283 # Passes both tests.
2284 ac_preproc_ok=:
2285 break
2287 rm -f conftest.err conftest.$ac_ext
2289 done
2290 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2291 rm -f conftest.err conftest.$ac_ext
2292 if $ac_preproc_ok; then
2293 break
2296 done
2297 ac_cv_prog_CPP=$CPP
2300 CPP=$ac_cv_prog_CPP
2301 else
2302 ac_cv_prog_CPP=$CPP
2304 echo "$as_me:$LINENO: result: $CPP" >&5
2305 echo "${ECHO_T}$CPP" >&6
2306 ac_preproc_ok=false
2307 for ac_c_preproc_warn_flag in '' yes
2309 # Use a header file that comes with gcc, so configuring glibc
2310 # with a fresh cross-compiler works.
2311 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2312 # <limits.h> exists even on freestanding compilers.
2313 # On the NeXT, cc -E runs the code through the compiler's parser,
2314 # not just through cpp. "Syntax error" is here to catch this case.
2315 cat >conftest.$ac_ext <<_ACEOF
2316 /* confdefs.h. */
2317 _ACEOF
2318 cat confdefs.h >>conftest.$ac_ext
2319 cat >>conftest.$ac_ext <<_ACEOF
2320 /* end confdefs.h. */
2321 #ifdef __STDC__
2322 # include <limits.h>
2323 #else
2324 # include <assert.h>
2325 #endif
2326 Syntax error
2327 _ACEOF
2328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2329 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2330 ac_status=$?
2331 grep -v '^ *+' conftest.er1 >conftest.err
2332 rm -f conftest.er1
2333 cat conftest.err >&5
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); } >/dev/null; then
2336 if test -s conftest.err; then
2337 ac_cpp_err=$ac_c_preproc_warn_flag
2338 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2339 else
2340 ac_cpp_err=
2342 else
2343 ac_cpp_err=yes
2345 if test -z "$ac_cpp_err"; then
2347 else
2348 echo "$as_me: failed program was:" >&5
2349 sed 's/^/| /' conftest.$ac_ext >&5
2351 # Broken: fails on valid input.
2352 continue
2354 rm -f conftest.err conftest.$ac_ext
2356 # OK, works on sane cases. Now check whether non-existent headers
2357 # can be detected and how.
2358 cat >conftest.$ac_ext <<_ACEOF
2359 /* confdefs.h. */
2360 _ACEOF
2361 cat confdefs.h >>conftest.$ac_ext
2362 cat >>conftest.$ac_ext <<_ACEOF
2363 /* end confdefs.h. */
2364 #include <ac_nonexistent.h>
2365 _ACEOF
2366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2367 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2368 ac_status=$?
2369 grep -v '^ *+' conftest.er1 >conftest.err
2370 rm -f conftest.er1
2371 cat conftest.err >&5
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); } >/dev/null; then
2374 if test -s conftest.err; then
2375 ac_cpp_err=$ac_c_preproc_warn_flag
2376 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2377 else
2378 ac_cpp_err=
2380 else
2381 ac_cpp_err=yes
2383 if test -z "$ac_cpp_err"; then
2384 # Broken: success on invalid input.
2385 continue
2386 else
2387 echo "$as_me: failed program was:" >&5
2388 sed 's/^/| /' conftest.$ac_ext >&5
2390 # Passes both tests.
2391 ac_preproc_ok=:
2392 break
2394 rm -f conftest.err conftest.$ac_ext
2396 done
2397 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2398 rm -f conftest.err conftest.$ac_ext
2399 if $ac_preproc_ok; then
2401 else
2402 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2403 See \`config.log' for more details." >&5
2404 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2405 See \`config.log' for more details." >&2;}
2406 { (exit 1); exit 1; }; }
2409 ac_ext=c
2410 ac_cpp='$CPP $CPPFLAGS'
2411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2416 echo "$as_me:$LINENO: checking for egrep" >&5
2417 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2418 if test "${ac_cv_prog_egrep+set}" = set; then
2419 echo $ECHO_N "(cached) $ECHO_C" >&6
2420 else
2421 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2422 then ac_cv_prog_egrep='grep -E'
2423 else ac_cv_prog_egrep='egrep'
2426 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2427 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2428 EGREP=$ac_cv_prog_egrep
2432 # Keep these sync'd with the list in Makefile.am. The first provides an
2433 # expandable list at autoconf time; the second provides an expandable list
2434 # (i.e., shell variable) at configure time.
2436 SUBDIRS='include libmath libsupc++ src doc po testsuite'
2438 # These need to be absolute paths, yet at the same time need to
2439 # canonicalize only relative paths, because then amd will not unmount
2440 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2441 glibcxx_builddir=`${PWDCMD-pwd}`
2442 case $srcdir in
2443 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2444 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2445 esac
2446 toplevel_srcdir=${glibcxx_srcdir}/..
2451 # We use these options to decide which functions to include. They are
2452 # set from the top level.
2454 # Check whether --with-target-subdir or --without-target-subdir was given.
2455 if test "${with_target_subdir+set}" = set; then
2456 withval="$with_target_subdir"
2461 # Check whether --with-cross-host or --without-cross-host was given.
2462 if test "${with_cross_host+set}" = set; then
2463 withval="$with_cross_host"
2468 # Check whether --with-newlib or --without-newlib was given.
2469 if test "${with_newlib+set}" = set; then
2470 withval="$with_newlib"
2474 # We're almost certainly being configured before anything else which uses
2475 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2476 # we not cache the value of CXX that we "discover" here, because it's set
2477 # to something unique for us and libjava. Other target libraries need to
2478 # find CXX for themselves. We yank the rug out from under the normal AC_*
2479 # process by sneakily renaming the cache variable. This also lets us debug
2480 # the value of "our" CXX in postmortems.
2482 # We must also force CXX to /not/ be a precious variable, otherwise the
2483 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2484 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2485 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2486 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2488 # -fno-builtin must be present here so that a non-conflicting form of
2489 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2494 save_CXXFLAGS="$CXXFLAGS"
2495 CXXFLAGS="$CXXFLAGS -fno-builtin"
2496 ac_ext=c
2497 ac_cpp='$CPP $CPPFLAGS'
2498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2501 if test -n "$ac_tool_prefix"; then
2502 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2503 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2504 echo "$as_me:$LINENO: checking for $ac_word" >&5
2505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2506 if test "${ac_cv_prog_CC+set}" = set; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 else
2509 if test -n "$CC"; then
2510 ac_cv_prog_CC="$CC" # Let the user override the test.
2511 else
2512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2513 for as_dir in $PATH
2515 IFS=$as_save_IFS
2516 test -z "$as_dir" && as_dir=.
2517 for ac_exec_ext in '' $ac_executable_extensions; do
2518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2519 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2521 break 2
2523 done
2524 done
2528 CC=$ac_cv_prog_CC
2529 if test -n "$CC"; then
2530 echo "$as_me:$LINENO: result: $CC" >&5
2531 echo "${ECHO_T}$CC" >&6
2532 else
2533 echo "$as_me:$LINENO: result: no" >&5
2534 echo "${ECHO_T}no" >&6
2538 if test -z "$ac_cv_prog_CC"; then
2539 ac_ct_CC=$CC
2540 # Extract the first word of "gcc", so it can be a program name with args.
2541 set dummy gcc; ac_word=$2
2542 echo "$as_me:$LINENO: checking for $ac_word" >&5
2543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2544 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2545 echo $ECHO_N "(cached) $ECHO_C" >&6
2546 else
2547 if test -n "$ac_ct_CC"; then
2548 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2549 else
2550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551 for as_dir in $PATH
2553 IFS=$as_save_IFS
2554 test -z "$as_dir" && as_dir=.
2555 for ac_exec_ext in '' $ac_executable_extensions; do
2556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2557 ac_cv_prog_ac_ct_CC="gcc"
2558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2559 break 2
2561 done
2562 done
2566 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2567 if test -n "$ac_ct_CC"; then
2568 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2569 echo "${ECHO_T}$ac_ct_CC" >&6
2570 else
2571 echo "$as_me:$LINENO: result: no" >&5
2572 echo "${ECHO_T}no" >&6
2575 CC=$ac_ct_CC
2576 else
2577 CC="$ac_cv_prog_CC"
2580 if test -z "$CC"; then
2581 if test -n "$ac_tool_prefix"; then
2582 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2583 set dummy ${ac_tool_prefix}cc; ac_word=$2
2584 echo "$as_me:$LINENO: checking for $ac_word" >&5
2585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2586 if test "${ac_cv_prog_CC+set}" = set; then
2587 echo $ECHO_N "(cached) $ECHO_C" >&6
2588 else
2589 if test -n "$CC"; then
2590 ac_cv_prog_CC="$CC" # Let the user override the test.
2591 else
2592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2593 for as_dir in $PATH
2595 IFS=$as_save_IFS
2596 test -z "$as_dir" && as_dir=.
2597 for ac_exec_ext in '' $ac_executable_extensions; do
2598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2599 ac_cv_prog_CC="${ac_tool_prefix}cc"
2600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2601 break 2
2603 done
2604 done
2608 CC=$ac_cv_prog_CC
2609 if test -n "$CC"; then
2610 echo "$as_me:$LINENO: result: $CC" >&5
2611 echo "${ECHO_T}$CC" >&6
2612 else
2613 echo "$as_me:$LINENO: result: no" >&5
2614 echo "${ECHO_T}no" >&6
2618 if test -z "$ac_cv_prog_CC"; then
2619 ac_ct_CC=$CC
2620 # Extract the first word of "cc", so it can be a program name with args.
2621 set dummy cc; ac_word=$2
2622 echo "$as_me:$LINENO: checking for $ac_word" >&5
2623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2624 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2625 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 else
2627 if test -n "$ac_ct_CC"; then
2628 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2629 else
2630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631 for as_dir in $PATH
2633 IFS=$as_save_IFS
2634 test -z "$as_dir" && as_dir=.
2635 for ac_exec_ext in '' $ac_executable_extensions; do
2636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2637 ac_cv_prog_ac_ct_CC="cc"
2638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2639 break 2
2641 done
2642 done
2646 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2647 if test -n "$ac_ct_CC"; then
2648 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2649 echo "${ECHO_T}$ac_ct_CC" >&6
2650 else
2651 echo "$as_me:$LINENO: result: no" >&5
2652 echo "${ECHO_T}no" >&6
2655 CC=$ac_ct_CC
2656 else
2657 CC="$ac_cv_prog_CC"
2661 if test -z "$CC"; then
2662 # Extract the first word of "cc", so it can be a program name with args.
2663 set dummy cc; ac_word=$2
2664 echo "$as_me:$LINENO: checking for $ac_word" >&5
2665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2666 if test "${ac_cv_prog_CC+set}" = set; then
2667 echo $ECHO_N "(cached) $ECHO_C" >&6
2668 else
2669 if test -n "$CC"; then
2670 ac_cv_prog_CC="$CC" # Let the user override the test.
2671 else
2672 ac_prog_rejected=no
2673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2674 for as_dir in $PATH
2676 IFS=$as_save_IFS
2677 test -z "$as_dir" && as_dir=.
2678 for ac_exec_ext in '' $ac_executable_extensions; do
2679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2680 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2681 ac_prog_rejected=yes
2682 continue
2684 ac_cv_prog_CC="cc"
2685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2686 break 2
2688 done
2689 done
2691 if test $ac_prog_rejected = yes; then
2692 # We found a bogon in the path, so make sure we never use it.
2693 set dummy $ac_cv_prog_CC
2694 shift
2695 if test $# != 0; then
2696 # We chose a different compiler from the bogus one.
2697 # However, it has the same basename, so the bogon will be chosen
2698 # first if we set CC to just the basename; use the full file name.
2699 shift
2700 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2705 CC=$ac_cv_prog_CC
2706 if test -n "$CC"; then
2707 echo "$as_me:$LINENO: result: $CC" >&5
2708 echo "${ECHO_T}$CC" >&6
2709 else
2710 echo "$as_me:$LINENO: result: no" >&5
2711 echo "${ECHO_T}no" >&6
2715 if test -z "$CC"; then
2716 if test -n "$ac_tool_prefix"; then
2717 for ac_prog in cl
2719 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2720 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2721 echo "$as_me:$LINENO: checking for $ac_word" >&5
2722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2723 if test "${ac_cv_prog_CC+set}" = set; then
2724 echo $ECHO_N "(cached) $ECHO_C" >&6
2725 else
2726 if test -n "$CC"; then
2727 ac_cv_prog_CC="$CC" # Let the user override the test.
2728 else
2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2730 for as_dir in $PATH
2732 IFS=$as_save_IFS
2733 test -z "$as_dir" && as_dir=.
2734 for ac_exec_ext in '' $ac_executable_extensions; do
2735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2736 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2738 break 2
2740 done
2741 done
2745 CC=$ac_cv_prog_CC
2746 if test -n "$CC"; then
2747 echo "$as_me:$LINENO: result: $CC" >&5
2748 echo "${ECHO_T}$CC" >&6
2749 else
2750 echo "$as_me:$LINENO: result: no" >&5
2751 echo "${ECHO_T}no" >&6
2754 test -n "$CC" && break
2755 done
2757 if test -z "$CC"; then
2758 ac_ct_CC=$CC
2759 for ac_prog in cl
2761 # Extract the first word of "$ac_prog", so it can be a program name with args.
2762 set dummy $ac_prog; ac_word=$2
2763 echo "$as_me:$LINENO: checking for $ac_word" >&5
2764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2765 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2766 echo $ECHO_N "(cached) $ECHO_C" >&6
2767 else
2768 if test -n "$ac_ct_CC"; then
2769 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2770 else
2771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2772 for as_dir in $PATH
2774 IFS=$as_save_IFS
2775 test -z "$as_dir" && as_dir=.
2776 for ac_exec_ext in '' $ac_executable_extensions; do
2777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2778 ac_cv_prog_ac_ct_CC="$ac_prog"
2779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2780 break 2
2782 done
2783 done
2787 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2788 if test -n "$ac_ct_CC"; then
2789 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2790 echo "${ECHO_T}$ac_ct_CC" >&6
2791 else
2792 echo "$as_me:$LINENO: result: no" >&5
2793 echo "${ECHO_T}no" >&6
2796 test -n "$ac_ct_CC" && break
2797 done
2799 CC=$ac_ct_CC
2805 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2806 See \`config.log' for more details." >&5
2807 echo "$as_me: error: no acceptable C compiler found in \$PATH
2808 See \`config.log' for more details." >&2;}
2809 { (exit 1); exit 1; }; }
2811 # Provide some information about the compiler.
2812 echo "$as_me:$LINENO:" \
2813 "checking for C compiler version" >&5
2814 ac_compiler=`set X $ac_compile; echo $2`
2815 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2816 (eval $ac_compiler --version </dev/null >&5) 2>&5
2817 ac_status=$?
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); }
2820 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2821 (eval $ac_compiler -v </dev/null >&5) 2>&5
2822 ac_status=$?
2823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824 (exit $ac_status); }
2825 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2826 (eval $ac_compiler -V </dev/null >&5) 2>&5
2827 ac_status=$?
2828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829 (exit $ac_status); }
2831 cat >conftest.$ac_ext <<_ACEOF
2832 /* confdefs.h. */
2833 _ACEOF
2834 cat confdefs.h >>conftest.$ac_ext
2835 cat >>conftest.$ac_ext <<_ACEOF
2836 /* end confdefs.h. */
2839 main ()
2843 return 0;
2845 _ACEOF
2846 # FIXME: Cleanup?
2847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2848 (eval $ac_link) 2>&5
2849 ac_status=$?
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }; then
2852 gcc_no_link=no
2853 else
2854 gcc_no_link=yes
2857 if test x$gcc_no_link = xyes; then
2858 # Setting cross_compile will disable run tests; it will
2859 # also disable AC_CHECK_FILE but that's generally
2860 # correct if we can't link.
2861 cross_compiling=yes
2862 EXEEXT=
2863 else
2864 cat >conftest.$ac_ext <<_ACEOF
2865 /* confdefs.h. */
2866 _ACEOF
2867 cat confdefs.h >>conftest.$ac_ext
2868 cat >>conftest.$ac_ext <<_ACEOF
2869 /* end confdefs.h. */
2872 main ()
2876 return 0;
2878 _ACEOF
2879 ac_clean_files_save=$ac_clean_files
2880 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2881 # Try to create an executable without -o first, disregard a.out.
2882 # It will help us diagnose broken compilers, and finding out an intuition
2883 # of exeext.
2884 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2885 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2886 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2887 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2888 (eval $ac_link_default) 2>&5
2889 ac_status=$?
2890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); }; then
2892 # Find the output, starting from the most likely. This scheme is
2893 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2894 # resort.
2896 # Be careful to initialize this variable, since it used to be cached.
2897 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2898 ac_cv_exeext=
2899 # b.out is created by i960 compilers.
2900 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2902 test -f "$ac_file" || continue
2903 case $ac_file in
2904 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2906 conftest.$ac_ext )
2907 # This is the source file.
2909 [ab].out )
2910 # We found the default executable, but exeext='' is most
2911 # certainly right.
2912 break;;
2913 *.* )
2914 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2915 # FIXME: I believe we export ac_cv_exeext for Libtool,
2916 # but it would be cool to find out if it's true. Does anybody
2917 # maintain Libtool? --akim.
2918 export ac_cv_exeext
2919 break;;
2921 break;;
2922 esac
2923 done
2924 else
2925 echo "$as_me: failed program was:" >&5
2926 sed 's/^/| /' conftest.$ac_ext >&5
2928 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2929 See \`config.log' for more details." >&5
2930 echo "$as_me: error: C compiler cannot create executables
2931 See \`config.log' for more details." >&2;}
2932 { (exit 77); exit 77; }; }
2935 ac_exeext=$ac_cv_exeext
2936 echo "$as_me:$LINENO: result: $ac_file" >&5
2937 echo "${ECHO_T}$ac_file" >&6
2939 # Check the compiler produces executables we can run. If not, either
2940 # the compiler is broken, or we cross compile.
2941 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2942 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2943 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2944 # If not cross compiling, check that we can run a simple program.
2945 if test "$cross_compiling" != yes; then
2946 if { ac_try='./$ac_file'
2947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2948 (eval $ac_try) 2>&5
2949 ac_status=$?
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); }; }; then
2952 cross_compiling=no
2953 else
2954 if test "$cross_compiling" = maybe; then
2955 cross_compiling=yes
2956 else
2957 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2958 If you meant to cross compile, use \`--host'.
2959 See \`config.log' for more details." >&5
2960 echo "$as_me: error: cannot run C compiled programs.
2961 If you meant to cross compile, use \`--host'.
2962 See \`config.log' for more details." >&2;}
2963 { (exit 1); exit 1; }; }
2967 echo "$as_me:$LINENO: result: yes" >&5
2968 echo "${ECHO_T}yes" >&6
2970 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2971 ac_clean_files=$ac_clean_files_save
2972 # Check the compiler produces executables we can run. If not, either
2973 # the compiler is broken, or we cross compile.
2974 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2975 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2976 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2977 echo "${ECHO_T}$cross_compiling" >&6
2979 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2980 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2982 (eval $ac_link) 2>&5
2983 ac_status=$?
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); }; then
2986 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2987 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2988 # work properly (i.e., refer to `conftest.exe'), while it won't with
2989 # `rm'.
2990 for ac_file in conftest.exe conftest conftest.*; do
2991 test -f "$ac_file" || continue
2992 case $ac_file in
2993 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2994 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2995 export ac_cv_exeext
2996 break;;
2997 * ) break;;
2998 esac
2999 done
3000 else
3001 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3002 See \`config.log' for more details." >&5
3003 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3004 See \`config.log' for more details." >&2;}
3005 { (exit 1); exit 1; }; }
3008 rm -f conftest$ac_cv_exeext
3009 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3010 echo "${ECHO_T}$ac_cv_exeext" >&6
3012 rm -f conftest.$ac_ext
3013 EXEEXT=$ac_cv_exeext
3014 ac_exeext=$EXEEXT
3016 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3017 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3018 if test "${ac_cv_objext+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 else
3021 cat >conftest.$ac_ext <<_ACEOF
3022 /* confdefs.h. */
3023 _ACEOF
3024 cat confdefs.h >>conftest.$ac_ext
3025 cat >>conftest.$ac_ext <<_ACEOF
3026 /* end confdefs.h. */
3029 main ()
3033 return 0;
3035 _ACEOF
3036 rm -f conftest.o conftest.obj
3037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3038 (eval $ac_compile) 2>&5
3039 ac_status=$?
3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); }; then
3042 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3043 case $ac_file in
3044 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3045 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3046 break;;
3047 esac
3048 done
3049 else
3050 echo "$as_me: failed program was:" >&5
3051 sed 's/^/| /' conftest.$ac_ext >&5
3053 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3054 See \`config.log' for more details." >&5
3055 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3056 See \`config.log' for more details." >&2;}
3057 { (exit 1); exit 1; }; }
3060 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3062 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3063 echo "${ECHO_T}$ac_cv_objext" >&6
3064 OBJEXT=$ac_cv_objext
3065 ac_objext=$OBJEXT
3066 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3067 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3068 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3069 echo $ECHO_N "(cached) $ECHO_C" >&6
3070 else
3071 cat >conftest.$ac_ext <<_ACEOF
3072 /* confdefs.h. */
3073 _ACEOF
3074 cat confdefs.h >>conftest.$ac_ext
3075 cat >>conftest.$ac_ext <<_ACEOF
3076 /* end confdefs.h. */
3079 main ()
3081 #ifndef __GNUC__
3082 choke me
3083 #endif
3086 return 0;
3088 _ACEOF
3089 rm -f conftest.$ac_objext
3090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3091 (eval $ac_compile) 2>conftest.er1
3092 ac_status=$?
3093 grep -v '^ *+' conftest.er1 >conftest.err
3094 rm -f conftest.er1
3095 cat conftest.err >&5
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); } &&
3098 { ac_try='test -z "$ac_c_werror_flag"
3099 || test ! -s conftest.err'
3100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3101 (eval $ac_try) 2>&5
3102 ac_status=$?
3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); }; } &&
3105 { ac_try='test -s conftest.$ac_objext'
3106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3107 (eval $ac_try) 2>&5
3108 ac_status=$?
3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3110 (exit $ac_status); }; }; then
3111 ac_compiler_gnu=yes
3112 else
3113 echo "$as_me: failed program was:" >&5
3114 sed 's/^/| /' conftest.$ac_ext >&5
3116 ac_compiler_gnu=no
3118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3119 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3122 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3123 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3124 GCC=`test $ac_compiler_gnu = yes && echo yes`
3125 ac_test_CFLAGS=${CFLAGS+set}
3126 ac_save_CFLAGS=$CFLAGS
3127 CFLAGS="-g"
3128 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3129 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3130 if test "${ac_cv_prog_cc_g+set}" = set; then
3131 echo $ECHO_N "(cached) $ECHO_C" >&6
3132 else
3133 cat >conftest.$ac_ext <<_ACEOF
3134 /* confdefs.h. */
3135 _ACEOF
3136 cat confdefs.h >>conftest.$ac_ext
3137 cat >>conftest.$ac_ext <<_ACEOF
3138 /* end confdefs.h. */
3141 main ()
3145 return 0;
3147 _ACEOF
3148 rm -f conftest.$ac_objext
3149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3150 (eval $ac_compile) 2>conftest.er1
3151 ac_status=$?
3152 grep -v '^ *+' conftest.er1 >conftest.err
3153 rm -f conftest.er1
3154 cat conftest.err >&5
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); } &&
3157 { ac_try='test -z "$ac_c_werror_flag"
3158 || test ! -s conftest.err'
3159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3160 (eval $ac_try) 2>&5
3161 ac_status=$?
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); }; } &&
3164 { ac_try='test -s conftest.$ac_objext'
3165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3166 (eval $ac_try) 2>&5
3167 ac_status=$?
3168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169 (exit $ac_status); }; }; then
3170 ac_cv_prog_cc_g=yes
3171 else
3172 echo "$as_me: failed program was:" >&5
3173 sed 's/^/| /' conftest.$ac_ext >&5
3175 ac_cv_prog_cc_g=no
3177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3179 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3180 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3181 if test "$ac_test_CFLAGS" = set; then
3182 CFLAGS=$ac_save_CFLAGS
3183 elif test $ac_cv_prog_cc_g = yes; then
3184 if test "$GCC" = yes; then
3185 CFLAGS="-g -O2"
3186 else
3187 CFLAGS="-g"
3189 else
3190 if test "$GCC" = yes; then
3191 CFLAGS="-O2"
3192 else
3193 CFLAGS=
3196 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3197 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3198 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3199 echo $ECHO_N "(cached) $ECHO_C" >&6
3200 else
3201 ac_cv_prog_cc_stdc=no
3202 ac_save_CC=$CC
3203 cat >conftest.$ac_ext <<_ACEOF
3204 /* confdefs.h. */
3205 _ACEOF
3206 cat confdefs.h >>conftest.$ac_ext
3207 cat >>conftest.$ac_ext <<_ACEOF
3208 /* end confdefs.h. */
3209 #include <stdarg.h>
3210 #include <stdio.h>
3211 #include <sys/types.h>
3212 #include <sys/stat.h>
3213 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3214 struct buf { int x; };
3215 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3216 static char *e (p, i)
3217 char **p;
3218 int i;
3220 return p[i];
3222 static char *f (char * (*g) (char **, int), char **p, ...)
3224 char *s;
3225 va_list v;
3226 va_start (v,p);
3227 s = g (p, va_arg (v,int));
3228 va_end (v);
3229 return s;
3232 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3233 function prototypes and stuff, but not '\xHH' hex character constants.
3234 These don't provoke an error unfortunately, instead are silently treated
3235 as 'x'. The following induces an error, until -std1 is added to get
3236 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3237 array size at least. It's necessary to write '\x00'==0 to get something
3238 that's true only with -std1. */
3239 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3241 int test (int i, double x);
3242 struct s1 {int (*f) (int a);};
3243 struct s2 {int (*f) (double a);};
3244 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3245 int argc;
3246 char **argv;
3248 main ()
3250 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3252 return 0;
3254 _ACEOF
3255 # Don't try gcc -ansi; that turns off useful extensions and
3256 # breaks some systems' header files.
3257 # AIX -qlanglvl=ansi
3258 # Ultrix and OSF/1 -std1
3259 # HP-UX 10.20 and later -Ae
3260 # HP-UX older versions -Aa -D_HPUX_SOURCE
3261 # SVR4 -Xc -D__EXTENSIONS__
3262 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3264 CC="$ac_save_CC $ac_arg"
3265 rm -f conftest.$ac_objext
3266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3267 (eval $ac_compile) 2>conftest.er1
3268 ac_status=$?
3269 grep -v '^ *+' conftest.er1 >conftest.err
3270 rm -f conftest.er1
3271 cat conftest.err >&5
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); } &&
3274 { ac_try='test -z "$ac_c_werror_flag"
3275 || test ! -s conftest.err'
3276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3277 (eval $ac_try) 2>&5
3278 ac_status=$?
3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280 (exit $ac_status); }; } &&
3281 { ac_try='test -s conftest.$ac_objext'
3282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3283 (eval $ac_try) 2>&5
3284 ac_status=$?
3285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286 (exit $ac_status); }; }; then
3287 ac_cv_prog_cc_stdc=$ac_arg
3288 break
3289 else
3290 echo "$as_me: failed program was:" >&5
3291 sed 's/^/| /' conftest.$ac_ext >&5
3294 rm -f conftest.err conftest.$ac_objext
3295 done
3296 rm -f conftest.$ac_ext conftest.$ac_objext
3297 CC=$ac_save_CC
3301 case "x$ac_cv_prog_cc_stdc" in
3302 x|xno)
3303 echo "$as_me:$LINENO: result: none needed" >&5
3304 echo "${ECHO_T}none needed" >&6 ;;
3306 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3307 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3308 CC="$CC $ac_cv_prog_cc_stdc" ;;
3309 esac
3311 # Some people use a C++ compiler to compile C. Since we use `exit',
3312 # in C++ we need to declare it. In case someone uses the same compiler
3313 # for both compiling C and C++ we need to have the C++ compiler decide
3314 # the declaration of exit, since it's the most demanding environment.
3315 cat >conftest.$ac_ext <<_ACEOF
3316 #ifndef __cplusplus
3317 choke me
3318 #endif
3319 _ACEOF
3320 rm -f conftest.$ac_objext
3321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3322 (eval $ac_compile) 2>conftest.er1
3323 ac_status=$?
3324 grep -v '^ *+' conftest.er1 >conftest.err
3325 rm -f conftest.er1
3326 cat conftest.err >&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); } &&
3329 { ac_try='test -z "$ac_c_werror_flag"
3330 || test ! -s conftest.err'
3331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3332 (eval $ac_try) 2>&5
3333 ac_status=$?
3334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335 (exit $ac_status); }; } &&
3336 { ac_try='test -s conftest.$ac_objext'
3337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3338 (eval $ac_try) 2>&5
3339 ac_status=$?
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); }; }; then
3342 for ac_declaration in \
3343 '' \
3344 'extern "C" void std::exit (int) throw (); using std::exit;' \
3345 'extern "C" void std::exit (int); using std::exit;' \
3346 'extern "C" void exit (int) throw ();' \
3347 'extern "C" void exit (int);' \
3348 'void exit (int);'
3350 cat >conftest.$ac_ext <<_ACEOF
3351 /* confdefs.h. */
3352 _ACEOF
3353 cat confdefs.h >>conftest.$ac_ext
3354 cat >>conftest.$ac_ext <<_ACEOF
3355 /* end confdefs.h. */
3356 $ac_declaration
3357 #include <stdlib.h>
3359 main ()
3361 exit (42);
3363 return 0;
3365 _ACEOF
3366 rm -f conftest.$ac_objext
3367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3368 (eval $ac_compile) 2>conftest.er1
3369 ac_status=$?
3370 grep -v '^ *+' conftest.er1 >conftest.err
3371 rm -f conftest.er1
3372 cat conftest.err >&5
3373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); } &&
3375 { ac_try='test -z "$ac_c_werror_flag"
3376 || test ! -s conftest.err'
3377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3378 (eval $ac_try) 2>&5
3379 ac_status=$?
3380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); }; } &&
3382 { ac_try='test -s conftest.$ac_objext'
3383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3384 (eval $ac_try) 2>&5
3385 ac_status=$?
3386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387 (exit $ac_status); }; }; then
3389 else
3390 echo "$as_me: failed program was:" >&5
3391 sed 's/^/| /' conftest.$ac_ext >&5
3393 continue
3395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3396 cat >conftest.$ac_ext <<_ACEOF
3397 /* confdefs.h. */
3398 _ACEOF
3399 cat confdefs.h >>conftest.$ac_ext
3400 cat >>conftest.$ac_ext <<_ACEOF
3401 /* end confdefs.h. */
3402 $ac_declaration
3404 main ()
3406 exit (42);
3408 return 0;
3410 _ACEOF
3411 rm -f conftest.$ac_objext
3412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3413 (eval $ac_compile) 2>conftest.er1
3414 ac_status=$?
3415 grep -v '^ *+' conftest.er1 >conftest.err
3416 rm -f conftest.er1
3417 cat conftest.err >&5
3418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); } &&
3420 { ac_try='test -z "$ac_c_werror_flag"
3421 || test ! -s conftest.err'
3422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3423 (eval $ac_try) 2>&5
3424 ac_status=$?
3425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426 (exit $ac_status); }; } &&
3427 { ac_try='test -s conftest.$ac_objext'
3428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3429 (eval $ac_try) 2>&5
3430 ac_status=$?
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); }; }; then
3433 break
3434 else
3435 echo "$as_me: failed program was:" >&5
3436 sed 's/^/| /' conftest.$ac_ext >&5
3439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3440 done
3441 rm -f conftest*
3442 if test -n "$ac_declaration"; then
3443 echo '#ifdef __cplusplus' >>confdefs.h
3444 echo $ac_declaration >>confdefs.h
3445 echo '#endif' >>confdefs.h
3448 else
3449 echo "$as_me: failed program was:" >&5
3450 sed 's/^/| /' conftest.$ac_ext >&5
3453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3454 ac_ext=c
3455 ac_cpp='$CPP $CPPFLAGS'
3456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3460 ac_ext=cc
3461 ac_cpp='$CXXCPP $CPPFLAGS'
3462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3465 if test -n "$ac_tool_prefix"; then
3466 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3468 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3469 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3470 echo "$as_me:$LINENO: checking for $ac_word" >&5
3471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3472 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3473 echo $ECHO_N "(cached) $ECHO_C" >&6
3474 else
3475 if test -n "$CXX"; then
3476 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3477 else
3478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3479 for as_dir in $PATH
3481 IFS=$as_save_IFS
3482 test -z "$as_dir" && as_dir=.
3483 for ac_exec_ext in '' $ac_executable_extensions; do
3484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3485 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3487 break 2
3489 done
3490 done
3494 CXX=$glibcxx_cv_prog_CXX
3495 if test -n "$CXX"; then
3496 echo "$as_me:$LINENO: result: $CXX" >&5
3497 echo "${ECHO_T}$CXX" >&6
3498 else
3499 echo "$as_me:$LINENO: result: no" >&5
3500 echo "${ECHO_T}no" >&6
3503 test -n "$CXX" && break
3504 done
3506 if test -z "$CXX"; then
3507 ac_ct_CXX=$CXX
3508 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3510 # Extract the first word of "$ac_prog", so it can be a program name with args.
3511 set dummy $ac_prog; ac_word=$2
3512 echo "$as_me:$LINENO: checking for $ac_word" >&5
3513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3514 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3515 echo $ECHO_N "(cached) $ECHO_C" >&6
3516 else
3517 if test -n "$ac_ct_CXX"; then
3518 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3519 else
3520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3521 for as_dir in $PATH
3523 IFS=$as_save_IFS
3524 test -z "$as_dir" && as_dir=.
3525 for ac_exec_ext in '' $ac_executable_extensions; do
3526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3527 ac_cv_prog_ac_ct_CXX="$ac_prog"
3528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3529 break 2
3531 done
3532 done
3536 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3537 if test -n "$ac_ct_CXX"; then
3538 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3539 echo "${ECHO_T}$ac_ct_CXX" >&6
3540 else
3541 echo "$as_me:$LINENO: result: no" >&5
3542 echo "${ECHO_T}no" >&6
3545 test -n "$ac_ct_CXX" && break
3546 done
3547 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3549 CXX=$ac_ct_CXX
3553 # Provide some information about the compiler.
3554 echo "$as_me:$LINENO:" \
3555 "checking for C++ compiler version" >&5
3556 ac_compiler=`set X $ac_compile; echo $2`
3557 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3558 (eval $ac_compiler --version </dev/null >&5) 2>&5
3559 ac_status=$?
3560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3561 (exit $ac_status); }
3562 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3563 (eval $ac_compiler -v </dev/null >&5) 2>&5
3564 ac_status=$?
3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566 (exit $ac_status); }
3567 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3568 (eval $ac_compiler -V </dev/null >&5) 2>&5
3569 ac_status=$?
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); }
3573 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3574 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3575 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3576 echo $ECHO_N "(cached) $ECHO_C" >&6
3577 else
3578 cat >conftest.$ac_ext <<_ACEOF
3579 /* confdefs.h. */
3580 _ACEOF
3581 cat confdefs.h >>conftest.$ac_ext
3582 cat >>conftest.$ac_ext <<_ACEOF
3583 /* end confdefs.h. */
3586 main ()
3588 #ifndef __GNUC__
3589 choke me
3590 #endif
3593 return 0;
3595 _ACEOF
3596 rm -f conftest.$ac_objext
3597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3598 (eval $ac_compile) 2>conftest.er1
3599 ac_status=$?
3600 grep -v '^ *+' conftest.er1 >conftest.err
3601 rm -f conftest.er1
3602 cat conftest.err >&5
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); } &&
3605 { ac_try='test -z "$ac_cxx_werror_flag"
3606 || test ! -s conftest.err'
3607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3608 (eval $ac_try) 2>&5
3609 ac_status=$?
3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); }; } &&
3612 { ac_try='test -s conftest.$ac_objext'
3613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3614 (eval $ac_try) 2>&5
3615 ac_status=$?
3616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617 (exit $ac_status); }; }; then
3618 ac_compiler_gnu=yes
3619 else
3620 echo "$as_me: failed program was:" >&5
3621 sed 's/^/| /' conftest.$ac_ext >&5
3623 ac_compiler_gnu=no
3625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3626 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3629 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3630 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3631 GXX=`test $ac_compiler_gnu = yes && echo yes`
3632 ac_test_CXXFLAGS=${CXXFLAGS+set}
3633 ac_save_CXXFLAGS=$CXXFLAGS
3634 CXXFLAGS="-g"
3635 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3636 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3637 if test "${ac_cv_prog_cxx_g+set}" = set; then
3638 echo $ECHO_N "(cached) $ECHO_C" >&6
3639 else
3640 cat >conftest.$ac_ext <<_ACEOF
3641 /* confdefs.h. */
3642 _ACEOF
3643 cat confdefs.h >>conftest.$ac_ext
3644 cat >>conftest.$ac_ext <<_ACEOF
3645 /* end confdefs.h. */
3648 main ()
3652 return 0;
3654 _ACEOF
3655 rm -f conftest.$ac_objext
3656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3657 (eval $ac_compile) 2>conftest.er1
3658 ac_status=$?
3659 grep -v '^ *+' conftest.er1 >conftest.err
3660 rm -f conftest.er1
3661 cat conftest.err >&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); } &&
3664 { ac_try='test -z "$ac_cxx_werror_flag"
3665 || test ! -s conftest.err'
3666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3667 (eval $ac_try) 2>&5
3668 ac_status=$?
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); }; } &&
3671 { ac_try='test -s conftest.$ac_objext'
3672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3673 (eval $ac_try) 2>&5
3674 ac_status=$?
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); }; }; then
3677 ac_cv_prog_cxx_g=yes
3678 else
3679 echo "$as_me: failed program was:" >&5
3680 sed 's/^/| /' conftest.$ac_ext >&5
3682 ac_cv_prog_cxx_g=no
3684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3686 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3687 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3688 if test "$ac_test_CXXFLAGS" = set; then
3689 CXXFLAGS=$ac_save_CXXFLAGS
3690 elif test $ac_cv_prog_cxx_g = yes; then
3691 if test "$GXX" = yes; then
3692 CXXFLAGS="-g -O2"
3693 else
3694 CXXFLAGS="-g"
3696 else
3697 if test "$GXX" = yes; then
3698 CXXFLAGS="-O2"
3699 else
3700 CXXFLAGS=
3703 for ac_declaration in \
3704 '' \
3705 'extern "C" void std::exit (int) throw (); using std::exit;' \
3706 'extern "C" void std::exit (int); using std::exit;' \
3707 'extern "C" void exit (int) throw ();' \
3708 'extern "C" void exit (int);' \
3709 'void exit (int);'
3711 cat >conftest.$ac_ext <<_ACEOF
3712 /* confdefs.h. */
3713 _ACEOF
3714 cat confdefs.h >>conftest.$ac_ext
3715 cat >>conftest.$ac_ext <<_ACEOF
3716 /* end confdefs.h. */
3717 $ac_declaration
3718 #include <stdlib.h>
3720 main ()
3722 exit (42);
3724 return 0;
3726 _ACEOF
3727 rm -f conftest.$ac_objext
3728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3729 (eval $ac_compile) 2>conftest.er1
3730 ac_status=$?
3731 grep -v '^ *+' conftest.er1 >conftest.err
3732 rm -f conftest.er1
3733 cat conftest.err >&5
3734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); } &&
3736 { ac_try='test -z "$ac_cxx_werror_flag"
3737 || test ! -s conftest.err'
3738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3739 (eval $ac_try) 2>&5
3740 ac_status=$?
3741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742 (exit $ac_status); }; } &&
3743 { ac_try='test -s conftest.$ac_objext'
3744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3745 (eval $ac_try) 2>&5
3746 ac_status=$?
3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); }; }; then
3750 else
3751 echo "$as_me: failed program was:" >&5
3752 sed 's/^/| /' conftest.$ac_ext >&5
3754 continue
3756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3757 cat >conftest.$ac_ext <<_ACEOF
3758 /* confdefs.h. */
3759 _ACEOF
3760 cat confdefs.h >>conftest.$ac_ext
3761 cat >>conftest.$ac_ext <<_ACEOF
3762 /* end confdefs.h. */
3763 $ac_declaration
3765 main ()
3767 exit (42);
3769 return 0;
3771 _ACEOF
3772 rm -f conftest.$ac_objext
3773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3774 (eval $ac_compile) 2>conftest.er1
3775 ac_status=$?
3776 grep -v '^ *+' conftest.er1 >conftest.err
3777 rm -f conftest.er1
3778 cat conftest.err >&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); } &&
3781 { ac_try='test -z "$ac_cxx_werror_flag"
3782 || test ! -s conftest.err'
3783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3784 (eval $ac_try) 2>&5
3785 ac_status=$?
3786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3787 (exit $ac_status); }; } &&
3788 { ac_try='test -s conftest.$ac_objext'
3789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3790 (eval $ac_try) 2>&5
3791 ac_status=$?
3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); }; }; then
3794 break
3795 else
3796 echo "$as_me: failed program was:" >&5
3797 sed 's/^/| /' conftest.$ac_ext >&5
3800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3801 done
3802 rm -f conftest*
3803 if test -n "$ac_declaration"; then
3804 echo '#ifdef __cplusplus' >>confdefs.h
3805 echo $ac_declaration >>confdefs.h
3806 echo '#endif' >>confdefs.h
3809 ac_ext=c
3810 ac_cpp='$CPP $CPPFLAGS'
3811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3815 CXXFLAGS="$save_CXXFLAGS"
3820 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3821 # available). Uncomment the next line to force a particular method.
3822 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3823 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3824 LN_S=$as_ln_s
3825 if test "$LN_S" = "ln -s"; then
3826 echo "$as_me:$LINENO: result: yes" >&5
3827 echo "${ECHO_T}yes" >&6
3828 else
3829 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3830 echo "${ECHO_T}no, using $LN_S" >&6
3833 #LN_S='cp -p'
3835 if test -n "$ac_tool_prefix"; then
3836 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3837 set dummy ${ac_tool_prefix}as; ac_word=$2
3838 echo "$as_me:$LINENO: checking for $ac_word" >&5
3839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3840 if test "${ac_cv_prog_AS+set}" = set; then
3841 echo $ECHO_N "(cached) $ECHO_C" >&6
3842 else
3843 if test -n "$AS"; then
3844 ac_cv_prog_AS="$AS" # Let the user override the test.
3845 else
3846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3847 for as_dir in $PATH
3849 IFS=$as_save_IFS
3850 test -z "$as_dir" && as_dir=.
3851 for ac_exec_ext in '' $ac_executable_extensions; do
3852 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3853 ac_cv_prog_AS="${ac_tool_prefix}as"
3854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3855 break 2
3857 done
3858 done
3862 AS=$ac_cv_prog_AS
3863 if test -n "$AS"; then
3864 echo "$as_me:$LINENO: result: $AS" >&5
3865 echo "${ECHO_T}$AS" >&6
3866 else
3867 echo "$as_me:$LINENO: result: no" >&5
3868 echo "${ECHO_T}no" >&6
3872 if test -z "$ac_cv_prog_AS"; then
3873 ac_ct_AS=$AS
3874 # Extract the first word of "as", so it can be a program name with args.
3875 set dummy as; ac_word=$2
3876 echo "$as_me:$LINENO: checking for $ac_word" >&5
3877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3878 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3879 echo $ECHO_N "(cached) $ECHO_C" >&6
3880 else
3881 if test -n "$ac_ct_AS"; then
3882 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3883 else
3884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3885 for as_dir in $PATH
3887 IFS=$as_save_IFS
3888 test -z "$as_dir" && as_dir=.
3889 for ac_exec_ext in '' $ac_executable_extensions; do
3890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3891 ac_cv_prog_ac_ct_AS="as"
3892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3893 break 2
3895 done
3896 done
3900 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3901 if test -n "$ac_ct_AS"; then
3902 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3903 echo "${ECHO_T}$ac_ct_AS" >&6
3904 else
3905 echo "$as_me:$LINENO: result: no" >&5
3906 echo "${ECHO_T}no" >&6
3909 AS=$ac_ct_AS
3910 else
3911 AS="$ac_cv_prog_AS"
3914 if test -n "$ac_tool_prefix"; then
3915 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3916 set dummy ${ac_tool_prefix}ar; ac_word=$2
3917 echo "$as_me:$LINENO: checking for $ac_word" >&5
3918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3919 if test "${ac_cv_prog_AR+set}" = set; then
3920 echo $ECHO_N "(cached) $ECHO_C" >&6
3921 else
3922 if test -n "$AR"; then
3923 ac_cv_prog_AR="$AR" # Let the user override the test.
3924 else
3925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3926 for as_dir in $PATH
3928 IFS=$as_save_IFS
3929 test -z "$as_dir" && as_dir=.
3930 for ac_exec_ext in '' $ac_executable_extensions; do
3931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3932 ac_cv_prog_AR="${ac_tool_prefix}ar"
3933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3934 break 2
3936 done
3937 done
3941 AR=$ac_cv_prog_AR
3942 if test -n "$AR"; then
3943 echo "$as_me:$LINENO: result: $AR" >&5
3944 echo "${ECHO_T}$AR" >&6
3945 else
3946 echo "$as_me:$LINENO: result: no" >&5
3947 echo "${ECHO_T}no" >&6
3951 if test -z "$ac_cv_prog_AR"; then
3952 ac_ct_AR=$AR
3953 # Extract the first word of "ar", so it can be a program name with args.
3954 set dummy ar; ac_word=$2
3955 echo "$as_me:$LINENO: checking for $ac_word" >&5
3956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3957 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3958 echo $ECHO_N "(cached) $ECHO_C" >&6
3959 else
3960 if test -n "$ac_ct_AR"; then
3961 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3962 else
3963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3964 for as_dir in $PATH
3966 IFS=$as_save_IFS
3967 test -z "$as_dir" && as_dir=.
3968 for ac_exec_ext in '' $ac_executable_extensions; do
3969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3970 ac_cv_prog_ac_ct_AR="ar"
3971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3972 break 2
3974 done
3975 done
3979 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3980 if test -n "$ac_ct_AR"; then
3981 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3982 echo "${ECHO_T}$ac_ct_AR" >&6
3983 else
3984 echo "$as_me:$LINENO: result: no" >&5
3985 echo "${ECHO_T}no" >&6
3988 AR=$ac_ct_AR
3989 else
3990 AR="$ac_cv_prog_AR"
3993 if test -n "$ac_tool_prefix"; then
3994 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3995 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3996 echo "$as_me:$LINENO: checking for $ac_word" >&5
3997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3998 if test "${ac_cv_prog_RANLIB+set}" = set; then
3999 echo $ECHO_N "(cached) $ECHO_C" >&6
4000 else
4001 if test -n "$RANLIB"; then
4002 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4003 else
4004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4005 for as_dir in $PATH
4007 IFS=$as_save_IFS
4008 test -z "$as_dir" && as_dir=.
4009 for ac_exec_ext in '' $ac_executable_extensions; do
4010 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4011 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4013 break 2
4015 done
4016 done
4020 RANLIB=$ac_cv_prog_RANLIB
4021 if test -n "$RANLIB"; then
4022 echo "$as_me:$LINENO: result: $RANLIB" >&5
4023 echo "${ECHO_T}$RANLIB" >&6
4024 else
4025 echo "$as_me:$LINENO: result: no" >&5
4026 echo "${ECHO_T}no" >&6
4030 if test -z "$ac_cv_prog_RANLIB"; then
4031 ac_ct_RANLIB=$RANLIB
4032 # Extract the first word of "ranlib", so it can be a program name with args.
4033 set dummy ranlib; ac_word=$2
4034 echo "$as_me:$LINENO: checking for $ac_word" >&5
4035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4036 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4037 echo $ECHO_N "(cached) $ECHO_C" >&6
4038 else
4039 if test -n "$ac_ct_RANLIB"; then
4040 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4041 else
4042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4043 for as_dir in $PATH
4045 IFS=$as_save_IFS
4046 test -z "$as_dir" && as_dir=.
4047 for ac_exec_ext in '' $ac_executable_extensions; do
4048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4049 ac_cv_prog_ac_ct_RANLIB="ranlib"
4050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4051 break 2
4053 done
4054 done
4056 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4059 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4060 if test -n "$ac_ct_RANLIB"; then
4061 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4062 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4063 else
4064 echo "$as_me:$LINENO: result: no" >&5
4065 echo "${ECHO_T}no" >&6
4068 RANLIB=$ac_ct_RANLIB
4069 else
4070 RANLIB="$ac_cv_prog_RANLIB"
4074 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4075 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4076 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4077 if test "${enable_maintainer_mode+set}" = set; then
4078 enableval="$enable_maintainer_mode"
4079 USE_MAINTAINER_MODE=$enableval
4080 else
4081 USE_MAINTAINER_MODE=no
4083 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4084 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4087 if test $USE_MAINTAINER_MODE = yes; then
4088 MAINTAINER_MODE_TRUE=
4089 MAINTAINER_MODE_FALSE='#'
4090 else
4091 MAINTAINER_MODE_TRUE='#'
4092 MAINTAINER_MODE_FALSE=
4095 MAINT=$MAINTAINER_MODE_TRUE
4099 # Set up safe default values for all subsequent AM_CONDITIONAL tests
4100 # which are themselves conditionally expanded.
4101 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4102 ## other macros from doing the same. This should be automated.) -pme
4103 need_libmath=no
4105 # Check for uClibc since Linux platforms use different configuration
4106 # directories depending on the C library in use.
4107 cat >conftest.$ac_ext <<_ACEOF
4108 /* confdefs.h. */
4109 _ACEOF
4110 cat confdefs.h >>conftest.$ac_ext
4111 cat >>conftest.$ac_ext <<_ACEOF
4112 /* end confdefs.h. */
4114 #include <stdio.h>
4115 #if __UCLIBC__
4116 _using_uclibc
4117 #endif
4119 _ACEOF
4120 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4121 $EGREP "_using_uclibc" >/dev/null 2>&1; then
4122 uclibc=yes
4123 else
4124 uclibc=no
4126 rm -f conftest*
4129 # Find platform-specific directories containing configuration info.
4130 # Also possibly modify flags used elsewhere, as needed by the platform.
4132 . $glibcxx_srcdir/configure.host
4133 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4134 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4135 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4136 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4140 enable_dlopen=yes
4146 macro_version='2.1a'
4147 macro_revision='1.2435'
4160 ltmain="$ac_aux_dir/ltmain.sh"
4162 # Set options
4165 enable_win32_dll=no
4168 # Check whether --enable-shared or --disable-shared was given.
4169 if test "${enable_shared+set}" = set; then
4170 enableval="$enable_shared"
4171 p=${PACKAGE-default}
4172 case $enableval in
4173 yes) enable_shared=yes ;;
4174 no) enable_shared=no ;;
4176 enable_shared=no
4177 # Look at the argument we got. We use all the common list separators.
4178 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4179 for pkg in $enableval; do
4180 IFS="$lt_save_ifs"
4181 if test "X$pkg" = "X$p"; then
4182 enable_shared=yes
4184 done
4185 IFS="$lt_save_ifs"
4187 esac
4188 else
4189 enable_shared=yes
4199 # Check whether --enable-static or --disable-static was given.
4200 if test "${enable_static+set}" = set; then
4201 enableval="$enable_static"
4202 p=${PACKAGE-default}
4203 case $enableval in
4204 yes) enable_static=yes ;;
4205 no) enable_static=no ;;
4207 enable_static=no
4208 # Look at the argument we got. We use all the common list separators.
4209 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4210 for pkg in $enableval; do
4211 IFS="$lt_save_ifs"
4212 if test "X$pkg" = "X$p"; then
4213 enable_static=yes
4215 done
4216 IFS="$lt_save_ifs"
4218 esac
4219 else
4220 enable_static=yes
4231 # Check whether --with-pic or --without-pic was given.
4232 if test "${with_pic+set}" = set; then
4233 withval="$with_pic"
4234 pic_mode="$withval"
4235 else
4236 pic_mode=default
4239 test -z "$pic_mode" && pic_mode=default
4247 # Check whether --enable-fast-install or --disable-fast-install was given.
4248 if test "${enable_fast_install+set}" = set; then
4249 enableval="$enable_fast_install"
4250 p=${PACKAGE-default}
4251 case $enableval in
4252 yes) enable_fast_install=yes ;;
4253 no) enable_fast_install=no ;;
4255 enable_fast_install=no
4256 # Look at the argument we got. We use all the common list separators.
4257 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4258 for pkg in $enableval; do
4259 IFS="$lt_save_ifs"
4260 if test "X$pkg" = "X$p"; then
4261 enable_fast_install=yes
4263 done
4264 IFS="$lt_save_ifs"
4266 esac
4267 else
4268 enable_fast_install=yes
4278 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4279 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4280 if test "${lt_cv_path_SED+set}" = set; then
4281 echo $ECHO_N "(cached) $ECHO_C" >&6
4282 else
4283 # Loop through the user's path and test for sed and gsed.
4284 # Then use that list of sed's as ones to test for truncation.
4285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4286 for as_dir in $PATH
4288 IFS=$as_save_IFS
4289 test -z "$as_dir" && as_dir=.
4290 for lt_ac_prog in sed gsed; do
4291 for ac_exec_ext in '' $ac_executable_extensions; do
4292 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4293 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4295 done
4296 done
4297 done
4298 IFS=$as_save_IFS
4299 lt_ac_max=0
4300 lt_ac_count=0
4301 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4302 # along with /bin/sed that truncates output.
4303 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4304 test ! -f $lt_ac_sed && continue
4305 cat /dev/null > conftest.in
4306 lt_ac_count=0
4307 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4308 # Check for GNU sed and select it if it is found.
4309 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4310 lt_cv_path_SED=$lt_ac_sed
4311 break
4313 while true; do
4314 cat conftest.in conftest.in >conftest.tmp
4315 mv conftest.tmp conftest.in
4316 cp conftest.in conftest.nl
4317 echo >>conftest.nl
4318 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4319 cmp -s conftest.out conftest.nl || break
4320 # 10000 chars as input seems more than enough
4321 test $lt_ac_count -gt 10 && break
4322 lt_ac_count=`expr $lt_ac_count + 1`
4323 if test $lt_ac_count -gt $lt_ac_max; then
4324 lt_ac_max=$lt_ac_count
4325 lt_cv_path_SED=$lt_ac_sed
4327 done
4328 done
4332 SED=$lt_cv_path_SED
4334 echo "$as_me:$LINENO: result: $SED" >&5
4335 echo "${ECHO_T}$SED" >&6
4337 test -z "$SED" && SED=sed
4338 Xsed="$SED -e 1s/^X//"
4350 echo "$as_me:$LINENO: checking for fgrep" >&5
4351 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4352 if test "${ac_cv_prog_fgrep+set}" = set; then
4353 echo $ECHO_N "(cached) $ECHO_C" >&6
4354 else
4355 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4356 then ac_cv_prog_fgrep='grep -F'
4357 else ac_cv_prog_fgrep='fgrep'
4360 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4361 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4362 FGREP=$ac_cv_prog_fgrep
4365 test -z "$GREP" && GREP=grep
4385 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4386 if test "${with_gnu_ld+set}" = set; then
4387 withval="$with_gnu_ld"
4388 test "$withval" = no || with_gnu_ld=yes
4389 else
4390 with_gnu_ld=no
4392 ac_prog=ld
4393 if test "$GCC" = yes; then
4394 # Check if gcc -print-prog-name=ld gives a path.
4395 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4396 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4397 case $host in
4398 *-*-mingw*)
4399 # gcc leaves a trailing carriage return which upsets mingw
4400 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4402 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4403 esac
4404 case $ac_prog in
4405 # Accept absolute paths.
4406 [\\/]* | ?:[\\/]*)
4407 re_direlt='/[^/][^/]*/\.\./'
4408 # Canonicalize the pathname of ld
4409 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4410 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4411 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4412 done
4413 test -z "$LD" && LD="$ac_prog"
4416 # If it fails, then pretend we aren't using GCC.
4417 ac_prog=ld
4420 # If it is relative, then search for the first ld in PATH.
4421 with_gnu_ld=unknown
4423 esac
4424 elif test "$with_gnu_ld" = yes; then
4425 echo "$as_me:$LINENO: checking for GNU ld" >&5
4426 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4427 else
4428 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4429 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4431 if test "${lt_cv_path_LD+set}" = set; then
4432 echo $ECHO_N "(cached) $ECHO_C" >&6
4433 else
4434 if test -z "$LD"; then
4435 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4436 for ac_dir in $PATH; do
4437 IFS="$lt_save_ifs"
4438 test -z "$ac_dir" && ac_dir=.
4439 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4440 lt_cv_path_LD="$ac_dir/$ac_prog"
4441 # Check to see if the program is GNU ld. I'd rather use --version,
4442 # but apparently some variants of GNU ld only accept -v.
4443 # Break only if it was the GNU/non-GNU ld that we prefer.
4444 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4445 *GNU* | *'with BFD'*)
4446 test "$with_gnu_ld" != no && break
4449 test "$with_gnu_ld" != yes && break
4451 esac
4453 done
4454 IFS="$lt_save_ifs"
4455 else
4456 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4460 LD="$lt_cv_path_LD"
4461 if test -n "$LD"; then
4462 echo "$as_me:$LINENO: result: $LD" >&5
4463 echo "${ECHO_T}$LD" >&6
4464 else
4465 echo "$as_me:$LINENO: result: no" >&5
4466 echo "${ECHO_T}no" >&6
4468 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4469 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4470 { (exit 1); exit 1; }; }
4471 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4472 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4473 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4474 echo $ECHO_N "(cached) $ECHO_C" >&6
4475 else
4476 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4477 case `$LD -v 2>&1 </dev/null` in
4478 *GNU* | *'with BFD'*)
4479 lt_cv_prog_gnu_ld=yes
4482 lt_cv_prog_gnu_ld=no
4484 esac
4486 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4487 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4488 with_gnu_ld=$lt_cv_prog_gnu_ld
4499 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4500 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4501 if test "${lt_cv_path_NM+set}" = set; then
4502 echo $ECHO_N "(cached) $ECHO_C" >&6
4503 else
4504 if test -n "$NM"; then
4505 # Let the user override the test.
4506 lt_cv_path_NM="$NM"
4507 else
4508 lt_nm_to_check="${ac_tool_prefix}nm"
4509 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4510 lt_nm_to_check="$lt_nm_to_check nm"
4512 for lt_tmp_nm in $lt_nm_to_check; do
4513 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4514 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4515 IFS="$lt_save_ifs"
4516 test -z "$ac_dir" && ac_dir=.
4517 tmp_nm="$ac_dir/$lt_tmp_nm"
4518 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4519 # Check to see if the nm accepts a BSD-compat flag.
4520 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4521 # nm: unknown option "B" ignored
4522 # Tru64's nm complains that /dev/null is an invalid object file
4523 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4524 */dev/null* | *'Invalid file or object type'*)
4525 lt_cv_path_NM="$tmp_nm -B"
4526 break
4529 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4530 */dev/null*)
4531 lt_cv_path_NM="$tmp_nm -p"
4532 break
4535 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4536 continue # so that we can try to find one that supports BSD flags
4538 esac
4540 esac
4542 done
4543 IFS="$lt_save_ifs"
4544 done
4545 : ${lt_cv_path_NM=no}
4548 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4549 echo "${ECHO_T}$lt_cv_path_NM" >&6
4550 if test "$lt_cv_path_NM" != "no"; then
4551 NM="$lt_cv_path_NM"
4552 else
4553 # Didn't find any BSD compatible name lister, look for dumpbin.
4554 if test -n "$ac_tool_prefix"; then
4555 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4557 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4558 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4559 echo "$as_me:$LINENO: checking for $ac_word" >&5
4560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4561 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4562 echo $ECHO_N "(cached) $ECHO_C" >&6
4563 else
4564 if test -n "$DUMPBIN"; then
4565 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4566 else
4567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4568 for as_dir in $PATH
4570 IFS=$as_save_IFS
4571 test -z "$as_dir" && as_dir=.
4572 for ac_exec_ext in '' $ac_executable_extensions; do
4573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4574 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4576 break 2
4578 done
4579 done
4583 DUMPBIN=$ac_cv_prog_DUMPBIN
4584 if test -n "$DUMPBIN"; then
4585 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4586 echo "${ECHO_T}$DUMPBIN" >&6
4587 else
4588 echo "$as_me:$LINENO: result: no" >&5
4589 echo "${ECHO_T}no" >&6
4592 test -n "$DUMPBIN" && break
4593 done
4595 if test -z "$DUMPBIN"; then
4596 ac_ct_DUMPBIN=$DUMPBIN
4597 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4599 # Extract the first word of "$ac_prog", so it can be a program name with args.
4600 set dummy $ac_prog; ac_word=$2
4601 echo "$as_me:$LINENO: checking for $ac_word" >&5
4602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4603 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4604 echo $ECHO_N "(cached) $ECHO_C" >&6
4605 else
4606 if test -n "$ac_ct_DUMPBIN"; then
4607 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4608 else
4609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4610 for as_dir in $PATH
4612 IFS=$as_save_IFS
4613 test -z "$as_dir" && as_dir=.
4614 for ac_exec_ext in '' $ac_executable_extensions; do
4615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4616 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4618 break 2
4620 done
4621 done
4625 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4626 if test -n "$ac_ct_DUMPBIN"; then
4627 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4628 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4629 else
4630 echo "$as_me:$LINENO: result: no" >&5
4631 echo "${ECHO_T}no" >&6
4634 test -n "$ac_ct_DUMPBIN" && break
4635 done
4636 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4638 DUMPBIN=$ac_ct_DUMPBIN
4642 if test "$DUMPBIN" != ":"; then
4643 NM="$DUMPBIN"
4646 test -z "$NM" && NM=nm
4653 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4654 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4655 if test "${lt_cv_nm_interface+set}" = set; then
4656 echo $ECHO_N "(cached) $ECHO_C" >&6
4657 else
4658 lt_cv_nm_interface="BSD nm"
4659 echo "int some_variable = 0;" > conftest.$ac_ext
4660 (eval echo "\"\$as_me:4660: $ac_compile\"" >&5)
4661 (eval "$ac_compile" 2>conftest.err)
4662 cat conftest.err >&5
4663 (eval echo "\"\$as_me:4663: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4664 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4665 cat conftest.err >&5
4666 (eval echo "\"\$as_me:4666: output\"" >&5)
4667 cat conftest.out >&5
4668 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4669 lt_cv_nm_interface="MS dumpbin"
4671 rm -f conftest*
4673 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4674 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4676 # find the maximum length of command line arguments
4677 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4678 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4679 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4680 echo $ECHO_N "(cached) $ECHO_C" >&6
4681 else
4683 teststring="ABCD"
4685 case $build_os in
4686 msdosdjgpp*)
4687 # On DJGPP, this test can blow up pretty badly due to problems in libc
4688 # (any single argument exceeding 2000 bytes causes a buffer overrun
4689 # during glob expansion). Even if it were fixed, the result of this
4690 # check would be larger than it should be.
4691 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4694 gnu*)
4695 # Under GNU Hurd, this test is not required because there is
4696 # no limit to the length of command line arguments.
4697 # Libtool will interpret -1 as no limit whatsoever
4698 lt_cv_sys_max_cmd_len=-1;
4701 cygwin* | mingw*)
4702 # On Win9x/ME, this test blows up -- it succeeds, but takes
4703 # about 5 minutes as the teststring grows exponentially.
4704 # Worse, since 9x/ME are not pre-emptively multitasking,
4705 # you end up with a "frozen" computer, even though with patience
4706 # the test eventually succeeds (with a max line length of 256k).
4707 # Instead, let's just punt: use the minimum linelength reported by
4708 # all of the supported platforms: 8192 (on NT/2K/XP).
4709 lt_cv_sys_max_cmd_len=8192;
4712 amigaos*)
4713 # On AmigaOS with pdksh, this test takes hours, literally.
4714 # So we just punt and use a minimum line length of 8192.
4715 lt_cv_sys_max_cmd_len=8192;
4718 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4719 # This has been around since 386BSD, at least. Likely further.
4720 if test -x /sbin/sysctl; then
4721 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4722 elif test -x /usr/sbin/sysctl; then
4723 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4724 else
4725 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4727 # And add a safety zone
4728 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4729 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4732 interix*)
4733 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4734 lt_cv_sys_max_cmd_len=196608
4737 osf*)
4738 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4739 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4740 # nice to cause kernel panics so lets avoid the loop below.
4741 # First set a reasonable default.
4742 lt_cv_sys_max_cmd_len=16384
4744 if test -x /sbin/sysconfig; then
4745 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4746 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4747 esac
4750 sco3.2v5*)
4751 lt_cv_sys_max_cmd_len=102400
4753 sysv5* | sco5v6* | sysv4.2uw2*)
4754 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4755 if test -n "$kargmax"; then
4756 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4757 else
4758 lt_cv_sys_max_cmd_len=32768
4762 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4763 if test -n $lt_cv_sys_max_cmd_len; then
4764 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4765 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4766 else
4767 # Make teststring a little bigger before we do anything with it.
4768 # a 1K string should be a reasonable start.
4769 for i in 1 2 3 4 5 6 7 8 ; do
4770 teststring=$teststring$teststring
4771 done
4772 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4773 # If test is not a shell built-in, we'll probably end up computing a
4774 # maximum length that is only half of the actual maximum length, but
4775 # we can't tell.
4776 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4777 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4778 test $i != 17 # 1/2 MB should be enough
4780 i=`expr $i + 1`
4781 teststring=$teststring$teststring
4782 done
4783 # Only check the string length outside the loop.
4784 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4785 teststring=
4786 # Add a significant safety factor because C++ compilers can tack on
4787 # massive amounts of additional arguments before passing them to the
4788 # linker. It appears as though 1/2 is a usable value.
4789 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4792 esac
4796 if test -n $lt_cv_sys_max_cmd_len ; then
4797 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4798 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4799 else
4800 echo "$as_me:$LINENO: result: none" >&5
4801 echo "${ECHO_T}none" >&6
4803 max_cmd_len=$lt_cv_sys_max_cmd_len
4811 : ${CP="cp -f"}
4812 : ${MV="mv -f"}
4813 : ${RM="rm -f"}
4815 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4816 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4817 # Try some XSI features
4818 xsi_shell=no
4819 ( _lt_dummy="a/b/c"
4820 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4821 = c,a/b,, ) >/dev/null 2>&1 \
4822 && xsi_shell=yes
4823 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4824 echo "${ECHO_T}$xsi_shell" >&6
4827 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4828 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4829 lt_shell_append=no
4830 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4831 >/dev/null 2>&1 \
4832 && lt_shell_append=yes
4833 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4834 echo "${ECHO_T}$lt_shell_append" >&6
4837 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4838 lt_unset=unset
4839 else
4840 lt_unset=false
4847 # test EBCDIC or ASCII
4848 case `echo X|tr X '\101'` in
4849 A) # ASCII based system
4850 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4851 lt_SP2NL='tr \040 \012'
4852 lt_NL2SP='tr \015\012 \040\040'
4854 *) # EBCDIC based system
4855 lt_SP2NL='tr \100 \n'
4856 lt_NL2SP='tr \r\n \100\100'
4858 esac
4868 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4869 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4870 if test "${lt_cv_ld_reload_flag+set}" = set; then
4871 echo $ECHO_N "(cached) $ECHO_C" >&6
4872 else
4873 lt_cv_ld_reload_flag='-r'
4875 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4876 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4877 reload_flag=$lt_cv_ld_reload_flag
4878 case $reload_flag in
4879 "" | " "*) ;;
4880 *) reload_flag=" $reload_flag" ;;
4881 esac
4882 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4883 case $host_os in
4884 darwin*)
4885 if test "$GCC" = yes; then
4886 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4887 else
4888 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4891 esac
4902 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4903 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4904 if test "${lt_cv_deplibs_check_method+set}" = set; then
4905 echo $ECHO_N "(cached) $ECHO_C" >&6
4906 else
4907 lt_cv_file_magic_cmd='$MAGIC_CMD'
4908 lt_cv_file_magic_test_file=
4909 lt_cv_deplibs_check_method='unknown'
4910 # Need to set the preceding variable on all platforms that support
4911 # interlibrary dependencies.
4912 # 'none' -- dependencies not supported.
4913 # `unknown' -- same as none, but documents that we really don't know.
4914 # 'pass_all' -- all dependencies passed with no checks.
4915 # 'test_compile' -- check by making test program.
4916 # 'file_magic [[regex]]' -- check by looking for files in library path
4917 # which responds to the $file_magic_cmd with a given extended regex.
4918 # If you have `file' or equivalent on your system and you're not sure
4919 # whether `pass_all' will *always* work, you probably want this one.
4921 case $host_os in
4922 aix[4-9]*)
4923 lt_cv_deplibs_check_method=pass_all
4926 beos*)
4927 lt_cv_deplibs_check_method=pass_all
4930 bsdi[45]*)
4931 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4932 lt_cv_file_magic_cmd='/usr/bin/file -L'
4933 lt_cv_file_magic_test_file=/shlib/libc.so
4936 cygwin*)
4937 # func_win32_libid is a shell function defined in ltmain.sh
4938 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4939 lt_cv_file_magic_cmd='func_win32_libid'
4942 mingw* | pw32*)
4943 # Base MSYS/MinGW do not provide the 'file' command needed by
4944 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4945 # unless we find 'file', for example because we are cross-compiling.
4946 if ( file / ) >/dev/null 2>&1; then
4947 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4948 lt_cv_file_magic_cmd='func_win32_libid'
4949 else
4950 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4951 lt_cv_file_magic_cmd='$OBJDUMP -f'
4955 darwin* | rhapsody*)
4956 lt_cv_deplibs_check_method=pass_all
4959 freebsd* | dragonfly*)
4960 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4961 case $host_cpu in
4962 i*86 )
4963 # Not sure whether the presence of OpenBSD here was a mistake.
4964 # Let's accept both of them until this is cleared up.
4965 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4966 lt_cv_file_magic_cmd=/usr/bin/file
4967 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4969 esac
4970 else
4971 lt_cv_deplibs_check_method=pass_all
4975 gnu*)
4976 lt_cv_deplibs_check_method=pass_all
4979 hpux10.20* | hpux11*)
4980 lt_cv_file_magic_cmd=/usr/bin/file
4981 case $host_cpu in
4982 ia64*)
4983 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4984 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4986 hppa*64*)
4987 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]'
4988 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4991 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4992 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4994 esac
4997 interix[3-9]*)
4998 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4999 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5002 irix5* | irix6* | nonstopux*)
5003 case $LD in
5004 *-32|*"-32 ") libmagic=32-bit;;
5005 *-n32|*"-n32 ") libmagic=N32;;
5006 *-64|*"-64 ") libmagic=64-bit;;
5007 *) libmagic=never-match;;
5008 esac
5009 lt_cv_deplibs_check_method=pass_all
5012 # This must be Linux ELF.
5013 linux* | k*bsd*-gnu)
5014 lt_cv_deplibs_check_method=pass_all
5017 netbsd*)
5018 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5019 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5020 else
5021 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5025 newos6*)
5026 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5027 lt_cv_file_magic_cmd=/usr/bin/file
5028 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5031 *nto* | *qnx*)
5032 lt_cv_deplibs_check_method=pass_all
5035 openbsd*)
5036 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5037 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5038 else
5039 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5043 osf3* | osf4* | osf5*)
5044 lt_cv_deplibs_check_method=pass_all
5047 rdos*)
5048 lt_cv_deplibs_check_method=pass_all
5051 solaris*)
5052 lt_cv_deplibs_check_method=pass_all
5055 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5056 lt_cv_deplibs_check_method=pass_all
5059 sysv4 | sysv4.3*)
5060 case $host_vendor in
5061 motorola)
5062 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]'
5063 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5065 ncr)
5066 lt_cv_deplibs_check_method=pass_all
5068 sequent)
5069 lt_cv_file_magic_cmd='/bin/file'
5070 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5072 sni)
5073 lt_cv_file_magic_cmd='/bin/file'
5074 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5075 lt_cv_file_magic_test_file=/lib/libc.so
5077 siemens)
5078 lt_cv_deplibs_check_method=pass_all
5081 lt_cv_deplibs_check_method=pass_all
5083 esac
5086 tpf*)
5087 lt_cv_deplibs_check_method=pass_all
5089 esac
5092 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5093 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5094 file_magic_cmd=$lt_cv_file_magic_cmd
5095 deplibs_check_method=$lt_cv_deplibs_check_method
5096 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5109 if test -n "$ac_tool_prefix"; then
5110 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5111 set dummy ${ac_tool_prefix}ar; ac_word=$2
5112 echo "$as_me:$LINENO: checking for $ac_word" >&5
5113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5114 if test "${ac_cv_prog_AR+set}" = set; then
5115 echo $ECHO_N "(cached) $ECHO_C" >&6
5116 else
5117 if test -n "$AR"; then
5118 ac_cv_prog_AR="$AR" # Let the user override the test.
5119 else
5120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5121 for as_dir in $PATH
5123 IFS=$as_save_IFS
5124 test -z "$as_dir" && as_dir=.
5125 for ac_exec_ext in '' $ac_executable_extensions; do
5126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5127 ac_cv_prog_AR="${ac_tool_prefix}ar"
5128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5129 break 2
5131 done
5132 done
5136 AR=$ac_cv_prog_AR
5137 if test -n "$AR"; then
5138 echo "$as_me:$LINENO: result: $AR" >&5
5139 echo "${ECHO_T}$AR" >&6
5140 else
5141 echo "$as_me:$LINENO: result: no" >&5
5142 echo "${ECHO_T}no" >&6
5146 if test -z "$ac_cv_prog_AR"; then
5147 ac_ct_AR=$AR
5148 # Extract the first word of "ar", so it can be a program name with args.
5149 set dummy ar; ac_word=$2
5150 echo "$as_me:$LINENO: checking for $ac_word" >&5
5151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5152 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5153 echo $ECHO_N "(cached) $ECHO_C" >&6
5154 else
5155 if test -n "$ac_ct_AR"; then
5156 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5157 else
5158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5159 for as_dir in $PATH
5161 IFS=$as_save_IFS
5162 test -z "$as_dir" && as_dir=.
5163 for ac_exec_ext in '' $ac_executable_extensions; do
5164 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5165 ac_cv_prog_ac_ct_AR="ar"
5166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5167 break 2
5169 done
5170 done
5172 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5175 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5176 if test -n "$ac_ct_AR"; then
5177 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5178 echo "${ECHO_T}$ac_ct_AR" >&6
5179 else
5180 echo "$as_me:$LINENO: result: no" >&5
5181 echo "${ECHO_T}no" >&6
5184 AR=$ac_ct_AR
5185 else
5186 AR="$ac_cv_prog_AR"
5189 test -z "$AR" && AR=ar
5190 test -z "$AR_FLAGS" && AR_FLAGS=cru
5202 if test -n "$ac_tool_prefix"; then
5203 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5204 set dummy ${ac_tool_prefix}strip; ac_word=$2
5205 echo "$as_me:$LINENO: checking for $ac_word" >&5
5206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5207 if test "${ac_cv_prog_STRIP+set}" = set; then
5208 echo $ECHO_N "(cached) $ECHO_C" >&6
5209 else
5210 if test -n "$STRIP"; then
5211 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5212 else
5213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5214 for as_dir in $PATH
5216 IFS=$as_save_IFS
5217 test -z "$as_dir" && as_dir=.
5218 for ac_exec_ext in '' $ac_executable_extensions; do
5219 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5220 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5222 break 2
5224 done
5225 done
5229 STRIP=$ac_cv_prog_STRIP
5230 if test -n "$STRIP"; then
5231 echo "$as_me:$LINENO: result: $STRIP" >&5
5232 echo "${ECHO_T}$STRIP" >&6
5233 else
5234 echo "$as_me:$LINENO: result: no" >&5
5235 echo "${ECHO_T}no" >&6
5239 if test -z "$ac_cv_prog_STRIP"; then
5240 ac_ct_STRIP=$STRIP
5241 # Extract the first word of "strip", so it can be a program name with args.
5242 set dummy strip; ac_word=$2
5243 echo "$as_me:$LINENO: checking for $ac_word" >&5
5244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5245 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5246 echo $ECHO_N "(cached) $ECHO_C" >&6
5247 else
5248 if test -n "$ac_ct_STRIP"; then
5249 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5250 else
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5252 for as_dir in $PATH
5254 IFS=$as_save_IFS
5255 test -z "$as_dir" && as_dir=.
5256 for ac_exec_ext in '' $ac_executable_extensions; do
5257 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5258 ac_cv_prog_ac_ct_STRIP="strip"
5259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5260 break 2
5262 done
5263 done
5265 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5268 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5269 if test -n "$ac_ct_STRIP"; then
5270 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5271 echo "${ECHO_T}$ac_ct_STRIP" >&6
5272 else
5273 echo "$as_me:$LINENO: result: no" >&5
5274 echo "${ECHO_T}no" >&6
5277 STRIP=$ac_ct_STRIP
5278 else
5279 STRIP="$ac_cv_prog_STRIP"
5282 test -z "$STRIP" && STRIP=:
5289 if test -n "$ac_tool_prefix"; then
5290 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5291 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5292 echo "$as_me:$LINENO: checking for $ac_word" >&5
5293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5294 if test "${ac_cv_prog_RANLIB+set}" = set; then
5295 echo $ECHO_N "(cached) $ECHO_C" >&6
5296 else
5297 if test -n "$RANLIB"; then
5298 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5299 else
5300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5301 for as_dir in $PATH
5303 IFS=$as_save_IFS
5304 test -z "$as_dir" && as_dir=.
5305 for ac_exec_ext in '' $ac_executable_extensions; do
5306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5307 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5309 break 2
5311 done
5312 done
5316 RANLIB=$ac_cv_prog_RANLIB
5317 if test -n "$RANLIB"; then
5318 echo "$as_me:$LINENO: result: $RANLIB" >&5
5319 echo "${ECHO_T}$RANLIB" >&6
5320 else
5321 echo "$as_me:$LINENO: result: no" >&5
5322 echo "${ECHO_T}no" >&6
5326 if test -z "$ac_cv_prog_RANLIB"; then
5327 ac_ct_RANLIB=$RANLIB
5328 # Extract the first word of "ranlib", so it can be a program name with args.
5329 set dummy ranlib; ac_word=$2
5330 echo "$as_me:$LINENO: checking for $ac_word" >&5
5331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5332 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5333 echo $ECHO_N "(cached) $ECHO_C" >&6
5334 else
5335 if test -n "$ac_ct_RANLIB"; then
5336 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5337 else
5338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5339 for as_dir in $PATH
5341 IFS=$as_save_IFS
5342 test -z "$as_dir" && as_dir=.
5343 for ac_exec_ext in '' $ac_executable_extensions; do
5344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5345 ac_cv_prog_ac_ct_RANLIB="ranlib"
5346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5347 break 2
5349 done
5350 done
5352 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5355 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5356 if test -n "$ac_ct_RANLIB"; then
5357 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5358 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5359 else
5360 echo "$as_me:$LINENO: result: no" >&5
5361 echo "${ECHO_T}no" >&6
5364 RANLIB=$ac_ct_RANLIB
5365 else
5366 RANLIB="$ac_cv_prog_RANLIB"
5369 test -z "$RANLIB" && RANLIB=:
5376 # Determine commands to create old-style static archives.
5377 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5378 old_postinstall_cmds='chmod 644 $oldlib'
5379 old_postuninstall_cmds=
5381 if test -n "$RANLIB"; then
5382 case $host_os in
5383 openbsd*)
5384 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5387 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5389 esac
5390 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5426 # If no C compiler was specified, use CC.
5427 LTCC=${LTCC-"$CC"}
5429 # If no C compiler flags were specified, use CFLAGS.
5430 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5432 # Allow CC to be a program name with arguments.
5433 compiler=$CC
5436 # Check for command to grab the raw symbol name followed by C symbol from nm.
5437 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5438 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5439 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5440 echo $ECHO_N "(cached) $ECHO_C" >&6
5441 else
5443 # These are sane defaults that work on at least a few old systems.
5444 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5446 # Character class describing NM global symbol codes.
5447 symcode='[BCDEGRST]'
5449 # Regexp to match symbols that can be accessed directly from C.
5450 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5452 # Define system-specific variables.
5453 case $host_os in
5454 aix*)
5455 symcode='[BCDT]'
5457 cygwin* | mingw* | pw32*)
5458 symcode='[ABCDGISTW]'
5460 hpux*)
5461 if test "$host_cpu" = ia64; then
5462 symcode='[ABCDEGRST]'
5465 irix* | nonstopux*)
5466 symcode='[BCDEGRST]'
5468 osf*)
5469 symcode='[BCDEGQRST]'
5471 solaris*)
5472 symcode='[BDRT]'
5474 sco3.2v5*)
5475 symcode='[DT]'
5477 sysv4.2uw2*)
5478 symcode='[DT]'
5480 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5481 symcode='[ABDT]'
5483 sysv4)
5484 symcode='[DFNSTU]'
5486 esac
5488 # If we're using GNU nm, then use its standard symbol codes.
5489 case `$NM -V 2>&1` in
5490 *GNU* | *'with BFD'*)
5491 symcode='[ABCDGIRSTW]' ;;
5492 esac
5494 # Transform an extracted symbol line into a proper C declaration.
5495 # Some systems (esp. on ia64) link data and code symbols differently,
5496 # so use this general approach.
5497 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5499 # Transform an extracted symbol line into symbol name and symbol address
5500 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5502 # Handle CRLF in mingw tool chain
5503 opt_cr=
5504 case $build_os in
5505 mingw*)
5506 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5508 esac
5510 # Try without a prefix underscore, then with it.
5511 for ac_symprfx in "" "_"; do
5513 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5514 symxfrm="\\1 $ac_symprfx\\2 \\2"
5516 # Write the raw and C identifiers.
5517 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5518 # Fake it for dumpbin and say T for any non-static function
5519 # and D for any global variable.
5520 # Also find C++ and __fastcall symbols from MSVC++,
5521 # which start with @ or ?.
5522 lt_cv_sys_global_symbol_pipe="$AWK '"\
5523 " {last_section=section; section=\$ 3};"\
5524 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5525 " \$ 0!~/External *\|/{next};"\
5526 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5527 " {if(hide[section]) next};"\
5528 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5529 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5530 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5531 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5532 " ' prfx=^$ac_symprfx"
5533 else
5534 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5537 # Check to see that the pipe works correctly.
5538 pipe_works=no
5540 rm -f conftest*
5541 cat > conftest.$ac_ext <<_LT_EOF
5542 #ifdef __cplusplus
5543 extern "C" {
5544 #endif
5545 char nm_test_var;
5546 void nm_test_func(void);
5547 void nm_test_func(void){}
5548 #ifdef __cplusplus
5550 #endif
5551 int main(){nm_test_var='a';nm_test_func();return(0);}
5552 _LT_EOF
5554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5555 (eval $ac_compile) 2>&5
5556 ac_status=$?
5557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 (exit $ac_status); }; then
5559 # Now try to grab the symbols.
5560 nlist=conftest.nm
5561 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5562 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5563 ac_status=$?
5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565 (exit $ac_status); } && test -s "$nlist"; then
5566 # Try sorting and uniquifying the output.
5567 if sort "$nlist" | uniq > "$nlist"T; then
5568 mv -f "$nlist"T "$nlist"
5569 else
5570 rm -f "$nlist"T
5573 # Make sure that we snagged all the symbols we need.
5574 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5575 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5576 cat <<_LT_EOF > conftest.$ac_ext
5577 #ifdef __cplusplus
5578 extern "C" {
5579 #endif
5581 _LT_EOF
5582 # Now generate the symbol file.
5583 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5585 cat <<_LT_EOF >> conftest.$ac_ext
5587 /* The mapping between symbol names and symbols. */
5588 const struct {
5589 const char *name;
5590 void *address;
5592 lt__PROGRAM__LTX_preloaded_symbols[] =
5594 { "@PROGRAM@", (void *) 0 },
5595 _LT_EOF
5596 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5597 cat <<\_LT_EOF >> conftest.$ac_ext
5598 {0, (void *) 0}
5601 /* This works around a problem in FreeBSD linker */
5602 #ifdef FREEBSD_WORKAROUND
5603 static const void *lt_preloaded_setup() {
5604 return lt__PROGRAM__LTX_preloaded_symbols;
5606 #endif
5608 #ifdef __cplusplus
5610 #endif
5611 _LT_EOF
5612 # Now try linking the two files.
5613 mv conftest.$ac_objext conftstm.$ac_objext
5614 lt_save_LIBS="$LIBS"
5615 lt_save_CFLAGS="$CFLAGS"
5616 LIBS="conftstm.$ac_objext"
5617 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5619 (eval $ac_link) 2>&5
5620 ac_status=$?
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5623 pipe_works=yes
5625 LIBS="$lt_save_LIBS"
5626 CFLAGS="$lt_save_CFLAGS"
5627 else
5628 echo "cannot find nm_test_func in $nlist" >&5
5630 else
5631 echo "cannot find nm_test_var in $nlist" >&5
5633 else
5634 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5636 else
5637 echo "$progname: failed program was:" >&5
5638 cat conftest.$ac_ext >&5
5640 rm -f conftest* conftst*
5642 # Do not use the global_symbol_pipe unless it works.
5643 if test "$pipe_works" = yes; then
5644 break
5645 else
5646 lt_cv_sys_global_symbol_pipe=
5648 done
5652 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5653 lt_cv_sys_global_symbol_to_cdecl=
5655 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5656 echo "$as_me:$LINENO: result: failed" >&5
5657 echo "${ECHO_T}failed" >&6
5658 else
5659 echo "$as_me:$LINENO: result: ok" >&5
5660 echo "${ECHO_T}ok" >&6
5679 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5680 if test "${enable_libtool_lock+set}" = set; then
5681 enableval="$enable_libtool_lock"
5684 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5686 # Some flags need to be propagated to the compiler or linker for good
5687 # libtool support.
5688 case $host in
5689 ia64-*-hpux*)
5690 # Find out which ABI we are using.
5691 echo 'int i;' > conftest.$ac_ext
5692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5693 (eval $ac_compile) 2>&5
5694 ac_status=$?
5695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5696 (exit $ac_status); }; then
5697 case `/usr/bin/file conftest.$ac_objext` in
5698 *ELF-32*)
5699 HPUX_IA64_MODE="32"
5701 *ELF-64*)
5702 HPUX_IA64_MODE="64"
5704 esac
5706 rm -rf conftest*
5708 *-*-irix6*)
5709 # Find out which ABI we are using.
5710 echo '#line 5710 "configure"' > conftest.$ac_ext
5711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5712 (eval $ac_compile) 2>&5
5713 ac_status=$?
5714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5715 (exit $ac_status); }; then
5716 if test "$lt_cv_prog_gnu_ld" = yes; then
5717 case `/usr/bin/file conftest.$ac_objext` in
5718 *32-bit*)
5719 LD="${LD-ld} -melf32bsmip"
5721 *N32*)
5722 LD="${LD-ld} -melf32bmipn32"
5724 *64-bit*)
5725 LD="${LD-ld} -melf64bmip"
5727 esac
5728 else
5729 case `/usr/bin/file conftest.$ac_objext` in
5730 *32-bit*)
5731 LD="${LD-ld} -32"
5733 *N32*)
5734 LD="${LD-ld} -n32"
5736 *64-bit*)
5737 LD="${LD-ld} -64"
5739 esac
5742 rm -rf conftest*
5745 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5746 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5747 # Find out which ABI we are using.
5748 echo 'int i;' > conftest.$ac_ext
5749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5750 (eval $ac_compile) 2>&5
5751 ac_status=$?
5752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5753 (exit $ac_status); }; then
5754 case `/usr/bin/file conftest.o` in
5755 *32-bit*)
5756 case $host in
5757 x86_64-*kfreebsd*-gnu)
5758 LD="${LD-ld} -m elf_i386_fbsd"
5760 x86_64-*linux*)
5761 LD="${LD-ld} -m elf_i386"
5763 ppc64-*linux*|powerpc64-*linux*)
5764 LD="${LD-ld} -m elf32ppclinux"
5766 s390x-*linux*)
5767 LD="${LD-ld} -m elf_s390"
5769 sparc64-*linux*)
5770 LD="${LD-ld} -m elf32_sparc"
5772 esac
5774 *64-bit*)
5775 case $host in
5776 x86_64-*kfreebsd*-gnu)
5777 LD="${LD-ld} -m elf_x86_64_fbsd"
5779 x86_64-*linux*)
5780 LD="${LD-ld} -m elf_x86_64"
5782 ppc*-*linux*|powerpc*-*linux*)
5783 LD="${LD-ld} -m elf64ppc"
5785 s390*-*linux*|s390*-*tpf*)
5786 LD="${LD-ld} -m elf64_s390"
5788 sparc*-*linux*)
5789 LD="${LD-ld} -m elf64_sparc"
5791 esac
5793 esac
5795 rm -rf conftest*
5798 *-*-sco3.2v5*)
5799 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5800 SAVE_CFLAGS="$CFLAGS"
5801 CFLAGS="$CFLAGS -belf"
5802 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5803 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5804 if test "${lt_cv_cc_needs_belf+set}" = set; then
5805 echo $ECHO_N "(cached) $ECHO_C" >&6
5806 else
5807 ac_ext=c
5808 ac_cpp='$CPP $CPPFLAGS'
5809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5813 if test x$gcc_no_link = xyes; then
5814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5816 { (exit 1); exit 1; }; }
5818 cat >conftest.$ac_ext <<_ACEOF
5819 /* confdefs.h. */
5820 _ACEOF
5821 cat confdefs.h >>conftest.$ac_ext
5822 cat >>conftest.$ac_ext <<_ACEOF
5823 /* end confdefs.h. */
5826 main ()
5830 return 0;
5832 _ACEOF
5833 rm -f conftest.$ac_objext conftest$ac_exeext
5834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5835 (eval $ac_link) 2>conftest.er1
5836 ac_status=$?
5837 grep -v '^ *+' conftest.er1 >conftest.err
5838 rm -f conftest.er1
5839 cat conftest.err >&5
5840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841 (exit $ac_status); } &&
5842 { ac_try='test -z "$ac_c_werror_flag"
5843 || test ! -s conftest.err'
5844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5845 (eval $ac_try) 2>&5
5846 ac_status=$?
5847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5848 (exit $ac_status); }; } &&
5849 { ac_try='test -s conftest$ac_exeext'
5850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5851 (eval $ac_try) 2>&5
5852 ac_status=$?
5853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854 (exit $ac_status); }; }; then
5855 lt_cv_cc_needs_belf=yes
5856 else
5857 echo "$as_me: failed program was:" >&5
5858 sed 's/^/| /' conftest.$ac_ext >&5
5860 lt_cv_cc_needs_belf=no
5862 rm -f conftest.err conftest.$ac_objext \
5863 conftest$ac_exeext conftest.$ac_ext
5864 ac_ext=c
5865 ac_cpp='$CPP $CPPFLAGS'
5866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5871 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5872 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5873 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5874 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5875 CFLAGS="$SAVE_CFLAGS"
5878 sparc*-*solaris*)
5879 # Find out which ABI we are using.
5880 echo 'int i;' > conftest.$ac_ext
5881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5882 (eval $ac_compile) 2>&5
5883 ac_status=$?
5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885 (exit $ac_status); }; then
5886 case `/usr/bin/file conftest.o` in
5887 *64-bit*)
5888 case $lt_cv_prog_gnu_ld in
5889 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5890 *) LD="${LD-ld} -64" ;;
5891 esac
5893 esac
5895 rm -rf conftest*
5897 esac
5899 need_locks="$enable_libtool_lock"
5901 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5902 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5903 if test "${ac_cv_header_stdc+set}" = set; then
5904 echo $ECHO_N "(cached) $ECHO_C" >&6
5905 else
5906 cat >conftest.$ac_ext <<_ACEOF
5907 /* confdefs.h. */
5908 _ACEOF
5909 cat confdefs.h >>conftest.$ac_ext
5910 cat >>conftest.$ac_ext <<_ACEOF
5911 /* end confdefs.h. */
5912 #include <stdlib.h>
5913 #include <stdarg.h>
5914 #include <string.h>
5915 #include <float.h>
5918 main ()
5922 return 0;
5924 _ACEOF
5925 rm -f conftest.$ac_objext
5926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5927 (eval $ac_compile) 2>conftest.er1
5928 ac_status=$?
5929 grep -v '^ *+' conftest.er1 >conftest.err
5930 rm -f conftest.er1
5931 cat conftest.err >&5
5932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933 (exit $ac_status); } &&
5934 { ac_try='test -z "$ac_c_werror_flag"
5935 || test ! -s conftest.err'
5936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5937 (eval $ac_try) 2>&5
5938 ac_status=$?
5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); }; } &&
5941 { ac_try='test -s conftest.$ac_objext'
5942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5943 (eval $ac_try) 2>&5
5944 ac_status=$?
5945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946 (exit $ac_status); }; }; then
5947 ac_cv_header_stdc=yes
5948 else
5949 echo "$as_me: failed program was:" >&5
5950 sed 's/^/| /' conftest.$ac_ext >&5
5952 ac_cv_header_stdc=no
5954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5956 if test $ac_cv_header_stdc = yes; then
5957 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5958 cat >conftest.$ac_ext <<_ACEOF
5959 /* confdefs.h. */
5960 _ACEOF
5961 cat confdefs.h >>conftest.$ac_ext
5962 cat >>conftest.$ac_ext <<_ACEOF
5963 /* end confdefs.h. */
5964 #include <string.h>
5966 _ACEOF
5967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5968 $EGREP "memchr" >/dev/null 2>&1; then
5970 else
5971 ac_cv_header_stdc=no
5973 rm -f conftest*
5977 if test $ac_cv_header_stdc = yes; then
5978 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5979 cat >conftest.$ac_ext <<_ACEOF
5980 /* confdefs.h. */
5981 _ACEOF
5982 cat confdefs.h >>conftest.$ac_ext
5983 cat >>conftest.$ac_ext <<_ACEOF
5984 /* end confdefs.h. */
5985 #include <stdlib.h>
5987 _ACEOF
5988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5989 $EGREP "free" >/dev/null 2>&1; then
5991 else
5992 ac_cv_header_stdc=no
5994 rm -f conftest*
5998 if test $ac_cv_header_stdc = yes; then
5999 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6000 if test "$cross_compiling" = yes; then
6002 else
6003 cat >conftest.$ac_ext <<_ACEOF
6004 /* confdefs.h. */
6005 _ACEOF
6006 cat confdefs.h >>conftest.$ac_ext
6007 cat >>conftest.$ac_ext <<_ACEOF
6008 /* end confdefs.h. */
6009 #include <ctype.h>
6010 #if ((' ' & 0x0FF) == 0x020)
6011 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6012 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6013 #else
6014 # define ISLOWER(c) \
6015 (('a' <= (c) && (c) <= 'i') \
6016 || ('j' <= (c) && (c) <= 'r') \
6017 || ('s' <= (c) && (c) <= 'z'))
6018 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6019 #endif
6021 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6023 main ()
6025 int i;
6026 for (i = 0; i < 256; i++)
6027 if (XOR (islower (i), ISLOWER (i))
6028 || toupper (i) != TOUPPER (i))
6029 exit(2);
6030 exit (0);
6032 _ACEOF
6033 rm -f conftest$ac_exeext
6034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6035 (eval $ac_link) 2>&5
6036 ac_status=$?
6037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6040 (eval $ac_try) 2>&5
6041 ac_status=$?
6042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043 (exit $ac_status); }; }; then
6045 else
6046 echo "$as_me: program exited with status $ac_status" >&5
6047 echo "$as_me: failed program was:" >&5
6048 sed 's/^/| /' conftest.$ac_ext >&5
6050 ( exit $ac_status )
6051 ac_cv_header_stdc=no
6053 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6057 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6058 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6059 if test $ac_cv_header_stdc = yes; then
6061 cat >>confdefs.h <<\_ACEOF
6062 #define STDC_HEADERS 1
6063 _ACEOF
6067 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6077 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6078 inttypes.h stdint.h unistd.h
6080 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6081 echo "$as_me:$LINENO: checking for $ac_header" >&5
6082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6084 echo $ECHO_N "(cached) $ECHO_C" >&6
6085 else
6086 cat >conftest.$ac_ext <<_ACEOF
6087 /* confdefs.h. */
6088 _ACEOF
6089 cat confdefs.h >>conftest.$ac_ext
6090 cat >>conftest.$ac_ext <<_ACEOF
6091 /* end confdefs.h. */
6092 $ac_includes_default
6094 #include <$ac_header>
6095 _ACEOF
6096 rm -f conftest.$ac_objext
6097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6098 (eval $ac_compile) 2>conftest.er1
6099 ac_status=$?
6100 grep -v '^ *+' conftest.er1 >conftest.err
6101 rm -f conftest.er1
6102 cat conftest.err >&5
6103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6104 (exit $ac_status); } &&
6105 { ac_try='test -z "$ac_c_werror_flag"
6106 || test ! -s conftest.err'
6107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6108 (eval $ac_try) 2>&5
6109 ac_status=$?
6110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111 (exit $ac_status); }; } &&
6112 { ac_try='test -s conftest.$ac_objext'
6113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6114 (eval $ac_try) 2>&5
6115 ac_status=$?
6116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117 (exit $ac_status); }; }; then
6118 eval "$as_ac_Header=yes"
6119 else
6120 echo "$as_me: failed program was:" >&5
6121 sed 's/^/| /' conftest.$ac_ext >&5
6123 eval "$as_ac_Header=no"
6125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6130 cat >>confdefs.h <<_ACEOF
6131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6132 _ACEOF
6136 done
6140 for ac_header in dlfcn.h
6142 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6143 echo "$as_me:$LINENO: checking for $ac_header" >&5
6144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6146 echo $ECHO_N "(cached) $ECHO_C" >&6
6147 else
6148 cat >conftest.$ac_ext <<_ACEOF
6149 /* confdefs.h. */
6150 _ACEOF
6151 cat confdefs.h >>conftest.$ac_ext
6152 cat >>conftest.$ac_ext <<_ACEOF
6153 /* end confdefs.h. */
6154 $ac_includes_default
6156 #include <$ac_header>
6157 _ACEOF
6158 rm -f conftest.$ac_objext
6159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6160 (eval $ac_compile) 2>conftest.er1
6161 ac_status=$?
6162 grep -v '^ *+' conftest.er1 >conftest.err
6163 rm -f conftest.er1
6164 cat conftest.err >&5
6165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6166 (exit $ac_status); } &&
6167 { ac_try='test -z "$ac_c_werror_flag"
6168 || test ! -s conftest.err'
6169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6170 (eval $ac_try) 2>&5
6171 ac_status=$?
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); }; } &&
6174 { ac_try='test -s conftest.$ac_objext'
6175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6176 (eval $ac_try) 2>&5
6177 ac_status=$?
6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); }; }; then
6180 eval "$as_ac_Header=yes"
6181 else
6182 echo "$as_me: failed program was:" >&5
6183 sed 's/^/| /' conftest.$ac_ext >&5
6185 eval "$as_ac_Header=no"
6187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6190 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6191 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6192 cat >>confdefs.h <<_ACEOF
6193 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6194 _ACEOF
6198 done
6202 ac_ext=cc
6203 ac_cpp='$CXXCPP $CPPFLAGS'
6204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6207 if test -n "$ac_tool_prefix"; then
6208 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6210 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6211 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6212 echo "$as_me:$LINENO: checking for $ac_word" >&5
6213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6214 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6215 echo $ECHO_N "(cached) $ECHO_C" >&6
6216 else
6217 if test -n "$CXX"; then
6218 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6219 else
6220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6221 for as_dir in $PATH
6223 IFS=$as_save_IFS
6224 test -z "$as_dir" && as_dir=.
6225 for ac_exec_ext in '' $ac_executable_extensions; do
6226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6227 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6229 break 2
6231 done
6232 done
6236 CXX=$glibcxx_cv_prog_CXX
6237 if test -n "$CXX"; then
6238 echo "$as_me:$LINENO: result: $CXX" >&5
6239 echo "${ECHO_T}$CXX" >&6
6240 else
6241 echo "$as_me:$LINENO: result: no" >&5
6242 echo "${ECHO_T}no" >&6
6245 test -n "$CXX" && break
6246 done
6248 if test -z "$CXX"; then
6249 ac_ct_CXX=$CXX
6250 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6252 # Extract the first word of "$ac_prog", so it can be a program name with args.
6253 set dummy $ac_prog; ac_word=$2
6254 echo "$as_me:$LINENO: checking for $ac_word" >&5
6255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6256 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6257 echo $ECHO_N "(cached) $ECHO_C" >&6
6258 else
6259 if test -n "$ac_ct_CXX"; then
6260 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6261 else
6262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263 for as_dir in $PATH
6265 IFS=$as_save_IFS
6266 test -z "$as_dir" && as_dir=.
6267 for ac_exec_ext in '' $ac_executable_extensions; do
6268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6269 ac_cv_prog_ac_ct_CXX="$ac_prog"
6270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6271 break 2
6273 done
6274 done
6278 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6279 if test -n "$ac_ct_CXX"; then
6280 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6281 echo "${ECHO_T}$ac_ct_CXX" >&6
6282 else
6283 echo "$as_me:$LINENO: result: no" >&5
6284 echo "${ECHO_T}no" >&6
6287 test -n "$ac_ct_CXX" && break
6288 done
6289 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6291 CXX=$ac_ct_CXX
6295 # Provide some information about the compiler.
6296 echo "$as_me:$LINENO:" \
6297 "checking for C++ compiler version" >&5
6298 ac_compiler=`set X $ac_compile; echo $2`
6299 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6300 (eval $ac_compiler --version </dev/null >&5) 2>&5
6301 ac_status=$?
6302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6303 (exit $ac_status); }
6304 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6305 (eval $ac_compiler -v </dev/null >&5) 2>&5
6306 ac_status=$?
6307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6308 (exit $ac_status); }
6309 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6310 (eval $ac_compiler -V </dev/null >&5) 2>&5
6311 ac_status=$?
6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313 (exit $ac_status); }
6315 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6316 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6317 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6318 echo $ECHO_N "(cached) $ECHO_C" >&6
6319 else
6320 cat >conftest.$ac_ext <<_ACEOF
6321 /* confdefs.h. */
6322 _ACEOF
6323 cat confdefs.h >>conftest.$ac_ext
6324 cat >>conftest.$ac_ext <<_ACEOF
6325 /* end confdefs.h. */
6328 main ()
6330 #ifndef __GNUC__
6331 choke me
6332 #endif
6335 return 0;
6337 _ACEOF
6338 rm -f conftest.$ac_objext
6339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6340 (eval $ac_compile) 2>conftest.er1
6341 ac_status=$?
6342 grep -v '^ *+' conftest.er1 >conftest.err
6343 rm -f conftest.er1
6344 cat conftest.err >&5
6345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346 (exit $ac_status); } &&
6347 { ac_try='test -z "$ac_cxx_werror_flag"
6348 || test ! -s conftest.err'
6349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6350 (eval $ac_try) 2>&5
6351 ac_status=$?
6352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6353 (exit $ac_status); }; } &&
6354 { ac_try='test -s conftest.$ac_objext'
6355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6356 (eval $ac_try) 2>&5
6357 ac_status=$?
6358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6359 (exit $ac_status); }; }; then
6360 ac_compiler_gnu=yes
6361 else
6362 echo "$as_me: failed program was:" >&5
6363 sed 's/^/| /' conftest.$ac_ext >&5
6365 ac_compiler_gnu=no
6367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6368 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6371 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6372 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6373 GXX=`test $ac_compiler_gnu = yes && echo yes`
6374 ac_test_CXXFLAGS=${CXXFLAGS+set}
6375 ac_save_CXXFLAGS=$CXXFLAGS
6376 CXXFLAGS="-g"
6377 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6378 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6379 if test "${ac_cv_prog_cxx_g+set}" = set; then
6380 echo $ECHO_N "(cached) $ECHO_C" >&6
6381 else
6382 cat >conftest.$ac_ext <<_ACEOF
6383 /* confdefs.h. */
6384 _ACEOF
6385 cat confdefs.h >>conftest.$ac_ext
6386 cat >>conftest.$ac_ext <<_ACEOF
6387 /* end confdefs.h. */
6390 main ()
6394 return 0;
6396 _ACEOF
6397 rm -f conftest.$ac_objext
6398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6399 (eval $ac_compile) 2>conftest.er1
6400 ac_status=$?
6401 grep -v '^ *+' conftest.er1 >conftest.err
6402 rm -f conftest.er1
6403 cat conftest.err >&5
6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405 (exit $ac_status); } &&
6406 { ac_try='test -z "$ac_cxx_werror_flag"
6407 || test ! -s conftest.err'
6408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6409 (eval $ac_try) 2>&5
6410 ac_status=$?
6411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6412 (exit $ac_status); }; } &&
6413 { ac_try='test -s conftest.$ac_objext'
6414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6415 (eval $ac_try) 2>&5
6416 ac_status=$?
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); }; }; then
6419 ac_cv_prog_cxx_g=yes
6420 else
6421 echo "$as_me: failed program was:" >&5
6422 sed 's/^/| /' conftest.$ac_ext >&5
6424 ac_cv_prog_cxx_g=no
6426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6428 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6429 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6430 if test "$ac_test_CXXFLAGS" = set; then
6431 CXXFLAGS=$ac_save_CXXFLAGS
6432 elif test $ac_cv_prog_cxx_g = yes; then
6433 if test "$GXX" = yes; then
6434 CXXFLAGS="-g -O2"
6435 else
6436 CXXFLAGS="-g"
6438 else
6439 if test "$GXX" = yes; then
6440 CXXFLAGS="-O2"
6441 else
6442 CXXFLAGS=
6445 for ac_declaration in \
6446 '' \
6447 'extern "C" void std::exit (int) throw (); using std::exit;' \
6448 'extern "C" void std::exit (int); using std::exit;' \
6449 'extern "C" void exit (int) throw ();' \
6450 'extern "C" void exit (int);' \
6451 'void exit (int);'
6453 cat >conftest.$ac_ext <<_ACEOF
6454 /* confdefs.h. */
6455 _ACEOF
6456 cat confdefs.h >>conftest.$ac_ext
6457 cat >>conftest.$ac_ext <<_ACEOF
6458 /* end confdefs.h. */
6459 $ac_declaration
6460 #include <stdlib.h>
6462 main ()
6464 exit (42);
6466 return 0;
6468 _ACEOF
6469 rm -f conftest.$ac_objext
6470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6471 (eval $ac_compile) 2>conftest.er1
6472 ac_status=$?
6473 grep -v '^ *+' conftest.er1 >conftest.err
6474 rm -f conftest.er1
6475 cat conftest.err >&5
6476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6477 (exit $ac_status); } &&
6478 { ac_try='test -z "$ac_cxx_werror_flag"
6479 || test ! -s conftest.err'
6480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6481 (eval $ac_try) 2>&5
6482 ac_status=$?
6483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6484 (exit $ac_status); }; } &&
6485 { ac_try='test -s conftest.$ac_objext'
6486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6487 (eval $ac_try) 2>&5
6488 ac_status=$?
6489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6490 (exit $ac_status); }; }; then
6492 else
6493 echo "$as_me: failed program was:" >&5
6494 sed 's/^/| /' conftest.$ac_ext >&5
6496 continue
6498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6499 cat >conftest.$ac_ext <<_ACEOF
6500 /* confdefs.h. */
6501 _ACEOF
6502 cat confdefs.h >>conftest.$ac_ext
6503 cat >>conftest.$ac_ext <<_ACEOF
6504 /* end confdefs.h. */
6505 $ac_declaration
6507 main ()
6509 exit (42);
6511 return 0;
6513 _ACEOF
6514 rm -f conftest.$ac_objext
6515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6516 (eval $ac_compile) 2>conftest.er1
6517 ac_status=$?
6518 grep -v '^ *+' conftest.er1 >conftest.err
6519 rm -f conftest.er1
6520 cat conftest.err >&5
6521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6522 (exit $ac_status); } &&
6523 { ac_try='test -z "$ac_cxx_werror_flag"
6524 || test ! -s conftest.err'
6525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6526 (eval $ac_try) 2>&5
6527 ac_status=$?
6528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529 (exit $ac_status); }; } &&
6530 { ac_try='test -s conftest.$ac_objext'
6531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6532 (eval $ac_try) 2>&5
6533 ac_status=$?
6534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535 (exit $ac_status); }; }; then
6536 break
6537 else
6538 echo "$as_me: failed program was:" >&5
6539 sed 's/^/| /' conftest.$ac_ext >&5
6542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6543 done
6544 rm -f conftest*
6545 if test -n "$ac_declaration"; then
6546 echo '#ifdef __cplusplus' >>confdefs.h
6547 echo $ac_declaration >>confdefs.h
6548 echo '#endif' >>confdefs.h
6551 ac_ext=c
6552 ac_cpp='$CPP $CPPFLAGS'
6553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6557 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6558 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6559 (test "X$CXX" != "Xg++"))) ; then
6560 ac_ext=cc
6561 ac_cpp='$CXXCPP $CPPFLAGS'
6562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6565 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6566 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6567 if test -z "$CXXCPP"; then
6568 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6569 echo $ECHO_N "(cached) $ECHO_C" >&6
6570 else
6571 # Double quotes because CXXCPP needs to be expanded
6572 for CXXCPP in "$CXX -E" "/lib/cpp"
6574 ac_preproc_ok=false
6575 for ac_cxx_preproc_warn_flag in '' yes
6577 # Use a header file that comes with gcc, so configuring glibc
6578 # with a fresh cross-compiler works.
6579 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6580 # <limits.h> exists even on freestanding compilers.
6581 # On the NeXT, cc -E runs the code through the compiler's parser,
6582 # not just through cpp. "Syntax error" is here to catch this case.
6583 cat >conftest.$ac_ext <<_ACEOF
6584 /* confdefs.h. */
6585 _ACEOF
6586 cat confdefs.h >>conftest.$ac_ext
6587 cat >>conftest.$ac_ext <<_ACEOF
6588 /* end confdefs.h. */
6589 #ifdef __STDC__
6590 # include <limits.h>
6591 #else
6592 # include <assert.h>
6593 #endif
6594 Syntax error
6595 _ACEOF
6596 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6597 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6598 ac_status=$?
6599 grep -v '^ *+' conftest.er1 >conftest.err
6600 rm -f conftest.er1
6601 cat conftest.err >&5
6602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6603 (exit $ac_status); } >/dev/null; then
6604 if test -s conftest.err; then
6605 ac_cpp_err=$ac_cxx_preproc_warn_flag
6606 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6607 else
6608 ac_cpp_err=
6610 else
6611 ac_cpp_err=yes
6613 if test -z "$ac_cpp_err"; then
6615 else
6616 echo "$as_me: failed program was:" >&5
6617 sed 's/^/| /' conftest.$ac_ext >&5
6619 # Broken: fails on valid input.
6620 continue
6622 rm -f conftest.err conftest.$ac_ext
6624 # OK, works on sane cases. Now check whether non-existent headers
6625 # can be detected and how.
6626 cat >conftest.$ac_ext <<_ACEOF
6627 /* confdefs.h. */
6628 _ACEOF
6629 cat confdefs.h >>conftest.$ac_ext
6630 cat >>conftest.$ac_ext <<_ACEOF
6631 /* end confdefs.h. */
6632 #include <ac_nonexistent.h>
6633 _ACEOF
6634 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6635 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6636 ac_status=$?
6637 grep -v '^ *+' conftest.er1 >conftest.err
6638 rm -f conftest.er1
6639 cat conftest.err >&5
6640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6641 (exit $ac_status); } >/dev/null; then
6642 if test -s conftest.err; then
6643 ac_cpp_err=$ac_cxx_preproc_warn_flag
6644 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6645 else
6646 ac_cpp_err=
6648 else
6649 ac_cpp_err=yes
6651 if test -z "$ac_cpp_err"; then
6652 # Broken: success on invalid input.
6653 continue
6654 else
6655 echo "$as_me: failed program was:" >&5
6656 sed 's/^/| /' conftest.$ac_ext >&5
6658 # Passes both tests.
6659 ac_preproc_ok=:
6660 break
6662 rm -f conftest.err conftest.$ac_ext
6664 done
6665 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6666 rm -f conftest.err conftest.$ac_ext
6667 if $ac_preproc_ok; then
6668 break
6671 done
6672 ac_cv_prog_CXXCPP=$CXXCPP
6675 CXXCPP=$ac_cv_prog_CXXCPP
6676 else
6677 ac_cv_prog_CXXCPP=$CXXCPP
6679 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6680 echo "${ECHO_T}$CXXCPP" >&6
6681 ac_preproc_ok=false
6682 for ac_cxx_preproc_warn_flag in '' yes
6684 # Use a header file that comes with gcc, so configuring glibc
6685 # with a fresh cross-compiler works.
6686 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6687 # <limits.h> exists even on freestanding compilers.
6688 # On the NeXT, cc -E runs the code through the compiler's parser,
6689 # not just through cpp. "Syntax error" is here to catch this case.
6690 cat >conftest.$ac_ext <<_ACEOF
6691 /* confdefs.h. */
6692 _ACEOF
6693 cat confdefs.h >>conftest.$ac_ext
6694 cat >>conftest.$ac_ext <<_ACEOF
6695 /* end confdefs.h. */
6696 #ifdef __STDC__
6697 # include <limits.h>
6698 #else
6699 # include <assert.h>
6700 #endif
6701 Syntax error
6702 _ACEOF
6703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6704 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6705 ac_status=$?
6706 grep -v '^ *+' conftest.er1 >conftest.err
6707 rm -f conftest.er1
6708 cat conftest.err >&5
6709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710 (exit $ac_status); } >/dev/null; then
6711 if test -s conftest.err; then
6712 ac_cpp_err=$ac_cxx_preproc_warn_flag
6713 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6714 else
6715 ac_cpp_err=
6717 else
6718 ac_cpp_err=yes
6720 if test -z "$ac_cpp_err"; then
6722 else
6723 echo "$as_me: failed program was:" >&5
6724 sed 's/^/| /' conftest.$ac_ext >&5
6726 # Broken: fails on valid input.
6727 continue
6729 rm -f conftest.err conftest.$ac_ext
6731 # OK, works on sane cases. Now check whether non-existent headers
6732 # can be detected and how.
6733 cat >conftest.$ac_ext <<_ACEOF
6734 /* confdefs.h. */
6735 _ACEOF
6736 cat confdefs.h >>conftest.$ac_ext
6737 cat >>conftest.$ac_ext <<_ACEOF
6738 /* end confdefs.h. */
6739 #include <ac_nonexistent.h>
6740 _ACEOF
6741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6742 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6743 ac_status=$?
6744 grep -v '^ *+' conftest.er1 >conftest.err
6745 rm -f conftest.er1
6746 cat conftest.err >&5
6747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748 (exit $ac_status); } >/dev/null; then
6749 if test -s conftest.err; then
6750 ac_cpp_err=$ac_cxx_preproc_warn_flag
6751 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6752 else
6753 ac_cpp_err=
6755 else
6756 ac_cpp_err=yes
6758 if test -z "$ac_cpp_err"; then
6759 # Broken: success on invalid input.
6760 continue
6761 else
6762 echo "$as_me: failed program was:" >&5
6763 sed 's/^/| /' conftest.$ac_ext >&5
6765 # Passes both tests.
6766 ac_preproc_ok=:
6767 break
6769 rm -f conftest.err conftest.$ac_ext
6771 done
6772 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6773 rm -f conftest.err conftest.$ac_ext
6774 if $ac_preproc_ok; then
6776 else
6777 _lt_caught_CXX_error=yes
6780 ac_ext=c
6781 ac_cpp='$CPP $CPPFLAGS'
6782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6786 else
6787 _lt_caught_CXX_error=yes
6794 # This can be used to rebuild libtool when needed
6795 LIBTOOL_DEPS="$ltmain"
6797 # Always use our own libtool.
6798 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6824 test -z "$LN_S" && LN_S="ln -s"
6839 if test -n "${ZSH_VERSION+set}" ; then
6840 setopt NO_GLOB_SUBST
6843 echo "$as_me:$LINENO: checking for objdir" >&5
6844 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6845 if test "${lt_cv_objdir+set}" = set; then
6846 echo $ECHO_N "(cached) $ECHO_C" >&6
6847 else
6848 rm -f .libs 2>/dev/null
6849 mkdir .libs 2>/dev/null
6850 if test -d .libs; then
6851 lt_cv_objdir=.libs
6852 else
6853 # MS-DOS does not allow filenames that begin with a dot.
6854 lt_cv_objdir=_libs
6856 rmdir .libs 2>/dev/null
6858 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6859 echo "${ECHO_T}$lt_cv_objdir" >&6
6860 objdir=$lt_cv_objdir
6866 cat >>confdefs.h <<_ACEOF
6867 #define LT_OBJDIR "$lt_cv_objdir/"
6868 _ACEOF
6886 case $host_os in
6887 aix3*)
6888 # AIX sometimes has problems with the GCC collect2 program. For some
6889 # reason, if we set the COLLECT_NAMES environment variable, the problems
6890 # vanish in a puff of smoke.
6891 if test "X${COLLECT_NAMES+set}" != Xset; then
6892 COLLECT_NAMES=
6893 export COLLECT_NAMES
6896 esac
6898 # Sed substitution that helps us do robust quoting. It backslashifies
6899 # metacharacters that are still active within double-quoted strings.
6900 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6902 # Same as above, but do not quote variable references.
6903 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6905 # Sed substitution to delay expansion of an escaped shell variable in a
6906 # double_quote_subst'ed string.
6907 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6909 # Sed substitution to delay expansion of an escaped single quote.
6910 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6912 # Sed substitution to avoid accidental globbing in evaled expressions
6913 no_glob_subst='s/\*/\\\*/g'
6915 # Global variables:
6916 ofile=libtool
6917 can_build_shared=yes
6919 # All known linkers require a `.a' archive for static linking (except MSVC,
6920 # which needs '.lib').
6921 libext=a
6923 with_gnu_ld="$lt_cv_prog_gnu_ld"
6925 old_CC="$CC"
6926 old_CFLAGS="$CFLAGS"
6928 # Set sane defaults for various variables
6929 test -z "$CC" && CC=cc
6930 test -z "$LTCC" && LTCC=$CC
6931 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6932 test -z "$LD" && LD=ld
6933 test -z "$ac_objext" && ac_objext=o
6935 for cc_temp in $compiler""; do
6936 case $cc_temp in
6937 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6938 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6939 \-*) ;;
6940 *) break;;
6941 esac
6942 done
6943 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6946 # Only perform the check for file, if the check method requires it
6947 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6948 case $deplibs_check_method in
6949 file_magic*)
6950 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6951 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6952 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6953 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6954 echo $ECHO_N "(cached) $ECHO_C" >&6
6955 else
6956 case $MAGIC_CMD in
6957 [\\/*] | ?:[\\/]*)
6958 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6961 lt_save_MAGIC_CMD="$MAGIC_CMD"
6962 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6963 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6964 for ac_dir in $ac_dummy; do
6965 IFS="$lt_save_ifs"
6966 test -z "$ac_dir" && ac_dir=.
6967 if test -f $ac_dir/${ac_tool_prefix}file; then
6968 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6969 if test -n "$file_magic_test_file"; then
6970 case $deplibs_check_method in
6971 "file_magic "*)
6972 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6973 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6974 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6975 $EGREP "$file_magic_regex" > /dev/null; then
6977 else
6978 cat <<_LT_EOF 1>&2
6980 *** Warning: the command libtool uses to detect shared libraries,
6981 *** $file_magic_cmd, produces output that libtool cannot recognize.
6982 *** The result is that libtool may fail to recognize shared libraries
6983 *** as such. This will affect the creation of libtool libraries that
6984 *** depend on shared libraries, but programs linked with such libtool
6985 *** libraries will work regardless of this problem. Nevertheless, you
6986 *** may want to report the problem to your system manager and/or to
6987 *** bug-libtool@gnu.org
6989 _LT_EOF
6990 fi ;;
6991 esac
6993 break
6995 done
6996 IFS="$lt_save_ifs"
6997 MAGIC_CMD="$lt_save_MAGIC_CMD"
6999 esac
7002 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7003 if test -n "$MAGIC_CMD"; then
7004 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7005 echo "${ECHO_T}$MAGIC_CMD" >&6
7006 else
7007 echo "$as_me:$LINENO: result: no" >&5
7008 echo "${ECHO_T}no" >&6
7015 if test -z "$lt_cv_path_MAGIC_CMD"; then
7016 if test -n "$ac_tool_prefix"; then
7017 echo "$as_me:$LINENO: checking for file" >&5
7018 echo $ECHO_N "checking for file... $ECHO_C" >&6
7019 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7020 echo $ECHO_N "(cached) $ECHO_C" >&6
7021 else
7022 case $MAGIC_CMD in
7023 [\\/*] | ?:[\\/]*)
7024 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7027 lt_save_MAGIC_CMD="$MAGIC_CMD"
7028 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7029 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7030 for ac_dir in $ac_dummy; do
7031 IFS="$lt_save_ifs"
7032 test -z "$ac_dir" && ac_dir=.
7033 if test -f $ac_dir/file; then
7034 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7035 if test -n "$file_magic_test_file"; then
7036 case $deplibs_check_method in
7037 "file_magic "*)
7038 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7039 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7040 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7041 $EGREP "$file_magic_regex" > /dev/null; then
7043 else
7044 cat <<_LT_EOF 1>&2
7046 *** Warning: the command libtool uses to detect shared libraries,
7047 *** $file_magic_cmd, produces output that libtool cannot recognize.
7048 *** The result is that libtool may fail to recognize shared libraries
7049 *** as such. This will affect the creation of libtool libraries that
7050 *** depend on shared libraries, but programs linked with such libtool
7051 *** libraries will work regardless of this problem. Nevertheless, you
7052 *** may want to report the problem to your system manager and/or to
7053 *** bug-libtool@gnu.org
7055 _LT_EOF
7056 fi ;;
7057 esac
7059 break
7061 done
7062 IFS="$lt_save_ifs"
7063 MAGIC_CMD="$lt_save_MAGIC_CMD"
7065 esac
7068 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7069 if test -n "$MAGIC_CMD"; then
7070 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7071 echo "${ECHO_T}$MAGIC_CMD" >&6
7072 else
7073 echo "$as_me:$LINENO: result: no" >&5
7074 echo "${ECHO_T}no" >&6
7078 else
7079 MAGIC_CMD=:
7085 esac
7087 # Use C for the default configuration in the libtool script
7089 lt_save_CC="$CC"
7090 ac_ext=c
7091 ac_cpp='$CPP $CPPFLAGS'
7092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7097 # Source file extension for C test sources.
7098 ac_ext=c
7100 # Object file extension for compiled C test sources.
7101 objext=o
7102 objext=$objext
7104 # Code to be used in simple compile tests
7105 lt_simple_compile_test_code="int some_variable = 0;"
7107 # Code to be used in simple link tests
7108 lt_simple_link_test_code='int main(){return(0);}'
7116 # If no C compiler was specified, use CC.
7117 LTCC=${LTCC-"$CC"}
7119 # If no C compiler flags were specified, use CFLAGS.
7120 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7122 # Allow CC to be a program name with arguments.
7123 compiler=$CC
7125 # Save the default compiler, since it gets overwritten when the other
7126 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7127 compiler_DEFAULT=$CC
7129 # save warnings/boilerplate of simple test code
7130 ac_outfile=conftest.$ac_objext
7131 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7132 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7133 _lt_compiler_boilerplate=`cat conftest.err`
7134 $RM conftest*
7136 ac_outfile=conftest.$ac_objext
7137 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7138 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7139 _lt_linker_boilerplate=`cat conftest.err`
7140 $RM conftest*
7143 ## CAVEAT EMPTOR:
7144 ## There is no encapsulation within the following macros, do not change
7145 ## the running order or otherwise move them around unless you know exactly
7146 ## what you are doing...
7147 if test -n "$compiler"; then
7149 lt_prog_compiler_no_builtin_flag=
7151 if test "$GCC" = yes; then
7152 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7154 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7155 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7156 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7157 echo $ECHO_N "(cached) $ECHO_C" >&6
7158 else
7159 lt_cv_prog_compiler_rtti_exceptions=no
7160 ac_outfile=conftest.$ac_objext
7161 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7162 lt_compiler_flag="-fno-rtti -fno-exceptions"
7163 # Insert the option either (1) after the last *FLAGS variable, or
7164 # (2) before a word containing "conftest.", or (3) at the end.
7165 # Note that $ac_compile itself does not contain backslashes and begins
7166 # with a dollar sign (not a hyphen), so the echo should work correctly.
7167 # The option is referenced via a variable to avoid confusing sed.
7168 lt_compile=`echo "$ac_compile" | $SED \
7169 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7170 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7171 -e 's:$: $lt_compiler_flag:'`
7172 (eval echo "\"\$as_me:7172: $lt_compile\"" >&5)
7173 (eval "$lt_compile" 2>conftest.err)
7174 ac_status=$?
7175 cat conftest.err >&5
7176 echo "$as_me:7176: \$? = $ac_status" >&5
7177 if (exit $ac_status) && test -s "$ac_outfile"; then
7178 # The compiler can only warn and ignore the option if not recognized
7179 # So say no if there are warnings other than the usual output.
7180 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7181 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7182 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7183 lt_cv_prog_compiler_rtti_exceptions=yes
7186 $RM conftest*
7189 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7190 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7192 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7193 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7194 else
7205 lt_prog_compiler_wl=
7206 lt_prog_compiler_pic=
7207 lt_prog_compiler_static=
7209 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7210 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7212 if test "$GCC" = yes; then
7213 lt_prog_compiler_wl='-Wl,'
7214 lt_prog_compiler_static='-static'
7216 case $host_os in
7217 aix*)
7218 # All AIX code is PIC.
7219 if test "$host_cpu" = ia64; then
7220 # AIX 5 now supports IA64 processor
7221 lt_prog_compiler_static='-Bstatic'
7225 amigaos*)
7226 if test "$host_cpu" = m68k; then
7227 # FIXME: we need at least 68020 code to build shared libraries, but
7228 # adding the `-m68020' flag to GCC prevents building anything better,
7229 # like `-m68040'.
7230 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7234 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7235 # PIC is the default for these OSes.
7238 mingw* | cygwin* | pw32* | os2*)
7239 # This hack is so that the source file can tell whether it is being
7240 # built for inclusion in a dll (and should export symbols for example).
7241 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7242 # (--disable-auto-import) libraries
7243 lt_prog_compiler_pic='-DDLL_EXPORT'
7246 darwin* | rhapsody*)
7247 # PIC is the default on this platform
7248 # Common symbols not allowed in MH_DYLIB files
7249 lt_prog_compiler_pic='-fno-common'
7252 hpux*)
7253 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7254 # not for PA HP-UX.
7255 case $host_cpu in
7256 hppa*64*|ia64*)
7257 # +Z the default
7260 lt_prog_compiler_pic='-fPIC'
7262 esac
7265 interix[3-9]*)
7266 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7267 # Instead, we relocate shared libraries at runtime.
7270 msdosdjgpp*)
7271 # Just because we use GCC doesn't mean we suddenly get shared libraries
7272 # on systems that don't support them.
7273 lt_prog_compiler_can_build_shared=no
7274 enable_shared=no
7277 *nto* | *qnx*)
7278 # QNX uses GNU C++, but need to define -shared option too, otherwise
7279 # it will coredump.
7280 lt_prog_compiler_pic='-fPIC -shared'
7283 sysv4*MP*)
7284 if test -d /usr/nec; then
7285 lt_prog_compiler_pic=-Kconform_pic
7290 lt_prog_compiler_pic='-fPIC'
7292 esac
7293 else
7294 # PORTME Check for flag to pass linker flags through the system compiler.
7295 case $host_os in
7296 aix*)
7297 lt_prog_compiler_wl='-Wl,'
7298 if test "$host_cpu" = ia64; then
7299 # AIX 5 now supports IA64 processor
7300 lt_prog_compiler_static='-Bstatic'
7301 else
7302 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7305 darwin*)
7306 # PIC is the default on this platform
7307 # Common symbols not allowed in MH_DYLIB files
7308 case $cc_basename in
7309 xlc*)
7310 lt_prog_compiler_pic='-qnocommon'
7311 lt_prog_compiler_wl='-Wl,'
7313 esac
7316 mingw* | cygwin* | pw32* | os2*)
7317 # This hack is so that the source file can tell whether it is being
7318 # built for inclusion in a dll (and should export symbols for example).
7319 lt_prog_compiler_pic='-DDLL_EXPORT'
7322 hpux9* | hpux10* | hpux11*)
7323 lt_prog_compiler_wl='-Wl,'
7324 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7325 # not for PA HP-UX.
7326 case $host_cpu in
7327 hppa*64*|ia64*)
7328 # +Z the default
7331 lt_prog_compiler_pic='+Z'
7333 esac
7334 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7335 lt_prog_compiler_static='${wl}-a ${wl}archive'
7338 irix5* | irix6* | nonstopux*)
7339 lt_prog_compiler_wl='-Wl,'
7340 # PIC (with -KPIC) is the default.
7341 lt_prog_compiler_static='-non_shared'
7344 linux* | k*bsd*-gnu)
7345 case $cc_basename in
7346 icc* | ecc*)
7347 lt_prog_compiler_wl='-Wl,'
7348 lt_prog_compiler_pic='-KPIC'
7349 lt_prog_compiler_static='-static'
7351 pgcc* | pgf77* | pgf90* | pgf95*)
7352 # Portland Group compilers (*not* the Pentium gcc compiler,
7353 # which looks to be a dead project)
7354 lt_prog_compiler_wl='-Wl,'
7355 lt_prog_compiler_pic='-fpic'
7356 lt_prog_compiler_static='-Bstatic'
7358 ccc*)
7359 lt_prog_compiler_wl='-Wl,'
7360 # All Alpha code is PIC.
7361 lt_prog_compiler_static='-non_shared'
7364 case `$CC -V 2>&1 | sed 5q` in
7365 *Sun\ C*)
7366 # Sun C 5.9
7367 lt_prog_compiler_pic='-KPIC'
7368 lt_prog_compiler_static='-Bstatic'
7369 lt_prog_compiler_wl='-Wl,'
7371 *Sun\ F*)
7372 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7373 lt_prog_compiler_pic='-KPIC'
7374 lt_prog_compiler_static='-Bstatic'
7375 lt_prog_compiler_wl=''
7377 esac
7379 esac
7382 newsos6)
7383 lt_prog_compiler_pic='-KPIC'
7384 lt_prog_compiler_static='-Bstatic'
7387 *nto* | *qnx*)
7388 # QNX uses GNU C++, but need to define -shared option too, otherwise
7389 # it will coredump.
7390 lt_prog_compiler_pic='-fPIC -shared'
7393 osf3* | osf4* | osf5*)
7394 lt_prog_compiler_wl='-Wl,'
7395 # All OSF/1 code is PIC.
7396 lt_prog_compiler_static='-non_shared'
7399 rdos*)
7400 lt_prog_compiler_static='-non_shared'
7403 solaris*)
7404 lt_prog_compiler_pic='-KPIC'
7405 lt_prog_compiler_static='-Bstatic'
7406 case $cc_basename in
7407 f77* | f90* | f95*)
7408 lt_prog_compiler_wl='-Qoption ld ';;
7410 lt_prog_compiler_wl='-Wl,';;
7411 esac
7414 sunos4*)
7415 lt_prog_compiler_wl='-Qoption ld '
7416 lt_prog_compiler_pic='-PIC'
7417 lt_prog_compiler_static='-Bstatic'
7420 sysv4 | sysv4.2uw2* | sysv4.3*)
7421 lt_prog_compiler_wl='-Wl,'
7422 lt_prog_compiler_pic='-KPIC'
7423 lt_prog_compiler_static='-Bstatic'
7426 sysv4*MP*)
7427 if test -d /usr/nec ;then
7428 lt_prog_compiler_pic='-Kconform_pic'
7429 lt_prog_compiler_static='-Bstatic'
7433 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7434 lt_prog_compiler_wl='-Wl,'
7435 lt_prog_compiler_pic='-KPIC'
7436 lt_prog_compiler_static='-Bstatic'
7439 unicos*)
7440 lt_prog_compiler_wl='-Wl,'
7441 lt_prog_compiler_can_build_shared=no
7444 uts4*)
7445 lt_prog_compiler_pic='-pic'
7446 lt_prog_compiler_static='-Bstatic'
7450 lt_prog_compiler_can_build_shared=no
7452 esac
7455 case $host_os in
7456 # For platforms which do not support PIC, -DPIC is meaningless:
7457 *djgpp*)
7458 lt_prog_compiler_pic=
7461 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7463 esac
7464 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7465 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7473 # Check to make sure the PIC flag actually works.
7475 if test -n "$lt_prog_compiler_pic"; then
7476 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7477 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7478 if test "${lt_prog_compiler_pic_works+set}" = set; then
7479 echo $ECHO_N "(cached) $ECHO_C" >&6
7480 else
7481 lt_prog_compiler_pic_works=no
7482 ac_outfile=conftest.$ac_objext
7483 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7484 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7485 # Insert the option either (1) after the last *FLAGS variable, or
7486 # (2) before a word containing "conftest.", or (3) at the end.
7487 # Note that $ac_compile itself does not contain backslashes and begins
7488 # with a dollar sign (not a hyphen), so the echo should work correctly.
7489 # The option is referenced via a variable to avoid confusing sed.
7490 lt_compile=`echo "$ac_compile" | $SED \
7491 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7492 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7493 -e 's:$: $lt_compiler_flag:'`
7494 (eval echo "\"\$as_me:7494: $lt_compile\"" >&5)
7495 (eval "$lt_compile" 2>conftest.err)
7496 ac_status=$?
7497 cat conftest.err >&5
7498 echo "$as_me:7498: \$? = $ac_status" >&5
7499 if (exit $ac_status) && test -s "$ac_outfile"; then
7500 # The compiler can only warn and ignore the option if not recognized
7501 # So say no if there are warnings other than the usual output.
7502 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7503 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7504 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7505 lt_prog_compiler_pic_works=yes
7508 $RM conftest*
7511 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7512 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7514 if test x"$lt_prog_compiler_pic_works" = xyes; then
7515 case $lt_prog_compiler_pic in
7516 "" | " "*) ;;
7517 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7518 esac
7519 else
7520 lt_prog_compiler_pic=
7521 lt_prog_compiler_can_build_shared=no
7532 # Check to make sure the static flag actually works.
7534 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7535 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7536 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7537 if test "${lt_prog_compiler_static_works+set}" = set; then
7538 echo $ECHO_N "(cached) $ECHO_C" >&6
7539 else
7540 lt_prog_compiler_static_works=no
7541 save_LDFLAGS="$LDFLAGS"
7542 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7543 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7544 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7545 # The linker can only warn and ignore the option if not recognized
7546 # So say no if there are warnings
7547 if test -s conftest.err; then
7548 # Append any errors to the config.log.
7549 cat conftest.err 1>&5
7550 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7551 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7552 if diff conftest.exp conftest.er2 >/dev/null; then
7553 lt_prog_compiler_static_works=yes
7555 else
7556 lt_prog_compiler_static_works=yes
7559 $RM conftest*
7560 LDFLAGS="$save_LDFLAGS"
7563 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7564 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7566 if test x"$lt_prog_compiler_static_works" = xyes; then
7568 else
7569 lt_prog_compiler_static=
7578 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7579 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7580 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7581 echo $ECHO_N "(cached) $ECHO_C" >&6
7582 else
7583 lt_cv_prog_compiler_c_o=no
7584 $RM -r conftest 2>/dev/null
7585 mkdir conftest
7586 cd conftest
7587 mkdir out
7588 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7590 lt_compiler_flag="-o out/conftest2.$ac_objext"
7591 # Insert the option either (1) after the last *FLAGS variable, or
7592 # (2) before a word containing "conftest.", or (3) at the end.
7593 # Note that $ac_compile itself does not contain backslashes and begins
7594 # with a dollar sign (not a hyphen), so the echo should work correctly.
7595 lt_compile=`echo "$ac_compile" | $SED \
7596 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7597 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7598 -e 's:$: $lt_compiler_flag:'`
7599 (eval echo "\"\$as_me:7599: $lt_compile\"" >&5)
7600 (eval "$lt_compile" 2>out/conftest.err)
7601 ac_status=$?
7602 cat out/conftest.err >&5
7603 echo "$as_me:7603: \$? = $ac_status" >&5
7604 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7605 then
7606 # The compiler can only warn and ignore the option if not recognized
7607 # So say no if there are warnings
7608 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7609 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7610 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7611 lt_cv_prog_compiler_c_o=yes
7614 chmod u+w . 2>&5
7615 $RM conftest*
7616 # SGI C++ compiler will create directory out/ii_files/ for
7617 # template instantiation
7618 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7619 $RM out/* && rmdir out
7620 cd ..
7621 $RM -r conftest
7622 $RM conftest*
7625 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7626 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7633 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7634 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7635 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7636 echo $ECHO_N "(cached) $ECHO_C" >&6
7637 else
7638 lt_cv_prog_compiler_c_o=no
7639 $RM -r conftest 2>/dev/null
7640 mkdir conftest
7641 cd conftest
7642 mkdir out
7643 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7645 lt_compiler_flag="-o out/conftest2.$ac_objext"
7646 # Insert the option either (1) after the last *FLAGS variable, or
7647 # (2) before a word containing "conftest.", or (3) at the end.
7648 # Note that $ac_compile itself does not contain backslashes and begins
7649 # with a dollar sign (not a hyphen), so the echo should work correctly.
7650 lt_compile=`echo "$ac_compile" | $SED \
7651 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7652 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7653 -e 's:$: $lt_compiler_flag:'`
7654 (eval echo "\"\$as_me:7654: $lt_compile\"" >&5)
7655 (eval "$lt_compile" 2>out/conftest.err)
7656 ac_status=$?
7657 cat out/conftest.err >&5
7658 echo "$as_me:7658: \$? = $ac_status" >&5
7659 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7660 then
7661 # The compiler can only warn and ignore the option if not recognized
7662 # So say no if there are warnings
7663 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7664 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7665 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7666 lt_cv_prog_compiler_c_o=yes
7669 chmod u+w . 2>&5
7670 $RM conftest*
7671 # SGI C++ compiler will create directory out/ii_files/ for
7672 # template instantiation
7673 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7674 $RM out/* && rmdir out
7675 cd ..
7676 $RM -r conftest
7677 $RM conftest*
7680 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7681 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7686 hard_links="nottested"
7687 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7688 # do not overwrite the value of need_locks provided by the user
7689 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7690 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7691 hard_links=yes
7692 $RM conftest*
7693 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7694 touch conftest.a
7695 ln conftest.a conftest.b 2>&5 || hard_links=no
7696 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7697 echo "$as_me:$LINENO: result: $hard_links" >&5
7698 echo "${ECHO_T}$hard_links" >&6
7699 if test "$hard_links" = no; then
7700 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7701 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7702 need_locks=warn
7704 else
7705 need_locks=no
7713 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7714 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7716 runpath_var=
7717 allow_undefined_flag=
7718 always_export_symbols=no
7719 archive_cmds=
7720 archive_expsym_cmds=
7721 compiler_needs_object=no
7722 enable_shared_with_static_runtimes=no
7723 export_dynamic_flag_spec=
7724 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7725 hardcode_automatic=no
7726 hardcode_direct=no
7727 hardcode_direct_absolute=no
7728 hardcode_libdir_flag_spec=
7729 hardcode_libdir_flag_spec_ld=
7730 hardcode_libdir_separator=
7731 hardcode_minus_L=no
7732 hardcode_shlibpath_var=unsupported
7733 inherit_rpath=no
7734 link_all_deplibs=unknown
7735 module_cmds=
7736 module_expsym_cmds=
7737 old_archive_from_new_cmds=
7738 old_archive_from_expsyms_cmds=
7739 thread_safe_flag_spec=
7740 whole_archive_flag_spec=
7741 # include_expsyms should be a list of space-separated symbols to be *always*
7742 # included in the symbol list
7743 include_expsyms=
7744 # exclude_expsyms can be an extended regexp of symbols to exclude
7745 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7746 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7747 # as well as any symbol that contains `d'.
7748 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7749 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7750 # platforms (ab)use it in PIC code, but their linkers get confused if
7751 # the symbol is explicitly referenced. Since portable code cannot
7752 # rely on this symbol name, it's probably fine to never include it in
7753 # preloaded symbol tables.
7754 extract_expsyms_cmds=
7756 case $host_os in
7757 cygwin* | mingw* | pw32*)
7758 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7759 # When not using gcc, we currently assume that we are using
7760 # Microsoft Visual C++.
7761 if test "$GCC" != yes; then
7762 with_gnu_ld=no
7765 interix*)
7766 # we just hope/assume this is gcc and not c89 (= MSVC++)
7767 with_gnu_ld=yes
7769 openbsd*)
7770 with_gnu_ld=no
7772 esac
7774 ld_shlibs=yes
7775 if test "$with_gnu_ld" = yes; then
7776 # If archive_cmds runs LD, not CC, wlarc should be empty
7777 wlarc='${wl}'
7779 # Set some defaults for GNU ld with shared library support. These
7780 # are reset later if shared libraries are not supported. Putting them
7781 # here allows them to be overridden if necessary.
7782 runpath_var=LD_RUN_PATH
7783 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7784 export_dynamic_flag_spec='${wl}--export-dynamic'
7785 # ancient GNU ld didn't support --whole-archive et. al.
7786 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7787 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7788 else
7789 whole_archive_flag_spec=
7791 supports_anon_versioning=no
7792 case `$LD -v 2>&1` in
7793 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7794 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7795 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7796 *\ 2.11.*) ;; # other 2.11 versions
7797 *) supports_anon_versioning=yes ;;
7798 esac
7800 # See if GNU ld supports shared libraries.
7801 case $host_os in
7802 aix[3-9]*)
7803 # On AIX/PPC, the GNU linker is very broken
7804 if test "$host_cpu" != ia64; then
7805 ld_shlibs=no
7806 cat <<_LT_EOF 1>&2
7808 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7809 *** to be unable to reliably create shared libraries on AIX.
7810 *** Therefore, libtool is disabling shared libraries support. If you
7811 *** really care for shared libraries, you may want to modify your PATH
7812 *** so that a non-GNU linker is found, and then restart.
7814 _LT_EOF
7818 amigaos*)
7819 if test "$host_cpu" = m68k; then
7820 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)'
7821 hardcode_libdir_flag_spec='-L$libdir'
7822 hardcode_minus_L=yes
7825 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7826 # that the semantics of dynamic libraries on AmigaOS, at least up
7827 # to version 4, is to share data among multiple programs linked
7828 # with the same dynamic library. Since this doesn't match the
7829 # behavior of shared libraries on other platforms, we can't use
7830 # them.
7831 ld_shlibs=no
7834 beos*)
7835 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7836 allow_undefined_flag=unsupported
7837 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7838 # support --undefined. This deserves some investigation. FIXME
7839 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7840 else
7841 ld_shlibs=no
7845 cygwin* | mingw* | pw32*)
7846 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7847 # as there is no search path for DLLs.
7848 hardcode_libdir_flag_spec='-L$libdir'
7849 allow_undefined_flag=unsupported
7850 always_export_symbols=no
7851 enable_shared_with_static_runtimes=yes
7852 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7854 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7855 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7856 # If the export-symbols file already is a .def file (1st line
7857 # is EXPORTS), use it as is; otherwise, prepend...
7858 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7859 cp $export_symbols $output_objdir/$soname.def;
7860 else
7861 echo EXPORTS > $output_objdir/$soname.def;
7862 cat $export_symbols >> $output_objdir/$soname.def;
7864 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7865 else
7866 ld_shlibs=no
7870 interix[3-9]*)
7871 hardcode_direct=no
7872 hardcode_shlibpath_var=no
7873 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7874 export_dynamic_flag_spec='${wl}-E'
7875 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7876 # Instead, shared libraries are loaded at an image base (0x10000000 by
7877 # default) and relocated if they conflict, which is a slow very memory
7878 # consuming and fragmenting process. To avoid this, we pick a random,
7879 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7880 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7881 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7882 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'
7885 gnu* | linux* | tpf* | k*bsd*-gnu)
7886 tmp_diet=no
7887 if test "$host_os" = linux-dietlibc; then
7888 case $cc_basename in
7889 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7890 esac
7892 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7893 && test "$tmp_diet" = no
7894 then
7895 tmp_addflag=
7896 case $cc_basename,$host_cpu in
7897 pgcc*) # Portland Group C compiler
7898 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'
7899 tmp_addflag=' $pic_flag'
7901 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7902 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'
7903 tmp_addflag=' $pic_flag -Mnomain' ;;
7904 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7905 tmp_addflag=' -i_dynamic' ;;
7906 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7907 tmp_addflag=' -i_dynamic -nofor_main' ;;
7908 ifc* | ifort*) # Intel Fortran compiler
7909 tmp_addflag=' -nofor_main' ;;
7910 esac
7911 case `$CC -V 2>&1 | sed 5q` in
7912 *Sun\ C*) # Sun C 5.9
7913 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'
7914 compiler_needs_object=yes
7915 tmp_sharedflag='-G' ;;
7916 *Sun\ F*) # Sun Fortran 8.3
7917 tmp_sharedflag='-G' ;;
7919 tmp_sharedflag='-shared' ;;
7920 esac
7921 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7923 if test "x$supports_anon_versioning" = xyes; then
7924 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7925 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7926 echo "local: *; };" >> $output_objdir/$libname.ver~
7927 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7929 else
7930 ld_shlibs=no
7934 netbsd*)
7935 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7936 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7937 wlarc=
7938 else
7939 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7940 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7944 solaris*)
7945 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7946 ld_shlibs=no
7947 cat <<_LT_EOF 1>&2
7949 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7950 *** create shared libraries on Solaris systems. Therefore, libtool
7951 *** is disabling shared libraries support. We urge you to upgrade GNU
7952 *** binutils to release 2.9.1 or newer. Another option is to modify
7953 *** your PATH or compiler configuration so that the native linker is
7954 *** used, and then restart.
7956 _LT_EOF
7957 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7958 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7959 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7960 else
7961 ld_shlibs=no
7965 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7966 case `$LD -v 2>&1` in
7967 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7968 ld_shlibs=no
7969 cat <<_LT_EOF 1>&2
7971 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7972 *** reliably create shared libraries on SCO systems. Therefore, libtool
7973 *** is disabling shared libraries support. We urge you to upgrade GNU
7974 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7975 *** your PATH or compiler configuration so that the native linker is
7976 *** used, and then restart.
7978 _LT_EOF
7981 # For security reasons, it is highly recommended that you always
7982 # use absolute paths for naming shared libraries, and exclude the
7983 # DT_RUNPATH tag from executables and libraries. But doing so
7984 # requires that you compile everything twice, which is a pain.
7985 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7986 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7987 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7988 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7989 else
7990 ld_shlibs=no
7993 esac
7996 sunos4*)
7997 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7998 wlarc=
7999 hardcode_direct=yes
8000 hardcode_shlibpath_var=no
8004 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8005 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8006 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8007 else
8008 ld_shlibs=no
8011 esac
8013 if test "$ld_shlibs" = no; then
8014 runpath_var=
8015 hardcode_libdir_flag_spec=
8016 export_dynamic_flag_spec=
8017 whole_archive_flag_spec=
8019 else
8020 # PORTME fill in a description of your system's linker (not GNU ld)
8021 case $host_os in
8022 aix3*)
8023 allow_undefined_flag=unsupported
8024 always_export_symbols=yes
8025 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'
8026 # Note: this linker hardcodes the directories in LIBPATH if there
8027 # are no directories specified by -L.
8028 hardcode_minus_L=yes
8029 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8030 # Neither direct hardcoding nor static linking is supported with a
8031 # broken collect2.
8032 hardcode_direct=unsupported
8036 aix[4-9]*)
8037 if test "$host_cpu" = ia64; then
8038 # On IA64, the linker does run time linking by default, so we don't
8039 # have to do anything special.
8040 aix_use_runtimelinking=no
8041 exp_sym_flag='-Bexport'
8042 no_entry_flag=""
8043 else
8044 # If we're using GNU nm, then we don't want the "-C" option.
8045 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8046 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8047 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'
8048 else
8049 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'
8051 aix_use_runtimelinking=no
8053 # Test if we are trying to use run time linking or normal
8054 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8055 # need to do runtime linking.
8056 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8057 for ld_flag in $LDFLAGS; do
8058 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8059 aix_use_runtimelinking=yes
8060 break
8062 done
8064 esac
8066 exp_sym_flag='-bexport'
8067 no_entry_flag='-bnoentry'
8070 # When large executables or shared objects are built, AIX ld can
8071 # have problems creating the table of contents. If linking a library
8072 # or program results in "error TOC overflow" add -mminimal-toc to
8073 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8074 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8076 archive_cmds=''
8077 hardcode_direct=yes
8078 hardcode_direct_absolute=yes
8079 hardcode_libdir_separator=':'
8080 link_all_deplibs=yes
8081 file_list_spec='${wl}-f,'
8083 if test "$GCC" = yes; then
8084 case $host_os in aix4.[012]|aix4.[012].*)
8085 # We only want to do this on AIX 4.2 and lower, the check
8086 # below for broken collect2 doesn't work under 4.3+
8087 collect2name=`${CC} -print-prog-name=collect2`
8088 if test -f "$collect2name" &&
8089 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8090 then
8091 # We have reworked collect2
8093 else
8094 # We have old collect2
8095 hardcode_direct=unsupported
8096 # It fails to find uninstalled libraries when the uninstalled
8097 # path is not listed in the libpath. Setting hardcode_minus_L
8098 # to unsupported forces relinking
8099 hardcode_minus_L=yes
8100 hardcode_libdir_flag_spec='-L$libdir'
8101 hardcode_libdir_separator=
8104 esac
8105 shared_flag='-shared'
8106 if test "$aix_use_runtimelinking" = yes; then
8107 shared_flag="$shared_flag "'${wl}-G'
8109 else
8110 # not using gcc
8111 if test "$host_cpu" = ia64; then
8112 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8113 # chokes on -Wl,-G. The following line is correct:
8114 shared_flag='-G'
8115 else
8116 if test "$aix_use_runtimelinking" = yes; then
8117 shared_flag='${wl}-G'
8118 else
8119 shared_flag='${wl}-bM:SRE'
8124 # It seems that -bexpall does not export symbols beginning with
8125 # underscore (_), so it is better to generate a list of symbols to export.
8126 always_export_symbols=yes
8127 if test "$aix_use_runtimelinking" = yes; then
8128 # Warning - without using the other runtime loading flags (-brtl),
8129 # -berok will link without error, but may produce a broken library.
8130 allow_undefined_flag='-berok'
8131 # Determine the default libpath from the value encoded in an
8132 # empty executable.
8133 if test x$gcc_no_link = xyes; then
8134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8136 { (exit 1); exit 1; }; }
8138 cat >conftest.$ac_ext <<_ACEOF
8139 /* confdefs.h. */
8140 _ACEOF
8141 cat confdefs.h >>conftest.$ac_ext
8142 cat >>conftest.$ac_ext <<_ACEOF
8143 /* end confdefs.h. */
8146 main ()
8150 return 0;
8152 _ACEOF
8153 rm -f conftest.$ac_objext conftest$ac_exeext
8154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8155 (eval $ac_link) 2>conftest.er1
8156 ac_status=$?
8157 grep -v '^ *+' conftest.er1 >conftest.err
8158 rm -f conftest.er1
8159 cat conftest.err >&5
8160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161 (exit $ac_status); } &&
8162 { ac_try='test -z "$ac_c_werror_flag"
8163 || test ! -s conftest.err'
8164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8165 (eval $ac_try) 2>&5
8166 ac_status=$?
8167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8168 (exit $ac_status); }; } &&
8169 { ac_try='test -s conftest$ac_exeext'
8170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8171 (eval $ac_try) 2>&5
8172 ac_status=$?
8173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8174 (exit $ac_status); }; }; then
8176 lt_aix_libpath_sed='
8177 /Import File Strings/,/^$/ {
8178 /^0/ {
8179 s/^0 *\(.*\)$/\1/
8183 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8184 # Check for a 64-bit object if we didn't find anything.
8185 if test -z "$aix_libpath"; then
8186 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8188 else
8189 echo "$as_me: failed program was:" >&5
8190 sed 's/^/| /' conftest.$ac_ext >&5
8193 rm -f conftest.err conftest.$ac_objext \
8194 conftest$ac_exeext conftest.$ac_ext
8195 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8197 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8198 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"
8199 else
8200 if test "$host_cpu" = ia64; then
8201 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8202 allow_undefined_flag="-z nodefs"
8203 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"
8204 else
8205 # Determine the default libpath from the value encoded in an
8206 # empty executable.
8207 if test x$gcc_no_link = xyes; then
8208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8210 { (exit 1); exit 1; }; }
8212 cat >conftest.$ac_ext <<_ACEOF
8213 /* confdefs.h. */
8214 _ACEOF
8215 cat confdefs.h >>conftest.$ac_ext
8216 cat >>conftest.$ac_ext <<_ACEOF
8217 /* end confdefs.h. */
8220 main ()
8224 return 0;
8226 _ACEOF
8227 rm -f conftest.$ac_objext conftest$ac_exeext
8228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8229 (eval $ac_link) 2>conftest.er1
8230 ac_status=$?
8231 grep -v '^ *+' conftest.er1 >conftest.err
8232 rm -f conftest.er1
8233 cat conftest.err >&5
8234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8235 (exit $ac_status); } &&
8236 { ac_try='test -z "$ac_c_werror_flag"
8237 || test ! -s conftest.err'
8238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8239 (eval $ac_try) 2>&5
8240 ac_status=$?
8241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242 (exit $ac_status); }; } &&
8243 { ac_try='test -s conftest$ac_exeext'
8244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8245 (eval $ac_try) 2>&5
8246 ac_status=$?
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); }; }; then
8250 lt_aix_libpath_sed='
8251 /Import File Strings/,/^$/ {
8252 /^0/ {
8253 s/^0 *\(.*\)$/\1/
8257 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8258 # Check for a 64-bit object if we didn't find anything.
8259 if test -z "$aix_libpath"; then
8260 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8262 else
8263 echo "$as_me: failed program was:" >&5
8264 sed 's/^/| /' conftest.$ac_ext >&5
8267 rm -f conftest.err conftest.$ac_objext \
8268 conftest$ac_exeext conftest.$ac_ext
8269 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8271 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8272 # Warning - without using the other run time loading flags,
8273 # -berok will link without error, but may produce a broken library.
8274 no_undefined_flag=' ${wl}-bernotok'
8275 allow_undefined_flag=' ${wl}-berok'
8276 # Exported symbols can be pulled into shared objects from archives
8277 whole_archive_flag_spec='$convenience'
8278 archive_cmds_need_lc=yes
8279 # This is similar to how AIX traditionally builds its shared libraries.
8280 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'
8285 amigaos*)
8286 if test "$host_cpu" = m68k; then
8287 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)'
8288 hardcode_libdir_flag_spec='-L$libdir'
8289 hardcode_minus_L=yes
8291 # see comment about different semantics on the GNU ld section
8292 ld_shlibs=no
8295 bsdi[45]*)
8296 export_dynamic_flag_spec=-rdynamic
8299 cygwin* | mingw* | pw32*)
8300 # When not using gcc, we currently assume that we are using
8301 # Microsoft Visual C++.
8302 # hardcode_libdir_flag_spec is actually meaningless, as there is
8303 # no search path for DLLs.
8304 hardcode_libdir_flag_spec=' '
8305 allow_undefined_flag=unsupported
8306 # Tell ltmain to make .lib files, not .a files.
8307 libext=lib
8308 # Tell ltmain to make .dll files, not .so files.
8309 shrext_cmds=".dll"
8310 # FIXME: Setting linknames here is a bad hack.
8311 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8312 # The linker will automatically build a .lib file if we build a DLL.
8313 old_archive_from_new_cmds='true'
8314 # FIXME: Should let the user specify the lib program.
8315 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8316 fix_srcfile_path='`cygpath -w "$srcfile"`'
8317 enable_shared_with_static_runtimes=yes
8320 darwin* | rhapsody*)
8321 case $host_os in
8322 rhapsody* | darwin1.[012])
8323 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8325 *) # Darwin 1.3 on
8326 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8327 10.[012])
8328 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8330 10.*)
8331 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8333 esac
8335 esac
8336 archive_cmds_need_lc=no
8337 hardcode_direct=no
8338 hardcode_automatic=yes
8339 hardcode_shlibpath_var=unsupported
8340 whole_archive_flag_spec=''
8341 link_all_deplibs=yes
8342 if test "$GCC" = yes ; then
8343 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8344 echo $ECHO_N "(cached) $ECHO_C" >&6
8345 else
8346 lt_cv_apple_cc_single_mod=no
8347 if test -z "${LT_MULTI_MODULE}"; then
8348 # By default we will add the -single_module flag. You can override
8349 # by either setting the environment variable LT_MULTI_MODULE
8350 # non-empty at configure time, or by adding -multi-module to the
8351 # link flags.
8352 echo "int foo(void){return 1;}" > conftest.c
8353 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8354 -dynamiclib ${wl}-single_module conftest.c
8355 if test -f libconftest.dylib; then
8356 lt_cv_apple_cc_single_mod=yes
8357 rm libconftest.dylib
8359 rm conftest.$ac_ext
8363 output_verbose_link_cmd=echo
8364 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8365 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8366 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}'
8367 else
8368 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8369 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}'
8371 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8372 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}'
8373 else
8374 case $cc_basename in
8375 xlc*)
8376 output_verbose_link_cmd=echo
8377 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8378 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8379 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8380 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}'
8381 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}'
8384 ld_shlibs=no
8386 esac
8390 dgux*)
8391 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8392 hardcode_libdir_flag_spec='-L$libdir'
8393 hardcode_shlibpath_var=no
8396 freebsd1*)
8397 ld_shlibs=no
8400 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8401 # support. Future versions do this automatically, but an explicit c++rt0.o
8402 # does not break anything, and helps significantly (at the cost of a little
8403 # extra space).
8404 freebsd2.2*)
8405 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8406 hardcode_libdir_flag_spec='-R$libdir'
8407 hardcode_direct=yes
8408 hardcode_shlibpath_var=no
8411 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8412 freebsd2*)
8413 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8414 hardcode_direct=yes
8415 hardcode_minus_L=yes
8416 hardcode_shlibpath_var=no
8419 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8420 freebsd* | dragonfly*)
8421 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8422 hardcode_libdir_flag_spec='-R$libdir'
8423 hardcode_direct=yes
8424 hardcode_shlibpath_var=no
8427 hpux9*)
8428 if test "$GCC" = yes; then
8429 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'
8430 else
8431 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'
8433 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8434 hardcode_libdir_separator=:
8435 hardcode_direct=yes
8437 # hardcode_minus_L: Not really in the search PATH,
8438 # but as the default location of the library.
8439 hardcode_minus_L=yes
8440 export_dynamic_flag_spec='${wl}-E'
8443 hpux10*)
8444 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8445 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8446 else
8447 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8449 if test "$with_gnu_ld" = no; then
8450 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8451 hardcode_libdir_flag_spec_ld='+b $libdir'
8452 hardcode_libdir_separator=:
8453 hardcode_direct=yes
8454 hardcode_direct_absolute=yes
8455 export_dynamic_flag_spec='${wl}-E'
8456 # hardcode_minus_L: Not really in the search PATH,
8457 # but as the default location of the library.
8458 hardcode_minus_L=yes
8462 hpux11*)
8463 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8464 case $host_cpu in
8465 hppa*64*)
8466 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8468 ia64*)
8469 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8472 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8474 esac
8475 else
8476 case $host_cpu in
8477 hppa*64*)
8478 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8480 ia64*)
8481 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8484 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8486 esac
8488 if test "$with_gnu_ld" = no; then
8489 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8490 hardcode_libdir_separator=:
8492 case $host_cpu in
8493 hppa*64*|ia64*)
8494 hardcode_direct=no
8495 hardcode_shlibpath_var=no
8498 hardcode_direct=yes
8499 hardcode_direct_absolute=yes
8500 export_dynamic_flag_spec='${wl}-E'
8502 # hardcode_minus_L: Not really in the search PATH,
8503 # but as the default location of the library.
8504 hardcode_minus_L=yes
8506 esac
8510 irix5* | irix6* | nonstopux*)
8511 if test "$GCC" = yes; then
8512 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'
8513 # Try to use the -exported_symbol ld option, if it does not
8514 # work, assume that -exports_file does not work either and
8515 # implicitly export all symbols.
8516 save_LDFLAGS="$LDFLAGS"
8517 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8518 if test x$gcc_no_link = xyes; then
8519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8521 { (exit 1); exit 1; }; }
8523 cat >conftest.$ac_ext <<_ACEOF
8524 int foo(void) {}
8525 _ACEOF
8526 rm -f conftest.$ac_objext conftest$ac_exeext
8527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8528 (eval $ac_link) 2>conftest.er1
8529 ac_status=$?
8530 grep -v '^ *+' conftest.er1 >conftest.err
8531 rm -f conftest.er1
8532 cat conftest.err >&5
8533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8534 (exit $ac_status); } &&
8535 { ac_try='test -z "$ac_c_werror_flag"
8536 || test ! -s conftest.err'
8537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8538 (eval $ac_try) 2>&5
8539 ac_status=$?
8540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541 (exit $ac_status); }; } &&
8542 { ac_try='test -s conftest$ac_exeext'
8543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8544 (eval $ac_try) 2>&5
8545 ac_status=$?
8546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8547 (exit $ac_status); }; }; then
8548 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'
8550 else
8551 echo "$as_me: failed program was:" >&5
8552 sed 's/^/| /' conftest.$ac_ext >&5
8555 rm -f conftest.err conftest.$ac_objext \
8556 conftest$ac_exeext conftest.$ac_ext
8557 LDFLAGS="$save_LDFLAGS"
8558 else
8559 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'
8560 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'
8562 archive_cmds_need_lc='no'
8563 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8564 hardcode_libdir_separator=:
8565 inherit_rpath=yes
8566 link_all_deplibs=yes
8569 netbsd*)
8570 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8571 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8572 else
8573 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8575 hardcode_libdir_flag_spec='-R$libdir'
8576 hardcode_direct=yes
8577 hardcode_shlibpath_var=no
8580 newsos6)
8581 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8582 hardcode_direct=yes
8583 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8584 hardcode_libdir_separator=:
8585 hardcode_shlibpath_var=no
8588 *nto* | *qnx*)
8591 openbsd*)
8592 hardcode_direct=yes
8593 hardcode_shlibpath_var=no
8594 hardcode_direct_absolute=yes
8595 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8596 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8597 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8598 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8599 export_dynamic_flag_spec='${wl}-E'
8600 else
8601 case $host_os in
8602 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8603 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8604 hardcode_libdir_flag_spec='-R$libdir'
8607 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8608 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8610 esac
8614 os2*)
8615 hardcode_libdir_flag_spec='-L$libdir'
8616 hardcode_minus_L=yes
8617 allow_undefined_flag=unsupported
8618 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'
8619 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8622 osf3*)
8623 if test "$GCC" = yes; then
8624 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8625 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'
8626 else
8627 allow_undefined_flag=' -expect_unresolved \*'
8628 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'
8630 archive_cmds_need_lc='no'
8631 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8632 hardcode_libdir_separator=:
8635 osf4* | osf5*) # as osf3* with the addition of -msym flag
8636 if test "$GCC" = yes; then
8637 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8638 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'
8639 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8640 else
8641 allow_undefined_flag=' -expect_unresolved \*'
8642 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'
8643 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~
8644 $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'
8646 # Both c and cxx compiler support -rpath directly
8647 hardcode_libdir_flag_spec='-rpath $libdir'
8649 archive_cmds_need_lc='no'
8650 hardcode_libdir_separator=:
8653 solaris*)
8654 no_undefined_flag=' -z defs'
8655 if test "$GCC" = yes; then
8656 wlarc='${wl}'
8657 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8658 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8659 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8660 else
8661 case `$CC -V 2>&1` in
8662 *"Compilers 5.0"*)
8663 wlarc=''
8664 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8665 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8666 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8669 wlarc='${wl}'
8670 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8671 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8672 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8674 esac
8676 hardcode_libdir_flag_spec='-R$libdir'
8677 hardcode_shlibpath_var=no
8678 case $host_os in
8679 solaris2.[0-5] | solaris2.[0-5].*) ;;
8681 # The compiler driver will combine and reorder linker options,
8682 # but understands `-z linker_flag'. GCC discards it without `$wl',
8683 # but is careful enough not to reorder.
8684 # Supported since Solaris 2.6 (maybe 2.5.1?)
8685 if test "$GCC" = yes; then
8686 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8687 else
8688 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8691 esac
8692 link_all_deplibs=yes
8695 sunos4*)
8696 if test "x$host_vendor" = xsequent; then
8697 # Use $CC to link under sequent, because it throws in some extra .o
8698 # files that make .init and .fini sections work.
8699 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8700 else
8701 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8703 hardcode_libdir_flag_spec='-L$libdir'
8704 hardcode_direct=yes
8705 hardcode_minus_L=yes
8706 hardcode_shlibpath_var=no
8709 sysv4)
8710 case $host_vendor in
8711 sni)
8712 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8713 hardcode_direct=yes # is this really true???
8715 siemens)
8716 ## LD is ld it makes a PLAMLIB
8717 ## CC just makes a GrossModule.
8718 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8719 reload_cmds='$CC -r -o $output$reload_objs'
8720 hardcode_direct=no
8722 motorola)
8723 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8724 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8726 esac
8727 runpath_var='LD_RUN_PATH'
8728 hardcode_shlibpath_var=no
8731 sysv4.3*)
8732 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8733 hardcode_shlibpath_var=no
8734 export_dynamic_flag_spec='-Bexport'
8737 sysv4*MP*)
8738 if test -d /usr/nec; then
8739 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8740 hardcode_shlibpath_var=no
8741 runpath_var=LD_RUN_PATH
8742 hardcode_runpath_var=yes
8743 ld_shlibs=yes
8747 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8748 no_undefined_flag='${wl}-z,text'
8749 archive_cmds_need_lc=no
8750 hardcode_shlibpath_var=no
8751 runpath_var='LD_RUN_PATH'
8753 if test "$GCC" = yes; then
8754 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8755 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8756 else
8757 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8758 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8762 sysv5* | sco3.2v5* | sco5v6*)
8763 # Note: We can NOT use -z defs as we might desire, because we do not
8764 # link with -lc, and that would cause any symbols used from libc to
8765 # always be unresolved, which means just about no library would
8766 # ever link correctly. If we're not using GNU ld we use -z text
8767 # though, which does catch some bad symbols but isn't as heavy-handed
8768 # as -z defs.
8769 no_undefined_flag='${wl}-z,text'
8770 allow_undefined_flag='${wl}-z,nodefs'
8771 archive_cmds_need_lc=no
8772 hardcode_shlibpath_var=no
8773 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8774 hardcode_libdir_separator=':'
8775 link_all_deplibs=yes
8776 export_dynamic_flag_spec='${wl}-Bexport'
8777 runpath_var='LD_RUN_PATH'
8779 if test "$GCC" = yes; then
8780 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8781 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8782 else
8783 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8784 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8788 uts4*)
8789 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8790 hardcode_libdir_flag_spec='-L$libdir'
8791 hardcode_shlibpath_var=no
8795 ld_shlibs=no
8797 esac
8799 if test x$host_vendor = xsni; then
8800 case $host in
8801 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8802 export_dynamic_flag_spec='${wl}-Blargedynsym'
8804 esac
8808 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8809 echo "${ECHO_T}$ld_shlibs" >&6
8810 test "$ld_shlibs" = no && can_build_shared=no
8812 with_gnu_ld=$with_gnu_ld
8829 # Do we need to explicitly link libc?
8831 case "x$archive_cmds_need_lc" in
8832 x|xyes)
8833 # Assume -lc should be added
8834 archive_cmds_need_lc=yes
8836 if test "$enable_shared" = yes && test "$GCC" = yes; then
8837 case $archive_cmds in
8838 *'~'*)
8839 # FIXME: we may have to deal with multi-command sequences.
8841 '$CC '*)
8842 # Test whether the compiler implicitly links with -lc since on some
8843 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8844 # to ld, don't add -lc before -lgcc.
8845 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8846 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8847 $RM conftest*
8848 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8851 (eval $ac_compile) 2>&5
8852 ac_status=$?
8853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854 (exit $ac_status); } 2>conftest.err; then
8855 soname=conftest
8856 lib=conftest
8857 libobjs=conftest.$ac_objext
8858 deplibs=
8859 wl=$lt_prog_compiler_wl
8860 pic_flag=$lt_prog_compiler_pic
8861 compiler_flags=-v
8862 linker_flags=-v
8863 verstring=
8864 output_objdir=.
8865 libname=conftest
8866 lt_save_allow_undefined_flag=$allow_undefined_flag
8867 allow_undefined_flag=
8868 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8869 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8870 ac_status=$?
8871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8872 (exit $ac_status); }
8873 then
8874 archive_cmds_need_lc=no
8875 else
8876 archive_cmds_need_lc=yes
8878 allow_undefined_flag=$lt_save_allow_undefined_flag
8879 else
8880 cat conftest.err 1>&5
8882 $RM conftest*
8883 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8884 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8886 esac
8889 esac
9047 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9048 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9049 withGCC=$GCC
9050 if test "$withGCC" = yes; then
9051 case $host_os in
9052 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9053 *) lt_awk_arg="/^libraries:/" ;;
9054 esac
9055 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9056 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9057 # if the path contains ";" then we assume it to be the separator
9058 # otherwise default to the standard path separator (i.e. ":") - it is
9059 # assumed that no part of a normal pathname contains ";" but that should
9060 # okay in the real world where ";" in dirpaths is itself problematic.
9061 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9062 else
9063 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9065 # Ok, now we have the path, separated by spaces, we can step through it
9066 # and add multilib dir if necessary.
9067 lt_tmp_lt_search_path_spec=
9068 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9069 for lt_sys_path in $lt_search_path_spec; do
9070 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9071 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9072 else
9073 test -d "$lt_sys_path" && \
9074 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9076 done
9077 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9078 BEGIN {RS=" "; FS="/|\n";} {
9079 lt_foo="";
9080 lt_count=0;
9081 for (lt_i = NF; lt_i > 0; lt_i--) {
9082 if ($lt_i != "" && $lt_i != ".") {
9083 if ($lt_i == "..") {
9084 lt_count++;
9085 } else {
9086 if (lt_count == 0) {
9087 lt_foo="/" $lt_i lt_foo;
9088 } else {
9089 lt_count--;
9094 if (lt_foo != "") { lt_freq[lt_foo]++; }
9095 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9097 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9098 else
9099 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9101 library_names_spec=
9102 libname_spec='lib$name'
9103 soname_spec=
9104 shrext_cmds=".so"
9105 postinstall_cmds=
9106 postuninstall_cmds=
9107 finish_cmds=
9108 finish_eval=
9109 shlibpath_var=
9110 shlibpath_overrides_runpath=unknown
9111 version_type=none
9112 dynamic_linker="$host_os ld.so"
9113 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9114 need_lib_prefix=unknown
9115 hardcode_into_libs=no
9117 # when you set need_version to no, make sure it does not cause -set_version
9118 # flags to be left without arguments
9119 need_version=unknown
9121 case $host_os in
9122 aix3*)
9123 version_type=linux
9124 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9125 shlibpath_var=LIBPATH
9127 # AIX 3 has no versioning support, so we append a major version to the name.
9128 soname_spec='${libname}${release}${shared_ext}$major'
9131 aix[4-9]*)
9132 version_type=linux
9133 need_lib_prefix=no
9134 need_version=no
9135 hardcode_into_libs=yes
9136 if test "$host_cpu" = ia64; then
9137 # AIX 5 supports IA64
9138 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9139 shlibpath_var=LD_LIBRARY_PATH
9140 else
9141 # With GCC up to 2.95.x, collect2 would create an import file
9142 # for dependence libraries. The import file would start with
9143 # the line `#! .'. This would cause the generated library to
9144 # depend on `.', always an invalid library. This was fixed in
9145 # development snapshots of GCC prior to 3.0.
9146 case $host_os in
9147 aix4 | aix4.[01] | aix4.[01].*)
9148 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9149 echo ' yes '
9150 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9152 else
9153 can_build_shared=no
9156 esac
9157 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9158 # soname into executable. Probably we can add versioning support to
9159 # collect2, so additional links can be useful in future.
9160 if test "$aix_use_runtimelinking" = yes; then
9161 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9162 # instead of lib<name>.a to let people know that these are not
9163 # typical AIX shared libraries.
9164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9165 else
9166 # We preserve .a as extension for shared libraries through AIX4.2
9167 # and later when we are not doing run time linking.
9168 library_names_spec='${libname}${release}.a $libname.a'
9169 soname_spec='${libname}${release}${shared_ext}$major'
9171 shlibpath_var=LIBPATH
9175 amigaos*)
9176 if test "$host_cpu" = m68k; then
9177 library_names_spec='$libname.ixlibrary $libname.a'
9178 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9179 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'
9180 else
9181 dynamic_linker=no
9185 beos*)
9186 library_names_spec='${libname}${shared_ext}'
9187 dynamic_linker="$host_os ld.so"
9188 shlibpath_var=LIBRARY_PATH
9191 bsdi[45]*)
9192 version_type=linux
9193 need_version=no
9194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9195 soname_spec='${libname}${release}${shared_ext}$major'
9196 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9197 shlibpath_var=LD_LIBRARY_PATH
9198 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9199 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9200 # the default ld.so.conf also contains /usr/contrib/lib and
9201 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9202 # libtool to hard-code these into programs
9205 cygwin* | mingw* | pw32*)
9206 version_type=windows
9207 shrext_cmds=".dll"
9208 need_version=no
9209 need_lib_prefix=no
9211 case $withGCC,$host_os in
9212 yes,cygwin* | yes,mingw* | yes,pw32*)
9213 library_names_spec='$libname.dll.a'
9214 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9215 postinstall_cmds='base_file=`basename \${file}`~
9216 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9217 dldir=$destdir/`dirname \$dlpath`~
9218 test -d \$dldir || mkdir -p \$dldir~
9219 $install_prog $dir/$dlname \$dldir/$dlname~
9220 chmod a+x \$dldir/$dlname~
9221 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9222 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9224 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9225 dlpath=$dir/\$dldll~
9226 $RM \$dlpath'
9227 shlibpath_overrides_runpath=yes
9229 case $host_os in
9230 cygwin*)
9231 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9232 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9233 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9235 mingw*)
9236 # MinGW DLLs use traditional 'lib' prefix
9237 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9238 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9239 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9240 # It is most probably a Windows format PATH printed by
9241 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9242 # path with ; separators, and with drive letters. We can handle the
9243 # drive letters (cygwin fileutils understands them), so leave them,
9244 # especially as we might pass files found there to a mingw objdump,
9245 # which wouldn't understand a cygwinified path. Ahh.
9246 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9247 else
9248 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9251 pw32*)
9252 # pw32 DLLs use 'pw' prefix rather than 'lib'
9253 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9255 esac
9259 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9261 esac
9262 dynamic_linker='Win32 ld.exe'
9263 # FIXME: first we should search . and the directory the executable is in
9264 shlibpath_var=PATH
9267 darwin* | rhapsody*)
9268 dynamic_linker="$host_os dyld"
9269 version_type=darwin
9270 need_lib_prefix=no
9271 need_version=no
9272 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9273 soname_spec='${libname}${release}${major}$shared_ext'
9274 shlibpath_overrides_runpath=yes
9275 shlibpath_var=DYLD_LIBRARY_PATH
9276 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9278 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9279 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9282 dgux*)
9283 version_type=linux
9284 need_lib_prefix=no
9285 need_version=no
9286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9287 soname_spec='${libname}${release}${shared_ext}$major'
9288 shlibpath_var=LD_LIBRARY_PATH
9291 freebsd1*)
9292 dynamic_linker=no
9295 freebsd* | dragonfly*)
9296 # DragonFly does not have aout. When/if they implement a new
9297 # versioning mechanism, adjust this.
9298 if test -x /usr/bin/objformat; then
9299 objformat=`/usr/bin/objformat`
9300 else
9301 case $host_os in
9302 freebsd[123]*) objformat=aout ;;
9303 *) objformat=elf ;;
9304 esac
9306 version_type=freebsd-$objformat
9307 case $version_type in
9308 freebsd-elf*)
9309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9310 need_version=no
9311 need_lib_prefix=no
9313 freebsd-*)
9314 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9315 need_version=yes
9317 esac
9318 shlibpath_var=LD_LIBRARY_PATH
9319 case $host_os in
9320 freebsd2*)
9321 shlibpath_overrides_runpath=yes
9323 freebsd3.[01]* | freebsdelf3.[01]*)
9324 shlibpath_overrides_runpath=yes
9325 hardcode_into_libs=yes
9327 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9328 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9329 shlibpath_overrides_runpath=no
9330 hardcode_into_libs=yes
9332 *) # from 4.6 on, and DragonFly
9333 shlibpath_overrides_runpath=yes
9334 hardcode_into_libs=yes
9336 esac
9339 gnu*)
9340 version_type=linux
9341 need_lib_prefix=no
9342 need_version=no
9343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9344 soname_spec='${libname}${release}${shared_ext}$major'
9345 shlibpath_var=LD_LIBRARY_PATH
9346 hardcode_into_libs=yes
9349 hpux9* | hpux10* | hpux11*)
9350 # Give a soname corresponding to the major version so that dld.sl refuses to
9351 # link against other versions.
9352 version_type=sunos
9353 need_lib_prefix=no
9354 need_version=no
9355 case $host_cpu in
9356 ia64*)
9357 shrext_cmds='.so'
9358 hardcode_into_libs=yes
9359 dynamic_linker="$host_os dld.so"
9360 shlibpath_var=LD_LIBRARY_PATH
9361 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9363 soname_spec='${libname}${release}${shared_ext}$major'
9364 if test "X$HPUX_IA64_MODE" = X32; then
9365 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9366 else
9367 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9369 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9371 hppa*64*)
9372 shrext_cmds='.sl'
9373 hardcode_into_libs=yes
9374 dynamic_linker="$host_os dld.sl"
9375 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9376 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9378 soname_spec='${libname}${release}${shared_ext}$major'
9379 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9380 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9383 shrext_cmds='.sl'
9384 dynamic_linker="$host_os dld.sl"
9385 shlibpath_var=SHLIB_PATH
9386 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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'
9390 esac
9391 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9392 postinstall_cmds='chmod 555 $lib'
9395 interix[3-9]*)
9396 version_type=linux
9397 need_lib_prefix=no
9398 need_version=no
9399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9400 soname_spec='${libname}${release}${shared_ext}$major'
9401 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9402 shlibpath_var=LD_LIBRARY_PATH
9403 shlibpath_overrides_runpath=no
9404 hardcode_into_libs=yes
9407 irix5* | irix6* | nonstopux*)
9408 case $host_os in
9409 nonstopux*) version_type=nonstopux ;;
9411 if test "$lt_cv_prog_gnu_ld" = yes; then
9412 version_type=linux
9413 else
9414 version_type=irix
9415 fi ;;
9416 esac
9417 need_lib_prefix=no
9418 need_version=no
9419 soname_spec='${libname}${release}${shared_ext}$major'
9420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9421 case $host_os in
9422 irix5* | nonstopux*)
9423 libsuff= shlibsuff=
9426 case $LD in # libtool.m4 will add one of these switches to LD
9427 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9428 libsuff= shlibsuff= libmagic=32-bit;;
9429 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9430 libsuff=32 shlibsuff=N32 libmagic=N32;;
9431 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9432 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9433 *) libsuff= shlibsuff= libmagic=never-match;;
9434 esac
9436 esac
9437 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9438 shlibpath_overrides_runpath=no
9439 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9440 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9441 hardcode_into_libs=yes
9444 # No shared lib support for Linux oldld, aout, or coff.
9445 linux*oldld* | linux*aout* | linux*coff*)
9446 dynamic_linker=no
9449 # This must be Linux ELF.
9450 linux* | k*bsd*-gnu)
9451 version_type=linux
9452 need_lib_prefix=no
9453 need_version=no
9454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9455 soname_spec='${libname}${release}${shared_ext}$major'
9456 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9457 shlibpath_var=LD_LIBRARY_PATH
9458 shlibpath_overrides_runpath=no
9459 # Some binutils ld are patched to set DT_RUNPATH
9460 save_LDFLAGS=$LDFLAGS
9461 save_libdir=$libdir
9462 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9463 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9464 if test x$gcc_no_link = xyes; then
9465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9467 { (exit 1); exit 1; }; }
9469 cat >conftest.$ac_ext <<_ACEOF
9470 /* confdefs.h. */
9471 _ACEOF
9472 cat confdefs.h >>conftest.$ac_ext
9473 cat >>conftest.$ac_ext <<_ACEOF
9474 /* end confdefs.h. */
9477 main ()
9481 return 0;
9483 _ACEOF
9484 rm -f conftest.$ac_objext conftest$ac_exeext
9485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9486 (eval $ac_link) 2>conftest.er1
9487 ac_status=$?
9488 grep -v '^ *+' conftest.er1 >conftest.err
9489 rm -f conftest.er1
9490 cat conftest.err >&5
9491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9492 (exit $ac_status); } &&
9493 { ac_try='test -z "$ac_c_werror_flag"
9494 || test ! -s conftest.err'
9495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9496 (eval $ac_try) 2>&5
9497 ac_status=$?
9498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499 (exit $ac_status); }; } &&
9500 { ac_try='test -s conftest$ac_exeext'
9501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9502 (eval $ac_try) 2>&5
9503 ac_status=$?
9504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505 (exit $ac_status); }; }; then
9506 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9507 shlibpath_overrides_runpath=yes
9510 else
9511 echo "$as_me: failed program was:" >&5
9512 sed 's/^/| /' conftest.$ac_ext >&5
9515 rm -f conftest.err conftest.$ac_objext \
9516 conftest$ac_exeext conftest.$ac_ext
9517 LDFLAGS=$save_LDFLAGS
9518 libdir=$save_libdir
9520 # This implies no fast_install, which is unacceptable.
9521 # Some rework will be needed to allow for fast_install
9522 # before this can be enabled.
9523 hardcode_into_libs=yes
9525 # Append ld.so.conf contents to the search path
9526 if test -f /etc/ld.so.conf; then
9527 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' ' '`
9528 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9531 # We used to test for /lib/ld.so.1 and disable shared libraries on
9532 # powerpc, because MkLinux only supported shared libraries with the
9533 # GNU dynamic linker. Since this was broken with cross compilers,
9534 # most powerpc-linux boxes support dynamic linking these days and
9535 # people can always --disable-shared, the test was removed, and we
9536 # assume the GNU/Linux dynamic linker is in use.
9537 dynamic_linker='GNU/Linux ld.so'
9540 netbsd*)
9541 version_type=sunos
9542 need_lib_prefix=no
9543 need_version=no
9544 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9545 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9546 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9547 dynamic_linker='NetBSD (a.out) ld.so'
9548 else
9549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9550 soname_spec='${libname}${release}${shared_ext}$major'
9551 dynamic_linker='NetBSD ld.elf_so'
9553 shlibpath_var=LD_LIBRARY_PATH
9554 shlibpath_overrides_runpath=yes
9555 hardcode_into_libs=yes
9558 newsos6)
9559 version_type=linux
9560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9561 shlibpath_var=LD_LIBRARY_PATH
9562 shlibpath_overrides_runpath=yes
9565 *nto* | *qnx*)
9566 version_type=qnx
9567 need_lib_prefix=no
9568 need_version=no
9569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9570 soname_spec='${libname}${release}${shared_ext}$major'
9571 shlibpath_var=LD_LIBRARY_PATH
9572 shlibpath_overrides_runpath=no
9573 hardcode_into_libs=yes
9574 dynamic_linker='ldqnx.so'
9577 openbsd*)
9578 version_type=sunos
9579 sys_lib_dlsearch_path_spec="/usr/lib"
9580 need_lib_prefix=no
9581 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9582 case $host_os in
9583 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9584 *) need_version=no ;;
9585 esac
9586 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9587 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9588 shlibpath_var=LD_LIBRARY_PATH
9589 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9590 case $host_os in
9591 openbsd2.[89] | openbsd2.[89].*)
9592 shlibpath_overrides_runpath=no
9595 shlibpath_overrides_runpath=yes
9597 esac
9598 else
9599 shlibpath_overrides_runpath=yes
9603 os2*)
9604 libname_spec='$name'
9605 shrext_cmds=".dll"
9606 need_lib_prefix=no
9607 library_names_spec='$libname${shared_ext} $libname.a'
9608 dynamic_linker='OS/2 ld.exe'
9609 shlibpath_var=LIBPATH
9612 osf3* | osf4* | osf5*)
9613 version_type=osf
9614 need_lib_prefix=no
9615 need_version=no
9616 soname_spec='${libname}${release}${shared_ext}$major'
9617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9618 shlibpath_var=LD_LIBRARY_PATH
9619 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9620 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9623 rdos*)
9624 dynamic_linker=no
9627 solaris*)
9628 version_type=linux
9629 need_lib_prefix=no
9630 need_version=no
9631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9632 soname_spec='${libname}${release}${shared_ext}$major'
9633 shlibpath_var=LD_LIBRARY_PATH
9634 shlibpath_overrides_runpath=yes
9635 hardcode_into_libs=yes
9636 # ldd complains unless libraries are executable
9637 postinstall_cmds='chmod +x $lib'
9640 sunos4*)
9641 version_type=sunos
9642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9643 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9644 shlibpath_var=LD_LIBRARY_PATH
9645 shlibpath_overrides_runpath=yes
9646 if test "$with_gnu_ld" = yes; then
9647 need_lib_prefix=no
9649 need_version=yes
9652 sysv4 | sysv4.3*)
9653 version_type=linux
9654 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9655 soname_spec='${libname}${release}${shared_ext}$major'
9656 shlibpath_var=LD_LIBRARY_PATH
9657 case $host_vendor in
9658 sni)
9659 shlibpath_overrides_runpath=no
9660 need_lib_prefix=no
9661 runpath_var=LD_RUN_PATH
9663 siemens)
9664 need_lib_prefix=no
9666 motorola)
9667 need_lib_prefix=no
9668 need_version=no
9669 shlibpath_overrides_runpath=no
9670 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9672 esac
9675 sysv4*MP*)
9676 if test -d /usr/nec ;then
9677 version_type=linux
9678 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9679 soname_spec='$libname${shared_ext}.$major'
9680 shlibpath_var=LD_LIBRARY_PATH
9684 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9685 version_type=freebsd-elf
9686 need_lib_prefix=no
9687 need_version=no
9688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9689 soname_spec='${libname}${release}${shared_ext}$major'
9690 shlibpath_var=LD_LIBRARY_PATH
9691 shlibpath_overrides_runpath=yes
9692 hardcode_into_libs=yes
9693 if test "$with_gnu_ld" = yes; then
9694 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9695 else
9696 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9697 case $host_os in
9698 sco3.2v5*)
9699 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9701 esac
9703 sys_lib_dlsearch_path_spec='/usr/lib'
9706 tpf*)
9707 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9708 version_type=linux
9709 need_lib_prefix=no
9710 need_version=no
9711 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9712 shlibpath_var=LD_LIBRARY_PATH
9713 shlibpath_overrides_runpath=no
9714 hardcode_into_libs=yes
9717 uts4*)
9718 version_type=linux
9719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9720 soname_spec='${libname}${release}${shared_ext}$major'
9721 shlibpath_var=LD_LIBRARY_PATH
9725 dynamic_linker=no
9727 esac
9728 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9729 echo "${ECHO_T}$dynamic_linker" >&6
9730 test "$dynamic_linker" = no && can_build_shared=no
9732 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9733 if test "$GCC" = yes; then
9734 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9823 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9824 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9825 hardcode_action=
9826 if test -n "$hardcode_libdir_flag_spec" ||
9827 test -n "$runpath_var" ||
9828 test "X$hardcode_automatic" = "Xyes" ; then
9830 # We can hardcode non-existent directories.
9831 if test "$hardcode_direct" != no &&
9832 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9833 # have to relink, otherwise we might link with an installed library
9834 # when we should be linking with a yet-to-be-installed one
9835 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9836 test "$hardcode_minus_L" != no; then
9837 # Linking always hardcodes the temporary library directory.
9838 hardcode_action=relink
9839 else
9840 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9841 hardcode_action=immediate
9843 else
9844 # We cannot hardcode anything, or else we can only hardcode existing
9845 # directories.
9846 hardcode_action=unsupported
9848 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9849 echo "${ECHO_T}$hardcode_action" >&6
9851 if test "$hardcode_action" = relink ||
9852 test "$inherit_rpath" = yes; then
9853 # Fast installation is not supported
9854 enable_fast_install=no
9855 elif test "$shlibpath_overrides_runpath" = yes ||
9856 test "$enable_shared" = no; then
9857 # Fast installation is not necessary
9858 enable_fast_install=needless
9866 if test "x$enable_dlopen" != xyes; then
9867 enable_dlopen=unknown
9868 enable_dlopen_self=unknown
9869 enable_dlopen_self_static=unknown
9870 else
9871 lt_cv_dlopen=no
9872 lt_cv_dlopen_libs=
9874 case $host_os in
9875 beos*)
9876 lt_cv_dlopen="load_add_on"
9877 lt_cv_dlopen_libs=
9878 lt_cv_dlopen_self=yes
9881 mingw* | pw32*)
9882 lt_cv_dlopen="LoadLibrary"
9883 lt_cv_dlopen_libs=
9886 cygwin*)
9887 lt_cv_dlopen="dlopen"
9888 lt_cv_dlopen_libs=
9891 darwin*)
9892 # if libdl is installed we need to link against it
9893 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9894 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9895 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9896 echo $ECHO_N "(cached) $ECHO_C" >&6
9897 else
9898 ac_check_lib_save_LIBS=$LIBS
9899 LIBS="-ldl $LIBS"
9900 if test x$gcc_no_link = xyes; then
9901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9903 { (exit 1); exit 1; }; }
9905 cat >conftest.$ac_ext <<_ACEOF
9906 /* confdefs.h. */
9907 _ACEOF
9908 cat confdefs.h >>conftest.$ac_ext
9909 cat >>conftest.$ac_ext <<_ACEOF
9910 /* end confdefs.h. */
9912 /* Override any gcc2 internal prototype to avoid an error. */
9913 #ifdef __cplusplus
9914 extern "C"
9915 #endif
9916 /* We use char because int might match the return type of a gcc2
9917 builtin and then its argument prototype would still apply. */
9918 char dlopen ();
9920 main ()
9922 dlopen ();
9924 return 0;
9926 _ACEOF
9927 rm -f conftest.$ac_objext conftest$ac_exeext
9928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9929 (eval $ac_link) 2>conftest.er1
9930 ac_status=$?
9931 grep -v '^ *+' conftest.er1 >conftest.err
9932 rm -f conftest.er1
9933 cat conftest.err >&5
9934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9935 (exit $ac_status); } &&
9936 { ac_try='test -z "$ac_c_werror_flag"
9937 || test ! -s conftest.err'
9938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9939 (eval $ac_try) 2>&5
9940 ac_status=$?
9941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9942 (exit $ac_status); }; } &&
9943 { ac_try='test -s conftest$ac_exeext'
9944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9945 (eval $ac_try) 2>&5
9946 ac_status=$?
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 (exit $ac_status); }; }; then
9949 ac_cv_lib_dl_dlopen=yes
9950 else
9951 echo "$as_me: failed program was:" >&5
9952 sed 's/^/| /' conftest.$ac_ext >&5
9954 ac_cv_lib_dl_dlopen=no
9956 rm -f conftest.err conftest.$ac_objext \
9957 conftest$ac_exeext conftest.$ac_ext
9958 LIBS=$ac_check_lib_save_LIBS
9960 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9961 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9962 if test $ac_cv_lib_dl_dlopen = yes; then
9963 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9964 else
9966 lt_cv_dlopen="dyld"
9967 lt_cv_dlopen_libs=
9968 lt_cv_dlopen_self=yes
9975 echo "$as_me:$LINENO: checking for shl_load" >&5
9976 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9977 if test "${ac_cv_func_shl_load+set}" = set; then
9978 echo $ECHO_N "(cached) $ECHO_C" >&6
9979 else
9980 if test x$gcc_no_link = xyes; then
9981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9983 { (exit 1); exit 1; }; }
9985 cat >conftest.$ac_ext <<_ACEOF
9986 /* confdefs.h. */
9987 _ACEOF
9988 cat confdefs.h >>conftest.$ac_ext
9989 cat >>conftest.$ac_ext <<_ACEOF
9990 /* end confdefs.h. */
9991 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9993 #define shl_load innocuous_shl_load
9995 /* System header to define __stub macros and hopefully few prototypes,
9996 which can conflict with char shl_load (); below.
9997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9998 <limits.h> exists even on freestanding compilers. */
10000 #ifdef __STDC__
10001 # include <limits.h>
10002 #else
10003 # include <assert.h>
10004 #endif
10006 #undef shl_load
10008 /* Override any gcc2 internal prototype to avoid an error. */
10009 #ifdef __cplusplus
10010 extern "C"
10012 #endif
10013 /* We use char because int might match the return type of a gcc2
10014 builtin and then its argument prototype would still apply. */
10015 char shl_load ();
10016 /* The GNU C library defines this for functions which it implements
10017 to always fail with ENOSYS. Some functions are actually named
10018 something starting with __ and the normal name is an alias. */
10019 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10020 choke me
10021 #else
10022 char (*f) () = shl_load;
10023 #endif
10024 #ifdef __cplusplus
10026 #endif
10029 main ()
10031 return f != shl_load;
10033 return 0;
10035 _ACEOF
10036 rm -f conftest.$ac_objext conftest$ac_exeext
10037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10038 (eval $ac_link) 2>conftest.er1
10039 ac_status=$?
10040 grep -v '^ *+' conftest.er1 >conftest.err
10041 rm -f conftest.er1
10042 cat conftest.err >&5
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); } &&
10045 { ac_try='test -z "$ac_c_werror_flag"
10046 || test ! -s conftest.err'
10047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10048 (eval $ac_try) 2>&5
10049 ac_status=$?
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 (exit $ac_status); }; } &&
10052 { ac_try='test -s conftest$ac_exeext'
10053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10054 (eval $ac_try) 2>&5
10055 ac_status=$?
10056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057 (exit $ac_status); }; }; then
10058 ac_cv_func_shl_load=yes
10059 else
10060 echo "$as_me: failed program was:" >&5
10061 sed 's/^/| /' conftest.$ac_ext >&5
10063 ac_cv_func_shl_load=no
10065 rm -f conftest.err conftest.$ac_objext \
10066 conftest$ac_exeext conftest.$ac_ext
10068 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10069 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10070 if test $ac_cv_func_shl_load = yes; then
10071 lt_cv_dlopen="shl_load"
10072 else
10073 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10074 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10075 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10076 echo $ECHO_N "(cached) $ECHO_C" >&6
10077 else
10078 ac_check_lib_save_LIBS=$LIBS
10079 LIBS="-ldld $LIBS"
10080 if test x$gcc_no_link = xyes; then
10081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10083 { (exit 1); exit 1; }; }
10085 cat >conftest.$ac_ext <<_ACEOF
10086 /* confdefs.h. */
10087 _ACEOF
10088 cat confdefs.h >>conftest.$ac_ext
10089 cat >>conftest.$ac_ext <<_ACEOF
10090 /* end confdefs.h. */
10092 /* Override any gcc2 internal prototype to avoid an error. */
10093 #ifdef __cplusplus
10094 extern "C"
10095 #endif
10096 /* We use char because int might match the return type of a gcc2
10097 builtin and then its argument prototype would still apply. */
10098 char shl_load ();
10100 main ()
10102 shl_load ();
10104 return 0;
10106 _ACEOF
10107 rm -f conftest.$ac_objext conftest$ac_exeext
10108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10109 (eval $ac_link) 2>conftest.er1
10110 ac_status=$?
10111 grep -v '^ *+' conftest.er1 >conftest.err
10112 rm -f conftest.er1
10113 cat conftest.err >&5
10114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10115 (exit $ac_status); } &&
10116 { ac_try='test -z "$ac_c_werror_flag"
10117 || test ! -s conftest.err'
10118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10119 (eval $ac_try) 2>&5
10120 ac_status=$?
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 (exit $ac_status); }; } &&
10123 { ac_try='test -s conftest$ac_exeext'
10124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10125 (eval $ac_try) 2>&5
10126 ac_status=$?
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); }; }; then
10129 ac_cv_lib_dld_shl_load=yes
10130 else
10131 echo "$as_me: failed program was:" >&5
10132 sed 's/^/| /' conftest.$ac_ext >&5
10134 ac_cv_lib_dld_shl_load=no
10136 rm -f conftest.err conftest.$ac_objext \
10137 conftest$ac_exeext conftest.$ac_ext
10138 LIBS=$ac_check_lib_save_LIBS
10140 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10141 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10142 if test $ac_cv_lib_dld_shl_load = yes; then
10143 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10144 else
10145 echo "$as_me:$LINENO: checking for dlopen" >&5
10146 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10147 if test "${ac_cv_func_dlopen+set}" = set; then
10148 echo $ECHO_N "(cached) $ECHO_C" >&6
10149 else
10150 if test x$gcc_no_link = xyes; then
10151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10153 { (exit 1); exit 1; }; }
10155 cat >conftest.$ac_ext <<_ACEOF
10156 /* confdefs.h. */
10157 _ACEOF
10158 cat confdefs.h >>conftest.$ac_ext
10159 cat >>conftest.$ac_ext <<_ACEOF
10160 /* end confdefs.h. */
10161 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10163 #define dlopen innocuous_dlopen
10165 /* System header to define __stub macros and hopefully few prototypes,
10166 which can conflict with char dlopen (); below.
10167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10168 <limits.h> exists even on freestanding compilers. */
10170 #ifdef __STDC__
10171 # include <limits.h>
10172 #else
10173 # include <assert.h>
10174 #endif
10176 #undef dlopen
10178 /* Override any gcc2 internal prototype to avoid an error. */
10179 #ifdef __cplusplus
10180 extern "C"
10182 #endif
10183 /* We use char because int might match the return type of a gcc2
10184 builtin and then its argument prototype would still apply. */
10185 char dlopen ();
10186 /* The GNU C library defines this for functions which it implements
10187 to always fail with ENOSYS. Some functions are actually named
10188 something starting with __ and the normal name is an alias. */
10189 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10190 choke me
10191 #else
10192 char (*f) () = dlopen;
10193 #endif
10194 #ifdef __cplusplus
10196 #endif
10199 main ()
10201 return f != dlopen;
10203 return 0;
10205 _ACEOF
10206 rm -f conftest.$ac_objext conftest$ac_exeext
10207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10208 (eval $ac_link) 2>conftest.er1
10209 ac_status=$?
10210 grep -v '^ *+' conftest.er1 >conftest.err
10211 rm -f conftest.er1
10212 cat conftest.err >&5
10213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10214 (exit $ac_status); } &&
10215 { ac_try='test -z "$ac_c_werror_flag"
10216 || test ! -s conftest.err'
10217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10218 (eval $ac_try) 2>&5
10219 ac_status=$?
10220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221 (exit $ac_status); }; } &&
10222 { ac_try='test -s conftest$ac_exeext'
10223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10224 (eval $ac_try) 2>&5
10225 ac_status=$?
10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10227 (exit $ac_status); }; }; then
10228 ac_cv_func_dlopen=yes
10229 else
10230 echo "$as_me: failed program was:" >&5
10231 sed 's/^/| /' conftest.$ac_ext >&5
10233 ac_cv_func_dlopen=no
10235 rm -f conftest.err conftest.$ac_objext \
10236 conftest$ac_exeext conftest.$ac_ext
10238 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10239 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10240 if test $ac_cv_func_dlopen = yes; then
10241 lt_cv_dlopen="dlopen"
10242 else
10243 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10244 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10245 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10246 echo $ECHO_N "(cached) $ECHO_C" >&6
10247 else
10248 ac_check_lib_save_LIBS=$LIBS
10249 LIBS="-ldl $LIBS"
10250 if test x$gcc_no_link = xyes; then
10251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10253 { (exit 1); exit 1; }; }
10255 cat >conftest.$ac_ext <<_ACEOF
10256 /* confdefs.h. */
10257 _ACEOF
10258 cat confdefs.h >>conftest.$ac_ext
10259 cat >>conftest.$ac_ext <<_ACEOF
10260 /* end confdefs.h. */
10262 /* Override any gcc2 internal prototype to avoid an error. */
10263 #ifdef __cplusplus
10264 extern "C"
10265 #endif
10266 /* We use char because int might match the return type of a gcc2
10267 builtin and then its argument prototype would still apply. */
10268 char dlopen ();
10270 main ()
10272 dlopen ();
10274 return 0;
10276 _ACEOF
10277 rm -f conftest.$ac_objext conftest$ac_exeext
10278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10279 (eval $ac_link) 2>conftest.er1
10280 ac_status=$?
10281 grep -v '^ *+' conftest.er1 >conftest.err
10282 rm -f conftest.er1
10283 cat conftest.err >&5
10284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10285 (exit $ac_status); } &&
10286 { ac_try='test -z "$ac_c_werror_flag"
10287 || test ! -s conftest.err'
10288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10289 (eval $ac_try) 2>&5
10290 ac_status=$?
10291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10292 (exit $ac_status); }; } &&
10293 { ac_try='test -s conftest$ac_exeext'
10294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10295 (eval $ac_try) 2>&5
10296 ac_status=$?
10297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10298 (exit $ac_status); }; }; then
10299 ac_cv_lib_dl_dlopen=yes
10300 else
10301 echo "$as_me: failed program was:" >&5
10302 sed 's/^/| /' conftest.$ac_ext >&5
10304 ac_cv_lib_dl_dlopen=no
10306 rm -f conftest.err conftest.$ac_objext \
10307 conftest$ac_exeext conftest.$ac_ext
10308 LIBS=$ac_check_lib_save_LIBS
10310 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10311 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10312 if test $ac_cv_lib_dl_dlopen = yes; then
10313 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10314 else
10315 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10316 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10317 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10318 echo $ECHO_N "(cached) $ECHO_C" >&6
10319 else
10320 ac_check_lib_save_LIBS=$LIBS
10321 LIBS="-lsvld $LIBS"
10322 if test x$gcc_no_link = xyes; then
10323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10325 { (exit 1); exit 1; }; }
10327 cat >conftest.$ac_ext <<_ACEOF
10328 /* confdefs.h. */
10329 _ACEOF
10330 cat confdefs.h >>conftest.$ac_ext
10331 cat >>conftest.$ac_ext <<_ACEOF
10332 /* end confdefs.h. */
10334 /* Override any gcc2 internal prototype to avoid an error. */
10335 #ifdef __cplusplus
10336 extern "C"
10337 #endif
10338 /* We use char because int might match the return type of a gcc2
10339 builtin and then its argument prototype would still apply. */
10340 char dlopen ();
10342 main ()
10344 dlopen ();
10346 return 0;
10348 _ACEOF
10349 rm -f conftest.$ac_objext conftest$ac_exeext
10350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10351 (eval $ac_link) 2>conftest.er1
10352 ac_status=$?
10353 grep -v '^ *+' conftest.er1 >conftest.err
10354 rm -f conftest.er1
10355 cat conftest.err >&5
10356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10357 (exit $ac_status); } &&
10358 { ac_try='test -z "$ac_c_werror_flag"
10359 || test ! -s conftest.err'
10360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10361 (eval $ac_try) 2>&5
10362 ac_status=$?
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); }; } &&
10365 { ac_try='test -s conftest$ac_exeext'
10366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10367 (eval $ac_try) 2>&5
10368 ac_status=$?
10369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10370 (exit $ac_status); }; }; then
10371 ac_cv_lib_svld_dlopen=yes
10372 else
10373 echo "$as_me: failed program was:" >&5
10374 sed 's/^/| /' conftest.$ac_ext >&5
10376 ac_cv_lib_svld_dlopen=no
10378 rm -f conftest.err conftest.$ac_objext \
10379 conftest$ac_exeext conftest.$ac_ext
10380 LIBS=$ac_check_lib_save_LIBS
10382 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10383 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10384 if test $ac_cv_lib_svld_dlopen = yes; then
10385 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10386 else
10387 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10388 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10389 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10390 echo $ECHO_N "(cached) $ECHO_C" >&6
10391 else
10392 ac_check_lib_save_LIBS=$LIBS
10393 LIBS="-ldld $LIBS"
10394 if test x$gcc_no_link = xyes; then
10395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10397 { (exit 1); exit 1; }; }
10399 cat >conftest.$ac_ext <<_ACEOF
10400 /* confdefs.h. */
10401 _ACEOF
10402 cat confdefs.h >>conftest.$ac_ext
10403 cat >>conftest.$ac_ext <<_ACEOF
10404 /* end confdefs.h. */
10406 /* Override any gcc2 internal prototype to avoid an error. */
10407 #ifdef __cplusplus
10408 extern "C"
10409 #endif
10410 /* We use char because int might match the return type of a gcc2
10411 builtin and then its argument prototype would still apply. */
10412 char dld_link ();
10414 main ()
10416 dld_link ();
10418 return 0;
10420 _ACEOF
10421 rm -f conftest.$ac_objext conftest$ac_exeext
10422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10423 (eval $ac_link) 2>conftest.er1
10424 ac_status=$?
10425 grep -v '^ *+' conftest.er1 >conftest.err
10426 rm -f conftest.er1
10427 cat conftest.err >&5
10428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429 (exit $ac_status); } &&
10430 { ac_try='test -z "$ac_c_werror_flag"
10431 || test ! -s conftest.err'
10432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10433 (eval $ac_try) 2>&5
10434 ac_status=$?
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; } &&
10437 { ac_try='test -s conftest$ac_exeext'
10438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10439 (eval $ac_try) 2>&5
10440 ac_status=$?
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); }; }; then
10443 ac_cv_lib_dld_dld_link=yes
10444 else
10445 echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.$ac_ext >&5
10448 ac_cv_lib_dld_dld_link=no
10450 rm -f conftest.err conftest.$ac_objext \
10451 conftest$ac_exeext conftest.$ac_ext
10452 LIBS=$ac_check_lib_save_LIBS
10454 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10455 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10456 if test $ac_cv_lib_dld_dld_link = yes; then
10457 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10476 esac
10478 if test "x$lt_cv_dlopen" != xno; then
10479 enable_dlopen=yes
10480 else
10481 enable_dlopen=no
10484 case $lt_cv_dlopen in
10485 dlopen)
10486 save_CPPFLAGS="$CPPFLAGS"
10487 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10489 save_LDFLAGS="$LDFLAGS"
10490 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10492 save_LIBS="$LIBS"
10493 LIBS="$lt_cv_dlopen_libs $LIBS"
10495 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10496 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10497 if test "${lt_cv_dlopen_self+set}" = set; then
10498 echo $ECHO_N "(cached) $ECHO_C" >&6
10499 else
10500 if test "$cross_compiling" = yes; then :
10501 lt_cv_dlopen_self=cross
10502 else
10503 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10504 lt_status=$lt_dlunknown
10505 cat > conftest.$ac_ext <<_LT_EOF
10506 #line 10506 "configure"
10507 #include "confdefs.h"
10509 #if HAVE_DLFCN_H
10510 #include <dlfcn.h>
10511 #endif
10513 #include <stdio.h>
10515 #ifdef RTLD_GLOBAL
10516 # define LT_DLGLOBAL RTLD_GLOBAL
10517 #else
10518 # ifdef DL_GLOBAL
10519 # define LT_DLGLOBAL DL_GLOBAL
10520 # else
10521 # define LT_DLGLOBAL 0
10522 # endif
10523 #endif
10525 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10526 find out it does not work in some platform. */
10527 #ifndef LT_DLLAZY_OR_NOW
10528 # ifdef RTLD_LAZY
10529 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10530 # else
10531 # ifdef DL_LAZY
10532 # define LT_DLLAZY_OR_NOW DL_LAZY
10533 # else
10534 # ifdef RTLD_NOW
10535 # define LT_DLLAZY_OR_NOW RTLD_NOW
10536 # else
10537 # ifdef DL_NOW
10538 # define LT_DLLAZY_OR_NOW DL_NOW
10539 # else
10540 # define LT_DLLAZY_OR_NOW 0
10541 # endif
10542 # endif
10543 # endif
10544 # endif
10545 #endif
10547 #ifdef __cplusplus
10548 extern "C" void exit (int);
10549 #endif
10551 void fnord() { int i=42;}
10552 int main ()
10554 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10555 int status = $lt_dlunknown;
10557 if (self)
10559 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10560 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10561 /* dlclose (self); */
10563 else
10564 puts (dlerror ());
10566 exit (status);
10568 _LT_EOF
10569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10570 (eval $ac_link) 2>&5
10571 ac_status=$?
10572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10573 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10574 (./conftest; exit; ) >&5 2>/dev/null
10575 lt_status=$?
10576 case x$lt_status in
10577 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10578 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10579 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10580 esac
10581 else :
10582 # compilation failed
10583 lt_cv_dlopen_self=no
10586 rm -fr conftest*
10590 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10591 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10593 if test "x$lt_cv_dlopen_self" = xyes; then
10594 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10595 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10596 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10597 if test "${lt_cv_dlopen_self_static+set}" = set; then
10598 echo $ECHO_N "(cached) $ECHO_C" >&6
10599 else
10600 if test "$cross_compiling" = yes; then :
10601 lt_cv_dlopen_self_static=cross
10602 else
10603 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10604 lt_status=$lt_dlunknown
10605 cat > conftest.$ac_ext <<_LT_EOF
10606 #line 10606 "configure"
10607 #include "confdefs.h"
10609 #if HAVE_DLFCN_H
10610 #include <dlfcn.h>
10611 #endif
10613 #include <stdio.h>
10615 #ifdef RTLD_GLOBAL
10616 # define LT_DLGLOBAL RTLD_GLOBAL
10617 #else
10618 # ifdef DL_GLOBAL
10619 # define LT_DLGLOBAL DL_GLOBAL
10620 # else
10621 # define LT_DLGLOBAL 0
10622 # endif
10623 #endif
10625 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10626 find out it does not work in some platform. */
10627 #ifndef LT_DLLAZY_OR_NOW
10628 # ifdef RTLD_LAZY
10629 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10630 # else
10631 # ifdef DL_LAZY
10632 # define LT_DLLAZY_OR_NOW DL_LAZY
10633 # else
10634 # ifdef RTLD_NOW
10635 # define LT_DLLAZY_OR_NOW RTLD_NOW
10636 # else
10637 # ifdef DL_NOW
10638 # define LT_DLLAZY_OR_NOW DL_NOW
10639 # else
10640 # define LT_DLLAZY_OR_NOW 0
10641 # endif
10642 # endif
10643 # endif
10644 # endif
10645 #endif
10647 #ifdef __cplusplus
10648 extern "C" void exit (int);
10649 #endif
10651 void fnord() { int i=42;}
10652 int main ()
10654 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10655 int status = $lt_dlunknown;
10657 if (self)
10659 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10660 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10661 /* dlclose (self); */
10663 else
10664 puts (dlerror ());
10666 exit (status);
10668 _LT_EOF
10669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10670 (eval $ac_link) 2>&5
10671 ac_status=$?
10672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10674 (./conftest; exit; ) >&5 2>/dev/null
10675 lt_status=$?
10676 case x$lt_status in
10677 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10678 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10679 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10680 esac
10681 else :
10682 # compilation failed
10683 lt_cv_dlopen_self_static=no
10686 rm -fr conftest*
10690 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10691 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10694 CPPFLAGS="$save_CPPFLAGS"
10695 LDFLAGS="$save_LDFLAGS"
10696 LIBS="$save_LIBS"
10698 esac
10700 case $lt_cv_dlopen_self in
10701 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10702 *) enable_dlopen_self=unknown ;;
10703 esac
10705 case $lt_cv_dlopen_self_static in
10706 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10707 *) enable_dlopen_self_static=unknown ;;
10708 esac
10727 striplib=
10728 old_striplib=
10729 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10730 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10731 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10732 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10733 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10734 echo "$as_me:$LINENO: result: yes" >&5
10735 echo "${ECHO_T}yes" >&6
10736 else
10737 # FIXME - insert some real tests, host_os isn't really good enough
10738 case $host_os in
10739 darwin*)
10740 if test -n "$STRIP" ; then
10741 striplib="$STRIP -x"
10742 old_striplib="$STRIP -S"
10743 echo "$as_me:$LINENO: result: yes" >&5
10744 echo "${ECHO_T}yes" >&6
10745 else
10746 echo "$as_me:$LINENO: result: no" >&5
10747 echo "${ECHO_T}no" >&6
10751 echo "$as_me:$LINENO: result: no" >&5
10752 echo "${ECHO_T}no" >&6
10754 esac
10768 # Report which library types will actually be built
10769 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10770 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10771 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10772 echo "${ECHO_T}$can_build_shared" >&6
10774 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10775 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10776 test "$can_build_shared" = "no" && enable_shared=no
10778 # On AIX, shared libraries and static libraries use the same namespace, and
10779 # are all built from PIC.
10780 case $host_os in
10781 aix3*)
10782 test "$enable_shared" = yes && enable_static=no
10783 if test -n "$RANLIB"; then
10784 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10785 postinstall_cmds='$RANLIB $lib'
10789 aix[4-9]*)
10790 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10791 test "$enable_shared" = yes && enable_static=no
10794 esac
10795 echo "$as_me:$LINENO: result: $enable_shared" >&5
10796 echo "${ECHO_T}$enable_shared" >&6
10798 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10799 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10800 # Make sure either enable_shared or enable_static is yes.
10801 test "$enable_shared" = yes || enable_static=yes
10802 echo "$as_me:$LINENO: result: $enable_static" >&5
10803 echo "${ECHO_T}$enable_static" >&6
10809 ac_ext=c
10810 ac_cpp='$CPP $CPPFLAGS'
10811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10815 CC="$lt_save_CC"
10818 ac_ext=cc
10819 ac_cpp='$CXXCPP $CPPFLAGS'
10820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10824 archive_cmds_need_lc_CXX=no
10825 allow_undefined_flag_CXX=
10826 always_export_symbols_CXX=no
10827 archive_expsym_cmds_CXX=
10828 compiler_needs_object_CXX=no
10829 export_dynamic_flag_spec_CXX=
10830 hardcode_direct_CXX=no
10831 hardcode_direct_absolute_CXX=no
10832 hardcode_libdir_flag_spec_CXX=
10833 hardcode_libdir_flag_spec_ld_CXX=
10834 hardcode_libdir_separator_CXX=
10835 hardcode_minus_L_CXX=no
10836 hardcode_shlibpath_var_CXX=unsupported
10837 hardcode_automatic_CXX=no
10838 inherit_rpath_CXX=no
10839 module_cmds_CXX=
10840 module_expsym_cmds_CXX=
10841 link_all_deplibs_CXX=unknown
10842 old_archive_cmds_CXX=$old_archive_cmds
10843 no_undefined_flag_CXX=
10844 whole_archive_flag_spec_CXX=
10845 enable_shared_with_static_runtimes_CXX=no
10847 # Source file extension for C++ test sources.
10848 ac_ext=cpp
10850 # Object file extension for compiled C++ test sources.
10851 objext=o
10852 objext_CXX=$objext
10854 # No sense in running all these tests if we already determined that
10855 # the CXX compiler isn't working. Some variables (like enable_shared)
10856 # are currently assumed to apply to all compilers on this platform,
10857 # and will be corrupted by setting them based on a non-working compiler.
10858 if test "$_lt_caught_CXX_error" != yes; then
10859 # Code to be used in simple compile tests
10860 lt_simple_compile_test_code="int some_variable = 0;"
10862 # Code to be used in simple link tests
10863 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10865 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10872 # If no C compiler was specified, use CC.
10873 LTCC=${LTCC-"$CC"}
10875 # If no C compiler flags were specified, use CFLAGS.
10876 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10878 # Allow CC to be a program name with arguments.
10879 compiler=$CC
10882 # save warnings/boilerplate of simple test code
10883 ac_outfile=conftest.$ac_objext
10884 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10885 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10886 _lt_compiler_boilerplate=`cat conftest.err`
10887 $RM conftest*
10889 ac_outfile=conftest.$ac_objext
10890 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10891 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10892 _lt_linker_boilerplate=`cat conftest.err`
10893 $RM conftest*
10896 # Allow CC to be a program name with arguments.
10897 lt_save_CC=$CC
10898 lt_save_LD=$LD
10899 lt_save_GCC=$GCC
10900 GCC=$GXX
10901 lt_save_with_gnu_ld=$with_gnu_ld
10902 lt_save_path_LD=$lt_cv_path_LD
10903 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10904 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10905 else
10906 $as_unset lt_cv_prog_gnu_ld
10908 if test -n "${lt_cv_path_LDCXX+set}"; then
10909 lt_cv_path_LD=$lt_cv_path_LDCXX
10910 else
10911 $as_unset lt_cv_path_LD
10913 test -z "${LDCXX+set}" || LD=$LDCXX
10914 CC=${CXX-"c++"}
10915 compiler=$CC
10916 compiler_CXX=$CC
10917 for cc_temp in $compiler""; do
10918 case $cc_temp in
10919 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10920 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10921 \-*) ;;
10922 *) break;;
10923 esac
10924 done
10925 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10928 if test -n "$compiler"; then
10929 # We don't want -fno-exception when compiling C++ code, so set the
10930 # no_builtin_flag separately
10931 if test "$GXX" = yes; then
10932 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10933 else
10934 lt_prog_compiler_no_builtin_flag_CXX=
10937 if test "$GXX" = yes; then
10938 # Set up default GNU C++ configuration
10942 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10943 if test "${with_gnu_ld+set}" = set; then
10944 withval="$with_gnu_ld"
10945 test "$withval" = no || with_gnu_ld=yes
10946 else
10947 with_gnu_ld=no
10949 ac_prog=ld
10950 if test "$GCC" = yes; then
10951 # Check if gcc -print-prog-name=ld gives a path.
10952 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10953 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10954 case $host in
10955 *-*-mingw*)
10956 # gcc leaves a trailing carriage return which upsets mingw
10957 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10959 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10960 esac
10961 case $ac_prog in
10962 # Accept absolute paths.
10963 [\\/]* | ?:[\\/]*)
10964 re_direlt='/[^/][^/]*/\.\./'
10965 # Canonicalize the pathname of ld
10966 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10967 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10968 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10969 done
10970 test -z "$LD" && LD="$ac_prog"
10973 # If it fails, then pretend we aren't using GCC.
10974 ac_prog=ld
10977 # If it is relative, then search for the first ld in PATH.
10978 with_gnu_ld=unknown
10980 esac
10981 elif test "$with_gnu_ld" = yes; then
10982 echo "$as_me:$LINENO: checking for GNU ld" >&5
10983 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10984 else
10985 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10986 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10988 if test "${lt_cv_path_LD+set}" = set; then
10989 echo $ECHO_N "(cached) $ECHO_C" >&6
10990 else
10991 if test -z "$LD"; then
10992 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10993 for ac_dir in $PATH; do
10994 IFS="$lt_save_ifs"
10995 test -z "$ac_dir" && ac_dir=.
10996 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10997 lt_cv_path_LD="$ac_dir/$ac_prog"
10998 # Check to see if the program is GNU ld. I'd rather use --version,
10999 # but apparently some variants of GNU ld only accept -v.
11000 # Break only if it was the GNU/non-GNU ld that we prefer.
11001 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11002 *GNU* | *'with BFD'*)
11003 test "$with_gnu_ld" != no && break
11006 test "$with_gnu_ld" != yes && break
11008 esac
11010 done
11011 IFS="$lt_save_ifs"
11012 else
11013 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11017 LD="$lt_cv_path_LD"
11018 if test -n "$LD"; then
11019 echo "$as_me:$LINENO: result: $LD" >&5
11020 echo "${ECHO_T}$LD" >&6
11021 else
11022 echo "$as_me:$LINENO: result: no" >&5
11023 echo "${ECHO_T}no" >&6
11025 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11026 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11027 { (exit 1); exit 1; }; }
11028 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11029 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11030 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11031 echo $ECHO_N "(cached) $ECHO_C" >&6
11032 else
11033 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11034 case `$LD -v 2>&1 </dev/null` in
11035 *GNU* | *'with BFD'*)
11036 lt_cv_prog_gnu_ld=yes
11039 lt_cv_prog_gnu_ld=no
11041 esac
11043 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11044 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11045 with_gnu_ld=$lt_cv_prog_gnu_ld
11053 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11054 # archiving commands below assume that GNU ld is being used.
11055 if test "$with_gnu_ld" = yes; then
11056 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11057 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'
11059 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11060 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11062 # If archive_cmds runs LD, not CC, wlarc should be empty
11063 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11064 # investigate it a little bit more. (MM)
11065 wlarc='${wl}'
11067 # ancient GNU ld didn't support --whole-archive et. al.
11068 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11069 $GREP 'no-whole-archive' > /dev/null; then
11070 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11071 else
11072 whole_archive_flag_spec_CXX=
11074 else
11075 with_gnu_ld=no
11076 wlarc=
11078 # A generic and very simple default shared library creation
11079 # command for GNU C++ for the case where it uses the native
11080 # linker, instead of GNU ld. If possible, this setting should
11081 # overridden to take advantage of the native linker features on
11082 # the platform it is being used on.
11083 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11086 # Commands to make compiler produce verbose output that lists
11087 # what "hidden" libraries, object files and flags are used when
11088 # linking a shared library.
11089 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11091 else
11092 GXX=no
11093 with_gnu_ld=no
11094 wlarc=
11097 # PORTME: fill in a description of your system's C++ link characteristics
11098 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11099 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11100 ld_shlibs_CXX=yes
11101 case $host_os in
11102 aix3*)
11103 # FIXME: insert proper C++ library support
11104 ld_shlibs_CXX=no
11106 aix[4-9]*)
11107 if test "$host_cpu" = ia64; then
11108 # On IA64, the linker does run time linking by default, so we don't
11109 # have to do anything special.
11110 aix_use_runtimelinking=no
11111 exp_sym_flag='-Bexport'
11112 no_entry_flag=""
11113 else
11114 aix_use_runtimelinking=no
11116 # Test if we are trying to use run time linking or normal
11117 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11118 # need to do runtime linking.
11119 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11120 for ld_flag in $LDFLAGS; do
11121 case $ld_flag in
11122 *-brtl*)
11123 aix_use_runtimelinking=yes
11124 break
11126 esac
11127 done
11129 esac
11131 exp_sym_flag='-bexport'
11132 no_entry_flag='-bnoentry'
11135 # When large executables or shared objects are built, AIX ld can
11136 # have problems creating the table of contents. If linking a library
11137 # or program results in "error TOC overflow" add -mminimal-toc to
11138 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11139 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11141 archive_cmds_CXX=''
11142 hardcode_direct_CXX=yes
11143 hardcode_direct_absolute_CXX=yes
11144 hardcode_libdir_separator_CXX=':'
11145 link_all_deplibs_CXX=yes
11146 file_list_spec_CXX='${wl}-f,'
11148 if test "$GXX" = yes; then
11149 case $host_os in aix4.[012]|aix4.[012].*)
11150 # We only want to do this on AIX 4.2 and lower, the check
11151 # below for broken collect2 doesn't work under 4.3+
11152 collect2name=`${CC} -print-prog-name=collect2`
11153 if test -f "$collect2name" &&
11154 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11155 then
11156 # We have reworked collect2
11158 else
11159 # We have old collect2
11160 hardcode_direct_CXX=unsupported
11161 # It fails to find uninstalled libraries when the uninstalled
11162 # path is not listed in the libpath. Setting hardcode_minus_L
11163 # to unsupported forces relinking
11164 hardcode_minus_L_CXX=yes
11165 hardcode_libdir_flag_spec_CXX='-L$libdir'
11166 hardcode_libdir_separator_CXX=
11168 esac
11169 shared_flag='-shared'
11170 if test "$aix_use_runtimelinking" = yes; then
11171 shared_flag="$shared_flag "'${wl}-G'
11173 else
11174 # not using gcc
11175 if test "$host_cpu" = ia64; then
11176 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11177 # chokes on -Wl,-G. The following line is correct:
11178 shared_flag='-G'
11179 else
11180 if test "$aix_use_runtimelinking" = yes; then
11181 shared_flag='${wl}-G'
11182 else
11183 shared_flag='${wl}-bM:SRE'
11188 # It seems that -bexpall does not export symbols beginning with
11189 # underscore (_), so it is better to generate a list of symbols to
11190 # export.
11191 always_export_symbols_CXX=yes
11192 if test "$aix_use_runtimelinking" = yes; then
11193 # Warning - without using the other runtime loading flags (-brtl),
11194 # -berok will link without error, but may produce a broken library.
11195 allow_undefined_flag_CXX='-berok'
11196 # Determine the default libpath from the value encoded in an empty
11197 # executable.
11198 if test x$gcc_no_link = xyes; then
11199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11201 { (exit 1); exit 1; }; }
11203 cat >conftest.$ac_ext <<_ACEOF
11204 /* confdefs.h. */
11205 _ACEOF
11206 cat confdefs.h >>conftest.$ac_ext
11207 cat >>conftest.$ac_ext <<_ACEOF
11208 /* end confdefs.h. */
11211 main ()
11215 return 0;
11217 _ACEOF
11218 rm -f conftest.$ac_objext conftest$ac_exeext
11219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11220 (eval $ac_link) 2>conftest.er1
11221 ac_status=$?
11222 grep -v '^ *+' conftest.er1 >conftest.err
11223 rm -f conftest.er1
11224 cat conftest.err >&5
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); } &&
11227 { ac_try='test -z "$ac_cxx_werror_flag"
11228 || test ! -s conftest.err'
11229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11230 (eval $ac_try) 2>&5
11231 ac_status=$?
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); }; } &&
11234 { ac_try='test -s conftest$ac_exeext'
11235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11236 (eval $ac_try) 2>&5
11237 ac_status=$?
11238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239 (exit $ac_status); }; }; then
11241 lt_aix_libpath_sed='
11242 /Import File Strings/,/^$/ {
11243 /^0/ {
11244 s/^0 *\(.*\)$/\1/
11248 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11249 # Check for a 64-bit object if we didn't find anything.
11250 if test -z "$aix_libpath"; then
11251 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11253 else
11254 echo "$as_me: failed program was:" >&5
11255 sed 's/^/| /' conftest.$ac_ext >&5
11258 rm -f conftest.err conftest.$ac_objext \
11259 conftest$ac_exeext conftest.$ac_ext
11260 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11262 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11264 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"
11265 else
11266 if test "$host_cpu" = ia64; then
11267 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11268 allow_undefined_flag_CXX="-z nodefs"
11269 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"
11270 else
11271 # Determine the default libpath from the value encoded in an
11272 # empty executable.
11273 if test x$gcc_no_link = xyes; then
11274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11276 { (exit 1); exit 1; }; }
11278 cat >conftest.$ac_ext <<_ACEOF
11279 /* confdefs.h. */
11280 _ACEOF
11281 cat confdefs.h >>conftest.$ac_ext
11282 cat >>conftest.$ac_ext <<_ACEOF
11283 /* end confdefs.h. */
11286 main ()
11290 return 0;
11292 _ACEOF
11293 rm -f conftest.$ac_objext conftest$ac_exeext
11294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11295 (eval $ac_link) 2>conftest.er1
11296 ac_status=$?
11297 grep -v '^ *+' conftest.er1 >conftest.err
11298 rm -f conftest.er1
11299 cat conftest.err >&5
11300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11301 (exit $ac_status); } &&
11302 { ac_try='test -z "$ac_cxx_werror_flag"
11303 || test ! -s conftest.err'
11304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11305 (eval $ac_try) 2>&5
11306 ac_status=$?
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); }; } &&
11309 { ac_try='test -s conftest$ac_exeext'
11310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11311 (eval $ac_try) 2>&5
11312 ac_status=$?
11313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314 (exit $ac_status); }; }; then
11316 lt_aix_libpath_sed='
11317 /Import File Strings/,/^$/ {
11318 /^0/ {
11319 s/^0 *\(.*\)$/\1/
11323 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11324 # Check for a 64-bit object if we didn't find anything.
11325 if test -z "$aix_libpath"; then
11326 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11328 else
11329 echo "$as_me: failed program was:" >&5
11330 sed 's/^/| /' conftest.$ac_ext >&5
11333 rm -f conftest.err conftest.$ac_objext \
11334 conftest$ac_exeext conftest.$ac_ext
11335 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11337 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11338 # Warning - without using the other run time loading flags,
11339 # -berok will link without error, but may produce a broken library.
11340 no_undefined_flag_CXX=' ${wl}-bernotok'
11341 allow_undefined_flag_CXX=' ${wl}-berok'
11342 # Exported symbols can be pulled into shared objects from archives
11343 whole_archive_flag_spec_CXX='$convenience'
11344 archive_cmds_need_lc_CXX=yes
11345 # This is similar to how AIX traditionally builds its shared
11346 # libraries.
11347 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'
11352 beos*)
11353 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11354 allow_undefined_flag_CXX=unsupported
11355 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11356 # support --undefined. This deserves some investigation. FIXME
11357 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11358 else
11359 ld_shlibs_CXX=no
11363 chorus*)
11364 case $cc_basename in
11366 # FIXME: insert proper C++ library support
11367 ld_shlibs_CXX=no
11369 esac
11372 cygwin* | mingw* | pw32*)
11373 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11374 # as there is no search path for DLLs.
11375 hardcode_libdir_flag_spec_CXX='-L$libdir'
11376 allow_undefined_flag_CXX=unsupported
11377 always_export_symbols_CXX=no
11378 enable_shared_with_static_runtimes_CXX=yes
11380 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11381 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'
11382 # If the export-symbols file already is a .def file (1st line
11383 # is EXPORTS), use it as is; otherwise, prepend...
11384 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11385 cp $export_symbols $output_objdir/$soname.def;
11386 else
11387 echo EXPORTS > $output_objdir/$soname.def;
11388 cat $export_symbols >> $output_objdir/$soname.def;
11390 $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'
11391 else
11392 ld_shlibs_CXX=no
11395 darwin* | rhapsody*)
11396 case $host_os in
11397 rhapsody* | darwin1.[012])
11398 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11400 *) # Darwin 1.3 on
11401 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11402 10.[012])
11403 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11405 10.*)
11406 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11408 esac
11410 esac
11411 archive_cmds_need_lc_CXX=no
11412 hardcode_direct_CXX=no
11413 hardcode_automatic_CXX=yes
11414 hardcode_shlibpath_var_CXX=unsupported
11415 whole_archive_flag_spec_CXX=''
11416 link_all_deplibs_CXX=yes
11418 if test "$GXX" = yes ; then
11419 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11420 echo $ECHO_N "(cached) $ECHO_C" >&6
11421 else
11422 lt_cv_apple_cc_single_mod=no
11423 if test -z "${LT_MULTI_MODULE}"; then
11424 # By default we will add the -single_module flag. You can override
11425 # by either setting the environment variable LT_MULTI_MODULE
11426 # non-empty at configure time, or by adding -multi-module to the
11427 # link flags.
11428 echo "int foo(void){return 1;}" > conftest.c
11429 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11430 -dynamiclib ${wl}-single_module conftest.c
11431 if test -f libconftest.dylib; then
11432 lt_cv_apple_cc_single_mod=yes
11433 rm libconftest.dylib
11435 rm conftest.$ac_ext
11439 output_verbose_link_cmd=echo
11440 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11441 archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11442 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}'
11443 else
11444 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'
11445 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}'
11447 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11448 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 else
11450 case $cc_basename in
11451 xlc*)
11452 output_verbose_link_cmd=echo
11453 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'
11454 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11455 # Don't fix this by using the ld -exported_symbols_list flag,
11456 # it doesn't exist in older darwin lds
11457 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}'
11458 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}'
11461 ld_shlibs_CXX=no
11463 esac
11467 dgux*)
11468 case $cc_basename in
11469 ec++*)
11470 # FIXME: insert proper C++ library support
11471 ld_shlibs_CXX=no
11473 ghcx*)
11474 # Green Hills C++ Compiler
11475 # FIXME: insert proper C++ library support
11476 ld_shlibs_CXX=no
11479 # FIXME: insert proper C++ library support
11480 ld_shlibs_CXX=no
11482 esac
11485 freebsd[12]*)
11486 # C++ shared libraries reported to be fairly broken before
11487 # switch to ELF
11488 ld_shlibs_CXX=no
11491 freebsd-elf*)
11492 archive_cmds_need_lc_CXX=no
11495 freebsd* | dragonfly*)
11496 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11497 # conventions
11498 ld_shlibs_CXX=yes
11501 gnu*)
11504 hpux9*)
11505 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11506 hardcode_libdir_separator_CXX=:
11507 export_dynamic_flag_spec_CXX='${wl}-E'
11508 hardcode_direct_CXX=yes
11509 hardcode_minus_L_CXX=yes # Not in the search PATH,
11510 # but as the default
11511 # location of the library.
11513 case $cc_basename in
11514 CC*)
11515 # FIXME: insert proper C++ library support
11516 ld_shlibs_CXX=no
11518 aCC*)
11519 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'
11520 # Commands to make compiler produce verbose output that lists
11521 # what "hidden" libraries, object files and flags are used when
11522 # linking a shared library.
11524 # There doesn't appear to be a way to prevent this compiler from
11525 # explicitly linking system object files so we need to strip them
11526 # from the output so that they don't get included in the library
11527 # dependencies.
11528 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'
11531 if test "$GXX" = yes; then
11532 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'
11533 else
11534 # FIXME: insert proper C++ library support
11535 ld_shlibs_CXX=no
11538 esac
11541 hpux10*|hpux11*)
11542 if test $with_gnu_ld = no; then
11543 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11544 hardcode_libdir_separator_CXX=:
11546 case $host_cpu in
11547 hppa*64*|ia64*)
11550 export_dynamic_flag_spec_CXX='${wl}-E'
11552 esac
11554 case $host_cpu in
11555 hppa*64*|ia64*)
11556 hardcode_direct_CXX=no
11557 hardcode_shlibpath_var_CXX=no
11560 hardcode_direct_CXX=yes
11561 hardcode_direct_absolute_CXX=yes
11562 hardcode_minus_L_CXX=yes # Not in the search PATH,
11563 # but as the default
11564 # location of the library.
11566 esac
11568 case $cc_basename in
11569 CC*)
11570 # FIXME: insert proper C++ library support
11571 ld_shlibs_CXX=no
11573 aCC*)
11574 case $host_cpu in
11575 hppa*64*)
11576 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11578 ia64*)
11579 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11582 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11584 esac
11585 # Commands to make compiler produce verbose output that lists
11586 # what "hidden" libraries, object files and flags are used when
11587 # linking a shared library.
11589 # There doesn't appear to be a way to prevent this compiler from
11590 # explicitly linking system object files so we need to strip them
11591 # from the output so that they don't get included in the library
11592 # dependencies.
11593 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'
11596 if test "$GXX" = yes; then
11597 if test $with_gnu_ld = no; then
11598 case $host_cpu in
11599 hppa*64*)
11600 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11602 ia64*)
11603 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11606 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'
11608 esac
11610 else
11611 # FIXME: insert proper C++ library support
11612 ld_shlibs_CXX=no
11615 esac
11618 interix[3-9]*)
11619 hardcode_direct_CXX=no
11620 hardcode_shlibpath_var_CXX=no
11621 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11622 export_dynamic_flag_spec_CXX='${wl}-E'
11623 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11624 # Instead, shared libraries are loaded at an image base (0x10000000 by
11625 # default) and relocated if they conflict, which is a slow very memory
11626 # consuming and fragmenting process. To avoid this, we pick a random,
11627 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11628 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11629 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'
11630 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'
11632 irix5* | irix6*)
11633 case $cc_basename in
11634 CC*)
11635 # SGI C++
11636 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'
11638 # Archives containing C++ object files must be created using
11639 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11640 # necessary to make sure instantiated templates are included
11641 # in the archive.
11642 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11645 if test "$GXX" = yes; then
11646 if test "$with_gnu_ld" = no; then
11647 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'
11648 else
11649 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'
11652 link_all_deplibs_CXX=yes
11654 esac
11655 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11656 hardcode_libdir_separator_CXX=:
11657 inherit_rpath_CXX=yes
11660 linux* | k*bsd*-gnu)
11661 case $cc_basename in
11662 KCC*)
11663 # Kuck and Associates, Inc. (KAI) C++ Compiler
11665 # KCC will only create a shared library if the output file
11666 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11667 # to its proper name (with version) after linking.
11668 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'
11669 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'
11670 # Commands to make compiler produce verbose output that lists
11671 # what "hidden" libraries, object files and flags are used when
11672 # linking a shared library.
11674 # There doesn't appear to be a way to prevent this compiler from
11675 # explicitly linking system object files so we need to strip them
11676 # from the output so that they don't get included in the library
11677 # dependencies.
11678 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'
11680 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11681 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11683 # Archives containing C++ object files must be created using
11684 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11685 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11687 icpc* | ecpc* )
11688 # Intel C++
11689 with_gnu_ld=yes
11690 # version 8.0 and above of icpc choke on multiply defined symbols
11691 # if we add $predep_objects and $postdep_objects, however 7.1 and
11692 # earlier do not add the objects themselves.
11693 case `$CC -V 2>&1` in
11694 *"Version 7."*)
11695 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11696 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'
11698 *) # Version 8.0 or newer
11699 tmp_idyn=
11700 case $host_cpu in
11701 ia64*) tmp_idyn=' -i_dynamic';;
11702 esac
11703 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11704 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'
11706 esac
11707 archive_cmds_need_lc_CXX=no
11708 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11709 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11710 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11712 pgCC*)
11713 # Portland Group C++ compiler
11714 case `$CC -V` in
11715 *pgCC\ [1-5]*)
11716 prelink_cmds_CXX='tpldir=Template.dir~
11717 rm -rf $tpldir~
11718 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11719 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11720 old_archive_cmds_CXX='tpldir=Template.dir~
11721 rm -rf $tpldir~
11722 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11723 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11724 $RANLIB $oldlib'
11725 archive_cmds_CXX='tpldir=Template.dir~
11726 rm -rf $tpldir~
11727 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11728 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11729 archive_expsym_cmds_CXX='tpldir=Template.dir~
11730 rm -rf $tpldir~
11731 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11732 $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'
11734 *) # Version 6 will use weak symbols
11735 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11736 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'
11738 esac
11740 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11741 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11742 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'
11744 cxx*)
11745 # Compaq C++
11746 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11747 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'
11749 runpath_var=LD_RUN_PATH
11750 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11751 hardcode_libdir_separator_CXX=:
11753 # Commands to make compiler produce verbose output that lists
11754 # what "hidden" libraries, object files and flags are used when
11755 # linking a shared library.
11757 # There doesn't appear to be a way to prevent this compiler from
11758 # explicitly linking system object files so we need to strip them
11759 # from the output so that they don't get included in the library
11760 # dependencies.
11761 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'
11764 case `$CC -V 2>&1 | sed 5q` in
11765 *Sun\ C*)
11766 # Sun C++ 5.9
11767 no_undefined_flag_CXX=' -zdefs'
11768 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11769 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'
11770 hardcode_libdir_flag_spec_CXX='-R$libdir'
11771 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'
11772 compiler_needs_object_CXX=yes
11774 # Not sure whether something based on
11775 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11776 # would be better.
11777 output_verbose_link_cmd='echo'
11779 # Archives containing C++ object files must be created using
11780 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11781 # necessary to make sure instantiated templates are included
11782 # in the archive.
11783 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11785 esac
11787 esac
11790 lynxos*)
11791 # FIXME: insert proper C++ library support
11792 ld_shlibs_CXX=no
11795 m88k*)
11796 # FIXME: insert proper C++ library support
11797 ld_shlibs_CXX=no
11800 mvs*)
11801 case $cc_basename in
11802 cxx*)
11803 # FIXME: insert proper C++ library support
11804 ld_shlibs_CXX=no
11807 # FIXME: insert proper C++ library support
11808 ld_shlibs_CXX=no
11810 esac
11813 netbsd*)
11814 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11815 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11816 wlarc=
11817 hardcode_libdir_flag_spec_CXX='-R$libdir'
11818 hardcode_direct_CXX=yes
11819 hardcode_shlibpath_var_CXX=no
11821 # Workaround some broken pre-1.5 toolchains
11822 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11825 *nto* | *qnx*)
11826 ld_shlibs_CXX=yes
11829 openbsd2*)
11830 # C++ shared libraries are fairly broken
11831 ld_shlibs_CXX=no
11834 openbsd*)
11835 hardcode_direct_CXX=yes
11836 hardcode_shlibpath_var_CXX=no
11837 hardcode_direct_absolute_CXX=yes
11838 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11839 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11840 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11841 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11842 export_dynamic_flag_spec_CXX='${wl}-E'
11843 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11845 output_verbose_link_cmd=echo
11848 osf3* | osf4* | osf5*)
11849 case $cc_basename in
11850 KCC*)
11851 # Kuck and Associates, Inc. (KAI) C++ Compiler
11853 # KCC will only create a shared library if the output file
11854 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11855 # to its proper name (with version) after linking.
11856 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'
11858 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11859 hardcode_libdir_separator_CXX=:
11861 # Archives containing C++ object files must be created using
11862 # the KAI C++ compiler.
11863 case $host in
11864 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11865 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11866 esac
11868 RCC*)
11869 # Rational C++ 2.4.1
11870 # FIXME: insert proper C++ library support
11871 ld_shlibs_CXX=no
11873 cxx*)
11874 case $host in
11875 osf3*)
11876 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11877 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'
11878 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11881 allow_undefined_flag_CXX=' -expect_unresolved \*'
11882 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'
11883 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11884 echo "-hidden">> $lib.exp~
11885 $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~
11886 $RM $lib.exp'
11887 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11889 esac
11891 hardcode_libdir_separator_CXX=:
11893 # Commands to make compiler produce verbose output that lists
11894 # what "hidden" libraries, object files and flags are used when
11895 # linking a shared library.
11897 # There doesn't appear to be a way to prevent this compiler from
11898 # explicitly linking system object files so we need to strip them
11899 # from the output so that they don't get included in the library
11900 # dependencies.
11901 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'
11904 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11905 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11906 case $host in
11907 osf3*)
11908 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'
11911 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'
11913 esac
11915 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11916 hardcode_libdir_separator_CXX=:
11918 # Commands to make compiler produce verbose output that lists
11919 # what "hidden" libraries, object files and flags are used when
11920 # linking a shared library.
11921 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11923 else
11924 # FIXME: insert proper C++ library support
11925 ld_shlibs_CXX=no
11928 esac
11931 psos*)
11932 # FIXME: insert proper C++ library support
11933 ld_shlibs_CXX=no
11936 sunos4*)
11937 case $cc_basename in
11938 CC*)
11939 # Sun C++ 4.x
11940 # FIXME: insert proper C++ library support
11941 ld_shlibs_CXX=no
11943 lcc*)
11944 # Lucid
11945 # FIXME: insert proper C++ library support
11946 ld_shlibs_CXX=no
11949 # FIXME: insert proper C++ library support
11950 ld_shlibs_CXX=no
11952 esac
11955 solaris*)
11956 case $cc_basename in
11957 CC*)
11958 # Sun C++ 4.2, 5.x and Centerline C++
11959 archive_cmds_need_lc_CXX=yes
11960 no_undefined_flag_CXX=' -zdefs'
11961 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11962 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11963 $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'
11965 hardcode_libdir_flag_spec_CXX='-R$libdir'
11966 hardcode_shlibpath_var_CXX=no
11967 case $host_os in
11968 solaris2.[0-5] | solaris2.[0-5].*) ;;
11970 # The compiler driver will combine and reorder linker options,
11971 # but understands `-z linker_flag'.
11972 # Supported since Solaris 2.6 (maybe 2.5.1?)
11973 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11975 esac
11976 link_all_deplibs_CXX=yes
11978 output_verbose_link_cmd='echo'
11980 # Archives containing C++ object files must be created using
11981 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11982 # necessary to make sure instantiated templates are included
11983 # in the archive.
11984 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11986 gcx*)
11987 # Green Hills C++ Compiler
11988 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11990 # The C++ compiler must be used to create the archive.
11991 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11994 # GNU C++ compiler with Solaris linker
11995 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11996 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11997 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
11998 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11999 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12000 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12002 # Commands to make compiler produce verbose output that lists
12003 # what "hidden" libraries, object files and flags are used when
12004 # linking a shared library.
12005 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12006 else
12007 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12008 # platform.
12009 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12010 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12011 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12013 # Commands to make compiler produce verbose output that lists
12014 # what "hidden" libraries, object files and flags are used when
12015 # linking a shared library.
12016 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12019 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12020 case $host_os in
12021 solaris2.[0-5] | solaris2.[0-5].*) ;;
12023 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12025 esac
12028 esac
12031 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12032 no_undefined_flag_CXX='${wl}-z,text'
12033 archive_cmds_need_lc_CXX=no
12034 hardcode_shlibpath_var_CXX=no
12035 runpath_var='LD_RUN_PATH'
12037 case $cc_basename in
12038 CC*)
12039 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12040 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12043 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12044 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12046 esac
12049 sysv5* | sco3.2v5* | sco5v6*)
12050 # Note: We can NOT use -z defs as we might desire, because we do not
12051 # link with -lc, and that would cause any symbols used from libc to
12052 # always be unresolved, which means just about no library would
12053 # ever link correctly. If we're not using GNU ld we use -z text
12054 # though, which does catch some bad symbols but isn't as heavy-handed
12055 # as -z defs.
12056 no_undefined_flag_CXX='${wl}-z,text'
12057 allow_undefined_flag_CXX='${wl}-z,nodefs'
12058 archive_cmds_need_lc_CXX=no
12059 hardcode_shlibpath_var_CXX=no
12060 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12061 hardcode_libdir_separator_CXX=':'
12062 link_all_deplibs_CXX=yes
12063 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12064 runpath_var='LD_RUN_PATH'
12066 case $cc_basename in
12067 CC*)
12068 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12069 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12072 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12073 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12075 esac
12078 tandem*)
12079 case $cc_basename in
12080 NCC*)
12081 # NonStop-UX NCC 3.20
12082 # FIXME: insert proper C++ library support
12083 ld_shlibs_CXX=no
12086 # FIXME: insert proper C++ library support
12087 ld_shlibs_CXX=no
12089 esac
12092 vxworks*)
12093 # FIXME: insert proper C++ library support
12094 ld_shlibs_CXX=no
12098 # FIXME: insert proper C++ library support
12099 ld_shlibs_CXX=no
12101 esac
12103 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12104 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12105 test "$ld_shlibs_CXX" = no && can_build_shared=no
12107 GCC_CXX="$GXX"
12108 LD_CXX="$LD"
12110 ## CAVEAT EMPTOR:
12111 ## There is no encapsulation within the following macros, do not change
12112 ## the running order or otherwise move them around unless you know exactly
12113 ## what you are doing...
12114 # Dependencies to place before and after the object being linked:
12115 predep_objects_CXX=
12116 postdep_objects_CXX=
12117 predeps_CXX=
12118 postdeps_CXX=
12119 compiler_lib_search_path_CXX=
12121 cat > conftest.$ac_ext <<_LT_EOF
12122 class Foo
12124 public:
12125 Foo (void) { a = 0; }
12126 private:
12127 int a;
12129 _LT_EOF
12131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12132 (eval $ac_compile) 2>&5
12133 ac_status=$?
12134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12135 (exit $ac_status); }; then
12136 # Parse the compiler output and extract the necessary
12137 # objects, libraries and library flags.
12139 # Sentinel used to keep track of whether or not we are before
12140 # the conftest object file.
12141 pre_test_object_deps_done=no
12143 # The `*' in the case matches for architectures that use `case' in
12144 # $output_verbose_cmd can trigger glob expansion during the loop
12145 # eval without this substitution.
12146 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12148 for p in `eval $output_verbose_link_cmd`; do
12149 case $p in
12151 -L* | -R* | -l*)
12152 # Some compilers place space between "-{L,R}" and the path.
12153 # Remove the space.
12154 if test $p = "-L" ||
12155 test $p = "-R"; then
12156 prev=$p
12157 continue
12158 else
12159 prev=
12162 if test "$pre_test_object_deps_done" = no; then
12163 case $p in
12164 -L* | -R*)
12165 # Internal compiler library paths should come after those
12166 # provided the user. The postdeps already come after the
12167 # user supplied libs so there is no need to process them.
12168 if test -z "$compiler_lib_search_path_CXX"; then
12169 compiler_lib_search_path_CXX="${prev}${p}"
12170 else
12171 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12174 # The "-l" case would never come before the object being
12175 # linked, so don't bother handling this case.
12176 esac
12177 else
12178 if test -z "$postdeps_CXX"; then
12179 postdeps_CXX="${prev}${p}"
12180 else
12181 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12186 *.$objext)
12187 # This assumes that the test object file only shows up
12188 # once in the compiler output.
12189 if test "$p" = "conftest.$objext"; then
12190 pre_test_object_deps_done=yes
12191 continue
12194 if test "$pre_test_object_deps_done" = no; then
12195 if test -z "$predep_objects_CXX"; then
12196 predep_objects_CXX="$p"
12197 else
12198 predep_objects_CXX="$predep_objects_CXX $p"
12200 else
12201 if test -z "$postdep_objects_CXX"; then
12202 postdep_objects_CXX="$p"
12203 else
12204 postdep_objects_CXX="$postdep_objects_CXX $p"
12209 *) ;; # Ignore the rest.
12211 esac
12212 done
12214 # Clean up.
12215 rm -f a.out a.exe
12216 else
12217 echo "libtool.m4: error: problem compiling CXX test program"
12220 $RM -f confest.$objext
12222 # PORTME: override above test on systems where it is broken
12223 case $host_os in
12224 interix[3-9]*)
12225 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12226 # hack all around it, let's just trust "g++" to DTRT.
12227 predep_objects_CXX=
12228 postdep_objects_CXX=
12229 postdeps_CXX=
12232 linux*)
12233 case `$CC -V 2>&1 | sed 5q` in
12234 *Sun\ C*)
12235 # Sun C++ 5.9
12237 # The more standards-conforming stlport4 library is
12238 # incompatible with the Cstd library. Avoid specifying
12239 # it if it's in CXXFLAGS. Ignore libCrun as
12240 # -library=stlport4 depends on it.
12241 case " $CXX $CXXFLAGS " in
12242 *" -library=stlport4 "*)
12243 solaris_use_stlport4=yes
12245 esac
12247 if test "$solaris_use_stlport4" != yes; then
12248 postdeps_CXX='-library=Cstd -library=Crun'
12251 esac
12254 solaris*)
12255 case $cc_basename in
12256 CC*)
12257 # The more standards-conforming stlport4 library is
12258 # incompatible with the Cstd library. Avoid specifying
12259 # it if it's in CXXFLAGS. Ignore libCrun as
12260 # -library=stlport4 depends on it.
12261 case " $CXX $CXXFLAGS " in
12262 *" -library=stlport4 "*)
12263 solaris_use_stlport4=yes
12265 esac
12267 # Adding this requires a known-good setup of shared libraries for
12268 # Sun compiler versions before 5.6, else PIC objects from an old
12269 # archive will be linked into the output, leading to subtle bugs.
12270 if test "$solaris_use_stlport4" != yes; then
12271 postdeps_CXX='-library=Cstd -library=Crun'
12274 esac
12276 esac
12279 case " $postdeps_CXX " in
12280 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12281 esac
12308 lt_prog_compiler_wl_CXX=
12309 lt_prog_compiler_pic_CXX=
12310 lt_prog_compiler_static_CXX=
12312 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12313 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12315 # C++ specific cases for pic, static, wl, etc.
12316 if test "$GXX" = yes; then
12317 lt_prog_compiler_wl_CXX='-Wl,'
12318 lt_prog_compiler_static_CXX='-static'
12320 case $host_os in
12321 aix*)
12322 # All AIX code is PIC.
12323 if test "$host_cpu" = ia64; then
12324 # AIX 5 now supports IA64 processor
12325 lt_prog_compiler_static_CXX='-Bstatic'
12328 amigaos*)
12329 if test "$host_cpu" = m68k; then
12330 # FIXME: we need at least 68020 code to build shared libraries, but
12331 # adding the `-m68020' flag to GCC prevents building anything better,
12332 # like `-m68040'.
12333 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12336 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12337 # PIC is the default for these OSes.
12339 mingw* | cygwin* | os2* | pw32*)
12340 # This hack is so that the source file can tell whether it is being
12341 # built for inclusion in a dll (and should export symbols for example).
12342 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12343 # (--disable-auto-import) libraries
12344 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12346 darwin* | rhapsody*)
12347 # PIC is the default on this platform
12348 # Common symbols not allowed in MH_DYLIB files
12349 lt_prog_compiler_pic_CXX='-fno-common'
12351 *djgpp*)
12352 # DJGPP does not support shared libraries at all
12353 lt_prog_compiler_pic_CXX=
12355 interix[3-9]*)
12356 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12357 # Instead, we relocate shared libraries at runtime.
12359 sysv4*MP*)
12360 if test -d /usr/nec; then
12361 lt_prog_compiler_pic_CXX=-Kconform_pic
12364 hpux*)
12365 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12366 # not for PA HP-UX.
12367 case $host_cpu in
12368 hppa*64*|ia64*)
12371 lt_prog_compiler_pic_CXX='-fPIC'
12373 esac
12375 *qnx* | *nto*)
12376 # QNX uses GNU C++, but need to define -shared option too, otherwise
12377 # it will coredump.
12378 lt_prog_compiler_pic_CXX='-fPIC -shared'
12381 lt_prog_compiler_pic_CXX='-fPIC'
12383 esac
12384 else
12385 case $host_os in
12386 aix[4-9]*)
12387 # All AIX code is PIC.
12388 if test "$host_cpu" = ia64; then
12389 # AIX 5 now supports IA64 processor
12390 lt_prog_compiler_static_CXX='-Bstatic'
12391 else
12392 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12395 chorus*)
12396 case $cc_basename in
12397 cxch68*)
12398 # Green Hills C++ Compiler
12399 # _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"
12401 esac
12403 darwin*)
12404 # PIC is the default on this platform
12405 # Common symbols not allowed in MH_DYLIB files
12406 case $cc_basename in
12407 xlc*)
12408 lt_prog_compiler_pic_CXX='-qnocommon'
12409 lt_prog_compiler_wl_CXX='-Wl,'
12411 esac
12413 dgux*)
12414 case $cc_basename in
12415 ec++*)
12416 lt_prog_compiler_pic_CXX='-KPIC'
12418 ghcx*)
12419 # Green Hills C++ Compiler
12420 lt_prog_compiler_pic_CXX='-pic'
12424 esac
12426 freebsd* | dragonfly*)
12427 # FreeBSD uses GNU C++
12429 hpux9* | hpux10* | hpux11*)
12430 case $cc_basename in
12431 CC*)
12432 lt_prog_compiler_wl_CXX='-Wl,'
12433 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12434 if test "$host_cpu" != ia64; then
12435 lt_prog_compiler_pic_CXX='+Z'
12438 aCC*)
12439 lt_prog_compiler_wl_CXX='-Wl,'
12440 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12441 case $host_cpu in
12442 hppa*64*|ia64*)
12443 # +Z the default
12446 lt_prog_compiler_pic_CXX='+Z'
12448 esac
12452 esac
12454 interix*)
12455 # This is c89, which is MS Visual C++ (no shared libs)
12456 # Anyone wants to do a port?
12458 irix5* | irix6* | nonstopux*)
12459 case $cc_basename in
12460 CC*)
12461 lt_prog_compiler_wl_CXX='-Wl,'
12462 lt_prog_compiler_static_CXX='-non_shared'
12463 # CC pic flag -KPIC is the default.
12467 esac
12469 linux* | k*bsd*-gnu)
12470 case $cc_basename in
12471 KCC*)
12472 # KAI C++ Compiler
12473 lt_prog_compiler_wl_CXX='--backend -Wl,'
12474 lt_prog_compiler_pic_CXX='-fPIC'
12476 icpc* | ecpc* )
12477 # Intel C++
12478 lt_prog_compiler_wl_CXX='-Wl,'
12479 lt_prog_compiler_pic_CXX='-KPIC'
12480 lt_prog_compiler_static_CXX='-static'
12482 pgCC*)
12483 # Portland Group C++ compiler
12484 lt_prog_compiler_wl_CXX='-Wl,'
12485 lt_prog_compiler_pic_CXX='-fpic'
12486 lt_prog_compiler_static_CXX='-Bstatic'
12488 cxx*)
12489 # Compaq C++
12490 # Make sure the PIC flag is empty. It appears that all Alpha
12491 # Linux and Compaq Tru64 Unix objects are PIC.
12492 lt_prog_compiler_pic_CXX=
12493 lt_prog_compiler_static_CXX='-non_shared'
12496 case `$CC -V 2>&1 | sed 5q` in
12497 *Sun\ C*)
12498 # Sun C++ 5.9
12499 lt_prog_compiler_pic_CXX='-KPIC'
12500 lt_prog_compiler_static_CXX='-Bstatic'
12501 lt_prog_compiler_wl_CXX='-Qoption ld '
12503 esac
12505 esac
12507 lynxos*)
12509 m88k*)
12511 mvs*)
12512 case $cc_basename in
12513 cxx*)
12514 lt_prog_compiler_pic_CXX='-W c,exportall'
12518 esac
12520 netbsd*)
12522 *qnx* | *nto*)
12523 # QNX uses GNU C++, but need to define -shared option too, otherwise
12524 # it will coredump.
12525 lt_prog_compiler_pic_CXX='-fPIC -shared'
12527 osf3* | osf4* | osf5*)
12528 case $cc_basename in
12529 KCC*)
12530 lt_prog_compiler_wl_CXX='--backend -Wl,'
12532 RCC*)
12533 # Rational C++ 2.4.1
12534 lt_prog_compiler_pic_CXX='-pic'
12536 cxx*)
12537 # Digital/Compaq C++
12538 lt_prog_compiler_wl_CXX='-Wl,'
12539 # Make sure the PIC flag is empty. It appears that all Alpha
12540 # Linux and Compaq Tru64 Unix objects are PIC.
12541 lt_prog_compiler_pic_CXX=
12542 lt_prog_compiler_static_CXX='-non_shared'
12546 esac
12548 psos*)
12550 solaris*)
12551 case $cc_basename in
12552 CC*)
12553 # Sun C++ 4.2, 5.x and Centerline C++
12554 lt_prog_compiler_pic_CXX='-KPIC'
12555 lt_prog_compiler_static_CXX='-Bstatic'
12556 lt_prog_compiler_wl_CXX='-Qoption ld '
12558 gcx*)
12559 # Green Hills C++ Compiler
12560 lt_prog_compiler_pic_CXX='-PIC'
12564 esac
12566 sunos4*)
12567 case $cc_basename in
12568 CC*)
12569 # Sun C++ 4.x
12570 lt_prog_compiler_pic_CXX='-pic'
12571 lt_prog_compiler_static_CXX='-Bstatic'
12573 lcc*)
12574 # Lucid
12575 lt_prog_compiler_pic_CXX='-pic'
12579 esac
12581 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12582 case $cc_basename in
12583 CC*)
12584 lt_prog_compiler_wl_CXX='-Wl,'
12585 lt_prog_compiler_pic_CXX='-KPIC'
12586 lt_prog_compiler_static_CXX='-Bstatic'
12588 esac
12590 tandem*)
12591 case $cc_basename in
12592 NCC*)
12593 # NonStop-UX NCC 3.20
12594 lt_prog_compiler_pic_CXX='-KPIC'
12598 esac
12600 vxworks*)
12603 lt_prog_compiler_can_build_shared_CXX=no
12605 esac
12608 case $host_os in
12609 # For platforms which do not support PIC, -DPIC is meaningless:
12610 *djgpp*)
12611 lt_prog_compiler_pic_CXX=
12614 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12616 esac
12617 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12618 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12623 # Check to make sure the PIC flag actually works.
12625 if test -n "$lt_prog_compiler_pic_CXX"; then
12626 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12627 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12628 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12629 echo $ECHO_N "(cached) $ECHO_C" >&6
12630 else
12631 lt_prog_compiler_pic_works_CXX=no
12632 ac_outfile=conftest.$ac_objext
12633 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12634 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12635 # Insert the option either (1) after the last *FLAGS variable, or
12636 # (2) before a word containing "conftest.", or (3) at the end.
12637 # Note that $ac_compile itself does not contain backslashes and begins
12638 # with a dollar sign (not a hyphen), so the echo should work correctly.
12639 # The option is referenced via a variable to avoid confusing sed.
12640 lt_compile=`echo "$ac_compile" | $SED \
12641 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12642 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12643 -e 's:$: $lt_compiler_flag:'`
12644 (eval echo "\"\$as_me:12644: $lt_compile\"" >&5)
12645 (eval "$lt_compile" 2>conftest.err)
12646 ac_status=$?
12647 cat conftest.err >&5
12648 echo "$as_me:12648: \$? = $ac_status" >&5
12649 if (exit $ac_status) && test -s "$ac_outfile"; then
12650 # The compiler can only warn and ignore the option if not recognized
12651 # So say no if there are warnings other than the usual output.
12652 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12653 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12654 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12655 lt_prog_compiler_pic_works_CXX=yes
12658 $RM conftest*
12661 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12662 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12664 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12665 case $lt_prog_compiler_pic_CXX in
12666 "" | " "*) ;;
12667 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12668 esac
12669 else
12670 lt_prog_compiler_pic_CXX=
12671 lt_prog_compiler_can_build_shared_CXX=no
12679 # Check to make sure the static flag actually works.
12681 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12682 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12683 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12684 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12685 echo $ECHO_N "(cached) $ECHO_C" >&6
12686 else
12687 lt_prog_compiler_static_works_CXX=no
12688 save_LDFLAGS="$LDFLAGS"
12689 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12690 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12691 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12692 # The linker can only warn and ignore the option if not recognized
12693 # So say no if there are warnings
12694 if test -s conftest.err; then
12695 # Append any errors to the config.log.
12696 cat conftest.err 1>&5
12697 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12698 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12699 if diff conftest.exp conftest.er2 >/dev/null; then
12700 lt_prog_compiler_static_works_CXX=yes
12702 else
12703 lt_prog_compiler_static_works_CXX=yes
12706 $RM conftest*
12707 LDFLAGS="$save_LDFLAGS"
12710 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12711 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12713 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12715 else
12716 lt_prog_compiler_static_CXX=
12722 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12723 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12724 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12725 echo $ECHO_N "(cached) $ECHO_C" >&6
12726 else
12727 lt_cv_prog_compiler_c_o_CXX=no
12728 $RM -r conftest 2>/dev/null
12729 mkdir conftest
12730 cd conftest
12731 mkdir out
12732 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12734 lt_compiler_flag="-o out/conftest2.$ac_objext"
12735 # Insert the option either (1) after the last *FLAGS variable, or
12736 # (2) before a word containing "conftest.", or (3) at the end.
12737 # Note that $ac_compile itself does not contain backslashes and begins
12738 # with a dollar sign (not a hyphen), so the echo should work correctly.
12739 lt_compile=`echo "$ac_compile" | $SED \
12740 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12741 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12742 -e 's:$: $lt_compiler_flag:'`
12743 (eval echo "\"\$as_me:12743: $lt_compile\"" >&5)
12744 (eval "$lt_compile" 2>out/conftest.err)
12745 ac_status=$?
12746 cat out/conftest.err >&5
12747 echo "$as_me:12747: \$? = $ac_status" >&5
12748 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12749 then
12750 # The compiler can only warn and ignore the option if not recognized
12751 # So say no if there are warnings
12752 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12753 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12754 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12755 lt_cv_prog_compiler_c_o_CXX=yes
12758 chmod u+w . 2>&5
12759 $RM conftest*
12760 # SGI C++ compiler will create directory out/ii_files/ for
12761 # template instantiation
12762 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12763 $RM out/* && rmdir out
12764 cd ..
12765 $RM -r conftest
12766 $RM conftest*
12769 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12770 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12774 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12775 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12776 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12777 echo $ECHO_N "(cached) $ECHO_C" >&6
12778 else
12779 lt_cv_prog_compiler_c_o_CXX=no
12780 $RM -r conftest 2>/dev/null
12781 mkdir conftest
12782 cd conftest
12783 mkdir out
12784 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12786 lt_compiler_flag="-o out/conftest2.$ac_objext"
12787 # Insert the option either (1) after the last *FLAGS variable, or
12788 # (2) before a word containing "conftest.", or (3) at the end.
12789 # Note that $ac_compile itself does not contain backslashes and begins
12790 # with a dollar sign (not a hyphen), so the echo should work correctly.
12791 lt_compile=`echo "$ac_compile" | $SED \
12792 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12793 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12794 -e 's:$: $lt_compiler_flag:'`
12795 (eval echo "\"\$as_me:12795: $lt_compile\"" >&5)
12796 (eval "$lt_compile" 2>out/conftest.err)
12797 ac_status=$?
12798 cat out/conftest.err >&5
12799 echo "$as_me:12799: \$? = $ac_status" >&5
12800 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12801 then
12802 # The compiler can only warn and ignore the option if not recognized
12803 # So say no if there are warnings
12804 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12805 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12806 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12807 lt_cv_prog_compiler_c_o_CXX=yes
12810 chmod u+w . 2>&5
12811 $RM conftest*
12812 # SGI C++ compiler will create directory out/ii_files/ for
12813 # template instantiation
12814 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12815 $RM out/* && rmdir out
12816 cd ..
12817 $RM -r conftest
12818 $RM conftest*
12821 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12822 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12827 hard_links="nottested"
12828 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12829 # do not overwrite the value of need_locks provided by the user
12830 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12831 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12832 hard_links=yes
12833 $RM conftest*
12834 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12835 touch conftest.a
12836 ln conftest.a conftest.b 2>&5 || hard_links=no
12837 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12838 echo "$as_me:$LINENO: result: $hard_links" >&5
12839 echo "${ECHO_T}$hard_links" >&6
12840 if test "$hard_links" = no; then
12841 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12842 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12843 need_locks=warn
12845 else
12846 need_locks=no
12851 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12852 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12854 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12855 case $host_os in
12856 aix[4-9]*)
12857 # If we're using GNU nm, then we don't want the "-C" option.
12858 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12859 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12860 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'
12861 else
12862 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'
12865 pw32*)
12866 export_symbols_cmds_CXX="$ltdll_cmds"
12868 cygwin* | mingw*)
12869 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'
12872 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12874 esac
12876 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12877 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12878 test "$ld_shlibs_CXX" = no && can_build_shared=no
12880 with_gnu_ld_CXX=$with_gnu_ld
12888 # Do we need to explicitly link libc?
12890 case "x$archive_cmds_need_lc_CXX" in
12891 x|xyes)
12892 # Assume -lc should be added
12893 archive_cmds_need_lc_CXX=yes
12895 if test "$enable_shared" = yes && test "$GCC" = yes; then
12896 case $archive_cmds_CXX in
12897 *'~'*)
12898 # FIXME: we may have to deal with multi-command sequences.
12900 '$CC '*)
12901 # Test whether the compiler implicitly links with -lc since on some
12902 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12903 # to ld, don't add -lc before -lgcc.
12904 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12905 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12906 $RM conftest*
12907 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12910 (eval $ac_compile) 2>&5
12911 ac_status=$?
12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); } 2>conftest.err; then
12914 soname=conftest
12915 lib=conftest
12916 libobjs=conftest.$ac_objext
12917 deplibs=
12918 wl=$lt_prog_compiler_wl_CXX
12919 pic_flag=$lt_prog_compiler_pic_CXX
12920 compiler_flags=-v
12921 linker_flags=-v
12922 verstring=
12923 output_objdir=.
12924 libname=conftest
12925 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12926 allow_undefined_flag_CXX=
12927 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12928 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12929 ac_status=$?
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); }
12932 then
12933 archive_cmds_need_lc_CXX=no
12934 else
12935 archive_cmds_need_lc_CXX=yes
12937 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12938 else
12939 cat conftest.err 1>&5
12941 $RM conftest*
12942 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12943 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12945 esac
12948 esac
13013 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13014 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13015 withGCC=$GXX
13016 library_names_spec=
13017 libname_spec='lib$name'
13018 soname_spec=
13019 shrext_cmds=".so"
13020 postinstall_cmds=
13021 postuninstall_cmds=
13022 finish_cmds=
13023 finish_eval=
13024 shlibpath_var=
13025 shlibpath_overrides_runpath=unknown
13026 version_type=none
13027 dynamic_linker="$host_os ld.so"
13028 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13029 need_lib_prefix=unknown
13030 hardcode_into_libs=no
13032 # when you set need_version to no, make sure it does not cause -set_version
13033 # flags to be left without arguments
13034 need_version=unknown
13036 case $host_os in
13037 aix3*)
13038 version_type=linux
13039 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13040 shlibpath_var=LIBPATH
13042 # AIX 3 has no versioning support, so we append a major version to the name.
13043 soname_spec='${libname}${release}${shared_ext}$major'
13046 aix[4-9]*)
13047 version_type=linux
13048 need_lib_prefix=no
13049 need_version=no
13050 hardcode_into_libs=yes
13051 if test "$host_cpu" = ia64; then
13052 # AIX 5 supports IA64
13053 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13054 shlibpath_var=LD_LIBRARY_PATH
13055 else
13056 # With GCC up to 2.95.x, collect2 would create an import file
13057 # for dependence libraries. The import file would start with
13058 # the line `#! .'. This would cause the generated library to
13059 # depend on `.', always an invalid library. This was fixed in
13060 # development snapshots of GCC prior to 3.0.
13061 case $host_os in
13062 aix4 | aix4.[01] | aix4.[01].*)
13063 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13064 echo ' yes '
13065 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13067 else
13068 can_build_shared=no
13071 esac
13072 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13073 # soname into executable. Probably we can add versioning support to
13074 # collect2, so additional links can be useful in future.
13075 if test "$aix_use_runtimelinking" = yes; then
13076 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13077 # instead of lib<name>.a to let people know that these are not
13078 # typical AIX shared libraries.
13079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13080 else
13081 # We preserve .a as extension for shared libraries through AIX4.2
13082 # and later when we are not doing run time linking.
13083 library_names_spec='${libname}${release}.a $libname.a'
13084 soname_spec='${libname}${release}${shared_ext}$major'
13086 shlibpath_var=LIBPATH
13090 amigaos*)
13091 if test "$host_cpu" = m68k; then
13092 library_names_spec='$libname.ixlibrary $libname.a'
13093 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13094 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'
13095 else
13096 dynamic_linker=no
13100 beos*)
13101 library_names_spec='${libname}${shared_ext}'
13102 dynamic_linker="$host_os ld.so"
13103 shlibpath_var=LIBRARY_PATH
13106 bsdi[45]*)
13107 version_type=linux
13108 need_version=no
13109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13110 soname_spec='${libname}${release}${shared_ext}$major'
13111 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13112 shlibpath_var=LD_LIBRARY_PATH
13113 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13114 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13115 # the default ld.so.conf also contains /usr/contrib/lib and
13116 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13117 # libtool to hard-code these into programs
13120 cygwin* | mingw* | pw32*)
13121 version_type=windows
13122 shrext_cmds=".dll"
13123 need_version=no
13124 need_lib_prefix=no
13126 case $withGCC,$host_os in
13127 yes,cygwin* | yes,mingw* | yes,pw32*)
13128 library_names_spec='$libname.dll.a'
13129 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13130 postinstall_cmds='base_file=`basename \${file}`~
13131 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13132 dldir=$destdir/`dirname \$dlpath`~
13133 test -d \$dldir || mkdir -p \$dldir~
13134 $install_prog $dir/$dlname \$dldir/$dlname~
13135 chmod a+x \$dldir/$dlname~
13136 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13137 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13139 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13140 dlpath=$dir/\$dldll~
13141 $RM \$dlpath'
13142 shlibpath_overrides_runpath=yes
13144 case $host_os in
13145 cygwin*)
13146 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13147 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13148 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13150 mingw*)
13151 # MinGW DLLs use traditional 'lib' prefix
13152 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13153 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13154 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13155 # It is most probably a Windows format PATH printed by
13156 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13157 # path with ; separators, and with drive letters. We can handle the
13158 # drive letters (cygwin fileutils understands them), so leave them,
13159 # especially as we might pass files found there to a mingw objdump,
13160 # which wouldn't understand a cygwinified path. Ahh.
13161 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13162 else
13163 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13166 pw32*)
13167 # pw32 DLLs use 'pw' prefix rather than 'lib'
13168 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13170 esac
13174 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13176 esac
13177 dynamic_linker='Win32 ld.exe'
13178 # FIXME: first we should search . and the directory the executable is in
13179 shlibpath_var=PATH
13182 darwin* | rhapsody*)
13183 dynamic_linker="$host_os dyld"
13184 version_type=darwin
13185 need_lib_prefix=no
13186 need_version=no
13187 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13188 soname_spec='${libname}${release}${major}$shared_ext'
13189 shlibpath_overrides_runpath=yes
13190 shlibpath_var=DYLD_LIBRARY_PATH
13191 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13193 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13196 dgux*)
13197 version_type=linux
13198 need_lib_prefix=no
13199 need_version=no
13200 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13201 soname_spec='${libname}${release}${shared_ext}$major'
13202 shlibpath_var=LD_LIBRARY_PATH
13205 freebsd1*)
13206 dynamic_linker=no
13209 freebsd* | dragonfly*)
13210 # DragonFly does not have aout. When/if they implement a new
13211 # versioning mechanism, adjust this.
13212 if test -x /usr/bin/objformat; then
13213 objformat=`/usr/bin/objformat`
13214 else
13215 case $host_os in
13216 freebsd[123]*) objformat=aout ;;
13217 *) objformat=elf ;;
13218 esac
13220 version_type=freebsd-$objformat
13221 case $version_type in
13222 freebsd-elf*)
13223 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13224 need_version=no
13225 need_lib_prefix=no
13227 freebsd-*)
13228 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13229 need_version=yes
13231 esac
13232 shlibpath_var=LD_LIBRARY_PATH
13233 case $host_os in
13234 freebsd2*)
13235 shlibpath_overrides_runpath=yes
13237 freebsd3.[01]* | freebsdelf3.[01]*)
13238 shlibpath_overrides_runpath=yes
13239 hardcode_into_libs=yes
13241 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13242 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13243 shlibpath_overrides_runpath=no
13244 hardcode_into_libs=yes
13246 *) # from 4.6 on, and DragonFly
13247 shlibpath_overrides_runpath=yes
13248 hardcode_into_libs=yes
13250 esac
13253 gnu*)
13254 version_type=linux
13255 need_lib_prefix=no
13256 need_version=no
13257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13258 soname_spec='${libname}${release}${shared_ext}$major'
13259 shlibpath_var=LD_LIBRARY_PATH
13260 hardcode_into_libs=yes
13263 hpux9* | hpux10* | hpux11*)
13264 # Give a soname corresponding to the major version so that dld.sl refuses to
13265 # link against other versions.
13266 version_type=sunos
13267 need_lib_prefix=no
13268 need_version=no
13269 case $host_cpu in
13270 ia64*)
13271 shrext_cmds='.so'
13272 hardcode_into_libs=yes
13273 dynamic_linker="$host_os dld.so"
13274 shlibpath_var=LD_LIBRARY_PATH
13275 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13277 soname_spec='${libname}${release}${shared_ext}$major'
13278 if test "X$HPUX_IA64_MODE" = X32; then
13279 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13280 else
13281 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13283 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13285 hppa*64*)
13286 shrext_cmds='.sl'
13287 hardcode_into_libs=yes
13288 dynamic_linker="$host_os dld.sl"
13289 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13290 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13292 soname_spec='${libname}${release}${shared_ext}$major'
13293 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13294 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13297 shrext_cmds='.sl'
13298 dynamic_linker="$host_os dld.sl"
13299 shlibpath_var=SHLIB_PATH
13300 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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'
13304 esac
13305 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13306 postinstall_cmds='chmod 555 $lib'
13309 interix[3-9]*)
13310 version_type=linux
13311 need_lib_prefix=no
13312 need_version=no
13313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13314 soname_spec='${libname}${release}${shared_ext}$major'
13315 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13316 shlibpath_var=LD_LIBRARY_PATH
13317 shlibpath_overrides_runpath=no
13318 hardcode_into_libs=yes
13321 irix5* | irix6* | nonstopux*)
13322 case $host_os in
13323 nonstopux*) version_type=nonstopux ;;
13325 if test "$lt_cv_prog_gnu_ld" = yes; then
13326 version_type=linux
13327 else
13328 version_type=irix
13329 fi ;;
13330 esac
13331 need_lib_prefix=no
13332 need_version=no
13333 soname_spec='${libname}${release}${shared_ext}$major'
13334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13335 case $host_os in
13336 irix5* | nonstopux*)
13337 libsuff= shlibsuff=
13340 case $LD in # libtool.m4 will add one of these switches to LD
13341 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13342 libsuff= shlibsuff= libmagic=32-bit;;
13343 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13344 libsuff=32 shlibsuff=N32 libmagic=N32;;
13345 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13346 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13347 *) libsuff= shlibsuff= libmagic=never-match;;
13348 esac
13350 esac
13351 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13352 shlibpath_overrides_runpath=no
13353 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13354 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13355 hardcode_into_libs=yes
13358 # No shared lib support for Linux oldld, aout, or coff.
13359 linux*oldld* | linux*aout* | linux*coff*)
13360 dynamic_linker=no
13363 # This must be Linux ELF.
13364 linux* | k*bsd*-gnu)
13365 version_type=linux
13366 need_lib_prefix=no
13367 need_version=no
13368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13369 soname_spec='${libname}${release}${shared_ext}$major'
13370 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13371 shlibpath_var=LD_LIBRARY_PATH
13372 shlibpath_overrides_runpath=no
13373 # Some binutils ld are patched to set DT_RUNPATH
13374 save_LDFLAGS=$LDFLAGS
13375 save_libdir=$libdir
13376 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13377 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13378 if test x$gcc_no_link = xyes; then
13379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13381 { (exit 1); exit 1; }; }
13383 cat >conftest.$ac_ext <<_ACEOF
13384 /* confdefs.h. */
13385 _ACEOF
13386 cat confdefs.h >>conftest.$ac_ext
13387 cat >>conftest.$ac_ext <<_ACEOF
13388 /* end confdefs.h. */
13391 main ()
13395 return 0;
13397 _ACEOF
13398 rm -f conftest.$ac_objext conftest$ac_exeext
13399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13400 (eval $ac_link) 2>conftest.er1
13401 ac_status=$?
13402 grep -v '^ *+' conftest.er1 >conftest.err
13403 rm -f conftest.er1
13404 cat conftest.err >&5
13405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406 (exit $ac_status); } &&
13407 { ac_try='test -z "$ac_cxx_werror_flag"
13408 || test ! -s conftest.err'
13409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13410 (eval $ac_try) 2>&5
13411 ac_status=$?
13412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13413 (exit $ac_status); }; } &&
13414 { ac_try='test -s conftest$ac_exeext'
13415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13416 (eval $ac_try) 2>&5
13417 ac_status=$?
13418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13419 (exit $ac_status); }; }; then
13420 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13421 shlibpath_overrides_runpath=yes
13424 else
13425 echo "$as_me: failed program was:" >&5
13426 sed 's/^/| /' conftest.$ac_ext >&5
13429 rm -f conftest.err conftest.$ac_objext \
13430 conftest$ac_exeext conftest.$ac_ext
13431 LDFLAGS=$save_LDFLAGS
13432 libdir=$save_libdir
13434 # This implies no fast_install, which is unacceptable.
13435 # Some rework will be needed to allow for fast_install
13436 # before this can be enabled.
13437 hardcode_into_libs=yes
13439 # Append ld.so.conf contents to the search path
13440 if test -f /etc/ld.so.conf; then
13441 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' ' '`
13442 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13445 # We used to test for /lib/ld.so.1 and disable shared libraries on
13446 # powerpc, because MkLinux only supported shared libraries with the
13447 # GNU dynamic linker. Since this was broken with cross compilers,
13448 # most powerpc-linux boxes support dynamic linking these days and
13449 # people can always --disable-shared, the test was removed, and we
13450 # assume the GNU/Linux dynamic linker is in use.
13451 dynamic_linker='GNU/Linux ld.so'
13454 netbsd*)
13455 version_type=sunos
13456 need_lib_prefix=no
13457 need_version=no
13458 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13460 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13461 dynamic_linker='NetBSD (a.out) ld.so'
13462 else
13463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13464 soname_spec='${libname}${release}${shared_ext}$major'
13465 dynamic_linker='NetBSD ld.elf_so'
13467 shlibpath_var=LD_LIBRARY_PATH
13468 shlibpath_overrides_runpath=yes
13469 hardcode_into_libs=yes
13472 newsos6)
13473 version_type=linux
13474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13475 shlibpath_var=LD_LIBRARY_PATH
13476 shlibpath_overrides_runpath=yes
13479 *nto* | *qnx*)
13480 version_type=qnx
13481 need_lib_prefix=no
13482 need_version=no
13483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13484 soname_spec='${libname}${release}${shared_ext}$major'
13485 shlibpath_var=LD_LIBRARY_PATH
13486 shlibpath_overrides_runpath=no
13487 hardcode_into_libs=yes
13488 dynamic_linker='ldqnx.so'
13491 openbsd*)
13492 version_type=sunos
13493 sys_lib_dlsearch_path_spec="/usr/lib"
13494 need_lib_prefix=no
13495 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13496 case $host_os in
13497 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13498 *) need_version=no ;;
13499 esac
13500 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13501 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13502 shlibpath_var=LD_LIBRARY_PATH
13503 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13504 case $host_os in
13505 openbsd2.[89] | openbsd2.[89].*)
13506 shlibpath_overrides_runpath=no
13509 shlibpath_overrides_runpath=yes
13511 esac
13512 else
13513 shlibpath_overrides_runpath=yes
13517 os2*)
13518 libname_spec='$name'
13519 shrext_cmds=".dll"
13520 need_lib_prefix=no
13521 library_names_spec='$libname${shared_ext} $libname.a'
13522 dynamic_linker='OS/2 ld.exe'
13523 shlibpath_var=LIBPATH
13526 osf3* | osf4* | osf5*)
13527 version_type=osf
13528 need_lib_prefix=no
13529 need_version=no
13530 soname_spec='${libname}${release}${shared_ext}$major'
13531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13532 shlibpath_var=LD_LIBRARY_PATH
13533 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13534 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13537 rdos*)
13538 dynamic_linker=no
13541 solaris*)
13542 version_type=linux
13543 need_lib_prefix=no
13544 need_version=no
13545 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13546 soname_spec='${libname}${release}${shared_ext}$major'
13547 shlibpath_var=LD_LIBRARY_PATH
13548 shlibpath_overrides_runpath=yes
13549 hardcode_into_libs=yes
13550 # ldd complains unless libraries are executable
13551 postinstall_cmds='chmod +x $lib'
13554 sunos4*)
13555 version_type=sunos
13556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13557 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13558 shlibpath_var=LD_LIBRARY_PATH
13559 shlibpath_overrides_runpath=yes
13560 if test "$with_gnu_ld" = yes; then
13561 need_lib_prefix=no
13563 need_version=yes
13566 sysv4 | sysv4.3*)
13567 version_type=linux
13568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13569 soname_spec='${libname}${release}${shared_ext}$major'
13570 shlibpath_var=LD_LIBRARY_PATH
13571 case $host_vendor in
13572 sni)
13573 shlibpath_overrides_runpath=no
13574 need_lib_prefix=no
13575 runpath_var=LD_RUN_PATH
13577 siemens)
13578 need_lib_prefix=no
13580 motorola)
13581 need_lib_prefix=no
13582 need_version=no
13583 shlibpath_overrides_runpath=no
13584 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13586 esac
13589 sysv4*MP*)
13590 if test -d /usr/nec ;then
13591 version_type=linux
13592 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13593 soname_spec='$libname${shared_ext}.$major'
13594 shlibpath_var=LD_LIBRARY_PATH
13598 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13599 version_type=freebsd-elf
13600 need_lib_prefix=no
13601 need_version=no
13602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13603 soname_spec='${libname}${release}${shared_ext}$major'
13604 shlibpath_var=LD_LIBRARY_PATH
13605 shlibpath_overrides_runpath=yes
13606 hardcode_into_libs=yes
13607 if test "$with_gnu_ld" = yes; then
13608 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13609 else
13610 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13611 case $host_os in
13612 sco3.2v5*)
13613 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13615 esac
13617 sys_lib_dlsearch_path_spec='/usr/lib'
13620 tpf*)
13621 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13622 version_type=linux
13623 need_lib_prefix=no
13624 need_version=no
13625 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13626 shlibpath_var=LD_LIBRARY_PATH
13627 shlibpath_overrides_runpath=no
13628 hardcode_into_libs=yes
13631 uts4*)
13632 version_type=linux
13633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13634 soname_spec='${libname}${release}${shared_ext}$major'
13635 shlibpath_var=LD_LIBRARY_PATH
13639 dynamic_linker=no
13641 esac
13642 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13643 echo "${ECHO_T}$dynamic_linker" >&6
13644 test "$dynamic_linker" = no && can_build_shared=no
13646 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13647 if test "$GCC" = yes; then
13648 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13686 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13687 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13688 hardcode_action_CXX=
13689 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13690 test -n "$runpath_var_CXX" ||
13691 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13693 # We can hardcode non-existent directories.
13694 if test "$hardcode_direct_CXX" != no &&
13695 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13696 # have to relink, otherwise we might link with an installed library
13697 # when we should be linking with a yet-to-be-installed one
13698 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13699 test "$hardcode_minus_L_CXX" != no; then
13700 # Linking always hardcodes the temporary library directory.
13701 hardcode_action_CXX=relink
13702 else
13703 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13704 hardcode_action_CXX=immediate
13706 else
13707 # We cannot hardcode anything, or else we can only hardcode existing
13708 # directories.
13709 hardcode_action_CXX=unsupported
13711 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13712 echo "${ECHO_T}$hardcode_action_CXX" >&6
13714 if test "$hardcode_action_CXX" = relink ||
13715 test "$inherit_rpath_CXX" = yes; then
13716 # Fast installation is not supported
13717 enable_fast_install=no
13718 elif test "$shlibpath_overrides_runpath" = yes ||
13719 test "$enable_shared" = no; then
13720 # Fast installation is not necessary
13721 enable_fast_install=needless
13730 fi # test -n "$compiler"
13732 CC=$lt_save_CC
13733 LDCXX=$LD
13734 LD=$lt_save_LD
13735 GCC=$lt_save_GCC
13736 with_gnu_ld=$lt_save_with_gnu_ld
13737 lt_cv_path_LDCXX=$lt_cv_path_LD
13738 lt_cv_path_LD=$lt_save_path_LD
13739 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13740 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13741 fi # test "$_lt_caught_CXX_error" != yes
13743 ac_ext=c
13744 ac_cpp='$CPP $CPPFLAGS'
13745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13761 ac_config_commands="$ac_config_commands libtool"
13766 # Only expand once:
13772 # Possibly disable most of the library.
13773 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13774 ## than just ignoring the results. Faster /and/ more correct, win win.
13776 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13777 if test "${enable_hosted_libstdcxx+set}" = set; then
13778 enableval="$enable_hosted_libstdcxx"
13780 else
13781 case "$host" in
13782 arm*-*-symbianelf*)
13783 enable_hosted_libstdcxx=no
13786 enable_hosted_libstdcxx=yes
13788 esac
13790 if test "$enable_hosted_libstdcxx" = no; then
13791 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13792 echo "$as_me: Only freestanding libraries will be built" >&6;}
13793 is_hosted=no
13794 hosted_define=0
13795 enable_abi_check=no
13796 enable_libstdcxx_pch=no
13797 else
13798 is_hosted=yes
13799 hosted_define=1
13803 cat >>confdefs.h <<_ACEOF
13804 #define _GLIBCXX_HOSTED $hosted_define
13805 _ACEOF
13809 # Enable compiler support that doesn't require linking.
13811 echo "$as_me:$LINENO: checking for exception model to use" >&5
13812 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13815 ac_ext=cc
13816 ac_cpp='$CXXCPP $CPPFLAGS'
13817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13821 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13822 if test "${enable_sjlj_exceptions+set}" = set; then
13823 enableval="$enable_sjlj_exceptions"
13825 case "$enableval" in
13826 yes|no|auto) ;;
13827 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13828 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13829 { (exit 1); exit 1; }; } ;;
13830 esac
13832 else
13833 enable_sjlj_exceptions=auto
13837 if test $enable_sjlj_exceptions = auto; then
13838 # Botheration. Now we've got to detect the exception model. Link tests
13839 # against libgcc.a are problematic since we've not been given proper -L
13840 # bits for single-tree newlib and libgloss.
13842 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
13843 cat > conftest.$ac_ext << EOF
13844 #line 13844 "configure"
13845 struct S { ~S(); };
13846 void bar();
13847 void foo()
13849 S s;
13850 bar();
13853 old_CXXFLAGS="$CXXFLAGS"
13854 CXXFLAGS=-S
13855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13856 (eval $ac_compile) 2>&5
13857 ac_status=$?
13858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 (exit $ac_status); }; then
13860 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13861 enable_sjlj_exceptions=yes
13862 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13863 enable_sjlj_exceptions=no
13864 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13865 enable_sjlj_exceptions=no
13868 CXXFLAGS="$old_CXXFLAGS"
13869 rm -f conftest*
13872 # This is a tad weird, for hysterical raisins. We have to map
13873 # enable/disable to two different models.
13874 case $enable_sjlj_exceptions in
13875 yes)
13877 cat >>confdefs.h <<\_ACEOF
13878 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13879 _ACEOF
13881 ac_exception_model_name=sjlj
13884 ac_exception_model_name="call frame"
13887 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13888 echo "$as_me: error: unable to detect exception model" >&2;}
13889 { (exit 1); exit 1; }; }
13891 esac
13892 ac_ext=c
13893 ac_cpp='$CPP $CPPFLAGS'
13894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13898 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13899 echo "${ECHO_T}$ac_exception_model_name" >&6
13902 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13903 if test "${enable_libstdcxx_pch+set}" = set; then
13904 enableval="$enable_libstdcxx_pch"
13906 case "$enableval" in
13907 yes|no) ;;
13908 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13909 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13910 { (exit 1); exit 1; }; } ;;
13911 esac
13913 else
13914 enable_libstdcxx_pch=$is_hosted
13917 if test $enable_libstdcxx_pch = yes; then
13918 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13919 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13920 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13921 echo $ECHO_N "(cached) $ECHO_C" >&6
13922 else
13923 ac_save_CXXFLAGS="$CXXFLAGS"
13924 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13927 ac_ext=cc
13928 ac_cpp='$CXXCPP $CPPFLAGS'
13929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13933 echo '#include <math.h>' > conftest.h
13934 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13935 -o conftest.h.gch 1>&5 2>&1 &&
13936 echo '#error "pch failed"' > conftest.h &&
13937 echo '#include "conftest.h"' > conftest.cc &&
13938 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13939 then
13940 glibcxx_cv_prog_CXX_pch=yes
13941 else
13942 glibcxx_cv_prog_CXX_pch=no
13944 rm -f conftest*
13945 CXXFLAGS=$ac_save_CXXFLAGS
13946 ac_ext=c
13947 ac_cpp='$CPP $CPPFLAGS'
13948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13954 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13955 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13956 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13959 echo "$as_me:$LINENO: checking for enabled PCH" >&5
13960 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13961 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13962 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13965 if test $enable_libstdcxx_pch = yes; then
13966 glibcxx_PCHFLAGS="-include bits/stdc++.h"
13967 else
13968 glibcxx_PCHFLAGS=""
13973 # Enable all the variable C++ runtime options that doesn't require linking.
13975 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
13976 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
13977 # Check whether --enable-cstdio or --disable-cstdio was given.
13978 if test "${enable_cstdio+set}" = set; then
13979 enableval="$enable_cstdio"
13981 case "$enableval" in
13982 stdio) ;;
13983 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
13984 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
13985 { (exit 1); exit 1; }; } ;;
13986 esac
13988 else
13989 enable_cstdio=stdio
13993 # Now that libio has been removed, you can have any color you want as long
13994 # as it's black. This is one big no-op until other packages are added, but
13995 # showing the framework never hurts.
13996 case ${enable_cstdio} in
13997 stdio)
13998 CSTDIO_H=config/io/c_io_stdio.h
13999 BASIC_FILE_H=config/io/basic_file_stdio.h
14000 BASIC_FILE_CC=config/io/basic_file_stdio.cc
14001 echo "$as_me:$LINENO: result: stdio" >&5
14002 echo "${ECHO_T}stdio" >&6
14004 esac
14011 # Check whether --enable-clocale or --disable-clocale was given.
14012 if test "${enable_clocale+set}" = set; then
14013 enableval="$enable_clocale"
14015 case "$enableval" in
14016 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14017 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14018 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14019 { (exit 1); exit 1; }; } ;;
14020 esac
14022 else
14023 enable_clocale=auto
14027 # Deal with gettext issues. Default to not using it (=no) until we detect
14028 # support for it later. Let the user turn it off via --e/d, but let that
14029 # default to on for easier handling.
14030 USE_NLS=no
14031 # Check whether --enable-nls or --disable-nls was given.
14032 if test "${enable_nls+set}" = set; then
14033 enableval="$enable_nls"
14035 else
14036 enable_nls=yes
14039 # Either a known packaage, or "auto"
14040 if test $enable_clocale = no || test $enable_clocale = yes; then
14041 enable_clocale=auto
14043 enable_clocale_flag=$enable_clocale
14045 # Probe for locale model to use if none specified.
14046 # Default to "generic".
14047 if test $enable_clocale_flag = auto; then
14048 case ${target_os} in
14049 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14050 enable_clocale_flag=gnu
14052 darwin* | freebsd*)
14053 enable_clocale_flag=darwin
14056 enable_clocale_flag=generic
14058 esac
14061 # Sanity check model, and test for special functionality.
14062 if test $enable_clocale_flag = gnu; then
14063 cat >conftest.$ac_ext <<_ACEOF
14064 /* confdefs.h. */
14065 _ACEOF
14066 cat confdefs.h >>conftest.$ac_ext
14067 cat >>conftest.$ac_ext <<_ACEOF
14068 /* end confdefs.h. */
14070 #include <features.h>
14071 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14072 _GLIBCXX_ok
14073 #endif
14075 _ACEOF
14076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14077 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14078 enable_clocale_flag=gnu
14079 else
14080 enable_clocale_flag=generic
14082 rm -f conftest*
14085 if test $enable_clocale = auto; then
14086 # Test for bugs early in glibc-2.2.x series
14087 if test "$cross_compiling" = yes; then
14088 enable_clocale_flag=generic
14089 else
14090 cat >conftest.$ac_ext <<_ACEOF
14091 /* confdefs.h. */
14092 _ACEOF
14093 cat confdefs.h >>conftest.$ac_ext
14094 cat >>conftest.$ac_ext <<_ACEOF
14095 /* end confdefs.h. */
14097 #define _GNU_SOURCE 1
14098 #include <locale.h>
14099 #include <string.h>
14100 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14101 extern __typeof(newlocale) __newlocale;
14102 extern __typeof(duplocale) __duplocale;
14103 extern __typeof(strcoll_l) __strcoll_l;
14104 #endif
14105 int main()
14107 const char __one[] = "Äuglein Augmen";
14108 const char __two[] = "Äuglein";
14109 int i;
14110 int j;
14111 __locale_t loc;
14112 __locale_t loc_dup;
14113 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14114 loc_dup = __duplocale(loc);
14115 i = __strcoll_l(__one, __two, loc);
14116 j = __strcoll_l(__one, __two, loc_dup);
14117 return 0;
14120 _ACEOF
14121 rm -f conftest$ac_exeext
14122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14123 (eval $ac_link) 2>&5
14124 ac_status=$?
14125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14126 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14128 (eval $ac_try) 2>&5
14129 ac_status=$?
14130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131 (exit $ac_status); }; }; then
14132 enable_clocale_flag=gnu
14133 else
14134 echo "$as_me: program exited with status $ac_status" >&5
14135 echo "$as_me: failed program was:" >&5
14136 sed 's/^/| /' conftest.$ac_ext >&5
14138 ( exit $ac_status )
14139 enable_clocale_flag=generic
14141 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14145 # Set it to scream when it hurts.
14146 ac_save_CFLAGS="$CFLAGS"
14147 CFLAGS="-Wimplicit-function-declaration -Werror"
14149 # Use strxfrm_l if available.
14150 cat >conftest.$ac_ext <<_ACEOF
14151 /* confdefs.h. */
14152 _ACEOF
14153 cat confdefs.h >>conftest.$ac_ext
14154 cat >>conftest.$ac_ext <<_ACEOF
14155 /* end confdefs.h. */
14156 #define _GNU_SOURCE 1
14157 #include <string.h>
14158 #include <locale.h>
14160 main ()
14162 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14164 return 0;
14166 _ACEOF
14167 rm -f conftest.$ac_objext
14168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14169 (eval $ac_compile) 2>conftest.er1
14170 ac_status=$?
14171 grep -v '^ *+' conftest.er1 >conftest.err
14172 rm -f conftest.er1
14173 cat conftest.err >&5
14174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175 (exit $ac_status); } &&
14176 { ac_try='test -z "$ac_c_werror_flag"
14177 || test ! -s conftest.err'
14178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14179 (eval $ac_try) 2>&5
14180 ac_status=$?
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 (exit $ac_status); }; } &&
14183 { ac_try='test -s conftest.$ac_objext'
14184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14185 (eval $ac_try) 2>&5
14186 ac_status=$?
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); }; }; then
14190 cat >>confdefs.h <<\_ACEOF
14191 #define HAVE_STRXFRM_L 1
14192 _ACEOF
14194 else
14195 echo "$as_me: failed program was:" >&5
14196 sed 's/^/| /' conftest.$ac_ext >&5
14199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14201 # Use strerror_l if available.
14202 cat >conftest.$ac_ext <<_ACEOF
14203 /* confdefs.h. */
14204 _ACEOF
14205 cat confdefs.h >>conftest.$ac_ext
14206 cat >>conftest.$ac_ext <<_ACEOF
14207 /* end confdefs.h. */
14208 #define _GNU_SOURCE 1
14209 #include <string.h>
14210 #include <locale.h>
14212 main ()
14214 __locale_t loc; strerror_l(5, loc);
14216 return 0;
14218 _ACEOF
14219 rm -f conftest.$ac_objext
14220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14221 (eval $ac_compile) 2>conftest.er1
14222 ac_status=$?
14223 grep -v '^ *+' conftest.er1 >conftest.err
14224 rm -f conftest.er1
14225 cat conftest.err >&5
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); } &&
14228 { ac_try='test -z "$ac_c_werror_flag"
14229 || test ! -s conftest.err'
14230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14231 (eval $ac_try) 2>&5
14232 ac_status=$?
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); }; } &&
14235 { ac_try='test -s conftest.$ac_objext'
14236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14237 (eval $ac_try) 2>&5
14238 ac_status=$?
14239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 (exit $ac_status); }; }; then
14242 cat >>confdefs.h <<\_ACEOF
14243 #define HAVE_STRERROR_L 1
14244 _ACEOF
14246 else
14247 echo "$as_me: failed program was:" >&5
14248 sed 's/^/| /' conftest.$ac_ext >&5
14251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14253 CFLAGS="$ac_save_CFLAGS"
14256 # Perhaps use strerror_r if available, and strerror_l isn't.
14257 ac_save_CFLAGS="$CFLAGS"
14258 CFLAGS="-Wimplicit-function-declaration -Werror"
14259 cat >conftest.$ac_ext <<_ACEOF
14260 /* confdefs.h. */
14261 _ACEOF
14262 cat confdefs.h >>conftest.$ac_ext
14263 cat >>conftest.$ac_ext <<_ACEOF
14264 /* end confdefs.h. */
14265 #define _GNU_SOURCE 1
14266 #include <string.h>
14267 #include <locale.h>
14269 main ()
14271 char s[128]; strerror_r(5, s, 128);
14273 return 0;
14275 _ACEOF
14276 rm -f conftest.$ac_objext
14277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14278 (eval $ac_compile) 2>conftest.er1
14279 ac_status=$?
14280 grep -v '^ *+' conftest.er1 >conftest.err
14281 rm -f conftest.er1
14282 cat conftest.err >&5
14283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14284 (exit $ac_status); } &&
14285 { ac_try='test -z "$ac_c_werror_flag"
14286 || test ! -s conftest.err'
14287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14288 (eval $ac_try) 2>&5
14289 ac_status=$?
14290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291 (exit $ac_status); }; } &&
14292 { ac_try='test -s conftest.$ac_objext'
14293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14294 (eval $ac_try) 2>&5
14295 ac_status=$?
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); }; }; then
14299 cat >>confdefs.h <<\_ACEOF
14300 #define HAVE_STRERROR_R 1
14301 _ACEOF
14303 else
14304 echo "$as_me: failed program was:" >&5
14305 sed 's/^/| /' conftest.$ac_ext >&5
14308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14309 CFLAGS="$ac_save_CFLAGS"
14311 # Set configure bits for specified locale package
14312 echo "$as_me:$LINENO: checking for C locale to use" >&5
14313 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14314 case ${enable_clocale_flag} in
14315 generic)
14316 echo "$as_me:$LINENO: result: generic" >&5
14317 echo "${ECHO_T}generic" >&6
14319 CLOCALE_H=config/locale/generic/c_locale.h
14320 CLOCALE_CC=config/locale/generic/c_locale.cc
14321 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14322 CCOLLATE_CC=config/locale/generic/collate_members.cc
14323 CCTYPE_CC=config/locale/generic/ctype_members.cc
14324 CMESSAGES_H=config/locale/generic/messages_members.h
14325 CMESSAGES_CC=config/locale/generic/messages_members.cc
14326 CMONEY_CC=config/locale/generic/monetary_members.cc
14327 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14328 CTIME_H=config/locale/generic/time_members.h
14329 CTIME_CC=config/locale/generic/time_members.cc
14330 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14332 darwin)
14333 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14334 echo "${ECHO_T}darwin or freebsd" >&6
14336 CLOCALE_H=config/locale/generic/c_locale.h
14337 CLOCALE_CC=config/locale/generic/c_locale.cc
14338 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14339 CCOLLATE_CC=config/locale/generic/collate_members.cc
14340 CCTYPE_CC=config/locale/darwin/ctype_members.cc
14341 CMESSAGES_H=config/locale/generic/messages_members.h
14342 CMESSAGES_CC=config/locale/generic/messages_members.cc
14343 CMONEY_CC=config/locale/generic/monetary_members.cc
14344 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14345 CTIME_H=config/locale/generic/time_members.h
14346 CTIME_CC=config/locale/generic/time_members.cc
14347 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14350 gnu)
14351 echo "$as_me:$LINENO: result: gnu" >&5
14352 echo "${ECHO_T}gnu" >&6
14354 # Declare intention to use gettext, and add support for specific
14355 # languages.
14356 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14357 ALL_LINGUAS="de fr"
14359 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14360 # Extract the first word of "msgfmt", so it can be a program name with args.
14361 set dummy msgfmt; ac_word=$2
14362 echo "$as_me:$LINENO: checking for $ac_word" >&5
14363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14364 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14365 echo $ECHO_N "(cached) $ECHO_C" >&6
14366 else
14367 if test -n "$check_msgfmt"; then
14368 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14369 else
14370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14371 for as_dir in $PATH
14373 IFS=$as_save_IFS
14374 test -z "$as_dir" && as_dir=.
14375 for ac_exec_ext in '' $ac_executable_extensions; do
14376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14377 ac_cv_prog_check_msgfmt="yes"
14378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14379 break 2
14381 done
14382 done
14384 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14387 check_msgfmt=$ac_cv_prog_check_msgfmt
14388 if test -n "$check_msgfmt"; then
14389 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14390 echo "${ECHO_T}$check_msgfmt" >&6
14391 else
14392 echo "$as_me:$LINENO: result: no" >&5
14393 echo "${ECHO_T}no" >&6
14396 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14397 USE_NLS=yes
14399 # Export the build objects.
14400 for ling in $ALL_LINGUAS; do \
14401 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14402 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14403 done
14407 CLOCALE_H=config/locale/gnu/c_locale.h
14408 CLOCALE_CC=config/locale/gnu/c_locale.cc
14409 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14410 CCOLLATE_CC=config/locale/gnu/collate_members.cc
14411 CCTYPE_CC=config/locale/gnu/ctype_members.cc
14412 CMESSAGES_H=config/locale/gnu/messages_members.h
14413 CMESSAGES_CC=config/locale/gnu/messages_members.cc
14414 CMONEY_CC=config/locale/gnu/monetary_members.cc
14415 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14416 CTIME_H=config/locale/gnu/time_members.h
14417 CTIME_CC=config/locale/gnu/time_members.cc
14418 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14420 ieee_1003.1-2001)
14421 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14422 echo "${ECHO_T}IEEE 1003.1" >&6
14424 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14425 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14426 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14427 CCOLLATE_CC=config/locale/generic/collate_members.cc
14428 CCTYPE_CC=config/locale/generic/ctype_members.cc
14429 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14430 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14431 CMONEY_CC=config/locale/generic/monetary_members.cc
14432 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14433 CTIME_H=config/locale/generic/time_members.h
14434 CTIME_CC=config/locale/generic/time_members.cc
14435 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14437 esac
14439 # This is where the testsuite looks for locale catalogs, using the
14440 # -DLOCALEDIR define during testsuite compilation.
14441 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14444 # A standalone libintl (e.g., GNU libintl) may be in use.
14445 if test $USE_NLS = yes; then
14447 for ac_header in libintl.h
14449 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14451 echo "$as_me:$LINENO: checking for $ac_header" >&5
14452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14454 echo $ECHO_N "(cached) $ECHO_C" >&6
14456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14458 else
14459 # Is the header compilable?
14460 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14461 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14462 cat >conftest.$ac_ext <<_ACEOF
14463 /* confdefs.h. */
14464 _ACEOF
14465 cat confdefs.h >>conftest.$ac_ext
14466 cat >>conftest.$ac_ext <<_ACEOF
14467 /* end confdefs.h. */
14468 $ac_includes_default
14469 #include <$ac_header>
14470 _ACEOF
14471 rm -f conftest.$ac_objext
14472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14473 (eval $ac_compile) 2>conftest.er1
14474 ac_status=$?
14475 grep -v '^ *+' conftest.er1 >conftest.err
14476 rm -f conftest.er1
14477 cat conftest.err >&5
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); } &&
14480 { ac_try='test -z "$ac_c_werror_flag"
14481 || test ! -s conftest.err'
14482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14483 (eval $ac_try) 2>&5
14484 ac_status=$?
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); }; } &&
14487 { ac_try='test -s conftest.$ac_objext'
14488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14489 (eval $ac_try) 2>&5
14490 ac_status=$?
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); }; }; then
14493 ac_header_compiler=yes
14494 else
14495 echo "$as_me: failed program was:" >&5
14496 sed 's/^/| /' conftest.$ac_ext >&5
14498 ac_header_compiler=no
14500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14502 echo "${ECHO_T}$ac_header_compiler" >&6
14504 # Is the header present?
14505 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14506 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14507 cat >conftest.$ac_ext <<_ACEOF
14508 /* confdefs.h. */
14509 _ACEOF
14510 cat confdefs.h >>conftest.$ac_ext
14511 cat >>conftest.$ac_ext <<_ACEOF
14512 /* end confdefs.h. */
14513 #include <$ac_header>
14514 _ACEOF
14515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14516 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14517 ac_status=$?
14518 grep -v '^ *+' conftest.er1 >conftest.err
14519 rm -f conftest.er1
14520 cat conftest.err >&5
14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522 (exit $ac_status); } >/dev/null; then
14523 if test -s conftest.err; then
14524 ac_cpp_err=$ac_c_preproc_warn_flag
14525 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14526 else
14527 ac_cpp_err=
14529 else
14530 ac_cpp_err=yes
14532 if test -z "$ac_cpp_err"; then
14533 ac_header_preproc=yes
14534 else
14535 echo "$as_me: failed program was:" >&5
14536 sed 's/^/| /' conftest.$ac_ext >&5
14538 ac_header_preproc=no
14540 rm -f conftest.err conftest.$ac_ext
14541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14542 echo "${ECHO_T}$ac_header_preproc" >&6
14544 # So? What about this header?
14545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14546 yes:no: )
14547 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14548 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14550 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14551 ac_header_preproc=yes
14553 no:yes:* )
14554 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14555 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14556 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14557 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14558 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14559 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14560 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14561 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14563 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14564 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14565 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14567 cat <<\_ASBOX
14568 ## ----------------------------------------- ##
14569 ## Report this to the package-unused lists. ##
14570 ## ----------------------------------------- ##
14571 _ASBOX
14573 sed "s/^/$as_me: WARNING: /" >&2
14575 esac
14576 echo "$as_me:$LINENO: checking for $ac_header" >&5
14577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14579 echo $ECHO_N "(cached) $ECHO_C" >&6
14580 else
14581 eval "$as_ac_Header=\$ac_header_preproc"
14583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14588 cat >>confdefs.h <<_ACEOF
14589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14590 _ACEOF
14592 else
14593 USE_NLS=no
14596 done
14598 echo "$as_me:$LINENO: checking for library containing gettext" >&5
14599 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14600 if test "${ac_cv_search_gettext+set}" = set; then
14601 echo $ECHO_N "(cached) $ECHO_C" >&6
14602 else
14603 ac_func_search_save_LIBS=$LIBS
14604 ac_cv_search_gettext=no
14605 if test x$gcc_no_link = xyes; then
14606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14608 { (exit 1); exit 1; }; }
14610 cat >conftest.$ac_ext <<_ACEOF
14611 /* confdefs.h. */
14612 _ACEOF
14613 cat confdefs.h >>conftest.$ac_ext
14614 cat >>conftest.$ac_ext <<_ACEOF
14615 /* end confdefs.h. */
14617 /* Override any gcc2 internal prototype to avoid an error. */
14618 #ifdef __cplusplus
14619 extern "C"
14620 #endif
14621 /* We use char because int might match the return type of a gcc2
14622 builtin and then its argument prototype would still apply. */
14623 char gettext ();
14625 main ()
14627 gettext ();
14629 return 0;
14631 _ACEOF
14632 rm -f conftest.$ac_objext conftest$ac_exeext
14633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14634 (eval $ac_link) 2>conftest.er1
14635 ac_status=$?
14636 grep -v '^ *+' conftest.er1 >conftest.err
14637 rm -f conftest.er1
14638 cat conftest.err >&5
14639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640 (exit $ac_status); } &&
14641 { ac_try='test -z "$ac_c_werror_flag"
14642 || test ! -s conftest.err'
14643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14644 (eval $ac_try) 2>&5
14645 ac_status=$?
14646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647 (exit $ac_status); }; } &&
14648 { ac_try='test -s conftest$ac_exeext'
14649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14650 (eval $ac_try) 2>&5
14651 ac_status=$?
14652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14653 (exit $ac_status); }; }; then
14654 ac_cv_search_gettext="none required"
14655 else
14656 echo "$as_me: failed program was:" >&5
14657 sed 's/^/| /' conftest.$ac_ext >&5
14660 rm -f conftest.err conftest.$ac_objext \
14661 conftest$ac_exeext conftest.$ac_ext
14662 if test "$ac_cv_search_gettext" = no; then
14663 for ac_lib in intl; do
14664 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14665 if test x$gcc_no_link = xyes; then
14666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14668 { (exit 1); exit 1; }; }
14670 cat >conftest.$ac_ext <<_ACEOF
14671 /* confdefs.h. */
14672 _ACEOF
14673 cat confdefs.h >>conftest.$ac_ext
14674 cat >>conftest.$ac_ext <<_ACEOF
14675 /* end confdefs.h. */
14677 /* Override any gcc2 internal prototype to avoid an error. */
14678 #ifdef __cplusplus
14679 extern "C"
14680 #endif
14681 /* We use char because int might match the return type of a gcc2
14682 builtin and then its argument prototype would still apply. */
14683 char gettext ();
14685 main ()
14687 gettext ();
14689 return 0;
14691 _ACEOF
14692 rm -f conftest.$ac_objext conftest$ac_exeext
14693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14694 (eval $ac_link) 2>conftest.er1
14695 ac_status=$?
14696 grep -v '^ *+' conftest.er1 >conftest.err
14697 rm -f conftest.er1
14698 cat conftest.err >&5
14699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700 (exit $ac_status); } &&
14701 { ac_try='test -z "$ac_c_werror_flag"
14702 || test ! -s conftest.err'
14703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14704 (eval $ac_try) 2>&5
14705 ac_status=$?
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); }; } &&
14708 { ac_try='test -s conftest$ac_exeext'
14709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14710 (eval $ac_try) 2>&5
14711 ac_status=$?
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); }; }; then
14714 ac_cv_search_gettext="-l$ac_lib"
14715 break
14716 else
14717 echo "$as_me: failed program was:" >&5
14718 sed 's/^/| /' conftest.$ac_ext >&5
14721 rm -f conftest.err conftest.$ac_objext \
14722 conftest$ac_exeext conftest.$ac_ext
14723 done
14725 LIBS=$ac_func_search_save_LIBS
14727 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
14728 echo "${ECHO_T}$ac_cv_search_gettext" >&6
14729 if test "$ac_cv_search_gettext" != no; then
14730 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
14732 else
14733 USE_NLS=no
14737 if test $USE_NLS = yes; then
14739 cat >>confdefs.h <<\_ACEOF
14740 #define _GLIBCXX_USE_NLS 1
14741 _ACEOF
14760 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
14761 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
14762 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
14763 if test "${enable_libstdcxx_allocator+set}" = set; then
14764 enableval="$enable_libstdcxx_allocator"
14766 case "$enableval" in
14767 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
14768 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
14769 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
14770 { (exit 1); exit 1; }; } ;;
14771 esac
14773 else
14774 enable_libstdcxx_allocator=auto
14778 # If they didn't use this option switch, or if they specified --enable
14779 # with no specific model, we'll have to look for one. If they
14780 # specified --disable (???), do likewise.
14781 if test $enable_libstdcxx_allocator = no ||
14782 test $enable_libstdcxx_allocator = yes;
14783 then
14784 enable_libstdcxx_allocator=auto
14787 # Either a known package, or "auto". Auto implies the default choice
14788 # for a particular platform.
14789 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
14791 # Probe for host-specific support if no specific model is specified.
14792 # Default to "new".
14793 if test $enable_libstdcxx_allocator_flag = auto; then
14794 case ${target_os} in
14795 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14796 enable_libstdcxx_allocator_flag=new
14799 enable_libstdcxx_allocator_flag=new
14801 esac
14803 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
14804 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
14807 # Set configure bits for specified locale package
14808 case ${enable_libstdcxx_allocator_flag} in
14809 bitmap)
14810 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
14811 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
14813 malloc)
14814 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
14815 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
14818 ALLOCATOR_H=config/allocator/mt_allocator_base.h
14819 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
14821 new)
14822 ALLOCATOR_H=config/allocator/new_allocator_base.h
14823 ALLOCATOR_NAME=__gnu_cxx::new_allocator
14825 pool)
14826 ALLOCATOR_H=config/allocator/pool_allocator_base.h
14827 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
14829 esac
14835 # Check whether --enable-cheaders or --disable-cheaders was given.
14836 if test "${enable_cheaders+set}" = set; then
14837 enableval="$enable_cheaders"
14839 case "$enableval" in
14840 c|c_std|c_global) ;;
14841 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
14842 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
14843 { (exit 1); exit 1; }; } ;;
14844 esac
14846 else
14847 enable_cheaders=$c_model
14850 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
14851 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
14853 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
14855 # Allow overrides to configure.host here.
14856 if test $enable_cheaders = c_global; then
14857 c_compatibility=yes
14860 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
14861 c_extra=yes
14871 # Check whether --enable-long-long or --disable-long-long was given.
14872 if test "${enable_long_long+set}" = set; then
14873 enableval="$enable_long_long"
14875 case "$enableval" in
14876 yes|no) ;;
14877 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
14878 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
14879 { (exit 1); exit 1; }; } ;;
14880 esac
14882 else
14883 enable_long_long=yes
14886 if test $enable_long_long = yes; then
14888 cat >>confdefs.h <<\_ACEOF
14889 #define _GLIBCXX_USE_LONG_LONG 1
14890 _ACEOF
14893 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
14894 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
14895 echo "$as_me:$LINENO: result: $enable_long_long" >&5
14896 echo "${ECHO_T}$enable_long_long" >&6
14899 # Check whether --enable-wchar_t or --disable-wchar_t was given.
14900 if test "${enable_wchar_t+set}" = set; then
14901 enableval="$enable_wchar_t"
14903 case "$enableval" in
14904 yes|no) ;;
14905 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
14906 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
14907 { (exit 1); exit 1; }; } ;;
14908 esac
14910 else
14911 enable_wchar_t=yes
14915 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
14917 for ac_header in wchar.h
14919 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14921 echo "$as_me:$LINENO: checking for $ac_header" >&5
14922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14924 echo $ECHO_N "(cached) $ECHO_C" >&6
14926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14928 else
14929 # Is the header compilable?
14930 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14931 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14932 cat >conftest.$ac_ext <<_ACEOF
14933 /* confdefs.h. */
14934 _ACEOF
14935 cat confdefs.h >>conftest.$ac_ext
14936 cat >>conftest.$ac_ext <<_ACEOF
14937 /* end confdefs.h. */
14938 $ac_includes_default
14939 #include <$ac_header>
14940 _ACEOF
14941 rm -f conftest.$ac_objext
14942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14943 (eval $ac_compile) 2>conftest.er1
14944 ac_status=$?
14945 grep -v '^ *+' conftest.er1 >conftest.err
14946 rm -f conftest.er1
14947 cat conftest.err >&5
14948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949 (exit $ac_status); } &&
14950 { ac_try='test -z "$ac_c_werror_flag"
14951 || test ! -s conftest.err'
14952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14953 (eval $ac_try) 2>&5
14954 ac_status=$?
14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); }; } &&
14957 { ac_try='test -s conftest.$ac_objext'
14958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14959 (eval $ac_try) 2>&5
14960 ac_status=$?
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); }; }; then
14963 ac_header_compiler=yes
14964 else
14965 echo "$as_me: failed program was:" >&5
14966 sed 's/^/| /' conftest.$ac_ext >&5
14968 ac_header_compiler=no
14970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14971 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14972 echo "${ECHO_T}$ac_header_compiler" >&6
14974 # Is the header present?
14975 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14976 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14977 cat >conftest.$ac_ext <<_ACEOF
14978 /* confdefs.h. */
14979 _ACEOF
14980 cat confdefs.h >>conftest.$ac_ext
14981 cat >>conftest.$ac_ext <<_ACEOF
14982 /* end confdefs.h. */
14983 #include <$ac_header>
14984 _ACEOF
14985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14986 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14987 ac_status=$?
14988 grep -v '^ *+' conftest.er1 >conftest.err
14989 rm -f conftest.er1
14990 cat conftest.err >&5
14991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992 (exit $ac_status); } >/dev/null; then
14993 if test -s conftest.err; then
14994 ac_cpp_err=$ac_c_preproc_warn_flag
14995 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14996 else
14997 ac_cpp_err=
14999 else
15000 ac_cpp_err=yes
15002 if test -z "$ac_cpp_err"; then
15003 ac_header_preproc=yes
15004 else
15005 echo "$as_me: failed program was:" >&5
15006 sed 's/^/| /' conftest.$ac_ext >&5
15008 ac_header_preproc=no
15010 rm -f conftest.err conftest.$ac_ext
15011 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15012 echo "${ECHO_T}$ac_header_preproc" >&6
15014 # So? What about this header?
15015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15016 yes:no: )
15017 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15018 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15019 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15020 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15021 ac_header_preproc=yes
15023 no:yes:* )
15024 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15025 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15026 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15027 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15028 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15029 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15030 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15031 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15033 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15034 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15035 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15037 cat <<\_ASBOX
15038 ## ----------------------------------------- ##
15039 ## Report this to the package-unused lists. ##
15040 ## ----------------------------------------- ##
15041 _ASBOX
15043 sed "s/^/$as_me: WARNING: /" >&2
15045 esac
15046 echo "$as_me:$LINENO: checking for $ac_header" >&5
15047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15049 echo $ECHO_N "(cached) $ECHO_C" >&6
15050 else
15051 eval "$as_ac_Header=\$ac_header_preproc"
15053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15058 cat >>confdefs.h <<_ACEOF
15059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15060 _ACEOF
15061 ac_has_wchar_h=yes
15062 else
15063 ac_has_wchar_h=no
15066 done
15068 echo "$as_me:$LINENO: checking for mbstate_t" >&5
15069 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15070 cat >conftest.$ac_ext <<_ACEOF
15071 /* confdefs.h. */
15072 _ACEOF
15073 cat confdefs.h >>conftest.$ac_ext
15074 cat >>conftest.$ac_ext <<_ACEOF
15075 /* end confdefs.h. */
15076 #include <wchar.h>
15078 main ()
15080 mbstate_t teststate;
15082 return 0;
15084 _ACEOF
15085 rm -f conftest.$ac_objext
15086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15087 (eval $ac_compile) 2>conftest.er1
15088 ac_status=$?
15089 grep -v '^ *+' conftest.er1 >conftest.err
15090 rm -f conftest.er1
15091 cat conftest.err >&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); } &&
15094 { ac_try='test -z "$ac_c_werror_flag"
15095 || test ! -s conftest.err'
15096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15097 (eval $ac_try) 2>&5
15098 ac_status=$?
15099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15100 (exit $ac_status); }; } &&
15101 { ac_try='test -s conftest.$ac_objext'
15102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15103 (eval $ac_try) 2>&5
15104 ac_status=$?
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); }; }; then
15107 have_mbstate_t=yes
15108 else
15109 echo "$as_me: failed program was:" >&5
15110 sed 's/^/| /' conftest.$ac_ext >&5
15112 have_mbstate_t=no
15114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15115 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15116 echo "${ECHO_T}$have_mbstate_t" >&6
15117 if test x"$have_mbstate_t" = xyes; then
15119 cat >>confdefs.h <<\_ACEOF
15120 #define HAVE_MBSTATE_T 1
15121 _ACEOF
15125 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15126 # ac_has_wchar_h.
15128 for ac_header in wctype.h
15130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15132 echo "$as_me:$LINENO: checking for $ac_header" >&5
15133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15135 echo $ECHO_N "(cached) $ECHO_C" >&6
15137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15139 else
15140 # Is the header compilable?
15141 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15142 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15143 cat >conftest.$ac_ext <<_ACEOF
15144 /* confdefs.h. */
15145 _ACEOF
15146 cat confdefs.h >>conftest.$ac_ext
15147 cat >>conftest.$ac_ext <<_ACEOF
15148 /* end confdefs.h. */
15149 $ac_includes_default
15150 #include <$ac_header>
15151 _ACEOF
15152 rm -f conftest.$ac_objext
15153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15154 (eval $ac_compile) 2>conftest.er1
15155 ac_status=$?
15156 grep -v '^ *+' conftest.er1 >conftest.err
15157 rm -f conftest.er1
15158 cat conftest.err >&5
15159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15160 (exit $ac_status); } &&
15161 { ac_try='test -z "$ac_c_werror_flag"
15162 || test ! -s conftest.err'
15163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15164 (eval $ac_try) 2>&5
15165 ac_status=$?
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); }; } &&
15168 { ac_try='test -s conftest.$ac_objext'
15169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15170 (eval $ac_try) 2>&5
15171 ac_status=$?
15172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15173 (exit $ac_status); }; }; then
15174 ac_header_compiler=yes
15175 else
15176 echo "$as_me: failed program was:" >&5
15177 sed 's/^/| /' conftest.$ac_ext >&5
15179 ac_header_compiler=no
15181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15182 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15183 echo "${ECHO_T}$ac_header_compiler" >&6
15185 # Is the header present?
15186 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15187 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15188 cat >conftest.$ac_ext <<_ACEOF
15189 /* confdefs.h. */
15190 _ACEOF
15191 cat confdefs.h >>conftest.$ac_ext
15192 cat >>conftest.$ac_ext <<_ACEOF
15193 /* end confdefs.h. */
15194 #include <$ac_header>
15195 _ACEOF
15196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15197 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15198 ac_status=$?
15199 grep -v '^ *+' conftest.er1 >conftest.err
15200 rm -f conftest.er1
15201 cat conftest.err >&5
15202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203 (exit $ac_status); } >/dev/null; then
15204 if test -s conftest.err; then
15205 ac_cpp_err=$ac_c_preproc_warn_flag
15206 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15207 else
15208 ac_cpp_err=
15210 else
15211 ac_cpp_err=yes
15213 if test -z "$ac_cpp_err"; then
15214 ac_header_preproc=yes
15215 else
15216 echo "$as_me: failed program was:" >&5
15217 sed 's/^/| /' conftest.$ac_ext >&5
15219 ac_header_preproc=no
15221 rm -f conftest.err conftest.$ac_ext
15222 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15223 echo "${ECHO_T}$ac_header_preproc" >&6
15225 # So? What about this header?
15226 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15227 yes:no: )
15228 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15229 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15230 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15231 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15232 ac_header_preproc=yes
15234 no:yes:* )
15235 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15236 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15237 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15238 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15239 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15240 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15241 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15242 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15245 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15246 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15248 cat <<\_ASBOX
15249 ## ----------------------------------------- ##
15250 ## Report this to the package-unused lists. ##
15251 ## ----------------------------------------- ##
15252 _ASBOX
15254 sed "s/^/$as_me: WARNING: /" >&2
15256 esac
15257 echo "$as_me:$LINENO: checking for $ac_header" >&5
15258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15260 echo $ECHO_N "(cached) $ECHO_C" >&6
15261 else
15262 eval "$as_ac_Header=\$ac_header_preproc"
15264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15269 cat >>confdefs.h <<_ACEOF
15270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15271 _ACEOF
15272 ac_has_wctype_h=yes
15273 else
15274 ac_has_wctype_h=no
15277 done
15280 if test x"$enable_wchar_t" = x"yes"; then
15284 ac_ext=cc
15285 ac_cpp='$CXXCPP $CPPFLAGS'
15286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15291 if test x"$ac_has_wchar_h" = xyes &&
15292 test x"$ac_has_wctype_h" = xyes; then
15293 cat >conftest.$ac_ext <<_ACEOF
15294 /* confdefs.h. */
15295 _ACEOF
15296 cat confdefs.h >>conftest.$ac_ext
15297 cat >>conftest.$ac_ext <<_ACEOF
15298 /* end confdefs.h. */
15299 #include <wchar.h>
15300 #include <stddef.h>
15301 wint_t i;
15302 long l = WEOF;
15303 long j = WCHAR_MIN;
15304 long k = WCHAR_MAX;
15305 namespace test
15307 using ::btowc;
15308 using ::fgetwc;
15309 using ::fgetws;
15310 using ::fputwc;
15311 using ::fputws;
15312 using ::fwide;
15313 using ::fwprintf;
15314 using ::fwscanf;
15315 using ::getwc;
15316 using ::getwchar;
15317 using ::mbrlen;
15318 using ::mbrtowc;
15319 using ::mbsinit;
15320 using ::mbsrtowcs;
15321 using ::putwc;
15322 using ::putwchar;
15323 using ::swprintf;
15324 using ::swscanf;
15325 using ::ungetwc;
15326 using ::vfwprintf;
15327 using ::vswprintf;
15328 using ::vwprintf;
15329 using ::wcrtomb;
15330 using ::wcscat;
15331 using ::wcschr;
15332 using ::wcscmp;
15333 using ::wcscoll;
15334 using ::wcscpy;
15335 using ::wcscspn;
15336 using ::wcsftime;
15337 using ::wcslen;
15338 using ::wcsncat;
15339 using ::wcsncmp;
15340 using ::wcsncpy;
15341 using ::wcspbrk;
15342 using ::wcsrchr;
15343 using ::wcsrtombs;
15344 using ::wcsspn;
15345 using ::wcsstr;
15346 using ::wcstod;
15347 using ::wcstok;
15348 using ::wcstol;
15349 using ::wcstoul;
15350 using ::wcsxfrm;
15351 using ::wctob;
15352 using ::wmemchr;
15353 using ::wmemcmp;
15354 using ::wmemcpy;
15355 using ::wmemmove;
15356 using ::wmemset;
15357 using ::wprintf;
15358 using ::wscanf;
15362 main ()
15366 return 0;
15368 _ACEOF
15369 rm -f conftest.$ac_objext
15370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15371 (eval $ac_compile) 2>conftest.er1
15372 ac_status=$?
15373 grep -v '^ *+' conftest.er1 >conftest.err
15374 rm -f conftest.er1
15375 cat conftest.err >&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); } &&
15378 { ac_try='test -z "$ac_cxx_werror_flag"
15379 || test ! -s conftest.err'
15380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15381 (eval $ac_try) 2>&5
15382 ac_status=$?
15383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15384 (exit $ac_status); }; } &&
15385 { ac_try='test -s conftest.$ac_objext'
15386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15387 (eval $ac_try) 2>&5
15388 ac_status=$?
15389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15390 (exit $ac_status); }; }; then
15392 else
15393 echo "$as_me: failed program was:" >&5
15394 sed 's/^/| /' conftest.$ac_ext >&5
15396 enable_wchar_t=no
15398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15399 else
15400 enable_wchar_t=no
15403 ac_ext=c
15404 ac_cpp='$CPP $CPPFLAGS'
15405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15411 if test x"$enable_wchar_t" = x"yes"; then
15413 cat >>confdefs.h <<\_ACEOF
15414 #define _GLIBCXX_USE_WCHAR_T 1
15415 _ACEOF
15419 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15420 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15421 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15422 echo "${ECHO_T}$enable_wchar_t" >&6
15426 # Check whether --enable-c99 or --disable-c99 was given.
15427 if test "${enable_c99+set}" = set; then
15428 enableval="$enable_c99"
15430 case "$enableval" in
15431 yes|no) ;;
15432 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15433 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15434 { (exit 1); exit 1; }; } ;;
15435 esac
15437 else
15438 enable_c99=yes
15442 if test x"$enable_c99" = x"yes"; then
15446 ac_ext=cc
15447 ac_cpp='$CXXCPP $CPPFLAGS'
15448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15453 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
15454 # undefined and fake C99 facilities - like pre-standard snprintf - may be
15455 # spuriously enabled.
15456 # Long term, -std=c++0x could be even better, could manage to explicitely
15457 # request C99 facilities to the underlying C headers.
15458 ac_save_CXXFLAGS="$CXXFLAGS"
15459 CXXFLAGS="$CXXFLAGS -std=c++98"
15460 ac_save_LIBS="$LIBS"
15461 ac_save_gcc_no_link="$gcc_no_link"
15463 if test x$gcc_no_link != xyes; then
15464 # Use -fno-exceptions to that the C driver can link these tests without
15465 # hitting undefined references to personality routines.
15466 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15467 echo "$as_me:$LINENO: checking for sin in -lm" >&5
15468 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
15469 if test "${ac_cv_lib_m_sin+set}" = set; then
15470 echo $ECHO_N "(cached) $ECHO_C" >&6
15471 else
15472 ac_check_lib_save_LIBS=$LIBS
15473 LIBS="-lm $LIBS"
15474 if test x$gcc_no_link = xyes; then
15475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15477 { (exit 1); exit 1; }; }
15479 cat >conftest.$ac_ext <<_ACEOF
15480 /* confdefs.h. */
15481 _ACEOF
15482 cat confdefs.h >>conftest.$ac_ext
15483 cat >>conftest.$ac_ext <<_ACEOF
15484 /* end confdefs.h. */
15486 /* Override any gcc2 internal prototype to avoid an error. */
15487 #ifdef __cplusplus
15488 extern "C"
15489 #endif
15490 /* We use char because int might match the return type of a gcc2
15491 builtin and then its argument prototype would still apply. */
15492 char sin ();
15494 main ()
15496 sin ();
15498 return 0;
15500 _ACEOF
15501 rm -f conftest.$ac_objext conftest$ac_exeext
15502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15503 (eval $ac_link) 2>conftest.er1
15504 ac_status=$?
15505 grep -v '^ *+' conftest.er1 >conftest.err
15506 rm -f conftest.er1
15507 cat conftest.err >&5
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); } &&
15510 { ac_try='test -z "$ac_cxx_werror_flag"
15511 || test ! -s conftest.err'
15512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15513 (eval $ac_try) 2>&5
15514 ac_status=$?
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); }; } &&
15517 { ac_try='test -s conftest$ac_exeext'
15518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15519 (eval $ac_try) 2>&5
15520 ac_status=$?
15521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522 (exit $ac_status); }; }; then
15523 ac_cv_lib_m_sin=yes
15524 else
15525 echo "$as_me: failed program was:" >&5
15526 sed 's/^/| /' conftest.$ac_ext >&5
15528 ac_cv_lib_m_sin=no
15530 rm -f conftest.err conftest.$ac_objext \
15531 conftest$ac_exeext conftest.$ac_ext
15532 LIBS=$ac_check_lib_save_LIBS
15534 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
15535 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
15536 if test $ac_cv_lib_m_sin = yes; then
15538 LIBS="$LIBS -lm"
15540 else
15542 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
15543 gcc_no_link=yes
15549 # Check for the existence of <math.h> functions used if C99 is enabled.
15550 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15551 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15552 if test "${ac_c99_math+set}" = set; then
15553 echo $ECHO_N "(cached) $ECHO_C" >&6
15554 else
15556 if test x$gcc_no_link = xyes; then
15557 cat >conftest.$ac_ext <<_ACEOF
15558 /* confdefs.h. */
15559 _ACEOF
15560 cat confdefs.h >>conftest.$ac_ext
15561 cat >>conftest.$ac_ext <<_ACEOF
15562 /* end confdefs.h. */
15563 #include <math.h>
15564 volatile double d1, d2;
15565 volatile int i;
15567 main ()
15569 i = fpclassify(d1);
15570 i = isfinite(d1);
15571 i = isinf(d1);
15572 i = isnan(d1);
15573 i = isnormal(d1);
15574 i = signbit(d1);
15575 i = isgreater(d1, d2);
15576 i = isgreaterequal(d1, d2);
15577 i = isless(d1, d2);
15578 i = islessequal(d1, d2);
15579 i = islessgreater(d1, d2);
15580 i = islessgreater(d1, d2);
15581 i = isunordered(d1, d2);
15584 return 0;
15586 _ACEOF
15587 rm -f conftest.$ac_objext
15588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15589 (eval $ac_compile) 2>conftest.er1
15590 ac_status=$?
15591 grep -v '^ *+' conftest.er1 >conftest.err
15592 rm -f conftest.er1
15593 cat conftest.err >&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); } &&
15596 { ac_try='test -z "$ac_cxx_werror_flag"
15597 || test ! -s conftest.err'
15598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15599 (eval $ac_try) 2>&5
15600 ac_status=$?
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); }; } &&
15603 { ac_try='test -s conftest.$ac_objext'
15604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15605 (eval $ac_try) 2>&5
15606 ac_status=$?
15607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608 (exit $ac_status); }; }; then
15609 ac_c99_math=yes
15610 else
15611 echo "$as_me: failed program was:" >&5
15612 sed 's/^/| /' conftest.$ac_ext >&5
15614 ac_c99_math=no
15616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15617 else
15618 if test x$gcc_no_link = xyes; then
15619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15621 { (exit 1); exit 1; }; }
15623 cat >conftest.$ac_ext <<_ACEOF
15624 /* confdefs.h. */
15625 _ACEOF
15626 cat confdefs.h >>conftest.$ac_ext
15627 cat >>conftest.$ac_ext <<_ACEOF
15628 /* end confdefs.h. */
15629 #include <math.h>
15630 volatile double d1, d2;
15631 volatile int i;
15633 main ()
15635 i = fpclassify(d1);
15636 i = isfinite(d1);
15637 i = isinf(d1);
15638 i = isnan(d1);
15639 i = isnormal(d1);
15640 i = signbit(d1);
15641 i = isgreater(d1, d2);
15642 i = isgreaterequal(d1, d2);
15643 i = isless(d1, d2);
15644 i = islessequal(d1, d2);
15645 i = islessgreater(d1, d2);
15646 i = islessgreater(d1, d2);
15647 i = isunordered(d1, d2);
15650 return 0;
15652 _ACEOF
15653 rm -f conftest.$ac_objext conftest$ac_exeext
15654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15655 (eval $ac_link) 2>conftest.er1
15656 ac_status=$?
15657 grep -v '^ *+' conftest.er1 >conftest.err
15658 rm -f conftest.er1
15659 cat conftest.err >&5
15660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15661 (exit $ac_status); } &&
15662 { ac_try='test -z "$ac_cxx_werror_flag"
15663 || test ! -s conftest.err'
15664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15665 (eval $ac_try) 2>&5
15666 ac_status=$?
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); }; } &&
15669 { ac_try='test -s conftest$ac_exeext'
15670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15671 (eval $ac_try) 2>&5
15672 ac_status=$?
15673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674 (exit $ac_status); }; }; then
15675 ac_c99_math=yes
15676 else
15677 echo "$as_me: failed program was:" >&5
15678 sed 's/^/| /' conftest.$ac_ext >&5
15680 ac_c99_math=no
15682 rm -f conftest.err conftest.$ac_objext \
15683 conftest$ac_exeext conftest.$ac_ext
15688 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
15689 echo "${ECHO_T}$ac_c99_math" >&6
15690 if test x"$ac_c99_math" = x"yes"; then
15692 cat >>confdefs.h <<\_ACEOF
15693 #define _GLIBCXX_USE_C99_MATH 1
15694 _ACEOF
15698 # Check for the existence of <complex.h> complex math functions.
15699 # This is necessary even though libstdc++ uses the builtin versions
15700 # of these functions, because if the builtin cannot be used, a reference
15701 # to the library function is emitted.
15703 for ac_header in tgmath.h
15705 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15707 echo "$as_me:$LINENO: checking for $ac_header" >&5
15708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15710 echo $ECHO_N "(cached) $ECHO_C" >&6
15712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15714 else
15715 # Is the header compilable?
15716 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15717 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15718 cat >conftest.$ac_ext <<_ACEOF
15719 /* confdefs.h. */
15720 _ACEOF
15721 cat confdefs.h >>conftest.$ac_ext
15722 cat >>conftest.$ac_ext <<_ACEOF
15723 /* end confdefs.h. */
15724 $ac_includes_default
15725 #include <$ac_header>
15726 _ACEOF
15727 rm -f conftest.$ac_objext
15728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15729 (eval $ac_compile) 2>conftest.er1
15730 ac_status=$?
15731 grep -v '^ *+' conftest.er1 >conftest.err
15732 rm -f conftest.er1
15733 cat conftest.err >&5
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); } &&
15736 { ac_try='test -z "$ac_cxx_werror_flag"
15737 || test ! -s conftest.err'
15738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15739 (eval $ac_try) 2>&5
15740 ac_status=$?
15741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742 (exit $ac_status); }; } &&
15743 { ac_try='test -s conftest.$ac_objext'
15744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15745 (eval $ac_try) 2>&5
15746 ac_status=$?
15747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15748 (exit $ac_status); }; }; then
15749 ac_header_compiler=yes
15750 else
15751 echo "$as_me: failed program was:" >&5
15752 sed 's/^/| /' conftest.$ac_ext >&5
15754 ac_header_compiler=no
15756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15757 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15758 echo "${ECHO_T}$ac_header_compiler" >&6
15760 # Is the header present?
15761 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15762 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15763 cat >conftest.$ac_ext <<_ACEOF
15764 /* confdefs.h. */
15765 _ACEOF
15766 cat confdefs.h >>conftest.$ac_ext
15767 cat >>conftest.$ac_ext <<_ACEOF
15768 /* end confdefs.h. */
15769 #include <$ac_header>
15770 _ACEOF
15771 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15772 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15773 ac_status=$?
15774 grep -v '^ *+' conftest.er1 >conftest.err
15775 rm -f conftest.er1
15776 cat conftest.err >&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); } >/dev/null; then
15779 if test -s conftest.err; then
15780 ac_cpp_err=$ac_cxx_preproc_warn_flag
15781 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15782 else
15783 ac_cpp_err=
15785 else
15786 ac_cpp_err=yes
15788 if test -z "$ac_cpp_err"; then
15789 ac_header_preproc=yes
15790 else
15791 echo "$as_me: failed program was:" >&5
15792 sed 's/^/| /' conftest.$ac_ext >&5
15794 ac_header_preproc=no
15796 rm -f conftest.err conftest.$ac_ext
15797 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15798 echo "${ECHO_T}$ac_header_preproc" >&6
15800 # So? What about this header?
15801 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15802 yes:no: )
15803 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15804 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15805 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15806 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15807 ac_header_preproc=yes
15809 no:yes:* )
15810 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15811 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15812 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15813 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15814 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15815 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15816 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15817 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15818 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15819 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15820 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15821 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15823 cat <<\_ASBOX
15824 ## ----------------------------------------- ##
15825 ## Report this to the package-unused lists. ##
15826 ## ----------------------------------------- ##
15827 _ASBOX
15829 sed "s/^/$as_me: WARNING: /" >&2
15831 esac
15832 echo "$as_me:$LINENO: checking for $ac_header" >&5
15833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15835 echo $ECHO_N "(cached) $ECHO_C" >&6
15836 else
15837 eval "$as_ac_Header=\$ac_header_preproc"
15839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15844 cat >>confdefs.h <<_ACEOF
15845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15846 _ACEOF
15847 ac_has_tgmath_h=yes
15848 else
15849 ac_has_tgmath_h=no
15852 done
15855 for ac_header in complex.h
15857 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15859 echo "$as_me:$LINENO: checking for $ac_header" >&5
15860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15862 echo $ECHO_N "(cached) $ECHO_C" >&6
15864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15866 else
15867 # Is the header compilable?
15868 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15869 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15870 cat >conftest.$ac_ext <<_ACEOF
15871 /* confdefs.h. */
15872 _ACEOF
15873 cat confdefs.h >>conftest.$ac_ext
15874 cat >>conftest.$ac_ext <<_ACEOF
15875 /* end confdefs.h. */
15876 $ac_includes_default
15877 #include <$ac_header>
15878 _ACEOF
15879 rm -f conftest.$ac_objext
15880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15881 (eval $ac_compile) 2>conftest.er1
15882 ac_status=$?
15883 grep -v '^ *+' conftest.er1 >conftest.err
15884 rm -f conftest.er1
15885 cat conftest.err >&5
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); } &&
15888 { ac_try='test -z "$ac_cxx_werror_flag"
15889 || test ! -s conftest.err'
15890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15891 (eval $ac_try) 2>&5
15892 ac_status=$?
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); }; } &&
15895 { ac_try='test -s conftest.$ac_objext'
15896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15897 (eval $ac_try) 2>&5
15898 ac_status=$?
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); }; }; then
15901 ac_header_compiler=yes
15902 else
15903 echo "$as_me: failed program was:" >&5
15904 sed 's/^/| /' conftest.$ac_ext >&5
15906 ac_header_compiler=no
15908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15910 echo "${ECHO_T}$ac_header_compiler" >&6
15912 # Is the header present?
15913 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15914 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15915 cat >conftest.$ac_ext <<_ACEOF
15916 /* confdefs.h. */
15917 _ACEOF
15918 cat confdefs.h >>conftest.$ac_ext
15919 cat >>conftest.$ac_ext <<_ACEOF
15920 /* end confdefs.h. */
15921 #include <$ac_header>
15922 _ACEOF
15923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15924 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15925 ac_status=$?
15926 grep -v '^ *+' conftest.er1 >conftest.err
15927 rm -f conftest.er1
15928 cat conftest.err >&5
15929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15930 (exit $ac_status); } >/dev/null; then
15931 if test -s conftest.err; then
15932 ac_cpp_err=$ac_cxx_preproc_warn_flag
15933 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15934 else
15935 ac_cpp_err=
15937 else
15938 ac_cpp_err=yes
15940 if test -z "$ac_cpp_err"; then
15941 ac_header_preproc=yes
15942 else
15943 echo "$as_me: failed program was:" >&5
15944 sed 's/^/| /' conftest.$ac_ext >&5
15946 ac_header_preproc=no
15948 rm -f conftest.err conftest.$ac_ext
15949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15950 echo "${ECHO_T}$ac_header_preproc" >&6
15952 # So? What about this header?
15953 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15954 yes:no: )
15955 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15956 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15958 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15959 ac_header_preproc=yes
15961 no:yes:* )
15962 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15963 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15964 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15965 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15966 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15967 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15968 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15969 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15972 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15973 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15975 cat <<\_ASBOX
15976 ## ----------------------------------------- ##
15977 ## Report this to the package-unused lists. ##
15978 ## ----------------------------------------- ##
15979 _ASBOX
15981 sed "s/^/$as_me: WARNING: /" >&2
15983 esac
15984 echo "$as_me:$LINENO: checking for $ac_header" >&5
15985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15987 echo $ECHO_N "(cached) $ECHO_C" >&6
15988 else
15989 eval "$as_ac_Header=\$ac_header_preproc"
15991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15996 cat >>confdefs.h <<_ACEOF
15997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15998 _ACEOF
15999 ac_has_complex_h=yes
16000 else
16001 ac_has_complex_h=no
16004 done
16006 ac_c99_complex=no;
16007 if test x"$ac_has_complex_h" = x"yes"; then
16008 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
16009 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
16010 if test x$gcc_no_link = xyes; then
16011 cat >conftest.$ac_ext <<_ACEOF
16012 /* confdefs.h. */
16013 _ACEOF
16014 cat confdefs.h >>conftest.$ac_ext
16015 cat >>conftest.$ac_ext <<_ACEOF
16016 /* end confdefs.h. */
16017 #include <complex.h>
16018 typedef __complex__ float float_type;
16019 typedef __complex__ double double_type;
16020 typedef __complex__ long double ld_type;
16021 volatile float_type tmpf;
16022 volatile double_type tmpd;
16023 volatile ld_type tmpld;
16024 volatile float f;
16025 volatile double d;
16026 volatile long double ld;
16028 main ()
16030 f = cabsf(tmpf);
16031 f = cargf(tmpf);
16032 tmpf = ccosf(tmpf);
16033 tmpf = ccoshf(tmpf);
16034 tmpf = cexpf(tmpf);
16035 tmpf = clogf(tmpf);
16036 tmpf = csinf(tmpf);
16037 tmpf = csinhf(tmpf);
16038 tmpf = csqrtf(tmpf);
16039 tmpf = ctanf(tmpf);
16040 tmpf = ctanhf(tmpf);
16041 tmpf = cpowf(tmpf, tmpf);
16042 d = cabs(tmpd);
16043 d = carg(tmpd);
16044 tmpd = ccos(tmpd);
16045 tmpd = ccosh(tmpd);
16046 tmpd = cexp(tmpd);
16047 tmpd = clog(tmpd);
16048 tmpd = csin(tmpd);
16049 tmpd = csinh(tmpd);
16050 tmpd = csqrt(tmpd);
16051 tmpd = ctan(tmpd);
16052 tmpd = ctanh(tmpd);
16053 tmpd = cpow(tmpd, tmpd);
16054 ld = cabsl(tmpld);
16055 ld = cargl(tmpld);
16056 tmpld = ccosl(tmpld);
16057 tmpld = ccoshl(tmpld);
16058 tmpld = cexpl(tmpld);
16059 tmpld = clogl(tmpld);
16060 tmpld = csinl(tmpld);
16061 tmpld = csinhl(tmpld);
16062 tmpld = csqrtl(tmpld);
16063 tmpld = ctanl(tmpld);
16064 tmpld = ctanhl(tmpld);
16065 tmpld = cpowl(tmpld, tmpld);
16068 return 0;
16070 _ACEOF
16071 rm -f conftest.$ac_objext
16072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16073 (eval $ac_compile) 2>conftest.er1
16074 ac_status=$?
16075 grep -v '^ *+' conftest.er1 >conftest.err
16076 rm -f conftest.er1
16077 cat conftest.err >&5
16078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079 (exit $ac_status); } &&
16080 { ac_try='test -z "$ac_cxx_werror_flag"
16081 || test ! -s conftest.err'
16082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16083 (eval $ac_try) 2>&5
16084 ac_status=$?
16085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086 (exit $ac_status); }; } &&
16087 { ac_try='test -s conftest.$ac_objext'
16088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16089 (eval $ac_try) 2>&5
16090 ac_status=$?
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); }; }; then
16093 ac_c99_complex=yes
16094 else
16095 echo "$as_me: failed program was:" >&5
16096 sed 's/^/| /' conftest.$ac_ext >&5
16098 ac_c99_complex=no
16100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16101 else
16102 if test x$gcc_no_link = xyes; then
16103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16105 { (exit 1); exit 1; }; }
16107 cat >conftest.$ac_ext <<_ACEOF
16108 /* confdefs.h. */
16109 _ACEOF
16110 cat confdefs.h >>conftest.$ac_ext
16111 cat >>conftest.$ac_ext <<_ACEOF
16112 /* end confdefs.h. */
16113 #include <complex.h>
16114 typedef __complex__ float float_type;
16115 typedef __complex__ double double_type;
16116 typedef __complex__ long double ld_type;
16117 volatile float_type tmpf;
16118 volatile double_type tmpd;
16119 volatile ld_type tmpld;
16120 volatile float f;
16121 volatile double d;
16122 volatile long double ld;
16124 main ()
16126 f = cabsf(tmpf);
16127 f = cargf(tmpf);
16128 tmpf = ccosf(tmpf);
16129 tmpf = ccoshf(tmpf);
16130 tmpf = cexpf(tmpf);
16131 tmpf = clogf(tmpf);
16132 tmpf = csinf(tmpf);
16133 tmpf = csinhf(tmpf);
16134 tmpf = csqrtf(tmpf);
16135 tmpf = ctanf(tmpf);
16136 tmpf = ctanhf(tmpf);
16137 tmpf = cpowf(tmpf, tmpf);
16138 d = cabs(tmpd);
16139 d = carg(tmpd);
16140 tmpd = ccos(tmpd);
16141 tmpd = ccosh(tmpd);
16142 tmpd = cexp(tmpd);
16143 tmpd = clog(tmpd);
16144 tmpd = csin(tmpd);
16145 tmpd = csinh(tmpd);
16146 tmpd = csqrt(tmpd);
16147 tmpd = ctan(tmpd);
16148 tmpd = ctanh(tmpd);
16149 tmpd = cpow(tmpd, tmpd);
16150 ld = cabsl(tmpld);
16151 ld = cargl(tmpld);
16152 tmpld = ccosl(tmpld);
16153 tmpld = ccoshl(tmpld);
16154 tmpld = cexpl(tmpld);
16155 tmpld = clogl(tmpld);
16156 tmpld = csinl(tmpld);
16157 tmpld = csinhl(tmpld);
16158 tmpld = csqrtl(tmpld);
16159 tmpld = ctanl(tmpld);
16160 tmpld = ctanhl(tmpld);
16161 tmpld = cpowl(tmpld, tmpld);
16164 return 0;
16166 _ACEOF
16167 rm -f conftest.$ac_objext conftest$ac_exeext
16168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16169 (eval $ac_link) 2>conftest.er1
16170 ac_status=$?
16171 grep -v '^ *+' conftest.er1 >conftest.err
16172 rm -f conftest.er1
16173 cat conftest.err >&5
16174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175 (exit $ac_status); } &&
16176 { ac_try='test -z "$ac_cxx_werror_flag"
16177 || test ! -s conftest.err'
16178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16179 (eval $ac_try) 2>&5
16180 ac_status=$?
16181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182 (exit $ac_status); }; } &&
16183 { ac_try='test -s conftest$ac_exeext'
16184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16185 (eval $ac_try) 2>&5
16186 ac_status=$?
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); }; }; then
16189 ac_c99_complex=yes
16190 else
16191 echo "$as_me: failed program was:" >&5
16192 sed 's/^/| /' conftest.$ac_ext >&5
16194 ac_c99_complex=no
16196 rm -f conftest.err conftest.$ac_objext \
16197 conftest$ac_exeext conftest.$ac_ext
16200 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
16201 echo "${ECHO_T}$ac_c99_complex" >&6
16202 if test x"$ac_c99_complex" = x"yes"; then
16204 cat >>confdefs.h <<\_ACEOF
16205 #define _GLIBCXX_USE_C99_COMPLEX 1
16206 _ACEOF
16210 # Check for the existence in <stdio.h> of vscanf, et. al.
16211 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
16212 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
16213 if test "${ac_c99_stdio+set}" = set; then
16214 echo $ECHO_N "(cached) $ECHO_C" >&6
16215 else
16217 if test x$gcc_no_link = xyes; then
16218 cat >conftest.$ac_ext <<_ACEOF
16219 /* confdefs.h. */
16220 _ACEOF
16221 cat confdefs.h >>conftest.$ac_ext
16222 cat >>conftest.$ac_ext <<_ACEOF
16223 /* end confdefs.h. */
16224 #include <stdio.h>
16225 #include <stdarg.h>
16226 void foo(char* fmt, ...)
16228 va_list args; va_start(args, fmt);
16229 vfscanf(stderr, "%i", args);
16230 vscanf("%i", args);
16231 vsnprintf(fmt, 0, "%i", args);
16232 vsscanf(fmt, "%i", args);
16235 main ()
16237 snprintf("12", 0, "%i");
16239 return 0;
16241 _ACEOF
16242 rm -f conftest.$ac_objext
16243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16244 (eval $ac_compile) 2>conftest.er1
16245 ac_status=$?
16246 grep -v '^ *+' conftest.er1 >conftest.err
16247 rm -f conftest.er1
16248 cat conftest.err >&5
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); } &&
16251 { ac_try='test -z "$ac_cxx_werror_flag"
16252 || test ! -s conftest.err'
16253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254 (eval $ac_try) 2>&5
16255 ac_status=$?
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; } &&
16258 { ac_try='test -s conftest.$ac_objext'
16259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16260 (eval $ac_try) 2>&5
16261 ac_status=$?
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); }; }; then
16264 ac_c99_stdio=yes
16265 else
16266 echo "$as_me: failed program was:" >&5
16267 sed 's/^/| /' conftest.$ac_ext >&5
16269 ac_c99_stdio=no
16271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16272 else
16273 if test x$gcc_no_link = xyes; then
16274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16276 { (exit 1); exit 1; }; }
16278 cat >conftest.$ac_ext <<_ACEOF
16279 /* confdefs.h. */
16280 _ACEOF
16281 cat confdefs.h >>conftest.$ac_ext
16282 cat >>conftest.$ac_ext <<_ACEOF
16283 /* end confdefs.h. */
16284 #include <stdio.h>
16285 #include <stdarg.h>
16286 void foo(char* fmt, ...)
16288 va_list args; va_start(args, fmt);
16289 vfscanf(stderr, "%i", args);
16290 vscanf("%i", args);
16291 vsnprintf(fmt, 0, "%i", args);
16292 vsscanf(fmt, "%i", args);
16295 main ()
16297 snprintf("12", 0, "%i");
16299 return 0;
16301 _ACEOF
16302 rm -f conftest.$ac_objext conftest$ac_exeext
16303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16304 (eval $ac_link) 2>conftest.er1
16305 ac_status=$?
16306 grep -v '^ *+' conftest.er1 >conftest.err
16307 rm -f conftest.er1
16308 cat conftest.err >&5
16309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16310 (exit $ac_status); } &&
16311 { ac_try='test -z "$ac_cxx_werror_flag"
16312 || test ! -s conftest.err'
16313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16314 (eval $ac_try) 2>&5
16315 ac_status=$?
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); }; } &&
16318 { ac_try='test -s conftest$ac_exeext'
16319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16320 (eval $ac_try) 2>&5
16321 ac_status=$?
16322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16323 (exit $ac_status); }; }; then
16324 ac_c99_stdio=yes
16325 else
16326 echo "$as_me: failed program was:" >&5
16327 sed 's/^/| /' conftest.$ac_ext >&5
16329 ac_c99_stdio=no
16331 rm -f conftest.err conftest.$ac_objext \
16332 conftest$ac_exeext conftest.$ac_ext
16337 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
16338 echo "${ECHO_T}$ac_c99_stdio" >&6
16340 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16341 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
16342 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
16343 if test "${ac_c99_stdlib+set}" = set; then
16344 echo $ECHO_N "(cached) $ECHO_C" >&6
16345 else
16347 if test x$gcc_no_link = xyes; then
16348 cat >conftest.$ac_ext <<_ACEOF
16349 /* confdefs.h. */
16350 _ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h. */
16354 #include <stdlib.h>
16355 volatile float f;
16356 volatile long double ld;
16357 volatile unsigned long long ll;
16358 lldiv_t mydivt;
16360 main ()
16362 char* tmp;
16363 f = strtof("gnu", &tmp);
16364 ld = strtold("gnu", &tmp);
16365 ll = strtoll("gnu", &tmp, 10);
16366 ll = strtoull("gnu", &tmp, 10);
16367 ll = llabs(10);
16368 mydivt = lldiv(10,1);
16369 ll = mydivt.quot;
16370 ll = mydivt.rem;
16371 ll = atoll("10");
16372 _Exit(0);
16375 return 0;
16377 _ACEOF
16378 rm -f conftest.$ac_objext
16379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16380 (eval $ac_compile) 2>conftest.er1
16381 ac_status=$?
16382 grep -v '^ *+' conftest.er1 >conftest.err
16383 rm -f conftest.er1
16384 cat conftest.err >&5
16385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386 (exit $ac_status); } &&
16387 { ac_try='test -z "$ac_cxx_werror_flag"
16388 || test ! -s conftest.err'
16389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16390 (eval $ac_try) 2>&5
16391 ac_status=$?
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); }; } &&
16394 { ac_try='test -s conftest.$ac_objext'
16395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16396 (eval $ac_try) 2>&5
16397 ac_status=$?
16398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399 (exit $ac_status); }; }; then
16400 ac_c99_stdlib=yes
16401 else
16402 echo "$as_me: failed program was:" >&5
16403 sed 's/^/| /' conftest.$ac_ext >&5
16405 ac_c99_stdlib=no
16407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16408 else
16409 if test x$gcc_no_link = xyes; then
16410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16412 { (exit 1); exit 1; }; }
16414 cat >conftest.$ac_ext <<_ACEOF
16415 /* confdefs.h. */
16416 _ACEOF
16417 cat confdefs.h >>conftest.$ac_ext
16418 cat >>conftest.$ac_ext <<_ACEOF
16419 /* end confdefs.h. */
16420 #include <stdlib.h>
16421 volatile float f;
16422 volatile long double ld;
16423 volatile unsigned long long ll;
16424 lldiv_t mydivt;
16426 main ()
16428 char* tmp;
16429 f = strtof("gnu", &tmp);
16430 ld = strtold("gnu", &tmp);
16431 ll = strtoll("gnu", &tmp, 10);
16432 ll = strtoull("gnu", &tmp, 10);
16433 ll = llabs(10);
16434 mydivt = lldiv(10,1);
16435 ll = mydivt.quot;
16436 ll = mydivt.rem;
16437 ll = atoll("10");
16438 _Exit(0);
16441 return 0;
16443 _ACEOF
16444 rm -f conftest.$ac_objext conftest$ac_exeext
16445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16446 (eval $ac_link) 2>conftest.er1
16447 ac_status=$?
16448 grep -v '^ *+' conftest.er1 >conftest.err
16449 rm -f conftest.er1
16450 cat conftest.err >&5
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); } &&
16453 { ac_try='test -z "$ac_cxx_werror_flag"
16454 || test ! -s conftest.err'
16455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16456 (eval $ac_try) 2>&5
16457 ac_status=$?
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); }; } &&
16460 { ac_try='test -s conftest$ac_exeext'
16461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16462 (eval $ac_try) 2>&5
16463 ac_status=$?
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); }; }; then
16466 ac_c99_stdlib=yes
16467 else
16468 echo "$as_me: failed program was:" >&5
16469 sed 's/^/| /' conftest.$ac_ext >&5
16471 ac_c99_stdlib=no
16473 rm -f conftest.err conftest.$ac_objext \
16474 conftest$ac_exeext conftest.$ac_ext
16479 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
16480 echo "${ECHO_T}$ac_c99_stdlib" >&6
16482 # Check for the existence in <wchar.h> of wcstold, etc.
16483 ac_c99_wchar=no;
16484 if test x"$ac_has_wchar_h" = xyes &&
16485 test x"$ac_has_wctype_h" = xyes; then
16486 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16487 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16488 cat >conftest.$ac_ext <<_ACEOF
16489 /* confdefs.h. */
16490 _ACEOF
16491 cat confdefs.h >>conftest.$ac_ext
16492 cat >>conftest.$ac_ext <<_ACEOF
16493 /* end confdefs.h. */
16494 #include <wchar.h>
16495 namespace test
16497 using ::wcstold;
16498 using ::wcstoll;
16499 using ::wcstoull;
16503 main ()
16507 return 0;
16509 _ACEOF
16510 rm -f conftest.$ac_objext
16511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16512 (eval $ac_compile) 2>conftest.er1
16513 ac_status=$?
16514 grep -v '^ *+' conftest.er1 >conftest.err
16515 rm -f conftest.er1
16516 cat conftest.err >&5
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); } &&
16519 { ac_try='test -z "$ac_cxx_werror_flag"
16520 || test ! -s conftest.err'
16521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16522 (eval $ac_try) 2>&5
16523 ac_status=$?
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); }; } &&
16526 { ac_try='test -s conftest.$ac_objext'
16527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16528 (eval $ac_try) 2>&5
16529 ac_status=$?
16530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531 (exit $ac_status); }; }; then
16532 ac_c99_wchar=yes
16533 else
16534 echo "$as_me: failed program was:" >&5
16535 sed 's/^/| /' conftest.$ac_ext >&5
16537 ac_c99_wchar=no
16539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16541 # Checks for wide character functions that may not be present.
16542 # Injection of these is wrapped with guard macros.
16543 # NB: only put functions here, instead of immediately above, if
16544 # absolutely necessary.
16545 cat >conftest.$ac_ext <<_ACEOF
16546 /* confdefs.h. */
16547 _ACEOF
16548 cat confdefs.h >>conftest.$ac_ext
16549 cat >>conftest.$ac_ext <<_ACEOF
16550 /* end confdefs.h. */
16551 #include <wchar.h>
16552 namespace test { using ::vfwscanf; }
16554 main ()
16558 return 0;
16560 _ACEOF
16561 rm -f conftest.$ac_objext
16562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16563 (eval $ac_compile) 2>conftest.er1
16564 ac_status=$?
16565 grep -v '^ *+' conftest.er1 >conftest.err
16566 rm -f conftest.er1
16567 cat conftest.err >&5
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); } &&
16570 { ac_try='test -z "$ac_cxx_werror_flag"
16571 || test ! -s conftest.err'
16572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16573 (eval $ac_try) 2>&5
16574 ac_status=$?
16575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16576 (exit $ac_status); }; } &&
16577 { ac_try='test -s conftest.$ac_objext'
16578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16579 (eval $ac_try) 2>&5
16580 ac_status=$?
16581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16582 (exit $ac_status); }; }; then
16584 cat >>confdefs.h <<\_ACEOF
16585 #define HAVE_VFWSCANF 1
16586 _ACEOF
16588 else
16589 echo "$as_me: failed program was:" >&5
16590 sed 's/^/| /' conftest.$ac_ext >&5
16593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16595 cat >conftest.$ac_ext <<_ACEOF
16596 /* confdefs.h. */
16597 _ACEOF
16598 cat confdefs.h >>conftest.$ac_ext
16599 cat >>conftest.$ac_ext <<_ACEOF
16600 /* end confdefs.h. */
16601 #include <wchar.h>
16602 namespace test { using ::vswscanf; }
16604 main ()
16608 return 0;
16610 _ACEOF
16611 rm -f conftest.$ac_objext
16612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16613 (eval $ac_compile) 2>conftest.er1
16614 ac_status=$?
16615 grep -v '^ *+' conftest.er1 >conftest.err
16616 rm -f conftest.er1
16617 cat conftest.err >&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); } &&
16620 { ac_try='test -z "$ac_cxx_werror_flag"
16621 || test ! -s conftest.err'
16622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16623 (eval $ac_try) 2>&5
16624 ac_status=$?
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); }; } &&
16627 { ac_try='test -s conftest.$ac_objext'
16628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16629 (eval $ac_try) 2>&5
16630 ac_status=$?
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); }; }; then
16634 cat >>confdefs.h <<\_ACEOF
16635 #define HAVE_VSWSCANF 1
16636 _ACEOF
16638 else
16639 echo "$as_me: failed program was:" >&5
16640 sed 's/^/| /' conftest.$ac_ext >&5
16643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16645 cat >conftest.$ac_ext <<_ACEOF
16646 /* confdefs.h. */
16647 _ACEOF
16648 cat confdefs.h >>conftest.$ac_ext
16649 cat >>conftest.$ac_ext <<_ACEOF
16650 /* end confdefs.h. */
16651 #include <wchar.h>
16652 namespace test { using ::vwscanf; }
16654 main ()
16658 return 0;
16660 _ACEOF
16661 rm -f conftest.$ac_objext
16662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16663 (eval $ac_compile) 2>conftest.er1
16664 ac_status=$?
16665 grep -v '^ *+' conftest.er1 >conftest.err
16666 rm -f conftest.er1
16667 cat conftest.err >&5
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); } &&
16670 { ac_try='test -z "$ac_cxx_werror_flag"
16671 || test ! -s conftest.err'
16672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16673 (eval $ac_try) 2>&5
16674 ac_status=$?
16675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676 (exit $ac_status); }; } &&
16677 { ac_try='test -s conftest.$ac_objext'
16678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16679 (eval $ac_try) 2>&5
16680 ac_status=$?
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); }; }; then
16684 cat >>confdefs.h <<\_ACEOF
16685 #define HAVE_VWSCANF 1
16686 _ACEOF
16688 else
16689 echo "$as_me: failed program was:" >&5
16690 sed 's/^/| /' conftest.$ac_ext >&5
16693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16695 cat >conftest.$ac_ext <<_ACEOF
16696 /* confdefs.h. */
16697 _ACEOF
16698 cat confdefs.h >>conftest.$ac_ext
16699 cat >>conftest.$ac_ext <<_ACEOF
16700 /* end confdefs.h. */
16701 #include <wchar.h>
16702 namespace test { using ::wcstof; }
16704 main ()
16708 return 0;
16710 _ACEOF
16711 rm -f conftest.$ac_objext
16712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16713 (eval $ac_compile) 2>conftest.er1
16714 ac_status=$?
16715 grep -v '^ *+' conftest.er1 >conftest.err
16716 rm -f conftest.er1
16717 cat conftest.err >&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); } &&
16720 { ac_try='test -z "$ac_cxx_werror_flag"
16721 || test ! -s conftest.err'
16722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16723 (eval $ac_try) 2>&5
16724 ac_status=$?
16725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726 (exit $ac_status); }; } &&
16727 { ac_try='test -s conftest.$ac_objext'
16728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16729 (eval $ac_try) 2>&5
16730 ac_status=$?
16731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732 (exit $ac_status); }; }; then
16734 cat >>confdefs.h <<\_ACEOF
16735 #define HAVE_WCSTOF 1
16736 _ACEOF
16738 else
16739 echo "$as_me: failed program was:" >&5
16740 sed 's/^/| /' conftest.$ac_ext >&5
16743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16745 cat >conftest.$ac_ext <<_ACEOF
16746 /* confdefs.h. */
16747 _ACEOF
16748 cat confdefs.h >>conftest.$ac_ext
16749 cat >>conftest.$ac_ext <<_ACEOF
16750 /* end confdefs.h. */
16751 #include <wctype.h>
16753 main ()
16755 wint_t t; int i = iswblank(t);
16757 return 0;
16759 _ACEOF
16760 rm -f conftest.$ac_objext
16761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16762 (eval $ac_compile) 2>conftest.er1
16763 ac_status=$?
16764 grep -v '^ *+' conftest.er1 >conftest.err
16765 rm -f conftest.er1
16766 cat conftest.err >&5
16767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768 (exit $ac_status); } &&
16769 { ac_try='test -z "$ac_cxx_werror_flag"
16770 || test ! -s conftest.err'
16771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16772 (eval $ac_try) 2>&5
16773 ac_status=$?
16774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775 (exit $ac_status); }; } &&
16776 { ac_try='test -s conftest.$ac_objext'
16777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16778 (eval $ac_try) 2>&5
16779 ac_status=$?
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); }; }; then
16783 cat >>confdefs.h <<\_ACEOF
16784 #define HAVE_ISWBLANK 1
16785 _ACEOF
16787 else
16788 echo "$as_me: failed program was:" >&5
16789 sed 's/^/| /' conftest.$ac_ext >&5
16792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16794 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
16795 echo "${ECHO_T}$ac_c99_wchar" >&6
16798 # Option parsed, now set things appropriately.
16799 if test x"$ac_c99_math" = x"no" ||
16800 test x"$ac_c99_complex" = x"no" ||
16801 test x"$ac_c99_stdio" = x"no" ||
16802 test x"$ac_c99_stdlib" = x"no" ||
16803 test x"$ac_c99_wchar" = x"no"; then
16804 enable_c99=no;
16805 else
16807 cat >>confdefs.h <<\_ACEOF
16808 #define _GLIBCXX_USE_C99 1
16809 _ACEOF
16813 gcc_no_link="$ac_save_gcc_no_link"
16814 LIBS="$ac_save_LIBS"
16815 CXXFLAGS="$ac_save_CXXFLAGS"
16816 ac_ext=c
16817 ac_cpp='$CPP $CPPFLAGS'
16818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16824 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
16825 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
16826 echo "$as_me:$LINENO: result: $enable_c99" >&5
16827 echo "${ECHO_T}$enable_c99" >&6
16830 # Check whether --enable-concept-checks or --disable-concept-checks was given.
16831 if test "${enable_concept_checks+set}" = set; then
16832 enableval="$enable_concept_checks"
16834 case "$enableval" in
16835 yes|no) ;;
16836 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
16837 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
16838 { (exit 1); exit 1; }; } ;;
16839 esac
16841 else
16842 enable_concept_checks=no
16845 if test $enable_concept_checks = yes; then
16847 cat >>confdefs.h <<\_ACEOF
16848 #define _GLIBCXX_CONCEPT_CHECKS 1
16849 _ACEOF
16854 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
16855 if test "${enable_libstdcxx_debug_flags+set}" = set; then
16856 enableval="$enable_libstdcxx_debug_flags"
16857 case "x$enable_libstdcxx_debug_flags" in
16858 xno | x) enable_libstdcxx_debug_flags= ;;
16859 x-*) ;;
16860 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
16861 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
16862 { (exit 1); exit 1; }; } ;;
16863 esac
16864 else
16865 enable_libstdcxx_debug_flags="-g3 -O0"
16869 # Option parsed, now set things appropriately
16870 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16873 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
16874 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16877 echo "$as_me:$LINENO: checking for additional debug build" >&5
16878 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
16879 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
16880 if test "${enable_libstdcxx_debug+set}" = set; then
16881 enableval="$enable_libstdcxx_debug"
16883 case "$enableval" in
16884 yes|no) ;;
16885 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
16886 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
16887 { (exit 1); exit 1; }; } ;;
16888 esac
16890 else
16891 enable_libstdcxx_debug=no
16894 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
16895 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
16900 # NB: libstdc++ may be configured before libgomp: can't check for the actual
16901 # dependencies (omp.h and libgomp).
16902 enable_parallel=no;
16903 if test -f $glibcxx_builddir/../libgomp/omp.h; then
16904 enable_parallel=yes;
16905 else
16906 { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
16907 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
16910 # Check to see if it's explicitly disabled.
16911 # GLIBCXX_ENABLE(libgomp,,,[enable code depending on libgomp],
16912 # [permit yes|no])
16914 # if test x$enable_libgomp = xno; then
16915 # enable_parallel=no
16916 # fi
16918 echo "$as_me:$LINENO: checking for parallel mode support" >&5
16919 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
16920 echo "$as_me:$LINENO: result: $enable_parallel" >&5
16921 echo "${ECHO_T}$enable_parallel" >&6
16924 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
16925 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
16926 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
16927 if test "${enable_cxx_flags+set}" = set; then
16928 enableval="$enable_cxx_flags"
16929 case "x$enable_cxx_flags" in
16930 xno | x) enable_cxx_flags= ;;
16931 x-*) ;;
16932 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
16933 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
16934 { (exit 1); exit 1; }; } ;;
16935 esac
16936 else
16937 enable_cxx_flags=
16941 # Run through flags (either default or command-line) and set anything
16942 # extra (e.g., #defines) that must accompany particular g++ options.
16943 if test -n "$enable_cxx_flags"; then
16944 for f in $enable_cxx_flags; do
16945 case "$f" in
16946 -fhonor-std) ;;
16947 -*) ;;
16948 *) # and we're trying to pass /what/ exactly?
16949 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
16950 echo "$as_me: error: compiler flags start with a -" >&2;}
16951 { (exit 1); exit 1; }; } ;;
16952 esac
16953 done
16956 EXTRA_CXX_FLAGS="$enable_cxx_flags"
16957 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
16958 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
16962 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
16963 if test "${enable_fully_dynamic_string+set}" = set; then
16964 enableval="$enable_fully_dynamic_string"
16966 case "$enableval" in
16967 yes|no) ;;
16968 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
16969 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
16970 { (exit 1); exit 1; }; } ;;
16971 esac
16973 else
16974 enable_fully_dynamic_string=no
16977 if test $enable_fully_dynamic_string = yes; then
16979 cat >>confdefs.h <<\_ACEOF
16980 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
16981 _ACEOF
16986 # Checks for operating systems support that don't require linking.
16989 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
16990 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
16991 if test "${ac_system_error1+set}" = set; then
16992 echo $ECHO_N "(cached) $ECHO_C" >&6
16993 else
16995 cat >conftest.$ac_ext <<_ACEOF
16996 /* confdefs.h. */
16997 _ACEOF
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17001 #include <errno.h>
17003 main ()
17005 int i = EOWNERDEAD;
17007 return 0;
17009 _ACEOF
17010 rm -f conftest.$ac_objext
17011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17012 (eval $ac_compile) 2>conftest.er1
17013 ac_status=$?
17014 grep -v '^ *+' conftest.er1 >conftest.err
17015 rm -f conftest.er1
17016 cat conftest.err >&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } &&
17019 { ac_try='test -z "$ac_c_werror_flag"
17020 || test ! -s conftest.err'
17021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17022 (eval $ac_try) 2>&5
17023 ac_status=$?
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); }; } &&
17026 { ac_try='test -s conftest.$ac_objext'
17027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17028 (eval $ac_try) 2>&5
17029 ac_status=$?
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); }; }; then
17032 ac_system_error1=yes
17033 else
17034 echo "$as_me: failed program was:" >&5
17035 sed 's/^/| /' conftest.$ac_ext >&5
17037 ac_system_error1=no
17039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17043 echo "$as_me:$LINENO: result: $ac_system_error1" >&5
17044 echo "${ECHO_T}$ac_system_error1" >&6
17045 if test x"$ac_system_error1" = x"yes"; then
17047 cat >>confdefs.h <<\_ACEOF
17048 #define HAVE_EOWNERDEAD 1
17049 _ACEOF
17053 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
17054 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
17055 if test "${ac_system_error2+set}" = set; then
17056 echo $ECHO_N "(cached) $ECHO_C" >&6
17057 else
17059 cat >conftest.$ac_ext <<_ACEOF
17060 /* confdefs.h. */
17061 _ACEOF
17062 cat confdefs.h >>conftest.$ac_ext
17063 cat >>conftest.$ac_ext <<_ACEOF
17064 /* end confdefs.h. */
17065 #include <errno.h>
17067 main ()
17069 int i = ENOTRECOVERABLE;
17071 return 0;
17073 _ACEOF
17074 rm -f conftest.$ac_objext
17075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17076 (eval $ac_compile) 2>conftest.er1
17077 ac_status=$?
17078 grep -v '^ *+' conftest.er1 >conftest.err
17079 rm -f conftest.er1
17080 cat conftest.err >&5
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); } &&
17083 { ac_try='test -z "$ac_c_werror_flag"
17084 || test ! -s conftest.err'
17085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17086 (eval $ac_try) 2>&5
17087 ac_status=$?
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); }; } &&
17090 { ac_try='test -s conftest.$ac_objext'
17091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17092 (eval $ac_try) 2>&5
17093 ac_status=$?
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); }; }; then
17096 ac_system_error2=yes
17097 else
17098 echo "$as_me: failed program was:" >&5
17099 sed 's/^/| /' conftest.$ac_ext >&5
17101 ac_system_error2=no
17103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17107 echo "$as_me:$LINENO: result: $ac_system_error2" >&5
17108 echo "${ECHO_T}$ac_system_error2" >&6
17109 if test x"$ac_system_error2" = x"yes"; then
17111 cat >>confdefs.h <<\_ACEOF
17112 #define HAVE_ENOTRECOVERABLE 1
17113 _ACEOF
17117 echo "$as_me:$LINENO: checking for ENOLINK" >&5
17118 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
17119 if test "${ac_system_error3+set}" = set; then
17120 echo $ECHO_N "(cached) $ECHO_C" >&6
17121 else
17123 cat >conftest.$ac_ext <<_ACEOF
17124 /* confdefs.h. */
17125 _ACEOF
17126 cat confdefs.h >>conftest.$ac_ext
17127 cat >>conftest.$ac_ext <<_ACEOF
17128 /* end confdefs.h. */
17129 #include <errno.h>
17131 main ()
17133 int i = ENOLINK;
17135 return 0;
17137 _ACEOF
17138 rm -f conftest.$ac_objext
17139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17140 (eval $ac_compile) 2>conftest.er1
17141 ac_status=$?
17142 grep -v '^ *+' conftest.er1 >conftest.err
17143 rm -f conftest.er1
17144 cat conftest.err >&5
17145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146 (exit $ac_status); } &&
17147 { ac_try='test -z "$ac_c_werror_flag"
17148 || test ! -s conftest.err'
17149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17150 (eval $ac_try) 2>&5
17151 ac_status=$?
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); }; } &&
17154 { ac_try='test -s conftest.$ac_objext'
17155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17156 (eval $ac_try) 2>&5
17157 ac_status=$?
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); }; }; then
17160 ac_system_error3=yes
17161 else
17162 echo "$as_me: failed program was:" >&5
17163 sed 's/^/| /' conftest.$ac_ext >&5
17165 ac_system_error3=no
17167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17171 echo "$as_me:$LINENO: result: $ac_system_error3" >&5
17172 echo "${ECHO_T}$ac_system_error3" >&6
17173 if test x"$ac_system_error3" = x"yes"; then
17175 cat >>confdefs.h <<\_ACEOF
17176 #define HAVE_ENOLINK 1
17177 _ACEOF
17181 echo "$as_me:$LINENO: checking for EPROTO" >&5
17182 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
17183 if test "${ac_system_error_4+set}" = set; then
17184 echo $ECHO_N "(cached) $ECHO_C" >&6
17185 else
17187 cat >conftest.$ac_ext <<_ACEOF
17188 /* confdefs.h. */
17189 _ACEOF
17190 cat confdefs.h >>conftest.$ac_ext
17191 cat >>conftest.$ac_ext <<_ACEOF
17192 /* end confdefs.h. */
17193 #include <errno.h>
17195 main ()
17197 int i = EPROTO;
17199 return 0;
17201 _ACEOF
17202 rm -f conftest.$ac_objext
17203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17204 (eval $ac_compile) 2>conftest.er1
17205 ac_status=$?
17206 grep -v '^ *+' conftest.er1 >conftest.err
17207 rm -f conftest.er1
17208 cat conftest.err >&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); } &&
17211 { ac_try='test -z "$ac_c_werror_flag"
17212 || test ! -s conftest.err'
17213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17214 (eval $ac_try) 2>&5
17215 ac_status=$?
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); }; } &&
17218 { ac_try='test -s conftest.$ac_objext'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17221 ac_status=$?
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; }; then
17224 ac_system_error_4=yes
17225 else
17226 echo "$as_me: failed program was:" >&5
17227 sed 's/^/| /' conftest.$ac_ext >&5
17229 ac_system_error_4=no
17231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17235 echo "$as_me:$LINENO: result: $ac_system_error_4" >&5
17236 echo "${ECHO_T}$ac_system_error_4" >&6
17237 if test x"$ac_system_error_4" = x"yes"; then
17239 cat >>confdefs.h <<\_ACEOF
17240 #define HAVE_EPROTO 1
17241 _ACEOF
17245 echo "$as_me:$LINENO: checking for ENODATA" >&5
17246 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
17247 if test "${ac_system_error_5+set}" = set; then
17248 echo $ECHO_N "(cached) $ECHO_C" >&6
17249 else
17251 cat >conftest.$ac_ext <<_ACEOF
17252 /* confdefs.h. */
17253 _ACEOF
17254 cat confdefs.h >>conftest.$ac_ext
17255 cat >>conftest.$ac_ext <<_ACEOF
17256 /* end confdefs.h. */
17257 #include <errno.h>
17259 main ()
17261 int i = ENODATA;
17263 return 0;
17265 _ACEOF
17266 rm -f conftest.$ac_objext
17267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17268 (eval $ac_compile) 2>conftest.er1
17269 ac_status=$?
17270 grep -v '^ *+' conftest.er1 >conftest.err
17271 rm -f conftest.er1
17272 cat conftest.err >&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } &&
17275 { ac_try='test -z "$ac_c_werror_flag"
17276 || test ! -s conftest.err'
17277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17278 (eval $ac_try) 2>&5
17279 ac_status=$?
17280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17281 (exit $ac_status); }; } &&
17282 { ac_try='test -s conftest.$ac_objext'
17283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17284 (eval $ac_try) 2>&5
17285 ac_status=$?
17286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287 (exit $ac_status); }; }; then
17288 ac_system_error_5=yes
17289 else
17290 echo "$as_me: failed program was:" >&5
17291 sed 's/^/| /' conftest.$ac_ext >&5
17293 ac_system_error_5=no
17295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17299 echo "$as_me:$LINENO: result: $ac_system_error_5" >&5
17300 echo "${ECHO_T}$ac_system_error_5" >&6
17301 if test x"$ac_system_error_5" = x"yes"; then
17303 cat >>confdefs.h <<\_ACEOF
17304 #define HAVE_ENODATA 1
17305 _ACEOF
17309 echo "$as_me:$LINENO: checking for ENOSR" >&5
17310 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
17311 if test "${ac_system_error_6+set}" = set; then
17312 echo $ECHO_N "(cached) $ECHO_C" >&6
17313 else
17315 cat >conftest.$ac_ext <<_ACEOF
17316 /* confdefs.h. */
17317 _ACEOF
17318 cat confdefs.h >>conftest.$ac_ext
17319 cat >>conftest.$ac_ext <<_ACEOF
17320 /* end confdefs.h. */
17321 #include <errno.h>
17323 main ()
17325 int i = ENOSR;
17327 return 0;
17329 _ACEOF
17330 rm -f conftest.$ac_objext
17331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17332 (eval $ac_compile) 2>conftest.er1
17333 ac_status=$?
17334 grep -v '^ *+' conftest.er1 >conftest.err
17335 rm -f conftest.er1
17336 cat conftest.err >&5
17337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338 (exit $ac_status); } &&
17339 { ac_try='test -z "$ac_c_werror_flag"
17340 || test ! -s conftest.err'
17341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17342 (eval $ac_try) 2>&5
17343 ac_status=$?
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); }; } &&
17346 { ac_try='test -s conftest.$ac_objext'
17347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17348 (eval $ac_try) 2>&5
17349 ac_status=$?
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); }; }; then
17352 ac_system_error_6=yes
17353 else
17354 echo "$as_me: failed program was:" >&5
17355 sed 's/^/| /' conftest.$ac_ext >&5
17357 ac_system_error_6=no
17359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17363 echo "$as_me:$LINENO: result: $ac_system_error_6" >&5
17364 echo "${ECHO_T}$ac_system_error_6" >&6
17365 if test x"$ac_system_error_6" = x"yes"; then
17367 cat >>confdefs.h <<\_ACEOF
17368 #define HAVE_ENOSR 1
17369 _ACEOF
17373 echo "$as_me:$LINENO: checking for ENOSTR" >&5
17374 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
17375 if test "${ac_system_error_7+set}" = set; then
17376 echo $ECHO_N "(cached) $ECHO_C" >&6
17377 else
17379 cat >conftest.$ac_ext <<_ACEOF
17380 /* confdefs.h. */
17381 _ACEOF
17382 cat confdefs.h >>conftest.$ac_ext
17383 cat >>conftest.$ac_ext <<_ACEOF
17384 /* end confdefs.h. */
17385 #include <errno.h>
17387 main ()
17389 int i = ENOSTR;
17391 return 0;
17393 _ACEOF
17394 rm -f conftest.$ac_objext
17395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17396 (eval $ac_compile) 2>conftest.er1
17397 ac_status=$?
17398 grep -v '^ *+' conftest.er1 >conftest.err
17399 rm -f conftest.er1
17400 cat conftest.err >&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); } &&
17403 { ac_try='test -z "$ac_c_werror_flag"
17404 || test ! -s conftest.err'
17405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406 (eval $ac_try) 2>&5
17407 ac_status=$?
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); }; } &&
17410 { ac_try='test -s conftest.$ac_objext'
17411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17412 (eval $ac_try) 2>&5
17413 ac_status=$?
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 (exit $ac_status); }; }; then
17416 ac_system_error_7=yes
17417 else
17418 echo "$as_me: failed program was:" >&5
17419 sed 's/^/| /' conftest.$ac_ext >&5
17421 ac_system_error_7=no
17423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17427 echo "$as_me:$LINENO: result: $ac_system_error_7" >&5
17428 echo "${ECHO_T}$ac_system_error_7" >&6
17429 if test x"$ac_system_error_7" = x"yes"; then
17431 cat >>confdefs.h <<\_ACEOF
17432 #define HAVE_ENOSTR 1
17433 _ACEOF
17437 echo "$as_me:$LINENO: checking for ETIME" >&5
17438 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
17439 if test "${ac_system_error_8+set}" = set; then
17440 echo $ECHO_N "(cached) $ECHO_C" >&6
17441 else
17443 cat >conftest.$ac_ext <<_ACEOF
17444 /* confdefs.h. */
17445 _ACEOF
17446 cat confdefs.h >>conftest.$ac_ext
17447 cat >>conftest.$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17449 #include <errno.h>
17451 main ()
17453 int i = ETIME;
17455 return 0;
17457 _ACEOF
17458 rm -f conftest.$ac_objext
17459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17460 (eval $ac_compile) 2>conftest.er1
17461 ac_status=$?
17462 grep -v '^ *+' conftest.er1 >conftest.err
17463 rm -f conftest.er1
17464 cat conftest.err >&5
17465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466 (exit $ac_status); } &&
17467 { ac_try='test -z "$ac_c_werror_flag"
17468 || test ! -s conftest.err'
17469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17470 (eval $ac_try) 2>&5
17471 ac_status=$?
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); }; } &&
17474 { ac_try='test -s conftest.$ac_objext'
17475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17476 (eval $ac_try) 2>&5
17477 ac_status=$?
17478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479 (exit $ac_status); }; }; then
17480 ac_system_error_8=yes
17481 else
17482 echo "$as_me: failed program was:" >&5
17483 sed 's/^/| /' conftest.$ac_ext >&5
17485 ac_system_error_8=no
17487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17491 echo "$as_me:$LINENO: result: $ac_system_error_8" >&5
17492 echo "${ECHO_T}$ac_system_error_8" >&6
17493 if test x"$ac_system_error_8" = x"yes"; then
17495 cat >>confdefs.h <<\_ACEOF
17496 #define HAVE_ETIME 1
17497 _ACEOF
17501 echo "$as_me:$LINENO: checking for sys_nerr" >&5
17502 echo $ECHO_N "checking for sys_nerr... $ECHO_C" >&6
17503 if test "${ac_system_error9+set}" = set; then
17504 echo $ECHO_N "(cached) $ECHO_C" >&6
17505 else
17507 cat >conftest.$ac_ext <<_ACEOF
17508 /* confdefs.h. */
17509 _ACEOF
17510 cat confdefs.h >>conftest.$ac_ext
17511 cat >>conftest.$ac_ext <<_ACEOF
17512 /* end confdefs.h. */
17513 #include <errno.h>
17515 main ()
17517 int i = sys_nerr;
17519 return 0;
17521 _ACEOF
17522 rm -f conftest.$ac_objext
17523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17524 (eval $ac_compile) 2>conftest.er1
17525 ac_status=$?
17526 grep -v '^ *+' conftest.er1 >conftest.err
17527 rm -f conftest.er1
17528 cat conftest.err >&5
17529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530 (exit $ac_status); } &&
17531 { ac_try='test -z "$ac_c_werror_flag"
17532 || test ! -s conftest.err'
17533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17534 (eval $ac_try) 2>&5
17535 ac_status=$?
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); }; } &&
17538 { ac_try='test -s conftest.$ac_objext'
17539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17540 (eval $ac_try) 2>&5
17541 ac_status=$?
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); }; }; then
17544 ac_system_error9=yes
17545 else
17546 echo "$as_me: failed program was:" >&5
17547 sed 's/^/| /' conftest.$ac_ext >&5
17549 ac_system_error9=no
17551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17555 echo "$as_me:$LINENO: result: $ac_system_error9" >&5
17556 echo "${ECHO_T}$ac_system_error9" >&6
17557 if test x"$ac_system_error9" = x"yes"; then
17559 cat >>confdefs.h <<\_ACEOF
17560 #define HAVE_SYS_NERR 1
17561 _ACEOF
17565 echo "$as_me:$LINENO: checking for EBADMSG" >&5
17566 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
17567 if test "${ac_system_error_10+set}" = set; then
17568 echo $ECHO_N "(cached) $ECHO_C" >&6
17569 else
17571 cat >conftest.$ac_ext <<_ACEOF
17572 /* confdefs.h. */
17573 _ACEOF
17574 cat confdefs.h >>conftest.$ac_ext
17575 cat >>conftest.$ac_ext <<_ACEOF
17576 /* end confdefs.h. */
17577 #include <errno.h>
17579 main ()
17581 int i = EBADMSG;
17583 return 0;
17585 _ACEOF
17586 rm -f conftest.$ac_objext
17587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17588 (eval $ac_compile) 2>conftest.er1
17589 ac_status=$?
17590 grep -v '^ *+' conftest.er1 >conftest.err
17591 rm -f conftest.er1
17592 cat conftest.err >&5
17593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17594 (exit $ac_status); } &&
17595 { ac_try='test -z "$ac_c_werror_flag"
17596 || test ! -s conftest.err'
17597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17598 (eval $ac_try) 2>&5
17599 ac_status=$?
17600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601 (exit $ac_status); }; } &&
17602 { ac_try='test -s conftest.$ac_objext'
17603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17604 (eval $ac_try) 2>&5
17605 ac_status=$?
17606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607 (exit $ac_status); }; }; then
17608 ac_system_error_10=yes
17609 else
17610 echo "$as_me: failed program was:" >&5
17611 sed 's/^/| /' conftest.$ac_ext >&5
17613 ac_system_error_10=no
17615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17619 echo "$as_me:$LINENO: result: $ac_system_error_10" >&5
17620 echo "${ECHO_T}$ac_system_error_10" >&6
17621 if test x"$ac_system_error_10" = x"yes"; then
17623 cat >>confdefs.h <<\_ACEOF
17624 #define HAVE_EBADMSG 1
17625 _ACEOF
17629 echo "$as_me:$LINENO: checking for ECANCELED" >&5
17630 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
17631 if test "${ac_system_error_11+set}" = set; then
17632 echo $ECHO_N "(cached) $ECHO_C" >&6
17633 else
17635 cat >conftest.$ac_ext <<_ACEOF
17636 /* confdefs.h. */
17637 _ACEOF
17638 cat confdefs.h >>conftest.$ac_ext
17639 cat >>conftest.$ac_ext <<_ACEOF
17640 /* end confdefs.h. */
17641 #include <errno.h>
17643 main ()
17645 int i = ECANCELED;
17647 return 0;
17649 _ACEOF
17650 rm -f conftest.$ac_objext
17651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17652 (eval $ac_compile) 2>conftest.er1
17653 ac_status=$?
17654 grep -v '^ *+' conftest.er1 >conftest.err
17655 rm -f conftest.er1
17656 cat conftest.err >&5
17657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658 (exit $ac_status); } &&
17659 { ac_try='test -z "$ac_c_werror_flag"
17660 || test ! -s conftest.err'
17661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17662 (eval $ac_try) 2>&5
17663 ac_status=$?
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); }; } &&
17666 { ac_try='test -s conftest.$ac_objext'
17667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17668 (eval $ac_try) 2>&5
17669 ac_status=$?
17670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671 (exit $ac_status); }; }; then
17672 ac_system_error_11=yes
17673 else
17674 echo "$as_me: failed program was:" >&5
17675 sed 's/^/| /' conftest.$ac_ext >&5
17677 ac_system_error_11=no
17679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17683 echo "$as_me:$LINENO: result: $ac_system_error_11" >&5
17684 echo "${ECHO_T}$ac_system_error_11" >&6
17685 if test x"$ac_system_error_11" = x"yes"; then
17687 cat >>confdefs.h <<\_ACEOF
17688 #define HAVE_ECANCELED 1
17689 _ACEOF
17693 echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
17694 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
17695 if test "${ac_system_error_12+set}" = set; then
17696 echo $ECHO_N "(cached) $ECHO_C" >&6
17697 else
17699 cat >conftest.$ac_ext <<_ACEOF
17700 /* confdefs.h. */
17701 _ACEOF
17702 cat confdefs.h >>conftest.$ac_ext
17703 cat >>conftest.$ac_ext <<_ACEOF
17704 /* end confdefs.h. */
17705 #include <errno.h>
17707 main ()
17709 int i = EOVERFLOW;
17711 return 0;
17713 _ACEOF
17714 rm -f conftest.$ac_objext
17715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17716 (eval $ac_compile) 2>conftest.er1
17717 ac_status=$?
17718 grep -v '^ *+' conftest.er1 >conftest.err
17719 rm -f conftest.er1
17720 cat conftest.err >&5
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); } &&
17723 { ac_try='test -z "$ac_c_werror_flag"
17724 || test ! -s conftest.err'
17725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17726 (eval $ac_try) 2>&5
17727 ac_status=$?
17728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17729 (exit $ac_status); }; } &&
17730 { ac_try='test -s conftest.$ac_objext'
17731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17732 (eval $ac_try) 2>&5
17733 ac_status=$?
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); }; }; then
17736 ac_system_error_12=yes
17737 else
17738 echo "$as_me: failed program was:" >&5
17739 sed 's/^/| /' conftest.$ac_ext >&5
17741 ac_system_error_12=no
17743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17747 echo "$as_me:$LINENO: result: $ac_system_error_12" >&5
17748 echo "${ECHO_T}$ac_system_error_12" >&6
17749 if test x"$ac_system_error_12" = x"yes"; then
17751 cat >>confdefs.h <<\_ACEOF
17752 #define HAVE_EOVERFLOW 1
17753 _ACEOF
17757 echo "$as_me:$LINENO: checking for ENOTSUP" >&5
17758 echo $ECHO_N "checking for ENOTSUP... $ECHO_C" >&6
17759 if test "${ac_system_error_13+set}" = set; then
17760 echo $ECHO_N "(cached) $ECHO_C" >&6
17761 else
17763 cat >conftest.$ac_ext <<_ACEOF
17764 /* confdefs.h. */
17765 _ACEOF
17766 cat confdefs.h >>conftest.$ac_ext
17767 cat >>conftest.$ac_ext <<_ACEOF
17768 /* end confdefs.h. */
17769 #include <errno.h>
17771 main ()
17773 int i = ENOTSUP;
17775 return 0;
17777 _ACEOF
17778 rm -f conftest.$ac_objext
17779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17780 (eval $ac_compile) 2>conftest.er1
17781 ac_status=$?
17782 grep -v '^ *+' conftest.er1 >conftest.err
17783 rm -f conftest.er1
17784 cat conftest.err >&5
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); } &&
17787 { ac_try='test -z "$ac_c_werror_flag"
17788 || test ! -s conftest.err'
17789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17790 (eval $ac_try) 2>&5
17791 ac_status=$?
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); }; } &&
17794 { ac_try='test -s conftest.$ac_objext'
17795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17796 (eval $ac_try) 2>&5
17797 ac_status=$?
17798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799 (exit $ac_status); }; }; then
17800 ac_system_error_13=yes
17801 else
17802 echo "$as_me: failed program was:" >&5
17803 sed 's/^/| /' conftest.$ac_ext >&5
17805 ac_system_error_13=no
17807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17811 echo "$as_me:$LINENO: result: $ac_system_error_13" >&5
17812 echo "${ECHO_T}$ac_system_error_13" >&6
17813 if test x"$ac_system_error_13" = x"yes"; then
17815 cat >>confdefs.h <<\_ACEOF
17816 #define HAVE_ENOTSUP 1
17817 _ACEOF
17821 echo "$as_me:$LINENO: checking for EIDRM" >&5
17822 echo $ECHO_N "checking for EIDRM... $ECHO_C" >&6
17823 if test "${ac_system_error_14+set}" = set; then
17824 echo $ECHO_N "(cached) $ECHO_C" >&6
17825 else
17827 cat >conftest.$ac_ext <<_ACEOF
17828 /* confdefs.h. */
17829 _ACEOF
17830 cat confdefs.h >>conftest.$ac_ext
17831 cat >>conftest.$ac_ext <<_ACEOF
17832 /* end confdefs.h. */
17833 #include <errno.h>
17835 main ()
17837 int i = EIDRM;
17839 return 0;
17841 _ACEOF
17842 rm -f conftest.$ac_objext
17843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17844 (eval $ac_compile) 2>conftest.er1
17845 ac_status=$?
17846 grep -v '^ *+' conftest.er1 >conftest.err
17847 rm -f conftest.er1
17848 cat conftest.err >&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); } &&
17851 { ac_try='test -z "$ac_c_werror_flag"
17852 || test ! -s conftest.err'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17855 ac_status=$?
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; } &&
17858 { ac_try='test -s conftest.$ac_objext'
17859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17860 (eval $ac_try) 2>&5
17861 ac_status=$?
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); }; }; then
17864 ac_system_error_14=yes
17865 else
17866 echo "$as_me: failed program was:" >&5
17867 sed 's/^/| /' conftest.$ac_ext >&5
17869 ac_system_error_14=no
17871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17875 echo "$as_me:$LINENO: result: $ac_system_error_14" >&5
17876 echo "${ECHO_T}$ac_system_error_14" >&6
17877 if test x"$ac_system_error_14" = x"yes"; then
17879 cat >>confdefs.h <<\_ACEOF
17880 #define HAVE_EIDRM 1
17881 _ACEOF
17885 echo "$as_me:$LINENO: checking for ETXTBSY" >&5
17886 echo $ECHO_N "checking for ETXTBSY... $ECHO_C" >&6
17887 if test "${ac_system_error_15+set}" = set; then
17888 echo $ECHO_N "(cached) $ECHO_C" >&6
17889 else
17891 cat >conftest.$ac_ext <<_ACEOF
17892 /* confdefs.h. */
17893 _ACEOF
17894 cat confdefs.h >>conftest.$ac_ext
17895 cat >>conftest.$ac_ext <<_ACEOF
17896 /* end confdefs.h. */
17897 #include <errno.h>
17899 main ()
17901 int i = ETXTBSY;
17903 return 0;
17905 _ACEOF
17906 rm -f conftest.$ac_objext
17907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17908 (eval $ac_compile) 2>conftest.er1
17909 ac_status=$?
17910 grep -v '^ *+' conftest.er1 >conftest.err
17911 rm -f conftest.er1
17912 cat conftest.err >&5
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); } &&
17915 { ac_try='test -z "$ac_c_werror_flag"
17916 || test ! -s conftest.err'
17917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17918 (eval $ac_try) 2>&5
17919 ac_status=$?
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); }; } &&
17922 { ac_try='test -s conftest.$ac_objext'
17923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17924 (eval $ac_try) 2>&5
17925 ac_status=$?
17926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927 (exit $ac_status); }; }; then
17928 ac_system_error_15=yes
17929 else
17930 echo "$as_me: failed program was:" >&5
17931 sed 's/^/| /' conftest.$ac_ext >&5
17933 ac_system_error_15=no
17935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17939 echo "$as_me:$LINENO: result: $ac_system_error_15" >&5
17940 echo "${ECHO_T}$ac_system_error_15" >&6
17941 if test x"$ac_system_error_15" = x"yes"; then
17943 cat >>confdefs.h <<\_ACEOF
17944 #define HAVE_ETXTBSY 1
17945 _ACEOF
17950 # No surprises, no surprises...
17952 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
17953 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
17954 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
17955 echo "$as_me:$LINENO: result: $target_thread_file" >&5
17956 echo "${ECHO_T}$target_thread_file" >&6
17958 if test $target_thread_file != single; then
17960 cat >>confdefs.h <<\_ACEOF
17961 #define HAVE_GTHR_DEFAULT 1
17962 _ACEOF
17966 glibcxx_thread_h=gthr-$target_thread_file.h
17968 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
17969 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
17970 enable_thread=yes
17971 else
17972 enable_thread=no
17978 echo "$as_me:$LINENO: checking for atomic builtins" >&5
17979 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
17982 ac_ext=cc
17983 ac_cpp='$CXXCPP $CPPFLAGS'
17984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17989 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
17990 cat > conftest.$ac_ext << EOF
17991 #line 17991 "configure"
17992 int main()
17994 // NB: _Atomic_word not necessarily int.
17995 typedef int atomic_type;
17996 atomic_type c1;
17997 atomic_type c2;
17998 const atomic_type c3(0);
17999 if (__sync_fetch_and_add(&c1, c2) == c3)
18001 // Do something.
18003 return 0;
18006 old_CXXFLAGS="$CXXFLAGS"
18007 CXXFLAGS=-S
18008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18009 (eval $ac_compile) 2>&5
18010 ac_status=$?
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); }; then
18013 if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
18014 enable_atomic_builtins=no
18015 else
18017 cat >>confdefs.h <<\_ACEOF
18018 #define _GLIBCXX_ATOMIC_BUILTINS 1
18019 _ACEOF
18021 enable_atomic_builtins=yes
18022 atomicity_dir=cpu/generic/atomicity_builtins
18025 CXXFLAGS="$old_CXXFLAGS"
18026 rm -f conftest*
18028 # Now, if still generic, set to mutex.
18029 if test $atomicity_dir = "cpu/generic" ; then
18030 atomicity_dir=cpu/generic/atomicity_mutex
18032 ac_ext=c
18033 ac_cpp='$CPP $CPPFLAGS'
18034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18038 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
18039 echo "${ECHO_T}$enable_atomic_builtins" >&6
18041 if test $atomicity_dir = cpu/generic/atomicity_mutex ; then
18042 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
18043 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
18044 if test $target_thread_file = single; then
18045 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
18046 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
18047 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
18048 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
18049 else
18050 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
18051 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
18052 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
18053 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
18058 # All these tests are for C++; save the language and the compiler flags.
18059 # The CXXFLAGS thing is suspicious, but based on similar bits previously
18060 # found in GLIBCXX_CONFIGURE.
18063 ac_ext=cc
18064 ac_cpp='$CXXCPP $CPPFLAGS'
18065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18069 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18070 ac_save_CXXFLAGS="$CXXFLAGS"
18072 # Check for maintainer-mode bits.
18073 if test x"$USE_MAINTAINER_MODE" = xno; then
18074 WERROR=''
18075 else
18076 WERROR='-Werror'
18079 # Check for -ffunction-sections -fdata-sections
18080 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
18081 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
18082 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
18083 cat >conftest.$ac_ext <<_ACEOF
18084 /* confdefs.h. */
18085 _ACEOF
18086 cat confdefs.h >>conftest.$ac_ext
18087 cat >>conftest.$ac_ext <<_ACEOF
18088 /* end confdefs.h. */
18089 int foo; void bar() { };
18091 main ()
18095 return 0;
18097 _ACEOF
18098 rm -f conftest.$ac_objext
18099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18100 (eval $ac_compile) 2>conftest.er1
18101 ac_status=$?
18102 grep -v '^ *+' conftest.er1 >conftest.err
18103 rm -f conftest.er1
18104 cat conftest.err >&5
18105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18106 (exit $ac_status); } &&
18107 { ac_try='test -z "$ac_cxx_werror_flag"
18108 || test ! -s conftest.err'
18109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18110 (eval $ac_try) 2>&5
18111 ac_status=$?
18112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18113 (exit $ac_status); }; } &&
18114 { ac_try='test -s conftest.$ac_objext'
18115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18116 (eval $ac_try) 2>&5
18117 ac_status=$?
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); }; }; then
18120 ac_fdsections=yes
18121 else
18122 echo "$as_me: failed program was:" >&5
18123 sed 's/^/| /' conftest.$ac_ext >&5
18125 ac_fdsections=no
18127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18128 if test "$ac_test_CXXFLAGS" = set; then
18129 CXXFLAGS="$ac_save_CXXFLAGS"
18130 else
18131 # this is the suspicious part
18132 CXXFLAGS=''
18134 if test x"$ac_fdsections" = x"yes"; then
18135 SECTION_FLAGS='-ffunction-sections -fdata-sections'
18137 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
18138 echo "${ECHO_T}$ac_fdsections" >&6
18140 ac_ext=c
18141 ac_cpp='$CPP $CPPFLAGS'
18142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18150 if $GLIBCXX_IS_NATIVE; then
18152 # We can do more elaborate tests that assume a working linker.
18153 CANADIAN=no
18155 # Check for available headers.
18171 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
18172 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
18173 sys/types.h sys/ipc.h sys/sem.h
18175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18177 echo "$as_me:$LINENO: checking for $ac_header" >&5
18178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18180 echo $ECHO_N "(cached) $ECHO_C" >&6
18182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18184 else
18185 # Is the header compilable?
18186 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18187 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18188 cat >conftest.$ac_ext <<_ACEOF
18189 /* confdefs.h. */
18190 _ACEOF
18191 cat confdefs.h >>conftest.$ac_ext
18192 cat >>conftest.$ac_ext <<_ACEOF
18193 /* end confdefs.h. */
18194 $ac_includes_default
18195 #include <$ac_header>
18196 _ACEOF
18197 rm -f conftest.$ac_objext
18198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18199 (eval $ac_compile) 2>conftest.er1
18200 ac_status=$?
18201 grep -v '^ *+' conftest.er1 >conftest.err
18202 rm -f conftest.er1
18203 cat conftest.err >&5
18204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18205 (exit $ac_status); } &&
18206 { ac_try='test -z "$ac_c_werror_flag"
18207 || test ! -s conftest.err'
18208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18209 (eval $ac_try) 2>&5
18210 ac_status=$?
18211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18212 (exit $ac_status); }; } &&
18213 { ac_try='test -s conftest.$ac_objext'
18214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18215 (eval $ac_try) 2>&5
18216 ac_status=$?
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); }; }; then
18219 ac_header_compiler=yes
18220 else
18221 echo "$as_me: failed program was:" >&5
18222 sed 's/^/| /' conftest.$ac_ext >&5
18224 ac_header_compiler=no
18226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18227 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18228 echo "${ECHO_T}$ac_header_compiler" >&6
18230 # Is the header present?
18231 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18232 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18233 cat >conftest.$ac_ext <<_ACEOF
18234 /* confdefs.h. */
18235 _ACEOF
18236 cat confdefs.h >>conftest.$ac_ext
18237 cat >>conftest.$ac_ext <<_ACEOF
18238 /* end confdefs.h. */
18239 #include <$ac_header>
18240 _ACEOF
18241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18242 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18243 ac_status=$?
18244 grep -v '^ *+' conftest.er1 >conftest.err
18245 rm -f conftest.er1
18246 cat conftest.err >&5
18247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18248 (exit $ac_status); } >/dev/null; then
18249 if test -s conftest.err; then
18250 ac_cpp_err=$ac_c_preproc_warn_flag
18251 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18252 else
18253 ac_cpp_err=
18255 else
18256 ac_cpp_err=yes
18258 if test -z "$ac_cpp_err"; then
18259 ac_header_preproc=yes
18260 else
18261 echo "$as_me: failed program was:" >&5
18262 sed 's/^/| /' conftest.$ac_ext >&5
18264 ac_header_preproc=no
18266 rm -f conftest.err conftest.$ac_ext
18267 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18268 echo "${ECHO_T}$ac_header_preproc" >&6
18270 # So? What about this header?
18271 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18272 yes:no: )
18273 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18274 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18276 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18277 ac_header_preproc=yes
18279 no:yes:* )
18280 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18281 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18282 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18283 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18284 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18285 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18286 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18287 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18290 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18291 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18293 cat <<\_ASBOX
18294 ## ----------------------------------------- ##
18295 ## Report this to the package-unused lists. ##
18296 ## ----------------------------------------- ##
18297 _ASBOX
18299 sed "s/^/$as_me: WARNING: /" >&2
18301 esac
18302 echo "$as_me:$LINENO: checking for $ac_header" >&5
18303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18305 echo $ECHO_N "(cached) $ECHO_C" >&6
18306 else
18307 eval "$as_ac_Header=\$ac_header_preproc"
18309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18310 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18313 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18314 cat >>confdefs.h <<_ACEOF
18315 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18316 _ACEOF
18320 done
18325 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18326 if test "${with_gnu_ld+set}" = set; then
18327 withval="$with_gnu_ld"
18328 test "$withval" = no || with_gnu_ld=yes
18329 else
18330 with_gnu_ld=no
18332 ac_prog=ld
18333 if test "$GCC" = yes; then
18334 # Check if gcc -print-prog-name=ld gives a path.
18335 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18336 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
18337 case $host in
18338 *-*-mingw*)
18339 # gcc leaves a trailing carriage return which upsets mingw
18340 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18342 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18343 esac
18344 case $ac_prog in
18345 # Accept absolute paths.
18346 [\\/]* | ?:[\\/]*)
18347 re_direlt='/[^/][^/]*/\.\./'
18348 # Canonicalize the pathname of ld
18349 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18350 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18351 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18352 done
18353 test -z "$LD" && LD="$ac_prog"
18356 # If it fails, then pretend we aren't using GCC.
18357 ac_prog=ld
18360 # If it is relative, then search for the first ld in PATH.
18361 with_gnu_ld=unknown
18363 esac
18364 elif test "$with_gnu_ld" = yes; then
18365 echo "$as_me:$LINENO: checking for GNU ld" >&5
18366 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18367 else
18368 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18369 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18371 if test "${lt_cv_path_LD+set}" = set; then
18372 echo $ECHO_N "(cached) $ECHO_C" >&6
18373 else
18374 if test -z "$LD"; then
18375 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18376 for ac_dir in $PATH; do
18377 IFS="$lt_save_ifs"
18378 test -z "$ac_dir" && ac_dir=.
18379 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18380 lt_cv_path_LD="$ac_dir/$ac_prog"
18381 # Check to see if the program is GNU ld. I'd rather use --version,
18382 # but apparently some variants of GNU ld only accept -v.
18383 # Break only if it was the GNU/non-GNU ld that we prefer.
18384 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18385 *GNU* | *'with BFD'*)
18386 test "$with_gnu_ld" != no && break
18389 test "$with_gnu_ld" != yes && break
18391 esac
18393 done
18394 IFS="$lt_save_ifs"
18395 else
18396 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18400 LD="$lt_cv_path_LD"
18401 if test -n "$LD"; then
18402 echo "$as_me:$LINENO: result: $LD" >&5
18403 echo "${ECHO_T}$LD" >&6
18404 else
18405 echo "$as_me:$LINENO: result: no" >&5
18406 echo "${ECHO_T}no" >&6
18408 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18409 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18410 { (exit 1); exit 1; }; }
18411 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18412 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18413 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18414 echo $ECHO_N "(cached) $ECHO_C" >&6
18415 else
18416 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18417 case `$LD -v 2>&1 </dev/null` in
18418 *GNU* | *'with BFD'*)
18419 lt_cv_prog_gnu_ld=yes
18422 lt_cv_prog_gnu_ld=no
18424 esac
18426 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18427 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
18428 with_gnu_ld=$lt_cv_prog_gnu_ld
18436 # If we're not using GNU ld, then there's no point in even trying these
18437 # tests. Check for that first. We should have already tested for gld
18438 # by now (in libtool), but require it now just to be safe...
18439 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
18440 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
18444 # The name set by libtool depends on the version of libtool. Shame on us
18445 # for depending on an impl detail, but c'est la vie. Older versions used
18446 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
18447 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
18448 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
18449 # set (hence we're using an older libtool), then set it.
18450 if test x${with_gnu_ld+set} != xset; then
18451 if test x${ac_cv_prog_gnu_ld+set} != xset; then
18452 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
18453 with_gnu_ld=no
18454 else
18455 with_gnu_ld=$ac_cv_prog_gnu_ld
18459 # Start by getting the version number. I think the libtool test already
18460 # does some of this, but throws away the result.
18461 glibcxx_ld_is_gold=no
18462 if test x"$with_gnu_ld" = x"yes"; then
18463 echo "$as_me:$LINENO: checking for ld version" >&5
18464 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
18466 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
18467 glibcxx_ld_is_gold=yes
18469 ldver=`$LD --version 2>/dev/null | head -1 | \
18470 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
18472 glibcxx_gnu_ld_version=`echo $ldver | \
18473 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
18474 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
18475 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
18478 # Set --gc-sections.
18479 glibcxx_have_gc_sections=no
18480 if test "$glibcxx_ld_is_gold" = "yes"; then
18481 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
18482 glibcxx_have_gc_sections=yes
18484 else
18485 glibcxx_gcsections_min_ld=21602
18486 if test x"$with_gnu_ld" = x"yes" &&
18487 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
18488 glibcxx_have_gc_sections=yes
18491 if test "$glibcxx_have_gc_sections" = "yes"; then
18492 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
18493 # NB: This flag only works reliably after 2.16.1. Configure tests
18494 # for this are difficult, so hard wire a value that should work.
18496 ac_test_CFLAGS="${CFLAGS+set}"
18497 ac_save_CFLAGS="$CFLAGS"
18498 CFLAGS='-Wl,--gc-sections'
18500 # Check for -Wl,--gc-sections
18501 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
18502 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
18503 if test x$gcc_no_link = xyes; then
18504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18506 { (exit 1); exit 1; }; }
18508 cat >conftest.$ac_ext <<_ACEOF
18509 /* confdefs.h. */
18510 _ACEOF
18511 cat confdefs.h >>conftest.$ac_ext
18512 cat >>conftest.$ac_ext <<_ACEOF
18513 /* end confdefs.h. */
18514 int one(void) { return 1; }
18515 int two(void) { return 2; }
18518 main ()
18520 two();
18522 return 0;
18524 _ACEOF
18525 rm -f conftest.$ac_objext conftest$ac_exeext
18526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18527 (eval $ac_link) 2>conftest.er1
18528 ac_status=$?
18529 grep -v '^ *+' conftest.er1 >conftest.err
18530 rm -f conftest.er1
18531 cat conftest.err >&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } &&
18534 { ac_try='test -z "$ac_c_werror_flag"
18535 || test ! -s conftest.err'
18536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18537 (eval $ac_try) 2>&5
18538 ac_status=$?
18539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 (exit $ac_status); }; } &&
18541 { ac_try='test -s conftest$ac_exeext'
18542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18543 (eval $ac_try) 2>&5
18544 ac_status=$?
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); }; }; then
18547 ac_gcsections=yes
18548 else
18549 echo "$as_me: failed program was:" >&5
18550 sed 's/^/| /' conftest.$ac_ext >&5
18552 ac_gcsections=no
18554 rm -f conftest.err conftest.$ac_objext \
18555 conftest$ac_exeext conftest.$ac_ext
18556 if test "$ac_gcsections" = "yes"; then
18557 rm -f conftest.c
18558 touch conftest.c
18559 if $CC -c conftest.c; then
18560 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
18561 grep "Warning: gc-sections option ignored" > /dev/null; then
18562 ac_gcsections=no
18565 rm -f conftest.c conftest.o conftest
18567 if test "$ac_gcsections" = "yes"; then
18568 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
18570 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
18571 echo "${ECHO_T}$ac_gcsections" >&6
18573 if test "$ac_test_CFLAGS" = set; then
18574 CFLAGS="$ac_save_CFLAGS"
18575 else
18576 # this is the suspicious part
18577 CFLAGS=''
18581 # Set -z,relro.
18582 # Note this is only for shared objects.
18583 ac_ld_relro=no
18584 if test x"$with_gnu_ld" = x"yes"; then
18585 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
18586 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
18587 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
18588 if test -n "$cxx_z_relo"; then
18589 OPT_LDFLAGS="-Wl,-z,relro"
18590 ac_ld_relro=yes
18592 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
18593 echo "${ECHO_T}$ac_ld_relro" >&6
18596 # Set linker optimization flags.
18597 if test x"$with_gnu_ld" = x"yes"; then
18598 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
18605 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18606 ac_save_CXXFLAGS="$CXXFLAGS"
18607 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
18609 echo "$as_me:$LINENO: checking for sin in -lm" >&5
18610 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18611 if test "${ac_cv_lib_m_sin+set}" = set; then
18612 echo $ECHO_N "(cached) $ECHO_C" >&6
18613 else
18614 ac_check_lib_save_LIBS=$LIBS
18615 LIBS="-lm $LIBS"
18616 if test x$gcc_no_link = xyes; then
18617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18619 { (exit 1); exit 1; }; }
18621 cat >conftest.$ac_ext <<_ACEOF
18622 /* confdefs.h. */
18623 _ACEOF
18624 cat confdefs.h >>conftest.$ac_ext
18625 cat >>conftest.$ac_ext <<_ACEOF
18626 /* end confdefs.h. */
18628 /* Override any gcc2 internal prototype to avoid an error. */
18629 #ifdef __cplusplus
18630 extern "C"
18631 #endif
18632 /* We use char because int might match the return type of a gcc2
18633 builtin and then its argument prototype would still apply. */
18634 char sin ();
18636 main ()
18638 sin ();
18640 return 0;
18642 _ACEOF
18643 rm -f conftest.$ac_objext conftest$ac_exeext
18644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18645 (eval $ac_link) 2>conftest.er1
18646 ac_status=$?
18647 grep -v '^ *+' conftest.er1 >conftest.err
18648 rm -f conftest.er1
18649 cat conftest.err >&5
18650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18651 (exit $ac_status); } &&
18652 { ac_try='test -z "$ac_c_werror_flag"
18653 || test ! -s conftest.err'
18654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18655 (eval $ac_try) 2>&5
18656 ac_status=$?
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); }; } &&
18659 { ac_try='test -s conftest$ac_exeext'
18660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18661 (eval $ac_try) 2>&5
18662 ac_status=$?
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); }; }; then
18665 ac_cv_lib_m_sin=yes
18666 else
18667 echo "$as_me: failed program was:" >&5
18668 sed 's/^/| /' conftest.$ac_ext >&5
18670 ac_cv_lib_m_sin=no
18672 rm -f conftest.err conftest.$ac_objext \
18673 conftest$ac_exeext conftest.$ac_ext
18674 LIBS=$ac_check_lib_save_LIBS
18676 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18677 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18678 if test $ac_cv_lib_m_sin = yes; then
18679 libm="-lm"
18682 ac_save_LIBS="$LIBS"
18683 LIBS="$LIBS $libm"
18687 echo "$as_me:$LINENO: checking for isinf declaration" >&5
18688 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
18689 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
18690 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
18691 echo $ECHO_N "(cached) $ECHO_C" >&6
18692 else
18696 ac_ext=cc
18697 ac_cpp='$CXXCPP $CPPFLAGS'
18698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18702 cat >conftest.$ac_ext <<_ACEOF
18703 /* confdefs.h. */
18704 _ACEOF
18705 cat confdefs.h >>conftest.$ac_ext
18706 cat >>conftest.$ac_ext <<_ACEOF
18707 /* end confdefs.h. */
18708 #include <math.h>
18709 #ifdef HAVE_IEEEFP_H
18710 #include <ieeefp.h>
18711 #endif
18714 main ()
18716 isinf(0);
18718 return 0;
18720 _ACEOF
18721 rm -f conftest.$ac_objext
18722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18723 (eval $ac_compile) 2>conftest.er1
18724 ac_status=$?
18725 grep -v '^ *+' conftest.er1 >conftest.err
18726 rm -f conftest.er1
18727 cat conftest.err >&5
18728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18729 (exit $ac_status); } &&
18730 { ac_try='test -z "$ac_cxx_werror_flag"
18731 || test ! -s conftest.err'
18732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18733 (eval $ac_try) 2>&5
18734 ac_status=$?
18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 (exit $ac_status); }; } &&
18737 { ac_try='test -s conftest.$ac_objext'
18738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18739 (eval $ac_try) 2>&5
18740 ac_status=$?
18741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18742 (exit $ac_status); }; }; then
18743 glibcxx_cv_func_isinf_use=yes
18744 else
18745 echo "$as_me: failed program was:" >&5
18746 sed 's/^/| /' conftest.$ac_ext >&5
18748 glibcxx_cv_func_isinf_use=no
18750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18751 ac_ext=c
18752 ac_cpp='$CPP $CPPFLAGS'
18753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18761 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
18762 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
18764 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
18766 for ac_func in isinf
18768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18769 echo "$as_me:$LINENO: checking for $ac_func" >&5
18770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18771 if eval "test \"\${$as_ac_var+set}\" = set"; then
18772 echo $ECHO_N "(cached) $ECHO_C" >&6
18773 else
18774 if test x$gcc_no_link = xyes; then
18775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18777 { (exit 1); exit 1; }; }
18779 cat >conftest.$ac_ext <<_ACEOF
18780 /* confdefs.h. */
18781 _ACEOF
18782 cat confdefs.h >>conftest.$ac_ext
18783 cat >>conftest.$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18787 #define $ac_func innocuous_$ac_func
18789 /* System header to define __stub macros and hopefully few prototypes,
18790 which can conflict with char $ac_func (); below.
18791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18792 <limits.h> exists even on freestanding compilers. */
18794 #ifdef __STDC__
18795 # include <limits.h>
18796 #else
18797 # include <assert.h>
18798 #endif
18800 #undef $ac_func
18802 /* Override any gcc2 internal prototype to avoid an error. */
18803 #ifdef __cplusplus
18804 extern "C"
18806 #endif
18807 /* We use char because int might match the return type of a gcc2
18808 builtin and then its argument prototype would still apply. */
18809 char $ac_func ();
18810 /* The GNU C library defines this for functions which it implements
18811 to always fail with ENOSYS. Some functions are actually named
18812 something starting with __ and the normal name is an alias. */
18813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18814 choke me
18815 #else
18816 char (*f) () = $ac_func;
18817 #endif
18818 #ifdef __cplusplus
18820 #endif
18823 main ()
18825 return f != $ac_func;
18827 return 0;
18829 _ACEOF
18830 rm -f conftest.$ac_objext conftest$ac_exeext
18831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18832 (eval $ac_link) 2>conftest.er1
18833 ac_status=$?
18834 grep -v '^ *+' conftest.er1 >conftest.err
18835 rm -f conftest.er1
18836 cat conftest.err >&5
18837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18838 (exit $ac_status); } &&
18839 { ac_try='test -z "$ac_c_werror_flag"
18840 || test ! -s conftest.err'
18841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18842 (eval $ac_try) 2>&5
18843 ac_status=$?
18844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845 (exit $ac_status); }; } &&
18846 { ac_try='test -s conftest$ac_exeext'
18847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18848 (eval $ac_try) 2>&5
18849 ac_status=$?
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); }; }; then
18852 eval "$as_ac_var=yes"
18853 else
18854 echo "$as_me: failed program was:" >&5
18855 sed 's/^/| /' conftest.$ac_ext >&5
18857 eval "$as_ac_var=no"
18859 rm -f conftest.err conftest.$ac_objext \
18860 conftest$ac_exeext conftest.$ac_ext
18862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18864 if test `eval echo '${'$as_ac_var'}'` = yes; then
18865 cat >>confdefs.h <<_ACEOF
18866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18867 _ACEOF
18870 done
18872 else
18874 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
18875 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
18876 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
18877 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
18878 echo $ECHO_N "(cached) $ECHO_C" >&6
18879 else
18883 ac_ext=cc
18884 ac_cpp='$CXXCPP $CPPFLAGS'
18885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18889 cat >conftest.$ac_ext <<_ACEOF
18890 /* confdefs.h. */
18891 _ACEOF
18892 cat confdefs.h >>conftest.$ac_ext
18893 cat >>conftest.$ac_ext <<_ACEOF
18894 /* end confdefs.h. */
18895 #include <math.h>
18896 #ifdef HAVE_IEEEFP_H
18897 #include <ieeefp.h>
18898 #endif
18901 main ()
18903 _isinf(0);
18905 return 0;
18907 _ACEOF
18908 rm -f conftest.$ac_objext
18909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18910 (eval $ac_compile) 2>conftest.er1
18911 ac_status=$?
18912 grep -v '^ *+' conftest.er1 >conftest.err
18913 rm -f conftest.er1
18914 cat conftest.err >&5
18915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18916 (exit $ac_status); } &&
18917 { ac_try='test -z "$ac_cxx_werror_flag"
18918 || test ! -s conftest.err'
18919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18920 (eval $ac_try) 2>&5
18921 ac_status=$?
18922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18923 (exit $ac_status); }; } &&
18924 { ac_try='test -s conftest.$ac_objext'
18925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18926 (eval $ac_try) 2>&5
18927 ac_status=$?
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); }; }; then
18930 glibcxx_cv_func__isinf_use=yes
18931 else
18932 echo "$as_me: failed program was:" >&5
18933 sed 's/^/| /' conftest.$ac_ext >&5
18935 glibcxx_cv_func__isinf_use=no
18937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18938 ac_ext=c
18939 ac_cpp='$CPP $CPPFLAGS'
18940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18948 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
18949 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
18951 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
18953 for ac_func in _isinf
18955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18956 echo "$as_me:$LINENO: checking for $ac_func" >&5
18957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18958 if eval "test \"\${$as_ac_var+set}\" = set"; then
18959 echo $ECHO_N "(cached) $ECHO_C" >&6
18960 else
18961 if test x$gcc_no_link = xyes; then
18962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18964 { (exit 1); exit 1; }; }
18966 cat >conftest.$ac_ext <<_ACEOF
18967 /* confdefs.h. */
18968 _ACEOF
18969 cat confdefs.h >>conftest.$ac_ext
18970 cat >>conftest.$ac_ext <<_ACEOF
18971 /* end confdefs.h. */
18972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18974 #define $ac_func innocuous_$ac_func
18976 /* System header to define __stub macros and hopefully few prototypes,
18977 which can conflict with char $ac_func (); below.
18978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18979 <limits.h> exists even on freestanding compilers. */
18981 #ifdef __STDC__
18982 # include <limits.h>
18983 #else
18984 # include <assert.h>
18985 #endif
18987 #undef $ac_func
18989 /* Override any gcc2 internal prototype to avoid an error. */
18990 #ifdef __cplusplus
18991 extern "C"
18993 #endif
18994 /* We use char because int might match the return type of a gcc2
18995 builtin and then its argument prototype would still apply. */
18996 char $ac_func ();
18997 /* The GNU C library defines this for functions which it implements
18998 to always fail with ENOSYS. Some functions are actually named
18999 something starting with __ and the normal name is an alias. */
19000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19001 choke me
19002 #else
19003 char (*f) () = $ac_func;
19004 #endif
19005 #ifdef __cplusplus
19007 #endif
19010 main ()
19012 return f != $ac_func;
19014 return 0;
19016 _ACEOF
19017 rm -f conftest.$ac_objext conftest$ac_exeext
19018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19019 (eval $ac_link) 2>conftest.er1
19020 ac_status=$?
19021 grep -v '^ *+' conftest.er1 >conftest.err
19022 rm -f conftest.er1
19023 cat conftest.err >&5
19024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025 (exit $ac_status); } &&
19026 { ac_try='test -z "$ac_c_werror_flag"
19027 || test ! -s conftest.err'
19028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19029 (eval $ac_try) 2>&5
19030 ac_status=$?
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); }; } &&
19033 { ac_try='test -s conftest$ac_exeext'
19034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19035 (eval $ac_try) 2>&5
19036 ac_status=$?
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); }; }; then
19039 eval "$as_ac_var=yes"
19040 else
19041 echo "$as_me: failed program was:" >&5
19042 sed 's/^/| /' conftest.$ac_ext >&5
19044 eval "$as_ac_var=no"
19046 rm -f conftest.err conftest.$ac_objext \
19047 conftest$ac_exeext conftest.$ac_ext
19049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19051 if test `eval echo '${'$as_ac_var'}'` = yes; then
19052 cat >>confdefs.h <<_ACEOF
19053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19054 _ACEOF
19057 done
19067 echo "$as_me:$LINENO: checking for isnan declaration" >&5
19068 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
19069 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19070 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
19071 echo $ECHO_N "(cached) $ECHO_C" >&6
19072 else
19076 ac_ext=cc
19077 ac_cpp='$CXXCPP $CPPFLAGS'
19078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19082 cat >conftest.$ac_ext <<_ACEOF
19083 /* confdefs.h. */
19084 _ACEOF
19085 cat confdefs.h >>conftest.$ac_ext
19086 cat >>conftest.$ac_ext <<_ACEOF
19087 /* end confdefs.h. */
19088 #include <math.h>
19089 #ifdef HAVE_IEEEFP_H
19090 #include <ieeefp.h>
19091 #endif
19094 main ()
19096 isnan(0);
19098 return 0;
19100 _ACEOF
19101 rm -f conftest.$ac_objext
19102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19103 (eval $ac_compile) 2>conftest.er1
19104 ac_status=$?
19105 grep -v '^ *+' conftest.er1 >conftest.err
19106 rm -f conftest.er1
19107 cat conftest.err >&5
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); } &&
19110 { ac_try='test -z "$ac_cxx_werror_flag"
19111 || test ! -s conftest.err'
19112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19113 (eval $ac_try) 2>&5
19114 ac_status=$?
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); }; } &&
19117 { ac_try='test -s conftest.$ac_objext'
19118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19119 (eval $ac_try) 2>&5
19120 ac_status=$?
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); }; }; then
19123 glibcxx_cv_func_isnan_use=yes
19124 else
19125 echo "$as_me: failed program was:" >&5
19126 sed 's/^/| /' conftest.$ac_ext >&5
19128 glibcxx_cv_func_isnan_use=no
19130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19131 ac_ext=c
19132 ac_cpp='$CPP $CPPFLAGS'
19133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19141 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
19142 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
19144 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19146 for ac_func in isnan
19148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19149 echo "$as_me:$LINENO: checking for $ac_func" >&5
19150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19151 if eval "test \"\${$as_ac_var+set}\" = set"; then
19152 echo $ECHO_N "(cached) $ECHO_C" >&6
19153 else
19154 if test x$gcc_no_link = xyes; then
19155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19157 { (exit 1); exit 1; }; }
19159 cat >conftest.$ac_ext <<_ACEOF
19160 /* confdefs.h. */
19161 _ACEOF
19162 cat confdefs.h >>conftest.$ac_ext
19163 cat >>conftest.$ac_ext <<_ACEOF
19164 /* end confdefs.h. */
19165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19167 #define $ac_func innocuous_$ac_func
19169 /* System header to define __stub macros and hopefully few prototypes,
19170 which can conflict with char $ac_func (); below.
19171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19172 <limits.h> exists even on freestanding compilers. */
19174 #ifdef __STDC__
19175 # include <limits.h>
19176 #else
19177 # include <assert.h>
19178 #endif
19180 #undef $ac_func
19182 /* Override any gcc2 internal prototype to avoid an error. */
19183 #ifdef __cplusplus
19184 extern "C"
19186 #endif
19187 /* We use char because int might match the return type of a gcc2
19188 builtin and then its argument prototype would still apply. */
19189 char $ac_func ();
19190 /* The GNU C library defines this for functions which it implements
19191 to always fail with ENOSYS. Some functions are actually named
19192 something starting with __ and the normal name is an alias. */
19193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19194 choke me
19195 #else
19196 char (*f) () = $ac_func;
19197 #endif
19198 #ifdef __cplusplus
19200 #endif
19203 main ()
19205 return f != $ac_func;
19207 return 0;
19209 _ACEOF
19210 rm -f conftest.$ac_objext conftest$ac_exeext
19211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19212 (eval $ac_link) 2>conftest.er1
19213 ac_status=$?
19214 grep -v '^ *+' conftest.er1 >conftest.err
19215 rm -f conftest.er1
19216 cat conftest.err >&5
19217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19218 (exit $ac_status); } &&
19219 { ac_try='test -z "$ac_c_werror_flag"
19220 || test ! -s conftest.err'
19221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19222 (eval $ac_try) 2>&5
19223 ac_status=$?
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); }; } &&
19226 { ac_try='test -s conftest$ac_exeext'
19227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19228 (eval $ac_try) 2>&5
19229 ac_status=$?
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); }; }; then
19232 eval "$as_ac_var=yes"
19233 else
19234 echo "$as_me: failed program was:" >&5
19235 sed 's/^/| /' conftest.$ac_ext >&5
19237 eval "$as_ac_var=no"
19239 rm -f conftest.err conftest.$ac_objext \
19240 conftest$ac_exeext conftest.$ac_ext
19242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19244 if test `eval echo '${'$as_ac_var'}'` = yes; then
19245 cat >>confdefs.h <<_ACEOF
19246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19247 _ACEOF
19250 done
19252 else
19254 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
19255 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
19256 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19257 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
19258 echo $ECHO_N "(cached) $ECHO_C" >&6
19259 else
19263 ac_ext=cc
19264 ac_cpp='$CXXCPP $CPPFLAGS'
19265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19269 cat >conftest.$ac_ext <<_ACEOF
19270 /* confdefs.h. */
19271 _ACEOF
19272 cat confdefs.h >>conftest.$ac_ext
19273 cat >>conftest.$ac_ext <<_ACEOF
19274 /* end confdefs.h. */
19275 #include <math.h>
19276 #ifdef HAVE_IEEEFP_H
19277 #include <ieeefp.h>
19278 #endif
19281 main ()
19283 _isnan(0);
19285 return 0;
19287 _ACEOF
19288 rm -f conftest.$ac_objext
19289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19290 (eval $ac_compile) 2>conftest.er1
19291 ac_status=$?
19292 grep -v '^ *+' conftest.er1 >conftest.err
19293 rm -f conftest.er1
19294 cat conftest.err >&5
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); } &&
19297 { ac_try='test -z "$ac_cxx_werror_flag"
19298 || test ! -s conftest.err'
19299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19300 (eval $ac_try) 2>&5
19301 ac_status=$?
19302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19303 (exit $ac_status); }; } &&
19304 { ac_try='test -s conftest.$ac_objext'
19305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19306 (eval $ac_try) 2>&5
19307 ac_status=$?
19308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19309 (exit $ac_status); }; }; then
19310 glibcxx_cv_func__isnan_use=yes
19311 else
19312 echo "$as_me: failed program was:" >&5
19313 sed 's/^/| /' conftest.$ac_ext >&5
19315 glibcxx_cv_func__isnan_use=no
19317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19318 ac_ext=c
19319 ac_cpp='$CPP $CPPFLAGS'
19320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19328 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
19329 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
19331 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19333 for ac_func in _isnan
19335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19336 echo "$as_me:$LINENO: checking for $ac_func" >&5
19337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19338 if eval "test \"\${$as_ac_var+set}\" = set"; then
19339 echo $ECHO_N "(cached) $ECHO_C" >&6
19340 else
19341 if test x$gcc_no_link = xyes; then
19342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19344 { (exit 1); exit 1; }; }
19346 cat >conftest.$ac_ext <<_ACEOF
19347 /* confdefs.h. */
19348 _ACEOF
19349 cat confdefs.h >>conftest.$ac_ext
19350 cat >>conftest.$ac_ext <<_ACEOF
19351 /* end confdefs.h. */
19352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19354 #define $ac_func innocuous_$ac_func
19356 /* System header to define __stub macros and hopefully few prototypes,
19357 which can conflict with char $ac_func (); below.
19358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19359 <limits.h> exists even on freestanding compilers. */
19361 #ifdef __STDC__
19362 # include <limits.h>
19363 #else
19364 # include <assert.h>
19365 #endif
19367 #undef $ac_func
19369 /* Override any gcc2 internal prototype to avoid an error. */
19370 #ifdef __cplusplus
19371 extern "C"
19373 #endif
19374 /* We use char because int might match the return type of a gcc2
19375 builtin and then its argument prototype would still apply. */
19376 char $ac_func ();
19377 /* The GNU C library defines this for functions which it implements
19378 to always fail with ENOSYS. Some functions are actually named
19379 something starting with __ and the normal name is an alias. */
19380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19381 choke me
19382 #else
19383 char (*f) () = $ac_func;
19384 #endif
19385 #ifdef __cplusplus
19387 #endif
19390 main ()
19392 return f != $ac_func;
19394 return 0;
19396 _ACEOF
19397 rm -f conftest.$ac_objext conftest$ac_exeext
19398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19399 (eval $ac_link) 2>conftest.er1
19400 ac_status=$?
19401 grep -v '^ *+' conftest.er1 >conftest.err
19402 rm -f conftest.er1
19403 cat conftest.err >&5
19404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405 (exit $ac_status); } &&
19406 { ac_try='test -z "$ac_c_werror_flag"
19407 || test ! -s conftest.err'
19408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19409 (eval $ac_try) 2>&5
19410 ac_status=$?
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); }; } &&
19413 { ac_try='test -s conftest$ac_exeext'
19414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19415 (eval $ac_try) 2>&5
19416 ac_status=$?
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); }; }; then
19419 eval "$as_ac_var=yes"
19420 else
19421 echo "$as_me: failed program was:" >&5
19422 sed 's/^/| /' conftest.$ac_ext >&5
19424 eval "$as_ac_var=no"
19426 rm -f conftest.err conftest.$ac_objext \
19427 conftest$ac_exeext conftest.$ac_ext
19429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19431 if test `eval echo '${'$as_ac_var'}'` = yes; then
19432 cat >>confdefs.h <<_ACEOF
19433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19434 _ACEOF
19437 done
19447 echo "$as_me:$LINENO: checking for finite declaration" >&5
19448 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
19449 if test x${glibcxx_cv_func_finite_use+set} != xset; then
19450 if test "${glibcxx_cv_func_finite_use+set}" = set; then
19451 echo $ECHO_N "(cached) $ECHO_C" >&6
19452 else
19456 ac_ext=cc
19457 ac_cpp='$CXXCPP $CPPFLAGS'
19458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19462 cat >conftest.$ac_ext <<_ACEOF
19463 /* confdefs.h. */
19464 _ACEOF
19465 cat confdefs.h >>conftest.$ac_ext
19466 cat >>conftest.$ac_ext <<_ACEOF
19467 /* end confdefs.h. */
19468 #include <math.h>
19469 #ifdef HAVE_IEEEFP_H
19470 #include <ieeefp.h>
19471 #endif
19474 main ()
19476 finite(0);
19478 return 0;
19480 _ACEOF
19481 rm -f conftest.$ac_objext
19482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19483 (eval $ac_compile) 2>conftest.er1
19484 ac_status=$?
19485 grep -v '^ *+' conftest.er1 >conftest.err
19486 rm -f conftest.er1
19487 cat conftest.err >&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); } &&
19490 { ac_try='test -z "$ac_cxx_werror_flag"
19491 || test ! -s conftest.err'
19492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19493 (eval $ac_try) 2>&5
19494 ac_status=$?
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); }; } &&
19497 { ac_try='test -s conftest.$ac_objext'
19498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19499 (eval $ac_try) 2>&5
19500 ac_status=$?
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); }; }; then
19503 glibcxx_cv_func_finite_use=yes
19504 else
19505 echo "$as_me: failed program was:" >&5
19506 sed 's/^/| /' conftest.$ac_ext >&5
19508 glibcxx_cv_func_finite_use=no
19510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19511 ac_ext=c
19512 ac_cpp='$CPP $CPPFLAGS'
19513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19521 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
19522 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
19524 if test x$glibcxx_cv_func_finite_use = x"yes"; then
19526 for ac_func in finite
19528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19529 echo "$as_me:$LINENO: checking for $ac_func" >&5
19530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19531 if eval "test \"\${$as_ac_var+set}\" = set"; then
19532 echo $ECHO_N "(cached) $ECHO_C" >&6
19533 else
19534 if test x$gcc_no_link = xyes; then
19535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19537 { (exit 1); exit 1; }; }
19539 cat >conftest.$ac_ext <<_ACEOF
19540 /* confdefs.h. */
19541 _ACEOF
19542 cat confdefs.h >>conftest.$ac_ext
19543 cat >>conftest.$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19547 #define $ac_func innocuous_$ac_func
19549 /* System header to define __stub macros and hopefully few prototypes,
19550 which can conflict with char $ac_func (); below.
19551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19552 <limits.h> exists even on freestanding compilers. */
19554 #ifdef __STDC__
19555 # include <limits.h>
19556 #else
19557 # include <assert.h>
19558 #endif
19560 #undef $ac_func
19562 /* Override any gcc2 internal prototype to avoid an error. */
19563 #ifdef __cplusplus
19564 extern "C"
19566 #endif
19567 /* We use char because int might match the return type of a gcc2
19568 builtin and then its argument prototype would still apply. */
19569 char $ac_func ();
19570 /* The GNU C library defines this for functions which it implements
19571 to always fail with ENOSYS. Some functions are actually named
19572 something starting with __ and the normal name is an alias. */
19573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19574 choke me
19575 #else
19576 char (*f) () = $ac_func;
19577 #endif
19578 #ifdef __cplusplus
19580 #endif
19583 main ()
19585 return f != $ac_func;
19587 return 0;
19589 _ACEOF
19590 rm -f conftest.$ac_objext conftest$ac_exeext
19591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19592 (eval $ac_link) 2>conftest.er1
19593 ac_status=$?
19594 grep -v '^ *+' conftest.er1 >conftest.err
19595 rm -f conftest.er1
19596 cat conftest.err >&5
19597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598 (exit $ac_status); } &&
19599 { ac_try='test -z "$ac_c_werror_flag"
19600 || test ! -s conftest.err'
19601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19602 (eval $ac_try) 2>&5
19603 ac_status=$?
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); }; } &&
19606 { ac_try='test -s conftest$ac_exeext'
19607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19608 (eval $ac_try) 2>&5
19609 ac_status=$?
19610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 (exit $ac_status); }; }; then
19612 eval "$as_ac_var=yes"
19613 else
19614 echo "$as_me: failed program was:" >&5
19615 sed 's/^/| /' conftest.$ac_ext >&5
19617 eval "$as_ac_var=no"
19619 rm -f conftest.err conftest.$ac_objext \
19620 conftest$ac_exeext conftest.$ac_ext
19622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19624 if test `eval echo '${'$as_ac_var'}'` = yes; then
19625 cat >>confdefs.h <<_ACEOF
19626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19627 _ACEOF
19630 done
19632 else
19634 echo "$as_me:$LINENO: checking for _finite declaration" >&5
19635 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
19636 if test x${glibcxx_cv_func__finite_use+set} != xset; then
19637 if test "${glibcxx_cv_func__finite_use+set}" = set; then
19638 echo $ECHO_N "(cached) $ECHO_C" >&6
19639 else
19643 ac_ext=cc
19644 ac_cpp='$CXXCPP $CPPFLAGS'
19645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19649 cat >conftest.$ac_ext <<_ACEOF
19650 /* confdefs.h. */
19651 _ACEOF
19652 cat confdefs.h >>conftest.$ac_ext
19653 cat >>conftest.$ac_ext <<_ACEOF
19654 /* end confdefs.h. */
19655 #include <math.h>
19656 #ifdef HAVE_IEEEFP_H
19657 #include <ieeefp.h>
19658 #endif
19661 main ()
19663 _finite(0);
19665 return 0;
19667 _ACEOF
19668 rm -f conftest.$ac_objext
19669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19670 (eval $ac_compile) 2>conftest.er1
19671 ac_status=$?
19672 grep -v '^ *+' conftest.er1 >conftest.err
19673 rm -f conftest.er1
19674 cat conftest.err >&5
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); } &&
19677 { ac_try='test -z "$ac_cxx_werror_flag"
19678 || test ! -s conftest.err'
19679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19680 (eval $ac_try) 2>&5
19681 ac_status=$?
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); }; } &&
19684 { ac_try='test -s conftest.$ac_objext'
19685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19686 (eval $ac_try) 2>&5
19687 ac_status=$?
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); }; }; then
19690 glibcxx_cv_func__finite_use=yes
19691 else
19692 echo "$as_me: failed program was:" >&5
19693 sed 's/^/| /' conftest.$ac_ext >&5
19695 glibcxx_cv_func__finite_use=no
19697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19698 ac_ext=c
19699 ac_cpp='$CPP $CPPFLAGS'
19700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19708 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
19709 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
19711 if test x$glibcxx_cv_func__finite_use = x"yes"; then
19713 for ac_func in _finite
19715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19716 echo "$as_me:$LINENO: checking for $ac_func" >&5
19717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19718 if eval "test \"\${$as_ac_var+set}\" = set"; then
19719 echo $ECHO_N "(cached) $ECHO_C" >&6
19720 else
19721 if test x$gcc_no_link = xyes; then
19722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19724 { (exit 1); exit 1; }; }
19726 cat >conftest.$ac_ext <<_ACEOF
19727 /* confdefs.h. */
19728 _ACEOF
19729 cat confdefs.h >>conftest.$ac_ext
19730 cat >>conftest.$ac_ext <<_ACEOF
19731 /* end confdefs.h. */
19732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19734 #define $ac_func innocuous_$ac_func
19736 /* System header to define __stub macros and hopefully few prototypes,
19737 which can conflict with char $ac_func (); below.
19738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19739 <limits.h> exists even on freestanding compilers. */
19741 #ifdef __STDC__
19742 # include <limits.h>
19743 #else
19744 # include <assert.h>
19745 #endif
19747 #undef $ac_func
19749 /* Override any gcc2 internal prototype to avoid an error. */
19750 #ifdef __cplusplus
19751 extern "C"
19753 #endif
19754 /* We use char because int might match the return type of a gcc2
19755 builtin and then its argument prototype would still apply. */
19756 char $ac_func ();
19757 /* The GNU C library defines this for functions which it implements
19758 to always fail with ENOSYS. Some functions are actually named
19759 something starting with __ and the normal name is an alias. */
19760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19761 choke me
19762 #else
19763 char (*f) () = $ac_func;
19764 #endif
19765 #ifdef __cplusplus
19767 #endif
19770 main ()
19772 return f != $ac_func;
19774 return 0;
19776 _ACEOF
19777 rm -f conftest.$ac_objext conftest$ac_exeext
19778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19779 (eval $ac_link) 2>conftest.er1
19780 ac_status=$?
19781 grep -v '^ *+' conftest.er1 >conftest.err
19782 rm -f conftest.er1
19783 cat conftest.err >&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); } &&
19786 { ac_try='test -z "$ac_c_werror_flag"
19787 || test ! -s conftest.err'
19788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19789 (eval $ac_try) 2>&5
19790 ac_status=$?
19791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); }; } &&
19793 { ac_try='test -s conftest$ac_exeext'
19794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19795 (eval $ac_try) 2>&5
19796 ac_status=$?
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); }; }; then
19799 eval "$as_ac_var=yes"
19800 else
19801 echo "$as_me: failed program was:" >&5
19802 sed 's/^/| /' conftest.$ac_ext >&5
19804 eval "$as_ac_var=no"
19806 rm -f conftest.err conftest.$ac_objext \
19807 conftest$ac_exeext conftest.$ac_ext
19809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19811 if test `eval echo '${'$as_ac_var'}'` = yes; then
19812 cat >>confdefs.h <<_ACEOF
19813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19814 _ACEOF
19817 done
19827 echo "$as_me:$LINENO: checking for copysign declaration" >&5
19828 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
19829 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
19830 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
19831 echo $ECHO_N "(cached) $ECHO_C" >&6
19832 else
19836 ac_ext=cc
19837 ac_cpp='$CXXCPP $CPPFLAGS'
19838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19842 cat >conftest.$ac_ext <<_ACEOF
19843 /* confdefs.h. */
19844 _ACEOF
19845 cat confdefs.h >>conftest.$ac_ext
19846 cat >>conftest.$ac_ext <<_ACEOF
19847 /* end confdefs.h. */
19848 #include <math.h>
19850 main ()
19852 copysign(0, 0);
19854 return 0;
19856 _ACEOF
19857 rm -f conftest.$ac_objext
19858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19859 (eval $ac_compile) 2>conftest.er1
19860 ac_status=$?
19861 grep -v '^ *+' conftest.er1 >conftest.err
19862 rm -f conftest.er1
19863 cat conftest.err >&5
19864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19865 (exit $ac_status); } &&
19866 { ac_try='test -z "$ac_cxx_werror_flag"
19867 || test ! -s conftest.err'
19868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19869 (eval $ac_try) 2>&5
19870 ac_status=$?
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); }; } &&
19873 { ac_try='test -s conftest.$ac_objext'
19874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19875 (eval $ac_try) 2>&5
19876 ac_status=$?
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); }; }; then
19879 glibcxx_cv_func_copysign_use=yes
19880 else
19881 echo "$as_me: failed program was:" >&5
19882 sed 's/^/| /' conftest.$ac_ext >&5
19884 glibcxx_cv_func_copysign_use=no
19886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19887 ac_ext=c
19888 ac_cpp='$CPP $CPPFLAGS'
19889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19897 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
19898 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
19900 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
19902 for ac_func in copysign
19904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19905 echo "$as_me:$LINENO: checking for $ac_func" >&5
19906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19907 if eval "test \"\${$as_ac_var+set}\" = set"; then
19908 echo $ECHO_N "(cached) $ECHO_C" >&6
19909 else
19910 if test x$gcc_no_link = xyes; then
19911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19913 { (exit 1); exit 1; }; }
19915 cat >conftest.$ac_ext <<_ACEOF
19916 /* confdefs.h. */
19917 _ACEOF
19918 cat confdefs.h >>conftest.$ac_ext
19919 cat >>conftest.$ac_ext <<_ACEOF
19920 /* end confdefs.h. */
19921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19923 #define $ac_func innocuous_$ac_func
19925 /* System header to define __stub macros and hopefully few prototypes,
19926 which can conflict with char $ac_func (); below.
19927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19928 <limits.h> exists even on freestanding compilers. */
19930 #ifdef __STDC__
19931 # include <limits.h>
19932 #else
19933 # include <assert.h>
19934 #endif
19936 #undef $ac_func
19938 /* Override any gcc2 internal prototype to avoid an error. */
19939 #ifdef __cplusplus
19940 extern "C"
19942 #endif
19943 /* We use char because int might match the return type of a gcc2
19944 builtin and then its argument prototype would still apply. */
19945 char $ac_func ();
19946 /* The GNU C library defines this for functions which it implements
19947 to always fail with ENOSYS. Some functions are actually named
19948 something starting with __ and the normal name is an alias. */
19949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19950 choke me
19951 #else
19952 char (*f) () = $ac_func;
19953 #endif
19954 #ifdef __cplusplus
19956 #endif
19959 main ()
19961 return f != $ac_func;
19963 return 0;
19965 _ACEOF
19966 rm -f conftest.$ac_objext conftest$ac_exeext
19967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19968 (eval $ac_link) 2>conftest.er1
19969 ac_status=$?
19970 grep -v '^ *+' conftest.er1 >conftest.err
19971 rm -f conftest.er1
19972 cat conftest.err >&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); } &&
19975 { ac_try='test -z "$ac_c_werror_flag"
19976 || test ! -s conftest.err'
19977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19978 (eval $ac_try) 2>&5
19979 ac_status=$?
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); }; } &&
19982 { ac_try='test -s conftest$ac_exeext'
19983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19984 (eval $ac_try) 2>&5
19985 ac_status=$?
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); }; }; then
19988 eval "$as_ac_var=yes"
19989 else
19990 echo "$as_me: failed program was:" >&5
19991 sed 's/^/| /' conftest.$ac_ext >&5
19993 eval "$as_ac_var=no"
19995 rm -f conftest.err conftest.$ac_objext \
19996 conftest$ac_exeext conftest.$ac_ext
19998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20000 if test `eval echo '${'$as_ac_var'}'` = yes; then
20001 cat >>confdefs.h <<_ACEOF
20002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20003 _ACEOF
20006 done
20008 else
20010 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
20011 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
20012 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
20013 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
20014 echo $ECHO_N "(cached) $ECHO_C" >&6
20015 else
20019 ac_ext=cc
20020 ac_cpp='$CXXCPP $CPPFLAGS'
20021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20025 cat >conftest.$ac_ext <<_ACEOF
20026 /* confdefs.h. */
20027 _ACEOF
20028 cat confdefs.h >>conftest.$ac_ext
20029 cat >>conftest.$ac_ext <<_ACEOF
20030 /* end confdefs.h. */
20031 #include <math.h>
20033 main ()
20035 _copysign(0, 0);
20037 return 0;
20039 _ACEOF
20040 rm -f conftest.$ac_objext
20041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20042 (eval $ac_compile) 2>conftest.er1
20043 ac_status=$?
20044 grep -v '^ *+' conftest.er1 >conftest.err
20045 rm -f conftest.er1
20046 cat conftest.err >&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); } &&
20049 { ac_try='test -z "$ac_cxx_werror_flag"
20050 || test ! -s conftest.err'
20051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20052 (eval $ac_try) 2>&5
20053 ac_status=$?
20054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20055 (exit $ac_status); }; } &&
20056 { ac_try='test -s conftest.$ac_objext'
20057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20058 (eval $ac_try) 2>&5
20059 ac_status=$?
20060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20061 (exit $ac_status); }; }; then
20062 glibcxx_cv_func__copysign_use=yes
20063 else
20064 echo "$as_me: failed program was:" >&5
20065 sed 's/^/| /' conftest.$ac_ext >&5
20067 glibcxx_cv_func__copysign_use=no
20069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20070 ac_ext=c
20071 ac_cpp='$CPP $CPPFLAGS'
20072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20080 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
20081 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
20083 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
20085 for ac_func in _copysign
20087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20088 echo "$as_me:$LINENO: checking for $ac_func" >&5
20089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20090 if eval "test \"\${$as_ac_var+set}\" = set"; then
20091 echo $ECHO_N "(cached) $ECHO_C" >&6
20092 else
20093 if test x$gcc_no_link = xyes; then
20094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20096 { (exit 1); exit 1; }; }
20098 cat >conftest.$ac_ext <<_ACEOF
20099 /* confdefs.h. */
20100 _ACEOF
20101 cat confdefs.h >>conftest.$ac_ext
20102 cat >>conftest.$ac_ext <<_ACEOF
20103 /* end confdefs.h. */
20104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20106 #define $ac_func innocuous_$ac_func
20108 /* System header to define __stub macros and hopefully few prototypes,
20109 which can conflict with char $ac_func (); below.
20110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20111 <limits.h> exists even on freestanding compilers. */
20113 #ifdef __STDC__
20114 # include <limits.h>
20115 #else
20116 # include <assert.h>
20117 #endif
20119 #undef $ac_func
20121 /* Override any gcc2 internal prototype to avoid an error. */
20122 #ifdef __cplusplus
20123 extern "C"
20125 #endif
20126 /* We use char because int might match the return type of a gcc2
20127 builtin and then its argument prototype would still apply. */
20128 char $ac_func ();
20129 /* The GNU C library defines this for functions which it implements
20130 to always fail with ENOSYS. Some functions are actually named
20131 something starting with __ and the normal name is an alias. */
20132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20133 choke me
20134 #else
20135 char (*f) () = $ac_func;
20136 #endif
20137 #ifdef __cplusplus
20139 #endif
20142 main ()
20144 return f != $ac_func;
20146 return 0;
20148 _ACEOF
20149 rm -f conftest.$ac_objext conftest$ac_exeext
20150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20151 (eval $ac_link) 2>conftest.er1
20152 ac_status=$?
20153 grep -v '^ *+' conftest.er1 >conftest.err
20154 rm -f conftest.er1
20155 cat conftest.err >&5
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); } &&
20158 { ac_try='test -z "$ac_c_werror_flag"
20159 || test ! -s conftest.err'
20160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20161 (eval $ac_try) 2>&5
20162 ac_status=$?
20163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20164 (exit $ac_status); }; } &&
20165 { ac_try='test -s conftest$ac_exeext'
20166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20167 (eval $ac_try) 2>&5
20168 ac_status=$?
20169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20170 (exit $ac_status); }; }; then
20171 eval "$as_ac_var=yes"
20172 else
20173 echo "$as_me: failed program was:" >&5
20174 sed 's/^/| /' conftest.$ac_ext >&5
20176 eval "$as_ac_var=no"
20178 rm -f conftest.err conftest.$ac_objext \
20179 conftest$ac_exeext conftest.$ac_ext
20181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20183 if test `eval echo '${'$as_ac_var'}'` = yes; then
20184 cat >>confdefs.h <<_ACEOF
20185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20186 _ACEOF
20189 done
20199 echo "$as_me:$LINENO: checking for sincos declaration" >&5
20200 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
20201 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20202 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
20203 echo $ECHO_N "(cached) $ECHO_C" >&6
20204 else
20208 ac_ext=cc
20209 ac_cpp='$CXXCPP $CPPFLAGS'
20210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20214 cat >conftest.$ac_ext <<_ACEOF
20215 /* confdefs.h. */
20216 _ACEOF
20217 cat confdefs.h >>conftest.$ac_ext
20218 cat >>conftest.$ac_ext <<_ACEOF
20219 /* end confdefs.h. */
20220 #include <math.h>
20222 main ()
20224 sincos(0, 0, 0);
20226 return 0;
20228 _ACEOF
20229 rm -f conftest.$ac_objext
20230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20231 (eval $ac_compile) 2>conftest.er1
20232 ac_status=$?
20233 grep -v '^ *+' conftest.er1 >conftest.err
20234 rm -f conftest.er1
20235 cat conftest.err >&5
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); } &&
20238 { ac_try='test -z "$ac_cxx_werror_flag"
20239 || test ! -s conftest.err'
20240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20241 (eval $ac_try) 2>&5
20242 ac_status=$?
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); }; } &&
20245 { ac_try='test -s conftest.$ac_objext'
20246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20247 (eval $ac_try) 2>&5
20248 ac_status=$?
20249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250 (exit $ac_status); }; }; then
20251 glibcxx_cv_func_sincos_use=yes
20252 else
20253 echo "$as_me: failed program was:" >&5
20254 sed 's/^/| /' conftest.$ac_ext >&5
20256 glibcxx_cv_func_sincos_use=no
20258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20259 ac_ext=c
20260 ac_cpp='$CPP $CPPFLAGS'
20261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20269 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
20270 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
20272 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20274 for ac_func in sincos
20276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20277 echo "$as_me:$LINENO: checking for $ac_func" >&5
20278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20279 if eval "test \"\${$as_ac_var+set}\" = set"; then
20280 echo $ECHO_N "(cached) $ECHO_C" >&6
20281 else
20282 if test x$gcc_no_link = xyes; then
20283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20285 { (exit 1); exit 1; }; }
20287 cat >conftest.$ac_ext <<_ACEOF
20288 /* confdefs.h. */
20289 _ACEOF
20290 cat confdefs.h >>conftest.$ac_ext
20291 cat >>conftest.$ac_ext <<_ACEOF
20292 /* end confdefs.h. */
20293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20295 #define $ac_func innocuous_$ac_func
20297 /* System header to define __stub macros and hopefully few prototypes,
20298 which can conflict with char $ac_func (); below.
20299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20300 <limits.h> exists even on freestanding compilers. */
20302 #ifdef __STDC__
20303 # include <limits.h>
20304 #else
20305 # include <assert.h>
20306 #endif
20308 #undef $ac_func
20310 /* Override any gcc2 internal prototype to avoid an error. */
20311 #ifdef __cplusplus
20312 extern "C"
20314 #endif
20315 /* We use char because int might match the return type of a gcc2
20316 builtin and then its argument prototype would still apply. */
20317 char $ac_func ();
20318 /* The GNU C library defines this for functions which it implements
20319 to always fail with ENOSYS. Some functions are actually named
20320 something starting with __ and the normal name is an alias. */
20321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20322 choke me
20323 #else
20324 char (*f) () = $ac_func;
20325 #endif
20326 #ifdef __cplusplus
20328 #endif
20331 main ()
20333 return f != $ac_func;
20335 return 0;
20337 _ACEOF
20338 rm -f conftest.$ac_objext conftest$ac_exeext
20339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20340 (eval $ac_link) 2>conftest.er1
20341 ac_status=$?
20342 grep -v '^ *+' conftest.er1 >conftest.err
20343 rm -f conftest.er1
20344 cat conftest.err >&5
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); } &&
20347 { ac_try='test -z "$ac_c_werror_flag"
20348 || test ! -s conftest.err'
20349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20350 (eval $ac_try) 2>&5
20351 ac_status=$?
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); }; } &&
20354 { ac_try='test -s conftest$ac_exeext'
20355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20356 (eval $ac_try) 2>&5
20357 ac_status=$?
20358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359 (exit $ac_status); }; }; then
20360 eval "$as_ac_var=yes"
20361 else
20362 echo "$as_me: failed program was:" >&5
20363 sed 's/^/| /' conftest.$ac_ext >&5
20365 eval "$as_ac_var=no"
20367 rm -f conftest.err conftest.$ac_objext \
20368 conftest$ac_exeext conftest.$ac_ext
20370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20372 if test `eval echo '${'$as_ac_var'}'` = yes; then
20373 cat >>confdefs.h <<_ACEOF
20374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20375 _ACEOF
20378 done
20380 else
20382 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
20383 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
20384 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20385 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
20386 echo $ECHO_N "(cached) $ECHO_C" >&6
20387 else
20391 ac_ext=cc
20392 ac_cpp='$CXXCPP $CPPFLAGS'
20393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20397 cat >conftest.$ac_ext <<_ACEOF
20398 /* confdefs.h. */
20399 _ACEOF
20400 cat confdefs.h >>conftest.$ac_ext
20401 cat >>conftest.$ac_ext <<_ACEOF
20402 /* end confdefs.h. */
20403 #include <math.h>
20405 main ()
20407 _sincos(0, 0, 0);
20409 return 0;
20411 _ACEOF
20412 rm -f conftest.$ac_objext
20413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20414 (eval $ac_compile) 2>conftest.er1
20415 ac_status=$?
20416 grep -v '^ *+' conftest.er1 >conftest.err
20417 rm -f conftest.er1
20418 cat conftest.err >&5
20419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420 (exit $ac_status); } &&
20421 { ac_try='test -z "$ac_cxx_werror_flag"
20422 || test ! -s conftest.err'
20423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20424 (eval $ac_try) 2>&5
20425 ac_status=$?
20426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20427 (exit $ac_status); }; } &&
20428 { ac_try='test -s conftest.$ac_objext'
20429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20430 (eval $ac_try) 2>&5
20431 ac_status=$?
20432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20433 (exit $ac_status); }; }; then
20434 glibcxx_cv_func__sincos_use=yes
20435 else
20436 echo "$as_me: failed program was:" >&5
20437 sed 's/^/| /' conftest.$ac_ext >&5
20439 glibcxx_cv_func__sincos_use=no
20441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20442 ac_ext=c
20443 ac_cpp='$CPP $CPPFLAGS'
20444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20452 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
20453 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
20455 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20457 for ac_func in _sincos
20459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20460 echo "$as_me:$LINENO: checking for $ac_func" >&5
20461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20462 if eval "test \"\${$as_ac_var+set}\" = set"; then
20463 echo $ECHO_N "(cached) $ECHO_C" >&6
20464 else
20465 if test x$gcc_no_link = xyes; then
20466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20468 { (exit 1); exit 1; }; }
20470 cat >conftest.$ac_ext <<_ACEOF
20471 /* confdefs.h. */
20472 _ACEOF
20473 cat confdefs.h >>conftest.$ac_ext
20474 cat >>conftest.$ac_ext <<_ACEOF
20475 /* end confdefs.h. */
20476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20478 #define $ac_func innocuous_$ac_func
20480 /* System header to define __stub macros and hopefully few prototypes,
20481 which can conflict with char $ac_func (); below.
20482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20483 <limits.h> exists even on freestanding compilers. */
20485 #ifdef __STDC__
20486 # include <limits.h>
20487 #else
20488 # include <assert.h>
20489 #endif
20491 #undef $ac_func
20493 /* Override any gcc2 internal prototype to avoid an error. */
20494 #ifdef __cplusplus
20495 extern "C"
20497 #endif
20498 /* We use char because int might match the return type of a gcc2
20499 builtin and then its argument prototype would still apply. */
20500 char $ac_func ();
20501 /* The GNU C library defines this for functions which it implements
20502 to always fail with ENOSYS. Some functions are actually named
20503 something starting with __ and the normal name is an alias. */
20504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20505 choke me
20506 #else
20507 char (*f) () = $ac_func;
20508 #endif
20509 #ifdef __cplusplus
20511 #endif
20514 main ()
20516 return f != $ac_func;
20518 return 0;
20520 _ACEOF
20521 rm -f conftest.$ac_objext conftest$ac_exeext
20522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20523 (eval $ac_link) 2>conftest.er1
20524 ac_status=$?
20525 grep -v '^ *+' conftest.er1 >conftest.err
20526 rm -f conftest.er1
20527 cat conftest.err >&5
20528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20529 (exit $ac_status); } &&
20530 { ac_try='test -z "$ac_c_werror_flag"
20531 || test ! -s conftest.err'
20532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20533 (eval $ac_try) 2>&5
20534 ac_status=$?
20535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 (exit $ac_status); }; } &&
20537 { ac_try='test -s conftest$ac_exeext'
20538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20539 (eval $ac_try) 2>&5
20540 ac_status=$?
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); }; }; then
20543 eval "$as_ac_var=yes"
20544 else
20545 echo "$as_me: failed program was:" >&5
20546 sed 's/^/| /' conftest.$ac_ext >&5
20548 eval "$as_ac_var=no"
20550 rm -f conftest.err conftest.$ac_objext \
20551 conftest$ac_exeext conftest.$ac_ext
20553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20555 if test `eval echo '${'$as_ac_var'}'` = yes; then
20556 cat >>confdefs.h <<_ACEOF
20557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20558 _ACEOF
20561 done
20571 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
20572 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
20573 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20574 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
20575 echo $ECHO_N "(cached) $ECHO_C" >&6
20576 else
20580 ac_ext=cc
20581 ac_cpp='$CXXCPP $CPPFLAGS'
20582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20586 cat >conftest.$ac_ext <<_ACEOF
20587 /* confdefs.h. */
20588 _ACEOF
20589 cat confdefs.h >>conftest.$ac_ext
20590 cat >>conftest.$ac_ext <<_ACEOF
20591 /* end confdefs.h. */
20592 #include <math.h>
20593 #ifdef HAVE_IEEEFP_H
20594 #include <ieeefp.h>
20595 #endif
20598 main ()
20600 fpclass(0);
20602 return 0;
20604 _ACEOF
20605 rm -f conftest.$ac_objext
20606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20607 (eval $ac_compile) 2>conftest.er1
20608 ac_status=$?
20609 grep -v '^ *+' conftest.er1 >conftest.err
20610 rm -f conftest.er1
20611 cat conftest.err >&5
20612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20613 (exit $ac_status); } &&
20614 { ac_try='test -z "$ac_cxx_werror_flag"
20615 || test ! -s conftest.err'
20616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20617 (eval $ac_try) 2>&5
20618 ac_status=$?
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); }; } &&
20621 { ac_try='test -s conftest.$ac_objext'
20622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20623 (eval $ac_try) 2>&5
20624 ac_status=$?
20625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626 (exit $ac_status); }; }; then
20627 glibcxx_cv_func_fpclass_use=yes
20628 else
20629 echo "$as_me: failed program was:" >&5
20630 sed 's/^/| /' conftest.$ac_ext >&5
20632 glibcxx_cv_func_fpclass_use=no
20634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20635 ac_ext=c
20636 ac_cpp='$CPP $CPPFLAGS'
20637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20645 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
20646 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
20648 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20650 for ac_func in fpclass
20652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20653 echo "$as_me:$LINENO: checking for $ac_func" >&5
20654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20655 if eval "test \"\${$as_ac_var+set}\" = set"; then
20656 echo $ECHO_N "(cached) $ECHO_C" >&6
20657 else
20658 if test x$gcc_no_link = xyes; then
20659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20661 { (exit 1); exit 1; }; }
20663 cat >conftest.$ac_ext <<_ACEOF
20664 /* confdefs.h. */
20665 _ACEOF
20666 cat confdefs.h >>conftest.$ac_ext
20667 cat >>conftest.$ac_ext <<_ACEOF
20668 /* end confdefs.h. */
20669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20671 #define $ac_func innocuous_$ac_func
20673 /* System header to define __stub macros and hopefully few prototypes,
20674 which can conflict with char $ac_func (); below.
20675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20676 <limits.h> exists even on freestanding compilers. */
20678 #ifdef __STDC__
20679 # include <limits.h>
20680 #else
20681 # include <assert.h>
20682 #endif
20684 #undef $ac_func
20686 /* Override any gcc2 internal prototype to avoid an error. */
20687 #ifdef __cplusplus
20688 extern "C"
20690 #endif
20691 /* We use char because int might match the return type of a gcc2
20692 builtin and then its argument prototype would still apply. */
20693 char $ac_func ();
20694 /* The GNU C library defines this for functions which it implements
20695 to always fail with ENOSYS. Some functions are actually named
20696 something starting with __ and the normal name is an alias. */
20697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20698 choke me
20699 #else
20700 char (*f) () = $ac_func;
20701 #endif
20702 #ifdef __cplusplus
20704 #endif
20707 main ()
20709 return f != $ac_func;
20711 return 0;
20713 _ACEOF
20714 rm -f conftest.$ac_objext conftest$ac_exeext
20715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20716 (eval $ac_link) 2>conftest.er1
20717 ac_status=$?
20718 grep -v '^ *+' conftest.er1 >conftest.err
20719 rm -f conftest.er1
20720 cat conftest.err >&5
20721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20722 (exit $ac_status); } &&
20723 { ac_try='test -z "$ac_c_werror_flag"
20724 || test ! -s conftest.err'
20725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20726 (eval $ac_try) 2>&5
20727 ac_status=$?
20728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729 (exit $ac_status); }; } &&
20730 { ac_try='test -s conftest$ac_exeext'
20731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20732 (eval $ac_try) 2>&5
20733 ac_status=$?
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); }; }; then
20736 eval "$as_ac_var=yes"
20737 else
20738 echo "$as_me: failed program was:" >&5
20739 sed 's/^/| /' conftest.$ac_ext >&5
20741 eval "$as_ac_var=no"
20743 rm -f conftest.err conftest.$ac_objext \
20744 conftest$ac_exeext conftest.$ac_ext
20746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20748 if test `eval echo '${'$as_ac_var'}'` = yes; then
20749 cat >>confdefs.h <<_ACEOF
20750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20751 _ACEOF
20754 done
20756 else
20758 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
20759 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
20760 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20761 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
20762 echo $ECHO_N "(cached) $ECHO_C" >&6
20763 else
20767 ac_ext=cc
20768 ac_cpp='$CXXCPP $CPPFLAGS'
20769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20773 cat >conftest.$ac_ext <<_ACEOF
20774 /* confdefs.h. */
20775 _ACEOF
20776 cat confdefs.h >>conftest.$ac_ext
20777 cat >>conftest.$ac_ext <<_ACEOF
20778 /* end confdefs.h. */
20779 #include <math.h>
20780 #ifdef HAVE_IEEEFP_H
20781 #include <ieeefp.h>
20782 #endif
20785 main ()
20787 _fpclass(0);
20789 return 0;
20791 _ACEOF
20792 rm -f conftest.$ac_objext
20793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20794 (eval $ac_compile) 2>conftest.er1
20795 ac_status=$?
20796 grep -v '^ *+' conftest.er1 >conftest.err
20797 rm -f conftest.er1
20798 cat conftest.err >&5
20799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20800 (exit $ac_status); } &&
20801 { ac_try='test -z "$ac_cxx_werror_flag"
20802 || test ! -s conftest.err'
20803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20804 (eval $ac_try) 2>&5
20805 ac_status=$?
20806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20807 (exit $ac_status); }; } &&
20808 { ac_try='test -s conftest.$ac_objext'
20809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20810 (eval $ac_try) 2>&5
20811 ac_status=$?
20812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813 (exit $ac_status); }; }; then
20814 glibcxx_cv_func__fpclass_use=yes
20815 else
20816 echo "$as_me: failed program was:" >&5
20817 sed 's/^/| /' conftest.$ac_ext >&5
20819 glibcxx_cv_func__fpclass_use=no
20821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20822 ac_ext=c
20823 ac_cpp='$CPP $CPPFLAGS'
20824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20832 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
20833 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
20835 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20837 for ac_func in _fpclass
20839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20840 echo "$as_me:$LINENO: checking for $ac_func" >&5
20841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20842 if eval "test \"\${$as_ac_var+set}\" = set"; then
20843 echo $ECHO_N "(cached) $ECHO_C" >&6
20844 else
20845 if test x$gcc_no_link = xyes; then
20846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20848 { (exit 1); exit 1; }; }
20850 cat >conftest.$ac_ext <<_ACEOF
20851 /* confdefs.h. */
20852 _ACEOF
20853 cat confdefs.h >>conftest.$ac_ext
20854 cat >>conftest.$ac_ext <<_ACEOF
20855 /* end confdefs.h. */
20856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20858 #define $ac_func innocuous_$ac_func
20860 /* System header to define __stub macros and hopefully few prototypes,
20861 which can conflict with char $ac_func (); below.
20862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20863 <limits.h> exists even on freestanding compilers. */
20865 #ifdef __STDC__
20866 # include <limits.h>
20867 #else
20868 # include <assert.h>
20869 #endif
20871 #undef $ac_func
20873 /* Override any gcc2 internal prototype to avoid an error. */
20874 #ifdef __cplusplus
20875 extern "C"
20877 #endif
20878 /* We use char because int might match the return type of a gcc2
20879 builtin and then its argument prototype would still apply. */
20880 char $ac_func ();
20881 /* The GNU C library defines this for functions which it implements
20882 to always fail with ENOSYS. Some functions are actually named
20883 something starting with __ and the normal name is an alias. */
20884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20885 choke me
20886 #else
20887 char (*f) () = $ac_func;
20888 #endif
20889 #ifdef __cplusplus
20891 #endif
20894 main ()
20896 return f != $ac_func;
20898 return 0;
20900 _ACEOF
20901 rm -f conftest.$ac_objext conftest$ac_exeext
20902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20903 (eval $ac_link) 2>conftest.er1
20904 ac_status=$?
20905 grep -v '^ *+' conftest.er1 >conftest.err
20906 rm -f conftest.er1
20907 cat conftest.err >&5
20908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20909 (exit $ac_status); } &&
20910 { ac_try='test -z "$ac_c_werror_flag"
20911 || test ! -s conftest.err'
20912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20913 (eval $ac_try) 2>&5
20914 ac_status=$?
20915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20916 (exit $ac_status); }; } &&
20917 { ac_try='test -s conftest$ac_exeext'
20918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20919 (eval $ac_try) 2>&5
20920 ac_status=$?
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); }; }; then
20923 eval "$as_ac_var=yes"
20924 else
20925 echo "$as_me: failed program was:" >&5
20926 sed 's/^/| /' conftest.$ac_ext >&5
20928 eval "$as_ac_var=no"
20930 rm -f conftest.err conftest.$ac_objext \
20931 conftest$ac_exeext conftest.$ac_ext
20933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20935 if test `eval echo '${'$as_ac_var'}'` = yes; then
20936 cat >>confdefs.h <<_ACEOF
20937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20938 _ACEOF
20941 done
20951 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
20952 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
20953 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20954 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
20955 echo $ECHO_N "(cached) $ECHO_C" >&6
20956 else
20960 ac_ext=cc
20961 ac_cpp='$CXXCPP $CPPFLAGS'
20962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20966 cat >conftest.$ac_ext <<_ACEOF
20967 /* confdefs.h. */
20968 _ACEOF
20969 cat confdefs.h >>conftest.$ac_ext
20970 cat >>conftest.$ac_ext <<_ACEOF
20971 /* end confdefs.h. */
20972 #include <math.h>
20973 #ifdef HAVE_IEEEFP_H
20974 #include <ieeefp.h>
20975 #endif
20978 main ()
20980 qfpclass(0);
20982 return 0;
20984 _ACEOF
20985 rm -f conftest.$ac_objext
20986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20987 (eval $ac_compile) 2>conftest.er1
20988 ac_status=$?
20989 grep -v '^ *+' conftest.er1 >conftest.err
20990 rm -f conftest.er1
20991 cat conftest.err >&5
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); } &&
20994 { ac_try='test -z "$ac_cxx_werror_flag"
20995 || test ! -s conftest.err'
20996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20997 (eval $ac_try) 2>&5
20998 ac_status=$?
20999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21000 (exit $ac_status); }; } &&
21001 { ac_try='test -s conftest.$ac_objext'
21002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21003 (eval $ac_try) 2>&5
21004 ac_status=$?
21005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21006 (exit $ac_status); }; }; then
21007 glibcxx_cv_func_qfpclass_use=yes
21008 else
21009 echo "$as_me: failed program was:" >&5
21010 sed 's/^/| /' conftest.$ac_ext >&5
21012 glibcxx_cv_func_qfpclass_use=no
21014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21015 ac_ext=c
21016 ac_cpp='$CPP $CPPFLAGS'
21017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21025 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
21026 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
21028 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21030 for ac_func in qfpclass
21032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21033 echo "$as_me:$LINENO: checking for $ac_func" >&5
21034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21035 if eval "test \"\${$as_ac_var+set}\" = set"; then
21036 echo $ECHO_N "(cached) $ECHO_C" >&6
21037 else
21038 if test x$gcc_no_link = xyes; then
21039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21041 { (exit 1); exit 1; }; }
21043 cat >conftest.$ac_ext <<_ACEOF
21044 /* confdefs.h. */
21045 _ACEOF
21046 cat confdefs.h >>conftest.$ac_ext
21047 cat >>conftest.$ac_ext <<_ACEOF
21048 /* end confdefs.h. */
21049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21051 #define $ac_func innocuous_$ac_func
21053 /* System header to define __stub macros and hopefully few prototypes,
21054 which can conflict with char $ac_func (); below.
21055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21056 <limits.h> exists even on freestanding compilers. */
21058 #ifdef __STDC__
21059 # include <limits.h>
21060 #else
21061 # include <assert.h>
21062 #endif
21064 #undef $ac_func
21066 /* Override any gcc2 internal prototype to avoid an error. */
21067 #ifdef __cplusplus
21068 extern "C"
21070 #endif
21071 /* We use char because int might match the return type of a gcc2
21072 builtin and then its argument prototype would still apply. */
21073 char $ac_func ();
21074 /* The GNU C library defines this for functions which it implements
21075 to always fail with ENOSYS. Some functions are actually named
21076 something starting with __ and the normal name is an alias. */
21077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21078 choke me
21079 #else
21080 char (*f) () = $ac_func;
21081 #endif
21082 #ifdef __cplusplus
21084 #endif
21087 main ()
21089 return f != $ac_func;
21091 return 0;
21093 _ACEOF
21094 rm -f conftest.$ac_objext conftest$ac_exeext
21095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21096 (eval $ac_link) 2>conftest.er1
21097 ac_status=$?
21098 grep -v '^ *+' conftest.er1 >conftest.err
21099 rm -f conftest.er1
21100 cat conftest.err >&5
21101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21102 (exit $ac_status); } &&
21103 { ac_try='test -z "$ac_c_werror_flag"
21104 || test ! -s conftest.err'
21105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21106 (eval $ac_try) 2>&5
21107 ac_status=$?
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); }; } &&
21110 { ac_try='test -s conftest$ac_exeext'
21111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21112 (eval $ac_try) 2>&5
21113 ac_status=$?
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); }; }; then
21116 eval "$as_ac_var=yes"
21117 else
21118 echo "$as_me: failed program was:" >&5
21119 sed 's/^/| /' conftest.$ac_ext >&5
21121 eval "$as_ac_var=no"
21123 rm -f conftest.err conftest.$ac_objext \
21124 conftest$ac_exeext conftest.$ac_ext
21126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21128 if test `eval echo '${'$as_ac_var'}'` = yes; then
21129 cat >>confdefs.h <<_ACEOF
21130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21131 _ACEOF
21134 done
21136 else
21138 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
21139 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
21140 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21141 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
21142 echo $ECHO_N "(cached) $ECHO_C" >&6
21143 else
21147 ac_ext=cc
21148 ac_cpp='$CXXCPP $CPPFLAGS'
21149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21153 cat >conftest.$ac_ext <<_ACEOF
21154 /* confdefs.h. */
21155 _ACEOF
21156 cat confdefs.h >>conftest.$ac_ext
21157 cat >>conftest.$ac_ext <<_ACEOF
21158 /* end confdefs.h. */
21159 #include <math.h>
21160 #ifdef HAVE_IEEEFP_H
21161 #include <ieeefp.h>
21162 #endif
21165 main ()
21167 _qfpclass(0);
21169 return 0;
21171 _ACEOF
21172 rm -f conftest.$ac_objext
21173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21174 (eval $ac_compile) 2>conftest.er1
21175 ac_status=$?
21176 grep -v '^ *+' conftest.er1 >conftest.err
21177 rm -f conftest.er1
21178 cat conftest.err >&5
21179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21180 (exit $ac_status); } &&
21181 { ac_try='test -z "$ac_cxx_werror_flag"
21182 || test ! -s conftest.err'
21183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21184 (eval $ac_try) 2>&5
21185 ac_status=$?
21186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187 (exit $ac_status); }; } &&
21188 { ac_try='test -s conftest.$ac_objext'
21189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21190 (eval $ac_try) 2>&5
21191 ac_status=$?
21192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193 (exit $ac_status); }; }; then
21194 glibcxx_cv_func__qfpclass_use=yes
21195 else
21196 echo "$as_me: failed program was:" >&5
21197 sed 's/^/| /' conftest.$ac_ext >&5
21199 glibcxx_cv_func__qfpclass_use=no
21201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21202 ac_ext=c
21203 ac_cpp='$CPP $CPPFLAGS'
21204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21212 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
21213 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
21215 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21217 for ac_func in _qfpclass
21219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21220 echo "$as_me:$LINENO: checking for $ac_func" >&5
21221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21222 if eval "test \"\${$as_ac_var+set}\" = set"; then
21223 echo $ECHO_N "(cached) $ECHO_C" >&6
21224 else
21225 if test x$gcc_no_link = xyes; then
21226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21228 { (exit 1); exit 1; }; }
21230 cat >conftest.$ac_ext <<_ACEOF
21231 /* confdefs.h. */
21232 _ACEOF
21233 cat confdefs.h >>conftest.$ac_ext
21234 cat >>conftest.$ac_ext <<_ACEOF
21235 /* end confdefs.h. */
21236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21238 #define $ac_func innocuous_$ac_func
21240 /* System header to define __stub macros and hopefully few prototypes,
21241 which can conflict with char $ac_func (); below.
21242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21243 <limits.h> exists even on freestanding compilers. */
21245 #ifdef __STDC__
21246 # include <limits.h>
21247 #else
21248 # include <assert.h>
21249 #endif
21251 #undef $ac_func
21253 /* Override any gcc2 internal prototype to avoid an error. */
21254 #ifdef __cplusplus
21255 extern "C"
21257 #endif
21258 /* We use char because int might match the return type of a gcc2
21259 builtin and then its argument prototype would still apply. */
21260 char $ac_func ();
21261 /* The GNU C library defines this for functions which it implements
21262 to always fail with ENOSYS. Some functions are actually named
21263 something starting with __ and the normal name is an alias. */
21264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21265 choke me
21266 #else
21267 char (*f) () = $ac_func;
21268 #endif
21269 #ifdef __cplusplus
21271 #endif
21274 main ()
21276 return f != $ac_func;
21278 return 0;
21280 _ACEOF
21281 rm -f conftest.$ac_objext conftest$ac_exeext
21282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21283 (eval $ac_link) 2>conftest.er1
21284 ac_status=$?
21285 grep -v '^ *+' conftest.er1 >conftest.err
21286 rm -f conftest.er1
21287 cat conftest.err >&5
21288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21289 (exit $ac_status); } &&
21290 { ac_try='test -z "$ac_c_werror_flag"
21291 || test ! -s conftest.err'
21292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21293 (eval $ac_try) 2>&5
21294 ac_status=$?
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); }; } &&
21297 { ac_try='test -s conftest$ac_exeext'
21298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21299 (eval $ac_try) 2>&5
21300 ac_status=$?
21301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21302 (exit $ac_status); }; }; then
21303 eval "$as_ac_var=yes"
21304 else
21305 echo "$as_me: failed program was:" >&5
21306 sed 's/^/| /' conftest.$ac_ext >&5
21308 eval "$as_ac_var=no"
21310 rm -f conftest.err conftest.$ac_objext \
21311 conftest$ac_exeext conftest.$ac_ext
21313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21315 if test `eval echo '${'$as_ac_var'}'` = yes; then
21316 cat >>confdefs.h <<_ACEOF
21317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21318 _ACEOF
21321 done
21331 echo "$as_me:$LINENO: checking for hypot declaration" >&5
21332 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
21333 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21334 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
21335 echo $ECHO_N "(cached) $ECHO_C" >&6
21336 else
21340 ac_ext=cc
21341 ac_cpp='$CXXCPP $CPPFLAGS'
21342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21346 cat >conftest.$ac_ext <<_ACEOF
21347 /* confdefs.h. */
21348 _ACEOF
21349 cat confdefs.h >>conftest.$ac_ext
21350 cat >>conftest.$ac_ext <<_ACEOF
21351 /* end confdefs.h. */
21352 #include <math.h>
21354 main ()
21356 hypot(0, 0);
21358 return 0;
21360 _ACEOF
21361 rm -f conftest.$ac_objext
21362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21363 (eval $ac_compile) 2>conftest.er1
21364 ac_status=$?
21365 grep -v '^ *+' conftest.er1 >conftest.err
21366 rm -f conftest.er1
21367 cat conftest.err >&5
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); } &&
21370 { ac_try='test -z "$ac_cxx_werror_flag"
21371 || test ! -s conftest.err'
21372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21373 (eval $ac_try) 2>&5
21374 ac_status=$?
21375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21376 (exit $ac_status); }; } &&
21377 { ac_try='test -s conftest.$ac_objext'
21378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21379 (eval $ac_try) 2>&5
21380 ac_status=$?
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); }; }; then
21383 glibcxx_cv_func_hypot_use=yes
21384 else
21385 echo "$as_me: failed program was:" >&5
21386 sed 's/^/| /' conftest.$ac_ext >&5
21388 glibcxx_cv_func_hypot_use=no
21390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21391 ac_ext=c
21392 ac_cpp='$CPP $CPPFLAGS'
21393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21401 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
21402 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
21404 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21406 for ac_func in hypot
21408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21409 echo "$as_me:$LINENO: checking for $ac_func" >&5
21410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21411 if eval "test \"\${$as_ac_var+set}\" = set"; then
21412 echo $ECHO_N "(cached) $ECHO_C" >&6
21413 else
21414 if test x$gcc_no_link = xyes; then
21415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21417 { (exit 1); exit 1; }; }
21419 cat >conftest.$ac_ext <<_ACEOF
21420 /* confdefs.h. */
21421 _ACEOF
21422 cat confdefs.h >>conftest.$ac_ext
21423 cat >>conftest.$ac_ext <<_ACEOF
21424 /* end confdefs.h. */
21425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21427 #define $ac_func innocuous_$ac_func
21429 /* System header to define __stub macros and hopefully few prototypes,
21430 which can conflict with char $ac_func (); below.
21431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21432 <limits.h> exists even on freestanding compilers. */
21434 #ifdef __STDC__
21435 # include <limits.h>
21436 #else
21437 # include <assert.h>
21438 #endif
21440 #undef $ac_func
21442 /* Override any gcc2 internal prototype to avoid an error. */
21443 #ifdef __cplusplus
21444 extern "C"
21446 #endif
21447 /* We use char because int might match the return type of a gcc2
21448 builtin and then its argument prototype would still apply. */
21449 char $ac_func ();
21450 /* The GNU C library defines this for functions which it implements
21451 to always fail with ENOSYS. Some functions are actually named
21452 something starting with __ and the normal name is an alias. */
21453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21454 choke me
21455 #else
21456 char (*f) () = $ac_func;
21457 #endif
21458 #ifdef __cplusplus
21460 #endif
21463 main ()
21465 return f != $ac_func;
21467 return 0;
21469 _ACEOF
21470 rm -f conftest.$ac_objext conftest$ac_exeext
21471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21472 (eval $ac_link) 2>conftest.er1
21473 ac_status=$?
21474 grep -v '^ *+' conftest.er1 >conftest.err
21475 rm -f conftest.er1
21476 cat conftest.err >&5
21477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21478 (exit $ac_status); } &&
21479 { ac_try='test -z "$ac_c_werror_flag"
21480 || test ! -s conftest.err'
21481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21482 (eval $ac_try) 2>&5
21483 ac_status=$?
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); }; } &&
21486 { ac_try='test -s conftest$ac_exeext'
21487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21488 (eval $ac_try) 2>&5
21489 ac_status=$?
21490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21491 (exit $ac_status); }; }; then
21492 eval "$as_ac_var=yes"
21493 else
21494 echo "$as_me: failed program was:" >&5
21495 sed 's/^/| /' conftest.$ac_ext >&5
21497 eval "$as_ac_var=no"
21499 rm -f conftest.err conftest.$ac_objext \
21500 conftest$ac_exeext conftest.$ac_ext
21502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21504 if test `eval echo '${'$as_ac_var'}'` = yes; then
21505 cat >>confdefs.h <<_ACEOF
21506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21507 _ACEOF
21510 done
21512 else
21514 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
21515 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
21516 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21517 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
21518 echo $ECHO_N "(cached) $ECHO_C" >&6
21519 else
21523 ac_ext=cc
21524 ac_cpp='$CXXCPP $CPPFLAGS'
21525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21529 cat >conftest.$ac_ext <<_ACEOF
21530 /* confdefs.h. */
21531 _ACEOF
21532 cat confdefs.h >>conftest.$ac_ext
21533 cat >>conftest.$ac_ext <<_ACEOF
21534 /* end confdefs.h. */
21535 #include <math.h>
21537 main ()
21539 _hypot(0, 0);
21541 return 0;
21543 _ACEOF
21544 rm -f conftest.$ac_objext
21545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21546 (eval $ac_compile) 2>conftest.er1
21547 ac_status=$?
21548 grep -v '^ *+' conftest.er1 >conftest.err
21549 rm -f conftest.er1
21550 cat conftest.err >&5
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); } &&
21553 { ac_try='test -z "$ac_cxx_werror_flag"
21554 || test ! -s conftest.err'
21555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21556 (eval $ac_try) 2>&5
21557 ac_status=$?
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); }; } &&
21560 { ac_try='test -s conftest.$ac_objext'
21561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21562 (eval $ac_try) 2>&5
21563 ac_status=$?
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); }; }; then
21566 glibcxx_cv_func__hypot_use=yes
21567 else
21568 echo "$as_me: failed program was:" >&5
21569 sed 's/^/| /' conftest.$ac_ext >&5
21571 glibcxx_cv_func__hypot_use=no
21573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21574 ac_ext=c
21575 ac_cpp='$CPP $CPPFLAGS'
21576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21584 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
21585 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
21587 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21589 for ac_func in _hypot
21591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21592 echo "$as_me:$LINENO: checking for $ac_func" >&5
21593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21594 if eval "test \"\${$as_ac_var+set}\" = set"; then
21595 echo $ECHO_N "(cached) $ECHO_C" >&6
21596 else
21597 if test x$gcc_no_link = xyes; then
21598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21600 { (exit 1); exit 1; }; }
21602 cat >conftest.$ac_ext <<_ACEOF
21603 /* confdefs.h. */
21604 _ACEOF
21605 cat confdefs.h >>conftest.$ac_ext
21606 cat >>conftest.$ac_ext <<_ACEOF
21607 /* end confdefs.h. */
21608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21610 #define $ac_func innocuous_$ac_func
21612 /* System header to define __stub macros and hopefully few prototypes,
21613 which can conflict with char $ac_func (); below.
21614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21615 <limits.h> exists even on freestanding compilers. */
21617 #ifdef __STDC__
21618 # include <limits.h>
21619 #else
21620 # include <assert.h>
21621 #endif
21623 #undef $ac_func
21625 /* Override any gcc2 internal prototype to avoid an error. */
21626 #ifdef __cplusplus
21627 extern "C"
21629 #endif
21630 /* We use char because int might match the return type of a gcc2
21631 builtin and then its argument prototype would still apply. */
21632 char $ac_func ();
21633 /* The GNU C library defines this for functions which it implements
21634 to always fail with ENOSYS. Some functions are actually named
21635 something starting with __ and the normal name is an alias. */
21636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21637 choke me
21638 #else
21639 char (*f) () = $ac_func;
21640 #endif
21641 #ifdef __cplusplus
21643 #endif
21646 main ()
21648 return f != $ac_func;
21650 return 0;
21652 _ACEOF
21653 rm -f conftest.$ac_objext conftest$ac_exeext
21654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21655 (eval $ac_link) 2>conftest.er1
21656 ac_status=$?
21657 grep -v '^ *+' conftest.er1 >conftest.err
21658 rm -f conftest.er1
21659 cat conftest.err >&5
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); } &&
21662 { ac_try='test -z "$ac_c_werror_flag"
21663 || test ! -s conftest.err'
21664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21665 (eval $ac_try) 2>&5
21666 ac_status=$?
21667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668 (exit $ac_status); }; } &&
21669 { ac_try='test -s conftest$ac_exeext'
21670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21671 (eval $ac_try) 2>&5
21672 ac_status=$?
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); }; }; then
21675 eval "$as_ac_var=yes"
21676 else
21677 echo "$as_me: failed program was:" >&5
21678 sed 's/^/| /' conftest.$ac_ext >&5
21680 eval "$as_ac_var=no"
21682 rm -f conftest.err conftest.$ac_objext \
21683 conftest$ac_exeext conftest.$ac_ext
21685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21687 if test `eval echo '${'$as_ac_var'}'` = yes; then
21688 cat >>confdefs.h <<_ACEOF
21689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21690 _ACEOF
21693 done
21703 echo "$as_me:$LINENO: checking for float trig functions" >&5
21704 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
21705 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
21706 echo $ECHO_N "(cached) $ECHO_C" >&6
21707 else
21711 ac_ext=cc
21712 ac_cpp='$CXXCPP $CPPFLAGS'
21713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21717 cat >conftest.$ac_ext <<_ACEOF
21718 /* confdefs.h. */
21719 _ACEOF
21720 cat confdefs.h >>conftest.$ac_ext
21721 cat >>conftest.$ac_ext <<_ACEOF
21722 /* end confdefs.h. */
21723 #include <math.h>
21725 main ()
21727 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21729 return 0;
21731 _ACEOF
21732 rm -f conftest.$ac_objext
21733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21734 (eval $ac_compile) 2>conftest.er1
21735 ac_status=$?
21736 grep -v '^ *+' conftest.er1 >conftest.err
21737 rm -f conftest.er1
21738 cat conftest.err >&5
21739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21740 (exit $ac_status); } &&
21741 { ac_try='test -z "$ac_cxx_werror_flag"
21742 || test ! -s conftest.err'
21743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21744 (eval $ac_try) 2>&5
21745 ac_status=$?
21746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21747 (exit $ac_status); }; } &&
21748 { ac_try='test -s conftest.$ac_objext'
21749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21750 (eval $ac_try) 2>&5
21751 ac_status=$?
21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21753 (exit $ac_status); }; }; then
21754 glibcxx_cv_func_float_trig_use=yes
21755 else
21756 echo "$as_me: failed program was:" >&5
21757 sed 's/^/| /' conftest.$ac_ext >&5
21759 glibcxx_cv_func_float_trig_use=no
21761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21762 ac_ext=c
21763 ac_cpp='$CPP $CPPFLAGS'
21764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21770 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
21771 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
21772 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21782 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21785 echo "$as_me:$LINENO: checking for $ac_func" >&5
21786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21787 if eval "test \"\${$as_ac_var+set}\" = set"; then
21788 echo $ECHO_N "(cached) $ECHO_C" >&6
21789 else
21790 if test x$gcc_no_link = xyes; then
21791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21793 { (exit 1); exit 1; }; }
21795 cat >conftest.$ac_ext <<_ACEOF
21796 /* confdefs.h. */
21797 _ACEOF
21798 cat confdefs.h >>conftest.$ac_ext
21799 cat >>conftest.$ac_ext <<_ACEOF
21800 /* end confdefs.h. */
21801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21803 #define $ac_func innocuous_$ac_func
21805 /* System header to define __stub macros and hopefully few prototypes,
21806 which can conflict with char $ac_func (); below.
21807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21808 <limits.h> exists even on freestanding compilers. */
21810 #ifdef __STDC__
21811 # include <limits.h>
21812 #else
21813 # include <assert.h>
21814 #endif
21816 #undef $ac_func
21818 /* Override any gcc2 internal prototype to avoid an error. */
21819 #ifdef __cplusplus
21820 extern "C"
21822 #endif
21823 /* We use char because int might match the return type of a gcc2
21824 builtin and then its argument prototype would still apply. */
21825 char $ac_func ();
21826 /* The GNU C library defines this for functions which it implements
21827 to always fail with ENOSYS. Some functions are actually named
21828 something starting with __ and the normal name is an alias. */
21829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21830 choke me
21831 #else
21832 char (*f) () = $ac_func;
21833 #endif
21834 #ifdef __cplusplus
21836 #endif
21839 main ()
21841 return f != $ac_func;
21843 return 0;
21845 _ACEOF
21846 rm -f conftest.$ac_objext conftest$ac_exeext
21847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21848 (eval $ac_link) 2>conftest.er1
21849 ac_status=$?
21850 grep -v '^ *+' conftest.er1 >conftest.err
21851 rm -f conftest.er1
21852 cat conftest.err >&5
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); } &&
21855 { ac_try='test -z "$ac_c_werror_flag"
21856 || test ! -s conftest.err'
21857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21858 (eval $ac_try) 2>&5
21859 ac_status=$?
21860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21861 (exit $ac_status); }; } &&
21862 { ac_try='test -s conftest$ac_exeext'
21863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21864 (eval $ac_try) 2>&5
21865 ac_status=$?
21866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867 (exit $ac_status); }; }; then
21868 eval "$as_ac_var=yes"
21869 else
21870 echo "$as_me: failed program was:" >&5
21871 sed 's/^/| /' conftest.$ac_ext >&5
21873 eval "$as_ac_var=no"
21875 rm -f conftest.err conftest.$ac_objext \
21876 conftest$ac_exeext conftest.$ac_ext
21878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21880 if test `eval echo '${'$as_ac_var'}'` = yes; then
21881 cat >>confdefs.h <<_ACEOF
21882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21883 _ACEOF
21886 done
21888 else
21889 echo "$as_me:$LINENO: checking for _float trig functions" >&5
21890 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21891 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21892 echo $ECHO_N "(cached) $ECHO_C" >&6
21893 else
21897 ac_ext=cc
21898 ac_cpp='$CXXCPP $CPPFLAGS'
21899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21903 cat >conftest.$ac_ext <<_ACEOF
21904 /* confdefs.h. */
21905 _ACEOF
21906 cat confdefs.h >>conftest.$ac_ext
21907 cat >>conftest.$ac_ext <<_ACEOF
21908 /* end confdefs.h. */
21909 #include <math.h>
21911 main ()
21913 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21915 return 0;
21917 _ACEOF
21918 rm -f conftest.$ac_objext
21919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21920 (eval $ac_compile) 2>conftest.er1
21921 ac_status=$?
21922 grep -v '^ *+' conftest.er1 >conftest.err
21923 rm -f conftest.er1
21924 cat conftest.err >&5
21925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21926 (exit $ac_status); } &&
21927 { ac_try='test -z "$ac_cxx_werror_flag"
21928 || test ! -s conftest.err'
21929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21930 (eval $ac_try) 2>&5
21931 ac_status=$?
21932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933 (exit $ac_status); }; } &&
21934 { ac_try='test -s conftest.$ac_objext'
21935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21936 (eval $ac_try) 2>&5
21937 ac_status=$?
21938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21939 (exit $ac_status); }; }; then
21940 glibcxx_cv_func__float_trig_use=yes
21941 else
21942 echo "$as_me: failed program was:" >&5
21943 sed 's/^/| /' conftest.$ac_ext >&5
21945 glibcxx_cv_func__float_trig_use=no
21947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21948 ac_ext=c
21949 ac_cpp='$CPP $CPPFLAGS'
21950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21956 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
21957 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
21958 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21968 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21971 echo "$as_me:$LINENO: checking for $ac_func" >&5
21972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21973 if eval "test \"\${$as_ac_var+set}\" = set"; then
21974 echo $ECHO_N "(cached) $ECHO_C" >&6
21975 else
21976 if test x$gcc_no_link = xyes; then
21977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21979 { (exit 1); exit 1; }; }
21981 cat >conftest.$ac_ext <<_ACEOF
21982 /* confdefs.h. */
21983 _ACEOF
21984 cat confdefs.h >>conftest.$ac_ext
21985 cat >>conftest.$ac_ext <<_ACEOF
21986 /* end confdefs.h. */
21987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21989 #define $ac_func innocuous_$ac_func
21991 /* System header to define __stub macros and hopefully few prototypes,
21992 which can conflict with char $ac_func (); below.
21993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21994 <limits.h> exists even on freestanding compilers. */
21996 #ifdef __STDC__
21997 # include <limits.h>
21998 #else
21999 # include <assert.h>
22000 #endif
22002 #undef $ac_func
22004 /* Override any gcc2 internal prototype to avoid an error. */
22005 #ifdef __cplusplus
22006 extern "C"
22008 #endif
22009 /* We use char because int might match the return type of a gcc2
22010 builtin and then its argument prototype would still apply. */
22011 char $ac_func ();
22012 /* The GNU C library defines this for functions which it implements
22013 to always fail with ENOSYS. Some functions are actually named
22014 something starting with __ and the normal name is an alias. */
22015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22016 choke me
22017 #else
22018 char (*f) () = $ac_func;
22019 #endif
22020 #ifdef __cplusplus
22022 #endif
22025 main ()
22027 return f != $ac_func;
22029 return 0;
22031 _ACEOF
22032 rm -f conftest.$ac_objext conftest$ac_exeext
22033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22034 (eval $ac_link) 2>conftest.er1
22035 ac_status=$?
22036 grep -v '^ *+' conftest.er1 >conftest.err
22037 rm -f conftest.er1
22038 cat conftest.err >&5
22039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22040 (exit $ac_status); } &&
22041 { ac_try='test -z "$ac_c_werror_flag"
22042 || test ! -s conftest.err'
22043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22044 (eval $ac_try) 2>&5
22045 ac_status=$?
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); }; } &&
22048 { ac_try='test -s conftest$ac_exeext'
22049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22050 (eval $ac_try) 2>&5
22051 ac_status=$?
22052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22053 (exit $ac_status); }; }; then
22054 eval "$as_ac_var=yes"
22055 else
22056 echo "$as_me: failed program was:" >&5
22057 sed 's/^/| /' conftest.$ac_ext >&5
22059 eval "$as_ac_var=no"
22061 rm -f conftest.err conftest.$ac_objext \
22062 conftest$ac_exeext conftest.$ac_ext
22064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22066 if test `eval echo '${'$as_ac_var'}'` = yes; then
22067 cat >>confdefs.h <<_ACEOF
22068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22069 _ACEOF
22072 done
22090 echo "$as_me:$LINENO: checking for float round functions" >&5
22091 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
22092 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
22093 echo $ECHO_N "(cached) $ECHO_C" >&6
22094 else
22098 ac_ext=cc
22099 ac_cpp='$CXXCPP $CPPFLAGS'
22100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22104 cat >conftest.$ac_ext <<_ACEOF
22105 /* confdefs.h. */
22106 _ACEOF
22107 cat confdefs.h >>conftest.$ac_ext
22108 cat >>conftest.$ac_ext <<_ACEOF
22109 /* end confdefs.h. */
22110 #include <math.h>
22112 main ()
22114 ceilf (0); floorf (0);
22116 return 0;
22118 _ACEOF
22119 rm -f conftest.$ac_objext
22120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22121 (eval $ac_compile) 2>conftest.er1
22122 ac_status=$?
22123 grep -v '^ *+' conftest.er1 >conftest.err
22124 rm -f conftest.er1
22125 cat conftest.err >&5
22126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22127 (exit $ac_status); } &&
22128 { ac_try='test -z "$ac_cxx_werror_flag"
22129 || test ! -s conftest.err'
22130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22131 (eval $ac_try) 2>&5
22132 ac_status=$?
22133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22134 (exit $ac_status); }; } &&
22135 { ac_try='test -s conftest.$ac_objext'
22136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22137 (eval $ac_try) 2>&5
22138 ac_status=$?
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); }; }; then
22141 glibcxx_cv_func_float_round_use=yes
22142 else
22143 echo "$as_me: failed program was:" >&5
22144 sed 's/^/| /' conftest.$ac_ext >&5
22146 glibcxx_cv_func_float_round_use=no
22148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22149 ac_ext=c
22150 ac_cpp='$CPP $CPPFLAGS'
22151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22157 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
22158 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
22159 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22162 for ac_func in ceilf floorf
22164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22165 echo "$as_me:$LINENO: checking for $ac_func" >&5
22166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22167 if eval "test \"\${$as_ac_var+set}\" = set"; then
22168 echo $ECHO_N "(cached) $ECHO_C" >&6
22169 else
22170 if test x$gcc_no_link = xyes; then
22171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22173 { (exit 1); exit 1; }; }
22175 cat >conftest.$ac_ext <<_ACEOF
22176 /* confdefs.h. */
22177 _ACEOF
22178 cat confdefs.h >>conftest.$ac_ext
22179 cat >>conftest.$ac_ext <<_ACEOF
22180 /* end confdefs.h. */
22181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22183 #define $ac_func innocuous_$ac_func
22185 /* System header to define __stub macros and hopefully few prototypes,
22186 which can conflict with char $ac_func (); below.
22187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22188 <limits.h> exists even on freestanding compilers. */
22190 #ifdef __STDC__
22191 # include <limits.h>
22192 #else
22193 # include <assert.h>
22194 #endif
22196 #undef $ac_func
22198 /* Override any gcc2 internal prototype to avoid an error. */
22199 #ifdef __cplusplus
22200 extern "C"
22202 #endif
22203 /* We use char because int might match the return type of a gcc2
22204 builtin and then its argument prototype would still apply. */
22205 char $ac_func ();
22206 /* The GNU C library defines this for functions which it implements
22207 to always fail with ENOSYS. Some functions are actually named
22208 something starting with __ and the normal name is an alias. */
22209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22210 choke me
22211 #else
22212 char (*f) () = $ac_func;
22213 #endif
22214 #ifdef __cplusplus
22216 #endif
22219 main ()
22221 return f != $ac_func;
22223 return 0;
22225 _ACEOF
22226 rm -f conftest.$ac_objext conftest$ac_exeext
22227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22228 (eval $ac_link) 2>conftest.er1
22229 ac_status=$?
22230 grep -v '^ *+' conftest.er1 >conftest.err
22231 rm -f conftest.er1
22232 cat conftest.err >&5
22233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22234 (exit $ac_status); } &&
22235 { ac_try='test -z "$ac_c_werror_flag"
22236 || test ! -s conftest.err'
22237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22238 (eval $ac_try) 2>&5
22239 ac_status=$?
22240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22241 (exit $ac_status); }; } &&
22242 { ac_try='test -s conftest$ac_exeext'
22243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22244 (eval $ac_try) 2>&5
22245 ac_status=$?
22246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247 (exit $ac_status); }; }; then
22248 eval "$as_ac_var=yes"
22249 else
22250 echo "$as_me: failed program was:" >&5
22251 sed 's/^/| /' conftest.$ac_ext >&5
22253 eval "$as_ac_var=no"
22255 rm -f conftest.err conftest.$ac_objext \
22256 conftest$ac_exeext conftest.$ac_ext
22258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22260 if test `eval echo '${'$as_ac_var'}'` = yes; then
22261 cat >>confdefs.h <<_ACEOF
22262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22263 _ACEOF
22266 done
22268 else
22269 echo "$as_me:$LINENO: checking for _float round functions" >&5
22270 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
22271 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
22272 echo $ECHO_N "(cached) $ECHO_C" >&6
22273 else
22277 ac_ext=cc
22278 ac_cpp='$CXXCPP $CPPFLAGS'
22279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22283 cat >conftest.$ac_ext <<_ACEOF
22284 /* confdefs.h. */
22285 _ACEOF
22286 cat confdefs.h >>conftest.$ac_ext
22287 cat >>conftest.$ac_ext <<_ACEOF
22288 /* end confdefs.h. */
22289 #include <math.h>
22291 main ()
22293 _ceilf (0); _floorf (0);
22295 return 0;
22297 _ACEOF
22298 rm -f conftest.$ac_objext
22299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22300 (eval $ac_compile) 2>conftest.er1
22301 ac_status=$?
22302 grep -v '^ *+' conftest.er1 >conftest.err
22303 rm -f conftest.er1
22304 cat conftest.err >&5
22305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22306 (exit $ac_status); } &&
22307 { ac_try='test -z "$ac_cxx_werror_flag"
22308 || test ! -s conftest.err'
22309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22310 (eval $ac_try) 2>&5
22311 ac_status=$?
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); }; } &&
22314 { ac_try='test -s conftest.$ac_objext'
22315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22316 (eval $ac_try) 2>&5
22317 ac_status=$?
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); }; }; then
22320 glibcxx_cv_func__float_round_use=yes
22321 else
22322 echo "$as_me: failed program was:" >&5
22323 sed 's/^/| /' conftest.$ac_ext >&5
22325 glibcxx_cv_func__float_round_use=no
22327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22328 ac_ext=c
22329 ac_cpp='$CPP $CPPFLAGS'
22330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22336 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
22337 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
22338 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22341 for ac_func in _ceilf _floorf
22343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22344 echo "$as_me:$LINENO: checking for $ac_func" >&5
22345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22346 if eval "test \"\${$as_ac_var+set}\" = set"; then
22347 echo $ECHO_N "(cached) $ECHO_C" >&6
22348 else
22349 if test x$gcc_no_link = xyes; then
22350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22352 { (exit 1); exit 1; }; }
22354 cat >conftest.$ac_ext <<_ACEOF
22355 /* confdefs.h. */
22356 _ACEOF
22357 cat confdefs.h >>conftest.$ac_ext
22358 cat >>conftest.$ac_ext <<_ACEOF
22359 /* end confdefs.h. */
22360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22362 #define $ac_func innocuous_$ac_func
22364 /* System header to define __stub macros and hopefully few prototypes,
22365 which can conflict with char $ac_func (); below.
22366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22367 <limits.h> exists even on freestanding compilers. */
22369 #ifdef __STDC__
22370 # include <limits.h>
22371 #else
22372 # include <assert.h>
22373 #endif
22375 #undef $ac_func
22377 /* Override any gcc2 internal prototype to avoid an error. */
22378 #ifdef __cplusplus
22379 extern "C"
22381 #endif
22382 /* We use char because int might match the return type of a gcc2
22383 builtin and then its argument prototype would still apply. */
22384 char $ac_func ();
22385 /* The GNU C library defines this for functions which it implements
22386 to always fail with ENOSYS. Some functions are actually named
22387 something starting with __ and the normal name is an alias. */
22388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22389 choke me
22390 #else
22391 char (*f) () = $ac_func;
22392 #endif
22393 #ifdef __cplusplus
22395 #endif
22398 main ()
22400 return f != $ac_func;
22402 return 0;
22404 _ACEOF
22405 rm -f conftest.$ac_objext conftest$ac_exeext
22406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22407 (eval $ac_link) 2>conftest.er1
22408 ac_status=$?
22409 grep -v '^ *+' conftest.er1 >conftest.err
22410 rm -f conftest.er1
22411 cat conftest.err >&5
22412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22413 (exit $ac_status); } &&
22414 { ac_try='test -z "$ac_c_werror_flag"
22415 || test ! -s conftest.err'
22416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22417 (eval $ac_try) 2>&5
22418 ac_status=$?
22419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22420 (exit $ac_status); }; } &&
22421 { ac_try='test -s conftest$ac_exeext'
22422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22423 (eval $ac_try) 2>&5
22424 ac_status=$?
22425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426 (exit $ac_status); }; }; then
22427 eval "$as_ac_var=yes"
22428 else
22429 echo "$as_me: failed program was:" >&5
22430 sed 's/^/| /' conftest.$ac_ext >&5
22432 eval "$as_ac_var=no"
22434 rm -f conftest.err conftest.$ac_objext \
22435 conftest$ac_exeext conftest.$ac_ext
22437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22439 if test `eval echo '${'$as_ac_var'}'` = yes; then
22440 cat >>confdefs.h <<_ACEOF
22441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22442 _ACEOF
22445 done
22457 echo "$as_me:$LINENO: checking for expf declaration" >&5
22458 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
22459 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22460 if test "${glibcxx_cv_func_expf_use+set}" = set; then
22461 echo $ECHO_N "(cached) $ECHO_C" >&6
22462 else
22466 ac_ext=cc
22467 ac_cpp='$CXXCPP $CPPFLAGS'
22468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22472 cat >conftest.$ac_ext <<_ACEOF
22473 /* confdefs.h. */
22474 _ACEOF
22475 cat confdefs.h >>conftest.$ac_ext
22476 cat >>conftest.$ac_ext <<_ACEOF
22477 /* end confdefs.h. */
22478 #include <math.h>
22479 #ifdef HAVE_IEEEFP_H
22480 #include <ieeefp.h>
22481 #endif
22484 main ()
22486 expf(0);
22488 return 0;
22490 _ACEOF
22491 rm -f conftest.$ac_objext
22492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22493 (eval $ac_compile) 2>conftest.er1
22494 ac_status=$?
22495 grep -v '^ *+' conftest.er1 >conftest.err
22496 rm -f conftest.er1
22497 cat conftest.err >&5
22498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499 (exit $ac_status); } &&
22500 { ac_try='test -z "$ac_cxx_werror_flag"
22501 || test ! -s conftest.err'
22502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22503 (eval $ac_try) 2>&5
22504 ac_status=$?
22505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22506 (exit $ac_status); }; } &&
22507 { ac_try='test -s conftest.$ac_objext'
22508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22509 (eval $ac_try) 2>&5
22510 ac_status=$?
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); }; }; then
22513 glibcxx_cv_func_expf_use=yes
22514 else
22515 echo "$as_me: failed program was:" >&5
22516 sed 's/^/| /' conftest.$ac_ext >&5
22518 glibcxx_cv_func_expf_use=no
22520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22521 ac_ext=c
22522 ac_cpp='$CPP $CPPFLAGS'
22523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22531 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
22532 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
22534 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22536 for ac_func in expf
22538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22539 echo "$as_me:$LINENO: checking for $ac_func" >&5
22540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22541 if eval "test \"\${$as_ac_var+set}\" = set"; then
22542 echo $ECHO_N "(cached) $ECHO_C" >&6
22543 else
22544 if test x$gcc_no_link = xyes; then
22545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22547 { (exit 1); exit 1; }; }
22549 cat >conftest.$ac_ext <<_ACEOF
22550 /* confdefs.h. */
22551 _ACEOF
22552 cat confdefs.h >>conftest.$ac_ext
22553 cat >>conftest.$ac_ext <<_ACEOF
22554 /* end confdefs.h. */
22555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22557 #define $ac_func innocuous_$ac_func
22559 /* System header to define __stub macros and hopefully few prototypes,
22560 which can conflict with char $ac_func (); below.
22561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22562 <limits.h> exists even on freestanding compilers. */
22564 #ifdef __STDC__
22565 # include <limits.h>
22566 #else
22567 # include <assert.h>
22568 #endif
22570 #undef $ac_func
22572 /* Override any gcc2 internal prototype to avoid an error. */
22573 #ifdef __cplusplus
22574 extern "C"
22576 #endif
22577 /* We use char because int might match the return type of a gcc2
22578 builtin and then its argument prototype would still apply. */
22579 char $ac_func ();
22580 /* The GNU C library defines this for functions which it implements
22581 to always fail with ENOSYS. Some functions are actually named
22582 something starting with __ and the normal name is an alias. */
22583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22584 choke me
22585 #else
22586 char (*f) () = $ac_func;
22587 #endif
22588 #ifdef __cplusplus
22590 #endif
22593 main ()
22595 return f != $ac_func;
22597 return 0;
22599 _ACEOF
22600 rm -f conftest.$ac_objext conftest$ac_exeext
22601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22602 (eval $ac_link) 2>conftest.er1
22603 ac_status=$?
22604 grep -v '^ *+' conftest.er1 >conftest.err
22605 rm -f conftest.er1
22606 cat conftest.err >&5
22607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22608 (exit $ac_status); } &&
22609 { ac_try='test -z "$ac_c_werror_flag"
22610 || test ! -s conftest.err'
22611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22612 (eval $ac_try) 2>&5
22613 ac_status=$?
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); }; } &&
22616 { ac_try='test -s conftest$ac_exeext'
22617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22618 (eval $ac_try) 2>&5
22619 ac_status=$?
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); }; }; then
22622 eval "$as_ac_var=yes"
22623 else
22624 echo "$as_me: failed program was:" >&5
22625 sed 's/^/| /' conftest.$ac_ext >&5
22627 eval "$as_ac_var=no"
22629 rm -f conftest.err conftest.$ac_objext \
22630 conftest$ac_exeext conftest.$ac_ext
22632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22634 if test `eval echo '${'$as_ac_var'}'` = yes; then
22635 cat >>confdefs.h <<_ACEOF
22636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22637 _ACEOF
22640 done
22642 else
22644 echo "$as_me:$LINENO: checking for _expf declaration" >&5
22645 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
22646 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22647 if test "${glibcxx_cv_func__expf_use+set}" = set; then
22648 echo $ECHO_N "(cached) $ECHO_C" >&6
22649 else
22653 ac_ext=cc
22654 ac_cpp='$CXXCPP $CPPFLAGS'
22655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22659 cat >conftest.$ac_ext <<_ACEOF
22660 /* confdefs.h. */
22661 _ACEOF
22662 cat confdefs.h >>conftest.$ac_ext
22663 cat >>conftest.$ac_ext <<_ACEOF
22664 /* end confdefs.h. */
22665 #include <math.h>
22666 #ifdef HAVE_IEEEFP_H
22667 #include <ieeefp.h>
22668 #endif
22671 main ()
22673 _expf(0);
22675 return 0;
22677 _ACEOF
22678 rm -f conftest.$ac_objext
22679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22680 (eval $ac_compile) 2>conftest.er1
22681 ac_status=$?
22682 grep -v '^ *+' conftest.er1 >conftest.err
22683 rm -f conftest.er1
22684 cat conftest.err >&5
22685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22686 (exit $ac_status); } &&
22687 { ac_try='test -z "$ac_cxx_werror_flag"
22688 || test ! -s conftest.err'
22689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22690 (eval $ac_try) 2>&5
22691 ac_status=$?
22692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22693 (exit $ac_status); }; } &&
22694 { ac_try='test -s conftest.$ac_objext'
22695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22696 (eval $ac_try) 2>&5
22697 ac_status=$?
22698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699 (exit $ac_status); }; }; then
22700 glibcxx_cv_func__expf_use=yes
22701 else
22702 echo "$as_me: failed program was:" >&5
22703 sed 's/^/| /' conftest.$ac_ext >&5
22705 glibcxx_cv_func__expf_use=no
22707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22708 ac_ext=c
22709 ac_cpp='$CPP $CPPFLAGS'
22710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22718 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
22719 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
22721 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22723 for ac_func in _expf
22725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22726 echo "$as_me:$LINENO: checking for $ac_func" >&5
22727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22728 if eval "test \"\${$as_ac_var+set}\" = set"; then
22729 echo $ECHO_N "(cached) $ECHO_C" >&6
22730 else
22731 if test x$gcc_no_link = xyes; then
22732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22734 { (exit 1); exit 1; }; }
22736 cat >conftest.$ac_ext <<_ACEOF
22737 /* confdefs.h. */
22738 _ACEOF
22739 cat confdefs.h >>conftest.$ac_ext
22740 cat >>conftest.$ac_ext <<_ACEOF
22741 /* end confdefs.h. */
22742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22744 #define $ac_func innocuous_$ac_func
22746 /* System header to define __stub macros and hopefully few prototypes,
22747 which can conflict with char $ac_func (); below.
22748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22749 <limits.h> exists even on freestanding compilers. */
22751 #ifdef __STDC__
22752 # include <limits.h>
22753 #else
22754 # include <assert.h>
22755 #endif
22757 #undef $ac_func
22759 /* Override any gcc2 internal prototype to avoid an error. */
22760 #ifdef __cplusplus
22761 extern "C"
22763 #endif
22764 /* We use char because int might match the return type of a gcc2
22765 builtin and then its argument prototype would still apply. */
22766 char $ac_func ();
22767 /* The GNU C library defines this for functions which it implements
22768 to always fail with ENOSYS. Some functions are actually named
22769 something starting with __ and the normal name is an alias. */
22770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22771 choke me
22772 #else
22773 char (*f) () = $ac_func;
22774 #endif
22775 #ifdef __cplusplus
22777 #endif
22780 main ()
22782 return f != $ac_func;
22784 return 0;
22786 _ACEOF
22787 rm -f conftest.$ac_objext conftest$ac_exeext
22788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22789 (eval $ac_link) 2>conftest.er1
22790 ac_status=$?
22791 grep -v '^ *+' conftest.er1 >conftest.err
22792 rm -f conftest.er1
22793 cat conftest.err >&5
22794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22795 (exit $ac_status); } &&
22796 { ac_try='test -z "$ac_c_werror_flag"
22797 || test ! -s conftest.err'
22798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22799 (eval $ac_try) 2>&5
22800 ac_status=$?
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); }; } &&
22803 { ac_try='test -s conftest$ac_exeext'
22804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22805 (eval $ac_try) 2>&5
22806 ac_status=$?
22807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22808 (exit $ac_status); }; }; then
22809 eval "$as_ac_var=yes"
22810 else
22811 echo "$as_me: failed program was:" >&5
22812 sed 's/^/| /' conftest.$ac_ext >&5
22814 eval "$as_ac_var=no"
22816 rm -f conftest.err conftest.$ac_objext \
22817 conftest$ac_exeext conftest.$ac_ext
22819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22821 if test `eval echo '${'$as_ac_var'}'` = yes; then
22822 cat >>confdefs.h <<_ACEOF
22823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22824 _ACEOF
22827 done
22837 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
22838 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
22839 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22840 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
22841 echo $ECHO_N "(cached) $ECHO_C" >&6
22842 else
22846 ac_ext=cc
22847 ac_cpp='$CXXCPP $CPPFLAGS'
22848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22852 cat >conftest.$ac_ext <<_ACEOF
22853 /* confdefs.h. */
22854 _ACEOF
22855 cat confdefs.h >>conftest.$ac_ext
22856 cat >>conftest.$ac_ext <<_ACEOF
22857 /* end confdefs.h. */
22858 #include <math.h>
22859 #ifdef HAVE_IEEEFP_H
22860 #include <ieeefp.h>
22861 #endif
22864 main ()
22866 isnanf(0);
22868 return 0;
22870 _ACEOF
22871 rm -f conftest.$ac_objext
22872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22873 (eval $ac_compile) 2>conftest.er1
22874 ac_status=$?
22875 grep -v '^ *+' conftest.er1 >conftest.err
22876 rm -f conftest.er1
22877 cat conftest.err >&5
22878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879 (exit $ac_status); } &&
22880 { ac_try='test -z "$ac_cxx_werror_flag"
22881 || test ! -s conftest.err'
22882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22883 (eval $ac_try) 2>&5
22884 ac_status=$?
22885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22886 (exit $ac_status); }; } &&
22887 { ac_try='test -s conftest.$ac_objext'
22888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22889 (eval $ac_try) 2>&5
22890 ac_status=$?
22891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22892 (exit $ac_status); }; }; then
22893 glibcxx_cv_func_isnanf_use=yes
22894 else
22895 echo "$as_me: failed program was:" >&5
22896 sed 's/^/| /' conftest.$ac_ext >&5
22898 glibcxx_cv_func_isnanf_use=no
22900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22901 ac_ext=c
22902 ac_cpp='$CPP $CPPFLAGS'
22903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22911 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
22912 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
22914 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22916 for ac_func in isnanf
22918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22919 echo "$as_me:$LINENO: checking for $ac_func" >&5
22920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22921 if eval "test \"\${$as_ac_var+set}\" = set"; then
22922 echo $ECHO_N "(cached) $ECHO_C" >&6
22923 else
22924 if test x$gcc_no_link = xyes; then
22925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22927 { (exit 1); exit 1; }; }
22929 cat >conftest.$ac_ext <<_ACEOF
22930 /* confdefs.h. */
22931 _ACEOF
22932 cat confdefs.h >>conftest.$ac_ext
22933 cat >>conftest.$ac_ext <<_ACEOF
22934 /* end confdefs.h. */
22935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22937 #define $ac_func innocuous_$ac_func
22939 /* System header to define __stub macros and hopefully few prototypes,
22940 which can conflict with char $ac_func (); below.
22941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22942 <limits.h> exists even on freestanding compilers. */
22944 #ifdef __STDC__
22945 # include <limits.h>
22946 #else
22947 # include <assert.h>
22948 #endif
22950 #undef $ac_func
22952 /* Override any gcc2 internal prototype to avoid an error. */
22953 #ifdef __cplusplus
22954 extern "C"
22956 #endif
22957 /* We use char because int might match the return type of a gcc2
22958 builtin and then its argument prototype would still apply. */
22959 char $ac_func ();
22960 /* The GNU C library defines this for functions which it implements
22961 to always fail with ENOSYS. Some functions are actually named
22962 something starting with __ and the normal name is an alias. */
22963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22964 choke me
22965 #else
22966 char (*f) () = $ac_func;
22967 #endif
22968 #ifdef __cplusplus
22970 #endif
22973 main ()
22975 return f != $ac_func;
22977 return 0;
22979 _ACEOF
22980 rm -f conftest.$ac_objext conftest$ac_exeext
22981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22982 (eval $ac_link) 2>conftest.er1
22983 ac_status=$?
22984 grep -v '^ *+' conftest.er1 >conftest.err
22985 rm -f conftest.er1
22986 cat conftest.err >&5
22987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22988 (exit $ac_status); } &&
22989 { ac_try='test -z "$ac_c_werror_flag"
22990 || test ! -s conftest.err'
22991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22992 (eval $ac_try) 2>&5
22993 ac_status=$?
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); }; } &&
22996 { ac_try='test -s conftest$ac_exeext'
22997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22998 (eval $ac_try) 2>&5
22999 ac_status=$?
23000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001 (exit $ac_status); }; }; then
23002 eval "$as_ac_var=yes"
23003 else
23004 echo "$as_me: failed program was:" >&5
23005 sed 's/^/| /' conftest.$ac_ext >&5
23007 eval "$as_ac_var=no"
23009 rm -f conftest.err conftest.$ac_objext \
23010 conftest$ac_exeext conftest.$ac_ext
23012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23014 if test `eval echo '${'$as_ac_var'}'` = yes; then
23015 cat >>confdefs.h <<_ACEOF
23016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23017 _ACEOF
23020 done
23022 else
23024 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
23025 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
23026 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23027 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
23028 echo $ECHO_N "(cached) $ECHO_C" >&6
23029 else
23033 ac_ext=cc
23034 ac_cpp='$CXXCPP $CPPFLAGS'
23035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23039 cat >conftest.$ac_ext <<_ACEOF
23040 /* confdefs.h. */
23041 _ACEOF
23042 cat confdefs.h >>conftest.$ac_ext
23043 cat >>conftest.$ac_ext <<_ACEOF
23044 /* end confdefs.h. */
23045 #include <math.h>
23046 #ifdef HAVE_IEEEFP_H
23047 #include <ieeefp.h>
23048 #endif
23051 main ()
23053 _isnanf(0);
23055 return 0;
23057 _ACEOF
23058 rm -f conftest.$ac_objext
23059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23060 (eval $ac_compile) 2>conftest.er1
23061 ac_status=$?
23062 grep -v '^ *+' conftest.er1 >conftest.err
23063 rm -f conftest.er1
23064 cat conftest.err >&5
23065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23066 (exit $ac_status); } &&
23067 { ac_try='test -z "$ac_cxx_werror_flag"
23068 || test ! -s conftest.err'
23069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23070 (eval $ac_try) 2>&5
23071 ac_status=$?
23072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073 (exit $ac_status); }; } &&
23074 { ac_try='test -s conftest.$ac_objext'
23075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23076 (eval $ac_try) 2>&5
23077 ac_status=$?
23078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23079 (exit $ac_status); }; }; then
23080 glibcxx_cv_func__isnanf_use=yes
23081 else
23082 echo "$as_me: failed program was:" >&5
23083 sed 's/^/| /' conftest.$ac_ext >&5
23085 glibcxx_cv_func__isnanf_use=no
23087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23088 ac_ext=c
23089 ac_cpp='$CPP $CPPFLAGS'
23090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23098 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
23099 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
23101 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23103 for ac_func in _isnanf
23105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23106 echo "$as_me:$LINENO: checking for $ac_func" >&5
23107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23108 if eval "test \"\${$as_ac_var+set}\" = set"; then
23109 echo $ECHO_N "(cached) $ECHO_C" >&6
23110 else
23111 if test x$gcc_no_link = xyes; then
23112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23114 { (exit 1); exit 1; }; }
23116 cat >conftest.$ac_ext <<_ACEOF
23117 /* confdefs.h. */
23118 _ACEOF
23119 cat confdefs.h >>conftest.$ac_ext
23120 cat >>conftest.$ac_ext <<_ACEOF
23121 /* end confdefs.h. */
23122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23124 #define $ac_func innocuous_$ac_func
23126 /* System header to define __stub macros and hopefully few prototypes,
23127 which can conflict with char $ac_func (); below.
23128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23129 <limits.h> exists even on freestanding compilers. */
23131 #ifdef __STDC__
23132 # include <limits.h>
23133 #else
23134 # include <assert.h>
23135 #endif
23137 #undef $ac_func
23139 /* Override any gcc2 internal prototype to avoid an error. */
23140 #ifdef __cplusplus
23141 extern "C"
23143 #endif
23144 /* We use char because int might match the return type of a gcc2
23145 builtin and then its argument prototype would still apply. */
23146 char $ac_func ();
23147 /* The GNU C library defines this for functions which it implements
23148 to always fail with ENOSYS. Some functions are actually named
23149 something starting with __ and the normal name is an alias. */
23150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23151 choke me
23152 #else
23153 char (*f) () = $ac_func;
23154 #endif
23155 #ifdef __cplusplus
23157 #endif
23160 main ()
23162 return f != $ac_func;
23164 return 0;
23166 _ACEOF
23167 rm -f conftest.$ac_objext conftest$ac_exeext
23168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23169 (eval $ac_link) 2>conftest.er1
23170 ac_status=$?
23171 grep -v '^ *+' conftest.er1 >conftest.err
23172 rm -f conftest.er1
23173 cat conftest.err >&5
23174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23175 (exit $ac_status); } &&
23176 { ac_try='test -z "$ac_c_werror_flag"
23177 || test ! -s conftest.err'
23178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23179 (eval $ac_try) 2>&5
23180 ac_status=$?
23181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182 (exit $ac_status); }; } &&
23183 { ac_try='test -s conftest$ac_exeext'
23184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23185 (eval $ac_try) 2>&5
23186 ac_status=$?
23187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188 (exit $ac_status); }; }; then
23189 eval "$as_ac_var=yes"
23190 else
23191 echo "$as_me: failed program was:" >&5
23192 sed 's/^/| /' conftest.$ac_ext >&5
23194 eval "$as_ac_var=no"
23196 rm -f conftest.err conftest.$ac_objext \
23197 conftest$ac_exeext conftest.$ac_ext
23199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23201 if test `eval echo '${'$as_ac_var'}'` = yes; then
23202 cat >>confdefs.h <<_ACEOF
23203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23204 _ACEOF
23207 done
23217 echo "$as_me:$LINENO: checking for isinff declaration" >&5
23218 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
23219 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23220 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
23221 echo $ECHO_N "(cached) $ECHO_C" >&6
23222 else
23226 ac_ext=cc
23227 ac_cpp='$CXXCPP $CPPFLAGS'
23228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23232 cat >conftest.$ac_ext <<_ACEOF
23233 /* confdefs.h. */
23234 _ACEOF
23235 cat confdefs.h >>conftest.$ac_ext
23236 cat >>conftest.$ac_ext <<_ACEOF
23237 /* end confdefs.h. */
23238 #include <math.h>
23239 #ifdef HAVE_IEEEFP_H
23240 #include <ieeefp.h>
23241 #endif
23244 main ()
23246 isinff(0);
23248 return 0;
23250 _ACEOF
23251 rm -f conftest.$ac_objext
23252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23253 (eval $ac_compile) 2>conftest.er1
23254 ac_status=$?
23255 grep -v '^ *+' conftest.er1 >conftest.err
23256 rm -f conftest.er1
23257 cat conftest.err >&5
23258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23259 (exit $ac_status); } &&
23260 { ac_try='test -z "$ac_cxx_werror_flag"
23261 || test ! -s conftest.err'
23262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23263 (eval $ac_try) 2>&5
23264 ac_status=$?
23265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23266 (exit $ac_status); }; } &&
23267 { ac_try='test -s conftest.$ac_objext'
23268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23269 (eval $ac_try) 2>&5
23270 ac_status=$?
23271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23272 (exit $ac_status); }; }; then
23273 glibcxx_cv_func_isinff_use=yes
23274 else
23275 echo "$as_me: failed program was:" >&5
23276 sed 's/^/| /' conftest.$ac_ext >&5
23278 glibcxx_cv_func_isinff_use=no
23280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23281 ac_ext=c
23282 ac_cpp='$CPP $CPPFLAGS'
23283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23291 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
23292 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
23294 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23296 for ac_func in isinff
23298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23299 echo "$as_me:$LINENO: checking for $ac_func" >&5
23300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23301 if eval "test \"\${$as_ac_var+set}\" = set"; then
23302 echo $ECHO_N "(cached) $ECHO_C" >&6
23303 else
23304 if test x$gcc_no_link = xyes; then
23305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23307 { (exit 1); exit 1; }; }
23309 cat >conftest.$ac_ext <<_ACEOF
23310 /* confdefs.h. */
23311 _ACEOF
23312 cat confdefs.h >>conftest.$ac_ext
23313 cat >>conftest.$ac_ext <<_ACEOF
23314 /* end confdefs.h. */
23315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23317 #define $ac_func innocuous_$ac_func
23319 /* System header to define __stub macros and hopefully few prototypes,
23320 which can conflict with char $ac_func (); below.
23321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23322 <limits.h> exists even on freestanding compilers. */
23324 #ifdef __STDC__
23325 # include <limits.h>
23326 #else
23327 # include <assert.h>
23328 #endif
23330 #undef $ac_func
23332 /* Override any gcc2 internal prototype to avoid an error. */
23333 #ifdef __cplusplus
23334 extern "C"
23336 #endif
23337 /* We use char because int might match the return type of a gcc2
23338 builtin and then its argument prototype would still apply. */
23339 char $ac_func ();
23340 /* The GNU C library defines this for functions which it implements
23341 to always fail with ENOSYS. Some functions are actually named
23342 something starting with __ and the normal name is an alias. */
23343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23344 choke me
23345 #else
23346 char (*f) () = $ac_func;
23347 #endif
23348 #ifdef __cplusplus
23350 #endif
23353 main ()
23355 return f != $ac_func;
23357 return 0;
23359 _ACEOF
23360 rm -f conftest.$ac_objext conftest$ac_exeext
23361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23362 (eval $ac_link) 2>conftest.er1
23363 ac_status=$?
23364 grep -v '^ *+' conftest.er1 >conftest.err
23365 rm -f conftest.er1
23366 cat conftest.err >&5
23367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23368 (exit $ac_status); } &&
23369 { ac_try='test -z "$ac_c_werror_flag"
23370 || test ! -s conftest.err'
23371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23372 (eval $ac_try) 2>&5
23373 ac_status=$?
23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375 (exit $ac_status); }; } &&
23376 { ac_try='test -s conftest$ac_exeext'
23377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23378 (eval $ac_try) 2>&5
23379 ac_status=$?
23380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23381 (exit $ac_status); }; }; then
23382 eval "$as_ac_var=yes"
23383 else
23384 echo "$as_me: failed program was:" >&5
23385 sed 's/^/| /' conftest.$ac_ext >&5
23387 eval "$as_ac_var=no"
23389 rm -f conftest.err conftest.$ac_objext \
23390 conftest$ac_exeext conftest.$ac_ext
23392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23394 if test `eval echo '${'$as_ac_var'}'` = yes; then
23395 cat >>confdefs.h <<_ACEOF
23396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23397 _ACEOF
23400 done
23402 else
23404 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
23405 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
23406 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23407 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
23408 echo $ECHO_N "(cached) $ECHO_C" >&6
23409 else
23413 ac_ext=cc
23414 ac_cpp='$CXXCPP $CPPFLAGS'
23415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23419 cat >conftest.$ac_ext <<_ACEOF
23420 /* confdefs.h. */
23421 _ACEOF
23422 cat confdefs.h >>conftest.$ac_ext
23423 cat >>conftest.$ac_ext <<_ACEOF
23424 /* end confdefs.h. */
23425 #include <math.h>
23426 #ifdef HAVE_IEEEFP_H
23427 #include <ieeefp.h>
23428 #endif
23431 main ()
23433 _isinff(0);
23435 return 0;
23437 _ACEOF
23438 rm -f conftest.$ac_objext
23439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23440 (eval $ac_compile) 2>conftest.er1
23441 ac_status=$?
23442 grep -v '^ *+' conftest.er1 >conftest.err
23443 rm -f conftest.er1
23444 cat conftest.err >&5
23445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446 (exit $ac_status); } &&
23447 { ac_try='test -z "$ac_cxx_werror_flag"
23448 || test ! -s conftest.err'
23449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23450 (eval $ac_try) 2>&5
23451 ac_status=$?
23452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23453 (exit $ac_status); }; } &&
23454 { ac_try='test -s conftest.$ac_objext'
23455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23456 (eval $ac_try) 2>&5
23457 ac_status=$?
23458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23459 (exit $ac_status); }; }; then
23460 glibcxx_cv_func__isinff_use=yes
23461 else
23462 echo "$as_me: failed program was:" >&5
23463 sed 's/^/| /' conftest.$ac_ext >&5
23465 glibcxx_cv_func__isinff_use=no
23467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23468 ac_ext=c
23469 ac_cpp='$CPP $CPPFLAGS'
23470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23478 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
23479 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
23481 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23483 for ac_func in _isinff
23485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23486 echo "$as_me:$LINENO: checking for $ac_func" >&5
23487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23488 if eval "test \"\${$as_ac_var+set}\" = set"; then
23489 echo $ECHO_N "(cached) $ECHO_C" >&6
23490 else
23491 if test x$gcc_no_link = xyes; then
23492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23494 { (exit 1); exit 1; }; }
23496 cat >conftest.$ac_ext <<_ACEOF
23497 /* confdefs.h. */
23498 _ACEOF
23499 cat confdefs.h >>conftest.$ac_ext
23500 cat >>conftest.$ac_ext <<_ACEOF
23501 /* end confdefs.h. */
23502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23504 #define $ac_func innocuous_$ac_func
23506 /* System header to define __stub macros and hopefully few prototypes,
23507 which can conflict with char $ac_func (); below.
23508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23509 <limits.h> exists even on freestanding compilers. */
23511 #ifdef __STDC__
23512 # include <limits.h>
23513 #else
23514 # include <assert.h>
23515 #endif
23517 #undef $ac_func
23519 /* Override any gcc2 internal prototype to avoid an error. */
23520 #ifdef __cplusplus
23521 extern "C"
23523 #endif
23524 /* We use char because int might match the return type of a gcc2
23525 builtin and then its argument prototype would still apply. */
23526 char $ac_func ();
23527 /* The GNU C library defines this for functions which it implements
23528 to always fail with ENOSYS. Some functions are actually named
23529 something starting with __ and the normal name is an alias. */
23530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23531 choke me
23532 #else
23533 char (*f) () = $ac_func;
23534 #endif
23535 #ifdef __cplusplus
23537 #endif
23540 main ()
23542 return f != $ac_func;
23544 return 0;
23546 _ACEOF
23547 rm -f conftest.$ac_objext conftest$ac_exeext
23548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23549 (eval $ac_link) 2>conftest.er1
23550 ac_status=$?
23551 grep -v '^ *+' conftest.er1 >conftest.err
23552 rm -f conftest.er1
23553 cat conftest.err >&5
23554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23555 (exit $ac_status); } &&
23556 { ac_try='test -z "$ac_c_werror_flag"
23557 || test ! -s conftest.err'
23558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23559 (eval $ac_try) 2>&5
23560 ac_status=$?
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); }; } &&
23563 { ac_try='test -s conftest$ac_exeext'
23564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23565 (eval $ac_try) 2>&5
23566 ac_status=$?
23567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568 (exit $ac_status); }; }; then
23569 eval "$as_ac_var=yes"
23570 else
23571 echo "$as_me: failed program was:" >&5
23572 sed 's/^/| /' conftest.$ac_ext >&5
23574 eval "$as_ac_var=no"
23576 rm -f conftest.err conftest.$ac_objext \
23577 conftest$ac_exeext conftest.$ac_ext
23579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23581 if test `eval echo '${'$as_ac_var'}'` = yes; then
23582 cat >>confdefs.h <<_ACEOF
23583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23584 _ACEOF
23587 done
23597 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
23598 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
23599 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23600 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
23601 echo $ECHO_N "(cached) $ECHO_C" >&6
23602 else
23606 ac_ext=cc
23607 ac_cpp='$CXXCPP $CPPFLAGS'
23608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23612 cat >conftest.$ac_ext <<_ACEOF
23613 /* confdefs.h. */
23614 _ACEOF
23615 cat confdefs.h >>conftest.$ac_ext
23616 cat >>conftest.$ac_ext <<_ACEOF
23617 /* end confdefs.h. */
23618 #include <math.h>
23620 main ()
23622 atan2f(0, 0);
23624 return 0;
23626 _ACEOF
23627 rm -f conftest.$ac_objext
23628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23629 (eval $ac_compile) 2>conftest.er1
23630 ac_status=$?
23631 grep -v '^ *+' conftest.er1 >conftest.err
23632 rm -f conftest.er1
23633 cat conftest.err >&5
23634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23635 (exit $ac_status); } &&
23636 { ac_try='test -z "$ac_cxx_werror_flag"
23637 || test ! -s conftest.err'
23638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23639 (eval $ac_try) 2>&5
23640 ac_status=$?
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); }; } &&
23643 { ac_try='test -s conftest.$ac_objext'
23644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23645 (eval $ac_try) 2>&5
23646 ac_status=$?
23647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23648 (exit $ac_status); }; }; then
23649 glibcxx_cv_func_atan2f_use=yes
23650 else
23651 echo "$as_me: failed program was:" >&5
23652 sed 's/^/| /' conftest.$ac_ext >&5
23654 glibcxx_cv_func_atan2f_use=no
23656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23657 ac_ext=c
23658 ac_cpp='$CPP $CPPFLAGS'
23659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23667 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
23668 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
23670 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23672 for ac_func in atan2f
23674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23675 echo "$as_me:$LINENO: checking for $ac_func" >&5
23676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23677 if eval "test \"\${$as_ac_var+set}\" = set"; then
23678 echo $ECHO_N "(cached) $ECHO_C" >&6
23679 else
23680 if test x$gcc_no_link = xyes; then
23681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23683 { (exit 1); exit 1; }; }
23685 cat >conftest.$ac_ext <<_ACEOF
23686 /* confdefs.h. */
23687 _ACEOF
23688 cat confdefs.h >>conftest.$ac_ext
23689 cat >>conftest.$ac_ext <<_ACEOF
23690 /* end confdefs.h. */
23691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23693 #define $ac_func innocuous_$ac_func
23695 /* System header to define __stub macros and hopefully few prototypes,
23696 which can conflict with char $ac_func (); below.
23697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23698 <limits.h> exists even on freestanding compilers. */
23700 #ifdef __STDC__
23701 # include <limits.h>
23702 #else
23703 # include <assert.h>
23704 #endif
23706 #undef $ac_func
23708 /* Override any gcc2 internal prototype to avoid an error. */
23709 #ifdef __cplusplus
23710 extern "C"
23712 #endif
23713 /* We use char because int might match the return type of a gcc2
23714 builtin and then its argument prototype would still apply. */
23715 char $ac_func ();
23716 /* The GNU C library defines this for functions which it implements
23717 to always fail with ENOSYS. Some functions are actually named
23718 something starting with __ and the normal name is an alias. */
23719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23720 choke me
23721 #else
23722 char (*f) () = $ac_func;
23723 #endif
23724 #ifdef __cplusplus
23726 #endif
23729 main ()
23731 return f != $ac_func;
23733 return 0;
23735 _ACEOF
23736 rm -f conftest.$ac_objext conftest$ac_exeext
23737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23738 (eval $ac_link) 2>conftest.er1
23739 ac_status=$?
23740 grep -v '^ *+' conftest.er1 >conftest.err
23741 rm -f conftest.er1
23742 cat conftest.err >&5
23743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23744 (exit $ac_status); } &&
23745 { ac_try='test -z "$ac_c_werror_flag"
23746 || test ! -s conftest.err'
23747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23748 (eval $ac_try) 2>&5
23749 ac_status=$?
23750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23751 (exit $ac_status); }; } &&
23752 { ac_try='test -s conftest$ac_exeext'
23753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23754 (eval $ac_try) 2>&5
23755 ac_status=$?
23756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23757 (exit $ac_status); }; }; then
23758 eval "$as_ac_var=yes"
23759 else
23760 echo "$as_me: failed program was:" >&5
23761 sed 's/^/| /' conftest.$ac_ext >&5
23763 eval "$as_ac_var=no"
23765 rm -f conftest.err conftest.$ac_objext \
23766 conftest$ac_exeext conftest.$ac_ext
23768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23770 if test `eval echo '${'$as_ac_var'}'` = yes; then
23771 cat >>confdefs.h <<_ACEOF
23772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23773 _ACEOF
23776 done
23778 else
23780 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
23781 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
23782 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23783 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
23784 echo $ECHO_N "(cached) $ECHO_C" >&6
23785 else
23789 ac_ext=cc
23790 ac_cpp='$CXXCPP $CPPFLAGS'
23791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23795 cat >conftest.$ac_ext <<_ACEOF
23796 /* confdefs.h. */
23797 _ACEOF
23798 cat confdefs.h >>conftest.$ac_ext
23799 cat >>conftest.$ac_ext <<_ACEOF
23800 /* end confdefs.h. */
23801 #include <math.h>
23803 main ()
23805 _atan2f(0, 0);
23807 return 0;
23809 _ACEOF
23810 rm -f conftest.$ac_objext
23811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23812 (eval $ac_compile) 2>conftest.er1
23813 ac_status=$?
23814 grep -v '^ *+' conftest.er1 >conftest.err
23815 rm -f conftest.er1
23816 cat conftest.err >&5
23817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23818 (exit $ac_status); } &&
23819 { ac_try='test -z "$ac_cxx_werror_flag"
23820 || test ! -s conftest.err'
23821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23822 (eval $ac_try) 2>&5
23823 ac_status=$?
23824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23825 (exit $ac_status); }; } &&
23826 { ac_try='test -s conftest.$ac_objext'
23827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23828 (eval $ac_try) 2>&5
23829 ac_status=$?
23830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23831 (exit $ac_status); }; }; then
23832 glibcxx_cv_func__atan2f_use=yes
23833 else
23834 echo "$as_me: failed program was:" >&5
23835 sed 's/^/| /' conftest.$ac_ext >&5
23837 glibcxx_cv_func__atan2f_use=no
23839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23840 ac_ext=c
23841 ac_cpp='$CPP $CPPFLAGS'
23842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23850 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
23851 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
23853 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23855 for ac_func in _atan2f
23857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23858 echo "$as_me:$LINENO: checking for $ac_func" >&5
23859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23860 if eval "test \"\${$as_ac_var+set}\" = set"; then
23861 echo $ECHO_N "(cached) $ECHO_C" >&6
23862 else
23863 if test x$gcc_no_link = xyes; then
23864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23866 { (exit 1); exit 1; }; }
23868 cat >conftest.$ac_ext <<_ACEOF
23869 /* confdefs.h. */
23870 _ACEOF
23871 cat confdefs.h >>conftest.$ac_ext
23872 cat >>conftest.$ac_ext <<_ACEOF
23873 /* end confdefs.h. */
23874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23876 #define $ac_func innocuous_$ac_func
23878 /* System header to define __stub macros and hopefully few prototypes,
23879 which can conflict with char $ac_func (); below.
23880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23881 <limits.h> exists even on freestanding compilers. */
23883 #ifdef __STDC__
23884 # include <limits.h>
23885 #else
23886 # include <assert.h>
23887 #endif
23889 #undef $ac_func
23891 /* Override any gcc2 internal prototype to avoid an error. */
23892 #ifdef __cplusplus
23893 extern "C"
23895 #endif
23896 /* We use char because int might match the return type of a gcc2
23897 builtin and then its argument prototype would still apply. */
23898 char $ac_func ();
23899 /* The GNU C library defines this for functions which it implements
23900 to always fail with ENOSYS. Some functions are actually named
23901 something starting with __ and the normal name is an alias. */
23902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23903 choke me
23904 #else
23905 char (*f) () = $ac_func;
23906 #endif
23907 #ifdef __cplusplus
23909 #endif
23912 main ()
23914 return f != $ac_func;
23916 return 0;
23918 _ACEOF
23919 rm -f conftest.$ac_objext conftest$ac_exeext
23920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23921 (eval $ac_link) 2>conftest.er1
23922 ac_status=$?
23923 grep -v '^ *+' conftest.er1 >conftest.err
23924 rm -f conftest.er1
23925 cat conftest.err >&5
23926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23927 (exit $ac_status); } &&
23928 { ac_try='test -z "$ac_c_werror_flag"
23929 || test ! -s conftest.err'
23930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23931 (eval $ac_try) 2>&5
23932 ac_status=$?
23933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23934 (exit $ac_status); }; } &&
23935 { ac_try='test -s conftest$ac_exeext'
23936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23937 (eval $ac_try) 2>&5
23938 ac_status=$?
23939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23940 (exit $ac_status); }; }; then
23941 eval "$as_ac_var=yes"
23942 else
23943 echo "$as_me: failed program was:" >&5
23944 sed 's/^/| /' conftest.$ac_ext >&5
23946 eval "$as_ac_var=no"
23948 rm -f conftest.err conftest.$ac_objext \
23949 conftest$ac_exeext conftest.$ac_ext
23951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23953 if test `eval echo '${'$as_ac_var'}'` = yes; then
23954 cat >>confdefs.h <<_ACEOF
23955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23956 _ACEOF
23959 done
23969 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
23970 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
23971 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23972 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
23973 echo $ECHO_N "(cached) $ECHO_C" >&6
23974 else
23978 ac_ext=cc
23979 ac_cpp='$CXXCPP $CPPFLAGS'
23980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23984 cat >conftest.$ac_ext <<_ACEOF
23985 /* confdefs.h. */
23986 _ACEOF
23987 cat confdefs.h >>conftest.$ac_ext
23988 cat >>conftest.$ac_ext <<_ACEOF
23989 /* end confdefs.h. */
23990 #include <math.h>
23991 #ifdef HAVE_IEEEFP_H
23992 #include <ieeefp.h>
23993 #endif
23996 main ()
23998 fabsf(0);
24000 return 0;
24002 _ACEOF
24003 rm -f conftest.$ac_objext
24004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24005 (eval $ac_compile) 2>conftest.er1
24006 ac_status=$?
24007 grep -v '^ *+' conftest.er1 >conftest.err
24008 rm -f conftest.er1
24009 cat conftest.err >&5
24010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24011 (exit $ac_status); } &&
24012 { ac_try='test -z "$ac_cxx_werror_flag"
24013 || test ! -s conftest.err'
24014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24015 (eval $ac_try) 2>&5
24016 ac_status=$?
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); }; } &&
24019 { ac_try='test -s conftest.$ac_objext'
24020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24021 (eval $ac_try) 2>&5
24022 ac_status=$?
24023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24024 (exit $ac_status); }; }; then
24025 glibcxx_cv_func_fabsf_use=yes
24026 else
24027 echo "$as_me: failed program was:" >&5
24028 sed 's/^/| /' conftest.$ac_ext >&5
24030 glibcxx_cv_func_fabsf_use=no
24032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24033 ac_ext=c
24034 ac_cpp='$CPP $CPPFLAGS'
24035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24043 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
24044 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
24046 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24048 for ac_func in fabsf
24050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24051 echo "$as_me:$LINENO: checking for $ac_func" >&5
24052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24053 if eval "test \"\${$as_ac_var+set}\" = set"; then
24054 echo $ECHO_N "(cached) $ECHO_C" >&6
24055 else
24056 if test x$gcc_no_link = xyes; then
24057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24059 { (exit 1); exit 1; }; }
24061 cat >conftest.$ac_ext <<_ACEOF
24062 /* confdefs.h. */
24063 _ACEOF
24064 cat confdefs.h >>conftest.$ac_ext
24065 cat >>conftest.$ac_ext <<_ACEOF
24066 /* end confdefs.h. */
24067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24069 #define $ac_func innocuous_$ac_func
24071 /* System header to define __stub macros and hopefully few prototypes,
24072 which can conflict with char $ac_func (); below.
24073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24074 <limits.h> exists even on freestanding compilers. */
24076 #ifdef __STDC__
24077 # include <limits.h>
24078 #else
24079 # include <assert.h>
24080 #endif
24082 #undef $ac_func
24084 /* Override any gcc2 internal prototype to avoid an error. */
24085 #ifdef __cplusplus
24086 extern "C"
24088 #endif
24089 /* We use char because int might match the return type of a gcc2
24090 builtin and then its argument prototype would still apply. */
24091 char $ac_func ();
24092 /* The GNU C library defines this for functions which it implements
24093 to always fail with ENOSYS. Some functions are actually named
24094 something starting with __ and the normal name is an alias. */
24095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24096 choke me
24097 #else
24098 char (*f) () = $ac_func;
24099 #endif
24100 #ifdef __cplusplus
24102 #endif
24105 main ()
24107 return f != $ac_func;
24109 return 0;
24111 _ACEOF
24112 rm -f conftest.$ac_objext conftest$ac_exeext
24113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24114 (eval $ac_link) 2>conftest.er1
24115 ac_status=$?
24116 grep -v '^ *+' conftest.er1 >conftest.err
24117 rm -f conftest.er1
24118 cat conftest.err >&5
24119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120 (exit $ac_status); } &&
24121 { ac_try='test -z "$ac_c_werror_flag"
24122 || test ! -s conftest.err'
24123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24124 (eval $ac_try) 2>&5
24125 ac_status=$?
24126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24127 (exit $ac_status); }; } &&
24128 { ac_try='test -s conftest$ac_exeext'
24129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24130 (eval $ac_try) 2>&5
24131 ac_status=$?
24132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24133 (exit $ac_status); }; }; then
24134 eval "$as_ac_var=yes"
24135 else
24136 echo "$as_me: failed program was:" >&5
24137 sed 's/^/| /' conftest.$ac_ext >&5
24139 eval "$as_ac_var=no"
24141 rm -f conftest.err conftest.$ac_objext \
24142 conftest$ac_exeext conftest.$ac_ext
24144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24146 if test `eval echo '${'$as_ac_var'}'` = yes; then
24147 cat >>confdefs.h <<_ACEOF
24148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24149 _ACEOF
24152 done
24154 else
24156 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
24157 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
24158 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24159 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
24160 echo $ECHO_N "(cached) $ECHO_C" >&6
24161 else
24165 ac_ext=cc
24166 ac_cpp='$CXXCPP $CPPFLAGS'
24167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24171 cat >conftest.$ac_ext <<_ACEOF
24172 /* confdefs.h. */
24173 _ACEOF
24174 cat confdefs.h >>conftest.$ac_ext
24175 cat >>conftest.$ac_ext <<_ACEOF
24176 /* end confdefs.h. */
24177 #include <math.h>
24178 #ifdef HAVE_IEEEFP_H
24179 #include <ieeefp.h>
24180 #endif
24183 main ()
24185 _fabsf(0);
24187 return 0;
24189 _ACEOF
24190 rm -f conftest.$ac_objext
24191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24192 (eval $ac_compile) 2>conftest.er1
24193 ac_status=$?
24194 grep -v '^ *+' conftest.er1 >conftest.err
24195 rm -f conftest.er1
24196 cat conftest.err >&5
24197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24198 (exit $ac_status); } &&
24199 { ac_try='test -z "$ac_cxx_werror_flag"
24200 || test ! -s conftest.err'
24201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24202 (eval $ac_try) 2>&5
24203 ac_status=$?
24204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205 (exit $ac_status); }; } &&
24206 { ac_try='test -s conftest.$ac_objext'
24207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24208 (eval $ac_try) 2>&5
24209 ac_status=$?
24210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24211 (exit $ac_status); }; }; then
24212 glibcxx_cv_func__fabsf_use=yes
24213 else
24214 echo "$as_me: failed program was:" >&5
24215 sed 's/^/| /' conftest.$ac_ext >&5
24217 glibcxx_cv_func__fabsf_use=no
24219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24220 ac_ext=c
24221 ac_cpp='$CPP $CPPFLAGS'
24222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24230 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
24231 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
24233 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24235 for ac_func in _fabsf
24237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24238 echo "$as_me:$LINENO: checking for $ac_func" >&5
24239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24240 if eval "test \"\${$as_ac_var+set}\" = set"; then
24241 echo $ECHO_N "(cached) $ECHO_C" >&6
24242 else
24243 if test x$gcc_no_link = xyes; then
24244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24246 { (exit 1); exit 1; }; }
24248 cat >conftest.$ac_ext <<_ACEOF
24249 /* confdefs.h. */
24250 _ACEOF
24251 cat confdefs.h >>conftest.$ac_ext
24252 cat >>conftest.$ac_ext <<_ACEOF
24253 /* end confdefs.h. */
24254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24256 #define $ac_func innocuous_$ac_func
24258 /* System header to define __stub macros and hopefully few prototypes,
24259 which can conflict with char $ac_func (); below.
24260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24261 <limits.h> exists even on freestanding compilers. */
24263 #ifdef __STDC__
24264 # include <limits.h>
24265 #else
24266 # include <assert.h>
24267 #endif
24269 #undef $ac_func
24271 /* Override any gcc2 internal prototype to avoid an error. */
24272 #ifdef __cplusplus
24273 extern "C"
24275 #endif
24276 /* We use char because int might match the return type of a gcc2
24277 builtin and then its argument prototype would still apply. */
24278 char $ac_func ();
24279 /* The GNU C library defines this for functions which it implements
24280 to always fail with ENOSYS. Some functions are actually named
24281 something starting with __ and the normal name is an alias. */
24282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24283 choke me
24284 #else
24285 char (*f) () = $ac_func;
24286 #endif
24287 #ifdef __cplusplus
24289 #endif
24292 main ()
24294 return f != $ac_func;
24296 return 0;
24298 _ACEOF
24299 rm -f conftest.$ac_objext conftest$ac_exeext
24300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24301 (eval $ac_link) 2>conftest.er1
24302 ac_status=$?
24303 grep -v '^ *+' conftest.er1 >conftest.err
24304 rm -f conftest.er1
24305 cat conftest.err >&5
24306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24307 (exit $ac_status); } &&
24308 { ac_try='test -z "$ac_c_werror_flag"
24309 || test ! -s conftest.err'
24310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24311 (eval $ac_try) 2>&5
24312 ac_status=$?
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); }; } &&
24315 { ac_try='test -s conftest$ac_exeext'
24316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24317 (eval $ac_try) 2>&5
24318 ac_status=$?
24319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24320 (exit $ac_status); }; }; then
24321 eval "$as_ac_var=yes"
24322 else
24323 echo "$as_me: failed program was:" >&5
24324 sed 's/^/| /' conftest.$ac_ext >&5
24326 eval "$as_ac_var=no"
24328 rm -f conftest.err conftest.$ac_objext \
24329 conftest$ac_exeext conftest.$ac_ext
24331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24333 if test `eval echo '${'$as_ac_var'}'` = yes; then
24334 cat >>confdefs.h <<_ACEOF
24335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24336 _ACEOF
24339 done
24349 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
24350 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
24351 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24352 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
24353 echo $ECHO_N "(cached) $ECHO_C" >&6
24354 else
24358 ac_ext=cc
24359 ac_cpp='$CXXCPP $CPPFLAGS'
24360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24364 cat >conftest.$ac_ext <<_ACEOF
24365 /* confdefs.h. */
24366 _ACEOF
24367 cat confdefs.h >>conftest.$ac_ext
24368 cat >>conftest.$ac_ext <<_ACEOF
24369 /* end confdefs.h. */
24370 #include <math.h>
24372 main ()
24374 fmodf(0, 0);
24376 return 0;
24378 _ACEOF
24379 rm -f conftest.$ac_objext
24380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24381 (eval $ac_compile) 2>conftest.er1
24382 ac_status=$?
24383 grep -v '^ *+' conftest.er1 >conftest.err
24384 rm -f conftest.er1
24385 cat conftest.err >&5
24386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24387 (exit $ac_status); } &&
24388 { ac_try='test -z "$ac_cxx_werror_flag"
24389 || test ! -s conftest.err'
24390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24391 (eval $ac_try) 2>&5
24392 ac_status=$?
24393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24394 (exit $ac_status); }; } &&
24395 { ac_try='test -s conftest.$ac_objext'
24396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24397 (eval $ac_try) 2>&5
24398 ac_status=$?
24399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24400 (exit $ac_status); }; }; then
24401 glibcxx_cv_func_fmodf_use=yes
24402 else
24403 echo "$as_me: failed program was:" >&5
24404 sed 's/^/| /' conftest.$ac_ext >&5
24406 glibcxx_cv_func_fmodf_use=no
24408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24409 ac_ext=c
24410 ac_cpp='$CPP $CPPFLAGS'
24411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24419 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
24420 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
24422 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24424 for ac_func in fmodf
24426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24427 echo "$as_me:$LINENO: checking for $ac_func" >&5
24428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24429 if eval "test \"\${$as_ac_var+set}\" = set"; then
24430 echo $ECHO_N "(cached) $ECHO_C" >&6
24431 else
24432 if test x$gcc_no_link = xyes; then
24433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24435 { (exit 1); exit 1; }; }
24437 cat >conftest.$ac_ext <<_ACEOF
24438 /* confdefs.h. */
24439 _ACEOF
24440 cat confdefs.h >>conftest.$ac_ext
24441 cat >>conftest.$ac_ext <<_ACEOF
24442 /* end confdefs.h. */
24443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24445 #define $ac_func innocuous_$ac_func
24447 /* System header to define __stub macros and hopefully few prototypes,
24448 which can conflict with char $ac_func (); below.
24449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24450 <limits.h> exists even on freestanding compilers. */
24452 #ifdef __STDC__
24453 # include <limits.h>
24454 #else
24455 # include <assert.h>
24456 #endif
24458 #undef $ac_func
24460 /* Override any gcc2 internal prototype to avoid an error. */
24461 #ifdef __cplusplus
24462 extern "C"
24464 #endif
24465 /* We use char because int might match the return type of a gcc2
24466 builtin and then its argument prototype would still apply. */
24467 char $ac_func ();
24468 /* The GNU C library defines this for functions which it implements
24469 to always fail with ENOSYS. Some functions are actually named
24470 something starting with __ and the normal name is an alias. */
24471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24472 choke me
24473 #else
24474 char (*f) () = $ac_func;
24475 #endif
24476 #ifdef __cplusplus
24478 #endif
24481 main ()
24483 return f != $ac_func;
24485 return 0;
24487 _ACEOF
24488 rm -f conftest.$ac_objext conftest$ac_exeext
24489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24490 (eval $ac_link) 2>conftest.er1
24491 ac_status=$?
24492 grep -v '^ *+' conftest.er1 >conftest.err
24493 rm -f conftest.er1
24494 cat conftest.err >&5
24495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24496 (exit $ac_status); } &&
24497 { ac_try='test -z "$ac_c_werror_flag"
24498 || test ! -s conftest.err'
24499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24500 (eval $ac_try) 2>&5
24501 ac_status=$?
24502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24503 (exit $ac_status); }; } &&
24504 { ac_try='test -s conftest$ac_exeext'
24505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24506 (eval $ac_try) 2>&5
24507 ac_status=$?
24508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24509 (exit $ac_status); }; }; then
24510 eval "$as_ac_var=yes"
24511 else
24512 echo "$as_me: failed program was:" >&5
24513 sed 's/^/| /' conftest.$ac_ext >&5
24515 eval "$as_ac_var=no"
24517 rm -f conftest.err conftest.$ac_objext \
24518 conftest$ac_exeext conftest.$ac_ext
24520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24522 if test `eval echo '${'$as_ac_var'}'` = yes; then
24523 cat >>confdefs.h <<_ACEOF
24524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24525 _ACEOF
24528 done
24530 else
24532 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
24533 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
24534 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24535 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
24536 echo $ECHO_N "(cached) $ECHO_C" >&6
24537 else
24541 ac_ext=cc
24542 ac_cpp='$CXXCPP $CPPFLAGS'
24543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24547 cat >conftest.$ac_ext <<_ACEOF
24548 /* confdefs.h. */
24549 _ACEOF
24550 cat confdefs.h >>conftest.$ac_ext
24551 cat >>conftest.$ac_ext <<_ACEOF
24552 /* end confdefs.h. */
24553 #include <math.h>
24555 main ()
24557 _fmodf(0, 0);
24559 return 0;
24561 _ACEOF
24562 rm -f conftest.$ac_objext
24563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24564 (eval $ac_compile) 2>conftest.er1
24565 ac_status=$?
24566 grep -v '^ *+' conftest.er1 >conftest.err
24567 rm -f conftest.er1
24568 cat conftest.err >&5
24569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24570 (exit $ac_status); } &&
24571 { ac_try='test -z "$ac_cxx_werror_flag"
24572 || test ! -s conftest.err'
24573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24574 (eval $ac_try) 2>&5
24575 ac_status=$?
24576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24577 (exit $ac_status); }; } &&
24578 { ac_try='test -s conftest.$ac_objext'
24579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24580 (eval $ac_try) 2>&5
24581 ac_status=$?
24582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24583 (exit $ac_status); }; }; then
24584 glibcxx_cv_func__fmodf_use=yes
24585 else
24586 echo "$as_me: failed program was:" >&5
24587 sed 's/^/| /' conftest.$ac_ext >&5
24589 glibcxx_cv_func__fmodf_use=no
24591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24592 ac_ext=c
24593 ac_cpp='$CPP $CPPFLAGS'
24594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24602 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
24603 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
24605 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24607 for ac_func in _fmodf
24609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24610 echo "$as_me:$LINENO: checking for $ac_func" >&5
24611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24612 if eval "test \"\${$as_ac_var+set}\" = set"; then
24613 echo $ECHO_N "(cached) $ECHO_C" >&6
24614 else
24615 if test x$gcc_no_link = xyes; then
24616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24618 { (exit 1); exit 1; }; }
24620 cat >conftest.$ac_ext <<_ACEOF
24621 /* confdefs.h. */
24622 _ACEOF
24623 cat confdefs.h >>conftest.$ac_ext
24624 cat >>conftest.$ac_ext <<_ACEOF
24625 /* end confdefs.h. */
24626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24628 #define $ac_func innocuous_$ac_func
24630 /* System header to define __stub macros and hopefully few prototypes,
24631 which can conflict with char $ac_func (); below.
24632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24633 <limits.h> exists even on freestanding compilers. */
24635 #ifdef __STDC__
24636 # include <limits.h>
24637 #else
24638 # include <assert.h>
24639 #endif
24641 #undef $ac_func
24643 /* Override any gcc2 internal prototype to avoid an error. */
24644 #ifdef __cplusplus
24645 extern "C"
24647 #endif
24648 /* We use char because int might match the return type of a gcc2
24649 builtin and then its argument prototype would still apply. */
24650 char $ac_func ();
24651 /* The GNU C library defines this for functions which it implements
24652 to always fail with ENOSYS. Some functions are actually named
24653 something starting with __ and the normal name is an alias. */
24654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24655 choke me
24656 #else
24657 char (*f) () = $ac_func;
24658 #endif
24659 #ifdef __cplusplus
24661 #endif
24664 main ()
24666 return f != $ac_func;
24668 return 0;
24670 _ACEOF
24671 rm -f conftest.$ac_objext conftest$ac_exeext
24672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24673 (eval $ac_link) 2>conftest.er1
24674 ac_status=$?
24675 grep -v '^ *+' conftest.er1 >conftest.err
24676 rm -f conftest.er1
24677 cat conftest.err >&5
24678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24679 (exit $ac_status); } &&
24680 { ac_try='test -z "$ac_c_werror_flag"
24681 || test ! -s conftest.err'
24682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24683 (eval $ac_try) 2>&5
24684 ac_status=$?
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); }; } &&
24687 { ac_try='test -s conftest$ac_exeext'
24688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24689 (eval $ac_try) 2>&5
24690 ac_status=$?
24691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24692 (exit $ac_status); }; }; then
24693 eval "$as_ac_var=yes"
24694 else
24695 echo "$as_me: failed program was:" >&5
24696 sed 's/^/| /' conftest.$ac_ext >&5
24698 eval "$as_ac_var=no"
24700 rm -f conftest.err conftest.$ac_objext \
24701 conftest$ac_exeext conftest.$ac_ext
24703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24705 if test `eval echo '${'$as_ac_var'}'` = yes; then
24706 cat >>confdefs.h <<_ACEOF
24707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24708 _ACEOF
24711 done
24721 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
24722 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
24723 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24724 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
24725 echo $ECHO_N "(cached) $ECHO_C" >&6
24726 else
24730 ac_ext=cc
24731 ac_cpp='$CXXCPP $CPPFLAGS'
24732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24736 cat >conftest.$ac_ext <<_ACEOF
24737 /* confdefs.h. */
24738 _ACEOF
24739 cat confdefs.h >>conftest.$ac_ext
24740 cat >>conftest.$ac_ext <<_ACEOF
24741 /* end confdefs.h. */
24742 #include <math.h>
24744 main ()
24746 frexpf(0, 0);
24748 return 0;
24750 _ACEOF
24751 rm -f conftest.$ac_objext
24752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24753 (eval $ac_compile) 2>conftest.er1
24754 ac_status=$?
24755 grep -v '^ *+' conftest.er1 >conftest.err
24756 rm -f conftest.er1
24757 cat conftest.err >&5
24758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24759 (exit $ac_status); } &&
24760 { ac_try='test -z "$ac_cxx_werror_flag"
24761 || test ! -s conftest.err'
24762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24763 (eval $ac_try) 2>&5
24764 ac_status=$?
24765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24766 (exit $ac_status); }; } &&
24767 { ac_try='test -s conftest.$ac_objext'
24768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24769 (eval $ac_try) 2>&5
24770 ac_status=$?
24771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772 (exit $ac_status); }; }; then
24773 glibcxx_cv_func_frexpf_use=yes
24774 else
24775 echo "$as_me: failed program was:" >&5
24776 sed 's/^/| /' conftest.$ac_ext >&5
24778 glibcxx_cv_func_frexpf_use=no
24780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24781 ac_ext=c
24782 ac_cpp='$CPP $CPPFLAGS'
24783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24791 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
24792 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
24794 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24796 for ac_func in frexpf
24798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24799 echo "$as_me:$LINENO: checking for $ac_func" >&5
24800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24801 if eval "test \"\${$as_ac_var+set}\" = set"; then
24802 echo $ECHO_N "(cached) $ECHO_C" >&6
24803 else
24804 if test x$gcc_no_link = xyes; then
24805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24807 { (exit 1); exit 1; }; }
24809 cat >conftest.$ac_ext <<_ACEOF
24810 /* confdefs.h. */
24811 _ACEOF
24812 cat confdefs.h >>conftest.$ac_ext
24813 cat >>conftest.$ac_ext <<_ACEOF
24814 /* end confdefs.h. */
24815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24817 #define $ac_func innocuous_$ac_func
24819 /* System header to define __stub macros and hopefully few prototypes,
24820 which can conflict with char $ac_func (); below.
24821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24822 <limits.h> exists even on freestanding compilers. */
24824 #ifdef __STDC__
24825 # include <limits.h>
24826 #else
24827 # include <assert.h>
24828 #endif
24830 #undef $ac_func
24832 /* Override any gcc2 internal prototype to avoid an error. */
24833 #ifdef __cplusplus
24834 extern "C"
24836 #endif
24837 /* We use char because int might match the return type of a gcc2
24838 builtin and then its argument prototype would still apply. */
24839 char $ac_func ();
24840 /* The GNU C library defines this for functions which it implements
24841 to always fail with ENOSYS. Some functions are actually named
24842 something starting with __ and the normal name is an alias. */
24843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24844 choke me
24845 #else
24846 char (*f) () = $ac_func;
24847 #endif
24848 #ifdef __cplusplus
24850 #endif
24853 main ()
24855 return f != $ac_func;
24857 return 0;
24859 _ACEOF
24860 rm -f conftest.$ac_objext conftest$ac_exeext
24861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24862 (eval $ac_link) 2>conftest.er1
24863 ac_status=$?
24864 grep -v '^ *+' conftest.er1 >conftest.err
24865 rm -f conftest.er1
24866 cat conftest.err >&5
24867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24868 (exit $ac_status); } &&
24869 { ac_try='test -z "$ac_c_werror_flag"
24870 || test ! -s conftest.err'
24871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24872 (eval $ac_try) 2>&5
24873 ac_status=$?
24874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24875 (exit $ac_status); }; } &&
24876 { ac_try='test -s conftest$ac_exeext'
24877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24878 (eval $ac_try) 2>&5
24879 ac_status=$?
24880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24881 (exit $ac_status); }; }; then
24882 eval "$as_ac_var=yes"
24883 else
24884 echo "$as_me: failed program was:" >&5
24885 sed 's/^/| /' conftest.$ac_ext >&5
24887 eval "$as_ac_var=no"
24889 rm -f conftest.err conftest.$ac_objext \
24890 conftest$ac_exeext conftest.$ac_ext
24892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24894 if test `eval echo '${'$as_ac_var'}'` = yes; then
24895 cat >>confdefs.h <<_ACEOF
24896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24897 _ACEOF
24900 done
24902 else
24904 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
24905 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
24906 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24907 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
24908 echo $ECHO_N "(cached) $ECHO_C" >&6
24909 else
24913 ac_ext=cc
24914 ac_cpp='$CXXCPP $CPPFLAGS'
24915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24919 cat >conftest.$ac_ext <<_ACEOF
24920 /* confdefs.h. */
24921 _ACEOF
24922 cat confdefs.h >>conftest.$ac_ext
24923 cat >>conftest.$ac_ext <<_ACEOF
24924 /* end confdefs.h. */
24925 #include <math.h>
24927 main ()
24929 _frexpf(0, 0);
24931 return 0;
24933 _ACEOF
24934 rm -f conftest.$ac_objext
24935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24936 (eval $ac_compile) 2>conftest.er1
24937 ac_status=$?
24938 grep -v '^ *+' conftest.er1 >conftest.err
24939 rm -f conftest.er1
24940 cat conftest.err >&5
24941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24942 (exit $ac_status); } &&
24943 { ac_try='test -z "$ac_cxx_werror_flag"
24944 || test ! -s conftest.err'
24945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24946 (eval $ac_try) 2>&5
24947 ac_status=$?
24948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24949 (exit $ac_status); }; } &&
24950 { ac_try='test -s conftest.$ac_objext'
24951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24952 (eval $ac_try) 2>&5
24953 ac_status=$?
24954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24955 (exit $ac_status); }; }; then
24956 glibcxx_cv_func__frexpf_use=yes
24957 else
24958 echo "$as_me: failed program was:" >&5
24959 sed 's/^/| /' conftest.$ac_ext >&5
24961 glibcxx_cv_func__frexpf_use=no
24963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24964 ac_ext=c
24965 ac_cpp='$CPP $CPPFLAGS'
24966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24974 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
24975 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
24977 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24979 for ac_func in _frexpf
24981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24982 echo "$as_me:$LINENO: checking for $ac_func" >&5
24983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24984 if eval "test \"\${$as_ac_var+set}\" = set"; then
24985 echo $ECHO_N "(cached) $ECHO_C" >&6
24986 else
24987 if test x$gcc_no_link = xyes; then
24988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24990 { (exit 1); exit 1; }; }
24992 cat >conftest.$ac_ext <<_ACEOF
24993 /* confdefs.h. */
24994 _ACEOF
24995 cat confdefs.h >>conftest.$ac_ext
24996 cat >>conftest.$ac_ext <<_ACEOF
24997 /* end confdefs.h. */
24998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25000 #define $ac_func innocuous_$ac_func
25002 /* System header to define __stub macros and hopefully few prototypes,
25003 which can conflict with char $ac_func (); below.
25004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25005 <limits.h> exists even on freestanding compilers. */
25007 #ifdef __STDC__
25008 # include <limits.h>
25009 #else
25010 # include <assert.h>
25011 #endif
25013 #undef $ac_func
25015 /* Override any gcc2 internal prototype to avoid an error. */
25016 #ifdef __cplusplus
25017 extern "C"
25019 #endif
25020 /* We use char because int might match the return type of a gcc2
25021 builtin and then its argument prototype would still apply. */
25022 char $ac_func ();
25023 /* The GNU C library defines this for functions which it implements
25024 to always fail with ENOSYS. Some functions are actually named
25025 something starting with __ and the normal name is an alias. */
25026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25027 choke me
25028 #else
25029 char (*f) () = $ac_func;
25030 #endif
25031 #ifdef __cplusplus
25033 #endif
25036 main ()
25038 return f != $ac_func;
25040 return 0;
25042 _ACEOF
25043 rm -f conftest.$ac_objext conftest$ac_exeext
25044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25045 (eval $ac_link) 2>conftest.er1
25046 ac_status=$?
25047 grep -v '^ *+' conftest.er1 >conftest.err
25048 rm -f conftest.er1
25049 cat conftest.err >&5
25050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25051 (exit $ac_status); } &&
25052 { ac_try='test -z "$ac_c_werror_flag"
25053 || test ! -s conftest.err'
25054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25055 (eval $ac_try) 2>&5
25056 ac_status=$?
25057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058 (exit $ac_status); }; } &&
25059 { ac_try='test -s conftest$ac_exeext'
25060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25061 (eval $ac_try) 2>&5
25062 ac_status=$?
25063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25064 (exit $ac_status); }; }; then
25065 eval "$as_ac_var=yes"
25066 else
25067 echo "$as_me: failed program was:" >&5
25068 sed 's/^/| /' conftest.$ac_ext >&5
25070 eval "$as_ac_var=no"
25072 rm -f conftest.err conftest.$ac_objext \
25073 conftest$ac_exeext conftest.$ac_ext
25075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25077 if test `eval echo '${'$as_ac_var'}'` = yes; then
25078 cat >>confdefs.h <<_ACEOF
25079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25080 _ACEOF
25083 done
25093 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
25094 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
25095 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
25096 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
25097 echo $ECHO_N "(cached) $ECHO_C" >&6
25098 else
25102 ac_ext=cc
25103 ac_cpp='$CXXCPP $CPPFLAGS'
25104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25108 cat >conftest.$ac_ext <<_ACEOF
25109 /* confdefs.h. */
25110 _ACEOF
25111 cat confdefs.h >>conftest.$ac_ext
25112 cat >>conftest.$ac_ext <<_ACEOF
25113 /* end confdefs.h. */
25114 #include <math.h>
25116 main ()
25118 hypotf(0, 0);
25120 return 0;
25122 _ACEOF
25123 rm -f conftest.$ac_objext
25124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25125 (eval $ac_compile) 2>conftest.er1
25126 ac_status=$?
25127 grep -v '^ *+' conftest.er1 >conftest.err
25128 rm -f conftest.er1
25129 cat conftest.err >&5
25130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131 (exit $ac_status); } &&
25132 { ac_try='test -z "$ac_cxx_werror_flag"
25133 || test ! -s conftest.err'
25134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25135 (eval $ac_try) 2>&5
25136 ac_status=$?
25137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25138 (exit $ac_status); }; } &&
25139 { ac_try='test -s conftest.$ac_objext'
25140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25141 (eval $ac_try) 2>&5
25142 ac_status=$?
25143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25144 (exit $ac_status); }; }; then
25145 glibcxx_cv_func_hypotf_use=yes
25146 else
25147 echo "$as_me: failed program was:" >&5
25148 sed 's/^/| /' conftest.$ac_ext >&5
25150 glibcxx_cv_func_hypotf_use=no
25152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25153 ac_ext=c
25154 ac_cpp='$CPP $CPPFLAGS'
25155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25163 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
25164 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
25166 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25168 for ac_func in hypotf
25170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25171 echo "$as_me:$LINENO: checking for $ac_func" >&5
25172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25173 if eval "test \"\${$as_ac_var+set}\" = set"; then
25174 echo $ECHO_N "(cached) $ECHO_C" >&6
25175 else
25176 if test x$gcc_no_link = xyes; then
25177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25179 { (exit 1); exit 1; }; }
25181 cat >conftest.$ac_ext <<_ACEOF
25182 /* confdefs.h. */
25183 _ACEOF
25184 cat confdefs.h >>conftest.$ac_ext
25185 cat >>conftest.$ac_ext <<_ACEOF
25186 /* end confdefs.h. */
25187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25189 #define $ac_func innocuous_$ac_func
25191 /* System header to define __stub macros and hopefully few prototypes,
25192 which can conflict with char $ac_func (); below.
25193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25194 <limits.h> exists even on freestanding compilers. */
25196 #ifdef __STDC__
25197 # include <limits.h>
25198 #else
25199 # include <assert.h>
25200 #endif
25202 #undef $ac_func
25204 /* Override any gcc2 internal prototype to avoid an error. */
25205 #ifdef __cplusplus
25206 extern "C"
25208 #endif
25209 /* We use char because int might match the return type of a gcc2
25210 builtin and then its argument prototype would still apply. */
25211 char $ac_func ();
25212 /* The GNU C library defines this for functions which it implements
25213 to always fail with ENOSYS. Some functions are actually named
25214 something starting with __ and the normal name is an alias. */
25215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25216 choke me
25217 #else
25218 char (*f) () = $ac_func;
25219 #endif
25220 #ifdef __cplusplus
25222 #endif
25225 main ()
25227 return f != $ac_func;
25229 return 0;
25231 _ACEOF
25232 rm -f conftest.$ac_objext conftest$ac_exeext
25233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25234 (eval $ac_link) 2>conftest.er1
25235 ac_status=$?
25236 grep -v '^ *+' conftest.er1 >conftest.err
25237 rm -f conftest.er1
25238 cat conftest.err >&5
25239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25240 (exit $ac_status); } &&
25241 { ac_try='test -z "$ac_c_werror_flag"
25242 || test ! -s conftest.err'
25243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25244 (eval $ac_try) 2>&5
25245 ac_status=$?
25246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25247 (exit $ac_status); }; } &&
25248 { ac_try='test -s conftest$ac_exeext'
25249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25250 (eval $ac_try) 2>&5
25251 ac_status=$?
25252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25253 (exit $ac_status); }; }; then
25254 eval "$as_ac_var=yes"
25255 else
25256 echo "$as_me: failed program was:" >&5
25257 sed 's/^/| /' conftest.$ac_ext >&5
25259 eval "$as_ac_var=no"
25261 rm -f conftest.err conftest.$ac_objext \
25262 conftest$ac_exeext conftest.$ac_ext
25264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25266 if test `eval echo '${'$as_ac_var'}'` = yes; then
25267 cat >>confdefs.h <<_ACEOF
25268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25269 _ACEOF
25272 done
25274 else
25276 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
25277 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
25278 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25279 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
25280 echo $ECHO_N "(cached) $ECHO_C" >&6
25281 else
25285 ac_ext=cc
25286 ac_cpp='$CXXCPP $CPPFLAGS'
25287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25291 cat >conftest.$ac_ext <<_ACEOF
25292 /* confdefs.h. */
25293 _ACEOF
25294 cat confdefs.h >>conftest.$ac_ext
25295 cat >>conftest.$ac_ext <<_ACEOF
25296 /* end confdefs.h. */
25297 #include <math.h>
25299 main ()
25301 _hypotf(0, 0);
25303 return 0;
25305 _ACEOF
25306 rm -f conftest.$ac_objext
25307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25308 (eval $ac_compile) 2>conftest.er1
25309 ac_status=$?
25310 grep -v '^ *+' conftest.er1 >conftest.err
25311 rm -f conftest.er1
25312 cat conftest.err >&5
25313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25314 (exit $ac_status); } &&
25315 { ac_try='test -z "$ac_cxx_werror_flag"
25316 || test ! -s conftest.err'
25317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25318 (eval $ac_try) 2>&5
25319 ac_status=$?
25320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25321 (exit $ac_status); }; } &&
25322 { ac_try='test -s conftest.$ac_objext'
25323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25324 (eval $ac_try) 2>&5
25325 ac_status=$?
25326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25327 (exit $ac_status); }; }; then
25328 glibcxx_cv_func__hypotf_use=yes
25329 else
25330 echo "$as_me: failed program was:" >&5
25331 sed 's/^/| /' conftest.$ac_ext >&5
25333 glibcxx_cv_func__hypotf_use=no
25335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25336 ac_ext=c
25337 ac_cpp='$CPP $CPPFLAGS'
25338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25346 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
25347 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
25349 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25351 for ac_func in _hypotf
25353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25354 echo "$as_me:$LINENO: checking for $ac_func" >&5
25355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25356 if eval "test \"\${$as_ac_var+set}\" = set"; then
25357 echo $ECHO_N "(cached) $ECHO_C" >&6
25358 else
25359 if test x$gcc_no_link = xyes; then
25360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25362 { (exit 1); exit 1; }; }
25364 cat >conftest.$ac_ext <<_ACEOF
25365 /* confdefs.h. */
25366 _ACEOF
25367 cat confdefs.h >>conftest.$ac_ext
25368 cat >>conftest.$ac_ext <<_ACEOF
25369 /* end confdefs.h. */
25370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25372 #define $ac_func innocuous_$ac_func
25374 /* System header to define __stub macros and hopefully few prototypes,
25375 which can conflict with char $ac_func (); below.
25376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25377 <limits.h> exists even on freestanding compilers. */
25379 #ifdef __STDC__
25380 # include <limits.h>
25381 #else
25382 # include <assert.h>
25383 #endif
25385 #undef $ac_func
25387 /* Override any gcc2 internal prototype to avoid an error. */
25388 #ifdef __cplusplus
25389 extern "C"
25391 #endif
25392 /* We use char because int might match the return type of a gcc2
25393 builtin and then its argument prototype would still apply. */
25394 char $ac_func ();
25395 /* The GNU C library defines this for functions which it implements
25396 to always fail with ENOSYS. Some functions are actually named
25397 something starting with __ and the normal name is an alias. */
25398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25399 choke me
25400 #else
25401 char (*f) () = $ac_func;
25402 #endif
25403 #ifdef __cplusplus
25405 #endif
25408 main ()
25410 return f != $ac_func;
25412 return 0;
25414 _ACEOF
25415 rm -f conftest.$ac_objext conftest$ac_exeext
25416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25417 (eval $ac_link) 2>conftest.er1
25418 ac_status=$?
25419 grep -v '^ *+' conftest.er1 >conftest.err
25420 rm -f conftest.er1
25421 cat conftest.err >&5
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); } &&
25424 { ac_try='test -z "$ac_c_werror_flag"
25425 || test ! -s conftest.err'
25426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25427 (eval $ac_try) 2>&5
25428 ac_status=$?
25429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25430 (exit $ac_status); }; } &&
25431 { ac_try='test -s conftest$ac_exeext'
25432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25433 (eval $ac_try) 2>&5
25434 ac_status=$?
25435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25436 (exit $ac_status); }; }; then
25437 eval "$as_ac_var=yes"
25438 else
25439 echo "$as_me: failed program was:" >&5
25440 sed 's/^/| /' conftest.$ac_ext >&5
25442 eval "$as_ac_var=no"
25444 rm -f conftest.err conftest.$ac_objext \
25445 conftest$ac_exeext conftest.$ac_ext
25447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25449 if test `eval echo '${'$as_ac_var'}'` = yes; then
25450 cat >>confdefs.h <<_ACEOF
25451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25452 _ACEOF
25455 done
25465 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
25466 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
25467 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25468 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
25469 echo $ECHO_N "(cached) $ECHO_C" >&6
25470 else
25474 ac_ext=cc
25475 ac_cpp='$CXXCPP $CPPFLAGS'
25476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25480 cat >conftest.$ac_ext <<_ACEOF
25481 /* confdefs.h. */
25482 _ACEOF
25483 cat confdefs.h >>conftest.$ac_ext
25484 cat >>conftest.$ac_ext <<_ACEOF
25485 /* end confdefs.h. */
25486 #include <math.h>
25488 main ()
25490 ldexpf(0, 0);
25492 return 0;
25494 _ACEOF
25495 rm -f conftest.$ac_objext
25496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25497 (eval $ac_compile) 2>conftest.er1
25498 ac_status=$?
25499 grep -v '^ *+' conftest.er1 >conftest.err
25500 rm -f conftest.er1
25501 cat conftest.err >&5
25502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25503 (exit $ac_status); } &&
25504 { ac_try='test -z "$ac_cxx_werror_flag"
25505 || test ! -s conftest.err'
25506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25507 (eval $ac_try) 2>&5
25508 ac_status=$?
25509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25510 (exit $ac_status); }; } &&
25511 { ac_try='test -s conftest.$ac_objext'
25512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25513 (eval $ac_try) 2>&5
25514 ac_status=$?
25515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25516 (exit $ac_status); }; }; then
25517 glibcxx_cv_func_ldexpf_use=yes
25518 else
25519 echo "$as_me: failed program was:" >&5
25520 sed 's/^/| /' conftest.$ac_ext >&5
25522 glibcxx_cv_func_ldexpf_use=no
25524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25525 ac_ext=c
25526 ac_cpp='$CPP $CPPFLAGS'
25527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25535 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
25536 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
25538 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25540 for ac_func in ldexpf
25542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25543 echo "$as_me:$LINENO: checking for $ac_func" >&5
25544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25545 if eval "test \"\${$as_ac_var+set}\" = set"; then
25546 echo $ECHO_N "(cached) $ECHO_C" >&6
25547 else
25548 if test x$gcc_no_link = xyes; then
25549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25551 { (exit 1); exit 1; }; }
25553 cat >conftest.$ac_ext <<_ACEOF
25554 /* confdefs.h. */
25555 _ACEOF
25556 cat confdefs.h >>conftest.$ac_ext
25557 cat >>conftest.$ac_ext <<_ACEOF
25558 /* end confdefs.h. */
25559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25561 #define $ac_func innocuous_$ac_func
25563 /* System header to define __stub macros and hopefully few prototypes,
25564 which can conflict with char $ac_func (); below.
25565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25566 <limits.h> exists even on freestanding compilers. */
25568 #ifdef __STDC__
25569 # include <limits.h>
25570 #else
25571 # include <assert.h>
25572 #endif
25574 #undef $ac_func
25576 /* Override any gcc2 internal prototype to avoid an error. */
25577 #ifdef __cplusplus
25578 extern "C"
25580 #endif
25581 /* We use char because int might match the return type of a gcc2
25582 builtin and then its argument prototype would still apply. */
25583 char $ac_func ();
25584 /* The GNU C library defines this for functions which it implements
25585 to always fail with ENOSYS. Some functions are actually named
25586 something starting with __ and the normal name is an alias. */
25587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25588 choke me
25589 #else
25590 char (*f) () = $ac_func;
25591 #endif
25592 #ifdef __cplusplus
25594 #endif
25597 main ()
25599 return f != $ac_func;
25601 return 0;
25603 _ACEOF
25604 rm -f conftest.$ac_objext conftest$ac_exeext
25605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25606 (eval $ac_link) 2>conftest.er1
25607 ac_status=$?
25608 grep -v '^ *+' conftest.er1 >conftest.err
25609 rm -f conftest.er1
25610 cat conftest.err >&5
25611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25612 (exit $ac_status); } &&
25613 { ac_try='test -z "$ac_c_werror_flag"
25614 || test ! -s conftest.err'
25615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25616 (eval $ac_try) 2>&5
25617 ac_status=$?
25618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25619 (exit $ac_status); }; } &&
25620 { ac_try='test -s conftest$ac_exeext'
25621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25622 (eval $ac_try) 2>&5
25623 ac_status=$?
25624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625 (exit $ac_status); }; }; then
25626 eval "$as_ac_var=yes"
25627 else
25628 echo "$as_me: failed program was:" >&5
25629 sed 's/^/| /' conftest.$ac_ext >&5
25631 eval "$as_ac_var=no"
25633 rm -f conftest.err conftest.$ac_objext \
25634 conftest$ac_exeext conftest.$ac_ext
25636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25638 if test `eval echo '${'$as_ac_var'}'` = yes; then
25639 cat >>confdefs.h <<_ACEOF
25640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25641 _ACEOF
25644 done
25646 else
25648 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
25649 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
25650 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25651 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
25652 echo $ECHO_N "(cached) $ECHO_C" >&6
25653 else
25657 ac_ext=cc
25658 ac_cpp='$CXXCPP $CPPFLAGS'
25659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25663 cat >conftest.$ac_ext <<_ACEOF
25664 /* confdefs.h. */
25665 _ACEOF
25666 cat confdefs.h >>conftest.$ac_ext
25667 cat >>conftest.$ac_ext <<_ACEOF
25668 /* end confdefs.h. */
25669 #include <math.h>
25671 main ()
25673 _ldexpf(0, 0);
25675 return 0;
25677 _ACEOF
25678 rm -f conftest.$ac_objext
25679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25680 (eval $ac_compile) 2>conftest.er1
25681 ac_status=$?
25682 grep -v '^ *+' conftest.er1 >conftest.err
25683 rm -f conftest.er1
25684 cat conftest.err >&5
25685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25686 (exit $ac_status); } &&
25687 { ac_try='test -z "$ac_cxx_werror_flag"
25688 || test ! -s conftest.err'
25689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25690 (eval $ac_try) 2>&5
25691 ac_status=$?
25692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25693 (exit $ac_status); }; } &&
25694 { ac_try='test -s conftest.$ac_objext'
25695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25696 (eval $ac_try) 2>&5
25697 ac_status=$?
25698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25699 (exit $ac_status); }; }; then
25700 glibcxx_cv_func__ldexpf_use=yes
25701 else
25702 echo "$as_me: failed program was:" >&5
25703 sed 's/^/| /' conftest.$ac_ext >&5
25705 glibcxx_cv_func__ldexpf_use=no
25707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25708 ac_ext=c
25709 ac_cpp='$CPP $CPPFLAGS'
25710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25718 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
25719 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
25721 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25723 for ac_func in _ldexpf
25725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25726 echo "$as_me:$LINENO: checking for $ac_func" >&5
25727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25728 if eval "test \"\${$as_ac_var+set}\" = set"; then
25729 echo $ECHO_N "(cached) $ECHO_C" >&6
25730 else
25731 if test x$gcc_no_link = xyes; then
25732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25734 { (exit 1); exit 1; }; }
25736 cat >conftest.$ac_ext <<_ACEOF
25737 /* confdefs.h. */
25738 _ACEOF
25739 cat confdefs.h >>conftest.$ac_ext
25740 cat >>conftest.$ac_ext <<_ACEOF
25741 /* end confdefs.h. */
25742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25744 #define $ac_func innocuous_$ac_func
25746 /* System header to define __stub macros and hopefully few prototypes,
25747 which can conflict with char $ac_func (); below.
25748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25749 <limits.h> exists even on freestanding compilers. */
25751 #ifdef __STDC__
25752 # include <limits.h>
25753 #else
25754 # include <assert.h>
25755 #endif
25757 #undef $ac_func
25759 /* Override any gcc2 internal prototype to avoid an error. */
25760 #ifdef __cplusplus
25761 extern "C"
25763 #endif
25764 /* We use char because int might match the return type of a gcc2
25765 builtin and then its argument prototype would still apply. */
25766 char $ac_func ();
25767 /* The GNU C library defines this for functions which it implements
25768 to always fail with ENOSYS. Some functions are actually named
25769 something starting with __ and the normal name is an alias. */
25770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25771 choke me
25772 #else
25773 char (*f) () = $ac_func;
25774 #endif
25775 #ifdef __cplusplus
25777 #endif
25780 main ()
25782 return f != $ac_func;
25784 return 0;
25786 _ACEOF
25787 rm -f conftest.$ac_objext conftest$ac_exeext
25788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25789 (eval $ac_link) 2>conftest.er1
25790 ac_status=$?
25791 grep -v '^ *+' conftest.er1 >conftest.err
25792 rm -f conftest.er1
25793 cat conftest.err >&5
25794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25795 (exit $ac_status); } &&
25796 { ac_try='test -z "$ac_c_werror_flag"
25797 || test ! -s conftest.err'
25798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25799 (eval $ac_try) 2>&5
25800 ac_status=$?
25801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25802 (exit $ac_status); }; } &&
25803 { ac_try='test -s conftest$ac_exeext'
25804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25805 (eval $ac_try) 2>&5
25806 ac_status=$?
25807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25808 (exit $ac_status); }; }; then
25809 eval "$as_ac_var=yes"
25810 else
25811 echo "$as_me: failed program was:" >&5
25812 sed 's/^/| /' conftest.$ac_ext >&5
25814 eval "$as_ac_var=no"
25816 rm -f conftest.err conftest.$ac_objext \
25817 conftest$ac_exeext conftest.$ac_ext
25819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25821 if test `eval echo '${'$as_ac_var'}'` = yes; then
25822 cat >>confdefs.h <<_ACEOF
25823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25824 _ACEOF
25827 done
25837 echo "$as_me:$LINENO: checking for logf declaration" >&5
25838 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
25839 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25840 if test "${glibcxx_cv_func_logf_use+set}" = set; then
25841 echo $ECHO_N "(cached) $ECHO_C" >&6
25842 else
25846 ac_ext=cc
25847 ac_cpp='$CXXCPP $CPPFLAGS'
25848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25852 cat >conftest.$ac_ext <<_ACEOF
25853 /* confdefs.h. */
25854 _ACEOF
25855 cat confdefs.h >>conftest.$ac_ext
25856 cat >>conftest.$ac_ext <<_ACEOF
25857 /* end confdefs.h. */
25858 #include <math.h>
25859 #ifdef HAVE_IEEEFP_H
25860 #include <ieeefp.h>
25861 #endif
25864 main ()
25866 logf(0);
25868 return 0;
25870 _ACEOF
25871 rm -f conftest.$ac_objext
25872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25873 (eval $ac_compile) 2>conftest.er1
25874 ac_status=$?
25875 grep -v '^ *+' conftest.er1 >conftest.err
25876 rm -f conftest.er1
25877 cat conftest.err >&5
25878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25879 (exit $ac_status); } &&
25880 { ac_try='test -z "$ac_cxx_werror_flag"
25881 || test ! -s conftest.err'
25882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25883 (eval $ac_try) 2>&5
25884 ac_status=$?
25885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25886 (exit $ac_status); }; } &&
25887 { ac_try='test -s conftest.$ac_objext'
25888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25889 (eval $ac_try) 2>&5
25890 ac_status=$?
25891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25892 (exit $ac_status); }; }; then
25893 glibcxx_cv_func_logf_use=yes
25894 else
25895 echo "$as_me: failed program was:" >&5
25896 sed 's/^/| /' conftest.$ac_ext >&5
25898 glibcxx_cv_func_logf_use=no
25900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25901 ac_ext=c
25902 ac_cpp='$CPP $CPPFLAGS'
25903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25911 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
25912 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
25914 if test x$glibcxx_cv_func_logf_use = x"yes"; then
25916 for ac_func in logf
25918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25919 echo "$as_me:$LINENO: checking for $ac_func" >&5
25920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25921 if eval "test \"\${$as_ac_var+set}\" = set"; then
25922 echo $ECHO_N "(cached) $ECHO_C" >&6
25923 else
25924 if test x$gcc_no_link = xyes; then
25925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25927 { (exit 1); exit 1; }; }
25929 cat >conftest.$ac_ext <<_ACEOF
25930 /* confdefs.h. */
25931 _ACEOF
25932 cat confdefs.h >>conftest.$ac_ext
25933 cat >>conftest.$ac_ext <<_ACEOF
25934 /* end confdefs.h. */
25935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25937 #define $ac_func innocuous_$ac_func
25939 /* System header to define __stub macros and hopefully few prototypes,
25940 which can conflict with char $ac_func (); below.
25941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25942 <limits.h> exists even on freestanding compilers. */
25944 #ifdef __STDC__
25945 # include <limits.h>
25946 #else
25947 # include <assert.h>
25948 #endif
25950 #undef $ac_func
25952 /* Override any gcc2 internal prototype to avoid an error. */
25953 #ifdef __cplusplus
25954 extern "C"
25956 #endif
25957 /* We use char because int might match the return type of a gcc2
25958 builtin and then its argument prototype would still apply. */
25959 char $ac_func ();
25960 /* The GNU C library defines this for functions which it implements
25961 to always fail with ENOSYS. Some functions are actually named
25962 something starting with __ and the normal name is an alias. */
25963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25964 choke me
25965 #else
25966 char (*f) () = $ac_func;
25967 #endif
25968 #ifdef __cplusplus
25970 #endif
25973 main ()
25975 return f != $ac_func;
25977 return 0;
25979 _ACEOF
25980 rm -f conftest.$ac_objext conftest$ac_exeext
25981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25982 (eval $ac_link) 2>conftest.er1
25983 ac_status=$?
25984 grep -v '^ *+' conftest.er1 >conftest.err
25985 rm -f conftest.er1
25986 cat conftest.err >&5
25987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25988 (exit $ac_status); } &&
25989 { ac_try='test -z "$ac_c_werror_flag"
25990 || test ! -s conftest.err'
25991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25992 (eval $ac_try) 2>&5
25993 ac_status=$?
25994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25995 (exit $ac_status); }; } &&
25996 { ac_try='test -s conftest$ac_exeext'
25997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25998 (eval $ac_try) 2>&5
25999 ac_status=$?
26000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001 (exit $ac_status); }; }; then
26002 eval "$as_ac_var=yes"
26003 else
26004 echo "$as_me: failed program was:" >&5
26005 sed 's/^/| /' conftest.$ac_ext >&5
26007 eval "$as_ac_var=no"
26009 rm -f conftest.err conftest.$ac_objext \
26010 conftest$ac_exeext conftest.$ac_ext
26012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26014 if test `eval echo '${'$as_ac_var'}'` = yes; then
26015 cat >>confdefs.h <<_ACEOF
26016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26017 _ACEOF
26020 done
26022 else
26024 echo "$as_me:$LINENO: checking for _logf declaration" >&5
26025 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
26026 if test x${glibcxx_cv_func__logf_use+set} != xset; then
26027 if test "${glibcxx_cv_func__logf_use+set}" = set; then
26028 echo $ECHO_N "(cached) $ECHO_C" >&6
26029 else
26033 ac_ext=cc
26034 ac_cpp='$CXXCPP $CPPFLAGS'
26035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26039 cat >conftest.$ac_ext <<_ACEOF
26040 /* confdefs.h. */
26041 _ACEOF
26042 cat confdefs.h >>conftest.$ac_ext
26043 cat >>conftest.$ac_ext <<_ACEOF
26044 /* end confdefs.h. */
26045 #include <math.h>
26046 #ifdef HAVE_IEEEFP_H
26047 #include <ieeefp.h>
26048 #endif
26051 main ()
26053 _logf(0);
26055 return 0;
26057 _ACEOF
26058 rm -f conftest.$ac_objext
26059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26060 (eval $ac_compile) 2>conftest.er1
26061 ac_status=$?
26062 grep -v '^ *+' conftest.er1 >conftest.err
26063 rm -f conftest.er1
26064 cat conftest.err >&5
26065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26066 (exit $ac_status); } &&
26067 { ac_try='test -z "$ac_cxx_werror_flag"
26068 || test ! -s conftest.err'
26069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26070 (eval $ac_try) 2>&5
26071 ac_status=$?
26072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26073 (exit $ac_status); }; } &&
26074 { ac_try='test -s conftest.$ac_objext'
26075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26076 (eval $ac_try) 2>&5
26077 ac_status=$?
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); }; }; then
26080 glibcxx_cv_func__logf_use=yes
26081 else
26082 echo "$as_me: failed program was:" >&5
26083 sed 's/^/| /' conftest.$ac_ext >&5
26085 glibcxx_cv_func__logf_use=no
26087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26088 ac_ext=c
26089 ac_cpp='$CPP $CPPFLAGS'
26090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26098 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
26099 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
26101 if test x$glibcxx_cv_func__logf_use = x"yes"; then
26103 for ac_func in _logf
26105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26106 echo "$as_me:$LINENO: checking for $ac_func" >&5
26107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26108 if eval "test \"\${$as_ac_var+set}\" = set"; then
26109 echo $ECHO_N "(cached) $ECHO_C" >&6
26110 else
26111 if test x$gcc_no_link = xyes; then
26112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26114 { (exit 1); exit 1; }; }
26116 cat >conftest.$ac_ext <<_ACEOF
26117 /* confdefs.h. */
26118 _ACEOF
26119 cat confdefs.h >>conftest.$ac_ext
26120 cat >>conftest.$ac_ext <<_ACEOF
26121 /* end confdefs.h. */
26122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26124 #define $ac_func innocuous_$ac_func
26126 /* System header to define __stub macros and hopefully few prototypes,
26127 which can conflict with char $ac_func (); below.
26128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26129 <limits.h> exists even on freestanding compilers. */
26131 #ifdef __STDC__
26132 # include <limits.h>
26133 #else
26134 # include <assert.h>
26135 #endif
26137 #undef $ac_func
26139 /* Override any gcc2 internal prototype to avoid an error. */
26140 #ifdef __cplusplus
26141 extern "C"
26143 #endif
26144 /* We use char because int might match the return type of a gcc2
26145 builtin and then its argument prototype would still apply. */
26146 char $ac_func ();
26147 /* The GNU C library defines this for functions which it implements
26148 to always fail with ENOSYS. Some functions are actually named
26149 something starting with __ and the normal name is an alias. */
26150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26151 choke me
26152 #else
26153 char (*f) () = $ac_func;
26154 #endif
26155 #ifdef __cplusplus
26157 #endif
26160 main ()
26162 return f != $ac_func;
26164 return 0;
26166 _ACEOF
26167 rm -f conftest.$ac_objext conftest$ac_exeext
26168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26169 (eval $ac_link) 2>conftest.er1
26170 ac_status=$?
26171 grep -v '^ *+' conftest.er1 >conftest.err
26172 rm -f conftest.er1
26173 cat conftest.err >&5
26174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26175 (exit $ac_status); } &&
26176 { ac_try='test -z "$ac_c_werror_flag"
26177 || test ! -s conftest.err'
26178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26179 (eval $ac_try) 2>&5
26180 ac_status=$?
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); }; } &&
26183 { ac_try='test -s conftest$ac_exeext'
26184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26185 (eval $ac_try) 2>&5
26186 ac_status=$?
26187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26188 (exit $ac_status); }; }; then
26189 eval "$as_ac_var=yes"
26190 else
26191 echo "$as_me: failed program was:" >&5
26192 sed 's/^/| /' conftest.$ac_ext >&5
26194 eval "$as_ac_var=no"
26196 rm -f conftest.err conftest.$ac_objext \
26197 conftest$ac_exeext conftest.$ac_ext
26199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26201 if test `eval echo '${'$as_ac_var'}'` = yes; then
26202 cat >>confdefs.h <<_ACEOF
26203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26204 _ACEOF
26207 done
26217 echo "$as_me:$LINENO: checking for log10f declaration" >&5
26218 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
26219 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
26220 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
26221 echo $ECHO_N "(cached) $ECHO_C" >&6
26222 else
26226 ac_ext=cc
26227 ac_cpp='$CXXCPP $CPPFLAGS'
26228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26232 cat >conftest.$ac_ext <<_ACEOF
26233 /* confdefs.h. */
26234 _ACEOF
26235 cat confdefs.h >>conftest.$ac_ext
26236 cat >>conftest.$ac_ext <<_ACEOF
26237 /* end confdefs.h. */
26238 #include <math.h>
26239 #ifdef HAVE_IEEEFP_H
26240 #include <ieeefp.h>
26241 #endif
26244 main ()
26246 log10f(0);
26248 return 0;
26250 _ACEOF
26251 rm -f conftest.$ac_objext
26252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26253 (eval $ac_compile) 2>conftest.er1
26254 ac_status=$?
26255 grep -v '^ *+' conftest.er1 >conftest.err
26256 rm -f conftest.er1
26257 cat conftest.err >&5
26258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26259 (exit $ac_status); } &&
26260 { ac_try='test -z "$ac_cxx_werror_flag"
26261 || test ! -s conftest.err'
26262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26263 (eval $ac_try) 2>&5
26264 ac_status=$?
26265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26266 (exit $ac_status); }; } &&
26267 { ac_try='test -s conftest.$ac_objext'
26268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26269 (eval $ac_try) 2>&5
26270 ac_status=$?
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); }; }; then
26273 glibcxx_cv_func_log10f_use=yes
26274 else
26275 echo "$as_me: failed program was:" >&5
26276 sed 's/^/| /' conftest.$ac_ext >&5
26278 glibcxx_cv_func_log10f_use=no
26280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26281 ac_ext=c
26282 ac_cpp='$CPP $CPPFLAGS'
26283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26291 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
26292 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
26294 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
26296 for ac_func in log10f
26298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26299 echo "$as_me:$LINENO: checking for $ac_func" >&5
26300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26301 if eval "test \"\${$as_ac_var+set}\" = set"; then
26302 echo $ECHO_N "(cached) $ECHO_C" >&6
26303 else
26304 if test x$gcc_no_link = xyes; then
26305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26307 { (exit 1); exit 1; }; }
26309 cat >conftest.$ac_ext <<_ACEOF
26310 /* confdefs.h. */
26311 _ACEOF
26312 cat confdefs.h >>conftest.$ac_ext
26313 cat >>conftest.$ac_ext <<_ACEOF
26314 /* end confdefs.h. */
26315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26317 #define $ac_func innocuous_$ac_func
26319 /* System header to define __stub macros and hopefully few prototypes,
26320 which can conflict with char $ac_func (); below.
26321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26322 <limits.h> exists even on freestanding compilers. */
26324 #ifdef __STDC__
26325 # include <limits.h>
26326 #else
26327 # include <assert.h>
26328 #endif
26330 #undef $ac_func
26332 /* Override any gcc2 internal prototype to avoid an error. */
26333 #ifdef __cplusplus
26334 extern "C"
26336 #endif
26337 /* We use char because int might match the return type of a gcc2
26338 builtin and then its argument prototype would still apply. */
26339 char $ac_func ();
26340 /* The GNU C library defines this for functions which it implements
26341 to always fail with ENOSYS. Some functions are actually named
26342 something starting with __ and the normal name is an alias. */
26343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26344 choke me
26345 #else
26346 char (*f) () = $ac_func;
26347 #endif
26348 #ifdef __cplusplus
26350 #endif
26353 main ()
26355 return f != $ac_func;
26357 return 0;
26359 _ACEOF
26360 rm -f conftest.$ac_objext conftest$ac_exeext
26361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26362 (eval $ac_link) 2>conftest.er1
26363 ac_status=$?
26364 grep -v '^ *+' conftest.er1 >conftest.err
26365 rm -f conftest.er1
26366 cat conftest.err >&5
26367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368 (exit $ac_status); } &&
26369 { ac_try='test -z "$ac_c_werror_flag"
26370 || test ! -s conftest.err'
26371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26372 (eval $ac_try) 2>&5
26373 ac_status=$?
26374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26375 (exit $ac_status); }; } &&
26376 { ac_try='test -s conftest$ac_exeext'
26377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26378 (eval $ac_try) 2>&5
26379 ac_status=$?
26380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26381 (exit $ac_status); }; }; then
26382 eval "$as_ac_var=yes"
26383 else
26384 echo "$as_me: failed program was:" >&5
26385 sed 's/^/| /' conftest.$ac_ext >&5
26387 eval "$as_ac_var=no"
26389 rm -f conftest.err conftest.$ac_objext \
26390 conftest$ac_exeext conftest.$ac_ext
26392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26394 if test `eval echo '${'$as_ac_var'}'` = yes; then
26395 cat >>confdefs.h <<_ACEOF
26396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26397 _ACEOF
26400 done
26402 else
26404 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
26405 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
26406 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
26407 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
26408 echo $ECHO_N "(cached) $ECHO_C" >&6
26409 else
26413 ac_ext=cc
26414 ac_cpp='$CXXCPP $CPPFLAGS'
26415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26419 cat >conftest.$ac_ext <<_ACEOF
26420 /* confdefs.h. */
26421 _ACEOF
26422 cat confdefs.h >>conftest.$ac_ext
26423 cat >>conftest.$ac_ext <<_ACEOF
26424 /* end confdefs.h. */
26425 #include <math.h>
26426 #ifdef HAVE_IEEEFP_H
26427 #include <ieeefp.h>
26428 #endif
26431 main ()
26433 _log10f(0);
26435 return 0;
26437 _ACEOF
26438 rm -f conftest.$ac_objext
26439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26440 (eval $ac_compile) 2>conftest.er1
26441 ac_status=$?
26442 grep -v '^ *+' conftest.er1 >conftest.err
26443 rm -f conftest.er1
26444 cat conftest.err >&5
26445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26446 (exit $ac_status); } &&
26447 { ac_try='test -z "$ac_cxx_werror_flag"
26448 || test ! -s conftest.err'
26449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26450 (eval $ac_try) 2>&5
26451 ac_status=$?
26452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26453 (exit $ac_status); }; } &&
26454 { ac_try='test -s conftest.$ac_objext'
26455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26456 (eval $ac_try) 2>&5
26457 ac_status=$?
26458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26459 (exit $ac_status); }; }; then
26460 glibcxx_cv_func__log10f_use=yes
26461 else
26462 echo "$as_me: failed program was:" >&5
26463 sed 's/^/| /' conftest.$ac_ext >&5
26465 glibcxx_cv_func__log10f_use=no
26467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26468 ac_ext=c
26469 ac_cpp='$CPP $CPPFLAGS'
26470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26478 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
26479 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
26481 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
26483 for ac_func in _log10f
26485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26486 echo "$as_me:$LINENO: checking for $ac_func" >&5
26487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26488 if eval "test \"\${$as_ac_var+set}\" = set"; then
26489 echo $ECHO_N "(cached) $ECHO_C" >&6
26490 else
26491 if test x$gcc_no_link = xyes; then
26492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26494 { (exit 1); exit 1; }; }
26496 cat >conftest.$ac_ext <<_ACEOF
26497 /* confdefs.h. */
26498 _ACEOF
26499 cat confdefs.h >>conftest.$ac_ext
26500 cat >>conftest.$ac_ext <<_ACEOF
26501 /* end confdefs.h. */
26502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26504 #define $ac_func innocuous_$ac_func
26506 /* System header to define __stub macros and hopefully few prototypes,
26507 which can conflict with char $ac_func (); below.
26508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26509 <limits.h> exists even on freestanding compilers. */
26511 #ifdef __STDC__
26512 # include <limits.h>
26513 #else
26514 # include <assert.h>
26515 #endif
26517 #undef $ac_func
26519 /* Override any gcc2 internal prototype to avoid an error. */
26520 #ifdef __cplusplus
26521 extern "C"
26523 #endif
26524 /* We use char because int might match the return type of a gcc2
26525 builtin and then its argument prototype would still apply. */
26526 char $ac_func ();
26527 /* The GNU C library defines this for functions which it implements
26528 to always fail with ENOSYS. Some functions are actually named
26529 something starting with __ and the normal name is an alias. */
26530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26531 choke me
26532 #else
26533 char (*f) () = $ac_func;
26534 #endif
26535 #ifdef __cplusplus
26537 #endif
26540 main ()
26542 return f != $ac_func;
26544 return 0;
26546 _ACEOF
26547 rm -f conftest.$ac_objext conftest$ac_exeext
26548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26549 (eval $ac_link) 2>conftest.er1
26550 ac_status=$?
26551 grep -v '^ *+' conftest.er1 >conftest.err
26552 rm -f conftest.er1
26553 cat conftest.err >&5
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); } &&
26556 { ac_try='test -z "$ac_c_werror_flag"
26557 || test ! -s conftest.err'
26558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26559 (eval $ac_try) 2>&5
26560 ac_status=$?
26561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562 (exit $ac_status); }; } &&
26563 { ac_try='test -s conftest$ac_exeext'
26564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26565 (eval $ac_try) 2>&5
26566 ac_status=$?
26567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26568 (exit $ac_status); }; }; then
26569 eval "$as_ac_var=yes"
26570 else
26571 echo "$as_me: failed program was:" >&5
26572 sed 's/^/| /' conftest.$ac_ext >&5
26574 eval "$as_ac_var=no"
26576 rm -f conftest.err conftest.$ac_objext \
26577 conftest$ac_exeext conftest.$ac_ext
26579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26581 if test `eval echo '${'$as_ac_var'}'` = yes; then
26582 cat >>confdefs.h <<_ACEOF
26583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26584 _ACEOF
26587 done
26597 echo "$as_me:$LINENO: checking for modff declaration" >&5
26598 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
26599 if test x${glibcxx_cv_func_modff_use+set} != xset; then
26600 if test "${glibcxx_cv_func_modff_use+set}" = set; then
26601 echo $ECHO_N "(cached) $ECHO_C" >&6
26602 else
26606 ac_ext=cc
26607 ac_cpp='$CXXCPP $CPPFLAGS'
26608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26612 cat >conftest.$ac_ext <<_ACEOF
26613 /* confdefs.h. */
26614 _ACEOF
26615 cat confdefs.h >>conftest.$ac_ext
26616 cat >>conftest.$ac_ext <<_ACEOF
26617 /* end confdefs.h. */
26618 #include <math.h>
26620 main ()
26622 modff(0, 0);
26624 return 0;
26626 _ACEOF
26627 rm -f conftest.$ac_objext
26628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26629 (eval $ac_compile) 2>conftest.er1
26630 ac_status=$?
26631 grep -v '^ *+' conftest.er1 >conftest.err
26632 rm -f conftest.er1
26633 cat conftest.err >&5
26634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26635 (exit $ac_status); } &&
26636 { ac_try='test -z "$ac_cxx_werror_flag"
26637 || test ! -s conftest.err'
26638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26639 (eval $ac_try) 2>&5
26640 ac_status=$?
26641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26642 (exit $ac_status); }; } &&
26643 { ac_try='test -s conftest.$ac_objext'
26644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26645 (eval $ac_try) 2>&5
26646 ac_status=$?
26647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26648 (exit $ac_status); }; }; then
26649 glibcxx_cv_func_modff_use=yes
26650 else
26651 echo "$as_me: failed program was:" >&5
26652 sed 's/^/| /' conftest.$ac_ext >&5
26654 glibcxx_cv_func_modff_use=no
26656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26657 ac_ext=c
26658 ac_cpp='$CPP $CPPFLAGS'
26659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26667 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
26668 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
26670 if test x$glibcxx_cv_func_modff_use = x"yes"; then
26672 for ac_func in modff
26674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26675 echo "$as_me:$LINENO: checking for $ac_func" >&5
26676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26677 if eval "test \"\${$as_ac_var+set}\" = set"; then
26678 echo $ECHO_N "(cached) $ECHO_C" >&6
26679 else
26680 if test x$gcc_no_link = xyes; then
26681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26683 { (exit 1); exit 1; }; }
26685 cat >conftest.$ac_ext <<_ACEOF
26686 /* confdefs.h. */
26687 _ACEOF
26688 cat confdefs.h >>conftest.$ac_ext
26689 cat >>conftest.$ac_ext <<_ACEOF
26690 /* end confdefs.h. */
26691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26693 #define $ac_func innocuous_$ac_func
26695 /* System header to define __stub macros and hopefully few prototypes,
26696 which can conflict with char $ac_func (); below.
26697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26698 <limits.h> exists even on freestanding compilers. */
26700 #ifdef __STDC__
26701 # include <limits.h>
26702 #else
26703 # include <assert.h>
26704 #endif
26706 #undef $ac_func
26708 /* Override any gcc2 internal prototype to avoid an error. */
26709 #ifdef __cplusplus
26710 extern "C"
26712 #endif
26713 /* We use char because int might match the return type of a gcc2
26714 builtin and then its argument prototype would still apply. */
26715 char $ac_func ();
26716 /* The GNU C library defines this for functions which it implements
26717 to always fail with ENOSYS. Some functions are actually named
26718 something starting with __ and the normal name is an alias. */
26719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26720 choke me
26721 #else
26722 char (*f) () = $ac_func;
26723 #endif
26724 #ifdef __cplusplus
26726 #endif
26729 main ()
26731 return f != $ac_func;
26733 return 0;
26735 _ACEOF
26736 rm -f conftest.$ac_objext conftest$ac_exeext
26737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26738 (eval $ac_link) 2>conftest.er1
26739 ac_status=$?
26740 grep -v '^ *+' conftest.er1 >conftest.err
26741 rm -f conftest.er1
26742 cat conftest.err >&5
26743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744 (exit $ac_status); } &&
26745 { ac_try='test -z "$ac_c_werror_flag"
26746 || test ! -s conftest.err'
26747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26748 (eval $ac_try) 2>&5
26749 ac_status=$?
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); }; } &&
26752 { ac_try='test -s conftest$ac_exeext'
26753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26754 (eval $ac_try) 2>&5
26755 ac_status=$?
26756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26757 (exit $ac_status); }; }; then
26758 eval "$as_ac_var=yes"
26759 else
26760 echo "$as_me: failed program was:" >&5
26761 sed 's/^/| /' conftest.$ac_ext >&5
26763 eval "$as_ac_var=no"
26765 rm -f conftest.err conftest.$ac_objext \
26766 conftest$ac_exeext conftest.$ac_ext
26768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26770 if test `eval echo '${'$as_ac_var'}'` = yes; then
26771 cat >>confdefs.h <<_ACEOF
26772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26773 _ACEOF
26776 done
26778 else
26780 echo "$as_me:$LINENO: checking for _modff declaration" >&5
26781 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
26782 if test x${glibcxx_cv_func__modff_use+set} != xset; then
26783 if test "${glibcxx_cv_func__modff_use+set}" = set; then
26784 echo $ECHO_N "(cached) $ECHO_C" >&6
26785 else
26789 ac_ext=cc
26790 ac_cpp='$CXXCPP $CPPFLAGS'
26791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26795 cat >conftest.$ac_ext <<_ACEOF
26796 /* confdefs.h. */
26797 _ACEOF
26798 cat confdefs.h >>conftest.$ac_ext
26799 cat >>conftest.$ac_ext <<_ACEOF
26800 /* end confdefs.h. */
26801 #include <math.h>
26803 main ()
26805 _modff(0, 0);
26807 return 0;
26809 _ACEOF
26810 rm -f conftest.$ac_objext
26811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26812 (eval $ac_compile) 2>conftest.er1
26813 ac_status=$?
26814 grep -v '^ *+' conftest.er1 >conftest.err
26815 rm -f conftest.er1
26816 cat conftest.err >&5
26817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26818 (exit $ac_status); } &&
26819 { ac_try='test -z "$ac_cxx_werror_flag"
26820 || test ! -s conftest.err'
26821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26822 (eval $ac_try) 2>&5
26823 ac_status=$?
26824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26825 (exit $ac_status); }; } &&
26826 { ac_try='test -s conftest.$ac_objext'
26827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26828 (eval $ac_try) 2>&5
26829 ac_status=$?
26830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26831 (exit $ac_status); }; }; then
26832 glibcxx_cv_func__modff_use=yes
26833 else
26834 echo "$as_me: failed program was:" >&5
26835 sed 's/^/| /' conftest.$ac_ext >&5
26837 glibcxx_cv_func__modff_use=no
26839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26840 ac_ext=c
26841 ac_cpp='$CPP $CPPFLAGS'
26842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26850 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
26851 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
26853 if test x$glibcxx_cv_func__modff_use = x"yes"; then
26855 for ac_func in _modff
26857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26858 echo "$as_me:$LINENO: checking for $ac_func" >&5
26859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26860 if eval "test \"\${$as_ac_var+set}\" = set"; then
26861 echo $ECHO_N "(cached) $ECHO_C" >&6
26862 else
26863 if test x$gcc_no_link = xyes; then
26864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26866 { (exit 1); exit 1; }; }
26868 cat >conftest.$ac_ext <<_ACEOF
26869 /* confdefs.h. */
26870 _ACEOF
26871 cat confdefs.h >>conftest.$ac_ext
26872 cat >>conftest.$ac_ext <<_ACEOF
26873 /* end confdefs.h. */
26874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26876 #define $ac_func innocuous_$ac_func
26878 /* System header to define __stub macros and hopefully few prototypes,
26879 which can conflict with char $ac_func (); below.
26880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26881 <limits.h> exists even on freestanding compilers. */
26883 #ifdef __STDC__
26884 # include <limits.h>
26885 #else
26886 # include <assert.h>
26887 #endif
26889 #undef $ac_func
26891 /* Override any gcc2 internal prototype to avoid an error. */
26892 #ifdef __cplusplus
26893 extern "C"
26895 #endif
26896 /* We use char because int might match the return type of a gcc2
26897 builtin and then its argument prototype would still apply. */
26898 char $ac_func ();
26899 /* The GNU C library defines this for functions which it implements
26900 to always fail with ENOSYS. Some functions are actually named
26901 something starting with __ and the normal name is an alias. */
26902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26903 choke me
26904 #else
26905 char (*f) () = $ac_func;
26906 #endif
26907 #ifdef __cplusplus
26909 #endif
26912 main ()
26914 return f != $ac_func;
26916 return 0;
26918 _ACEOF
26919 rm -f conftest.$ac_objext conftest$ac_exeext
26920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26921 (eval $ac_link) 2>conftest.er1
26922 ac_status=$?
26923 grep -v '^ *+' conftest.er1 >conftest.err
26924 rm -f conftest.er1
26925 cat conftest.err >&5
26926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26927 (exit $ac_status); } &&
26928 { ac_try='test -z "$ac_c_werror_flag"
26929 || test ! -s conftest.err'
26930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26931 (eval $ac_try) 2>&5
26932 ac_status=$?
26933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934 (exit $ac_status); }; } &&
26935 { ac_try='test -s conftest$ac_exeext'
26936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26937 (eval $ac_try) 2>&5
26938 ac_status=$?
26939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26940 (exit $ac_status); }; }; then
26941 eval "$as_ac_var=yes"
26942 else
26943 echo "$as_me: failed program was:" >&5
26944 sed 's/^/| /' conftest.$ac_ext >&5
26946 eval "$as_ac_var=no"
26948 rm -f conftest.err conftest.$ac_objext \
26949 conftest$ac_exeext conftest.$ac_ext
26951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26953 if test `eval echo '${'$as_ac_var'}'` = yes; then
26954 cat >>confdefs.h <<_ACEOF
26955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26956 _ACEOF
26959 done
26969 echo "$as_me:$LINENO: checking for modf declaration" >&5
26970 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
26971 if test x${glibcxx_cv_func_modf_use+set} != xset; then
26972 if test "${glibcxx_cv_func_modf_use+set}" = set; then
26973 echo $ECHO_N "(cached) $ECHO_C" >&6
26974 else
26978 ac_ext=cc
26979 ac_cpp='$CXXCPP $CPPFLAGS'
26980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26984 cat >conftest.$ac_ext <<_ACEOF
26985 /* confdefs.h. */
26986 _ACEOF
26987 cat confdefs.h >>conftest.$ac_ext
26988 cat >>conftest.$ac_ext <<_ACEOF
26989 /* end confdefs.h. */
26990 #include <math.h>
26992 main ()
26994 modf(0, 0);
26996 return 0;
26998 _ACEOF
26999 rm -f conftest.$ac_objext
27000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27001 (eval $ac_compile) 2>conftest.er1
27002 ac_status=$?
27003 grep -v '^ *+' conftest.er1 >conftest.err
27004 rm -f conftest.er1
27005 cat conftest.err >&5
27006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27007 (exit $ac_status); } &&
27008 { ac_try='test -z "$ac_cxx_werror_flag"
27009 || test ! -s conftest.err'
27010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27011 (eval $ac_try) 2>&5
27012 ac_status=$?
27013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27014 (exit $ac_status); }; } &&
27015 { ac_try='test -s conftest.$ac_objext'
27016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27017 (eval $ac_try) 2>&5
27018 ac_status=$?
27019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27020 (exit $ac_status); }; }; then
27021 glibcxx_cv_func_modf_use=yes
27022 else
27023 echo "$as_me: failed program was:" >&5
27024 sed 's/^/| /' conftest.$ac_ext >&5
27026 glibcxx_cv_func_modf_use=no
27028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27029 ac_ext=c
27030 ac_cpp='$CPP $CPPFLAGS'
27031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27039 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
27040 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
27042 if test x$glibcxx_cv_func_modf_use = x"yes"; then
27044 for ac_func in modf
27046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27047 echo "$as_me:$LINENO: checking for $ac_func" >&5
27048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27049 if eval "test \"\${$as_ac_var+set}\" = set"; then
27050 echo $ECHO_N "(cached) $ECHO_C" >&6
27051 else
27052 if test x$gcc_no_link = xyes; then
27053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27055 { (exit 1); exit 1; }; }
27057 cat >conftest.$ac_ext <<_ACEOF
27058 /* confdefs.h. */
27059 _ACEOF
27060 cat confdefs.h >>conftest.$ac_ext
27061 cat >>conftest.$ac_ext <<_ACEOF
27062 /* end confdefs.h. */
27063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27065 #define $ac_func innocuous_$ac_func
27067 /* System header to define __stub macros and hopefully few prototypes,
27068 which can conflict with char $ac_func (); below.
27069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27070 <limits.h> exists even on freestanding compilers. */
27072 #ifdef __STDC__
27073 # include <limits.h>
27074 #else
27075 # include <assert.h>
27076 #endif
27078 #undef $ac_func
27080 /* Override any gcc2 internal prototype to avoid an error. */
27081 #ifdef __cplusplus
27082 extern "C"
27084 #endif
27085 /* We use char because int might match the return type of a gcc2
27086 builtin and then its argument prototype would still apply. */
27087 char $ac_func ();
27088 /* The GNU C library defines this for functions which it implements
27089 to always fail with ENOSYS. Some functions are actually named
27090 something starting with __ and the normal name is an alias. */
27091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27092 choke me
27093 #else
27094 char (*f) () = $ac_func;
27095 #endif
27096 #ifdef __cplusplus
27098 #endif
27101 main ()
27103 return f != $ac_func;
27105 return 0;
27107 _ACEOF
27108 rm -f conftest.$ac_objext conftest$ac_exeext
27109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27110 (eval $ac_link) 2>conftest.er1
27111 ac_status=$?
27112 grep -v '^ *+' conftest.er1 >conftest.err
27113 rm -f conftest.er1
27114 cat conftest.err >&5
27115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27116 (exit $ac_status); } &&
27117 { ac_try='test -z "$ac_c_werror_flag"
27118 || test ! -s conftest.err'
27119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27120 (eval $ac_try) 2>&5
27121 ac_status=$?
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); }; } &&
27124 { ac_try='test -s conftest$ac_exeext'
27125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27126 (eval $ac_try) 2>&5
27127 ac_status=$?
27128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27129 (exit $ac_status); }; }; then
27130 eval "$as_ac_var=yes"
27131 else
27132 echo "$as_me: failed program was:" >&5
27133 sed 's/^/| /' conftest.$ac_ext >&5
27135 eval "$as_ac_var=no"
27137 rm -f conftest.err conftest.$ac_objext \
27138 conftest$ac_exeext conftest.$ac_ext
27140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27142 if test `eval echo '${'$as_ac_var'}'` = yes; then
27143 cat >>confdefs.h <<_ACEOF
27144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27145 _ACEOF
27148 done
27150 else
27152 echo "$as_me:$LINENO: checking for _modf declaration" >&5
27153 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
27154 if test x${glibcxx_cv_func__modf_use+set} != xset; then
27155 if test "${glibcxx_cv_func__modf_use+set}" = set; then
27156 echo $ECHO_N "(cached) $ECHO_C" >&6
27157 else
27161 ac_ext=cc
27162 ac_cpp='$CXXCPP $CPPFLAGS'
27163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27167 cat >conftest.$ac_ext <<_ACEOF
27168 /* confdefs.h. */
27169 _ACEOF
27170 cat confdefs.h >>conftest.$ac_ext
27171 cat >>conftest.$ac_ext <<_ACEOF
27172 /* end confdefs.h. */
27173 #include <math.h>
27175 main ()
27177 _modf(0, 0);
27179 return 0;
27181 _ACEOF
27182 rm -f conftest.$ac_objext
27183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27184 (eval $ac_compile) 2>conftest.er1
27185 ac_status=$?
27186 grep -v '^ *+' conftest.er1 >conftest.err
27187 rm -f conftest.er1
27188 cat conftest.err >&5
27189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27190 (exit $ac_status); } &&
27191 { ac_try='test -z "$ac_cxx_werror_flag"
27192 || test ! -s conftest.err'
27193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27194 (eval $ac_try) 2>&5
27195 ac_status=$?
27196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27197 (exit $ac_status); }; } &&
27198 { ac_try='test -s conftest.$ac_objext'
27199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27200 (eval $ac_try) 2>&5
27201 ac_status=$?
27202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27203 (exit $ac_status); }; }; then
27204 glibcxx_cv_func__modf_use=yes
27205 else
27206 echo "$as_me: failed program was:" >&5
27207 sed 's/^/| /' conftest.$ac_ext >&5
27209 glibcxx_cv_func__modf_use=no
27211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27212 ac_ext=c
27213 ac_cpp='$CPP $CPPFLAGS'
27214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27222 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
27223 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
27225 if test x$glibcxx_cv_func__modf_use = x"yes"; then
27227 for ac_func in _modf
27229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27230 echo "$as_me:$LINENO: checking for $ac_func" >&5
27231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27232 if eval "test \"\${$as_ac_var+set}\" = set"; then
27233 echo $ECHO_N "(cached) $ECHO_C" >&6
27234 else
27235 if test x$gcc_no_link = xyes; then
27236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27238 { (exit 1); exit 1; }; }
27240 cat >conftest.$ac_ext <<_ACEOF
27241 /* confdefs.h. */
27242 _ACEOF
27243 cat confdefs.h >>conftest.$ac_ext
27244 cat >>conftest.$ac_ext <<_ACEOF
27245 /* end confdefs.h. */
27246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27248 #define $ac_func innocuous_$ac_func
27250 /* System header to define __stub macros and hopefully few prototypes,
27251 which can conflict with char $ac_func (); below.
27252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27253 <limits.h> exists even on freestanding compilers. */
27255 #ifdef __STDC__
27256 # include <limits.h>
27257 #else
27258 # include <assert.h>
27259 #endif
27261 #undef $ac_func
27263 /* Override any gcc2 internal prototype to avoid an error. */
27264 #ifdef __cplusplus
27265 extern "C"
27267 #endif
27268 /* We use char because int might match the return type of a gcc2
27269 builtin and then its argument prototype would still apply. */
27270 char $ac_func ();
27271 /* The GNU C library defines this for functions which it implements
27272 to always fail with ENOSYS. Some functions are actually named
27273 something starting with __ and the normal name is an alias. */
27274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27275 choke me
27276 #else
27277 char (*f) () = $ac_func;
27278 #endif
27279 #ifdef __cplusplus
27281 #endif
27284 main ()
27286 return f != $ac_func;
27288 return 0;
27290 _ACEOF
27291 rm -f conftest.$ac_objext conftest$ac_exeext
27292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27293 (eval $ac_link) 2>conftest.er1
27294 ac_status=$?
27295 grep -v '^ *+' conftest.er1 >conftest.err
27296 rm -f conftest.er1
27297 cat conftest.err >&5
27298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27299 (exit $ac_status); } &&
27300 { ac_try='test -z "$ac_c_werror_flag"
27301 || test ! -s conftest.err'
27302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27303 (eval $ac_try) 2>&5
27304 ac_status=$?
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); }; } &&
27307 { ac_try='test -s conftest$ac_exeext'
27308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27309 (eval $ac_try) 2>&5
27310 ac_status=$?
27311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312 (exit $ac_status); }; }; then
27313 eval "$as_ac_var=yes"
27314 else
27315 echo "$as_me: failed program was:" >&5
27316 sed 's/^/| /' conftest.$ac_ext >&5
27318 eval "$as_ac_var=no"
27320 rm -f conftest.err conftest.$ac_objext \
27321 conftest$ac_exeext conftest.$ac_ext
27323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27325 if test `eval echo '${'$as_ac_var'}'` = yes; then
27326 cat >>confdefs.h <<_ACEOF
27327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27328 _ACEOF
27331 done
27341 echo "$as_me:$LINENO: checking for powf declaration" >&5
27342 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
27343 if test x${glibcxx_cv_func_powf_use+set} != xset; then
27344 if test "${glibcxx_cv_func_powf_use+set}" = set; then
27345 echo $ECHO_N "(cached) $ECHO_C" >&6
27346 else
27350 ac_ext=cc
27351 ac_cpp='$CXXCPP $CPPFLAGS'
27352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27356 cat >conftest.$ac_ext <<_ACEOF
27357 /* confdefs.h. */
27358 _ACEOF
27359 cat confdefs.h >>conftest.$ac_ext
27360 cat >>conftest.$ac_ext <<_ACEOF
27361 /* end confdefs.h. */
27362 #include <math.h>
27364 main ()
27366 powf(0, 0);
27368 return 0;
27370 _ACEOF
27371 rm -f conftest.$ac_objext
27372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27373 (eval $ac_compile) 2>conftest.er1
27374 ac_status=$?
27375 grep -v '^ *+' conftest.er1 >conftest.err
27376 rm -f conftest.er1
27377 cat conftest.err >&5
27378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27379 (exit $ac_status); } &&
27380 { ac_try='test -z "$ac_cxx_werror_flag"
27381 || test ! -s conftest.err'
27382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27383 (eval $ac_try) 2>&5
27384 ac_status=$?
27385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27386 (exit $ac_status); }; } &&
27387 { ac_try='test -s conftest.$ac_objext'
27388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27389 (eval $ac_try) 2>&5
27390 ac_status=$?
27391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27392 (exit $ac_status); }; }; then
27393 glibcxx_cv_func_powf_use=yes
27394 else
27395 echo "$as_me: failed program was:" >&5
27396 sed 's/^/| /' conftest.$ac_ext >&5
27398 glibcxx_cv_func_powf_use=no
27400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27401 ac_ext=c
27402 ac_cpp='$CPP $CPPFLAGS'
27403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27411 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
27412 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
27414 if test x$glibcxx_cv_func_powf_use = x"yes"; then
27416 for ac_func in powf
27418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27419 echo "$as_me:$LINENO: checking for $ac_func" >&5
27420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27421 if eval "test \"\${$as_ac_var+set}\" = set"; then
27422 echo $ECHO_N "(cached) $ECHO_C" >&6
27423 else
27424 if test x$gcc_no_link = xyes; then
27425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27427 { (exit 1); exit 1; }; }
27429 cat >conftest.$ac_ext <<_ACEOF
27430 /* confdefs.h. */
27431 _ACEOF
27432 cat confdefs.h >>conftest.$ac_ext
27433 cat >>conftest.$ac_ext <<_ACEOF
27434 /* end confdefs.h. */
27435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27437 #define $ac_func innocuous_$ac_func
27439 /* System header to define __stub macros and hopefully few prototypes,
27440 which can conflict with char $ac_func (); below.
27441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27442 <limits.h> exists even on freestanding compilers. */
27444 #ifdef __STDC__
27445 # include <limits.h>
27446 #else
27447 # include <assert.h>
27448 #endif
27450 #undef $ac_func
27452 /* Override any gcc2 internal prototype to avoid an error. */
27453 #ifdef __cplusplus
27454 extern "C"
27456 #endif
27457 /* We use char because int might match the return type of a gcc2
27458 builtin and then its argument prototype would still apply. */
27459 char $ac_func ();
27460 /* The GNU C library defines this for functions which it implements
27461 to always fail with ENOSYS. Some functions are actually named
27462 something starting with __ and the normal name is an alias. */
27463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27464 choke me
27465 #else
27466 char (*f) () = $ac_func;
27467 #endif
27468 #ifdef __cplusplus
27470 #endif
27473 main ()
27475 return f != $ac_func;
27477 return 0;
27479 _ACEOF
27480 rm -f conftest.$ac_objext conftest$ac_exeext
27481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27482 (eval $ac_link) 2>conftest.er1
27483 ac_status=$?
27484 grep -v '^ *+' conftest.er1 >conftest.err
27485 rm -f conftest.er1
27486 cat conftest.err >&5
27487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27488 (exit $ac_status); } &&
27489 { ac_try='test -z "$ac_c_werror_flag"
27490 || test ! -s conftest.err'
27491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27492 (eval $ac_try) 2>&5
27493 ac_status=$?
27494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27495 (exit $ac_status); }; } &&
27496 { ac_try='test -s conftest$ac_exeext'
27497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27498 (eval $ac_try) 2>&5
27499 ac_status=$?
27500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27501 (exit $ac_status); }; }; then
27502 eval "$as_ac_var=yes"
27503 else
27504 echo "$as_me: failed program was:" >&5
27505 sed 's/^/| /' conftest.$ac_ext >&5
27507 eval "$as_ac_var=no"
27509 rm -f conftest.err conftest.$ac_objext \
27510 conftest$ac_exeext conftest.$ac_ext
27512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27514 if test `eval echo '${'$as_ac_var'}'` = yes; then
27515 cat >>confdefs.h <<_ACEOF
27516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27517 _ACEOF
27520 done
27522 else
27524 echo "$as_me:$LINENO: checking for _powf declaration" >&5
27525 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
27526 if test x${glibcxx_cv_func__powf_use+set} != xset; then
27527 if test "${glibcxx_cv_func__powf_use+set}" = set; then
27528 echo $ECHO_N "(cached) $ECHO_C" >&6
27529 else
27533 ac_ext=cc
27534 ac_cpp='$CXXCPP $CPPFLAGS'
27535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27539 cat >conftest.$ac_ext <<_ACEOF
27540 /* confdefs.h. */
27541 _ACEOF
27542 cat confdefs.h >>conftest.$ac_ext
27543 cat >>conftest.$ac_ext <<_ACEOF
27544 /* end confdefs.h. */
27545 #include <math.h>
27547 main ()
27549 _powf(0, 0);
27551 return 0;
27553 _ACEOF
27554 rm -f conftest.$ac_objext
27555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27556 (eval $ac_compile) 2>conftest.er1
27557 ac_status=$?
27558 grep -v '^ *+' conftest.er1 >conftest.err
27559 rm -f conftest.er1
27560 cat conftest.err >&5
27561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562 (exit $ac_status); } &&
27563 { ac_try='test -z "$ac_cxx_werror_flag"
27564 || test ! -s conftest.err'
27565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27566 (eval $ac_try) 2>&5
27567 ac_status=$?
27568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27569 (exit $ac_status); }; } &&
27570 { ac_try='test -s conftest.$ac_objext'
27571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27572 (eval $ac_try) 2>&5
27573 ac_status=$?
27574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27575 (exit $ac_status); }; }; then
27576 glibcxx_cv_func__powf_use=yes
27577 else
27578 echo "$as_me: failed program was:" >&5
27579 sed 's/^/| /' conftest.$ac_ext >&5
27581 glibcxx_cv_func__powf_use=no
27583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27584 ac_ext=c
27585 ac_cpp='$CPP $CPPFLAGS'
27586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27594 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
27595 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
27597 if test x$glibcxx_cv_func__powf_use = x"yes"; then
27599 for ac_func in _powf
27601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27602 echo "$as_me:$LINENO: checking for $ac_func" >&5
27603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27604 if eval "test \"\${$as_ac_var+set}\" = set"; then
27605 echo $ECHO_N "(cached) $ECHO_C" >&6
27606 else
27607 if test x$gcc_no_link = xyes; then
27608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27610 { (exit 1); exit 1; }; }
27612 cat >conftest.$ac_ext <<_ACEOF
27613 /* confdefs.h. */
27614 _ACEOF
27615 cat confdefs.h >>conftest.$ac_ext
27616 cat >>conftest.$ac_ext <<_ACEOF
27617 /* end confdefs.h. */
27618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27620 #define $ac_func innocuous_$ac_func
27622 /* System header to define __stub macros and hopefully few prototypes,
27623 which can conflict with char $ac_func (); below.
27624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27625 <limits.h> exists even on freestanding compilers. */
27627 #ifdef __STDC__
27628 # include <limits.h>
27629 #else
27630 # include <assert.h>
27631 #endif
27633 #undef $ac_func
27635 /* Override any gcc2 internal prototype to avoid an error. */
27636 #ifdef __cplusplus
27637 extern "C"
27639 #endif
27640 /* We use char because int might match the return type of a gcc2
27641 builtin and then its argument prototype would still apply. */
27642 char $ac_func ();
27643 /* The GNU C library defines this for functions which it implements
27644 to always fail with ENOSYS. Some functions are actually named
27645 something starting with __ and the normal name is an alias. */
27646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27647 choke me
27648 #else
27649 char (*f) () = $ac_func;
27650 #endif
27651 #ifdef __cplusplus
27653 #endif
27656 main ()
27658 return f != $ac_func;
27660 return 0;
27662 _ACEOF
27663 rm -f conftest.$ac_objext conftest$ac_exeext
27664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27665 (eval $ac_link) 2>conftest.er1
27666 ac_status=$?
27667 grep -v '^ *+' conftest.er1 >conftest.err
27668 rm -f conftest.er1
27669 cat conftest.err >&5
27670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27671 (exit $ac_status); } &&
27672 { ac_try='test -z "$ac_c_werror_flag"
27673 || test ! -s conftest.err'
27674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27675 (eval $ac_try) 2>&5
27676 ac_status=$?
27677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27678 (exit $ac_status); }; } &&
27679 { ac_try='test -s conftest$ac_exeext'
27680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27681 (eval $ac_try) 2>&5
27682 ac_status=$?
27683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27684 (exit $ac_status); }; }; then
27685 eval "$as_ac_var=yes"
27686 else
27687 echo "$as_me: failed program was:" >&5
27688 sed 's/^/| /' conftest.$ac_ext >&5
27690 eval "$as_ac_var=no"
27692 rm -f conftest.err conftest.$ac_objext \
27693 conftest$ac_exeext conftest.$ac_ext
27695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27697 if test `eval echo '${'$as_ac_var'}'` = yes; then
27698 cat >>confdefs.h <<_ACEOF
27699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27700 _ACEOF
27703 done
27713 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
27714 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
27715 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
27716 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
27717 echo $ECHO_N "(cached) $ECHO_C" >&6
27718 else
27722 ac_ext=cc
27723 ac_cpp='$CXXCPP $CPPFLAGS'
27724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27728 cat >conftest.$ac_ext <<_ACEOF
27729 /* confdefs.h. */
27730 _ACEOF
27731 cat confdefs.h >>conftest.$ac_ext
27732 cat >>conftest.$ac_ext <<_ACEOF
27733 /* end confdefs.h. */
27734 #include <math.h>
27735 #ifdef HAVE_IEEEFP_H
27736 #include <ieeefp.h>
27737 #endif
27740 main ()
27742 sqrtf(0);
27744 return 0;
27746 _ACEOF
27747 rm -f conftest.$ac_objext
27748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27749 (eval $ac_compile) 2>conftest.er1
27750 ac_status=$?
27751 grep -v '^ *+' conftest.er1 >conftest.err
27752 rm -f conftest.er1
27753 cat conftest.err >&5
27754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27755 (exit $ac_status); } &&
27756 { ac_try='test -z "$ac_cxx_werror_flag"
27757 || test ! -s conftest.err'
27758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27759 (eval $ac_try) 2>&5
27760 ac_status=$?
27761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27762 (exit $ac_status); }; } &&
27763 { ac_try='test -s conftest.$ac_objext'
27764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27765 (eval $ac_try) 2>&5
27766 ac_status=$?
27767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27768 (exit $ac_status); }; }; then
27769 glibcxx_cv_func_sqrtf_use=yes
27770 else
27771 echo "$as_me: failed program was:" >&5
27772 sed 's/^/| /' conftest.$ac_ext >&5
27774 glibcxx_cv_func_sqrtf_use=no
27776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27777 ac_ext=c
27778 ac_cpp='$CPP $CPPFLAGS'
27779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27787 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
27788 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
27790 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
27792 for ac_func in sqrtf
27794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27795 echo "$as_me:$LINENO: checking for $ac_func" >&5
27796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27797 if eval "test \"\${$as_ac_var+set}\" = set"; then
27798 echo $ECHO_N "(cached) $ECHO_C" >&6
27799 else
27800 if test x$gcc_no_link = xyes; then
27801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27803 { (exit 1); exit 1; }; }
27805 cat >conftest.$ac_ext <<_ACEOF
27806 /* confdefs.h. */
27807 _ACEOF
27808 cat confdefs.h >>conftest.$ac_ext
27809 cat >>conftest.$ac_ext <<_ACEOF
27810 /* end confdefs.h. */
27811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27813 #define $ac_func innocuous_$ac_func
27815 /* System header to define __stub macros and hopefully few prototypes,
27816 which can conflict with char $ac_func (); below.
27817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27818 <limits.h> exists even on freestanding compilers. */
27820 #ifdef __STDC__
27821 # include <limits.h>
27822 #else
27823 # include <assert.h>
27824 #endif
27826 #undef $ac_func
27828 /* Override any gcc2 internal prototype to avoid an error. */
27829 #ifdef __cplusplus
27830 extern "C"
27832 #endif
27833 /* We use char because int might match the return type of a gcc2
27834 builtin and then its argument prototype would still apply. */
27835 char $ac_func ();
27836 /* The GNU C library defines this for functions which it implements
27837 to always fail with ENOSYS. Some functions are actually named
27838 something starting with __ and the normal name is an alias. */
27839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27840 choke me
27841 #else
27842 char (*f) () = $ac_func;
27843 #endif
27844 #ifdef __cplusplus
27846 #endif
27849 main ()
27851 return f != $ac_func;
27853 return 0;
27855 _ACEOF
27856 rm -f conftest.$ac_objext conftest$ac_exeext
27857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27858 (eval $ac_link) 2>conftest.er1
27859 ac_status=$?
27860 grep -v '^ *+' conftest.er1 >conftest.err
27861 rm -f conftest.er1
27862 cat conftest.err >&5
27863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27864 (exit $ac_status); } &&
27865 { ac_try='test -z "$ac_c_werror_flag"
27866 || test ! -s conftest.err'
27867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27868 (eval $ac_try) 2>&5
27869 ac_status=$?
27870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871 (exit $ac_status); }; } &&
27872 { ac_try='test -s conftest$ac_exeext'
27873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27874 (eval $ac_try) 2>&5
27875 ac_status=$?
27876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27877 (exit $ac_status); }; }; then
27878 eval "$as_ac_var=yes"
27879 else
27880 echo "$as_me: failed program was:" >&5
27881 sed 's/^/| /' conftest.$ac_ext >&5
27883 eval "$as_ac_var=no"
27885 rm -f conftest.err conftest.$ac_objext \
27886 conftest$ac_exeext conftest.$ac_ext
27888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27890 if test `eval echo '${'$as_ac_var'}'` = yes; then
27891 cat >>confdefs.h <<_ACEOF
27892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27893 _ACEOF
27896 done
27898 else
27900 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
27901 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
27902 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
27903 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
27904 echo $ECHO_N "(cached) $ECHO_C" >&6
27905 else
27909 ac_ext=cc
27910 ac_cpp='$CXXCPP $CPPFLAGS'
27911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27915 cat >conftest.$ac_ext <<_ACEOF
27916 /* confdefs.h. */
27917 _ACEOF
27918 cat confdefs.h >>conftest.$ac_ext
27919 cat >>conftest.$ac_ext <<_ACEOF
27920 /* end confdefs.h. */
27921 #include <math.h>
27922 #ifdef HAVE_IEEEFP_H
27923 #include <ieeefp.h>
27924 #endif
27927 main ()
27929 _sqrtf(0);
27931 return 0;
27933 _ACEOF
27934 rm -f conftest.$ac_objext
27935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27936 (eval $ac_compile) 2>conftest.er1
27937 ac_status=$?
27938 grep -v '^ *+' conftest.er1 >conftest.err
27939 rm -f conftest.er1
27940 cat conftest.err >&5
27941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27942 (exit $ac_status); } &&
27943 { ac_try='test -z "$ac_cxx_werror_flag"
27944 || test ! -s conftest.err'
27945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27946 (eval $ac_try) 2>&5
27947 ac_status=$?
27948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27949 (exit $ac_status); }; } &&
27950 { ac_try='test -s conftest.$ac_objext'
27951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27952 (eval $ac_try) 2>&5
27953 ac_status=$?
27954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27955 (exit $ac_status); }; }; then
27956 glibcxx_cv_func__sqrtf_use=yes
27957 else
27958 echo "$as_me: failed program was:" >&5
27959 sed 's/^/| /' conftest.$ac_ext >&5
27961 glibcxx_cv_func__sqrtf_use=no
27963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27964 ac_ext=c
27965 ac_cpp='$CPP $CPPFLAGS'
27966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27974 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
27975 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
27977 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
27979 for ac_func in _sqrtf
27981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27982 echo "$as_me:$LINENO: checking for $ac_func" >&5
27983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27984 if eval "test \"\${$as_ac_var+set}\" = set"; then
27985 echo $ECHO_N "(cached) $ECHO_C" >&6
27986 else
27987 if test x$gcc_no_link = xyes; then
27988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27990 { (exit 1); exit 1; }; }
27992 cat >conftest.$ac_ext <<_ACEOF
27993 /* confdefs.h. */
27994 _ACEOF
27995 cat confdefs.h >>conftest.$ac_ext
27996 cat >>conftest.$ac_ext <<_ACEOF
27997 /* end confdefs.h. */
27998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28000 #define $ac_func innocuous_$ac_func
28002 /* System header to define __stub macros and hopefully few prototypes,
28003 which can conflict with char $ac_func (); below.
28004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28005 <limits.h> exists even on freestanding compilers. */
28007 #ifdef __STDC__
28008 # include <limits.h>
28009 #else
28010 # include <assert.h>
28011 #endif
28013 #undef $ac_func
28015 /* Override any gcc2 internal prototype to avoid an error. */
28016 #ifdef __cplusplus
28017 extern "C"
28019 #endif
28020 /* We use char because int might match the return type of a gcc2
28021 builtin and then its argument prototype would still apply. */
28022 char $ac_func ();
28023 /* The GNU C library defines this for functions which it implements
28024 to always fail with ENOSYS. Some functions are actually named
28025 something starting with __ and the normal name is an alias. */
28026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28027 choke me
28028 #else
28029 char (*f) () = $ac_func;
28030 #endif
28031 #ifdef __cplusplus
28033 #endif
28036 main ()
28038 return f != $ac_func;
28040 return 0;
28042 _ACEOF
28043 rm -f conftest.$ac_objext conftest$ac_exeext
28044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28045 (eval $ac_link) 2>conftest.er1
28046 ac_status=$?
28047 grep -v '^ *+' conftest.er1 >conftest.err
28048 rm -f conftest.er1
28049 cat conftest.err >&5
28050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28051 (exit $ac_status); } &&
28052 { ac_try='test -z "$ac_c_werror_flag"
28053 || test ! -s conftest.err'
28054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28055 (eval $ac_try) 2>&5
28056 ac_status=$?
28057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28058 (exit $ac_status); }; } &&
28059 { ac_try='test -s conftest$ac_exeext'
28060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28061 (eval $ac_try) 2>&5
28062 ac_status=$?
28063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28064 (exit $ac_status); }; }; then
28065 eval "$as_ac_var=yes"
28066 else
28067 echo "$as_me: failed program was:" >&5
28068 sed 's/^/| /' conftest.$ac_ext >&5
28070 eval "$as_ac_var=no"
28072 rm -f conftest.err conftest.$ac_objext \
28073 conftest$ac_exeext conftest.$ac_ext
28075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28077 if test `eval echo '${'$as_ac_var'}'` = yes; then
28078 cat >>confdefs.h <<_ACEOF
28079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28080 _ACEOF
28083 done
28093 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
28094 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
28095 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
28096 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
28097 echo $ECHO_N "(cached) $ECHO_C" >&6
28098 else
28102 ac_ext=cc
28103 ac_cpp='$CXXCPP $CPPFLAGS'
28104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28108 cat >conftest.$ac_ext <<_ACEOF
28109 /* confdefs.h. */
28110 _ACEOF
28111 cat confdefs.h >>conftest.$ac_ext
28112 cat >>conftest.$ac_ext <<_ACEOF
28113 /* end confdefs.h. */
28114 #include <math.h>
28116 main ()
28118 sincosf(0, 0, 0);
28120 return 0;
28122 _ACEOF
28123 rm -f conftest.$ac_objext
28124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28125 (eval $ac_compile) 2>conftest.er1
28126 ac_status=$?
28127 grep -v '^ *+' conftest.er1 >conftest.err
28128 rm -f conftest.er1
28129 cat conftest.err >&5
28130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28131 (exit $ac_status); } &&
28132 { ac_try='test -z "$ac_cxx_werror_flag"
28133 || test ! -s conftest.err'
28134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28135 (eval $ac_try) 2>&5
28136 ac_status=$?
28137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28138 (exit $ac_status); }; } &&
28139 { ac_try='test -s conftest.$ac_objext'
28140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28141 (eval $ac_try) 2>&5
28142 ac_status=$?
28143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28144 (exit $ac_status); }; }; then
28145 glibcxx_cv_func_sincosf_use=yes
28146 else
28147 echo "$as_me: failed program was:" >&5
28148 sed 's/^/| /' conftest.$ac_ext >&5
28150 glibcxx_cv_func_sincosf_use=no
28152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28153 ac_ext=c
28154 ac_cpp='$CPP $CPPFLAGS'
28155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28163 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
28164 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
28166 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
28168 for ac_func in sincosf
28170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28171 echo "$as_me:$LINENO: checking for $ac_func" >&5
28172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28173 if eval "test \"\${$as_ac_var+set}\" = set"; then
28174 echo $ECHO_N "(cached) $ECHO_C" >&6
28175 else
28176 if test x$gcc_no_link = xyes; then
28177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28179 { (exit 1); exit 1; }; }
28181 cat >conftest.$ac_ext <<_ACEOF
28182 /* confdefs.h. */
28183 _ACEOF
28184 cat confdefs.h >>conftest.$ac_ext
28185 cat >>conftest.$ac_ext <<_ACEOF
28186 /* end confdefs.h. */
28187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28189 #define $ac_func innocuous_$ac_func
28191 /* System header to define __stub macros and hopefully few prototypes,
28192 which can conflict with char $ac_func (); below.
28193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28194 <limits.h> exists even on freestanding compilers. */
28196 #ifdef __STDC__
28197 # include <limits.h>
28198 #else
28199 # include <assert.h>
28200 #endif
28202 #undef $ac_func
28204 /* Override any gcc2 internal prototype to avoid an error. */
28205 #ifdef __cplusplus
28206 extern "C"
28208 #endif
28209 /* We use char because int might match the return type of a gcc2
28210 builtin and then its argument prototype would still apply. */
28211 char $ac_func ();
28212 /* The GNU C library defines this for functions which it implements
28213 to always fail with ENOSYS. Some functions are actually named
28214 something starting with __ and the normal name is an alias. */
28215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28216 choke me
28217 #else
28218 char (*f) () = $ac_func;
28219 #endif
28220 #ifdef __cplusplus
28222 #endif
28225 main ()
28227 return f != $ac_func;
28229 return 0;
28231 _ACEOF
28232 rm -f conftest.$ac_objext conftest$ac_exeext
28233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28234 (eval $ac_link) 2>conftest.er1
28235 ac_status=$?
28236 grep -v '^ *+' conftest.er1 >conftest.err
28237 rm -f conftest.er1
28238 cat conftest.err >&5
28239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28240 (exit $ac_status); } &&
28241 { ac_try='test -z "$ac_c_werror_flag"
28242 || test ! -s conftest.err'
28243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28244 (eval $ac_try) 2>&5
28245 ac_status=$?
28246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28247 (exit $ac_status); }; } &&
28248 { ac_try='test -s conftest$ac_exeext'
28249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28250 (eval $ac_try) 2>&5
28251 ac_status=$?
28252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28253 (exit $ac_status); }; }; then
28254 eval "$as_ac_var=yes"
28255 else
28256 echo "$as_me: failed program was:" >&5
28257 sed 's/^/| /' conftest.$ac_ext >&5
28259 eval "$as_ac_var=no"
28261 rm -f conftest.err conftest.$ac_objext \
28262 conftest$ac_exeext conftest.$ac_ext
28264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28266 if test `eval echo '${'$as_ac_var'}'` = yes; then
28267 cat >>confdefs.h <<_ACEOF
28268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28269 _ACEOF
28272 done
28274 else
28276 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
28277 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
28278 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
28279 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
28280 echo $ECHO_N "(cached) $ECHO_C" >&6
28281 else
28285 ac_ext=cc
28286 ac_cpp='$CXXCPP $CPPFLAGS'
28287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28291 cat >conftest.$ac_ext <<_ACEOF
28292 /* confdefs.h. */
28293 _ACEOF
28294 cat confdefs.h >>conftest.$ac_ext
28295 cat >>conftest.$ac_ext <<_ACEOF
28296 /* end confdefs.h. */
28297 #include <math.h>
28299 main ()
28301 _sincosf(0, 0, 0);
28303 return 0;
28305 _ACEOF
28306 rm -f conftest.$ac_objext
28307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28308 (eval $ac_compile) 2>conftest.er1
28309 ac_status=$?
28310 grep -v '^ *+' conftest.er1 >conftest.err
28311 rm -f conftest.er1
28312 cat conftest.err >&5
28313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28314 (exit $ac_status); } &&
28315 { ac_try='test -z "$ac_cxx_werror_flag"
28316 || test ! -s conftest.err'
28317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28318 (eval $ac_try) 2>&5
28319 ac_status=$?
28320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28321 (exit $ac_status); }; } &&
28322 { ac_try='test -s conftest.$ac_objext'
28323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28324 (eval $ac_try) 2>&5
28325 ac_status=$?
28326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28327 (exit $ac_status); }; }; then
28328 glibcxx_cv_func__sincosf_use=yes
28329 else
28330 echo "$as_me: failed program was:" >&5
28331 sed 's/^/| /' conftest.$ac_ext >&5
28333 glibcxx_cv_func__sincosf_use=no
28335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28336 ac_ext=c
28337 ac_cpp='$CPP $CPPFLAGS'
28338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28346 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
28347 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
28349 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
28351 for ac_func in _sincosf
28353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28354 echo "$as_me:$LINENO: checking for $ac_func" >&5
28355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28356 if eval "test \"\${$as_ac_var+set}\" = set"; then
28357 echo $ECHO_N "(cached) $ECHO_C" >&6
28358 else
28359 if test x$gcc_no_link = xyes; then
28360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28362 { (exit 1); exit 1; }; }
28364 cat >conftest.$ac_ext <<_ACEOF
28365 /* confdefs.h. */
28366 _ACEOF
28367 cat confdefs.h >>conftest.$ac_ext
28368 cat >>conftest.$ac_ext <<_ACEOF
28369 /* end confdefs.h. */
28370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28372 #define $ac_func innocuous_$ac_func
28374 /* System header to define __stub macros and hopefully few prototypes,
28375 which can conflict with char $ac_func (); below.
28376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28377 <limits.h> exists even on freestanding compilers. */
28379 #ifdef __STDC__
28380 # include <limits.h>
28381 #else
28382 # include <assert.h>
28383 #endif
28385 #undef $ac_func
28387 /* Override any gcc2 internal prototype to avoid an error. */
28388 #ifdef __cplusplus
28389 extern "C"
28391 #endif
28392 /* We use char because int might match the return type of a gcc2
28393 builtin and then its argument prototype would still apply. */
28394 char $ac_func ();
28395 /* The GNU C library defines this for functions which it implements
28396 to always fail with ENOSYS. Some functions are actually named
28397 something starting with __ and the normal name is an alias. */
28398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28399 choke me
28400 #else
28401 char (*f) () = $ac_func;
28402 #endif
28403 #ifdef __cplusplus
28405 #endif
28408 main ()
28410 return f != $ac_func;
28412 return 0;
28414 _ACEOF
28415 rm -f conftest.$ac_objext conftest$ac_exeext
28416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28417 (eval $ac_link) 2>conftest.er1
28418 ac_status=$?
28419 grep -v '^ *+' conftest.er1 >conftest.err
28420 rm -f conftest.er1
28421 cat conftest.err >&5
28422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28423 (exit $ac_status); } &&
28424 { ac_try='test -z "$ac_c_werror_flag"
28425 || test ! -s conftest.err'
28426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28427 (eval $ac_try) 2>&5
28428 ac_status=$?
28429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); }; } &&
28431 { ac_try='test -s conftest$ac_exeext'
28432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28433 (eval $ac_try) 2>&5
28434 ac_status=$?
28435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28436 (exit $ac_status); }; }; then
28437 eval "$as_ac_var=yes"
28438 else
28439 echo "$as_me: failed program was:" >&5
28440 sed 's/^/| /' conftest.$ac_ext >&5
28442 eval "$as_ac_var=no"
28444 rm -f conftest.err conftest.$ac_objext \
28445 conftest$ac_exeext conftest.$ac_ext
28447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28449 if test `eval echo '${'$as_ac_var'}'` = yes; then
28450 cat >>confdefs.h <<_ACEOF
28451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28452 _ACEOF
28455 done
28465 echo "$as_me:$LINENO: checking for finitef declaration" >&5
28466 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
28467 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
28468 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
28469 echo $ECHO_N "(cached) $ECHO_C" >&6
28470 else
28474 ac_ext=cc
28475 ac_cpp='$CXXCPP $CPPFLAGS'
28476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28480 cat >conftest.$ac_ext <<_ACEOF
28481 /* confdefs.h. */
28482 _ACEOF
28483 cat confdefs.h >>conftest.$ac_ext
28484 cat >>conftest.$ac_ext <<_ACEOF
28485 /* end confdefs.h. */
28486 #include <math.h>
28487 #ifdef HAVE_IEEEFP_H
28488 #include <ieeefp.h>
28489 #endif
28492 main ()
28494 finitef(0);
28496 return 0;
28498 _ACEOF
28499 rm -f conftest.$ac_objext
28500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28501 (eval $ac_compile) 2>conftest.er1
28502 ac_status=$?
28503 grep -v '^ *+' conftest.er1 >conftest.err
28504 rm -f conftest.er1
28505 cat conftest.err >&5
28506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28507 (exit $ac_status); } &&
28508 { ac_try='test -z "$ac_cxx_werror_flag"
28509 || test ! -s conftest.err'
28510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28511 (eval $ac_try) 2>&5
28512 ac_status=$?
28513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28514 (exit $ac_status); }; } &&
28515 { ac_try='test -s conftest.$ac_objext'
28516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28517 (eval $ac_try) 2>&5
28518 ac_status=$?
28519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28520 (exit $ac_status); }; }; then
28521 glibcxx_cv_func_finitef_use=yes
28522 else
28523 echo "$as_me: failed program was:" >&5
28524 sed 's/^/| /' conftest.$ac_ext >&5
28526 glibcxx_cv_func_finitef_use=no
28528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28529 ac_ext=c
28530 ac_cpp='$CPP $CPPFLAGS'
28531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28539 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
28540 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
28542 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
28544 for ac_func in finitef
28546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28547 echo "$as_me:$LINENO: checking for $ac_func" >&5
28548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28549 if eval "test \"\${$as_ac_var+set}\" = set"; then
28550 echo $ECHO_N "(cached) $ECHO_C" >&6
28551 else
28552 if test x$gcc_no_link = xyes; then
28553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28555 { (exit 1); exit 1; }; }
28557 cat >conftest.$ac_ext <<_ACEOF
28558 /* confdefs.h. */
28559 _ACEOF
28560 cat confdefs.h >>conftest.$ac_ext
28561 cat >>conftest.$ac_ext <<_ACEOF
28562 /* end confdefs.h. */
28563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28565 #define $ac_func innocuous_$ac_func
28567 /* System header to define __stub macros and hopefully few prototypes,
28568 which can conflict with char $ac_func (); below.
28569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28570 <limits.h> exists even on freestanding compilers. */
28572 #ifdef __STDC__
28573 # include <limits.h>
28574 #else
28575 # include <assert.h>
28576 #endif
28578 #undef $ac_func
28580 /* Override any gcc2 internal prototype to avoid an error. */
28581 #ifdef __cplusplus
28582 extern "C"
28584 #endif
28585 /* We use char because int might match the return type of a gcc2
28586 builtin and then its argument prototype would still apply. */
28587 char $ac_func ();
28588 /* The GNU C library defines this for functions which it implements
28589 to always fail with ENOSYS. Some functions are actually named
28590 something starting with __ and the normal name is an alias. */
28591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28592 choke me
28593 #else
28594 char (*f) () = $ac_func;
28595 #endif
28596 #ifdef __cplusplus
28598 #endif
28601 main ()
28603 return f != $ac_func;
28605 return 0;
28607 _ACEOF
28608 rm -f conftest.$ac_objext conftest$ac_exeext
28609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28610 (eval $ac_link) 2>conftest.er1
28611 ac_status=$?
28612 grep -v '^ *+' conftest.er1 >conftest.err
28613 rm -f conftest.er1
28614 cat conftest.err >&5
28615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28616 (exit $ac_status); } &&
28617 { ac_try='test -z "$ac_c_werror_flag"
28618 || test ! -s conftest.err'
28619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28620 (eval $ac_try) 2>&5
28621 ac_status=$?
28622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28623 (exit $ac_status); }; } &&
28624 { ac_try='test -s conftest$ac_exeext'
28625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28626 (eval $ac_try) 2>&5
28627 ac_status=$?
28628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28629 (exit $ac_status); }; }; then
28630 eval "$as_ac_var=yes"
28631 else
28632 echo "$as_me: failed program was:" >&5
28633 sed 's/^/| /' conftest.$ac_ext >&5
28635 eval "$as_ac_var=no"
28637 rm -f conftest.err conftest.$ac_objext \
28638 conftest$ac_exeext conftest.$ac_ext
28640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28642 if test `eval echo '${'$as_ac_var'}'` = yes; then
28643 cat >>confdefs.h <<_ACEOF
28644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28645 _ACEOF
28648 done
28650 else
28652 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
28653 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
28654 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
28655 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
28656 echo $ECHO_N "(cached) $ECHO_C" >&6
28657 else
28661 ac_ext=cc
28662 ac_cpp='$CXXCPP $CPPFLAGS'
28663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28667 cat >conftest.$ac_ext <<_ACEOF
28668 /* confdefs.h. */
28669 _ACEOF
28670 cat confdefs.h >>conftest.$ac_ext
28671 cat >>conftest.$ac_ext <<_ACEOF
28672 /* end confdefs.h. */
28673 #include <math.h>
28674 #ifdef HAVE_IEEEFP_H
28675 #include <ieeefp.h>
28676 #endif
28679 main ()
28681 _finitef(0);
28683 return 0;
28685 _ACEOF
28686 rm -f conftest.$ac_objext
28687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28688 (eval $ac_compile) 2>conftest.er1
28689 ac_status=$?
28690 grep -v '^ *+' conftest.er1 >conftest.err
28691 rm -f conftest.er1
28692 cat conftest.err >&5
28693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28694 (exit $ac_status); } &&
28695 { ac_try='test -z "$ac_cxx_werror_flag"
28696 || test ! -s conftest.err'
28697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28698 (eval $ac_try) 2>&5
28699 ac_status=$?
28700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28701 (exit $ac_status); }; } &&
28702 { ac_try='test -s conftest.$ac_objext'
28703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28704 (eval $ac_try) 2>&5
28705 ac_status=$?
28706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28707 (exit $ac_status); }; }; then
28708 glibcxx_cv_func__finitef_use=yes
28709 else
28710 echo "$as_me: failed program was:" >&5
28711 sed 's/^/| /' conftest.$ac_ext >&5
28713 glibcxx_cv_func__finitef_use=no
28715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28716 ac_ext=c
28717 ac_cpp='$CPP $CPPFLAGS'
28718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28726 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
28727 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
28729 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
28731 for ac_func in _finitef
28733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28734 echo "$as_me:$LINENO: checking for $ac_func" >&5
28735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28736 if eval "test \"\${$as_ac_var+set}\" = set"; then
28737 echo $ECHO_N "(cached) $ECHO_C" >&6
28738 else
28739 if test x$gcc_no_link = xyes; then
28740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28742 { (exit 1); exit 1; }; }
28744 cat >conftest.$ac_ext <<_ACEOF
28745 /* confdefs.h. */
28746 _ACEOF
28747 cat confdefs.h >>conftest.$ac_ext
28748 cat >>conftest.$ac_ext <<_ACEOF
28749 /* end confdefs.h. */
28750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28752 #define $ac_func innocuous_$ac_func
28754 /* System header to define __stub macros and hopefully few prototypes,
28755 which can conflict with char $ac_func (); below.
28756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28757 <limits.h> exists even on freestanding compilers. */
28759 #ifdef __STDC__
28760 # include <limits.h>
28761 #else
28762 # include <assert.h>
28763 #endif
28765 #undef $ac_func
28767 /* Override any gcc2 internal prototype to avoid an error. */
28768 #ifdef __cplusplus
28769 extern "C"
28771 #endif
28772 /* We use char because int might match the return type of a gcc2
28773 builtin and then its argument prototype would still apply. */
28774 char $ac_func ();
28775 /* The GNU C library defines this for functions which it implements
28776 to always fail with ENOSYS. Some functions are actually named
28777 something starting with __ and the normal name is an alias. */
28778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28779 choke me
28780 #else
28781 char (*f) () = $ac_func;
28782 #endif
28783 #ifdef __cplusplus
28785 #endif
28788 main ()
28790 return f != $ac_func;
28792 return 0;
28794 _ACEOF
28795 rm -f conftest.$ac_objext conftest$ac_exeext
28796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28797 (eval $ac_link) 2>conftest.er1
28798 ac_status=$?
28799 grep -v '^ *+' conftest.er1 >conftest.err
28800 rm -f conftest.er1
28801 cat conftest.err >&5
28802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28803 (exit $ac_status); } &&
28804 { ac_try='test -z "$ac_c_werror_flag"
28805 || test ! -s conftest.err'
28806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28807 (eval $ac_try) 2>&5
28808 ac_status=$?
28809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28810 (exit $ac_status); }; } &&
28811 { ac_try='test -s conftest$ac_exeext'
28812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28813 (eval $ac_try) 2>&5
28814 ac_status=$?
28815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28816 (exit $ac_status); }; }; then
28817 eval "$as_ac_var=yes"
28818 else
28819 echo "$as_me: failed program was:" >&5
28820 sed 's/^/| /' conftest.$ac_ext >&5
28822 eval "$as_ac_var=no"
28824 rm -f conftest.err conftest.$ac_objext \
28825 conftest$ac_exeext conftest.$ac_ext
28827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28829 if test `eval echo '${'$as_ac_var'}'` = yes; then
28830 cat >>confdefs.h <<_ACEOF
28831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28832 _ACEOF
28835 done
28845 echo "$as_me:$LINENO: checking for long double trig functions" >&5
28846 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
28847 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
28848 echo $ECHO_N "(cached) $ECHO_C" >&6
28849 else
28853 ac_ext=cc
28854 ac_cpp='$CXXCPP $CPPFLAGS'
28855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28859 cat >conftest.$ac_ext <<_ACEOF
28860 /* confdefs.h. */
28861 _ACEOF
28862 cat confdefs.h >>conftest.$ac_ext
28863 cat >>conftest.$ac_ext <<_ACEOF
28864 /* end confdefs.h. */
28865 #include <math.h>
28867 main ()
28869 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
28871 return 0;
28873 _ACEOF
28874 rm -f conftest.$ac_objext
28875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28876 (eval $ac_compile) 2>conftest.er1
28877 ac_status=$?
28878 grep -v '^ *+' conftest.er1 >conftest.err
28879 rm -f conftest.er1
28880 cat conftest.err >&5
28881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28882 (exit $ac_status); } &&
28883 { ac_try='test -z "$ac_cxx_werror_flag"
28884 || test ! -s conftest.err'
28885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28886 (eval $ac_try) 2>&5
28887 ac_status=$?
28888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28889 (exit $ac_status); }; } &&
28890 { ac_try='test -s conftest.$ac_objext'
28891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28892 (eval $ac_try) 2>&5
28893 ac_status=$?
28894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28895 (exit $ac_status); }; }; then
28896 glibcxx_cv_func_long_double_trig_use=yes
28897 else
28898 echo "$as_me: failed program was:" >&5
28899 sed 's/^/| /' conftest.$ac_ext >&5
28901 glibcxx_cv_func_long_double_trig_use=no
28903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28904 ac_ext=c
28905 ac_cpp='$CPP $CPPFLAGS'
28906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28912 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
28913 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
28914 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
28924 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
28926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28927 echo "$as_me:$LINENO: checking for $ac_func" >&5
28928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28929 if eval "test \"\${$as_ac_var+set}\" = set"; then
28930 echo $ECHO_N "(cached) $ECHO_C" >&6
28931 else
28932 if test x$gcc_no_link = xyes; then
28933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28935 { (exit 1); exit 1; }; }
28937 cat >conftest.$ac_ext <<_ACEOF
28938 /* confdefs.h. */
28939 _ACEOF
28940 cat confdefs.h >>conftest.$ac_ext
28941 cat >>conftest.$ac_ext <<_ACEOF
28942 /* end confdefs.h. */
28943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28945 #define $ac_func innocuous_$ac_func
28947 /* System header to define __stub macros and hopefully few prototypes,
28948 which can conflict with char $ac_func (); below.
28949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28950 <limits.h> exists even on freestanding compilers. */
28952 #ifdef __STDC__
28953 # include <limits.h>
28954 #else
28955 # include <assert.h>
28956 #endif
28958 #undef $ac_func
28960 /* Override any gcc2 internal prototype to avoid an error. */
28961 #ifdef __cplusplus
28962 extern "C"
28964 #endif
28965 /* We use char because int might match the return type of a gcc2
28966 builtin and then its argument prototype would still apply. */
28967 char $ac_func ();
28968 /* The GNU C library defines this for functions which it implements
28969 to always fail with ENOSYS. Some functions are actually named
28970 something starting with __ and the normal name is an alias. */
28971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28972 choke me
28973 #else
28974 char (*f) () = $ac_func;
28975 #endif
28976 #ifdef __cplusplus
28978 #endif
28981 main ()
28983 return f != $ac_func;
28985 return 0;
28987 _ACEOF
28988 rm -f conftest.$ac_objext conftest$ac_exeext
28989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28990 (eval $ac_link) 2>conftest.er1
28991 ac_status=$?
28992 grep -v '^ *+' conftest.er1 >conftest.err
28993 rm -f conftest.er1
28994 cat conftest.err >&5
28995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28996 (exit $ac_status); } &&
28997 { ac_try='test -z "$ac_c_werror_flag"
28998 || test ! -s conftest.err'
28999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29000 (eval $ac_try) 2>&5
29001 ac_status=$?
29002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29003 (exit $ac_status); }; } &&
29004 { ac_try='test -s conftest$ac_exeext'
29005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29006 (eval $ac_try) 2>&5
29007 ac_status=$?
29008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29009 (exit $ac_status); }; }; then
29010 eval "$as_ac_var=yes"
29011 else
29012 echo "$as_me: failed program was:" >&5
29013 sed 's/^/| /' conftest.$ac_ext >&5
29015 eval "$as_ac_var=no"
29017 rm -f conftest.err conftest.$ac_objext \
29018 conftest$ac_exeext conftest.$ac_ext
29020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29022 if test `eval echo '${'$as_ac_var'}'` = yes; then
29023 cat >>confdefs.h <<_ACEOF
29024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29025 _ACEOF
29028 done
29030 else
29031 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
29032 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
29033 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
29034 echo $ECHO_N "(cached) $ECHO_C" >&6
29035 else
29039 ac_ext=cc
29040 ac_cpp='$CXXCPP $CPPFLAGS'
29041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29045 cat >conftest.$ac_ext <<_ACEOF
29046 /* confdefs.h. */
29047 _ACEOF
29048 cat confdefs.h >>conftest.$ac_ext
29049 cat >>conftest.$ac_ext <<_ACEOF
29050 /* end confdefs.h. */
29051 #include <math.h>
29053 main ()
29055 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29057 return 0;
29059 _ACEOF
29060 rm -f conftest.$ac_objext
29061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29062 (eval $ac_compile) 2>conftest.er1
29063 ac_status=$?
29064 grep -v '^ *+' conftest.er1 >conftest.err
29065 rm -f conftest.er1
29066 cat conftest.err >&5
29067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29068 (exit $ac_status); } &&
29069 { ac_try='test -z "$ac_cxx_werror_flag"
29070 || test ! -s conftest.err'
29071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29072 (eval $ac_try) 2>&5
29073 ac_status=$?
29074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29075 (exit $ac_status); }; } &&
29076 { ac_try='test -s conftest.$ac_objext'
29077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29078 (eval $ac_try) 2>&5
29079 ac_status=$?
29080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29081 (exit $ac_status); }; }; then
29082 glibcxx_cv_func__long_double_trig_use=yes
29083 else
29084 echo "$as_me: failed program was:" >&5
29085 sed 's/^/| /' conftest.$ac_ext >&5
29087 glibcxx_cv_func__long_double_trig_use=no
29089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29090 ac_ext=c
29091 ac_cpp='$CPP $CPPFLAGS'
29092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29098 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
29099 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
29100 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29110 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
29112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29113 echo "$as_me:$LINENO: checking for $ac_func" >&5
29114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29115 if eval "test \"\${$as_ac_var+set}\" = set"; then
29116 echo $ECHO_N "(cached) $ECHO_C" >&6
29117 else
29118 if test x$gcc_no_link = xyes; then
29119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29121 { (exit 1); exit 1; }; }
29123 cat >conftest.$ac_ext <<_ACEOF
29124 /* confdefs.h. */
29125 _ACEOF
29126 cat confdefs.h >>conftest.$ac_ext
29127 cat >>conftest.$ac_ext <<_ACEOF
29128 /* end confdefs.h. */
29129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29131 #define $ac_func innocuous_$ac_func
29133 /* System header to define __stub macros and hopefully few prototypes,
29134 which can conflict with char $ac_func (); below.
29135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29136 <limits.h> exists even on freestanding compilers. */
29138 #ifdef __STDC__
29139 # include <limits.h>
29140 #else
29141 # include <assert.h>
29142 #endif
29144 #undef $ac_func
29146 /* Override any gcc2 internal prototype to avoid an error. */
29147 #ifdef __cplusplus
29148 extern "C"
29150 #endif
29151 /* We use char because int might match the return type of a gcc2
29152 builtin and then its argument prototype would still apply. */
29153 char $ac_func ();
29154 /* The GNU C library defines this for functions which it implements
29155 to always fail with ENOSYS. Some functions are actually named
29156 something starting with __ and the normal name is an alias. */
29157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29158 choke me
29159 #else
29160 char (*f) () = $ac_func;
29161 #endif
29162 #ifdef __cplusplus
29164 #endif
29167 main ()
29169 return f != $ac_func;
29171 return 0;
29173 _ACEOF
29174 rm -f conftest.$ac_objext conftest$ac_exeext
29175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29176 (eval $ac_link) 2>conftest.er1
29177 ac_status=$?
29178 grep -v '^ *+' conftest.er1 >conftest.err
29179 rm -f conftest.er1
29180 cat conftest.err >&5
29181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29182 (exit $ac_status); } &&
29183 { ac_try='test -z "$ac_c_werror_flag"
29184 || test ! -s conftest.err'
29185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29186 (eval $ac_try) 2>&5
29187 ac_status=$?
29188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29189 (exit $ac_status); }; } &&
29190 { ac_try='test -s conftest$ac_exeext'
29191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29192 (eval $ac_try) 2>&5
29193 ac_status=$?
29194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29195 (exit $ac_status); }; }; then
29196 eval "$as_ac_var=yes"
29197 else
29198 echo "$as_me: failed program was:" >&5
29199 sed 's/^/| /' conftest.$ac_ext >&5
29201 eval "$as_ac_var=no"
29203 rm -f conftest.err conftest.$ac_objext \
29204 conftest$ac_exeext conftest.$ac_ext
29206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29208 if test `eval echo '${'$as_ac_var'}'` = yes; then
29209 cat >>confdefs.h <<_ACEOF
29210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29211 _ACEOF
29214 done
29232 echo "$as_me:$LINENO: checking for long double round functions" >&5
29233 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
29234 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
29235 echo $ECHO_N "(cached) $ECHO_C" >&6
29236 else
29240 ac_ext=cc
29241 ac_cpp='$CXXCPP $CPPFLAGS'
29242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29246 cat >conftest.$ac_ext <<_ACEOF
29247 /* confdefs.h. */
29248 _ACEOF
29249 cat confdefs.h >>conftest.$ac_ext
29250 cat >>conftest.$ac_ext <<_ACEOF
29251 /* end confdefs.h. */
29252 #include <math.h>
29254 main ()
29256 ceill (0); floorl (0);
29258 return 0;
29260 _ACEOF
29261 rm -f conftest.$ac_objext
29262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29263 (eval $ac_compile) 2>conftest.er1
29264 ac_status=$?
29265 grep -v '^ *+' conftest.er1 >conftest.err
29266 rm -f conftest.er1
29267 cat conftest.err >&5
29268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29269 (exit $ac_status); } &&
29270 { ac_try='test -z "$ac_cxx_werror_flag"
29271 || test ! -s conftest.err'
29272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29273 (eval $ac_try) 2>&5
29274 ac_status=$?
29275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29276 (exit $ac_status); }; } &&
29277 { ac_try='test -s conftest.$ac_objext'
29278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29279 (eval $ac_try) 2>&5
29280 ac_status=$?
29281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29282 (exit $ac_status); }; }; then
29283 glibcxx_cv_func_long_double_round_use=yes
29284 else
29285 echo "$as_me: failed program was:" >&5
29286 sed 's/^/| /' conftest.$ac_ext >&5
29288 glibcxx_cv_func_long_double_round_use=no
29290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29291 ac_ext=c
29292 ac_cpp='$CPP $CPPFLAGS'
29293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29299 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
29300 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
29301 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29304 for ac_func in ceill floorl
29306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29307 echo "$as_me:$LINENO: checking for $ac_func" >&5
29308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29309 if eval "test \"\${$as_ac_var+set}\" = set"; then
29310 echo $ECHO_N "(cached) $ECHO_C" >&6
29311 else
29312 if test x$gcc_no_link = xyes; then
29313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29315 { (exit 1); exit 1; }; }
29317 cat >conftest.$ac_ext <<_ACEOF
29318 /* confdefs.h. */
29319 _ACEOF
29320 cat confdefs.h >>conftest.$ac_ext
29321 cat >>conftest.$ac_ext <<_ACEOF
29322 /* end confdefs.h. */
29323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29325 #define $ac_func innocuous_$ac_func
29327 /* System header to define __stub macros and hopefully few prototypes,
29328 which can conflict with char $ac_func (); below.
29329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29330 <limits.h> exists even on freestanding compilers. */
29332 #ifdef __STDC__
29333 # include <limits.h>
29334 #else
29335 # include <assert.h>
29336 #endif
29338 #undef $ac_func
29340 /* Override any gcc2 internal prototype to avoid an error. */
29341 #ifdef __cplusplus
29342 extern "C"
29344 #endif
29345 /* We use char because int might match the return type of a gcc2
29346 builtin and then its argument prototype would still apply. */
29347 char $ac_func ();
29348 /* The GNU C library defines this for functions which it implements
29349 to always fail with ENOSYS. Some functions are actually named
29350 something starting with __ and the normal name is an alias. */
29351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29352 choke me
29353 #else
29354 char (*f) () = $ac_func;
29355 #endif
29356 #ifdef __cplusplus
29358 #endif
29361 main ()
29363 return f != $ac_func;
29365 return 0;
29367 _ACEOF
29368 rm -f conftest.$ac_objext conftest$ac_exeext
29369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29370 (eval $ac_link) 2>conftest.er1
29371 ac_status=$?
29372 grep -v '^ *+' conftest.er1 >conftest.err
29373 rm -f conftest.er1
29374 cat conftest.err >&5
29375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29376 (exit $ac_status); } &&
29377 { ac_try='test -z "$ac_c_werror_flag"
29378 || test ! -s conftest.err'
29379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29380 (eval $ac_try) 2>&5
29381 ac_status=$?
29382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29383 (exit $ac_status); }; } &&
29384 { ac_try='test -s conftest$ac_exeext'
29385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29386 (eval $ac_try) 2>&5
29387 ac_status=$?
29388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29389 (exit $ac_status); }; }; then
29390 eval "$as_ac_var=yes"
29391 else
29392 echo "$as_me: failed program was:" >&5
29393 sed 's/^/| /' conftest.$ac_ext >&5
29395 eval "$as_ac_var=no"
29397 rm -f conftest.err conftest.$ac_objext \
29398 conftest$ac_exeext conftest.$ac_ext
29400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29402 if test `eval echo '${'$as_ac_var'}'` = yes; then
29403 cat >>confdefs.h <<_ACEOF
29404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29405 _ACEOF
29408 done
29410 else
29411 echo "$as_me:$LINENO: checking for _long double round functions" >&5
29412 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
29413 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
29414 echo $ECHO_N "(cached) $ECHO_C" >&6
29415 else
29419 ac_ext=cc
29420 ac_cpp='$CXXCPP $CPPFLAGS'
29421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29425 cat >conftest.$ac_ext <<_ACEOF
29426 /* confdefs.h. */
29427 _ACEOF
29428 cat confdefs.h >>conftest.$ac_ext
29429 cat >>conftest.$ac_ext <<_ACEOF
29430 /* end confdefs.h. */
29431 #include <math.h>
29433 main ()
29435 _ceill (0); _floorl (0);
29437 return 0;
29439 _ACEOF
29440 rm -f conftest.$ac_objext
29441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29442 (eval $ac_compile) 2>conftest.er1
29443 ac_status=$?
29444 grep -v '^ *+' conftest.er1 >conftest.err
29445 rm -f conftest.er1
29446 cat conftest.err >&5
29447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29448 (exit $ac_status); } &&
29449 { ac_try='test -z "$ac_cxx_werror_flag"
29450 || test ! -s conftest.err'
29451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29452 (eval $ac_try) 2>&5
29453 ac_status=$?
29454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29455 (exit $ac_status); }; } &&
29456 { ac_try='test -s conftest.$ac_objext'
29457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29458 (eval $ac_try) 2>&5
29459 ac_status=$?
29460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29461 (exit $ac_status); }; }; then
29462 glibcxx_cv_func__long_double_round_use=yes
29463 else
29464 echo "$as_me: failed program was:" >&5
29465 sed 's/^/| /' conftest.$ac_ext >&5
29467 glibcxx_cv_func__long_double_round_use=no
29469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29470 ac_ext=c
29471 ac_cpp='$CPP $CPPFLAGS'
29472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29478 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
29479 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
29480 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
29483 for ac_func in _ceill _floorl
29485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29486 echo "$as_me:$LINENO: checking for $ac_func" >&5
29487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29488 if eval "test \"\${$as_ac_var+set}\" = set"; then
29489 echo $ECHO_N "(cached) $ECHO_C" >&6
29490 else
29491 if test x$gcc_no_link = xyes; then
29492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29494 { (exit 1); exit 1; }; }
29496 cat >conftest.$ac_ext <<_ACEOF
29497 /* confdefs.h. */
29498 _ACEOF
29499 cat confdefs.h >>conftest.$ac_ext
29500 cat >>conftest.$ac_ext <<_ACEOF
29501 /* end confdefs.h. */
29502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29504 #define $ac_func innocuous_$ac_func
29506 /* System header to define __stub macros and hopefully few prototypes,
29507 which can conflict with char $ac_func (); below.
29508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29509 <limits.h> exists even on freestanding compilers. */
29511 #ifdef __STDC__
29512 # include <limits.h>
29513 #else
29514 # include <assert.h>
29515 #endif
29517 #undef $ac_func
29519 /* Override any gcc2 internal prototype to avoid an error. */
29520 #ifdef __cplusplus
29521 extern "C"
29523 #endif
29524 /* We use char because int might match the return type of a gcc2
29525 builtin and then its argument prototype would still apply. */
29526 char $ac_func ();
29527 /* The GNU C library defines this for functions which it implements
29528 to always fail with ENOSYS. Some functions are actually named
29529 something starting with __ and the normal name is an alias. */
29530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29531 choke me
29532 #else
29533 char (*f) () = $ac_func;
29534 #endif
29535 #ifdef __cplusplus
29537 #endif
29540 main ()
29542 return f != $ac_func;
29544 return 0;
29546 _ACEOF
29547 rm -f conftest.$ac_objext conftest$ac_exeext
29548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29549 (eval $ac_link) 2>conftest.er1
29550 ac_status=$?
29551 grep -v '^ *+' conftest.er1 >conftest.err
29552 rm -f conftest.er1
29553 cat conftest.err >&5
29554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29555 (exit $ac_status); } &&
29556 { ac_try='test -z "$ac_c_werror_flag"
29557 || test ! -s conftest.err'
29558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29559 (eval $ac_try) 2>&5
29560 ac_status=$?
29561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29562 (exit $ac_status); }; } &&
29563 { ac_try='test -s conftest$ac_exeext'
29564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29565 (eval $ac_try) 2>&5
29566 ac_status=$?
29567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29568 (exit $ac_status); }; }; then
29569 eval "$as_ac_var=yes"
29570 else
29571 echo "$as_me: failed program was:" >&5
29572 sed 's/^/| /' conftest.$ac_ext >&5
29574 eval "$as_ac_var=no"
29576 rm -f conftest.err conftest.$ac_objext \
29577 conftest$ac_exeext conftest.$ac_ext
29579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29581 if test `eval echo '${'$as_ac_var'}'` = yes; then
29582 cat >>confdefs.h <<_ACEOF
29583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29584 _ACEOF
29587 done
29599 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
29600 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
29601 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
29602 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
29603 echo $ECHO_N "(cached) $ECHO_C" >&6
29604 else
29608 ac_ext=cc
29609 ac_cpp='$CXXCPP $CPPFLAGS'
29610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29614 cat >conftest.$ac_ext <<_ACEOF
29615 /* confdefs.h. */
29616 _ACEOF
29617 cat confdefs.h >>conftest.$ac_ext
29618 cat >>conftest.$ac_ext <<_ACEOF
29619 /* end confdefs.h. */
29620 #include <math.h>
29621 #ifdef HAVE_IEEEFP_H
29622 #include <ieeefp.h>
29623 #endif
29626 main ()
29628 isnanl(0);
29630 return 0;
29632 _ACEOF
29633 rm -f conftest.$ac_objext
29634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29635 (eval $ac_compile) 2>conftest.er1
29636 ac_status=$?
29637 grep -v '^ *+' conftest.er1 >conftest.err
29638 rm -f conftest.er1
29639 cat conftest.err >&5
29640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29641 (exit $ac_status); } &&
29642 { ac_try='test -z "$ac_cxx_werror_flag"
29643 || test ! -s conftest.err'
29644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29645 (eval $ac_try) 2>&5
29646 ac_status=$?
29647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29648 (exit $ac_status); }; } &&
29649 { ac_try='test -s conftest.$ac_objext'
29650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29651 (eval $ac_try) 2>&5
29652 ac_status=$?
29653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29654 (exit $ac_status); }; }; then
29655 glibcxx_cv_func_isnanl_use=yes
29656 else
29657 echo "$as_me: failed program was:" >&5
29658 sed 's/^/| /' conftest.$ac_ext >&5
29660 glibcxx_cv_func_isnanl_use=no
29662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29663 ac_ext=c
29664 ac_cpp='$CPP $CPPFLAGS'
29665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29673 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
29674 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
29676 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
29678 for ac_func in isnanl
29680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29681 echo "$as_me:$LINENO: checking for $ac_func" >&5
29682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29683 if eval "test \"\${$as_ac_var+set}\" = set"; then
29684 echo $ECHO_N "(cached) $ECHO_C" >&6
29685 else
29686 if test x$gcc_no_link = xyes; then
29687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29689 { (exit 1); exit 1; }; }
29691 cat >conftest.$ac_ext <<_ACEOF
29692 /* confdefs.h. */
29693 _ACEOF
29694 cat confdefs.h >>conftest.$ac_ext
29695 cat >>conftest.$ac_ext <<_ACEOF
29696 /* end confdefs.h. */
29697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29699 #define $ac_func innocuous_$ac_func
29701 /* System header to define __stub macros and hopefully few prototypes,
29702 which can conflict with char $ac_func (); below.
29703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29704 <limits.h> exists even on freestanding compilers. */
29706 #ifdef __STDC__
29707 # include <limits.h>
29708 #else
29709 # include <assert.h>
29710 #endif
29712 #undef $ac_func
29714 /* Override any gcc2 internal prototype to avoid an error. */
29715 #ifdef __cplusplus
29716 extern "C"
29718 #endif
29719 /* We use char because int might match the return type of a gcc2
29720 builtin and then its argument prototype would still apply. */
29721 char $ac_func ();
29722 /* The GNU C library defines this for functions which it implements
29723 to always fail with ENOSYS. Some functions are actually named
29724 something starting with __ and the normal name is an alias. */
29725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29726 choke me
29727 #else
29728 char (*f) () = $ac_func;
29729 #endif
29730 #ifdef __cplusplus
29732 #endif
29735 main ()
29737 return f != $ac_func;
29739 return 0;
29741 _ACEOF
29742 rm -f conftest.$ac_objext conftest$ac_exeext
29743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29744 (eval $ac_link) 2>conftest.er1
29745 ac_status=$?
29746 grep -v '^ *+' conftest.er1 >conftest.err
29747 rm -f conftest.er1
29748 cat conftest.err >&5
29749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29750 (exit $ac_status); } &&
29751 { ac_try='test -z "$ac_c_werror_flag"
29752 || test ! -s conftest.err'
29753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29754 (eval $ac_try) 2>&5
29755 ac_status=$?
29756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757 (exit $ac_status); }; } &&
29758 { ac_try='test -s conftest$ac_exeext'
29759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29760 (eval $ac_try) 2>&5
29761 ac_status=$?
29762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29763 (exit $ac_status); }; }; then
29764 eval "$as_ac_var=yes"
29765 else
29766 echo "$as_me: failed program was:" >&5
29767 sed 's/^/| /' conftest.$ac_ext >&5
29769 eval "$as_ac_var=no"
29771 rm -f conftest.err conftest.$ac_objext \
29772 conftest$ac_exeext conftest.$ac_ext
29774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29776 if test `eval echo '${'$as_ac_var'}'` = yes; then
29777 cat >>confdefs.h <<_ACEOF
29778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29779 _ACEOF
29782 done
29784 else
29786 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
29787 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
29788 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
29789 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
29790 echo $ECHO_N "(cached) $ECHO_C" >&6
29791 else
29795 ac_ext=cc
29796 ac_cpp='$CXXCPP $CPPFLAGS'
29797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29801 cat >conftest.$ac_ext <<_ACEOF
29802 /* confdefs.h. */
29803 _ACEOF
29804 cat confdefs.h >>conftest.$ac_ext
29805 cat >>conftest.$ac_ext <<_ACEOF
29806 /* end confdefs.h. */
29807 #include <math.h>
29808 #ifdef HAVE_IEEEFP_H
29809 #include <ieeefp.h>
29810 #endif
29813 main ()
29815 _isnanl(0);
29817 return 0;
29819 _ACEOF
29820 rm -f conftest.$ac_objext
29821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29822 (eval $ac_compile) 2>conftest.er1
29823 ac_status=$?
29824 grep -v '^ *+' conftest.er1 >conftest.err
29825 rm -f conftest.er1
29826 cat conftest.err >&5
29827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29828 (exit $ac_status); } &&
29829 { ac_try='test -z "$ac_cxx_werror_flag"
29830 || test ! -s conftest.err'
29831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29832 (eval $ac_try) 2>&5
29833 ac_status=$?
29834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29835 (exit $ac_status); }; } &&
29836 { ac_try='test -s conftest.$ac_objext'
29837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29838 (eval $ac_try) 2>&5
29839 ac_status=$?
29840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29841 (exit $ac_status); }; }; then
29842 glibcxx_cv_func__isnanl_use=yes
29843 else
29844 echo "$as_me: failed program was:" >&5
29845 sed 's/^/| /' conftest.$ac_ext >&5
29847 glibcxx_cv_func__isnanl_use=no
29849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29850 ac_ext=c
29851 ac_cpp='$CPP $CPPFLAGS'
29852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29860 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
29861 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
29863 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
29865 for ac_func in _isnanl
29867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29868 echo "$as_me:$LINENO: checking for $ac_func" >&5
29869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29870 if eval "test \"\${$as_ac_var+set}\" = set"; then
29871 echo $ECHO_N "(cached) $ECHO_C" >&6
29872 else
29873 if test x$gcc_no_link = xyes; then
29874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29876 { (exit 1); exit 1; }; }
29878 cat >conftest.$ac_ext <<_ACEOF
29879 /* confdefs.h. */
29880 _ACEOF
29881 cat confdefs.h >>conftest.$ac_ext
29882 cat >>conftest.$ac_ext <<_ACEOF
29883 /* end confdefs.h. */
29884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29886 #define $ac_func innocuous_$ac_func
29888 /* System header to define __stub macros and hopefully few prototypes,
29889 which can conflict with char $ac_func (); below.
29890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29891 <limits.h> exists even on freestanding compilers. */
29893 #ifdef __STDC__
29894 # include <limits.h>
29895 #else
29896 # include <assert.h>
29897 #endif
29899 #undef $ac_func
29901 /* Override any gcc2 internal prototype to avoid an error. */
29902 #ifdef __cplusplus
29903 extern "C"
29905 #endif
29906 /* We use char because int might match the return type of a gcc2
29907 builtin and then its argument prototype would still apply. */
29908 char $ac_func ();
29909 /* The GNU C library defines this for functions which it implements
29910 to always fail with ENOSYS. Some functions are actually named
29911 something starting with __ and the normal name is an alias. */
29912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29913 choke me
29914 #else
29915 char (*f) () = $ac_func;
29916 #endif
29917 #ifdef __cplusplus
29919 #endif
29922 main ()
29924 return f != $ac_func;
29926 return 0;
29928 _ACEOF
29929 rm -f conftest.$ac_objext conftest$ac_exeext
29930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29931 (eval $ac_link) 2>conftest.er1
29932 ac_status=$?
29933 grep -v '^ *+' conftest.er1 >conftest.err
29934 rm -f conftest.er1
29935 cat conftest.err >&5
29936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29937 (exit $ac_status); } &&
29938 { ac_try='test -z "$ac_c_werror_flag"
29939 || test ! -s conftest.err'
29940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29941 (eval $ac_try) 2>&5
29942 ac_status=$?
29943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29944 (exit $ac_status); }; } &&
29945 { ac_try='test -s conftest$ac_exeext'
29946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29947 (eval $ac_try) 2>&5
29948 ac_status=$?
29949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950 (exit $ac_status); }; }; then
29951 eval "$as_ac_var=yes"
29952 else
29953 echo "$as_me: failed program was:" >&5
29954 sed 's/^/| /' conftest.$ac_ext >&5
29956 eval "$as_ac_var=no"
29958 rm -f conftest.err conftest.$ac_objext \
29959 conftest$ac_exeext conftest.$ac_ext
29961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29963 if test `eval echo '${'$as_ac_var'}'` = yes; then
29964 cat >>confdefs.h <<_ACEOF
29965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29966 _ACEOF
29969 done
29979 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
29980 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
29981 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
29982 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
29983 echo $ECHO_N "(cached) $ECHO_C" >&6
29984 else
29988 ac_ext=cc
29989 ac_cpp='$CXXCPP $CPPFLAGS'
29990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29994 cat >conftest.$ac_ext <<_ACEOF
29995 /* confdefs.h. */
29996 _ACEOF
29997 cat confdefs.h >>conftest.$ac_ext
29998 cat >>conftest.$ac_ext <<_ACEOF
29999 /* end confdefs.h. */
30000 #include <math.h>
30001 #ifdef HAVE_IEEEFP_H
30002 #include <ieeefp.h>
30003 #endif
30006 main ()
30008 isinfl(0);
30010 return 0;
30012 _ACEOF
30013 rm -f conftest.$ac_objext
30014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30015 (eval $ac_compile) 2>conftest.er1
30016 ac_status=$?
30017 grep -v '^ *+' conftest.er1 >conftest.err
30018 rm -f conftest.er1
30019 cat conftest.err >&5
30020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30021 (exit $ac_status); } &&
30022 { ac_try='test -z "$ac_cxx_werror_flag"
30023 || test ! -s conftest.err'
30024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30025 (eval $ac_try) 2>&5
30026 ac_status=$?
30027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30028 (exit $ac_status); }; } &&
30029 { ac_try='test -s conftest.$ac_objext'
30030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30031 (eval $ac_try) 2>&5
30032 ac_status=$?
30033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30034 (exit $ac_status); }; }; then
30035 glibcxx_cv_func_isinfl_use=yes
30036 else
30037 echo "$as_me: failed program was:" >&5
30038 sed 's/^/| /' conftest.$ac_ext >&5
30040 glibcxx_cv_func_isinfl_use=no
30042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30043 ac_ext=c
30044 ac_cpp='$CPP $CPPFLAGS'
30045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30053 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
30054 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
30056 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30058 for ac_func in isinfl
30060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30061 echo "$as_me:$LINENO: checking for $ac_func" >&5
30062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30063 if eval "test \"\${$as_ac_var+set}\" = set"; then
30064 echo $ECHO_N "(cached) $ECHO_C" >&6
30065 else
30066 if test x$gcc_no_link = xyes; then
30067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30069 { (exit 1); exit 1; }; }
30071 cat >conftest.$ac_ext <<_ACEOF
30072 /* confdefs.h. */
30073 _ACEOF
30074 cat confdefs.h >>conftest.$ac_ext
30075 cat >>conftest.$ac_ext <<_ACEOF
30076 /* end confdefs.h. */
30077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30079 #define $ac_func innocuous_$ac_func
30081 /* System header to define __stub macros and hopefully few prototypes,
30082 which can conflict with char $ac_func (); below.
30083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30084 <limits.h> exists even on freestanding compilers. */
30086 #ifdef __STDC__
30087 # include <limits.h>
30088 #else
30089 # include <assert.h>
30090 #endif
30092 #undef $ac_func
30094 /* Override any gcc2 internal prototype to avoid an error. */
30095 #ifdef __cplusplus
30096 extern "C"
30098 #endif
30099 /* We use char because int might match the return type of a gcc2
30100 builtin and then its argument prototype would still apply. */
30101 char $ac_func ();
30102 /* The GNU C library defines this for functions which it implements
30103 to always fail with ENOSYS. Some functions are actually named
30104 something starting with __ and the normal name is an alias. */
30105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30106 choke me
30107 #else
30108 char (*f) () = $ac_func;
30109 #endif
30110 #ifdef __cplusplus
30112 #endif
30115 main ()
30117 return f != $ac_func;
30119 return 0;
30121 _ACEOF
30122 rm -f conftest.$ac_objext conftest$ac_exeext
30123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30124 (eval $ac_link) 2>conftest.er1
30125 ac_status=$?
30126 grep -v '^ *+' conftest.er1 >conftest.err
30127 rm -f conftest.er1
30128 cat conftest.err >&5
30129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30130 (exit $ac_status); } &&
30131 { ac_try='test -z "$ac_c_werror_flag"
30132 || test ! -s conftest.err'
30133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30134 (eval $ac_try) 2>&5
30135 ac_status=$?
30136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30137 (exit $ac_status); }; } &&
30138 { ac_try='test -s conftest$ac_exeext'
30139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30140 (eval $ac_try) 2>&5
30141 ac_status=$?
30142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30143 (exit $ac_status); }; }; then
30144 eval "$as_ac_var=yes"
30145 else
30146 echo "$as_me: failed program was:" >&5
30147 sed 's/^/| /' conftest.$ac_ext >&5
30149 eval "$as_ac_var=no"
30151 rm -f conftest.err conftest.$ac_objext \
30152 conftest$ac_exeext conftest.$ac_ext
30154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30156 if test `eval echo '${'$as_ac_var'}'` = yes; then
30157 cat >>confdefs.h <<_ACEOF
30158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30159 _ACEOF
30162 done
30164 else
30166 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
30167 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
30168 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30169 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
30170 echo $ECHO_N "(cached) $ECHO_C" >&6
30171 else
30175 ac_ext=cc
30176 ac_cpp='$CXXCPP $CPPFLAGS'
30177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30181 cat >conftest.$ac_ext <<_ACEOF
30182 /* confdefs.h. */
30183 _ACEOF
30184 cat confdefs.h >>conftest.$ac_ext
30185 cat >>conftest.$ac_ext <<_ACEOF
30186 /* end confdefs.h. */
30187 #include <math.h>
30188 #ifdef HAVE_IEEEFP_H
30189 #include <ieeefp.h>
30190 #endif
30193 main ()
30195 _isinfl(0);
30197 return 0;
30199 _ACEOF
30200 rm -f conftest.$ac_objext
30201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30202 (eval $ac_compile) 2>conftest.er1
30203 ac_status=$?
30204 grep -v '^ *+' conftest.er1 >conftest.err
30205 rm -f conftest.er1
30206 cat conftest.err >&5
30207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30208 (exit $ac_status); } &&
30209 { ac_try='test -z "$ac_cxx_werror_flag"
30210 || test ! -s conftest.err'
30211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30212 (eval $ac_try) 2>&5
30213 ac_status=$?
30214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30215 (exit $ac_status); }; } &&
30216 { ac_try='test -s conftest.$ac_objext'
30217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30218 (eval $ac_try) 2>&5
30219 ac_status=$?
30220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30221 (exit $ac_status); }; }; then
30222 glibcxx_cv_func__isinfl_use=yes
30223 else
30224 echo "$as_me: failed program was:" >&5
30225 sed 's/^/| /' conftest.$ac_ext >&5
30227 glibcxx_cv_func__isinfl_use=no
30229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30230 ac_ext=c
30231 ac_cpp='$CPP $CPPFLAGS'
30232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30240 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
30241 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
30243 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30245 for ac_func in _isinfl
30247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30248 echo "$as_me:$LINENO: checking for $ac_func" >&5
30249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30250 if eval "test \"\${$as_ac_var+set}\" = set"; then
30251 echo $ECHO_N "(cached) $ECHO_C" >&6
30252 else
30253 if test x$gcc_no_link = xyes; then
30254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30256 { (exit 1); exit 1; }; }
30258 cat >conftest.$ac_ext <<_ACEOF
30259 /* confdefs.h. */
30260 _ACEOF
30261 cat confdefs.h >>conftest.$ac_ext
30262 cat >>conftest.$ac_ext <<_ACEOF
30263 /* end confdefs.h. */
30264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30266 #define $ac_func innocuous_$ac_func
30268 /* System header to define __stub macros and hopefully few prototypes,
30269 which can conflict with char $ac_func (); below.
30270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30271 <limits.h> exists even on freestanding compilers. */
30273 #ifdef __STDC__
30274 # include <limits.h>
30275 #else
30276 # include <assert.h>
30277 #endif
30279 #undef $ac_func
30281 /* Override any gcc2 internal prototype to avoid an error. */
30282 #ifdef __cplusplus
30283 extern "C"
30285 #endif
30286 /* We use char because int might match the return type of a gcc2
30287 builtin and then its argument prototype would still apply. */
30288 char $ac_func ();
30289 /* The GNU C library defines this for functions which it implements
30290 to always fail with ENOSYS. Some functions are actually named
30291 something starting with __ and the normal name is an alias. */
30292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30293 choke me
30294 #else
30295 char (*f) () = $ac_func;
30296 #endif
30297 #ifdef __cplusplus
30299 #endif
30302 main ()
30304 return f != $ac_func;
30306 return 0;
30308 _ACEOF
30309 rm -f conftest.$ac_objext conftest$ac_exeext
30310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30311 (eval $ac_link) 2>conftest.er1
30312 ac_status=$?
30313 grep -v '^ *+' conftest.er1 >conftest.err
30314 rm -f conftest.er1
30315 cat conftest.err >&5
30316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30317 (exit $ac_status); } &&
30318 { ac_try='test -z "$ac_c_werror_flag"
30319 || test ! -s conftest.err'
30320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30321 (eval $ac_try) 2>&5
30322 ac_status=$?
30323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30324 (exit $ac_status); }; } &&
30325 { ac_try='test -s conftest$ac_exeext'
30326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30327 (eval $ac_try) 2>&5
30328 ac_status=$?
30329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30330 (exit $ac_status); }; }; then
30331 eval "$as_ac_var=yes"
30332 else
30333 echo "$as_me: failed program was:" >&5
30334 sed 's/^/| /' conftest.$ac_ext >&5
30336 eval "$as_ac_var=no"
30338 rm -f conftest.err conftest.$ac_objext \
30339 conftest$ac_exeext conftest.$ac_ext
30341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30343 if test `eval echo '${'$as_ac_var'}'` = yes; then
30344 cat >>confdefs.h <<_ACEOF
30345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30346 _ACEOF
30349 done
30359 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
30360 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
30361 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
30362 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
30363 echo $ECHO_N "(cached) $ECHO_C" >&6
30364 else
30368 ac_ext=cc
30369 ac_cpp='$CXXCPP $CPPFLAGS'
30370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30374 cat >conftest.$ac_ext <<_ACEOF
30375 /* confdefs.h. */
30376 _ACEOF
30377 cat confdefs.h >>conftest.$ac_ext
30378 cat >>conftest.$ac_ext <<_ACEOF
30379 /* end confdefs.h. */
30380 #include <math.h>
30382 main ()
30384 copysignl(0, 0);
30386 return 0;
30388 _ACEOF
30389 rm -f conftest.$ac_objext
30390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30391 (eval $ac_compile) 2>conftest.er1
30392 ac_status=$?
30393 grep -v '^ *+' conftest.er1 >conftest.err
30394 rm -f conftest.er1
30395 cat conftest.err >&5
30396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30397 (exit $ac_status); } &&
30398 { ac_try='test -z "$ac_cxx_werror_flag"
30399 || test ! -s conftest.err'
30400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30401 (eval $ac_try) 2>&5
30402 ac_status=$?
30403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30404 (exit $ac_status); }; } &&
30405 { ac_try='test -s conftest.$ac_objext'
30406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30407 (eval $ac_try) 2>&5
30408 ac_status=$?
30409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30410 (exit $ac_status); }; }; then
30411 glibcxx_cv_func_copysignl_use=yes
30412 else
30413 echo "$as_me: failed program was:" >&5
30414 sed 's/^/| /' conftest.$ac_ext >&5
30416 glibcxx_cv_func_copysignl_use=no
30418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30419 ac_ext=c
30420 ac_cpp='$CPP $CPPFLAGS'
30421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30429 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
30430 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
30432 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
30434 for ac_func in copysignl
30436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30437 echo "$as_me:$LINENO: checking for $ac_func" >&5
30438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30439 if eval "test \"\${$as_ac_var+set}\" = set"; then
30440 echo $ECHO_N "(cached) $ECHO_C" >&6
30441 else
30442 if test x$gcc_no_link = xyes; then
30443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30445 { (exit 1); exit 1; }; }
30447 cat >conftest.$ac_ext <<_ACEOF
30448 /* confdefs.h. */
30449 _ACEOF
30450 cat confdefs.h >>conftest.$ac_ext
30451 cat >>conftest.$ac_ext <<_ACEOF
30452 /* end confdefs.h. */
30453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30455 #define $ac_func innocuous_$ac_func
30457 /* System header to define __stub macros and hopefully few prototypes,
30458 which can conflict with char $ac_func (); below.
30459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30460 <limits.h> exists even on freestanding compilers. */
30462 #ifdef __STDC__
30463 # include <limits.h>
30464 #else
30465 # include <assert.h>
30466 #endif
30468 #undef $ac_func
30470 /* Override any gcc2 internal prototype to avoid an error. */
30471 #ifdef __cplusplus
30472 extern "C"
30474 #endif
30475 /* We use char because int might match the return type of a gcc2
30476 builtin and then its argument prototype would still apply. */
30477 char $ac_func ();
30478 /* The GNU C library defines this for functions which it implements
30479 to always fail with ENOSYS. Some functions are actually named
30480 something starting with __ and the normal name is an alias. */
30481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30482 choke me
30483 #else
30484 char (*f) () = $ac_func;
30485 #endif
30486 #ifdef __cplusplus
30488 #endif
30491 main ()
30493 return f != $ac_func;
30495 return 0;
30497 _ACEOF
30498 rm -f conftest.$ac_objext conftest$ac_exeext
30499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30500 (eval $ac_link) 2>conftest.er1
30501 ac_status=$?
30502 grep -v '^ *+' conftest.er1 >conftest.err
30503 rm -f conftest.er1
30504 cat conftest.err >&5
30505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506 (exit $ac_status); } &&
30507 { ac_try='test -z "$ac_c_werror_flag"
30508 || test ! -s conftest.err'
30509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30510 (eval $ac_try) 2>&5
30511 ac_status=$?
30512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513 (exit $ac_status); }; } &&
30514 { ac_try='test -s conftest$ac_exeext'
30515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30516 (eval $ac_try) 2>&5
30517 ac_status=$?
30518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519 (exit $ac_status); }; }; then
30520 eval "$as_ac_var=yes"
30521 else
30522 echo "$as_me: failed program was:" >&5
30523 sed 's/^/| /' conftest.$ac_ext >&5
30525 eval "$as_ac_var=no"
30527 rm -f conftest.err conftest.$ac_objext \
30528 conftest$ac_exeext conftest.$ac_ext
30530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30532 if test `eval echo '${'$as_ac_var'}'` = yes; then
30533 cat >>confdefs.h <<_ACEOF
30534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30535 _ACEOF
30538 done
30540 else
30542 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
30543 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
30544 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
30545 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
30546 echo $ECHO_N "(cached) $ECHO_C" >&6
30547 else
30551 ac_ext=cc
30552 ac_cpp='$CXXCPP $CPPFLAGS'
30553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30557 cat >conftest.$ac_ext <<_ACEOF
30558 /* confdefs.h. */
30559 _ACEOF
30560 cat confdefs.h >>conftest.$ac_ext
30561 cat >>conftest.$ac_ext <<_ACEOF
30562 /* end confdefs.h. */
30563 #include <math.h>
30565 main ()
30567 _copysignl(0, 0);
30569 return 0;
30571 _ACEOF
30572 rm -f conftest.$ac_objext
30573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30574 (eval $ac_compile) 2>conftest.er1
30575 ac_status=$?
30576 grep -v '^ *+' conftest.er1 >conftest.err
30577 rm -f conftest.er1
30578 cat conftest.err >&5
30579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30580 (exit $ac_status); } &&
30581 { ac_try='test -z "$ac_cxx_werror_flag"
30582 || test ! -s conftest.err'
30583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30584 (eval $ac_try) 2>&5
30585 ac_status=$?
30586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30587 (exit $ac_status); }; } &&
30588 { ac_try='test -s conftest.$ac_objext'
30589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30590 (eval $ac_try) 2>&5
30591 ac_status=$?
30592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30593 (exit $ac_status); }; }; then
30594 glibcxx_cv_func__copysignl_use=yes
30595 else
30596 echo "$as_me: failed program was:" >&5
30597 sed 's/^/| /' conftest.$ac_ext >&5
30599 glibcxx_cv_func__copysignl_use=no
30601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30602 ac_ext=c
30603 ac_cpp='$CPP $CPPFLAGS'
30604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30612 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
30613 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
30615 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
30617 for ac_func in _copysignl
30619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30620 echo "$as_me:$LINENO: checking for $ac_func" >&5
30621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30622 if eval "test \"\${$as_ac_var+set}\" = set"; then
30623 echo $ECHO_N "(cached) $ECHO_C" >&6
30624 else
30625 if test x$gcc_no_link = xyes; then
30626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30628 { (exit 1); exit 1; }; }
30630 cat >conftest.$ac_ext <<_ACEOF
30631 /* confdefs.h. */
30632 _ACEOF
30633 cat confdefs.h >>conftest.$ac_ext
30634 cat >>conftest.$ac_ext <<_ACEOF
30635 /* end confdefs.h. */
30636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30638 #define $ac_func innocuous_$ac_func
30640 /* System header to define __stub macros and hopefully few prototypes,
30641 which can conflict with char $ac_func (); below.
30642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30643 <limits.h> exists even on freestanding compilers. */
30645 #ifdef __STDC__
30646 # include <limits.h>
30647 #else
30648 # include <assert.h>
30649 #endif
30651 #undef $ac_func
30653 /* Override any gcc2 internal prototype to avoid an error. */
30654 #ifdef __cplusplus
30655 extern "C"
30657 #endif
30658 /* We use char because int might match the return type of a gcc2
30659 builtin and then its argument prototype would still apply. */
30660 char $ac_func ();
30661 /* The GNU C library defines this for functions which it implements
30662 to always fail with ENOSYS. Some functions are actually named
30663 something starting with __ and the normal name is an alias. */
30664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30665 choke me
30666 #else
30667 char (*f) () = $ac_func;
30668 #endif
30669 #ifdef __cplusplus
30671 #endif
30674 main ()
30676 return f != $ac_func;
30678 return 0;
30680 _ACEOF
30681 rm -f conftest.$ac_objext conftest$ac_exeext
30682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30683 (eval $ac_link) 2>conftest.er1
30684 ac_status=$?
30685 grep -v '^ *+' conftest.er1 >conftest.err
30686 rm -f conftest.er1
30687 cat conftest.err >&5
30688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30689 (exit $ac_status); } &&
30690 { ac_try='test -z "$ac_c_werror_flag"
30691 || test ! -s conftest.err'
30692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30693 (eval $ac_try) 2>&5
30694 ac_status=$?
30695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30696 (exit $ac_status); }; } &&
30697 { ac_try='test -s conftest$ac_exeext'
30698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30699 (eval $ac_try) 2>&5
30700 ac_status=$?
30701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30702 (exit $ac_status); }; }; then
30703 eval "$as_ac_var=yes"
30704 else
30705 echo "$as_me: failed program was:" >&5
30706 sed 's/^/| /' conftest.$ac_ext >&5
30708 eval "$as_ac_var=no"
30710 rm -f conftest.err conftest.$ac_objext \
30711 conftest$ac_exeext conftest.$ac_ext
30713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30715 if test `eval echo '${'$as_ac_var'}'` = yes; then
30716 cat >>confdefs.h <<_ACEOF
30717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30718 _ACEOF
30721 done
30731 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
30732 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
30733 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30734 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
30735 echo $ECHO_N "(cached) $ECHO_C" >&6
30736 else
30740 ac_ext=cc
30741 ac_cpp='$CXXCPP $CPPFLAGS'
30742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30746 cat >conftest.$ac_ext <<_ACEOF
30747 /* confdefs.h. */
30748 _ACEOF
30749 cat confdefs.h >>conftest.$ac_ext
30750 cat >>conftest.$ac_ext <<_ACEOF
30751 /* end confdefs.h. */
30752 #include <math.h>
30754 main ()
30756 atan2l(0, 0);
30758 return 0;
30760 _ACEOF
30761 rm -f conftest.$ac_objext
30762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30763 (eval $ac_compile) 2>conftest.er1
30764 ac_status=$?
30765 grep -v '^ *+' conftest.er1 >conftest.err
30766 rm -f conftest.er1
30767 cat conftest.err >&5
30768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30769 (exit $ac_status); } &&
30770 { ac_try='test -z "$ac_cxx_werror_flag"
30771 || test ! -s conftest.err'
30772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30773 (eval $ac_try) 2>&5
30774 ac_status=$?
30775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30776 (exit $ac_status); }; } &&
30777 { ac_try='test -s conftest.$ac_objext'
30778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30779 (eval $ac_try) 2>&5
30780 ac_status=$?
30781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30782 (exit $ac_status); }; }; then
30783 glibcxx_cv_func_atan2l_use=yes
30784 else
30785 echo "$as_me: failed program was:" >&5
30786 sed 's/^/| /' conftest.$ac_ext >&5
30788 glibcxx_cv_func_atan2l_use=no
30790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30791 ac_ext=c
30792 ac_cpp='$CPP $CPPFLAGS'
30793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30801 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
30802 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
30804 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30806 for ac_func in atan2l
30808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30809 echo "$as_me:$LINENO: checking for $ac_func" >&5
30810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30811 if eval "test \"\${$as_ac_var+set}\" = set"; then
30812 echo $ECHO_N "(cached) $ECHO_C" >&6
30813 else
30814 if test x$gcc_no_link = xyes; then
30815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30817 { (exit 1); exit 1; }; }
30819 cat >conftest.$ac_ext <<_ACEOF
30820 /* confdefs.h. */
30821 _ACEOF
30822 cat confdefs.h >>conftest.$ac_ext
30823 cat >>conftest.$ac_ext <<_ACEOF
30824 /* end confdefs.h. */
30825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30827 #define $ac_func innocuous_$ac_func
30829 /* System header to define __stub macros and hopefully few prototypes,
30830 which can conflict with char $ac_func (); below.
30831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30832 <limits.h> exists even on freestanding compilers. */
30834 #ifdef __STDC__
30835 # include <limits.h>
30836 #else
30837 # include <assert.h>
30838 #endif
30840 #undef $ac_func
30842 /* Override any gcc2 internal prototype to avoid an error. */
30843 #ifdef __cplusplus
30844 extern "C"
30846 #endif
30847 /* We use char because int might match the return type of a gcc2
30848 builtin and then its argument prototype would still apply. */
30849 char $ac_func ();
30850 /* The GNU C library defines this for functions which it implements
30851 to always fail with ENOSYS. Some functions are actually named
30852 something starting with __ and the normal name is an alias. */
30853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30854 choke me
30855 #else
30856 char (*f) () = $ac_func;
30857 #endif
30858 #ifdef __cplusplus
30860 #endif
30863 main ()
30865 return f != $ac_func;
30867 return 0;
30869 _ACEOF
30870 rm -f conftest.$ac_objext conftest$ac_exeext
30871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30872 (eval $ac_link) 2>conftest.er1
30873 ac_status=$?
30874 grep -v '^ *+' conftest.er1 >conftest.err
30875 rm -f conftest.er1
30876 cat conftest.err >&5
30877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30878 (exit $ac_status); } &&
30879 { ac_try='test -z "$ac_c_werror_flag"
30880 || test ! -s conftest.err'
30881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30882 (eval $ac_try) 2>&5
30883 ac_status=$?
30884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30885 (exit $ac_status); }; } &&
30886 { ac_try='test -s conftest$ac_exeext'
30887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30888 (eval $ac_try) 2>&5
30889 ac_status=$?
30890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30891 (exit $ac_status); }; }; then
30892 eval "$as_ac_var=yes"
30893 else
30894 echo "$as_me: failed program was:" >&5
30895 sed 's/^/| /' conftest.$ac_ext >&5
30897 eval "$as_ac_var=no"
30899 rm -f conftest.err conftest.$ac_objext \
30900 conftest$ac_exeext conftest.$ac_ext
30902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30904 if test `eval echo '${'$as_ac_var'}'` = yes; then
30905 cat >>confdefs.h <<_ACEOF
30906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30907 _ACEOF
30910 done
30912 else
30914 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
30915 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
30916 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30917 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
30918 echo $ECHO_N "(cached) $ECHO_C" >&6
30919 else
30923 ac_ext=cc
30924 ac_cpp='$CXXCPP $CPPFLAGS'
30925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30929 cat >conftest.$ac_ext <<_ACEOF
30930 /* confdefs.h. */
30931 _ACEOF
30932 cat confdefs.h >>conftest.$ac_ext
30933 cat >>conftest.$ac_ext <<_ACEOF
30934 /* end confdefs.h. */
30935 #include <math.h>
30937 main ()
30939 _atan2l(0, 0);
30941 return 0;
30943 _ACEOF
30944 rm -f conftest.$ac_objext
30945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30946 (eval $ac_compile) 2>conftest.er1
30947 ac_status=$?
30948 grep -v '^ *+' conftest.er1 >conftest.err
30949 rm -f conftest.er1
30950 cat conftest.err >&5
30951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30952 (exit $ac_status); } &&
30953 { ac_try='test -z "$ac_cxx_werror_flag"
30954 || test ! -s conftest.err'
30955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30956 (eval $ac_try) 2>&5
30957 ac_status=$?
30958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30959 (exit $ac_status); }; } &&
30960 { ac_try='test -s conftest.$ac_objext'
30961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30962 (eval $ac_try) 2>&5
30963 ac_status=$?
30964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30965 (exit $ac_status); }; }; then
30966 glibcxx_cv_func__atan2l_use=yes
30967 else
30968 echo "$as_me: failed program was:" >&5
30969 sed 's/^/| /' conftest.$ac_ext >&5
30971 glibcxx_cv_func__atan2l_use=no
30973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30974 ac_ext=c
30975 ac_cpp='$CPP $CPPFLAGS'
30976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30984 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
30985 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
30987 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30989 for ac_func in _atan2l
30991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30992 echo "$as_me:$LINENO: checking for $ac_func" >&5
30993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30994 if eval "test \"\${$as_ac_var+set}\" = set"; then
30995 echo $ECHO_N "(cached) $ECHO_C" >&6
30996 else
30997 if test x$gcc_no_link = xyes; then
30998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31000 { (exit 1); exit 1; }; }
31002 cat >conftest.$ac_ext <<_ACEOF
31003 /* confdefs.h. */
31004 _ACEOF
31005 cat confdefs.h >>conftest.$ac_ext
31006 cat >>conftest.$ac_ext <<_ACEOF
31007 /* end confdefs.h. */
31008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31010 #define $ac_func innocuous_$ac_func
31012 /* System header to define __stub macros and hopefully few prototypes,
31013 which can conflict with char $ac_func (); below.
31014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31015 <limits.h> exists even on freestanding compilers. */
31017 #ifdef __STDC__
31018 # include <limits.h>
31019 #else
31020 # include <assert.h>
31021 #endif
31023 #undef $ac_func
31025 /* Override any gcc2 internal prototype to avoid an error. */
31026 #ifdef __cplusplus
31027 extern "C"
31029 #endif
31030 /* We use char because int might match the return type of a gcc2
31031 builtin and then its argument prototype would still apply. */
31032 char $ac_func ();
31033 /* The GNU C library defines this for functions which it implements
31034 to always fail with ENOSYS. Some functions are actually named
31035 something starting with __ and the normal name is an alias. */
31036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31037 choke me
31038 #else
31039 char (*f) () = $ac_func;
31040 #endif
31041 #ifdef __cplusplus
31043 #endif
31046 main ()
31048 return f != $ac_func;
31050 return 0;
31052 _ACEOF
31053 rm -f conftest.$ac_objext conftest$ac_exeext
31054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31055 (eval $ac_link) 2>conftest.er1
31056 ac_status=$?
31057 grep -v '^ *+' conftest.er1 >conftest.err
31058 rm -f conftest.er1
31059 cat conftest.err >&5
31060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31061 (exit $ac_status); } &&
31062 { ac_try='test -z "$ac_c_werror_flag"
31063 || test ! -s conftest.err'
31064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31065 (eval $ac_try) 2>&5
31066 ac_status=$?
31067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31068 (exit $ac_status); }; } &&
31069 { ac_try='test -s conftest$ac_exeext'
31070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31071 (eval $ac_try) 2>&5
31072 ac_status=$?
31073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31074 (exit $ac_status); }; }; then
31075 eval "$as_ac_var=yes"
31076 else
31077 echo "$as_me: failed program was:" >&5
31078 sed 's/^/| /' conftest.$ac_ext >&5
31080 eval "$as_ac_var=no"
31082 rm -f conftest.err conftest.$ac_objext \
31083 conftest$ac_exeext conftest.$ac_ext
31085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31087 if test `eval echo '${'$as_ac_var'}'` = yes; then
31088 cat >>confdefs.h <<_ACEOF
31089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31090 _ACEOF
31093 done
31103 echo "$as_me:$LINENO: checking for expl declaration" >&5
31104 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
31105 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31106 if test "${glibcxx_cv_func_expl_use+set}" = set; then
31107 echo $ECHO_N "(cached) $ECHO_C" >&6
31108 else
31112 ac_ext=cc
31113 ac_cpp='$CXXCPP $CPPFLAGS'
31114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31118 cat >conftest.$ac_ext <<_ACEOF
31119 /* confdefs.h. */
31120 _ACEOF
31121 cat confdefs.h >>conftest.$ac_ext
31122 cat >>conftest.$ac_ext <<_ACEOF
31123 /* end confdefs.h. */
31124 #include <math.h>
31125 #ifdef HAVE_IEEEFP_H
31126 #include <ieeefp.h>
31127 #endif
31130 main ()
31132 expl(0);
31134 return 0;
31136 _ACEOF
31137 rm -f conftest.$ac_objext
31138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31139 (eval $ac_compile) 2>conftest.er1
31140 ac_status=$?
31141 grep -v '^ *+' conftest.er1 >conftest.err
31142 rm -f conftest.er1
31143 cat conftest.err >&5
31144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31145 (exit $ac_status); } &&
31146 { ac_try='test -z "$ac_cxx_werror_flag"
31147 || test ! -s conftest.err'
31148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31149 (eval $ac_try) 2>&5
31150 ac_status=$?
31151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31152 (exit $ac_status); }; } &&
31153 { ac_try='test -s conftest.$ac_objext'
31154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31155 (eval $ac_try) 2>&5
31156 ac_status=$?
31157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31158 (exit $ac_status); }; }; then
31159 glibcxx_cv_func_expl_use=yes
31160 else
31161 echo "$as_me: failed program was:" >&5
31162 sed 's/^/| /' conftest.$ac_ext >&5
31164 glibcxx_cv_func_expl_use=no
31166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31167 ac_ext=c
31168 ac_cpp='$CPP $CPPFLAGS'
31169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31177 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
31178 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
31180 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31182 for ac_func in expl
31184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31185 echo "$as_me:$LINENO: checking for $ac_func" >&5
31186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31187 if eval "test \"\${$as_ac_var+set}\" = set"; then
31188 echo $ECHO_N "(cached) $ECHO_C" >&6
31189 else
31190 if test x$gcc_no_link = xyes; then
31191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31193 { (exit 1); exit 1; }; }
31195 cat >conftest.$ac_ext <<_ACEOF
31196 /* confdefs.h. */
31197 _ACEOF
31198 cat confdefs.h >>conftest.$ac_ext
31199 cat >>conftest.$ac_ext <<_ACEOF
31200 /* end confdefs.h. */
31201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31203 #define $ac_func innocuous_$ac_func
31205 /* System header to define __stub macros and hopefully few prototypes,
31206 which can conflict with char $ac_func (); below.
31207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31208 <limits.h> exists even on freestanding compilers. */
31210 #ifdef __STDC__
31211 # include <limits.h>
31212 #else
31213 # include <assert.h>
31214 #endif
31216 #undef $ac_func
31218 /* Override any gcc2 internal prototype to avoid an error. */
31219 #ifdef __cplusplus
31220 extern "C"
31222 #endif
31223 /* We use char because int might match the return type of a gcc2
31224 builtin and then its argument prototype would still apply. */
31225 char $ac_func ();
31226 /* The GNU C library defines this for functions which it implements
31227 to always fail with ENOSYS. Some functions are actually named
31228 something starting with __ and the normal name is an alias. */
31229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31230 choke me
31231 #else
31232 char (*f) () = $ac_func;
31233 #endif
31234 #ifdef __cplusplus
31236 #endif
31239 main ()
31241 return f != $ac_func;
31243 return 0;
31245 _ACEOF
31246 rm -f conftest.$ac_objext conftest$ac_exeext
31247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31248 (eval $ac_link) 2>conftest.er1
31249 ac_status=$?
31250 grep -v '^ *+' conftest.er1 >conftest.err
31251 rm -f conftest.er1
31252 cat conftest.err >&5
31253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31254 (exit $ac_status); } &&
31255 { ac_try='test -z "$ac_c_werror_flag"
31256 || test ! -s conftest.err'
31257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31258 (eval $ac_try) 2>&5
31259 ac_status=$?
31260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31261 (exit $ac_status); }; } &&
31262 { ac_try='test -s conftest$ac_exeext'
31263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31264 (eval $ac_try) 2>&5
31265 ac_status=$?
31266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31267 (exit $ac_status); }; }; then
31268 eval "$as_ac_var=yes"
31269 else
31270 echo "$as_me: failed program was:" >&5
31271 sed 's/^/| /' conftest.$ac_ext >&5
31273 eval "$as_ac_var=no"
31275 rm -f conftest.err conftest.$ac_objext \
31276 conftest$ac_exeext conftest.$ac_ext
31278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31280 if test `eval echo '${'$as_ac_var'}'` = yes; then
31281 cat >>confdefs.h <<_ACEOF
31282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31283 _ACEOF
31286 done
31288 else
31290 echo "$as_me:$LINENO: checking for _expl declaration" >&5
31291 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
31292 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31293 if test "${glibcxx_cv_func__expl_use+set}" = set; then
31294 echo $ECHO_N "(cached) $ECHO_C" >&6
31295 else
31299 ac_ext=cc
31300 ac_cpp='$CXXCPP $CPPFLAGS'
31301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31305 cat >conftest.$ac_ext <<_ACEOF
31306 /* confdefs.h. */
31307 _ACEOF
31308 cat confdefs.h >>conftest.$ac_ext
31309 cat >>conftest.$ac_ext <<_ACEOF
31310 /* end confdefs.h. */
31311 #include <math.h>
31312 #ifdef HAVE_IEEEFP_H
31313 #include <ieeefp.h>
31314 #endif
31317 main ()
31319 _expl(0);
31321 return 0;
31323 _ACEOF
31324 rm -f conftest.$ac_objext
31325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31326 (eval $ac_compile) 2>conftest.er1
31327 ac_status=$?
31328 grep -v '^ *+' conftest.er1 >conftest.err
31329 rm -f conftest.er1
31330 cat conftest.err >&5
31331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31332 (exit $ac_status); } &&
31333 { ac_try='test -z "$ac_cxx_werror_flag"
31334 || test ! -s conftest.err'
31335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31336 (eval $ac_try) 2>&5
31337 ac_status=$?
31338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31339 (exit $ac_status); }; } &&
31340 { ac_try='test -s conftest.$ac_objext'
31341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31342 (eval $ac_try) 2>&5
31343 ac_status=$?
31344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31345 (exit $ac_status); }; }; then
31346 glibcxx_cv_func__expl_use=yes
31347 else
31348 echo "$as_me: failed program was:" >&5
31349 sed 's/^/| /' conftest.$ac_ext >&5
31351 glibcxx_cv_func__expl_use=no
31353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31354 ac_ext=c
31355 ac_cpp='$CPP $CPPFLAGS'
31356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31364 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
31365 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
31367 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31369 for ac_func in _expl
31371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31372 echo "$as_me:$LINENO: checking for $ac_func" >&5
31373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31374 if eval "test \"\${$as_ac_var+set}\" = set"; then
31375 echo $ECHO_N "(cached) $ECHO_C" >&6
31376 else
31377 if test x$gcc_no_link = xyes; then
31378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31380 { (exit 1); exit 1; }; }
31382 cat >conftest.$ac_ext <<_ACEOF
31383 /* confdefs.h. */
31384 _ACEOF
31385 cat confdefs.h >>conftest.$ac_ext
31386 cat >>conftest.$ac_ext <<_ACEOF
31387 /* end confdefs.h. */
31388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31390 #define $ac_func innocuous_$ac_func
31392 /* System header to define __stub macros and hopefully few prototypes,
31393 which can conflict with char $ac_func (); below.
31394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31395 <limits.h> exists even on freestanding compilers. */
31397 #ifdef __STDC__
31398 # include <limits.h>
31399 #else
31400 # include <assert.h>
31401 #endif
31403 #undef $ac_func
31405 /* Override any gcc2 internal prototype to avoid an error. */
31406 #ifdef __cplusplus
31407 extern "C"
31409 #endif
31410 /* We use char because int might match the return type of a gcc2
31411 builtin and then its argument prototype would still apply. */
31412 char $ac_func ();
31413 /* The GNU C library defines this for functions which it implements
31414 to always fail with ENOSYS. Some functions are actually named
31415 something starting with __ and the normal name is an alias. */
31416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31417 choke me
31418 #else
31419 char (*f) () = $ac_func;
31420 #endif
31421 #ifdef __cplusplus
31423 #endif
31426 main ()
31428 return f != $ac_func;
31430 return 0;
31432 _ACEOF
31433 rm -f conftest.$ac_objext conftest$ac_exeext
31434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31435 (eval $ac_link) 2>conftest.er1
31436 ac_status=$?
31437 grep -v '^ *+' conftest.er1 >conftest.err
31438 rm -f conftest.er1
31439 cat conftest.err >&5
31440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31441 (exit $ac_status); } &&
31442 { ac_try='test -z "$ac_c_werror_flag"
31443 || test ! -s conftest.err'
31444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31445 (eval $ac_try) 2>&5
31446 ac_status=$?
31447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31448 (exit $ac_status); }; } &&
31449 { ac_try='test -s conftest$ac_exeext'
31450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31451 (eval $ac_try) 2>&5
31452 ac_status=$?
31453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31454 (exit $ac_status); }; }; then
31455 eval "$as_ac_var=yes"
31456 else
31457 echo "$as_me: failed program was:" >&5
31458 sed 's/^/| /' conftest.$ac_ext >&5
31460 eval "$as_ac_var=no"
31462 rm -f conftest.err conftest.$ac_objext \
31463 conftest$ac_exeext conftest.$ac_ext
31465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31467 if test `eval echo '${'$as_ac_var'}'` = yes; then
31468 cat >>confdefs.h <<_ACEOF
31469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31470 _ACEOF
31473 done
31483 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
31484 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
31485 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31486 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
31487 echo $ECHO_N "(cached) $ECHO_C" >&6
31488 else
31492 ac_ext=cc
31493 ac_cpp='$CXXCPP $CPPFLAGS'
31494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31498 cat >conftest.$ac_ext <<_ACEOF
31499 /* confdefs.h. */
31500 _ACEOF
31501 cat confdefs.h >>conftest.$ac_ext
31502 cat >>conftest.$ac_ext <<_ACEOF
31503 /* end confdefs.h. */
31504 #include <math.h>
31505 #ifdef HAVE_IEEEFP_H
31506 #include <ieeefp.h>
31507 #endif
31510 main ()
31512 fabsl(0);
31514 return 0;
31516 _ACEOF
31517 rm -f conftest.$ac_objext
31518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31519 (eval $ac_compile) 2>conftest.er1
31520 ac_status=$?
31521 grep -v '^ *+' conftest.er1 >conftest.err
31522 rm -f conftest.er1
31523 cat conftest.err >&5
31524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31525 (exit $ac_status); } &&
31526 { ac_try='test -z "$ac_cxx_werror_flag"
31527 || test ! -s conftest.err'
31528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31529 (eval $ac_try) 2>&5
31530 ac_status=$?
31531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31532 (exit $ac_status); }; } &&
31533 { ac_try='test -s conftest.$ac_objext'
31534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31535 (eval $ac_try) 2>&5
31536 ac_status=$?
31537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31538 (exit $ac_status); }; }; then
31539 glibcxx_cv_func_fabsl_use=yes
31540 else
31541 echo "$as_me: failed program was:" >&5
31542 sed 's/^/| /' conftest.$ac_ext >&5
31544 glibcxx_cv_func_fabsl_use=no
31546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31547 ac_ext=c
31548 ac_cpp='$CPP $CPPFLAGS'
31549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31557 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
31558 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
31560 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31562 for ac_func in fabsl
31564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31565 echo "$as_me:$LINENO: checking for $ac_func" >&5
31566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31567 if eval "test \"\${$as_ac_var+set}\" = set"; then
31568 echo $ECHO_N "(cached) $ECHO_C" >&6
31569 else
31570 if test x$gcc_no_link = xyes; then
31571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31573 { (exit 1); exit 1; }; }
31575 cat >conftest.$ac_ext <<_ACEOF
31576 /* confdefs.h. */
31577 _ACEOF
31578 cat confdefs.h >>conftest.$ac_ext
31579 cat >>conftest.$ac_ext <<_ACEOF
31580 /* end confdefs.h. */
31581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31583 #define $ac_func innocuous_$ac_func
31585 /* System header to define __stub macros and hopefully few prototypes,
31586 which can conflict with char $ac_func (); below.
31587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31588 <limits.h> exists even on freestanding compilers. */
31590 #ifdef __STDC__
31591 # include <limits.h>
31592 #else
31593 # include <assert.h>
31594 #endif
31596 #undef $ac_func
31598 /* Override any gcc2 internal prototype to avoid an error. */
31599 #ifdef __cplusplus
31600 extern "C"
31602 #endif
31603 /* We use char because int might match the return type of a gcc2
31604 builtin and then its argument prototype would still apply. */
31605 char $ac_func ();
31606 /* The GNU C library defines this for functions which it implements
31607 to always fail with ENOSYS. Some functions are actually named
31608 something starting with __ and the normal name is an alias. */
31609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31610 choke me
31611 #else
31612 char (*f) () = $ac_func;
31613 #endif
31614 #ifdef __cplusplus
31616 #endif
31619 main ()
31621 return f != $ac_func;
31623 return 0;
31625 _ACEOF
31626 rm -f conftest.$ac_objext conftest$ac_exeext
31627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31628 (eval $ac_link) 2>conftest.er1
31629 ac_status=$?
31630 grep -v '^ *+' conftest.er1 >conftest.err
31631 rm -f conftest.er1
31632 cat conftest.err >&5
31633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31634 (exit $ac_status); } &&
31635 { ac_try='test -z "$ac_c_werror_flag"
31636 || test ! -s conftest.err'
31637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31638 (eval $ac_try) 2>&5
31639 ac_status=$?
31640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31641 (exit $ac_status); }; } &&
31642 { ac_try='test -s conftest$ac_exeext'
31643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31644 (eval $ac_try) 2>&5
31645 ac_status=$?
31646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31647 (exit $ac_status); }; }; then
31648 eval "$as_ac_var=yes"
31649 else
31650 echo "$as_me: failed program was:" >&5
31651 sed 's/^/| /' conftest.$ac_ext >&5
31653 eval "$as_ac_var=no"
31655 rm -f conftest.err conftest.$ac_objext \
31656 conftest$ac_exeext conftest.$ac_ext
31658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31660 if test `eval echo '${'$as_ac_var'}'` = yes; then
31661 cat >>confdefs.h <<_ACEOF
31662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31663 _ACEOF
31666 done
31668 else
31670 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
31671 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
31672 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31673 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
31674 echo $ECHO_N "(cached) $ECHO_C" >&6
31675 else
31679 ac_ext=cc
31680 ac_cpp='$CXXCPP $CPPFLAGS'
31681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31685 cat >conftest.$ac_ext <<_ACEOF
31686 /* confdefs.h. */
31687 _ACEOF
31688 cat confdefs.h >>conftest.$ac_ext
31689 cat >>conftest.$ac_ext <<_ACEOF
31690 /* end confdefs.h. */
31691 #include <math.h>
31692 #ifdef HAVE_IEEEFP_H
31693 #include <ieeefp.h>
31694 #endif
31697 main ()
31699 _fabsl(0);
31701 return 0;
31703 _ACEOF
31704 rm -f conftest.$ac_objext
31705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31706 (eval $ac_compile) 2>conftest.er1
31707 ac_status=$?
31708 grep -v '^ *+' conftest.er1 >conftest.err
31709 rm -f conftest.er1
31710 cat conftest.err >&5
31711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31712 (exit $ac_status); } &&
31713 { ac_try='test -z "$ac_cxx_werror_flag"
31714 || test ! -s conftest.err'
31715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31716 (eval $ac_try) 2>&5
31717 ac_status=$?
31718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31719 (exit $ac_status); }; } &&
31720 { ac_try='test -s conftest.$ac_objext'
31721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31722 (eval $ac_try) 2>&5
31723 ac_status=$?
31724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31725 (exit $ac_status); }; }; then
31726 glibcxx_cv_func__fabsl_use=yes
31727 else
31728 echo "$as_me: failed program was:" >&5
31729 sed 's/^/| /' conftest.$ac_ext >&5
31731 glibcxx_cv_func__fabsl_use=no
31733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31734 ac_ext=c
31735 ac_cpp='$CPP $CPPFLAGS'
31736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31744 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
31745 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
31747 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31749 for ac_func in _fabsl
31751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31752 echo "$as_me:$LINENO: checking for $ac_func" >&5
31753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31754 if eval "test \"\${$as_ac_var+set}\" = set"; then
31755 echo $ECHO_N "(cached) $ECHO_C" >&6
31756 else
31757 if test x$gcc_no_link = xyes; then
31758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31760 { (exit 1); exit 1; }; }
31762 cat >conftest.$ac_ext <<_ACEOF
31763 /* confdefs.h. */
31764 _ACEOF
31765 cat confdefs.h >>conftest.$ac_ext
31766 cat >>conftest.$ac_ext <<_ACEOF
31767 /* end confdefs.h. */
31768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31770 #define $ac_func innocuous_$ac_func
31772 /* System header to define __stub macros and hopefully few prototypes,
31773 which can conflict with char $ac_func (); below.
31774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31775 <limits.h> exists even on freestanding compilers. */
31777 #ifdef __STDC__
31778 # include <limits.h>
31779 #else
31780 # include <assert.h>
31781 #endif
31783 #undef $ac_func
31785 /* Override any gcc2 internal prototype to avoid an error. */
31786 #ifdef __cplusplus
31787 extern "C"
31789 #endif
31790 /* We use char because int might match the return type of a gcc2
31791 builtin and then its argument prototype would still apply. */
31792 char $ac_func ();
31793 /* The GNU C library defines this for functions which it implements
31794 to always fail with ENOSYS. Some functions are actually named
31795 something starting with __ and the normal name is an alias. */
31796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31797 choke me
31798 #else
31799 char (*f) () = $ac_func;
31800 #endif
31801 #ifdef __cplusplus
31803 #endif
31806 main ()
31808 return f != $ac_func;
31810 return 0;
31812 _ACEOF
31813 rm -f conftest.$ac_objext conftest$ac_exeext
31814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31815 (eval $ac_link) 2>conftest.er1
31816 ac_status=$?
31817 grep -v '^ *+' conftest.er1 >conftest.err
31818 rm -f conftest.er1
31819 cat conftest.err >&5
31820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31821 (exit $ac_status); } &&
31822 { ac_try='test -z "$ac_c_werror_flag"
31823 || test ! -s conftest.err'
31824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31825 (eval $ac_try) 2>&5
31826 ac_status=$?
31827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828 (exit $ac_status); }; } &&
31829 { ac_try='test -s conftest$ac_exeext'
31830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31831 (eval $ac_try) 2>&5
31832 ac_status=$?
31833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31834 (exit $ac_status); }; }; then
31835 eval "$as_ac_var=yes"
31836 else
31837 echo "$as_me: failed program was:" >&5
31838 sed 's/^/| /' conftest.$ac_ext >&5
31840 eval "$as_ac_var=no"
31842 rm -f conftest.err conftest.$ac_objext \
31843 conftest$ac_exeext conftest.$ac_ext
31845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31847 if test `eval echo '${'$as_ac_var'}'` = yes; then
31848 cat >>confdefs.h <<_ACEOF
31849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31850 _ACEOF
31853 done
31863 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
31864 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
31865 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31866 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
31867 echo $ECHO_N "(cached) $ECHO_C" >&6
31868 else
31872 ac_ext=cc
31873 ac_cpp='$CXXCPP $CPPFLAGS'
31874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31878 cat >conftest.$ac_ext <<_ACEOF
31879 /* confdefs.h. */
31880 _ACEOF
31881 cat confdefs.h >>conftest.$ac_ext
31882 cat >>conftest.$ac_ext <<_ACEOF
31883 /* end confdefs.h. */
31884 #include <math.h>
31886 main ()
31888 fmodl(0, 0);
31890 return 0;
31892 _ACEOF
31893 rm -f conftest.$ac_objext
31894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31895 (eval $ac_compile) 2>conftest.er1
31896 ac_status=$?
31897 grep -v '^ *+' conftest.er1 >conftest.err
31898 rm -f conftest.er1
31899 cat conftest.err >&5
31900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31901 (exit $ac_status); } &&
31902 { ac_try='test -z "$ac_cxx_werror_flag"
31903 || test ! -s conftest.err'
31904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31905 (eval $ac_try) 2>&5
31906 ac_status=$?
31907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31908 (exit $ac_status); }; } &&
31909 { ac_try='test -s conftest.$ac_objext'
31910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31911 (eval $ac_try) 2>&5
31912 ac_status=$?
31913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31914 (exit $ac_status); }; }; then
31915 glibcxx_cv_func_fmodl_use=yes
31916 else
31917 echo "$as_me: failed program was:" >&5
31918 sed 's/^/| /' conftest.$ac_ext >&5
31920 glibcxx_cv_func_fmodl_use=no
31922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31923 ac_ext=c
31924 ac_cpp='$CPP $CPPFLAGS'
31925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31933 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
31934 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
31936 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31938 for ac_func in fmodl
31940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31941 echo "$as_me:$LINENO: checking for $ac_func" >&5
31942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31943 if eval "test \"\${$as_ac_var+set}\" = set"; then
31944 echo $ECHO_N "(cached) $ECHO_C" >&6
31945 else
31946 if test x$gcc_no_link = xyes; then
31947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31949 { (exit 1); exit 1; }; }
31951 cat >conftest.$ac_ext <<_ACEOF
31952 /* confdefs.h. */
31953 _ACEOF
31954 cat confdefs.h >>conftest.$ac_ext
31955 cat >>conftest.$ac_ext <<_ACEOF
31956 /* end confdefs.h. */
31957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31959 #define $ac_func innocuous_$ac_func
31961 /* System header to define __stub macros and hopefully few prototypes,
31962 which can conflict with char $ac_func (); below.
31963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31964 <limits.h> exists even on freestanding compilers. */
31966 #ifdef __STDC__
31967 # include <limits.h>
31968 #else
31969 # include <assert.h>
31970 #endif
31972 #undef $ac_func
31974 /* Override any gcc2 internal prototype to avoid an error. */
31975 #ifdef __cplusplus
31976 extern "C"
31978 #endif
31979 /* We use char because int might match the return type of a gcc2
31980 builtin and then its argument prototype would still apply. */
31981 char $ac_func ();
31982 /* The GNU C library defines this for functions which it implements
31983 to always fail with ENOSYS. Some functions are actually named
31984 something starting with __ and the normal name is an alias. */
31985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31986 choke me
31987 #else
31988 char (*f) () = $ac_func;
31989 #endif
31990 #ifdef __cplusplus
31992 #endif
31995 main ()
31997 return f != $ac_func;
31999 return 0;
32001 _ACEOF
32002 rm -f conftest.$ac_objext conftest$ac_exeext
32003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32004 (eval $ac_link) 2>conftest.er1
32005 ac_status=$?
32006 grep -v '^ *+' conftest.er1 >conftest.err
32007 rm -f conftest.er1
32008 cat conftest.err >&5
32009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32010 (exit $ac_status); } &&
32011 { ac_try='test -z "$ac_c_werror_flag"
32012 || test ! -s conftest.err'
32013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32014 (eval $ac_try) 2>&5
32015 ac_status=$?
32016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32017 (exit $ac_status); }; } &&
32018 { ac_try='test -s conftest$ac_exeext'
32019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32020 (eval $ac_try) 2>&5
32021 ac_status=$?
32022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32023 (exit $ac_status); }; }; then
32024 eval "$as_ac_var=yes"
32025 else
32026 echo "$as_me: failed program was:" >&5
32027 sed 's/^/| /' conftest.$ac_ext >&5
32029 eval "$as_ac_var=no"
32031 rm -f conftest.err conftest.$ac_objext \
32032 conftest$ac_exeext conftest.$ac_ext
32034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32036 if test `eval echo '${'$as_ac_var'}'` = yes; then
32037 cat >>confdefs.h <<_ACEOF
32038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32039 _ACEOF
32042 done
32044 else
32046 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
32047 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
32048 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32049 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
32050 echo $ECHO_N "(cached) $ECHO_C" >&6
32051 else
32055 ac_ext=cc
32056 ac_cpp='$CXXCPP $CPPFLAGS'
32057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32061 cat >conftest.$ac_ext <<_ACEOF
32062 /* confdefs.h. */
32063 _ACEOF
32064 cat confdefs.h >>conftest.$ac_ext
32065 cat >>conftest.$ac_ext <<_ACEOF
32066 /* end confdefs.h. */
32067 #include <math.h>
32069 main ()
32071 _fmodl(0, 0);
32073 return 0;
32075 _ACEOF
32076 rm -f conftest.$ac_objext
32077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32078 (eval $ac_compile) 2>conftest.er1
32079 ac_status=$?
32080 grep -v '^ *+' conftest.er1 >conftest.err
32081 rm -f conftest.er1
32082 cat conftest.err >&5
32083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32084 (exit $ac_status); } &&
32085 { ac_try='test -z "$ac_cxx_werror_flag"
32086 || test ! -s conftest.err'
32087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32088 (eval $ac_try) 2>&5
32089 ac_status=$?
32090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32091 (exit $ac_status); }; } &&
32092 { ac_try='test -s conftest.$ac_objext'
32093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32094 (eval $ac_try) 2>&5
32095 ac_status=$?
32096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32097 (exit $ac_status); }; }; then
32098 glibcxx_cv_func__fmodl_use=yes
32099 else
32100 echo "$as_me: failed program was:" >&5
32101 sed 's/^/| /' conftest.$ac_ext >&5
32103 glibcxx_cv_func__fmodl_use=no
32105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32106 ac_ext=c
32107 ac_cpp='$CPP $CPPFLAGS'
32108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32116 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
32117 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
32119 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32121 for ac_func in _fmodl
32123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32124 echo "$as_me:$LINENO: checking for $ac_func" >&5
32125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32126 if eval "test \"\${$as_ac_var+set}\" = set"; then
32127 echo $ECHO_N "(cached) $ECHO_C" >&6
32128 else
32129 if test x$gcc_no_link = xyes; then
32130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32132 { (exit 1); exit 1; }; }
32134 cat >conftest.$ac_ext <<_ACEOF
32135 /* confdefs.h. */
32136 _ACEOF
32137 cat confdefs.h >>conftest.$ac_ext
32138 cat >>conftest.$ac_ext <<_ACEOF
32139 /* end confdefs.h. */
32140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32142 #define $ac_func innocuous_$ac_func
32144 /* System header to define __stub macros and hopefully few prototypes,
32145 which can conflict with char $ac_func (); below.
32146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32147 <limits.h> exists even on freestanding compilers. */
32149 #ifdef __STDC__
32150 # include <limits.h>
32151 #else
32152 # include <assert.h>
32153 #endif
32155 #undef $ac_func
32157 /* Override any gcc2 internal prototype to avoid an error. */
32158 #ifdef __cplusplus
32159 extern "C"
32161 #endif
32162 /* We use char because int might match the return type of a gcc2
32163 builtin and then its argument prototype would still apply. */
32164 char $ac_func ();
32165 /* The GNU C library defines this for functions which it implements
32166 to always fail with ENOSYS. Some functions are actually named
32167 something starting with __ and the normal name is an alias. */
32168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32169 choke me
32170 #else
32171 char (*f) () = $ac_func;
32172 #endif
32173 #ifdef __cplusplus
32175 #endif
32178 main ()
32180 return f != $ac_func;
32182 return 0;
32184 _ACEOF
32185 rm -f conftest.$ac_objext conftest$ac_exeext
32186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32187 (eval $ac_link) 2>conftest.er1
32188 ac_status=$?
32189 grep -v '^ *+' conftest.er1 >conftest.err
32190 rm -f conftest.er1
32191 cat conftest.err >&5
32192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32193 (exit $ac_status); } &&
32194 { ac_try='test -z "$ac_c_werror_flag"
32195 || test ! -s conftest.err'
32196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32197 (eval $ac_try) 2>&5
32198 ac_status=$?
32199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32200 (exit $ac_status); }; } &&
32201 { ac_try='test -s conftest$ac_exeext'
32202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32203 (eval $ac_try) 2>&5
32204 ac_status=$?
32205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32206 (exit $ac_status); }; }; then
32207 eval "$as_ac_var=yes"
32208 else
32209 echo "$as_me: failed program was:" >&5
32210 sed 's/^/| /' conftest.$ac_ext >&5
32212 eval "$as_ac_var=no"
32214 rm -f conftest.err conftest.$ac_objext \
32215 conftest$ac_exeext conftest.$ac_ext
32217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32219 if test `eval echo '${'$as_ac_var'}'` = yes; then
32220 cat >>confdefs.h <<_ACEOF
32221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32222 _ACEOF
32225 done
32235 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
32236 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
32237 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32238 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
32239 echo $ECHO_N "(cached) $ECHO_C" >&6
32240 else
32244 ac_ext=cc
32245 ac_cpp='$CXXCPP $CPPFLAGS'
32246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32250 cat >conftest.$ac_ext <<_ACEOF
32251 /* confdefs.h. */
32252 _ACEOF
32253 cat confdefs.h >>conftest.$ac_ext
32254 cat >>conftest.$ac_ext <<_ACEOF
32255 /* end confdefs.h. */
32256 #include <math.h>
32258 main ()
32260 frexpl(0, 0);
32262 return 0;
32264 _ACEOF
32265 rm -f conftest.$ac_objext
32266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32267 (eval $ac_compile) 2>conftest.er1
32268 ac_status=$?
32269 grep -v '^ *+' conftest.er1 >conftest.err
32270 rm -f conftest.er1
32271 cat conftest.err >&5
32272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32273 (exit $ac_status); } &&
32274 { ac_try='test -z "$ac_cxx_werror_flag"
32275 || test ! -s conftest.err'
32276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32277 (eval $ac_try) 2>&5
32278 ac_status=$?
32279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32280 (exit $ac_status); }; } &&
32281 { ac_try='test -s conftest.$ac_objext'
32282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32283 (eval $ac_try) 2>&5
32284 ac_status=$?
32285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32286 (exit $ac_status); }; }; then
32287 glibcxx_cv_func_frexpl_use=yes
32288 else
32289 echo "$as_me: failed program was:" >&5
32290 sed 's/^/| /' conftest.$ac_ext >&5
32292 glibcxx_cv_func_frexpl_use=no
32294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32295 ac_ext=c
32296 ac_cpp='$CPP $CPPFLAGS'
32297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32305 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
32306 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
32308 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32310 for ac_func in frexpl
32312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32313 echo "$as_me:$LINENO: checking for $ac_func" >&5
32314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32315 if eval "test \"\${$as_ac_var+set}\" = set"; then
32316 echo $ECHO_N "(cached) $ECHO_C" >&6
32317 else
32318 if test x$gcc_no_link = xyes; then
32319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32321 { (exit 1); exit 1; }; }
32323 cat >conftest.$ac_ext <<_ACEOF
32324 /* confdefs.h. */
32325 _ACEOF
32326 cat confdefs.h >>conftest.$ac_ext
32327 cat >>conftest.$ac_ext <<_ACEOF
32328 /* end confdefs.h. */
32329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32331 #define $ac_func innocuous_$ac_func
32333 /* System header to define __stub macros and hopefully few prototypes,
32334 which can conflict with char $ac_func (); below.
32335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32336 <limits.h> exists even on freestanding compilers. */
32338 #ifdef __STDC__
32339 # include <limits.h>
32340 #else
32341 # include <assert.h>
32342 #endif
32344 #undef $ac_func
32346 /* Override any gcc2 internal prototype to avoid an error. */
32347 #ifdef __cplusplus
32348 extern "C"
32350 #endif
32351 /* We use char because int might match the return type of a gcc2
32352 builtin and then its argument prototype would still apply. */
32353 char $ac_func ();
32354 /* The GNU C library defines this for functions which it implements
32355 to always fail with ENOSYS. Some functions are actually named
32356 something starting with __ and the normal name is an alias. */
32357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32358 choke me
32359 #else
32360 char (*f) () = $ac_func;
32361 #endif
32362 #ifdef __cplusplus
32364 #endif
32367 main ()
32369 return f != $ac_func;
32371 return 0;
32373 _ACEOF
32374 rm -f conftest.$ac_objext conftest$ac_exeext
32375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32376 (eval $ac_link) 2>conftest.er1
32377 ac_status=$?
32378 grep -v '^ *+' conftest.er1 >conftest.err
32379 rm -f conftest.er1
32380 cat conftest.err >&5
32381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32382 (exit $ac_status); } &&
32383 { ac_try='test -z "$ac_c_werror_flag"
32384 || test ! -s conftest.err'
32385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32386 (eval $ac_try) 2>&5
32387 ac_status=$?
32388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32389 (exit $ac_status); }; } &&
32390 { ac_try='test -s conftest$ac_exeext'
32391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32392 (eval $ac_try) 2>&5
32393 ac_status=$?
32394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32395 (exit $ac_status); }; }; then
32396 eval "$as_ac_var=yes"
32397 else
32398 echo "$as_me: failed program was:" >&5
32399 sed 's/^/| /' conftest.$ac_ext >&5
32401 eval "$as_ac_var=no"
32403 rm -f conftest.err conftest.$ac_objext \
32404 conftest$ac_exeext conftest.$ac_ext
32406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32408 if test `eval echo '${'$as_ac_var'}'` = yes; then
32409 cat >>confdefs.h <<_ACEOF
32410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32411 _ACEOF
32414 done
32416 else
32418 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
32419 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
32420 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32421 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
32422 echo $ECHO_N "(cached) $ECHO_C" >&6
32423 else
32427 ac_ext=cc
32428 ac_cpp='$CXXCPP $CPPFLAGS'
32429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32433 cat >conftest.$ac_ext <<_ACEOF
32434 /* confdefs.h. */
32435 _ACEOF
32436 cat confdefs.h >>conftest.$ac_ext
32437 cat >>conftest.$ac_ext <<_ACEOF
32438 /* end confdefs.h. */
32439 #include <math.h>
32441 main ()
32443 _frexpl(0, 0);
32445 return 0;
32447 _ACEOF
32448 rm -f conftest.$ac_objext
32449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32450 (eval $ac_compile) 2>conftest.er1
32451 ac_status=$?
32452 grep -v '^ *+' conftest.er1 >conftest.err
32453 rm -f conftest.er1
32454 cat conftest.err >&5
32455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32456 (exit $ac_status); } &&
32457 { ac_try='test -z "$ac_cxx_werror_flag"
32458 || test ! -s conftest.err'
32459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32460 (eval $ac_try) 2>&5
32461 ac_status=$?
32462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32463 (exit $ac_status); }; } &&
32464 { ac_try='test -s conftest.$ac_objext'
32465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32466 (eval $ac_try) 2>&5
32467 ac_status=$?
32468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32469 (exit $ac_status); }; }; then
32470 glibcxx_cv_func__frexpl_use=yes
32471 else
32472 echo "$as_me: failed program was:" >&5
32473 sed 's/^/| /' conftest.$ac_ext >&5
32475 glibcxx_cv_func__frexpl_use=no
32477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32478 ac_ext=c
32479 ac_cpp='$CPP $CPPFLAGS'
32480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32488 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
32489 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
32491 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32493 for ac_func in _frexpl
32495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32496 echo "$as_me:$LINENO: checking for $ac_func" >&5
32497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32498 if eval "test \"\${$as_ac_var+set}\" = set"; then
32499 echo $ECHO_N "(cached) $ECHO_C" >&6
32500 else
32501 if test x$gcc_no_link = xyes; then
32502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32504 { (exit 1); exit 1; }; }
32506 cat >conftest.$ac_ext <<_ACEOF
32507 /* confdefs.h. */
32508 _ACEOF
32509 cat confdefs.h >>conftest.$ac_ext
32510 cat >>conftest.$ac_ext <<_ACEOF
32511 /* end confdefs.h. */
32512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32514 #define $ac_func innocuous_$ac_func
32516 /* System header to define __stub macros and hopefully few prototypes,
32517 which can conflict with char $ac_func (); below.
32518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32519 <limits.h> exists even on freestanding compilers. */
32521 #ifdef __STDC__
32522 # include <limits.h>
32523 #else
32524 # include <assert.h>
32525 #endif
32527 #undef $ac_func
32529 /* Override any gcc2 internal prototype to avoid an error. */
32530 #ifdef __cplusplus
32531 extern "C"
32533 #endif
32534 /* We use char because int might match the return type of a gcc2
32535 builtin and then its argument prototype would still apply. */
32536 char $ac_func ();
32537 /* The GNU C library defines this for functions which it implements
32538 to always fail with ENOSYS. Some functions are actually named
32539 something starting with __ and the normal name is an alias. */
32540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32541 choke me
32542 #else
32543 char (*f) () = $ac_func;
32544 #endif
32545 #ifdef __cplusplus
32547 #endif
32550 main ()
32552 return f != $ac_func;
32554 return 0;
32556 _ACEOF
32557 rm -f conftest.$ac_objext conftest$ac_exeext
32558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32559 (eval $ac_link) 2>conftest.er1
32560 ac_status=$?
32561 grep -v '^ *+' conftest.er1 >conftest.err
32562 rm -f conftest.er1
32563 cat conftest.err >&5
32564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565 (exit $ac_status); } &&
32566 { ac_try='test -z "$ac_c_werror_flag"
32567 || test ! -s conftest.err'
32568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32569 (eval $ac_try) 2>&5
32570 ac_status=$?
32571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32572 (exit $ac_status); }; } &&
32573 { ac_try='test -s conftest$ac_exeext'
32574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32575 (eval $ac_try) 2>&5
32576 ac_status=$?
32577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32578 (exit $ac_status); }; }; then
32579 eval "$as_ac_var=yes"
32580 else
32581 echo "$as_me: failed program was:" >&5
32582 sed 's/^/| /' conftest.$ac_ext >&5
32584 eval "$as_ac_var=no"
32586 rm -f conftest.err conftest.$ac_objext \
32587 conftest$ac_exeext conftest.$ac_ext
32589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32591 if test `eval echo '${'$as_ac_var'}'` = yes; then
32592 cat >>confdefs.h <<_ACEOF
32593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32594 _ACEOF
32597 done
32607 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
32608 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
32609 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32610 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
32611 echo $ECHO_N "(cached) $ECHO_C" >&6
32612 else
32616 ac_ext=cc
32617 ac_cpp='$CXXCPP $CPPFLAGS'
32618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32622 cat >conftest.$ac_ext <<_ACEOF
32623 /* confdefs.h. */
32624 _ACEOF
32625 cat confdefs.h >>conftest.$ac_ext
32626 cat >>conftest.$ac_ext <<_ACEOF
32627 /* end confdefs.h. */
32628 #include <math.h>
32630 main ()
32632 hypotl(0, 0);
32634 return 0;
32636 _ACEOF
32637 rm -f conftest.$ac_objext
32638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32639 (eval $ac_compile) 2>conftest.er1
32640 ac_status=$?
32641 grep -v '^ *+' conftest.er1 >conftest.err
32642 rm -f conftest.er1
32643 cat conftest.err >&5
32644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32645 (exit $ac_status); } &&
32646 { ac_try='test -z "$ac_cxx_werror_flag"
32647 || test ! -s conftest.err'
32648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32649 (eval $ac_try) 2>&5
32650 ac_status=$?
32651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32652 (exit $ac_status); }; } &&
32653 { ac_try='test -s conftest.$ac_objext'
32654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32655 (eval $ac_try) 2>&5
32656 ac_status=$?
32657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32658 (exit $ac_status); }; }; then
32659 glibcxx_cv_func_hypotl_use=yes
32660 else
32661 echo "$as_me: failed program was:" >&5
32662 sed 's/^/| /' conftest.$ac_ext >&5
32664 glibcxx_cv_func_hypotl_use=no
32666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32667 ac_ext=c
32668 ac_cpp='$CPP $CPPFLAGS'
32669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32677 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
32678 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
32680 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32682 for ac_func in hypotl
32684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32685 echo "$as_me:$LINENO: checking for $ac_func" >&5
32686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32687 if eval "test \"\${$as_ac_var+set}\" = set"; then
32688 echo $ECHO_N "(cached) $ECHO_C" >&6
32689 else
32690 if test x$gcc_no_link = xyes; then
32691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32693 { (exit 1); exit 1; }; }
32695 cat >conftest.$ac_ext <<_ACEOF
32696 /* confdefs.h. */
32697 _ACEOF
32698 cat confdefs.h >>conftest.$ac_ext
32699 cat >>conftest.$ac_ext <<_ACEOF
32700 /* end confdefs.h. */
32701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32703 #define $ac_func innocuous_$ac_func
32705 /* System header to define __stub macros and hopefully few prototypes,
32706 which can conflict with char $ac_func (); below.
32707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32708 <limits.h> exists even on freestanding compilers. */
32710 #ifdef __STDC__
32711 # include <limits.h>
32712 #else
32713 # include <assert.h>
32714 #endif
32716 #undef $ac_func
32718 /* Override any gcc2 internal prototype to avoid an error. */
32719 #ifdef __cplusplus
32720 extern "C"
32722 #endif
32723 /* We use char because int might match the return type of a gcc2
32724 builtin and then its argument prototype would still apply. */
32725 char $ac_func ();
32726 /* The GNU C library defines this for functions which it implements
32727 to always fail with ENOSYS. Some functions are actually named
32728 something starting with __ and the normal name is an alias. */
32729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32730 choke me
32731 #else
32732 char (*f) () = $ac_func;
32733 #endif
32734 #ifdef __cplusplus
32736 #endif
32739 main ()
32741 return f != $ac_func;
32743 return 0;
32745 _ACEOF
32746 rm -f conftest.$ac_objext conftest$ac_exeext
32747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32748 (eval $ac_link) 2>conftest.er1
32749 ac_status=$?
32750 grep -v '^ *+' conftest.er1 >conftest.err
32751 rm -f conftest.er1
32752 cat conftest.err >&5
32753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32754 (exit $ac_status); } &&
32755 { ac_try='test -z "$ac_c_werror_flag"
32756 || test ! -s conftest.err'
32757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32758 (eval $ac_try) 2>&5
32759 ac_status=$?
32760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32761 (exit $ac_status); }; } &&
32762 { ac_try='test -s conftest$ac_exeext'
32763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32764 (eval $ac_try) 2>&5
32765 ac_status=$?
32766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32767 (exit $ac_status); }; }; then
32768 eval "$as_ac_var=yes"
32769 else
32770 echo "$as_me: failed program was:" >&5
32771 sed 's/^/| /' conftest.$ac_ext >&5
32773 eval "$as_ac_var=no"
32775 rm -f conftest.err conftest.$ac_objext \
32776 conftest$ac_exeext conftest.$ac_ext
32778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32780 if test `eval echo '${'$as_ac_var'}'` = yes; then
32781 cat >>confdefs.h <<_ACEOF
32782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32783 _ACEOF
32786 done
32788 else
32790 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
32791 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
32792 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32793 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
32794 echo $ECHO_N "(cached) $ECHO_C" >&6
32795 else
32799 ac_ext=cc
32800 ac_cpp='$CXXCPP $CPPFLAGS'
32801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32805 cat >conftest.$ac_ext <<_ACEOF
32806 /* confdefs.h. */
32807 _ACEOF
32808 cat confdefs.h >>conftest.$ac_ext
32809 cat >>conftest.$ac_ext <<_ACEOF
32810 /* end confdefs.h. */
32811 #include <math.h>
32813 main ()
32815 _hypotl(0, 0);
32817 return 0;
32819 _ACEOF
32820 rm -f conftest.$ac_objext
32821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32822 (eval $ac_compile) 2>conftest.er1
32823 ac_status=$?
32824 grep -v '^ *+' conftest.er1 >conftest.err
32825 rm -f conftest.er1
32826 cat conftest.err >&5
32827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32828 (exit $ac_status); } &&
32829 { ac_try='test -z "$ac_cxx_werror_flag"
32830 || test ! -s conftest.err'
32831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32832 (eval $ac_try) 2>&5
32833 ac_status=$?
32834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32835 (exit $ac_status); }; } &&
32836 { ac_try='test -s conftest.$ac_objext'
32837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32838 (eval $ac_try) 2>&5
32839 ac_status=$?
32840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32841 (exit $ac_status); }; }; then
32842 glibcxx_cv_func__hypotl_use=yes
32843 else
32844 echo "$as_me: failed program was:" >&5
32845 sed 's/^/| /' conftest.$ac_ext >&5
32847 glibcxx_cv_func__hypotl_use=no
32849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32850 ac_ext=c
32851 ac_cpp='$CPP $CPPFLAGS'
32852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32860 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
32861 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
32863 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32865 for ac_func in _hypotl
32867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32868 echo "$as_me:$LINENO: checking for $ac_func" >&5
32869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32870 if eval "test \"\${$as_ac_var+set}\" = set"; then
32871 echo $ECHO_N "(cached) $ECHO_C" >&6
32872 else
32873 if test x$gcc_no_link = xyes; then
32874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32876 { (exit 1); exit 1; }; }
32878 cat >conftest.$ac_ext <<_ACEOF
32879 /* confdefs.h. */
32880 _ACEOF
32881 cat confdefs.h >>conftest.$ac_ext
32882 cat >>conftest.$ac_ext <<_ACEOF
32883 /* end confdefs.h. */
32884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32886 #define $ac_func innocuous_$ac_func
32888 /* System header to define __stub macros and hopefully few prototypes,
32889 which can conflict with char $ac_func (); below.
32890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32891 <limits.h> exists even on freestanding compilers. */
32893 #ifdef __STDC__
32894 # include <limits.h>
32895 #else
32896 # include <assert.h>
32897 #endif
32899 #undef $ac_func
32901 /* Override any gcc2 internal prototype to avoid an error. */
32902 #ifdef __cplusplus
32903 extern "C"
32905 #endif
32906 /* We use char because int might match the return type of a gcc2
32907 builtin and then its argument prototype would still apply. */
32908 char $ac_func ();
32909 /* The GNU C library defines this for functions which it implements
32910 to always fail with ENOSYS. Some functions are actually named
32911 something starting with __ and the normal name is an alias. */
32912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32913 choke me
32914 #else
32915 char (*f) () = $ac_func;
32916 #endif
32917 #ifdef __cplusplus
32919 #endif
32922 main ()
32924 return f != $ac_func;
32926 return 0;
32928 _ACEOF
32929 rm -f conftest.$ac_objext conftest$ac_exeext
32930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32931 (eval $ac_link) 2>conftest.er1
32932 ac_status=$?
32933 grep -v '^ *+' conftest.er1 >conftest.err
32934 rm -f conftest.er1
32935 cat conftest.err >&5
32936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32937 (exit $ac_status); } &&
32938 { ac_try='test -z "$ac_c_werror_flag"
32939 || test ! -s conftest.err'
32940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32941 (eval $ac_try) 2>&5
32942 ac_status=$?
32943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944 (exit $ac_status); }; } &&
32945 { ac_try='test -s conftest$ac_exeext'
32946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32947 (eval $ac_try) 2>&5
32948 ac_status=$?
32949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32950 (exit $ac_status); }; }; then
32951 eval "$as_ac_var=yes"
32952 else
32953 echo "$as_me: failed program was:" >&5
32954 sed 's/^/| /' conftest.$ac_ext >&5
32956 eval "$as_ac_var=no"
32958 rm -f conftest.err conftest.$ac_objext \
32959 conftest$ac_exeext conftest.$ac_ext
32961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32963 if test `eval echo '${'$as_ac_var'}'` = yes; then
32964 cat >>confdefs.h <<_ACEOF
32965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32966 _ACEOF
32969 done
32979 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
32980 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
32981 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32982 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
32983 echo $ECHO_N "(cached) $ECHO_C" >&6
32984 else
32988 ac_ext=cc
32989 ac_cpp='$CXXCPP $CPPFLAGS'
32990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32994 cat >conftest.$ac_ext <<_ACEOF
32995 /* confdefs.h. */
32996 _ACEOF
32997 cat confdefs.h >>conftest.$ac_ext
32998 cat >>conftest.$ac_ext <<_ACEOF
32999 /* end confdefs.h. */
33000 #include <math.h>
33002 main ()
33004 ldexpl(0, 0);
33006 return 0;
33008 _ACEOF
33009 rm -f conftest.$ac_objext
33010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33011 (eval $ac_compile) 2>conftest.er1
33012 ac_status=$?
33013 grep -v '^ *+' conftest.er1 >conftest.err
33014 rm -f conftest.er1
33015 cat conftest.err >&5
33016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33017 (exit $ac_status); } &&
33018 { ac_try='test -z "$ac_cxx_werror_flag"
33019 || test ! -s conftest.err'
33020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33021 (eval $ac_try) 2>&5
33022 ac_status=$?
33023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33024 (exit $ac_status); }; } &&
33025 { ac_try='test -s conftest.$ac_objext'
33026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33027 (eval $ac_try) 2>&5
33028 ac_status=$?
33029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33030 (exit $ac_status); }; }; then
33031 glibcxx_cv_func_ldexpl_use=yes
33032 else
33033 echo "$as_me: failed program was:" >&5
33034 sed 's/^/| /' conftest.$ac_ext >&5
33036 glibcxx_cv_func_ldexpl_use=no
33038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33039 ac_ext=c
33040 ac_cpp='$CPP $CPPFLAGS'
33041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33049 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
33050 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
33052 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33054 for ac_func in ldexpl
33056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33057 echo "$as_me:$LINENO: checking for $ac_func" >&5
33058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33059 if eval "test \"\${$as_ac_var+set}\" = set"; then
33060 echo $ECHO_N "(cached) $ECHO_C" >&6
33061 else
33062 if test x$gcc_no_link = xyes; then
33063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33065 { (exit 1); exit 1; }; }
33067 cat >conftest.$ac_ext <<_ACEOF
33068 /* confdefs.h. */
33069 _ACEOF
33070 cat confdefs.h >>conftest.$ac_ext
33071 cat >>conftest.$ac_ext <<_ACEOF
33072 /* end confdefs.h. */
33073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33075 #define $ac_func innocuous_$ac_func
33077 /* System header to define __stub macros and hopefully few prototypes,
33078 which can conflict with char $ac_func (); below.
33079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33080 <limits.h> exists even on freestanding compilers. */
33082 #ifdef __STDC__
33083 # include <limits.h>
33084 #else
33085 # include <assert.h>
33086 #endif
33088 #undef $ac_func
33090 /* Override any gcc2 internal prototype to avoid an error. */
33091 #ifdef __cplusplus
33092 extern "C"
33094 #endif
33095 /* We use char because int might match the return type of a gcc2
33096 builtin and then its argument prototype would still apply. */
33097 char $ac_func ();
33098 /* The GNU C library defines this for functions which it implements
33099 to always fail with ENOSYS. Some functions are actually named
33100 something starting with __ and the normal name is an alias. */
33101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33102 choke me
33103 #else
33104 char (*f) () = $ac_func;
33105 #endif
33106 #ifdef __cplusplus
33108 #endif
33111 main ()
33113 return f != $ac_func;
33115 return 0;
33117 _ACEOF
33118 rm -f conftest.$ac_objext conftest$ac_exeext
33119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33120 (eval $ac_link) 2>conftest.er1
33121 ac_status=$?
33122 grep -v '^ *+' conftest.er1 >conftest.err
33123 rm -f conftest.er1
33124 cat conftest.err >&5
33125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33126 (exit $ac_status); } &&
33127 { ac_try='test -z "$ac_c_werror_flag"
33128 || test ! -s conftest.err'
33129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33130 (eval $ac_try) 2>&5
33131 ac_status=$?
33132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33133 (exit $ac_status); }; } &&
33134 { ac_try='test -s conftest$ac_exeext'
33135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33136 (eval $ac_try) 2>&5
33137 ac_status=$?
33138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33139 (exit $ac_status); }; }; then
33140 eval "$as_ac_var=yes"
33141 else
33142 echo "$as_me: failed program was:" >&5
33143 sed 's/^/| /' conftest.$ac_ext >&5
33145 eval "$as_ac_var=no"
33147 rm -f conftest.err conftest.$ac_objext \
33148 conftest$ac_exeext conftest.$ac_ext
33150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33152 if test `eval echo '${'$as_ac_var'}'` = yes; then
33153 cat >>confdefs.h <<_ACEOF
33154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33155 _ACEOF
33158 done
33160 else
33162 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
33163 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
33164 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33165 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
33166 echo $ECHO_N "(cached) $ECHO_C" >&6
33167 else
33171 ac_ext=cc
33172 ac_cpp='$CXXCPP $CPPFLAGS'
33173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33177 cat >conftest.$ac_ext <<_ACEOF
33178 /* confdefs.h. */
33179 _ACEOF
33180 cat confdefs.h >>conftest.$ac_ext
33181 cat >>conftest.$ac_ext <<_ACEOF
33182 /* end confdefs.h. */
33183 #include <math.h>
33185 main ()
33187 _ldexpl(0, 0);
33189 return 0;
33191 _ACEOF
33192 rm -f conftest.$ac_objext
33193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33194 (eval $ac_compile) 2>conftest.er1
33195 ac_status=$?
33196 grep -v '^ *+' conftest.er1 >conftest.err
33197 rm -f conftest.er1
33198 cat conftest.err >&5
33199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33200 (exit $ac_status); } &&
33201 { ac_try='test -z "$ac_cxx_werror_flag"
33202 || test ! -s conftest.err'
33203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33204 (eval $ac_try) 2>&5
33205 ac_status=$?
33206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33207 (exit $ac_status); }; } &&
33208 { ac_try='test -s conftest.$ac_objext'
33209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33210 (eval $ac_try) 2>&5
33211 ac_status=$?
33212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33213 (exit $ac_status); }; }; then
33214 glibcxx_cv_func__ldexpl_use=yes
33215 else
33216 echo "$as_me: failed program was:" >&5
33217 sed 's/^/| /' conftest.$ac_ext >&5
33219 glibcxx_cv_func__ldexpl_use=no
33221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33222 ac_ext=c
33223 ac_cpp='$CPP $CPPFLAGS'
33224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33232 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
33233 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
33235 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33237 for ac_func in _ldexpl
33239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33240 echo "$as_me:$LINENO: checking for $ac_func" >&5
33241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33242 if eval "test \"\${$as_ac_var+set}\" = set"; then
33243 echo $ECHO_N "(cached) $ECHO_C" >&6
33244 else
33245 if test x$gcc_no_link = xyes; then
33246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33248 { (exit 1); exit 1; }; }
33250 cat >conftest.$ac_ext <<_ACEOF
33251 /* confdefs.h. */
33252 _ACEOF
33253 cat confdefs.h >>conftest.$ac_ext
33254 cat >>conftest.$ac_ext <<_ACEOF
33255 /* end confdefs.h. */
33256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33258 #define $ac_func innocuous_$ac_func
33260 /* System header to define __stub macros and hopefully few prototypes,
33261 which can conflict with char $ac_func (); below.
33262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33263 <limits.h> exists even on freestanding compilers. */
33265 #ifdef __STDC__
33266 # include <limits.h>
33267 #else
33268 # include <assert.h>
33269 #endif
33271 #undef $ac_func
33273 /* Override any gcc2 internal prototype to avoid an error. */
33274 #ifdef __cplusplus
33275 extern "C"
33277 #endif
33278 /* We use char because int might match the return type of a gcc2
33279 builtin and then its argument prototype would still apply. */
33280 char $ac_func ();
33281 /* The GNU C library defines this for functions which it implements
33282 to always fail with ENOSYS. Some functions are actually named
33283 something starting with __ and the normal name is an alias. */
33284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33285 choke me
33286 #else
33287 char (*f) () = $ac_func;
33288 #endif
33289 #ifdef __cplusplus
33291 #endif
33294 main ()
33296 return f != $ac_func;
33298 return 0;
33300 _ACEOF
33301 rm -f conftest.$ac_objext conftest$ac_exeext
33302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33303 (eval $ac_link) 2>conftest.er1
33304 ac_status=$?
33305 grep -v '^ *+' conftest.er1 >conftest.err
33306 rm -f conftest.er1
33307 cat conftest.err >&5
33308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33309 (exit $ac_status); } &&
33310 { ac_try='test -z "$ac_c_werror_flag"
33311 || test ! -s conftest.err'
33312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33313 (eval $ac_try) 2>&5
33314 ac_status=$?
33315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33316 (exit $ac_status); }; } &&
33317 { ac_try='test -s conftest$ac_exeext'
33318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33319 (eval $ac_try) 2>&5
33320 ac_status=$?
33321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33322 (exit $ac_status); }; }; then
33323 eval "$as_ac_var=yes"
33324 else
33325 echo "$as_me: failed program was:" >&5
33326 sed 's/^/| /' conftest.$ac_ext >&5
33328 eval "$as_ac_var=no"
33330 rm -f conftest.err conftest.$ac_objext \
33331 conftest$ac_exeext conftest.$ac_ext
33333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33335 if test `eval echo '${'$as_ac_var'}'` = yes; then
33336 cat >>confdefs.h <<_ACEOF
33337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33338 _ACEOF
33341 done
33351 echo "$as_me:$LINENO: checking for logl declaration" >&5
33352 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
33353 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33354 if test "${glibcxx_cv_func_logl_use+set}" = set; then
33355 echo $ECHO_N "(cached) $ECHO_C" >&6
33356 else
33360 ac_ext=cc
33361 ac_cpp='$CXXCPP $CPPFLAGS'
33362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33366 cat >conftest.$ac_ext <<_ACEOF
33367 /* confdefs.h. */
33368 _ACEOF
33369 cat confdefs.h >>conftest.$ac_ext
33370 cat >>conftest.$ac_ext <<_ACEOF
33371 /* end confdefs.h. */
33372 #include <math.h>
33373 #ifdef HAVE_IEEEFP_H
33374 #include <ieeefp.h>
33375 #endif
33378 main ()
33380 logl(0);
33382 return 0;
33384 _ACEOF
33385 rm -f conftest.$ac_objext
33386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33387 (eval $ac_compile) 2>conftest.er1
33388 ac_status=$?
33389 grep -v '^ *+' conftest.er1 >conftest.err
33390 rm -f conftest.er1
33391 cat conftest.err >&5
33392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33393 (exit $ac_status); } &&
33394 { ac_try='test -z "$ac_cxx_werror_flag"
33395 || test ! -s conftest.err'
33396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33397 (eval $ac_try) 2>&5
33398 ac_status=$?
33399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33400 (exit $ac_status); }; } &&
33401 { ac_try='test -s conftest.$ac_objext'
33402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33403 (eval $ac_try) 2>&5
33404 ac_status=$?
33405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33406 (exit $ac_status); }; }; then
33407 glibcxx_cv_func_logl_use=yes
33408 else
33409 echo "$as_me: failed program was:" >&5
33410 sed 's/^/| /' conftest.$ac_ext >&5
33412 glibcxx_cv_func_logl_use=no
33414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33415 ac_ext=c
33416 ac_cpp='$CPP $CPPFLAGS'
33417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33425 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
33426 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
33428 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33430 for ac_func in logl
33432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33433 echo "$as_me:$LINENO: checking for $ac_func" >&5
33434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33435 if eval "test \"\${$as_ac_var+set}\" = set"; then
33436 echo $ECHO_N "(cached) $ECHO_C" >&6
33437 else
33438 if test x$gcc_no_link = xyes; then
33439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33441 { (exit 1); exit 1; }; }
33443 cat >conftest.$ac_ext <<_ACEOF
33444 /* confdefs.h. */
33445 _ACEOF
33446 cat confdefs.h >>conftest.$ac_ext
33447 cat >>conftest.$ac_ext <<_ACEOF
33448 /* end confdefs.h. */
33449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33451 #define $ac_func innocuous_$ac_func
33453 /* System header to define __stub macros and hopefully few prototypes,
33454 which can conflict with char $ac_func (); below.
33455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33456 <limits.h> exists even on freestanding compilers. */
33458 #ifdef __STDC__
33459 # include <limits.h>
33460 #else
33461 # include <assert.h>
33462 #endif
33464 #undef $ac_func
33466 /* Override any gcc2 internal prototype to avoid an error. */
33467 #ifdef __cplusplus
33468 extern "C"
33470 #endif
33471 /* We use char because int might match the return type of a gcc2
33472 builtin and then its argument prototype would still apply. */
33473 char $ac_func ();
33474 /* The GNU C library defines this for functions which it implements
33475 to always fail with ENOSYS. Some functions are actually named
33476 something starting with __ and the normal name is an alias. */
33477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33478 choke me
33479 #else
33480 char (*f) () = $ac_func;
33481 #endif
33482 #ifdef __cplusplus
33484 #endif
33487 main ()
33489 return f != $ac_func;
33491 return 0;
33493 _ACEOF
33494 rm -f conftest.$ac_objext conftest$ac_exeext
33495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33496 (eval $ac_link) 2>conftest.er1
33497 ac_status=$?
33498 grep -v '^ *+' conftest.er1 >conftest.err
33499 rm -f conftest.er1
33500 cat conftest.err >&5
33501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33502 (exit $ac_status); } &&
33503 { ac_try='test -z "$ac_c_werror_flag"
33504 || test ! -s conftest.err'
33505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33506 (eval $ac_try) 2>&5
33507 ac_status=$?
33508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33509 (exit $ac_status); }; } &&
33510 { ac_try='test -s conftest$ac_exeext'
33511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33512 (eval $ac_try) 2>&5
33513 ac_status=$?
33514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33515 (exit $ac_status); }; }; then
33516 eval "$as_ac_var=yes"
33517 else
33518 echo "$as_me: failed program was:" >&5
33519 sed 's/^/| /' conftest.$ac_ext >&5
33521 eval "$as_ac_var=no"
33523 rm -f conftest.err conftest.$ac_objext \
33524 conftest$ac_exeext conftest.$ac_ext
33526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33528 if test `eval echo '${'$as_ac_var'}'` = yes; then
33529 cat >>confdefs.h <<_ACEOF
33530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33531 _ACEOF
33534 done
33536 else
33538 echo "$as_me:$LINENO: checking for _logl declaration" >&5
33539 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
33540 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33541 if test "${glibcxx_cv_func__logl_use+set}" = set; then
33542 echo $ECHO_N "(cached) $ECHO_C" >&6
33543 else
33547 ac_ext=cc
33548 ac_cpp='$CXXCPP $CPPFLAGS'
33549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33553 cat >conftest.$ac_ext <<_ACEOF
33554 /* confdefs.h. */
33555 _ACEOF
33556 cat confdefs.h >>conftest.$ac_ext
33557 cat >>conftest.$ac_ext <<_ACEOF
33558 /* end confdefs.h. */
33559 #include <math.h>
33560 #ifdef HAVE_IEEEFP_H
33561 #include <ieeefp.h>
33562 #endif
33565 main ()
33567 _logl(0);
33569 return 0;
33571 _ACEOF
33572 rm -f conftest.$ac_objext
33573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33574 (eval $ac_compile) 2>conftest.er1
33575 ac_status=$?
33576 grep -v '^ *+' conftest.er1 >conftest.err
33577 rm -f conftest.er1
33578 cat conftest.err >&5
33579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33580 (exit $ac_status); } &&
33581 { ac_try='test -z "$ac_cxx_werror_flag"
33582 || test ! -s conftest.err'
33583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33584 (eval $ac_try) 2>&5
33585 ac_status=$?
33586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33587 (exit $ac_status); }; } &&
33588 { ac_try='test -s conftest.$ac_objext'
33589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33590 (eval $ac_try) 2>&5
33591 ac_status=$?
33592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33593 (exit $ac_status); }; }; then
33594 glibcxx_cv_func__logl_use=yes
33595 else
33596 echo "$as_me: failed program was:" >&5
33597 sed 's/^/| /' conftest.$ac_ext >&5
33599 glibcxx_cv_func__logl_use=no
33601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33602 ac_ext=c
33603 ac_cpp='$CPP $CPPFLAGS'
33604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33612 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
33613 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
33615 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33617 for ac_func in _logl
33619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33620 echo "$as_me:$LINENO: checking for $ac_func" >&5
33621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33622 if eval "test \"\${$as_ac_var+set}\" = set"; then
33623 echo $ECHO_N "(cached) $ECHO_C" >&6
33624 else
33625 if test x$gcc_no_link = xyes; then
33626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33628 { (exit 1); exit 1; }; }
33630 cat >conftest.$ac_ext <<_ACEOF
33631 /* confdefs.h. */
33632 _ACEOF
33633 cat confdefs.h >>conftest.$ac_ext
33634 cat >>conftest.$ac_ext <<_ACEOF
33635 /* end confdefs.h. */
33636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33638 #define $ac_func innocuous_$ac_func
33640 /* System header to define __stub macros and hopefully few prototypes,
33641 which can conflict with char $ac_func (); below.
33642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33643 <limits.h> exists even on freestanding compilers. */
33645 #ifdef __STDC__
33646 # include <limits.h>
33647 #else
33648 # include <assert.h>
33649 #endif
33651 #undef $ac_func
33653 /* Override any gcc2 internal prototype to avoid an error. */
33654 #ifdef __cplusplus
33655 extern "C"
33657 #endif
33658 /* We use char because int might match the return type of a gcc2
33659 builtin and then its argument prototype would still apply. */
33660 char $ac_func ();
33661 /* The GNU C library defines this for functions which it implements
33662 to always fail with ENOSYS. Some functions are actually named
33663 something starting with __ and the normal name is an alias. */
33664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33665 choke me
33666 #else
33667 char (*f) () = $ac_func;
33668 #endif
33669 #ifdef __cplusplus
33671 #endif
33674 main ()
33676 return f != $ac_func;
33678 return 0;
33680 _ACEOF
33681 rm -f conftest.$ac_objext conftest$ac_exeext
33682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33683 (eval $ac_link) 2>conftest.er1
33684 ac_status=$?
33685 grep -v '^ *+' conftest.er1 >conftest.err
33686 rm -f conftest.er1
33687 cat conftest.err >&5
33688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33689 (exit $ac_status); } &&
33690 { ac_try='test -z "$ac_c_werror_flag"
33691 || test ! -s conftest.err'
33692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33693 (eval $ac_try) 2>&5
33694 ac_status=$?
33695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33696 (exit $ac_status); }; } &&
33697 { ac_try='test -s conftest$ac_exeext'
33698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33699 (eval $ac_try) 2>&5
33700 ac_status=$?
33701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33702 (exit $ac_status); }; }; then
33703 eval "$as_ac_var=yes"
33704 else
33705 echo "$as_me: failed program was:" >&5
33706 sed 's/^/| /' conftest.$ac_ext >&5
33708 eval "$as_ac_var=no"
33710 rm -f conftest.err conftest.$ac_objext \
33711 conftest$ac_exeext conftest.$ac_ext
33713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33715 if test `eval echo '${'$as_ac_var'}'` = yes; then
33716 cat >>confdefs.h <<_ACEOF
33717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33718 _ACEOF
33721 done
33731 echo "$as_me:$LINENO: checking for log10l declaration" >&5
33732 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
33733 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33734 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
33735 echo $ECHO_N "(cached) $ECHO_C" >&6
33736 else
33740 ac_ext=cc
33741 ac_cpp='$CXXCPP $CPPFLAGS'
33742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33746 cat >conftest.$ac_ext <<_ACEOF
33747 /* confdefs.h. */
33748 _ACEOF
33749 cat confdefs.h >>conftest.$ac_ext
33750 cat >>conftest.$ac_ext <<_ACEOF
33751 /* end confdefs.h. */
33752 #include <math.h>
33753 #ifdef HAVE_IEEEFP_H
33754 #include <ieeefp.h>
33755 #endif
33758 main ()
33760 log10l(0);
33762 return 0;
33764 _ACEOF
33765 rm -f conftest.$ac_objext
33766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33767 (eval $ac_compile) 2>conftest.er1
33768 ac_status=$?
33769 grep -v '^ *+' conftest.er1 >conftest.err
33770 rm -f conftest.er1
33771 cat conftest.err >&5
33772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33773 (exit $ac_status); } &&
33774 { ac_try='test -z "$ac_cxx_werror_flag"
33775 || test ! -s conftest.err'
33776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33777 (eval $ac_try) 2>&5
33778 ac_status=$?
33779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33780 (exit $ac_status); }; } &&
33781 { ac_try='test -s conftest.$ac_objext'
33782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33783 (eval $ac_try) 2>&5
33784 ac_status=$?
33785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33786 (exit $ac_status); }; }; then
33787 glibcxx_cv_func_log10l_use=yes
33788 else
33789 echo "$as_me: failed program was:" >&5
33790 sed 's/^/| /' conftest.$ac_ext >&5
33792 glibcxx_cv_func_log10l_use=no
33794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33795 ac_ext=c
33796 ac_cpp='$CPP $CPPFLAGS'
33797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33805 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
33806 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
33808 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33810 for ac_func in log10l
33812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33813 echo "$as_me:$LINENO: checking for $ac_func" >&5
33814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33815 if eval "test \"\${$as_ac_var+set}\" = set"; then
33816 echo $ECHO_N "(cached) $ECHO_C" >&6
33817 else
33818 if test x$gcc_no_link = xyes; then
33819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33821 { (exit 1); exit 1; }; }
33823 cat >conftest.$ac_ext <<_ACEOF
33824 /* confdefs.h. */
33825 _ACEOF
33826 cat confdefs.h >>conftest.$ac_ext
33827 cat >>conftest.$ac_ext <<_ACEOF
33828 /* end confdefs.h. */
33829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33831 #define $ac_func innocuous_$ac_func
33833 /* System header to define __stub macros and hopefully few prototypes,
33834 which can conflict with char $ac_func (); below.
33835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33836 <limits.h> exists even on freestanding compilers. */
33838 #ifdef __STDC__
33839 # include <limits.h>
33840 #else
33841 # include <assert.h>
33842 #endif
33844 #undef $ac_func
33846 /* Override any gcc2 internal prototype to avoid an error. */
33847 #ifdef __cplusplus
33848 extern "C"
33850 #endif
33851 /* We use char because int might match the return type of a gcc2
33852 builtin and then its argument prototype would still apply. */
33853 char $ac_func ();
33854 /* The GNU C library defines this for functions which it implements
33855 to always fail with ENOSYS. Some functions are actually named
33856 something starting with __ and the normal name is an alias. */
33857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33858 choke me
33859 #else
33860 char (*f) () = $ac_func;
33861 #endif
33862 #ifdef __cplusplus
33864 #endif
33867 main ()
33869 return f != $ac_func;
33871 return 0;
33873 _ACEOF
33874 rm -f conftest.$ac_objext conftest$ac_exeext
33875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33876 (eval $ac_link) 2>conftest.er1
33877 ac_status=$?
33878 grep -v '^ *+' conftest.er1 >conftest.err
33879 rm -f conftest.er1
33880 cat conftest.err >&5
33881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33882 (exit $ac_status); } &&
33883 { ac_try='test -z "$ac_c_werror_flag"
33884 || test ! -s conftest.err'
33885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33886 (eval $ac_try) 2>&5
33887 ac_status=$?
33888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33889 (exit $ac_status); }; } &&
33890 { ac_try='test -s conftest$ac_exeext'
33891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33892 (eval $ac_try) 2>&5
33893 ac_status=$?
33894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33895 (exit $ac_status); }; }; then
33896 eval "$as_ac_var=yes"
33897 else
33898 echo "$as_me: failed program was:" >&5
33899 sed 's/^/| /' conftest.$ac_ext >&5
33901 eval "$as_ac_var=no"
33903 rm -f conftest.err conftest.$ac_objext \
33904 conftest$ac_exeext conftest.$ac_ext
33906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33908 if test `eval echo '${'$as_ac_var'}'` = yes; then
33909 cat >>confdefs.h <<_ACEOF
33910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33911 _ACEOF
33914 done
33916 else
33918 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
33919 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
33920 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33921 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
33922 echo $ECHO_N "(cached) $ECHO_C" >&6
33923 else
33927 ac_ext=cc
33928 ac_cpp='$CXXCPP $CPPFLAGS'
33929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33933 cat >conftest.$ac_ext <<_ACEOF
33934 /* confdefs.h. */
33935 _ACEOF
33936 cat confdefs.h >>conftest.$ac_ext
33937 cat >>conftest.$ac_ext <<_ACEOF
33938 /* end confdefs.h. */
33939 #include <math.h>
33940 #ifdef HAVE_IEEEFP_H
33941 #include <ieeefp.h>
33942 #endif
33945 main ()
33947 _log10l(0);
33949 return 0;
33951 _ACEOF
33952 rm -f conftest.$ac_objext
33953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33954 (eval $ac_compile) 2>conftest.er1
33955 ac_status=$?
33956 grep -v '^ *+' conftest.er1 >conftest.err
33957 rm -f conftest.er1
33958 cat conftest.err >&5
33959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33960 (exit $ac_status); } &&
33961 { ac_try='test -z "$ac_cxx_werror_flag"
33962 || test ! -s conftest.err'
33963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33964 (eval $ac_try) 2>&5
33965 ac_status=$?
33966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33967 (exit $ac_status); }; } &&
33968 { ac_try='test -s conftest.$ac_objext'
33969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33970 (eval $ac_try) 2>&5
33971 ac_status=$?
33972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33973 (exit $ac_status); }; }; then
33974 glibcxx_cv_func__log10l_use=yes
33975 else
33976 echo "$as_me: failed program was:" >&5
33977 sed 's/^/| /' conftest.$ac_ext >&5
33979 glibcxx_cv_func__log10l_use=no
33981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33982 ac_ext=c
33983 ac_cpp='$CPP $CPPFLAGS'
33984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33992 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
33993 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
33995 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33997 for ac_func in _log10l
33999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34000 echo "$as_me:$LINENO: checking for $ac_func" >&5
34001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34002 if eval "test \"\${$as_ac_var+set}\" = set"; then
34003 echo $ECHO_N "(cached) $ECHO_C" >&6
34004 else
34005 if test x$gcc_no_link = xyes; then
34006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34008 { (exit 1); exit 1; }; }
34010 cat >conftest.$ac_ext <<_ACEOF
34011 /* confdefs.h. */
34012 _ACEOF
34013 cat confdefs.h >>conftest.$ac_ext
34014 cat >>conftest.$ac_ext <<_ACEOF
34015 /* end confdefs.h. */
34016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34018 #define $ac_func innocuous_$ac_func
34020 /* System header to define __stub macros and hopefully few prototypes,
34021 which can conflict with char $ac_func (); below.
34022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34023 <limits.h> exists even on freestanding compilers. */
34025 #ifdef __STDC__
34026 # include <limits.h>
34027 #else
34028 # include <assert.h>
34029 #endif
34031 #undef $ac_func
34033 /* Override any gcc2 internal prototype to avoid an error. */
34034 #ifdef __cplusplus
34035 extern "C"
34037 #endif
34038 /* We use char because int might match the return type of a gcc2
34039 builtin and then its argument prototype would still apply. */
34040 char $ac_func ();
34041 /* The GNU C library defines this for functions which it implements
34042 to always fail with ENOSYS. Some functions are actually named
34043 something starting with __ and the normal name is an alias. */
34044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34045 choke me
34046 #else
34047 char (*f) () = $ac_func;
34048 #endif
34049 #ifdef __cplusplus
34051 #endif
34054 main ()
34056 return f != $ac_func;
34058 return 0;
34060 _ACEOF
34061 rm -f conftest.$ac_objext conftest$ac_exeext
34062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34063 (eval $ac_link) 2>conftest.er1
34064 ac_status=$?
34065 grep -v '^ *+' conftest.er1 >conftest.err
34066 rm -f conftest.er1
34067 cat conftest.err >&5
34068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34069 (exit $ac_status); } &&
34070 { ac_try='test -z "$ac_c_werror_flag"
34071 || test ! -s conftest.err'
34072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34073 (eval $ac_try) 2>&5
34074 ac_status=$?
34075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34076 (exit $ac_status); }; } &&
34077 { ac_try='test -s conftest$ac_exeext'
34078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34079 (eval $ac_try) 2>&5
34080 ac_status=$?
34081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34082 (exit $ac_status); }; }; then
34083 eval "$as_ac_var=yes"
34084 else
34085 echo "$as_me: failed program was:" >&5
34086 sed 's/^/| /' conftest.$ac_ext >&5
34088 eval "$as_ac_var=no"
34090 rm -f conftest.err conftest.$ac_objext \
34091 conftest$ac_exeext conftest.$ac_ext
34093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34095 if test `eval echo '${'$as_ac_var'}'` = yes; then
34096 cat >>confdefs.h <<_ACEOF
34097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34098 _ACEOF
34101 done
34111 echo "$as_me:$LINENO: checking for modfl declaration" >&5
34112 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
34113 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34114 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
34115 echo $ECHO_N "(cached) $ECHO_C" >&6
34116 else
34120 ac_ext=cc
34121 ac_cpp='$CXXCPP $CPPFLAGS'
34122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34126 cat >conftest.$ac_ext <<_ACEOF
34127 /* confdefs.h. */
34128 _ACEOF
34129 cat confdefs.h >>conftest.$ac_ext
34130 cat >>conftest.$ac_ext <<_ACEOF
34131 /* end confdefs.h. */
34132 #include <math.h>
34134 main ()
34136 modfl(0, 0);
34138 return 0;
34140 _ACEOF
34141 rm -f conftest.$ac_objext
34142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34143 (eval $ac_compile) 2>conftest.er1
34144 ac_status=$?
34145 grep -v '^ *+' conftest.er1 >conftest.err
34146 rm -f conftest.er1
34147 cat conftest.err >&5
34148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34149 (exit $ac_status); } &&
34150 { ac_try='test -z "$ac_cxx_werror_flag"
34151 || test ! -s conftest.err'
34152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34153 (eval $ac_try) 2>&5
34154 ac_status=$?
34155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34156 (exit $ac_status); }; } &&
34157 { ac_try='test -s conftest.$ac_objext'
34158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34159 (eval $ac_try) 2>&5
34160 ac_status=$?
34161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34162 (exit $ac_status); }; }; then
34163 glibcxx_cv_func_modfl_use=yes
34164 else
34165 echo "$as_me: failed program was:" >&5
34166 sed 's/^/| /' conftest.$ac_ext >&5
34168 glibcxx_cv_func_modfl_use=no
34170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34171 ac_ext=c
34172 ac_cpp='$CPP $CPPFLAGS'
34173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34181 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
34182 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
34184 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34186 for ac_func in modfl
34188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34189 echo "$as_me:$LINENO: checking for $ac_func" >&5
34190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34191 if eval "test \"\${$as_ac_var+set}\" = set"; then
34192 echo $ECHO_N "(cached) $ECHO_C" >&6
34193 else
34194 if test x$gcc_no_link = xyes; then
34195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34197 { (exit 1); exit 1; }; }
34199 cat >conftest.$ac_ext <<_ACEOF
34200 /* confdefs.h. */
34201 _ACEOF
34202 cat confdefs.h >>conftest.$ac_ext
34203 cat >>conftest.$ac_ext <<_ACEOF
34204 /* end confdefs.h. */
34205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34207 #define $ac_func innocuous_$ac_func
34209 /* System header to define __stub macros and hopefully few prototypes,
34210 which can conflict with char $ac_func (); below.
34211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34212 <limits.h> exists even on freestanding compilers. */
34214 #ifdef __STDC__
34215 # include <limits.h>
34216 #else
34217 # include <assert.h>
34218 #endif
34220 #undef $ac_func
34222 /* Override any gcc2 internal prototype to avoid an error. */
34223 #ifdef __cplusplus
34224 extern "C"
34226 #endif
34227 /* We use char because int might match the return type of a gcc2
34228 builtin and then its argument prototype would still apply. */
34229 char $ac_func ();
34230 /* The GNU C library defines this for functions which it implements
34231 to always fail with ENOSYS. Some functions are actually named
34232 something starting with __ and the normal name is an alias. */
34233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34234 choke me
34235 #else
34236 char (*f) () = $ac_func;
34237 #endif
34238 #ifdef __cplusplus
34240 #endif
34243 main ()
34245 return f != $ac_func;
34247 return 0;
34249 _ACEOF
34250 rm -f conftest.$ac_objext conftest$ac_exeext
34251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34252 (eval $ac_link) 2>conftest.er1
34253 ac_status=$?
34254 grep -v '^ *+' conftest.er1 >conftest.err
34255 rm -f conftest.er1
34256 cat conftest.err >&5
34257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34258 (exit $ac_status); } &&
34259 { ac_try='test -z "$ac_c_werror_flag"
34260 || test ! -s conftest.err'
34261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34262 (eval $ac_try) 2>&5
34263 ac_status=$?
34264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34265 (exit $ac_status); }; } &&
34266 { ac_try='test -s conftest$ac_exeext'
34267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34268 (eval $ac_try) 2>&5
34269 ac_status=$?
34270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34271 (exit $ac_status); }; }; then
34272 eval "$as_ac_var=yes"
34273 else
34274 echo "$as_me: failed program was:" >&5
34275 sed 's/^/| /' conftest.$ac_ext >&5
34277 eval "$as_ac_var=no"
34279 rm -f conftest.err conftest.$ac_objext \
34280 conftest$ac_exeext conftest.$ac_ext
34282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34284 if test `eval echo '${'$as_ac_var'}'` = yes; then
34285 cat >>confdefs.h <<_ACEOF
34286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34287 _ACEOF
34290 done
34292 else
34294 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
34295 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
34296 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34297 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
34298 echo $ECHO_N "(cached) $ECHO_C" >&6
34299 else
34303 ac_ext=cc
34304 ac_cpp='$CXXCPP $CPPFLAGS'
34305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34309 cat >conftest.$ac_ext <<_ACEOF
34310 /* confdefs.h. */
34311 _ACEOF
34312 cat confdefs.h >>conftest.$ac_ext
34313 cat >>conftest.$ac_ext <<_ACEOF
34314 /* end confdefs.h. */
34315 #include <math.h>
34317 main ()
34319 _modfl(0, 0);
34321 return 0;
34323 _ACEOF
34324 rm -f conftest.$ac_objext
34325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34326 (eval $ac_compile) 2>conftest.er1
34327 ac_status=$?
34328 grep -v '^ *+' conftest.er1 >conftest.err
34329 rm -f conftest.er1
34330 cat conftest.err >&5
34331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34332 (exit $ac_status); } &&
34333 { ac_try='test -z "$ac_cxx_werror_flag"
34334 || test ! -s conftest.err'
34335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34336 (eval $ac_try) 2>&5
34337 ac_status=$?
34338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34339 (exit $ac_status); }; } &&
34340 { ac_try='test -s conftest.$ac_objext'
34341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34342 (eval $ac_try) 2>&5
34343 ac_status=$?
34344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34345 (exit $ac_status); }; }; then
34346 glibcxx_cv_func__modfl_use=yes
34347 else
34348 echo "$as_me: failed program was:" >&5
34349 sed 's/^/| /' conftest.$ac_ext >&5
34351 glibcxx_cv_func__modfl_use=no
34353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34354 ac_ext=c
34355 ac_cpp='$CPP $CPPFLAGS'
34356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34364 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
34365 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
34367 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34369 for ac_func in _modfl
34371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34372 echo "$as_me:$LINENO: checking for $ac_func" >&5
34373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34374 if eval "test \"\${$as_ac_var+set}\" = set"; then
34375 echo $ECHO_N "(cached) $ECHO_C" >&6
34376 else
34377 if test x$gcc_no_link = xyes; then
34378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34380 { (exit 1); exit 1; }; }
34382 cat >conftest.$ac_ext <<_ACEOF
34383 /* confdefs.h. */
34384 _ACEOF
34385 cat confdefs.h >>conftest.$ac_ext
34386 cat >>conftest.$ac_ext <<_ACEOF
34387 /* end confdefs.h. */
34388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34390 #define $ac_func innocuous_$ac_func
34392 /* System header to define __stub macros and hopefully few prototypes,
34393 which can conflict with char $ac_func (); below.
34394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34395 <limits.h> exists even on freestanding compilers. */
34397 #ifdef __STDC__
34398 # include <limits.h>
34399 #else
34400 # include <assert.h>
34401 #endif
34403 #undef $ac_func
34405 /* Override any gcc2 internal prototype to avoid an error. */
34406 #ifdef __cplusplus
34407 extern "C"
34409 #endif
34410 /* We use char because int might match the return type of a gcc2
34411 builtin and then its argument prototype would still apply. */
34412 char $ac_func ();
34413 /* The GNU C library defines this for functions which it implements
34414 to always fail with ENOSYS. Some functions are actually named
34415 something starting with __ and the normal name is an alias. */
34416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34417 choke me
34418 #else
34419 char (*f) () = $ac_func;
34420 #endif
34421 #ifdef __cplusplus
34423 #endif
34426 main ()
34428 return f != $ac_func;
34430 return 0;
34432 _ACEOF
34433 rm -f conftest.$ac_objext conftest$ac_exeext
34434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34435 (eval $ac_link) 2>conftest.er1
34436 ac_status=$?
34437 grep -v '^ *+' conftest.er1 >conftest.err
34438 rm -f conftest.er1
34439 cat conftest.err >&5
34440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34441 (exit $ac_status); } &&
34442 { ac_try='test -z "$ac_c_werror_flag"
34443 || test ! -s conftest.err'
34444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34445 (eval $ac_try) 2>&5
34446 ac_status=$?
34447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34448 (exit $ac_status); }; } &&
34449 { ac_try='test -s conftest$ac_exeext'
34450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34451 (eval $ac_try) 2>&5
34452 ac_status=$?
34453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34454 (exit $ac_status); }; }; then
34455 eval "$as_ac_var=yes"
34456 else
34457 echo "$as_me: failed program was:" >&5
34458 sed 's/^/| /' conftest.$ac_ext >&5
34460 eval "$as_ac_var=no"
34462 rm -f conftest.err conftest.$ac_objext \
34463 conftest$ac_exeext conftest.$ac_ext
34465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34467 if test `eval echo '${'$as_ac_var'}'` = yes; then
34468 cat >>confdefs.h <<_ACEOF
34469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34470 _ACEOF
34473 done
34483 echo "$as_me:$LINENO: checking for powl declaration" >&5
34484 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
34485 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34486 if test "${glibcxx_cv_func_powl_use+set}" = set; then
34487 echo $ECHO_N "(cached) $ECHO_C" >&6
34488 else
34492 ac_ext=cc
34493 ac_cpp='$CXXCPP $CPPFLAGS'
34494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34498 cat >conftest.$ac_ext <<_ACEOF
34499 /* confdefs.h. */
34500 _ACEOF
34501 cat confdefs.h >>conftest.$ac_ext
34502 cat >>conftest.$ac_ext <<_ACEOF
34503 /* end confdefs.h. */
34504 #include <math.h>
34506 main ()
34508 powl(0, 0);
34510 return 0;
34512 _ACEOF
34513 rm -f conftest.$ac_objext
34514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34515 (eval $ac_compile) 2>conftest.er1
34516 ac_status=$?
34517 grep -v '^ *+' conftest.er1 >conftest.err
34518 rm -f conftest.er1
34519 cat conftest.err >&5
34520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34521 (exit $ac_status); } &&
34522 { ac_try='test -z "$ac_cxx_werror_flag"
34523 || test ! -s conftest.err'
34524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34525 (eval $ac_try) 2>&5
34526 ac_status=$?
34527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34528 (exit $ac_status); }; } &&
34529 { ac_try='test -s conftest.$ac_objext'
34530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34531 (eval $ac_try) 2>&5
34532 ac_status=$?
34533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34534 (exit $ac_status); }; }; then
34535 glibcxx_cv_func_powl_use=yes
34536 else
34537 echo "$as_me: failed program was:" >&5
34538 sed 's/^/| /' conftest.$ac_ext >&5
34540 glibcxx_cv_func_powl_use=no
34542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34543 ac_ext=c
34544 ac_cpp='$CPP $CPPFLAGS'
34545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34553 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
34554 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
34556 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34558 for ac_func in powl
34560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34561 echo "$as_me:$LINENO: checking for $ac_func" >&5
34562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34563 if eval "test \"\${$as_ac_var+set}\" = set"; then
34564 echo $ECHO_N "(cached) $ECHO_C" >&6
34565 else
34566 if test x$gcc_no_link = xyes; then
34567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34569 { (exit 1); exit 1; }; }
34571 cat >conftest.$ac_ext <<_ACEOF
34572 /* confdefs.h. */
34573 _ACEOF
34574 cat confdefs.h >>conftest.$ac_ext
34575 cat >>conftest.$ac_ext <<_ACEOF
34576 /* end confdefs.h. */
34577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34579 #define $ac_func innocuous_$ac_func
34581 /* System header to define __stub macros and hopefully few prototypes,
34582 which can conflict with char $ac_func (); below.
34583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34584 <limits.h> exists even on freestanding compilers. */
34586 #ifdef __STDC__
34587 # include <limits.h>
34588 #else
34589 # include <assert.h>
34590 #endif
34592 #undef $ac_func
34594 /* Override any gcc2 internal prototype to avoid an error. */
34595 #ifdef __cplusplus
34596 extern "C"
34598 #endif
34599 /* We use char because int might match the return type of a gcc2
34600 builtin and then its argument prototype would still apply. */
34601 char $ac_func ();
34602 /* The GNU C library defines this for functions which it implements
34603 to always fail with ENOSYS. Some functions are actually named
34604 something starting with __ and the normal name is an alias. */
34605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34606 choke me
34607 #else
34608 char (*f) () = $ac_func;
34609 #endif
34610 #ifdef __cplusplus
34612 #endif
34615 main ()
34617 return f != $ac_func;
34619 return 0;
34621 _ACEOF
34622 rm -f conftest.$ac_objext conftest$ac_exeext
34623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34624 (eval $ac_link) 2>conftest.er1
34625 ac_status=$?
34626 grep -v '^ *+' conftest.er1 >conftest.err
34627 rm -f conftest.er1
34628 cat conftest.err >&5
34629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34630 (exit $ac_status); } &&
34631 { ac_try='test -z "$ac_c_werror_flag"
34632 || test ! -s conftest.err'
34633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34634 (eval $ac_try) 2>&5
34635 ac_status=$?
34636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34637 (exit $ac_status); }; } &&
34638 { ac_try='test -s conftest$ac_exeext'
34639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34640 (eval $ac_try) 2>&5
34641 ac_status=$?
34642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34643 (exit $ac_status); }; }; then
34644 eval "$as_ac_var=yes"
34645 else
34646 echo "$as_me: failed program was:" >&5
34647 sed 's/^/| /' conftest.$ac_ext >&5
34649 eval "$as_ac_var=no"
34651 rm -f conftest.err conftest.$ac_objext \
34652 conftest$ac_exeext conftest.$ac_ext
34654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34656 if test `eval echo '${'$as_ac_var'}'` = yes; then
34657 cat >>confdefs.h <<_ACEOF
34658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34659 _ACEOF
34662 done
34664 else
34666 echo "$as_me:$LINENO: checking for _powl declaration" >&5
34667 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
34668 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34669 if test "${glibcxx_cv_func__powl_use+set}" = set; then
34670 echo $ECHO_N "(cached) $ECHO_C" >&6
34671 else
34675 ac_ext=cc
34676 ac_cpp='$CXXCPP $CPPFLAGS'
34677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34681 cat >conftest.$ac_ext <<_ACEOF
34682 /* confdefs.h. */
34683 _ACEOF
34684 cat confdefs.h >>conftest.$ac_ext
34685 cat >>conftest.$ac_ext <<_ACEOF
34686 /* end confdefs.h. */
34687 #include <math.h>
34689 main ()
34691 _powl(0, 0);
34693 return 0;
34695 _ACEOF
34696 rm -f conftest.$ac_objext
34697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34698 (eval $ac_compile) 2>conftest.er1
34699 ac_status=$?
34700 grep -v '^ *+' conftest.er1 >conftest.err
34701 rm -f conftest.er1
34702 cat conftest.err >&5
34703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34704 (exit $ac_status); } &&
34705 { ac_try='test -z "$ac_cxx_werror_flag"
34706 || test ! -s conftest.err'
34707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34708 (eval $ac_try) 2>&5
34709 ac_status=$?
34710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34711 (exit $ac_status); }; } &&
34712 { ac_try='test -s conftest.$ac_objext'
34713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34714 (eval $ac_try) 2>&5
34715 ac_status=$?
34716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34717 (exit $ac_status); }; }; then
34718 glibcxx_cv_func__powl_use=yes
34719 else
34720 echo "$as_me: failed program was:" >&5
34721 sed 's/^/| /' conftest.$ac_ext >&5
34723 glibcxx_cv_func__powl_use=no
34725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34726 ac_ext=c
34727 ac_cpp='$CPP $CPPFLAGS'
34728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34736 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
34737 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
34739 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34741 for ac_func in _powl
34743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34744 echo "$as_me:$LINENO: checking for $ac_func" >&5
34745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34746 if eval "test \"\${$as_ac_var+set}\" = set"; then
34747 echo $ECHO_N "(cached) $ECHO_C" >&6
34748 else
34749 if test x$gcc_no_link = xyes; then
34750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34752 { (exit 1); exit 1; }; }
34754 cat >conftest.$ac_ext <<_ACEOF
34755 /* confdefs.h. */
34756 _ACEOF
34757 cat confdefs.h >>conftest.$ac_ext
34758 cat >>conftest.$ac_ext <<_ACEOF
34759 /* end confdefs.h. */
34760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34762 #define $ac_func innocuous_$ac_func
34764 /* System header to define __stub macros and hopefully few prototypes,
34765 which can conflict with char $ac_func (); below.
34766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34767 <limits.h> exists even on freestanding compilers. */
34769 #ifdef __STDC__
34770 # include <limits.h>
34771 #else
34772 # include <assert.h>
34773 #endif
34775 #undef $ac_func
34777 /* Override any gcc2 internal prototype to avoid an error. */
34778 #ifdef __cplusplus
34779 extern "C"
34781 #endif
34782 /* We use char because int might match the return type of a gcc2
34783 builtin and then its argument prototype would still apply. */
34784 char $ac_func ();
34785 /* The GNU C library defines this for functions which it implements
34786 to always fail with ENOSYS. Some functions are actually named
34787 something starting with __ and the normal name is an alias. */
34788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34789 choke me
34790 #else
34791 char (*f) () = $ac_func;
34792 #endif
34793 #ifdef __cplusplus
34795 #endif
34798 main ()
34800 return f != $ac_func;
34802 return 0;
34804 _ACEOF
34805 rm -f conftest.$ac_objext conftest$ac_exeext
34806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34807 (eval $ac_link) 2>conftest.er1
34808 ac_status=$?
34809 grep -v '^ *+' conftest.er1 >conftest.err
34810 rm -f conftest.er1
34811 cat conftest.err >&5
34812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34813 (exit $ac_status); } &&
34814 { ac_try='test -z "$ac_c_werror_flag"
34815 || test ! -s conftest.err'
34816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34817 (eval $ac_try) 2>&5
34818 ac_status=$?
34819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34820 (exit $ac_status); }; } &&
34821 { ac_try='test -s conftest$ac_exeext'
34822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34823 (eval $ac_try) 2>&5
34824 ac_status=$?
34825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34826 (exit $ac_status); }; }; then
34827 eval "$as_ac_var=yes"
34828 else
34829 echo "$as_me: failed program was:" >&5
34830 sed 's/^/| /' conftest.$ac_ext >&5
34832 eval "$as_ac_var=no"
34834 rm -f conftest.err conftest.$ac_objext \
34835 conftest$ac_exeext conftest.$ac_ext
34837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34839 if test `eval echo '${'$as_ac_var'}'` = yes; then
34840 cat >>confdefs.h <<_ACEOF
34841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34842 _ACEOF
34845 done
34855 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
34856 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
34857 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34858 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
34859 echo $ECHO_N "(cached) $ECHO_C" >&6
34860 else
34864 ac_ext=cc
34865 ac_cpp='$CXXCPP $CPPFLAGS'
34866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34870 cat >conftest.$ac_ext <<_ACEOF
34871 /* confdefs.h. */
34872 _ACEOF
34873 cat confdefs.h >>conftest.$ac_ext
34874 cat >>conftest.$ac_ext <<_ACEOF
34875 /* end confdefs.h. */
34876 #include <math.h>
34877 #ifdef HAVE_IEEEFP_H
34878 #include <ieeefp.h>
34879 #endif
34882 main ()
34884 sqrtl(0);
34886 return 0;
34888 _ACEOF
34889 rm -f conftest.$ac_objext
34890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34891 (eval $ac_compile) 2>conftest.er1
34892 ac_status=$?
34893 grep -v '^ *+' conftest.er1 >conftest.err
34894 rm -f conftest.er1
34895 cat conftest.err >&5
34896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34897 (exit $ac_status); } &&
34898 { ac_try='test -z "$ac_cxx_werror_flag"
34899 || test ! -s conftest.err'
34900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34901 (eval $ac_try) 2>&5
34902 ac_status=$?
34903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34904 (exit $ac_status); }; } &&
34905 { ac_try='test -s conftest.$ac_objext'
34906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34907 (eval $ac_try) 2>&5
34908 ac_status=$?
34909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34910 (exit $ac_status); }; }; then
34911 glibcxx_cv_func_sqrtl_use=yes
34912 else
34913 echo "$as_me: failed program was:" >&5
34914 sed 's/^/| /' conftest.$ac_ext >&5
34916 glibcxx_cv_func_sqrtl_use=no
34918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34919 ac_ext=c
34920 ac_cpp='$CPP $CPPFLAGS'
34921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34929 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
34930 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
34932 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34934 for ac_func in sqrtl
34936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34937 echo "$as_me:$LINENO: checking for $ac_func" >&5
34938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34939 if eval "test \"\${$as_ac_var+set}\" = set"; then
34940 echo $ECHO_N "(cached) $ECHO_C" >&6
34941 else
34942 if test x$gcc_no_link = xyes; then
34943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34945 { (exit 1); exit 1; }; }
34947 cat >conftest.$ac_ext <<_ACEOF
34948 /* confdefs.h. */
34949 _ACEOF
34950 cat confdefs.h >>conftest.$ac_ext
34951 cat >>conftest.$ac_ext <<_ACEOF
34952 /* end confdefs.h. */
34953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34955 #define $ac_func innocuous_$ac_func
34957 /* System header to define __stub macros and hopefully few prototypes,
34958 which can conflict with char $ac_func (); below.
34959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34960 <limits.h> exists even on freestanding compilers. */
34962 #ifdef __STDC__
34963 # include <limits.h>
34964 #else
34965 # include <assert.h>
34966 #endif
34968 #undef $ac_func
34970 /* Override any gcc2 internal prototype to avoid an error. */
34971 #ifdef __cplusplus
34972 extern "C"
34974 #endif
34975 /* We use char because int might match the return type of a gcc2
34976 builtin and then its argument prototype would still apply. */
34977 char $ac_func ();
34978 /* The GNU C library defines this for functions which it implements
34979 to always fail with ENOSYS. Some functions are actually named
34980 something starting with __ and the normal name is an alias. */
34981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34982 choke me
34983 #else
34984 char (*f) () = $ac_func;
34985 #endif
34986 #ifdef __cplusplus
34988 #endif
34991 main ()
34993 return f != $ac_func;
34995 return 0;
34997 _ACEOF
34998 rm -f conftest.$ac_objext conftest$ac_exeext
34999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35000 (eval $ac_link) 2>conftest.er1
35001 ac_status=$?
35002 grep -v '^ *+' conftest.er1 >conftest.err
35003 rm -f conftest.er1
35004 cat conftest.err >&5
35005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35006 (exit $ac_status); } &&
35007 { ac_try='test -z "$ac_c_werror_flag"
35008 || test ! -s conftest.err'
35009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35010 (eval $ac_try) 2>&5
35011 ac_status=$?
35012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35013 (exit $ac_status); }; } &&
35014 { ac_try='test -s conftest$ac_exeext'
35015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35016 (eval $ac_try) 2>&5
35017 ac_status=$?
35018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35019 (exit $ac_status); }; }; then
35020 eval "$as_ac_var=yes"
35021 else
35022 echo "$as_me: failed program was:" >&5
35023 sed 's/^/| /' conftest.$ac_ext >&5
35025 eval "$as_ac_var=no"
35027 rm -f conftest.err conftest.$ac_objext \
35028 conftest$ac_exeext conftest.$ac_ext
35030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35032 if test `eval echo '${'$as_ac_var'}'` = yes; then
35033 cat >>confdefs.h <<_ACEOF
35034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35035 _ACEOF
35038 done
35040 else
35042 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
35043 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
35044 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
35045 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
35046 echo $ECHO_N "(cached) $ECHO_C" >&6
35047 else
35051 ac_ext=cc
35052 ac_cpp='$CXXCPP $CPPFLAGS'
35053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35057 cat >conftest.$ac_ext <<_ACEOF
35058 /* confdefs.h. */
35059 _ACEOF
35060 cat confdefs.h >>conftest.$ac_ext
35061 cat >>conftest.$ac_ext <<_ACEOF
35062 /* end confdefs.h. */
35063 #include <math.h>
35064 #ifdef HAVE_IEEEFP_H
35065 #include <ieeefp.h>
35066 #endif
35069 main ()
35071 _sqrtl(0);
35073 return 0;
35075 _ACEOF
35076 rm -f conftest.$ac_objext
35077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35078 (eval $ac_compile) 2>conftest.er1
35079 ac_status=$?
35080 grep -v '^ *+' conftest.er1 >conftest.err
35081 rm -f conftest.er1
35082 cat conftest.err >&5
35083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35084 (exit $ac_status); } &&
35085 { ac_try='test -z "$ac_cxx_werror_flag"
35086 || test ! -s conftest.err'
35087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35088 (eval $ac_try) 2>&5
35089 ac_status=$?
35090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35091 (exit $ac_status); }; } &&
35092 { ac_try='test -s conftest.$ac_objext'
35093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35094 (eval $ac_try) 2>&5
35095 ac_status=$?
35096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35097 (exit $ac_status); }; }; then
35098 glibcxx_cv_func__sqrtl_use=yes
35099 else
35100 echo "$as_me: failed program was:" >&5
35101 sed 's/^/| /' conftest.$ac_ext >&5
35103 glibcxx_cv_func__sqrtl_use=no
35105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35106 ac_ext=c
35107 ac_cpp='$CPP $CPPFLAGS'
35108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35116 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
35117 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
35119 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
35121 for ac_func in _sqrtl
35123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35124 echo "$as_me:$LINENO: checking for $ac_func" >&5
35125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35126 if eval "test \"\${$as_ac_var+set}\" = set"; then
35127 echo $ECHO_N "(cached) $ECHO_C" >&6
35128 else
35129 if test x$gcc_no_link = xyes; then
35130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35132 { (exit 1); exit 1; }; }
35134 cat >conftest.$ac_ext <<_ACEOF
35135 /* confdefs.h. */
35136 _ACEOF
35137 cat confdefs.h >>conftest.$ac_ext
35138 cat >>conftest.$ac_ext <<_ACEOF
35139 /* end confdefs.h. */
35140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35142 #define $ac_func innocuous_$ac_func
35144 /* System header to define __stub macros and hopefully few prototypes,
35145 which can conflict with char $ac_func (); below.
35146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35147 <limits.h> exists even on freestanding compilers. */
35149 #ifdef __STDC__
35150 # include <limits.h>
35151 #else
35152 # include <assert.h>
35153 #endif
35155 #undef $ac_func
35157 /* Override any gcc2 internal prototype to avoid an error. */
35158 #ifdef __cplusplus
35159 extern "C"
35161 #endif
35162 /* We use char because int might match the return type of a gcc2
35163 builtin and then its argument prototype would still apply. */
35164 char $ac_func ();
35165 /* The GNU C library defines this for functions which it implements
35166 to always fail with ENOSYS. Some functions are actually named
35167 something starting with __ and the normal name is an alias. */
35168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35169 choke me
35170 #else
35171 char (*f) () = $ac_func;
35172 #endif
35173 #ifdef __cplusplus
35175 #endif
35178 main ()
35180 return f != $ac_func;
35182 return 0;
35184 _ACEOF
35185 rm -f conftest.$ac_objext conftest$ac_exeext
35186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35187 (eval $ac_link) 2>conftest.er1
35188 ac_status=$?
35189 grep -v '^ *+' conftest.er1 >conftest.err
35190 rm -f conftest.er1
35191 cat conftest.err >&5
35192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35193 (exit $ac_status); } &&
35194 { ac_try='test -z "$ac_c_werror_flag"
35195 || test ! -s conftest.err'
35196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35197 (eval $ac_try) 2>&5
35198 ac_status=$?
35199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35200 (exit $ac_status); }; } &&
35201 { ac_try='test -s conftest$ac_exeext'
35202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35203 (eval $ac_try) 2>&5
35204 ac_status=$?
35205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206 (exit $ac_status); }; }; then
35207 eval "$as_ac_var=yes"
35208 else
35209 echo "$as_me: failed program was:" >&5
35210 sed 's/^/| /' conftest.$ac_ext >&5
35212 eval "$as_ac_var=no"
35214 rm -f conftest.err conftest.$ac_objext \
35215 conftest$ac_exeext conftest.$ac_ext
35217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35219 if test `eval echo '${'$as_ac_var'}'` = yes; then
35220 cat >>confdefs.h <<_ACEOF
35221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35222 _ACEOF
35225 done
35235 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
35236 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
35237 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35238 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
35239 echo $ECHO_N "(cached) $ECHO_C" >&6
35240 else
35244 ac_ext=cc
35245 ac_cpp='$CXXCPP $CPPFLAGS'
35246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35250 cat >conftest.$ac_ext <<_ACEOF
35251 /* confdefs.h. */
35252 _ACEOF
35253 cat confdefs.h >>conftest.$ac_ext
35254 cat >>conftest.$ac_ext <<_ACEOF
35255 /* end confdefs.h. */
35256 #include <math.h>
35258 main ()
35260 sincosl(0, 0, 0);
35262 return 0;
35264 _ACEOF
35265 rm -f conftest.$ac_objext
35266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35267 (eval $ac_compile) 2>conftest.er1
35268 ac_status=$?
35269 grep -v '^ *+' conftest.er1 >conftest.err
35270 rm -f conftest.er1
35271 cat conftest.err >&5
35272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35273 (exit $ac_status); } &&
35274 { ac_try='test -z "$ac_cxx_werror_flag"
35275 || test ! -s conftest.err'
35276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35277 (eval $ac_try) 2>&5
35278 ac_status=$?
35279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35280 (exit $ac_status); }; } &&
35281 { ac_try='test -s conftest.$ac_objext'
35282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35283 (eval $ac_try) 2>&5
35284 ac_status=$?
35285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35286 (exit $ac_status); }; }; then
35287 glibcxx_cv_func_sincosl_use=yes
35288 else
35289 echo "$as_me: failed program was:" >&5
35290 sed 's/^/| /' conftest.$ac_ext >&5
35292 glibcxx_cv_func_sincosl_use=no
35294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35295 ac_ext=c
35296 ac_cpp='$CPP $CPPFLAGS'
35297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35305 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
35306 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
35308 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35310 for ac_func in sincosl
35312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35313 echo "$as_me:$LINENO: checking for $ac_func" >&5
35314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35315 if eval "test \"\${$as_ac_var+set}\" = set"; then
35316 echo $ECHO_N "(cached) $ECHO_C" >&6
35317 else
35318 if test x$gcc_no_link = xyes; then
35319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35321 { (exit 1); exit 1; }; }
35323 cat >conftest.$ac_ext <<_ACEOF
35324 /* confdefs.h. */
35325 _ACEOF
35326 cat confdefs.h >>conftest.$ac_ext
35327 cat >>conftest.$ac_ext <<_ACEOF
35328 /* end confdefs.h. */
35329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35331 #define $ac_func innocuous_$ac_func
35333 /* System header to define __stub macros and hopefully few prototypes,
35334 which can conflict with char $ac_func (); below.
35335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35336 <limits.h> exists even on freestanding compilers. */
35338 #ifdef __STDC__
35339 # include <limits.h>
35340 #else
35341 # include <assert.h>
35342 #endif
35344 #undef $ac_func
35346 /* Override any gcc2 internal prototype to avoid an error. */
35347 #ifdef __cplusplus
35348 extern "C"
35350 #endif
35351 /* We use char because int might match the return type of a gcc2
35352 builtin and then its argument prototype would still apply. */
35353 char $ac_func ();
35354 /* The GNU C library defines this for functions which it implements
35355 to always fail with ENOSYS. Some functions are actually named
35356 something starting with __ and the normal name is an alias. */
35357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35358 choke me
35359 #else
35360 char (*f) () = $ac_func;
35361 #endif
35362 #ifdef __cplusplus
35364 #endif
35367 main ()
35369 return f != $ac_func;
35371 return 0;
35373 _ACEOF
35374 rm -f conftest.$ac_objext conftest$ac_exeext
35375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35376 (eval $ac_link) 2>conftest.er1
35377 ac_status=$?
35378 grep -v '^ *+' conftest.er1 >conftest.err
35379 rm -f conftest.er1
35380 cat conftest.err >&5
35381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35382 (exit $ac_status); } &&
35383 { ac_try='test -z "$ac_c_werror_flag"
35384 || test ! -s conftest.err'
35385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35386 (eval $ac_try) 2>&5
35387 ac_status=$?
35388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389 (exit $ac_status); }; } &&
35390 { ac_try='test -s conftest$ac_exeext'
35391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35392 (eval $ac_try) 2>&5
35393 ac_status=$?
35394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35395 (exit $ac_status); }; }; then
35396 eval "$as_ac_var=yes"
35397 else
35398 echo "$as_me: failed program was:" >&5
35399 sed 's/^/| /' conftest.$ac_ext >&5
35401 eval "$as_ac_var=no"
35403 rm -f conftest.err conftest.$ac_objext \
35404 conftest$ac_exeext conftest.$ac_ext
35406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35408 if test `eval echo '${'$as_ac_var'}'` = yes; then
35409 cat >>confdefs.h <<_ACEOF
35410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35411 _ACEOF
35414 done
35416 else
35418 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
35419 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
35420 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35421 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
35422 echo $ECHO_N "(cached) $ECHO_C" >&6
35423 else
35427 ac_ext=cc
35428 ac_cpp='$CXXCPP $CPPFLAGS'
35429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35433 cat >conftest.$ac_ext <<_ACEOF
35434 /* confdefs.h. */
35435 _ACEOF
35436 cat confdefs.h >>conftest.$ac_ext
35437 cat >>conftest.$ac_ext <<_ACEOF
35438 /* end confdefs.h. */
35439 #include <math.h>
35441 main ()
35443 _sincosl(0, 0, 0);
35445 return 0;
35447 _ACEOF
35448 rm -f conftest.$ac_objext
35449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35450 (eval $ac_compile) 2>conftest.er1
35451 ac_status=$?
35452 grep -v '^ *+' conftest.er1 >conftest.err
35453 rm -f conftest.er1
35454 cat conftest.err >&5
35455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35456 (exit $ac_status); } &&
35457 { ac_try='test -z "$ac_cxx_werror_flag"
35458 || test ! -s conftest.err'
35459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35460 (eval $ac_try) 2>&5
35461 ac_status=$?
35462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35463 (exit $ac_status); }; } &&
35464 { ac_try='test -s conftest.$ac_objext'
35465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35466 (eval $ac_try) 2>&5
35467 ac_status=$?
35468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35469 (exit $ac_status); }; }; then
35470 glibcxx_cv_func__sincosl_use=yes
35471 else
35472 echo "$as_me: failed program was:" >&5
35473 sed 's/^/| /' conftest.$ac_ext >&5
35475 glibcxx_cv_func__sincosl_use=no
35477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35478 ac_ext=c
35479 ac_cpp='$CPP $CPPFLAGS'
35480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35488 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
35489 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
35491 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35493 for ac_func in _sincosl
35495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35496 echo "$as_me:$LINENO: checking for $ac_func" >&5
35497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35498 if eval "test \"\${$as_ac_var+set}\" = set"; then
35499 echo $ECHO_N "(cached) $ECHO_C" >&6
35500 else
35501 if test x$gcc_no_link = xyes; then
35502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35504 { (exit 1); exit 1; }; }
35506 cat >conftest.$ac_ext <<_ACEOF
35507 /* confdefs.h. */
35508 _ACEOF
35509 cat confdefs.h >>conftest.$ac_ext
35510 cat >>conftest.$ac_ext <<_ACEOF
35511 /* end confdefs.h. */
35512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35514 #define $ac_func innocuous_$ac_func
35516 /* System header to define __stub macros and hopefully few prototypes,
35517 which can conflict with char $ac_func (); below.
35518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35519 <limits.h> exists even on freestanding compilers. */
35521 #ifdef __STDC__
35522 # include <limits.h>
35523 #else
35524 # include <assert.h>
35525 #endif
35527 #undef $ac_func
35529 /* Override any gcc2 internal prototype to avoid an error. */
35530 #ifdef __cplusplus
35531 extern "C"
35533 #endif
35534 /* We use char because int might match the return type of a gcc2
35535 builtin and then its argument prototype would still apply. */
35536 char $ac_func ();
35537 /* The GNU C library defines this for functions which it implements
35538 to always fail with ENOSYS. Some functions are actually named
35539 something starting with __ and the normal name is an alias. */
35540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35541 choke me
35542 #else
35543 char (*f) () = $ac_func;
35544 #endif
35545 #ifdef __cplusplus
35547 #endif
35550 main ()
35552 return f != $ac_func;
35554 return 0;
35556 _ACEOF
35557 rm -f conftest.$ac_objext conftest$ac_exeext
35558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35559 (eval $ac_link) 2>conftest.er1
35560 ac_status=$?
35561 grep -v '^ *+' conftest.er1 >conftest.err
35562 rm -f conftest.er1
35563 cat conftest.err >&5
35564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35565 (exit $ac_status); } &&
35566 { ac_try='test -z "$ac_c_werror_flag"
35567 || test ! -s conftest.err'
35568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35569 (eval $ac_try) 2>&5
35570 ac_status=$?
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); }; } &&
35573 { ac_try='test -s conftest$ac_exeext'
35574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35575 (eval $ac_try) 2>&5
35576 ac_status=$?
35577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35578 (exit $ac_status); }; }; then
35579 eval "$as_ac_var=yes"
35580 else
35581 echo "$as_me: failed program was:" >&5
35582 sed 's/^/| /' conftest.$ac_ext >&5
35584 eval "$as_ac_var=no"
35586 rm -f conftest.err conftest.$ac_objext \
35587 conftest$ac_exeext conftest.$ac_ext
35589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35591 if test `eval echo '${'$as_ac_var'}'` = yes; then
35592 cat >>confdefs.h <<_ACEOF
35593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35594 _ACEOF
35597 done
35607 echo "$as_me:$LINENO: checking for finitel declaration" >&5
35608 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
35609 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35610 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
35611 echo $ECHO_N "(cached) $ECHO_C" >&6
35612 else
35616 ac_ext=cc
35617 ac_cpp='$CXXCPP $CPPFLAGS'
35618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35622 cat >conftest.$ac_ext <<_ACEOF
35623 /* confdefs.h. */
35624 _ACEOF
35625 cat confdefs.h >>conftest.$ac_ext
35626 cat >>conftest.$ac_ext <<_ACEOF
35627 /* end confdefs.h. */
35628 #include <math.h>
35629 #ifdef HAVE_IEEEFP_H
35630 #include <ieeefp.h>
35631 #endif
35634 main ()
35636 finitel(0);
35638 return 0;
35640 _ACEOF
35641 rm -f conftest.$ac_objext
35642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35643 (eval $ac_compile) 2>conftest.er1
35644 ac_status=$?
35645 grep -v '^ *+' conftest.er1 >conftest.err
35646 rm -f conftest.er1
35647 cat conftest.err >&5
35648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35649 (exit $ac_status); } &&
35650 { ac_try='test -z "$ac_cxx_werror_flag"
35651 || test ! -s conftest.err'
35652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35653 (eval $ac_try) 2>&5
35654 ac_status=$?
35655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35656 (exit $ac_status); }; } &&
35657 { ac_try='test -s conftest.$ac_objext'
35658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35659 (eval $ac_try) 2>&5
35660 ac_status=$?
35661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35662 (exit $ac_status); }; }; then
35663 glibcxx_cv_func_finitel_use=yes
35664 else
35665 echo "$as_me: failed program was:" >&5
35666 sed 's/^/| /' conftest.$ac_ext >&5
35668 glibcxx_cv_func_finitel_use=no
35670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35671 ac_ext=c
35672 ac_cpp='$CPP $CPPFLAGS'
35673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35681 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
35682 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
35684 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35686 for ac_func in finitel
35688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35689 echo "$as_me:$LINENO: checking for $ac_func" >&5
35690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35691 if eval "test \"\${$as_ac_var+set}\" = set"; then
35692 echo $ECHO_N "(cached) $ECHO_C" >&6
35693 else
35694 if test x$gcc_no_link = xyes; then
35695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35697 { (exit 1); exit 1; }; }
35699 cat >conftest.$ac_ext <<_ACEOF
35700 /* confdefs.h. */
35701 _ACEOF
35702 cat confdefs.h >>conftest.$ac_ext
35703 cat >>conftest.$ac_ext <<_ACEOF
35704 /* end confdefs.h. */
35705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35707 #define $ac_func innocuous_$ac_func
35709 /* System header to define __stub macros and hopefully few prototypes,
35710 which can conflict with char $ac_func (); below.
35711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35712 <limits.h> exists even on freestanding compilers. */
35714 #ifdef __STDC__
35715 # include <limits.h>
35716 #else
35717 # include <assert.h>
35718 #endif
35720 #undef $ac_func
35722 /* Override any gcc2 internal prototype to avoid an error. */
35723 #ifdef __cplusplus
35724 extern "C"
35726 #endif
35727 /* We use char because int might match the return type of a gcc2
35728 builtin and then its argument prototype would still apply. */
35729 char $ac_func ();
35730 /* The GNU C library defines this for functions which it implements
35731 to always fail with ENOSYS. Some functions are actually named
35732 something starting with __ and the normal name is an alias. */
35733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35734 choke me
35735 #else
35736 char (*f) () = $ac_func;
35737 #endif
35738 #ifdef __cplusplus
35740 #endif
35743 main ()
35745 return f != $ac_func;
35747 return 0;
35749 _ACEOF
35750 rm -f conftest.$ac_objext conftest$ac_exeext
35751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35752 (eval $ac_link) 2>conftest.er1
35753 ac_status=$?
35754 grep -v '^ *+' conftest.er1 >conftest.err
35755 rm -f conftest.er1
35756 cat conftest.err >&5
35757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35758 (exit $ac_status); } &&
35759 { ac_try='test -z "$ac_c_werror_flag"
35760 || test ! -s conftest.err'
35761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35762 (eval $ac_try) 2>&5
35763 ac_status=$?
35764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35765 (exit $ac_status); }; } &&
35766 { ac_try='test -s conftest$ac_exeext'
35767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35768 (eval $ac_try) 2>&5
35769 ac_status=$?
35770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35771 (exit $ac_status); }; }; then
35772 eval "$as_ac_var=yes"
35773 else
35774 echo "$as_me: failed program was:" >&5
35775 sed 's/^/| /' conftest.$ac_ext >&5
35777 eval "$as_ac_var=no"
35779 rm -f conftest.err conftest.$ac_objext \
35780 conftest$ac_exeext conftest.$ac_ext
35782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35784 if test `eval echo '${'$as_ac_var'}'` = yes; then
35785 cat >>confdefs.h <<_ACEOF
35786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35787 _ACEOF
35790 done
35792 else
35794 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
35795 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
35796 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35797 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
35798 echo $ECHO_N "(cached) $ECHO_C" >&6
35799 else
35803 ac_ext=cc
35804 ac_cpp='$CXXCPP $CPPFLAGS'
35805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35809 cat >conftest.$ac_ext <<_ACEOF
35810 /* confdefs.h. */
35811 _ACEOF
35812 cat confdefs.h >>conftest.$ac_ext
35813 cat >>conftest.$ac_ext <<_ACEOF
35814 /* end confdefs.h. */
35815 #include <math.h>
35816 #ifdef HAVE_IEEEFP_H
35817 #include <ieeefp.h>
35818 #endif
35821 main ()
35823 _finitel(0);
35825 return 0;
35827 _ACEOF
35828 rm -f conftest.$ac_objext
35829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35830 (eval $ac_compile) 2>conftest.er1
35831 ac_status=$?
35832 grep -v '^ *+' conftest.er1 >conftest.err
35833 rm -f conftest.er1
35834 cat conftest.err >&5
35835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35836 (exit $ac_status); } &&
35837 { ac_try='test -z "$ac_cxx_werror_flag"
35838 || test ! -s conftest.err'
35839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35840 (eval $ac_try) 2>&5
35841 ac_status=$?
35842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35843 (exit $ac_status); }; } &&
35844 { ac_try='test -s conftest.$ac_objext'
35845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35846 (eval $ac_try) 2>&5
35847 ac_status=$?
35848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35849 (exit $ac_status); }; }; then
35850 glibcxx_cv_func__finitel_use=yes
35851 else
35852 echo "$as_me: failed program was:" >&5
35853 sed 's/^/| /' conftest.$ac_ext >&5
35855 glibcxx_cv_func__finitel_use=no
35857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35858 ac_ext=c
35859 ac_cpp='$CPP $CPPFLAGS'
35860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35868 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
35869 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
35871 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35873 for ac_func in _finitel
35875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35876 echo "$as_me:$LINENO: checking for $ac_func" >&5
35877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35878 if eval "test \"\${$as_ac_var+set}\" = set"; then
35879 echo $ECHO_N "(cached) $ECHO_C" >&6
35880 else
35881 if test x$gcc_no_link = xyes; then
35882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35884 { (exit 1); exit 1; }; }
35886 cat >conftest.$ac_ext <<_ACEOF
35887 /* confdefs.h. */
35888 _ACEOF
35889 cat confdefs.h >>conftest.$ac_ext
35890 cat >>conftest.$ac_ext <<_ACEOF
35891 /* end confdefs.h. */
35892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35894 #define $ac_func innocuous_$ac_func
35896 /* System header to define __stub macros and hopefully few prototypes,
35897 which can conflict with char $ac_func (); below.
35898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35899 <limits.h> exists even on freestanding compilers. */
35901 #ifdef __STDC__
35902 # include <limits.h>
35903 #else
35904 # include <assert.h>
35905 #endif
35907 #undef $ac_func
35909 /* Override any gcc2 internal prototype to avoid an error. */
35910 #ifdef __cplusplus
35911 extern "C"
35913 #endif
35914 /* We use char because int might match the return type of a gcc2
35915 builtin and then its argument prototype would still apply. */
35916 char $ac_func ();
35917 /* The GNU C library defines this for functions which it implements
35918 to always fail with ENOSYS. Some functions are actually named
35919 something starting with __ and the normal name is an alias. */
35920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35921 choke me
35922 #else
35923 char (*f) () = $ac_func;
35924 #endif
35925 #ifdef __cplusplus
35927 #endif
35930 main ()
35932 return f != $ac_func;
35934 return 0;
35936 _ACEOF
35937 rm -f conftest.$ac_objext conftest$ac_exeext
35938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35939 (eval $ac_link) 2>conftest.er1
35940 ac_status=$?
35941 grep -v '^ *+' conftest.er1 >conftest.err
35942 rm -f conftest.er1
35943 cat conftest.err >&5
35944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35945 (exit $ac_status); } &&
35946 { ac_try='test -z "$ac_c_werror_flag"
35947 || test ! -s conftest.err'
35948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35949 (eval $ac_try) 2>&5
35950 ac_status=$?
35951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35952 (exit $ac_status); }; } &&
35953 { ac_try='test -s conftest$ac_exeext'
35954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35955 (eval $ac_try) 2>&5
35956 ac_status=$?
35957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958 (exit $ac_status); }; }; then
35959 eval "$as_ac_var=yes"
35960 else
35961 echo "$as_me: failed program was:" >&5
35962 sed 's/^/| /' conftest.$ac_ext >&5
35964 eval "$as_ac_var=no"
35966 rm -f conftest.err conftest.$ac_objext \
35967 conftest$ac_exeext conftest.$ac_ext
35969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35971 if test `eval echo '${'$as_ac_var'}'` = yes; then
35972 cat >>confdefs.h <<_ACEOF
35973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35974 _ACEOF
35977 done
35986 LIBS="$ac_save_LIBS"
35987 CXXFLAGS="$ac_save_CXXFLAGS"
35991 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
35992 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
35993 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
35994 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
35995 echo $ECHO_N "(cached) $ECHO_C" >&6
35996 else
36000 ac_ext=cc
36001 ac_cpp='$CXXCPP $CPPFLAGS'
36002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36006 cat >conftest.$ac_ext <<_ACEOF
36007 /* confdefs.h. */
36008 _ACEOF
36009 cat confdefs.h >>conftest.$ac_ext
36010 cat >>conftest.$ac_ext <<_ACEOF
36011 /* end confdefs.h. */
36012 #include <math.h>
36014 main ()
36016 __builtin_abs(0);
36018 return 0;
36020 _ACEOF
36021 rm -f conftest.$ac_objext
36022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36023 (eval $ac_compile) 2>conftest.er1
36024 ac_status=$?
36025 grep -v '^ *+' conftest.er1 >conftest.err
36026 rm -f conftest.er1
36027 cat conftest.err >&5
36028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36029 (exit $ac_status); } &&
36030 { ac_try='test -z "$ac_cxx_werror_flag"
36031 || test ! -s conftest.err'
36032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36033 (eval $ac_try) 2>&5
36034 ac_status=$?
36035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36036 (exit $ac_status); }; } &&
36037 { ac_try='test -s conftest.$ac_objext'
36038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36039 (eval $ac_try) 2>&5
36040 ac_status=$?
36041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36042 (exit $ac_status); }; }; then
36043 glibcxx_cv_func___builtin_abs_use=yes
36044 else
36045 echo "$as_me: failed program was:" >&5
36046 sed 's/^/| /' conftest.$ac_ext >&5
36048 glibcxx_cv_func___builtin_abs_use=no
36050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36051 ac_ext=c
36052 ac_cpp='$CPP $CPPFLAGS'
36053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36061 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
36062 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
36063 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
36064 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
36065 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
36066 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
36067 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
36068 echo $ECHO_N "(cached) $ECHO_C" >&6
36069 else
36071 if test x$gcc_no_link = xyes; then
36072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36074 { (exit 1); exit 1; }; }
36076 cat >conftest.$ac_ext <<_ACEOF
36077 /* confdefs.h. */
36078 _ACEOF
36079 cat confdefs.h >>conftest.$ac_ext
36080 cat >>conftest.$ac_ext <<_ACEOF
36081 /* end confdefs.h. */
36082 #include <math.h>
36084 main ()
36086 __builtin_abs(0);
36088 return 0;
36090 _ACEOF
36091 rm -f conftest.$ac_objext conftest$ac_exeext
36092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36093 (eval $ac_link) 2>conftest.er1
36094 ac_status=$?
36095 grep -v '^ *+' conftest.er1 >conftest.err
36096 rm -f conftest.er1
36097 cat conftest.err >&5
36098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36099 (exit $ac_status); } &&
36100 { ac_try='test -z "$ac_c_werror_flag"
36101 || test ! -s conftest.err'
36102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36103 (eval $ac_try) 2>&5
36104 ac_status=$?
36105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36106 (exit $ac_status); }; } &&
36107 { ac_try='test -s conftest$ac_exeext'
36108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36109 (eval $ac_try) 2>&5
36110 ac_status=$?
36111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36112 (exit $ac_status); }; }; then
36113 glibcxx_cv_func___builtin_abs_link=yes
36114 else
36115 echo "$as_me: failed program was:" >&5
36116 sed 's/^/| /' conftest.$ac_ext >&5
36118 glibcxx_cv_func___builtin_abs_link=no
36120 rm -f conftest.err conftest.$ac_objext \
36121 conftest$ac_exeext conftest.$ac_ext
36126 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
36127 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
36129 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
36131 cat >>confdefs.h <<\_ACEOF
36132 #define HAVE___BUILTIN_ABS 1
36133 _ACEOF
36140 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
36141 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
36142 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
36143 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
36144 echo $ECHO_N "(cached) $ECHO_C" >&6
36145 else
36149 ac_ext=cc
36150 ac_cpp='$CXXCPP $CPPFLAGS'
36151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36155 cat >conftest.$ac_ext <<_ACEOF
36156 /* confdefs.h. */
36157 _ACEOF
36158 cat confdefs.h >>conftest.$ac_ext
36159 cat >>conftest.$ac_ext <<_ACEOF
36160 /* end confdefs.h. */
36161 #include <math.h>
36163 main ()
36165 __builtin_fabsf(0);
36167 return 0;
36169 _ACEOF
36170 rm -f conftest.$ac_objext
36171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36172 (eval $ac_compile) 2>conftest.er1
36173 ac_status=$?
36174 grep -v '^ *+' conftest.er1 >conftest.err
36175 rm -f conftest.er1
36176 cat conftest.err >&5
36177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36178 (exit $ac_status); } &&
36179 { ac_try='test -z "$ac_cxx_werror_flag"
36180 || test ! -s conftest.err'
36181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36182 (eval $ac_try) 2>&5
36183 ac_status=$?
36184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36185 (exit $ac_status); }; } &&
36186 { ac_try='test -s conftest.$ac_objext'
36187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36188 (eval $ac_try) 2>&5
36189 ac_status=$?
36190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36191 (exit $ac_status); }; }; then
36192 glibcxx_cv_func___builtin_fabsf_use=yes
36193 else
36194 echo "$as_me: failed program was:" >&5
36195 sed 's/^/| /' conftest.$ac_ext >&5
36197 glibcxx_cv_func___builtin_fabsf_use=no
36199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36200 ac_ext=c
36201 ac_cpp='$CPP $CPPFLAGS'
36202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36210 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
36211 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
36212 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
36213 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
36214 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
36215 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
36216 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
36217 echo $ECHO_N "(cached) $ECHO_C" >&6
36218 else
36220 if test x$gcc_no_link = xyes; then
36221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36223 { (exit 1); exit 1; }; }
36225 cat >conftest.$ac_ext <<_ACEOF
36226 /* confdefs.h. */
36227 _ACEOF
36228 cat confdefs.h >>conftest.$ac_ext
36229 cat >>conftest.$ac_ext <<_ACEOF
36230 /* end confdefs.h. */
36231 #include <math.h>
36233 main ()
36235 __builtin_fabsf(0);
36237 return 0;
36239 _ACEOF
36240 rm -f conftest.$ac_objext conftest$ac_exeext
36241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36242 (eval $ac_link) 2>conftest.er1
36243 ac_status=$?
36244 grep -v '^ *+' conftest.er1 >conftest.err
36245 rm -f conftest.er1
36246 cat conftest.err >&5
36247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36248 (exit $ac_status); } &&
36249 { ac_try='test -z "$ac_c_werror_flag"
36250 || test ! -s conftest.err'
36251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36252 (eval $ac_try) 2>&5
36253 ac_status=$?
36254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36255 (exit $ac_status); }; } &&
36256 { ac_try='test -s conftest$ac_exeext'
36257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36258 (eval $ac_try) 2>&5
36259 ac_status=$?
36260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36261 (exit $ac_status); }; }; then
36262 glibcxx_cv_func___builtin_fabsf_link=yes
36263 else
36264 echo "$as_me: failed program was:" >&5
36265 sed 's/^/| /' conftest.$ac_ext >&5
36267 glibcxx_cv_func___builtin_fabsf_link=no
36269 rm -f conftest.err conftest.$ac_objext \
36270 conftest$ac_exeext conftest.$ac_ext
36275 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
36276 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
36278 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
36280 cat >>confdefs.h <<\_ACEOF
36281 #define HAVE___BUILTIN_FABSF 1
36282 _ACEOF
36289 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
36290 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
36291 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
36292 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
36293 echo $ECHO_N "(cached) $ECHO_C" >&6
36294 else
36298 ac_ext=cc
36299 ac_cpp='$CXXCPP $CPPFLAGS'
36300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36304 cat >conftest.$ac_ext <<_ACEOF
36305 /* confdefs.h. */
36306 _ACEOF
36307 cat confdefs.h >>conftest.$ac_ext
36308 cat >>conftest.$ac_ext <<_ACEOF
36309 /* end confdefs.h. */
36310 #include <math.h>
36312 main ()
36314 __builtin_fabs(0);
36316 return 0;
36318 _ACEOF
36319 rm -f conftest.$ac_objext
36320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36321 (eval $ac_compile) 2>conftest.er1
36322 ac_status=$?
36323 grep -v '^ *+' conftest.er1 >conftest.err
36324 rm -f conftest.er1
36325 cat conftest.err >&5
36326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36327 (exit $ac_status); } &&
36328 { ac_try='test -z "$ac_cxx_werror_flag"
36329 || test ! -s conftest.err'
36330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36331 (eval $ac_try) 2>&5
36332 ac_status=$?
36333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36334 (exit $ac_status); }; } &&
36335 { ac_try='test -s conftest.$ac_objext'
36336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36337 (eval $ac_try) 2>&5
36338 ac_status=$?
36339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36340 (exit $ac_status); }; }; then
36341 glibcxx_cv_func___builtin_fabs_use=yes
36342 else
36343 echo "$as_me: failed program was:" >&5
36344 sed 's/^/| /' conftest.$ac_ext >&5
36346 glibcxx_cv_func___builtin_fabs_use=no
36348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36349 ac_ext=c
36350 ac_cpp='$CPP $CPPFLAGS'
36351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36359 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
36360 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
36361 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
36362 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
36363 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
36364 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
36365 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
36366 echo $ECHO_N "(cached) $ECHO_C" >&6
36367 else
36369 if test x$gcc_no_link = xyes; then
36370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36372 { (exit 1); exit 1; }; }
36374 cat >conftest.$ac_ext <<_ACEOF
36375 /* confdefs.h. */
36376 _ACEOF
36377 cat confdefs.h >>conftest.$ac_ext
36378 cat >>conftest.$ac_ext <<_ACEOF
36379 /* end confdefs.h. */
36380 #include <math.h>
36382 main ()
36384 __builtin_fabs(0);
36386 return 0;
36388 _ACEOF
36389 rm -f conftest.$ac_objext conftest$ac_exeext
36390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36391 (eval $ac_link) 2>conftest.er1
36392 ac_status=$?
36393 grep -v '^ *+' conftest.er1 >conftest.err
36394 rm -f conftest.er1
36395 cat conftest.err >&5
36396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36397 (exit $ac_status); } &&
36398 { ac_try='test -z "$ac_c_werror_flag"
36399 || test ! -s conftest.err'
36400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36401 (eval $ac_try) 2>&5
36402 ac_status=$?
36403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36404 (exit $ac_status); }; } &&
36405 { ac_try='test -s conftest$ac_exeext'
36406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36407 (eval $ac_try) 2>&5
36408 ac_status=$?
36409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36410 (exit $ac_status); }; }; then
36411 glibcxx_cv_func___builtin_fabs_link=yes
36412 else
36413 echo "$as_me: failed program was:" >&5
36414 sed 's/^/| /' conftest.$ac_ext >&5
36416 glibcxx_cv_func___builtin_fabs_link=no
36418 rm -f conftest.err conftest.$ac_objext \
36419 conftest$ac_exeext conftest.$ac_ext
36424 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
36425 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
36427 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
36429 cat >>confdefs.h <<\_ACEOF
36430 #define HAVE___BUILTIN_FABS 1
36431 _ACEOF
36438 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
36439 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
36440 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
36441 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
36442 echo $ECHO_N "(cached) $ECHO_C" >&6
36443 else
36447 ac_ext=cc
36448 ac_cpp='$CXXCPP $CPPFLAGS'
36449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36453 cat >conftest.$ac_ext <<_ACEOF
36454 /* confdefs.h. */
36455 _ACEOF
36456 cat confdefs.h >>conftest.$ac_ext
36457 cat >>conftest.$ac_ext <<_ACEOF
36458 /* end confdefs.h. */
36459 #include <math.h>
36461 main ()
36463 __builtin_fabsl(0);
36465 return 0;
36467 _ACEOF
36468 rm -f conftest.$ac_objext
36469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36470 (eval $ac_compile) 2>conftest.er1
36471 ac_status=$?
36472 grep -v '^ *+' conftest.er1 >conftest.err
36473 rm -f conftest.er1
36474 cat conftest.err >&5
36475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36476 (exit $ac_status); } &&
36477 { ac_try='test -z "$ac_cxx_werror_flag"
36478 || test ! -s conftest.err'
36479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36480 (eval $ac_try) 2>&5
36481 ac_status=$?
36482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36483 (exit $ac_status); }; } &&
36484 { ac_try='test -s conftest.$ac_objext'
36485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36486 (eval $ac_try) 2>&5
36487 ac_status=$?
36488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36489 (exit $ac_status); }; }; then
36490 glibcxx_cv_func___builtin_fabsl_use=yes
36491 else
36492 echo "$as_me: failed program was:" >&5
36493 sed 's/^/| /' conftest.$ac_ext >&5
36495 glibcxx_cv_func___builtin_fabsl_use=no
36497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36498 ac_ext=c
36499 ac_cpp='$CPP $CPPFLAGS'
36500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36508 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
36509 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
36510 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
36511 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
36512 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
36513 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
36514 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
36515 echo $ECHO_N "(cached) $ECHO_C" >&6
36516 else
36518 if test x$gcc_no_link = xyes; then
36519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36521 { (exit 1); exit 1; }; }
36523 cat >conftest.$ac_ext <<_ACEOF
36524 /* confdefs.h. */
36525 _ACEOF
36526 cat confdefs.h >>conftest.$ac_ext
36527 cat >>conftest.$ac_ext <<_ACEOF
36528 /* end confdefs.h. */
36529 #include <math.h>
36531 main ()
36533 __builtin_fabsl(0);
36535 return 0;
36537 _ACEOF
36538 rm -f conftest.$ac_objext conftest$ac_exeext
36539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36540 (eval $ac_link) 2>conftest.er1
36541 ac_status=$?
36542 grep -v '^ *+' conftest.er1 >conftest.err
36543 rm -f conftest.er1
36544 cat conftest.err >&5
36545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36546 (exit $ac_status); } &&
36547 { ac_try='test -z "$ac_c_werror_flag"
36548 || test ! -s conftest.err'
36549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36550 (eval $ac_try) 2>&5
36551 ac_status=$?
36552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36553 (exit $ac_status); }; } &&
36554 { ac_try='test -s conftest$ac_exeext'
36555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36556 (eval $ac_try) 2>&5
36557 ac_status=$?
36558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36559 (exit $ac_status); }; }; then
36560 glibcxx_cv_func___builtin_fabsl_link=yes
36561 else
36562 echo "$as_me: failed program was:" >&5
36563 sed 's/^/| /' conftest.$ac_ext >&5
36565 glibcxx_cv_func___builtin_fabsl_link=no
36567 rm -f conftest.err conftest.$ac_objext \
36568 conftest$ac_exeext conftest.$ac_ext
36573 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
36574 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
36576 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
36578 cat >>confdefs.h <<\_ACEOF
36579 #define HAVE___BUILTIN_FABSL 1
36580 _ACEOF
36587 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
36588 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
36589 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
36590 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
36591 echo $ECHO_N "(cached) $ECHO_C" >&6
36592 else
36596 ac_ext=cc
36597 ac_cpp='$CXXCPP $CPPFLAGS'
36598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36602 cat >conftest.$ac_ext <<_ACEOF
36603 /* confdefs.h. */
36604 _ACEOF
36605 cat confdefs.h >>conftest.$ac_ext
36606 cat >>conftest.$ac_ext <<_ACEOF
36607 /* end confdefs.h. */
36608 #include <math.h>
36610 main ()
36612 __builtin_labs(0);
36614 return 0;
36616 _ACEOF
36617 rm -f conftest.$ac_objext
36618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36619 (eval $ac_compile) 2>conftest.er1
36620 ac_status=$?
36621 grep -v '^ *+' conftest.er1 >conftest.err
36622 rm -f conftest.er1
36623 cat conftest.err >&5
36624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36625 (exit $ac_status); } &&
36626 { ac_try='test -z "$ac_cxx_werror_flag"
36627 || test ! -s conftest.err'
36628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36629 (eval $ac_try) 2>&5
36630 ac_status=$?
36631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36632 (exit $ac_status); }; } &&
36633 { ac_try='test -s conftest.$ac_objext'
36634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36635 (eval $ac_try) 2>&5
36636 ac_status=$?
36637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36638 (exit $ac_status); }; }; then
36639 glibcxx_cv_func___builtin_labs_use=yes
36640 else
36641 echo "$as_me: failed program was:" >&5
36642 sed 's/^/| /' conftest.$ac_ext >&5
36644 glibcxx_cv_func___builtin_labs_use=no
36646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36647 ac_ext=c
36648 ac_cpp='$CPP $CPPFLAGS'
36649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36657 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
36658 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
36659 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
36660 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
36661 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
36662 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
36663 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
36664 echo $ECHO_N "(cached) $ECHO_C" >&6
36665 else
36667 if test x$gcc_no_link = xyes; then
36668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36670 { (exit 1); exit 1; }; }
36672 cat >conftest.$ac_ext <<_ACEOF
36673 /* confdefs.h. */
36674 _ACEOF
36675 cat confdefs.h >>conftest.$ac_ext
36676 cat >>conftest.$ac_ext <<_ACEOF
36677 /* end confdefs.h. */
36678 #include <math.h>
36680 main ()
36682 __builtin_labs(0);
36684 return 0;
36686 _ACEOF
36687 rm -f conftest.$ac_objext conftest$ac_exeext
36688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36689 (eval $ac_link) 2>conftest.er1
36690 ac_status=$?
36691 grep -v '^ *+' conftest.er1 >conftest.err
36692 rm -f conftest.er1
36693 cat conftest.err >&5
36694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36695 (exit $ac_status); } &&
36696 { ac_try='test -z "$ac_c_werror_flag"
36697 || test ! -s conftest.err'
36698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36699 (eval $ac_try) 2>&5
36700 ac_status=$?
36701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36702 (exit $ac_status); }; } &&
36703 { ac_try='test -s conftest$ac_exeext'
36704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36705 (eval $ac_try) 2>&5
36706 ac_status=$?
36707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36708 (exit $ac_status); }; }; then
36709 glibcxx_cv_func___builtin_labs_link=yes
36710 else
36711 echo "$as_me: failed program was:" >&5
36712 sed 's/^/| /' conftest.$ac_ext >&5
36714 glibcxx_cv_func___builtin_labs_link=no
36716 rm -f conftest.err conftest.$ac_objext \
36717 conftest$ac_exeext conftest.$ac_ext
36722 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
36723 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
36725 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
36727 cat >>confdefs.h <<\_ACEOF
36728 #define HAVE___BUILTIN_LABS 1
36729 _ACEOF
36737 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
36738 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
36739 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
36740 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
36741 echo $ECHO_N "(cached) $ECHO_C" >&6
36742 else
36746 ac_ext=cc
36747 ac_cpp='$CXXCPP $CPPFLAGS'
36748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36752 cat >conftest.$ac_ext <<_ACEOF
36753 /* confdefs.h. */
36754 _ACEOF
36755 cat confdefs.h >>conftest.$ac_ext
36756 cat >>conftest.$ac_ext <<_ACEOF
36757 /* end confdefs.h. */
36758 #include <math.h>
36760 main ()
36762 __builtin_sqrtf(0);
36764 return 0;
36766 _ACEOF
36767 rm -f conftest.$ac_objext
36768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36769 (eval $ac_compile) 2>conftest.er1
36770 ac_status=$?
36771 grep -v '^ *+' conftest.er1 >conftest.err
36772 rm -f conftest.er1
36773 cat conftest.err >&5
36774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36775 (exit $ac_status); } &&
36776 { ac_try='test -z "$ac_cxx_werror_flag"
36777 || test ! -s conftest.err'
36778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36779 (eval $ac_try) 2>&5
36780 ac_status=$?
36781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36782 (exit $ac_status); }; } &&
36783 { ac_try='test -s conftest.$ac_objext'
36784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36785 (eval $ac_try) 2>&5
36786 ac_status=$?
36787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36788 (exit $ac_status); }; }; then
36789 glibcxx_cv_func___builtin_sqrtf_use=yes
36790 else
36791 echo "$as_me: failed program was:" >&5
36792 sed 's/^/| /' conftest.$ac_ext >&5
36794 glibcxx_cv_func___builtin_sqrtf_use=no
36796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36797 ac_ext=c
36798 ac_cpp='$CPP $CPPFLAGS'
36799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36807 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
36808 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
36809 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
36810 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
36811 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
36812 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
36813 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
36814 echo $ECHO_N "(cached) $ECHO_C" >&6
36815 else
36817 if test x$gcc_no_link = xyes; then
36818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36820 { (exit 1); exit 1; }; }
36822 cat >conftest.$ac_ext <<_ACEOF
36823 /* confdefs.h. */
36824 _ACEOF
36825 cat confdefs.h >>conftest.$ac_ext
36826 cat >>conftest.$ac_ext <<_ACEOF
36827 /* end confdefs.h. */
36828 #include <math.h>
36830 main ()
36832 __builtin_sqrtf(0);
36834 return 0;
36836 _ACEOF
36837 rm -f conftest.$ac_objext conftest$ac_exeext
36838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36839 (eval $ac_link) 2>conftest.er1
36840 ac_status=$?
36841 grep -v '^ *+' conftest.er1 >conftest.err
36842 rm -f conftest.er1
36843 cat conftest.err >&5
36844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36845 (exit $ac_status); } &&
36846 { ac_try='test -z "$ac_c_werror_flag"
36847 || test ! -s conftest.err'
36848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36849 (eval $ac_try) 2>&5
36850 ac_status=$?
36851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36852 (exit $ac_status); }; } &&
36853 { ac_try='test -s conftest$ac_exeext'
36854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36855 (eval $ac_try) 2>&5
36856 ac_status=$?
36857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36858 (exit $ac_status); }; }; then
36859 glibcxx_cv_func___builtin_sqrtf_link=yes
36860 else
36861 echo "$as_me: failed program was:" >&5
36862 sed 's/^/| /' conftest.$ac_ext >&5
36864 glibcxx_cv_func___builtin_sqrtf_link=no
36866 rm -f conftest.err conftest.$ac_objext \
36867 conftest$ac_exeext conftest.$ac_ext
36872 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
36873 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
36875 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
36877 cat >>confdefs.h <<\_ACEOF
36878 #define HAVE___BUILTIN_SQRTF 1
36879 _ACEOF
36886 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
36887 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
36888 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
36889 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
36890 echo $ECHO_N "(cached) $ECHO_C" >&6
36891 else
36895 ac_ext=cc
36896 ac_cpp='$CXXCPP $CPPFLAGS'
36897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36901 cat >conftest.$ac_ext <<_ACEOF
36902 /* confdefs.h. */
36903 _ACEOF
36904 cat confdefs.h >>conftest.$ac_ext
36905 cat >>conftest.$ac_ext <<_ACEOF
36906 /* end confdefs.h. */
36907 #include <math.h>
36909 main ()
36911 __builtin_sqrt(0);
36913 return 0;
36915 _ACEOF
36916 rm -f conftest.$ac_objext
36917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36918 (eval $ac_compile) 2>conftest.er1
36919 ac_status=$?
36920 grep -v '^ *+' conftest.er1 >conftest.err
36921 rm -f conftest.er1
36922 cat conftest.err >&5
36923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36924 (exit $ac_status); } &&
36925 { ac_try='test -z "$ac_cxx_werror_flag"
36926 || test ! -s conftest.err'
36927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36928 (eval $ac_try) 2>&5
36929 ac_status=$?
36930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36931 (exit $ac_status); }; } &&
36932 { ac_try='test -s conftest.$ac_objext'
36933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36934 (eval $ac_try) 2>&5
36935 ac_status=$?
36936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36937 (exit $ac_status); }; }; then
36938 glibcxx_cv_func___builtin_sqrt_use=yes
36939 else
36940 echo "$as_me: failed program was:" >&5
36941 sed 's/^/| /' conftest.$ac_ext >&5
36943 glibcxx_cv_func___builtin_sqrt_use=no
36945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36946 ac_ext=c
36947 ac_cpp='$CPP $CPPFLAGS'
36948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36956 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
36957 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
36958 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
36959 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
36960 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
36961 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
36962 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
36963 echo $ECHO_N "(cached) $ECHO_C" >&6
36964 else
36966 if test x$gcc_no_link = xyes; then
36967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36969 { (exit 1); exit 1; }; }
36971 cat >conftest.$ac_ext <<_ACEOF
36972 /* confdefs.h. */
36973 _ACEOF
36974 cat confdefs.h >>conftest.$ac_ext
36975 cat >>conftest.$ac_ext <<_ACEOF
36976 /* end confdefs.h. */
36977 #include <math.h>
36979 main ()
36981 __builtin_sqrt(0);
36983 return 0;
36985 _ACEOF
36986 rm -f conftest.$ac_objext conftest$ac_exeext
36987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36988 (eval $ac_link) 2>conftest.er1
36989 ac_status=$?
36990 grep -v '^ *+' conftest.er1 >conftest.err
36991 rm -f conftest.er1
36992 cat conftest.err >&5
36993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36994 (exit $ac_status); } &&
36995 { ac_try='test -z "$ac_c_werror_flag"
36996 || test ! -s conftest.err'
36997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36998 (eval $ac_try) 2>&5
36999 ac_status=$?
37000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37001 (exit $ac_status); }; } &&
37002 { ac_try='test -s conftest$ac_exeext'
37003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37004 (eval $ac_try) 2>&5
37005 ac_status=$?
37006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37007 (exit $ac_status); }; }; then
37008 glibcxx_cv_func___builtin_sqrt_link=yes
37009 else
37010 echo "$as_me: failed program was:" >&5
37011 sed 's/^/| /' conftest.$ac_ext >&5
37013 glibcxx_cv_func___builtin_sqrt_link=no
37015 rm -f conftest.err conftest.$ac_objext \
37016 conftest$ac_exeext conftest.$ac_ext
37021 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
37022 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
37024 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
37026 cat >>confdefs.h <<\_ACEOF
37027 #define HAVE___BUILTIN_SQRT 1
37028 _ACEOF
37035 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
37036 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
37037 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
37038 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
37039 echo $ECHO_N "(cached) $ECHO_C" >&6
37040 else
37044 ac_ext=cc
37045 ac_cpp='$CXXCPP $CPPFLAGS'
37046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37050 cat >conftest.$ac_ext <<_ACEOF
37051 /* confdefs.h. */
37052 _ACEOF
37053 cat confdefs.h >>conftest.$ac_ext
37054 cat >>conftest.$ac_ext <<_ACEOF
37055 /* end confdefs.h. */
37056 #include <math.h>
37058 main ()
37060 __builtin_sqrtl(0);
37062 return 0;
37064 _ACEOF
37065 rm -f conftest.$ac_objext
37066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37067 (eval $ac_compile) 2>conftest.er1
37068 ac_status=$?
37069 grep -v '^ *+' conftest.er1 >conftest.err
37070 rm -f conftest.er1
37071 cat conftest.err >&5
37072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37073 (exit $ac_status); } &&
37074 { ac_try='test -z "$ac_cxx_werror_flag"
37075 || test ! -s conftest.err'
37076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37077 (eval $ac_try) 2>&5
37078 ac_status=$?
37079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37080 (exit $ac_status); }; } &&
37081 { ac_try='test -s conftest.$ac_objext'
37082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37083 (eval $ac_try) 2>&5
37084 ac_status=$?
37085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37086 (exit $ac_status); }; }; then
37087 glibcxx_cv_func___builtin_sqrtl_use=yes
37088 else
37089 echo "$as_me: failed program was:" >&5
37090 sed 's/^/| /' conftest.$ac_ext >&5
37092 glibcxx_cv_func___builtin_sqrtl_use=no
37094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37095 ac_ext=c
37096 ac_cpp='$CPP $CPPFLAGS'
37097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37105 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
37106 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
37107 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
37108 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
37109 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
37110 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
37111 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
37112 echo $ECHO_N "(cached) $ECHO_C" >&6
37113 else
37115 if test x$gcc_no_link = xyes; then
37116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37118 { (exit 1); exit 1; }; }
37120 cat >conftest.$ac_ext <<_ACEOF
37121 /* confdefs.h. */
37122 _ACEOF
37123 cat confdefs.h >>conftest.$ac_ext
37124 cat >>conftest.$ac_ext <<_ACEOF
37125 /* end confdefs.h. */
37126 #include <math.h>
37128 main ()
37130 __builtin_sqrtl(0);
37132 return 0;
37134 _ACEOF
37135 rm -f conftest.$ac_objext conftest$ac_exeext
37136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37137 (eval $ac_link) 2>conftest.er1
37138 ac_status=$?
37139 grep -v '^ *+' conftest.er1 >conftest.err
37140 rm -f conftest.er1
37141 cat conftest.err >&5
37142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37143 (exit $ac_status); } &&
37144 { ac_try='test -z "$ac_c_werror_flag"
37145 || test ! -s conftest.err'
37146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37147 (eval $ac_try) 2>&5
37148 ac_status=$?
37149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37150 (exit $ac_status); }; } &&
37151 { ac_try='test -s conftest$ac_exeext'
37152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37153 (eval $ac_try) 2>&5
37154 ac_status=$?
37155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37156 (exit $ac_status); }; }; then
37157 glibcxx_cv_func___builtin_sqrtl_link=yes
37158 else
37159 echo "$as_me: failed program was:" >&5
37160 sed 's/^/| /' conftest.$ac_ext >&5
37162 glibcxx_cv_func___builtin_sqrtl_link=no
37164 rm -f conftest.err conftest.$ac_objext \
37165 conftest$ac_exeext conftest.$ac_ext
37170 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
37171 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
37173 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
37175 cat >>confdefs.h <<\_ACEOF
37176 #define HAVE___BUILTIN_SQRTL 1
37177 _ACEOF
37185 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
37186 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
37187 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
37188 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
37189 echo $ECHO_N "(cached) $ECHO_C" >&6
37190 else
37194 ac_ext=cc
37195 ac_cpp='$CXXCPP $CPPFLAGS'
37196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37200 cat >conftest.$ac_ext <<_ACEOF
37201 /* confdefs.h. */
37202 _ACEOF
37203 cat confdefs.h >>conftest.$ac_ext
37204 cat >>conftest.$ac_ext <<_ACEOF
37205 /* end confdefs.h. */
37206 #include <math.h>
37208 main ()
37210 __builtin_sinf(0);
37212 return 0;
37214 _ACEOF
37215 rm -f conftest.$ac_objext
37216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37217 (eval $ac_compile) 2>conftest.er1
37218 ac_status=$?
37219 grep -v '^ *+' conftest.er1 >conftest.err
37220 rm -f conftest.er1
37221 cat conftest.err >&5
37222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37223 (exit $ac_status); } &&
37224 { ac_try='test -z "$ac_cxx_werror_flag"
37225 || test ! -s conftest.err'
37226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37227 (eval $ac_try) 2>&5
37228 ac_status=$?
37229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37230 (exit $ac_status); }; } &&
37231 { ac_try='test -s conftest.$ac_objext'
37232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37233 (eval $ac_try) 2>&5
37234 ac_status=$?
37235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37236 (exit $ac_status); }; }; then
37237 glibcxx_cv_func___builtin_sinf_use=yes
37238 else
37239 echo "$as_me: failed program was:" >&5
37240 sed 's/^/| /' conftest.$ac_ext >&5
37242 glibcxx_cv_func___builtin_sinf_use=no
37244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37245 ac_ext=c
37246 ac_cpp='$CPP $CPPFLAGS'
37247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37255 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
37256 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
37257 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
37258 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
37259 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
37260 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
37261 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
37262 echo $ECHO_N "(cached) $ECHO_C" >&6
37263 else
37265 if test x$gcc_no_link = xyes; then
37266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37268 { (exit 1); exit 1; }; }
37270 cat >conftest.$ac_ext <<_ACEOF
37271 /* confdefs.h. */
37272 _ACEOF
37273 cat confdefs.h >>conftest.$ac_ext
37274 cat >>conftest.$ac_ext <<_ACEOF
37275 /* end confdefs.h. */
37276 #include <math.h>
37278 main ()
37280 __builtin_sinf(0);
37282 return 0;
37284 _ACEOF
37285 rm -f conftest.$ac_objext conftest$ac_exeext
37286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37287 (eval $ac_link) 2>conftest.er1
37288 ac_status=$?
37289 grep -v '^ *+' conftest.er1 >conftest.err
37290 rm -f conftest.er1
37291 cat conftest.err >&5
37292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37293 (exit $ac_status); } &&
37294 { ac_try='test -z "$ac_c_werror_flag"
37295 || test ! -s conftest.err'
37296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37297 (eval $ac_try) 2>&5
37298 ac_status=$?
37299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37300 (exit $ac_status); }; } &&
37301 { ac_try='test -s conftest$ac_exeext'
37302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37303 (eval $ac_try) 2>&5
37304 ac_status=$?
37305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37306 (exit $ac_status); }; }; then
37307 glibcxx_cv_func___builtin_sinf_link=yes
37308 else
37309 echo "$as_me: failed program was:" >&5
37310 sed 's/^/| /' conftest.$ac_ext >&5
37312 glibcxx_cv_func___builtin_sinf_link=no
37314 rm -f conftest.err conftest.$ac_objext \
37315 conftest$ac_exeext conftest.$ac_ext
37320 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
37321 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
37323 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
37325 cat >>confdefs.h <<\_ACEOF
37326 #define HAVE___BUILTIN_SINF 1
37327 _ACEOF
37334 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
37335 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
37336 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
37337 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
37338 echo $ECHO_N "(cached) $ECHO_C" >&6
37339 else
37343 ac_ext=cc
37344 ac_cpp='$CXXCPP $CPPFLAGS'
37345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37349 cat >conftest.$ac_ext <<_ACEOF
37350 /* confdefs.h. */
37351 _ACEOF
37352 cat confdefs.h >>conftest.$ac_ext
37353 cat >>conftest.$ac_ext <<_ACEOF
37354 /* end confdefs.h. */
37355 #include <math.h>
37357 main ()
37359 __builtin_sin(0);
37361 return 0;
37363 _ACEOF
37364 rm -f conftest.$ac_objext
37365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37366 (eval $ac_compile) 2>conftest.er1
37367 ac_status=$?
37368 grep -v '^ *+' conftest.er1 >conftest.err
37369 rm -f conftest.er1
37370 cat conftest.err >&5
37371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37372 (exit $ac_status); } &&
37373 { ac_try='test -z "$ac_cxx_werror_flag"
37374 || test ! -s conftest.err'
37375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37376 (eval $ac_try) 2>&5
37377 ac_status=$?
37378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37379 (exit $ac_status); }; } &&
37380 { ac_try='test -s conftest.$ac_objext'
37381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37382 (eval $ac_try) 2>&5
37383 ac_status=$?
37384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37385 (exit $ac_status); }; }; then
37386 glibcxx_cv_func___builtin_sin_use=yes
37387 else
37388 echo "$as_me: failed program was:" >&5
37389 sed 's/^/| /' conftest.$ac_ext >&5
37391 glibcxx_cv_func___builtin_sin_use=no
37393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37394 ac_ext=c
37395 ac_cpp='$CPP $CPPFLAGS'
37396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37404 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
37405 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
37406 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
37407 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
37408 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
37409 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
37410 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
37411 echo $ECHO_N "(cached) $ECHO_C" >&6
37412 else
37414 if test x$gcc_no_link = xyes; then
37415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37417 { (exit 1); exit 1; }; }
37419 cat >conftest.$ac_ext <<_ACEOF
37420 /* confdefs.h. */
37421 _ACEOF
37422 cat confdefs.h >>conftest.$ac_ext
37423 cat >>conftest.$ac_ext <<_ACEOF
37424 /* end confdefs.h. */
37425 #include <math.h>
37427 main ()
37429 __builtin_sin(0);
37431 return 0;
37433 _ACEOF
37434 rm -f conftest.$ac_objext conftest$ac_exeext
37435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37436 (eval $ac_link) 2>conftest.er1
37437 ac_status=$?
37438 grep -v '^ *+' conftest.er1 >conftest.err
37439 rm -f conftest.er1
37440 cat conftest.err >&5
37441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37442 (exit $ac_status); } &&
37443 { ac_try='test -z "$ac_c_werror_flag"
37444 || test ! -s conftest.err'
37445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37446 (eval $ac_try) 2>&5
37447 ac_status=$?
37448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37449 (exit $ac_status); }; } &&
37450 { ac_try='test -s conftest$ac_exeext'
37451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37452 (eval $ac_try) 2>&5
37453 ac_status=$?
37454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37455 (exit $ac_status); }; }; then
37456 glibcxx_cv_func___builtin_sin_link=yes
37457 else
37458 echo "$as_me: failed program was:" >&5
37459 sed 's/^/| /' conftest.$ac_ext >&5
37461 glibcxx_cv_func___builtin_sin_link=no
37463 rm -f conftest.err conftest.$ac_objext \
37464 conftest$ac_exeext conftest.$ac_ext
37469 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
37470 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
37472 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
37474 cat >>confdefs.h <<\_ACEOF
37475 #define HAVE___BUILTIN_SIN 1
37476 _ACEOF
37483 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
37484 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
37485 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
37486 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
37487 echo $ECHO_N "(cached) $ECHO_C" >&6
37488 else
37492 ac_ext=cc
37493 ac_cpp='$CXXCPP $CPPFLAGS'
37494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37498 cat >conftest.$ac_ext <<_ACEOF
37499 /* confdefs.h. */
37500 _ACEOF
37501 cat confdefs.h >>conftest.$ac_ext
37502 cat >>conftest.$ac_ext <<_ACEOF
37503 /* end confdefs.h. */
37504 #include <math.h>
37506 main ()
37508 __builtin_sinl(0);
37510 return 0;
37512 _ACEOF
37513 rm -f conftest.$ac_objext
37514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37515 (eval $ac_compile) 2>conftest.er1
37516 ac_status=$?
37517 grep -v '^ *+' conftest.er1 >conftest.err
37518 rm -f conftest.er1
37519 cat conftest.err >&5
37520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37521 (exit $ac_status); } &&
37522 { ac_try='test -z "$ac_cxx_werror_flag"
37523 || test ! -s conftest.err'
37524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37525 (eval $ac_try) 2>&5
37526 ac_status=$?
37527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37528 (exit $ac_status); }; } &&
37529 { ac_try='test -s conftest.$ac_objext'
37530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37531 (eval $ac_try) 2>&5
37532 ac_status=$?
37533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37534 (exit $ac_status); }; }; then
37535 glibcxx_cv_func___builtin_sinl_use=yes
37536 else
37537 echo "$as_me: failed program was:" >&5
37538 sed 's/^/| /' conftest.$ac_ext >&5
37540 glibcxx_cv_func___builtin_sinl_use=no
37542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37543 ac_ext=c
37544 ac_cpp='$CPP $CPPFLAGS'
37545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37553 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
37554 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
37555 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
37556 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
37557 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
37558 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
37559 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
37560 echo $ECHO_N "(cached) $ECHO_C" >&6
37561 else
37563 if test x$gcc_no_link = xyes; then
37564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37566 { (exit 1); exit 1; }; }
37568 cat >conftest.$ac_ext <<_ACEOF
37569 /* confdefs.h. */
37570 _ACEOF
37571 cat confdefs.h >>conftest.$ac_ext
37572 cat >>conftest.$ac_ext <<_ACEOF
37573 /* end confdefs.h. */
37574 #include <math.h>
37576 main ()
37578 __builtin_sinl(0);
37580 return 0;
37582 _ACEOF
37583 rm -f conftest.$ac_objext conftest$ac_exeext
37584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37585 (eval $ac_link) 2>conftest.er1
37586 ac_status=$?
37587 grep -v '^ *+' conftest.er1 >conftest.err
37588 rm -f conftest.er1
37589 cat conftest.err >&5
37590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37591 (exit $ac_status); } &&
37592 { ac_try='test -z "$ac_c_werror_flag"
37593 || test ! -s conftest.err'
37594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37595 (eval $ac_try) 2>&5
37596 ac_status=$?
37597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37598 (exit $ac_status); }; } &&
37599 { ac_try='test -s conftest$ac_exeext'
37600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37601 (eval $ac_try) 2>&5
37602 ac_status=$?
37603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37604 (exit $ac_status); }; }; then
37605 glibcxx_cv_func___builtin_sinl_link=yes
37606 else
37607 echo "$as_me: failed program was:" >&5
37608 sed 's/^/| /' conftest.$ac_ext >&5
37610 glibcxx_cv_func___builtin_sinl_link=no
37612 rm -f conftest.err conftest.$ac_objext \
37613 conftest$ac_exeext conftest.$ac_ext
37618 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
37619 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
37621 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
37623 cat >>confdefs.h <<\_ACEOF
37624 #define HAVE___BUILTIN_SINL 1
37625 _ACEOF
37633 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
37634 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
37635 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
37636 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
37637 echo $ECHO_N "(cached) $ECHO_C" >&6
37638 else
37642 ac_ext=cc
37643 ac_cpp='$CXXCPP $CPPFLAGS'
37644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37648 cat >conftest.$ac_ext <<_ACEOF
37649 /* confdefs.h. */
37650 _ACEOF
37651 cat confdefs.h >>conftest.$ac_ext
37652 cat >>conftest.$ac_ext <<_ACEOF
37653 /* end confdefs.h. */
37654 #include <math.h>
37656 main ()
37658 __builtin_cosf(0);
37660 return 0;
37662 _ACEOF
37663 rm -f conftest.$ac_objext
37664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37665 (eval $ac_compile) 2>conftest.er1
37666 ac_status=$?
37667 grep -v '^ *+' conftest.er1 >conftest.err
37668 rm -f conftest.er1
37669 cat conftest.err >&5
37670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37671 (exit $ac_status); } &&
37672 { ac_try='test -z "$ac_cxx_werror_flag"
37673 || test ! -s conftest.err'
37674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37675 (eval $ac_try) 2>&5
37676 ac_status=$?
37677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37678 (exit $ac_status); }; } &&
37679 { ac_try='test -s conftest.$ac_objext'
37680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37681 (eval $ac_try) 2>&5
37682 ac_status=$?
37683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37684 (exit $ac_status); }; }; then
37685 glibcxx_cv_func___builtin_cosf_use=yes
37686 else
37687 echo "$as_me: failed program was:" >&5
37688 sed 's/^/| /' conftest.$ac_ext >&5
37690 glibcxx_cv_func___builtin_cosf_use=no
37692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37693 ac_ext=c
37694 ac_cpp='$CPP $CPPFLAGS'
37695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37703 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
37704 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
37705 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
37706 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
37707 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
37708 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
37709 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
37710 echo $ECHO_N "(cached) $ECHO_C" >&6
37711 else
37713 if test x$gcc_no_link = xyes; then
37714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37716 { (exit 1); exit 1; }; }
37718 cat >conftest.$ac_ext <<_ACEOF
37719 /* confdefs.h. */
37720 _ACEOF
37721 cat confdefs.h >>conftest.$ac_ext
37722 cat >>conftest.$ac_ext <<_ACEOF
37723 /* end confdefs.h. */
37724 #include <math.h>
37726 main ()
37728 __builtin_cosf(0);
37730 return 0;
37732 _ACEOF
37733 rm -f conftest.$ac_objext conftest$ac_exeext
37734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37735 (eval $ac_link) 2>conftest.er1
37736 ac_status=$?
37737 grep -v '^ *+' conftest.er1 >conftest.err
37738 rm -f conftest.er1
37739 cat conftest.err >&5
37740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37741 (exit $ac_status); } &&
37742 { ac_try='test -z "$ac_c_werror_flag"
37743 || test ! -s conftest.err'
37744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37745 (eval $ac_try) 2>&5
37746 ac_status=$?
37747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37748 (exit $ac_status); }; } &&
37749 { ac_try='test -s conftest$ac_exeext'
37750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37751 (eval $ac_try) 2>&5
37752 ac_status=$?
37753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37754 (exit $ac_status); }; }; then
37755 glibcxx_cv_func___builtin_cosf_link=yes
37756 else
37757 echo "$as_me: failed program was:" >&5
37758 sed 's/^/| /' conftest.$ac_ext >&5
37760 glibcxx_cv_func___builtin_cosf_link=no
37762 rm -f conftest.err conftest.$ac_objext \
37763 conftest$ac_exeext conftest.$ac_ext
37768 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
37769 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
37771 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
37773 cat >>confdefs.h <<\_ACEOF
37774 #define HAVE___BUILTIN_COSF 1
37775 _ACEOF
37782 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
37783 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
37784 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
37785 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
37786 echo $ECHO_N "(cached) $ECHO_C" >&6
37787 else
37791 ac_ext=cc
37792 ac_cpp='$CXXCPP $CPPFLAGS'
37793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37797 cat >conftest.$ac_ext <<_ACEOF
37798 /* confdefs.h. */
37799 _ACEOF
37800 cat confdefs.h >>conftest.$ac_ext
37801 cat >>conftest.$ac_ext <<_ACEOF
37802 /* end confdefs.h. */
37803 #include <math.h>
37805 main ()
37807 __builtin_cos(0);
37809 return 0;
37811 _ACEOF
37812 rm -f conftest.$ac_objext
37813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37814 (eval $ac_compile) 2>conftest.er1
37815 ac_status=$?
37816 grep -v '^ *+' conftest.er1 >conftest.err
37817 rm -f conftest.er1
37818 cat conftest.err >&5
37819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37820 (exit $ac_status); } &&
37821 { ac_try='test -z "$ac_cxx_werror_flag"
37822 || test ! -s conftest.err'
37823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37824 (eval $ac_try) 2>&5
37825 ac_status=$?
37826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37827 (exit $ac_status); }; } &&
37828 { ac_try='test -s conftest.$ac_objext'
37829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37830 (eval $ac_try) 2>&5
37831 ac_status=$?
37832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37833 (exit $ac_status); }; }; then
37834 glibcxx_cv_func___builtin_cos_use=yes
37835 else
37836 echo "$as_me: failed program was:" >&5
37837 sed 's/^/| /' conftest.$ac_ext >&5
37839 glibcxx_cv_func___builtin_cos_use=no
37841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37842 ac_ext=c
37843 ac_cpp='$CPP $CPPFLAGS'
37844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37852 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
37853 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
37854 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
37855 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
37856 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
37857 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
37858 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
37859 echo $ECHO_N "(cached) $ECHO_C" >&6
37860 else
37862 if test x$gcc_no_link = xyes; then
37863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37865 { (exit 1); exit 1; }; }
37867 cat >conftest.$ac_ext <<_ACEOF
37868 /* confdefs.h. */
37869 _ACEOF
37870 cat confdefs.h >>conftest.$ac_ext
37871 cat >>conftest.$ac_ext <<_ACEOF
37872 /* end confdefs.h. */
37873 #include <math.h>
37875 main ()
37877 __builtin_cos(0);
37879 return 0;
37881 _ACEOF
37882 rm -f conftest.$ac_objext conftest$ac_exeext
37883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37884 (eval $ac_link) 2>conftest.er1
37885 ac_status=$?
37886 grep -v '^ *+' conftest.er1 >conftest.err
37887 rm -f conftest.er1
37888 cat conftest.err >&5
37889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37890 (exit $ac_status); } &&
37891 { ac_try='test -z "$ac_c_werror_flag"
37892 || test ! -s conftest.err'
37893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37894 (eval $ac_try) 2>&5
37895 ac_status=$?
37896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37897 (exit $ac_status); }; } &&
37898 { ac_try='test -s conftest$ac_exeext'
37899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37900 (eval $ac_try) 2>&5
37901 ac_status=$?
37902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37903 (exit $ac_status); }; }; then
37904 glibcxx_cv_func___builtin_cos_link=yes
37905 else
37906 echo "$as_me: failed program was:" >&5
37907 sed 's/^/| /' conftest.$ac_ext >&5
37909 glibcxx_cv_func___builtin_cos_link=no
37911 rm -f conftest.err conftest.$ac_objext \
37912 conftest$ac_exeext conftest.$ac_ext
37917 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
37918 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
37920 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
37922 cat >>confdefs.h <<\_ACEOF
37923 #define HAVE___BUILTIN_COS 1
37924 _ACEOF
37931 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
37932 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
37933 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
37934 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
37935 echo $ECHO_N "(cached) $ECHO_C" >&6
37936 else
37940 ac_ext=cc
37941 ac_cpp='$CXXCPP $CPPFLAGS'
37942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37946 cat >conftest.$ac_ext <<_ACEOF
37947 /* confdefs.h. */
37948 _ACEOF
37949 cat confdefs.h >>conftest.$ac_ext
37950 cat >>conftest.$ac_ext <<_ACEOF
37951 /* end confdefs.h. */
37952 #include <math.h>
37954 main ()
37956 __builtin_cosl(0);
37958 return 0;
37960 _ACEOF
37961 rm -f conftest.$ac_objext
37962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37963 (eval $ac_compile) 2>conftest.er1
37964 ac_status=$?
37965 grep -v '^ *+' conftest.er1 >conftest.err
37966 rm -f conftest.er1
37967 cat conftest.err >&5
37968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37969 (exit $ac_status); } &&
37970 { ac_try='test -z "$ac_cxx_werror_flag"
37971 || test ! -s conftest.err'
37972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37973 (eval $ac_try) 2>&5
37974 ac_status=$?
37975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37976 (exit $ac_status); }; } &&
37977 { ac_try='test -s conftest.$ac_objext'
37978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37979 (eval $ac_try) 2>&5
37980 ac_status=$?
37981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37982 (exit $ac_status); }; }; then
37983 glibcxx_cv_func___builtin_cosl_use=yes
37984 else
37985 echo "$as_me: failed program was:" >&5
37986 sed 's/^/| /' conftest.$ac_ext >&5
37988 glibcxx_cv_func___builtin_cosl_use=no
37990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37991 ac_ext=c
37992 ac_cpp='$CPP $CPPFLAGS'
37993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38001 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
38002 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
38003 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
38004 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
38005 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
38006 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
38007 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
38008 echo $ECHO_N "(cached) $ECHO_C" >&6
38009 else
38011 if test x$gcc_no_link = xyes; then
38012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38014 { (exit 1); exit 1; }; }
38016 cat >conftest.$ac_ext <<_ACEOF
38017 /* confdefs.h. */
38018 _ACEOF
38019 cat confdefs.h >>conftest.$ac_ext
38020 cat >>conftest.$ac_ext <<_ACEOF
38021 /* end confdefs.h. */
38022 #include <math.h>
38024 main ()
38026 __builtin_cosl(0);
38028 return 0;
38030 _ACEOF
38031 rm -f conftest.$ac_objext conftest$ac_exeext
38032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38033 (eval $ac_link) 2>conftest.er1
38034 ac_status=$?
38035 grep -v '^ *+' conftest.er1 >conftest.err
38036 rm -f conftest.er1
38037 cat conftest.err >&5
38038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38039 (exit $ac_status); } &&
38040 { ac_try='test -z "$ac_c_werror_flag"
38041 || test ! -s conftest.err'
38042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38043 (eval $ac_try) 2>&5
38044 ac_status=$?
38045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38046 (exit $ac_status); }; } &&
38047 { ac_try='test -s conftest$ac_exeext'
38048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38049 (eval $ac_try) 2>&5
38050 ac_status=$?
38051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38052 (exit $ac_status); }; }; then
38053 glibcxx_cv_func___builtin_cosl_link=yes
38054 else
38055 echo "$as_me: failed program was:" >&5
38056 sed 's/^/| /' conftest.$ac_ext >&5
38058 glibcxx_cv_func___builtin_cosl_link=no
38060 rm -f conftest.err conftest.$ac_objext \
38061 conftest$ac_exeext conftest.$ac_ext
38066 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
38067 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
38069 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
38071 cat >>confdefs.h <<\_ACEOF
38072 #define HAVE___BUILTIN_COSL 1
38073 _ACEOF
38082 echo "$as_me:$LINENO: checking for main in -lm" >&5
38083 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
38084 if test "${ac_cv_lib_m_main+set}" = set; then
38085 echo $ECHO_N "(cached) $ECHO_C" >&6
38086 else
38087 ac_check_lib_save_LIBS=$LIBS
38088 LIBS="-lm $LIBS"
38089 if test x$gcc_no_link = xyes; then
38090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38092 { (exit 1); exit 1; }; }
38094 cat >conftest.$ac_ext <<_ACEOF
38095 /* confdefs.h. */
38096 _ACEOF
38097 cat confdefs.h >>conftest.$ac_ext
38098 cat >>conftest.$ac_ext <<_ACEOF
38099 /* end confdefs.h. */
38103 main ()
38105 main ();
38107 return 0;
38109 _ACEOF
38110 rm -f conftest.$ac_objext conftest$ac_exeext
38111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38112 (eval $ac_link) 2>conftest.er1
38113 ac_status=$?
38114 grep -v '^ *+' conftest.er1 >conftest.err
38115 rm -f conftest.er1
38116 cat conftest.err >&5
38117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38118 (exit $ac_status); } &&
38119 { ac_try='test -z "$ac_c_werror_flag"
38120 || test ! -s conftest.err'
38121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38122 (eval $ac_try) 2>&5
38123 ac_status=$?
38124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38125 (exit $ac_status); }; } &&
38126 { ac_try='test -s conftest$ac_exeext'
38127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38128 (eval $ac_try) 2>&5
38129 ac_status=$?
38130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38131 (exit $ac_status); }; }; then
38132 ac_cv_lib_m_main=yes
38133 else
38134 echo "$as_me: failed program was:" >&5
38135 sed 's/^/| /' conftest.$ac_ext >&5
38137 ac_cv_lib_m_main=no
38139 rm -f conftest.err conftest.$ac_objext \
38140 conftest$ac_exeext conftest.$ac_ext
38141 LIBS=$ac_check_lib_save_LIBS
38143 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
38144 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
38145 if test $ac_cv_lib_m_main = yes; then
38146 cat >>confdefs.h <<_ACEOF
38147 #define HAVE_LIBM 1
38148 _ACEOF
38150 LIBS="-lm $LIBS"
38155 for ac_func in copysignf
38157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38158 echo "$as_me:$LINENO: checking for $ac_func" >&5
38159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38160 if eval "test \"\${$as_ac_var+set}\" = set"; then
38161 echo $ECHO_N "(cached) $ECHO_C" >&6
38162 else
38163 if test x$gcc_no_link = xyes; then
38164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38166 { (exit 1); exit 1; }; }
38168 cat >conftest.$ac_ext <<_ACEOF
38169 /* confdefs.h. */
38170 _ACEOF
38171 cat confdefs.h >>conftest.$ac_ext
38172 cat >>conftest.$ac_ext <<_ACEOF
38173 /* end confdefs.h. */
38174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38176 #define $ac_func innocuous_$ac_func
38178 /* System header to define __stub macros and hopefully few prototypes,
38179 which can conflict with char $ac_func (); below.
38180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38181 <limits.h> exists even on freestanding compilers. */
38183 #ifdef __STDC__
38184 # include <limits.h>
38185 #else
38186 # include <assert.h>
38187 #endif
38189 #undef $ac_func
38191 /* Override any gcc2 internal prototype to avoid an error. */
38192 #ifdef __cplusplus
38193 extern "C"
38195 #endif
38196 /* We use char because int might match the return type of a gcc2
38197 builtin and then its argument prototype would still apply. */
38198 char $ac_func ();
38199 /* The GNU C library defines this for functions which it implements
38200 to always fail with ENOSYS. Some functions are actually named
38201 something starting with __ and the normal name is an alias. */
38202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38203 choke me
38204 #else
38205 char (*f) () = $ac_func;
38206 #endif
38207 #ifdef __cplusplus
38209 #endif
38212 main ()
38214 return f != $ac_func;
38216 return 0;
38218 _ACEOF
38219 rm -f conftest.$ac_objext conftest$ac_exeext
38220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38221 (eval $ac_link) 2>conftest.er1
38222 ac_status=$?
38223 grep -v '^ *+' conftest.er1 >conftest.err
38224 rm -f conftest.er1
38225 cat conftest.err >&5
38226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38227 (exit $ac_status); } &&
38228 { ac_try='test -z "$ac_c_werror_flag"
38229 || test ! -s conftest.err'
38230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38231 (eval $ac_try) 2>&5
38232 ac_status=$?
38233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38234 (exit $ac_status); }; } &&
38235 { ac_try='test -s conftest$ac_exeext'
38236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38237 (eval $ac_try) 2>&5
38238 ac_status=$?
38239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38240 (exit $ac_status); }; }; then
38241 eval "$as_ac_var=yes"
38242 else
38243 echo "$as_me: failed program was:" >&5
38244 sed 's/^/| /' conftest.$ac_ext >&5
38246 eval "$as_ac_var=no"
38248 rm -f conftest.err conftest.$ac_objext \
38249 conftest$ac_exeext conftest.$ac_ext
38251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38253 if test `eval echo '${'$as_ac_var'}'` = yes; then
38254 cat >>confdefs.h <<_ACEOF
38255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38256 _ACEOF
38258 else
38259 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
38261 done
38265 for ac_func in __signbit
38267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38268 echo "$as_me:$LINENO: checking for $ac_func" >&5
38269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38270 if eval "test \"\${$as_ac_var+set}\" = set"; then
38271 echo $ECHO_N "(cached) $ECHO_C" >&6
38272 else
38273 if test x$gcc_no_link = xyes; then
38274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38276 { (exit 1); exit 1; }; }
38278 cat >conftest.$ac_ext <<_ACEOF
38279 /* confdefs.h. */
38280 _ACEOF
38281 cat confdefs.h >>conftest.$ac_ext
38282 cat >>conftest.$ac_ext <<_ACEOF
38283 /* end confdefs.h. */
38284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38286 #define $ac_func innocuous_$ac_func
38288 /* System header to define __stub macros and hopefully few prototypes,
38289 which can conflict with char $ac_func (); below.
38290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38291 <limits.h> exists even on freestanding compilers. */
38293 #ifdef __STDC__
38294 # include <limits.h>
38295 #else
38296 # include <assert.h>
38297 #endif
38299 #undef $ac_func
38301 /* Override any gcc2 internal prototype to avoid an error. */
38302 #ifdef __cplusplus
38303 extern "C"
38305 #endif
38306 /* We use char because int might match the return type of a gcc2
38307 builtin and then its argument prototype would still apply. */
38308 char $ac_func ();
38309 /* The GNU C library defines this for functions which it implements
38310 to always fail with ENOSYS. Some functions are actually named
38311 something starting with __ and the normal name is an alias. */
38312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38313 choke me
38314 #else
38315 char (*f) () = $ac_func;
38316 #endif
38317 #ifdef __cplusplus
38319 #endif
38322 main ()
38324 return f != $ac_func;
38326 return 0;
38328 _ACEOF
38329 rm -f conftest.$ac_objext conftest$ac_exeext
38330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38331 (eval $ac_link) 2>conftest.er1
38332 ac_status=$?
38333 grep -v '^ *+' conftest.er1 >conftest.err
38334 rm -f conftest.er1
38335 cat conftest.err >&5
38336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38337 (exit $ac_status); } &&
38338 { ac_try='test -z "$ac_c_werror_flag"
38339 || test ! -s conftest.err'
38340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38341 (eval $ac_try) 2>&5
38342 ac_status=$?
38343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38344 (exit $ac_status); }; } &&
38345 { ac_try='test -s conftest$ac_exeext'
38346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38347 (eval $ac_try) 2>&5
38348 ac_status=$?
38349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38350 (exit $ac_status); }; }; then
38351 eval "$as_ac_var=yes"
38352 else
38353 echo "$as_me: failed program was:" >&5
38354 sed 's/^/| /' conftest.$ac_ext >&5
38356 eval "$as_ac_var=no"
38358 rm -f conftest.err conftest.$ac_objext \
38359 conftest$ac_exeext conftest.$ac_ext
38361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38363 if test `eval echo '${'$as_ac_var'}'` = yes; then
38364 cat >>confdefs.h <<_ACEOF
38365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38366 _ACEOF
38368 else
38369 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
38371 done
38375 for ac_func in __signbitf
38377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38378 echo "$as_me:$LINENO: checking for $ac_func" >&5
38379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38380 if eval "test \"\${$as_ac_var+set}\" = set"; then
38381 echo $ECHO_N "(cached) $ECHO_C" >&6
38382 else
38383 if test x$gcc_no_link = xyes; then
38384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38386 { (exit 1); exit 1; }; }
38388 cat >conftest.$ac_ext <<_ACEOF
38389 /* confdefs.h. */
38390 _ACEOF
38391 cat confdefs.h >>conftest.$ac_ext
38392 cat >>conftest.$ac_ext <<_ACEOF
38393 /* end confdefs.h. */
38394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38396 #define $ac_func innocuous_$ac_func
38398 /* System header to define __stub macros and hopefully few prototypes,
38399 which can conflict with char $ac_func (); below.
38400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38401 <limits.h> exists even on freestanding compilers. */
38403 #ifdef __STDC__
38404 # include <limits.h>
38405 #else
38406 # include <assert.h>
38407 #endif
38409 #undef $ac_func
38411 /* Override any gcc2 internal prototype to avoid an error. */
38412 #ifdef __cplusplus
38413 extern "C"
38415 #endif
38416 /* We use char because int might match the return type of a gcc2
38417 builtin and then its argument prototype would still apply. */
38418 char $ac_func ();
38419 /* The GNU C library defines this for functions which it implements
38420 to always fail with ENOSYS. Some functions are actually named
38421 something starting with __ and the normal name is an alias. */
38422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38423 choke me
38424 #else
38425 char (*f) () = $ac_func;
38426 #endif
38427 #ifdef __cplusplus
38429 #endif
38432 main ()
38434 return f != $ac_func;
38436 return 0;
38438 _ACEOF
38439 rm -f conftest.$ac_objext conftest$ac_exeext
38440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38441 (eval $ac_link) 2>conftest.er1
38442 ac_status=$?
38443 grep -v '^ *+' conftest.er1 >conftest.err
38444 rm -f conftest.er1
38445 cat conftest.err >&5
38446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38447 (exit $ac_status); } &&
38448 { ac_try='test -z "$ac_c_werror_flag"
38449 || test ! -s conftest.err'
38450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38451 (eval $ac_try) 2>&5
38452 ac_status=$?
38453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38454 (exit $ac_status); }; } &&
38455 { ac_try='test -s conftest$ac_exeext'
38456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38457 (eval $ac_try) 2>&5
38458 ac_status=$?
38459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38460 (exit $ac_status); }; }; then
38461 eval "$as_ac_var=yes"
38462 else
38463 echo "$as_me: failed program was:" >&5
38464 sed 's/^/| /' conftest.$ac_ext >&5
38466 eval "$as_ac_var=no"
38468 rm -f conftest.err conftest.$ac_objext \
38469 conftest$ac_exeext conftest.$ac_ext
38471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38473 if test `eval echo '${'$as_ac_var'}'` = yes; then
38474 cat >>confdefs.h <<_ACEOF
38475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38476 _ACEOF
38478 else
38479 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
38481 done
38484 if test x$ac_cv_func_copysignl = x"yes"; then
38486 for ac_func in __signbitl
38488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38489 echo "$as_me:$LINENO: checking for $ac_func" >&5
38490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38491 if eval "test \"\${$as_ac_var+set}\" = set"; then
38492 echo $ECHO_N "(cached) $ECHO_C" >&6
38493 else
38494 if test x$gcc_no_link = xyes; then
38495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38497 { (exit 1); exit 1; }; }
38499 cat >conftest.$ac_ext <<_ACEOF
38500 /* confdefs.h. */
38501 _ACEOF
38502 cat confdefs.h >>conftest.$ac_ext
38503 cat >>conftest.$ac_ext <<_ACEOF
38504 /* end confdefs.h. */
38505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38507 #define $ac_func innocuous_$ac_func
38509 /* System header to define __stub macros and hopefully few prototypes,
38510 which can conflict with char $ac_func (); below.
38511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38512 <limits.h> exists even on freestanding compilers. */
38514 #ifdef __STDC__
38515 # include <limits.h>
38516 #else
38517 # include <assert.h>
38518 #endif
38520 #undef $ac_func
38522 /* Override any gcc2 internal prototype to avoid an error. */
38523 #ifdef __cplusplus
38524 extern "C"
38526 #endif
38527 /* We use char because int might match the return type of a gcc2
38528 builtin and then its argument prototype would still apply. */
38529 char $ac_func ();
38530 /* The GNU C library defines this for functions which it implements
38531 to always fail with ENOSYS. Some functions are actually named
38532 something starting with __ and the normal name is an alias. */
38533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38534 choke me
38535 #else
38536 char (*f) () = $ac_func;
38537 #endif
38538 #ifdef __cplusplus
38540 #endif
38543 main ()
38545 return f != $ac_func;
38547 return 0;
38549 _ACEOF
38550 rm -f conftest.$ac_objext conftest$ac_exeext
38551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38552 (eval $ac_link) 2>conftest.er1
38553 ac_status=$?
38554 grep -v '^ *+' conftest.er1 >conftest.err
38555 rm -f conftest.er1
38556 cat conftest.err >&5
38557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38558 (exit $ac_status); } &&
38559 { ac_try='test -z "$ac_c_werror_flag"
38560 || test ! -s conftest.err'
38561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38562 (eval $ac_try) 2>&5
38563 ac_status=$?
38564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38565 (exit $ac_status); }; } &&
38566 { ac_try='test -s conftest$ac_exeext'
38567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38568 (eval $ac_try) 2>&5
38569 ac_status=$?
38570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38571 (exit $ac_status); }; }; then
38572 eval "$as_ac_var=yes"
38573 else
38574 echo "$as_me: failed program was:" >&5
38575 sed 's/^/| /' conftest.$ac_ext >&5
38577 eval "$as_ac_var=no"
38579 rm -f conftest.err conftest.$ac_objext \
38580 conftest$ac_exeext conftest.$ac_ext
38582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38584 if test `eval echo '${'$as_ac_var'}'` = yes; then
38585 cat >>confdefs.h <<_ACEOF
38586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38587 _ACEOF
38589 else
38590 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
38592 done
38596 # Used in libmath/Makefile.am.
38597 if test -n "$LIBMATHOBJS"; then
38598 need_libmath=yes
38603 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38604 ac_save_CXXFLAGS="$CXXFLAGS"
38605 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38608 echo "$as_me:$LINENO: checking for strtold declaration" >&5
38609 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
38610 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38611 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
38612 echo $ECHO_N "(cached) $ECHO_C" >&6
38613 else
38617 ac_ext=cc
38618 ac_cpp='$CXXCPP $CPPFLAGS'
38619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38623 cat >conftest.$ac_ext <<_ACEOF
38624 /* confdefs.h. */
38625 _ACEOF
38626 cat confdefs.h >>conftest.$ac_ext
38627 cat >>conftest.$ac_ext <<_ACEOF
38628 /* end confdefs.h. */
38629 #include <stdlib.h>
38631 main ()
38633 strtold(0, 0);
38635 return 0;
38637 _ACEOF
38638 rm -f conftest.$ac_objext
38639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38640 (eval $ac_compile) 2>conftest.er1
38641 ac_status=$?
38642 grep -v '^ *+' conftest.er1 >conftest.err
38643 rm -f conftest.er1
38644 cat conftest.err >&5
38645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38646 (exit $ac_status); } &&
38647 { ac_try='test -z "$ac_cxx_werror_flag"
38648 || test ! -s conftest.err'
38649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38650 (eval $ac_try) 2>&5
38651 ac_status=$?
38652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38653 (exit $ac_status); }; } &&
38654 { ac_try='test -s conftest.$ac_objext'
38655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38656 (eval $ac_try) 2>&5
38657 ac_status=$?
38658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38659 (exit $ac_status); }; }; then
38660 glibcxx_cv_func_strtold_use=yes
38661 else
38662 echo "$as_me: failed program was:" >&5
38663 sed 's/^/| /' conftest.$ac_ext >&5
38665 glibcxx_cv_func_strtold_use=no
38667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38668 ac_ext=c
38669 ac_cpp='$CPP $CPPFLAGS'
38670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38678 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
38679 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
38680 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38682 for ac_func in strtold
38684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38685 echo "$as_me:$LINENO: checking for $ac_func" >&5
38686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38687 if eval "test \"\${$as_ac_var+set}\" = set"; then
38688 echo $ECHO_N "(cached) $ECHO_C" >&6
38689 else
38690 if test x$gcc_no_link = xyes; then
38691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38693 { (exit 1); exit 1; }; }
38695 cat >conftest.$ac_ext <<_ACEOF
38696 /* confdefs.h. */
38697 _ACEOF
38698 cat confdefs.h >>conftest.$ac_ext
38699 cat >>conftest.$ac_ext <<_ACEOF
38700 /* end confdefs.h. */
38701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38703 #define $ac_func innocuous_$ac_func
38705 /* System header to define __stub macros and hopefully few prototypes,
38706 which can conflict with char $ac_func (); below.
38707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38708 <limits.h> exists even on freestanding compilers. */
38710 #ifdef __STDC__
38711 # include <limits.h>
38712 #else
38713 # include <assert.h>
38714 #endif
38716 #undef $ac_func
38718 /* Override any gcc2 internal prototype to avoid an error. */
38719 #ifdef __cplusplus
38720 extern "C"
38722 #endif
38723 /* We use char because int might match the return type of a gcc2
38724 builtin and then its argument prototype would still apply. */
38725 char $ac_func ();
38726 /* The GNU C library defines this for functions which it implements
38727 to always fail with ENOSYS. Some functions are actually named
38728 something starting with __ and the normal name is an alias. */
38729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38730 choke me
38731 #else
38732 char (*f) () = $ac_func;
38733 #endif
38734 #ifdef __cplusplus
38736 #endif
38739 main ()
38741 return f != $ac_func;
38743 return 0;
38745 _ACEOF
38746 rm -f conftest.$ac_objext conftest$ac_exeext
38747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38748 (eval $ac_link) 2>conftest.er1
38749 ac_status=$?
38750 grep -v '^ *+' conftest.er1 >conftest.err
38751 rm -f conftest.er1
38752 cat conftest.err >&5
38753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38754 (exit $ac_status); } &&
38755 { ac_try='test -z "$ac_c_werror_flag"
38756 || test ! -s conftest.err'
38757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38758 (eval $ac_try) 2>&5
38759 ac_status=$?
38760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38761 (exit $ac_status); }; } &&
38762 { ac_try='test -s conftest$ac_exeext'
38763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38764 (eval $ac_try) 2>&5
38765 ac_status=$?
38766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38767 (exit $ac_status); }; }; then
38768 eval "$as_ac_var=yes"
38769 else
38770 echo "$as_me: failed program was:" >&5
38771 sed 's/^/| /' conftest.$ac_ext >&5
38773 eval "$as_ac_var=no"
38775 rm -f conftest.err conftest.$ac_objext \
38776 conftest$ac_exeext conftest.$ac_ext
38778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38780 if test `eval echo '${'$as_ac_var'}'` = yes; then
38781 cat >>confdefs.h <<_ACEOF
38782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38783 _ACEOF
38786 done
38794 echo "$as_me:$LINENO: checking for strtof declaration" >&5
38795 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
38796 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38797 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
38798 echo $ECHO_N "(cached) $ECHO_C" >&6
38799 else
38803 ac_ext=cc
38804 ac_cpp='$CXXCPP $CPPFLAGS'
38805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38809 cat >conftest.$ac_ext <<_ACEOF
38810 /* confdefs.h. */
38811 _ACEOF
38812 cat confdefs.h >>conftest.$ac_ext
38813 cat >>conftest.$ac_ext <<_ACEOF
38814 /* end confdefs.h. */
38815 #include <stdlib.h>
38817 main ()
38819 strtof(0, 0);
38821 return 0;
38823 _ACEOF
38824 rm -f conftest.$ac_objext
38825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38826 (eval $ac_compile) 2>conftest.er1
38827 ac_status=$?
38828 grep -v '^ *+' conftest.er1 >conftest.err
38829 rm -f conftest.er1
38830 cat conftest.err >&5
38831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38832 (exit $ac_status); } &&
38833 { ac_try='test -z "$ac_cxx_werror_flag"
38834 || test ! -s conftest.err'
38835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38836 (eval $ac_try) 2>&5
38837 ac_status=$?
38838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38839 (exit $ac_status); }; } &&
38840 { ac_try='test -s conftest.$ac_objext'
38841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38842 (eval $ac_try) 2>&5
38843 ac_status=$?
38844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38845 (exit $ac_status); }; }; then
38846 glibcxx_cv_func_strtof_use=yes
38847 else
38848 echo "$as_me: failed program was:" >&5
38849 sed 's/^/| /' conftest.$ac_ext >&5
38851 glibcxx_cv_func_strtof_use=no
38853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38854 ac_ext=c
38855 ac_cpp='$CPP $CPPFLAGS'
38856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38864 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
38865 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
38866 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38868 for ac_func in strtof
38870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38871 echo "$as_me:$LINENO: checking for $ac_func" >&5
38872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38873 if eval "test \"\${$as_ac_var+set}\" = set"; then
38874 echo $ECHO_N "(cached) $ECHO_C" >&6
38875 else
38876 if test x$gcc_no_link = xyes; then
38877 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38879 { (exit 1); exit 1; }; }
38881 cat >conftest.$ac_ext <<_ACEOF
38882 /* confdefs.h. */
38883 _ACEOF
38884 cat confdefs.h >>conftest.$ac_ext
38885 cat >>conftest.$ac_ext <<_ACEOF
38886 /* end confdefs.h. */
38887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38889 #define $ac_func innocuous_$ac_func
38891 /* System header to define __stub macros and hopefully few prototypes,
38892 which can conflict with char $ac_func (); below.
38893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38894 <limits.h> exists even on freestanding compilers. */
38896 #ifdef __STDC__
38897 # include <limits.h>
38898 #else
38899 # include <assert.h>
38900 #endif
38902 #undef $ac_func
38904 /* Override any gcc2 internal prototype to avoid an error. */
38905 #ifdef __cplusplus
38906 extern "C"
38908 #endif
38909 /* We use char because int might match the return type of a gcc2
38910 builtin and then its argument prototype would still apply. */
38911 char $ac_func ();
38912 /* The GNU C library defines this for functions which it implements
38913 to always fail with ENOSYS. Some functions are actually named
38914 something starting with __ and the normal name is an alias. */
38915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38916 choke me
38917 #else
38918 char (*f) () = $ac_func;
38919 #endif
38920 #ifdef __cplusplus
38922 #endif
38925 main ()
38927 return f != $ac_func;
38929 return 0;
38931 _ACEOF
38932 rm -f conftest.$ac_objext conftest$ac_exeext
38933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38934 (eval $ac_link) 2>conftest.er1
38935 ac_status=$?
38936 grep -v '^ *+' conftest.er1 >conftest.err
38937 rm -f conftest.er1
38938 cat conftest.err >&5
38939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38940 (exit $ac_status); } &&
38941 { ac_try='test -z "$ac_c_werror_flag"
38942 || test ! -s conftest.err'
38943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38944 (eval $ac_try) 2>&5
38945 ac_status=$?
38946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38947 (exit $ac_status); }; } &&
38948 { ac_try='test -s conftest$ac_exeext'
38949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38950 (eval $ac_try) 2>&5
38951 ac_status=$?
38952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38953 (exit $ac_status); }; }; then
38954 eval "$as_ac_var=yes"
38955 else
38956 echo "$as_me: failed program was:" >&5
38957 sed 's/^/| /' conftest.$ac_ext >&5
38959 eval "$as_ac_var=no"
38961 rm -f conftest.err conftest.$ac_objext \
38962 conftest$ac_exeext conftest.$ac_ext
38964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38966 if test `eval echo '${'$as_ac_var'}'` = yes; then
38967 cat >>confdefs.h <<_ACEOF
38968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38969 _ACEOF
38972 done
38980 CXXFLAGS="$ac_save_CXXFLAGS"
38983 # For showmanyc_helper().
38986 for ac_header in sys/ioctl.h sys/filio.h
38988 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38990 echo "$as_me:$LINENO: checking for $ac_header" >&5
38991 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38993 echo $ECHO_N "(cached) $ECHO_C" >&6
38995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38997 else
38998 # Is the header compilable?
38999 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39000 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39001 cat >conftest.$ac_ext <<_ACEOF
39002 /* confdefs.h. */
39003 _ACEOF
39004 cat confdefs.h >>conftest.$ac_ext
39005 cat >>conftest.$ac_ext <<_ACEOF
39006 /* end confdefs.h. */
39007 $ac_includes_default
39008 #include <$ac_header>
39009 _ACEOF
39010 rm -f conftest.$ac_objext
39011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39012 (eval $ac_compile) 2>conftest.er1
39013 ac_status=$?
39014 grep -v '^ *+' conftest.er1 >conftest.err
39015 rm -f conftest.er1
39016 cat conftest.err >&5
39017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39018 (exit $ac_status); } &&
39019 { ac_try='test -z "$ac_c_werror_flag"
39020 || test ! -s conftest.err'
39021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39022 (eval $ac_try) 2>&5
39023 ac_status=$?
39024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39025 (exit $ac_status); }; } &&
39026 { ac_try='test -s conftest.$ac_objext'
39027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39028 (eval $ac_try) 2>&5
39029 ac_status=$?
39030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39031 (exit $ac_status); }; }; then
39032 ac_header_compiler=yes
39033 else
39034 echo "$as_me: failed program was:" >&5
39035 sed 's/^/| /' conftest.$ac_ext >&5
39037 ac_header_compiler=no
39039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39040 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39041 echo "${ECHO_T}$ac_header_compiler" >&6
39043 # Is the header present?
39044 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39045 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39046 cat >conftest.$ac_ext <<_ACEOF
39047 /* confdefs.h. */
39048 _ACEOF
39049 cat confdefs.h >>conftest.$ac_ext
39050 cat >>conftest.$ac_ext <<_ACEOF
39051 /* end confdefs.h. */
39052 #include <$ac_header>
39053 _ACEOF
39054 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39055 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39056 ac_status=$?
39057 grep -v '^ *+' conftest.er1 >conftest.err
39058 rm -f conftest.er1
39059 cat conftest.err >&5
39060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39061 (exit $ac_status); } >/dev/null; then
39062 if test -s conftest.err; then
39063 ac_cpp_err=$ac_c_preproc_warn_flag
39064 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39065 else
39066 ac_cpp_err=
39068 else
39069 ac_cpp_err=yes
39071 if test -z "$ac_cpp_err"; then
39072 ac_header_preproc=yes
39073 else
39074 echo "$as_me: failed program was:" >&5
39075 sed 's/^/| /' conftest.$ac_ext >&5
39077 ac_header_preproc=no
39079 rm -f conftest.err conftest.$ac_ext
39080 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39081 echo "${ECHO_T}$ac_header_preproc" >&6
39083 # So? What about this header?
39084 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39085 yes:no: )
39086 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39087 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39089 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39090 ac_header_preproc=yes
39092 no:yes:* )
39093 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39094 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39095 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39096 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39097 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39098 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39099 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39100 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39102 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39103 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39104 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39106 cat <<\_ASBOX
39107 ## ----------------------------------------- ##
39108 ## Report this to the package-unused lists. ##
39109 ## ----------------------------------------- ##
39110 _ASBOX
39112 sed "s/^/$as_me: WARNING: /" >&2
39114 esac
39115 echo "$as_me:$LINENO: checking for $ac_header" >&5
39116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39118 echo $ECHO_N "(cached) $ECHO_C" >&6
39119 else
39120 eval "$as_ac_Header=\$ac_header_preproc"
39122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39126 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39127 cat >>confdefs.h <<_ACEOF
39128 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39129 _ACEOF
39133 done
39136 echo "$as_me:$LINENO: checking for poll" >&5
39137 echo $ECHO_N "checking for poll... $ECHO_C" >&6
39138 if test "${glibcxx_cv_POLL+set}" = set; then
39139 echo $ECHO_N "(cached) $ECHO_C" >&6
39140 else
39142 if test x$gcc_no_link = xyes; then
39143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39145 { (exit 1); exit 1; }; }
39147 cat >conftest.$ac_ext <<_ACEOF
39148 /* confdefs.h. */
39149 _ACEOF
39150 cat confdefs.h >>conftest.$ac_ext
39151 cat >>conftest.$ac_ext <<_ACEOF
39152 /* end confdefs.h. */
39153 #include <poll.h>
39155 main ()
39157 struct pollfd pfd[1];
39158 pfd[0].events = POLLIN;
39159 poll(pfd, 1, 0);
39161 return 0;
39163 _ACEOF
39164 rm -f conftest.$ac_objext conftest$ac_exeext
39165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39166 (eval $ac_link) 2>conftest.er1
39167 ac_status=$?
39168 grep -v '^ *+' conftest.er1 >conftest.err
39169 rm -f conftest.er1
39170 cat conftest.err >&5
39171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39172 (exit $ac_status); } &&
39173 { ac_try='test -z "$ac_c_werror_flag"
39174 || test ! -s conftest.err'
39175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39176 (eval $ac_try) 2>&5
39177 ac_status=$?
39178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39179 (exit $ac_status); }; } &&
39180 { ac_try='test -s conftest$ac_exeext'
39181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39182 (eval $ac_try) 2>&5
39183 ac_status=$?
39184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39185 (exit $ac_status); }; }; then
39186 glibcxx_cv_POLL=yes
39187 else
39188 echo "$as_me: failed program was:" >&5
39189 sed 's/^/| /' conftest.$ac_ext >&5
39191 glibcxx_cv_POLL=no
39193 rm -f conftest.err conftest.$ac_objext \
39194 conftest$ac_exeext conftest.$ac_ext
39198 if test $glibcxx_cv_POLL = yes; then
39200 cat >>confdefs.h <<\_ACEOF
39201 #define HAVE_POLL 1
39202 _ACEOF
39205 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
39206 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
39209 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
39210 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
39211 if test "${glibcxx_cv_S_ISREG+set}" = set; then
39212 echo $ECHO_N "(cached) $ECHO_C" >&6
39213 else
39215 if test x$gcc_no_link = xyes; then
39216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39218 { (exit 1); exit 1; }; }
39220 cat >conftest.$ac_ext <<_ACEOF
39221 /* confdefs.h. */
39222 _ACEOF
39223 cat confdefs.h >>conftest.$ac_ext
39224 cat >>conftest.$ac_ext <<_ACEOF
39225 /* end confdefs.h. */
39226 #include <sys/stat.h>
39228 main ()
39230 struct stat buffer;
39231 fstat(0, &buffer);
39232 S_ISREG(buffer.st_mode);
39234 return 0;
39236 _ACEOF
39237 rm -f conftest.$ac_objext conftest$ac_exeext
39238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39239 (eval $ac_link) 2>conftest.er1
39240 ac_status=$?
39241 grep -v '^ *+' conftest.er1 >conftest.err
39242 rm -f conftest.er1
39243 cat conftest.err >&5
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); } &&
39246 { ac_try='test -z "$ac_c_werror_flag"
39247 || test ! -s conftest.err'
39248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39249 (eval $ac_try) 2>&5
39250 ac_status=$?
39251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39252 (exit $ac_status); }; } &&
39253 { ac_try='test -s conftest$ac_exeext'
39254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39255 (eval $ac_try) 2>&5
39256 ac_status=$?
39257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39258 (exit $ac_status); }; }; then
39259 glibcxx_cv_S_ISREG=yes
39260 else
39261 echo "$as_me: failed program was:" >&5
39262 sed 's/^/| /' conftest.$ac_ext >&5
39264 glibcxx_cv_S_ISREG=no
39266 rm -f conftest.err conftest.$ac_objext \
39267 conftest$ac_exeext conftest.$ac_ext
39271 if test "${glibcxx_cv_S_IFREG+set}" = set; then
39272 echo $ECHO_N "(cached) $ECHO_C" >&6
39273 else
39275 if test x$gcc_no_link = xyes; then
39276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39278 { (exit 1); exit 1; }; }
39280 cat >conftest.$ac_ext <<_ACEOF
39281 /* confdefs.h. */
39282 _ACEOF
39283 cat confdefs.h >>conftest.$ac_ext
39284 cat >>conftest.$ac_ext <<_ACEOF
39285 /* end confdefs.h. */
39286 #include <sys/stat.h>
39288 main ()
39290 struct stat buffer;
39291 fstat(0, &buffer);
39292 S_IFREG & buffer.st_mode;
39294 return 0;
39296 _ACEOF
39297 rm -f conftest.$ac_objext conftest$ac_exeext
39298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39299 (eval $ac_link) 2>conftest.er1
39300 ac_status=$?
39301 grep -v '^ *+' conftest.er1 >conftest.err
39302 rm -f conftest.er1
39303 cat conftest.err >&5
39304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39305 (exit $ac_status); } &&
39306 { ac_try='test -z "$ac_c_werror_flag"
39307 || test ! -s conftest.err'
39308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39309 (eval $ac_try) 2>&5
39310 ac_status=$?
39311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39312 (exit $ac_status); }; } &&
39313 { ac_try='test -s conftest$ac_exeext'
39314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39315 (eval $ac_try) 2>&5
39316 ac_status=$?
39317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39318 (exit $ac_status); }; }; then
39319 glibcxx_cv_S_IFREG=yes
39320 else
39321 echo "$as_me: failed program was:" >&5
39322 sed 's/^/| /' conftest.$ac_ext >&5
39324 glibcxx_cv_S_IFREG=no
39326 rm -f conftest.err conftest.$ac_objext \
39327 conftest$ac_exeext conftest.$ac_ext
39331 res=no
39332 if test $glibcxx_cv_S_ISREG = yes; then
39334 cat >>confdefs.h <<\_ACEOF
39335 #define HAVE_S_ISREG 1
39336 _ACEOF
39338 res=S_ISREG
39339 elif test $glibcxx_cv_S_IFREG = yes; then
39341 cat >>confdefs.h <<\_ACEOF
39342 #define HAVE_S_IFREG 1
39343 _ACEOF
39345 res=S_IFREG
39347 echo "$as_me:$LINENO: result: $res" >&5
39348 echo "${ECHO_T}$res" >&6
39351 # For xsputn_2().
39353 for ac_header in sys/uio.h
39355 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39357 echo "$as_me:$LINENO: checking for $ac_header" >&5
39358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39360 echo $ECHO_N "(cached) $ECHO_C" >&6
39362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39364 else
39365 # Is the header compilable?
39366 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39367 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39368 cat >conftest.$ac_ext <<_ACEOF
39369 /* confdefs.h. */
39370 _ACEOF
39371 cat confdefs.h >>conftest.$ac_ext
39372 cat >>conftest.$ac_ext <<_ACEOF
39373 /* end confdefs.h. */
39374 $ac_includes_default
39375 #include <$ac_header>
39376 _ACEOF
39377 rm -f conftest.$ac_objext
39378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39379 (eval $ac_compile) 2>conftest.er1
39380 ac_status=$?
39381 grep -v '^ *+' conftest.er1 >conftest.err
39382 rm -f conftest.er1
39383 cat conftest.err >&5
39384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39385 (exit $ac_status); } &&
39386 { ac_try='test -z "$ac_c_werror_flag"
39387 || test ! -s conftest.err'
39388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39389 (eval $ac_try) 2>&5
39390 ac_status=$?
39391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39392 (exit $ac_status); }; } &&
39393 { ac_try='test -s conftest.$ac_objext'
39394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39395 (eval $ac_try) 2>&5
39396 ac_status=$?
39397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39398 (exit $ac_status); }; }; then
39399 ac_header_compiler=yes
39400 else
39401 echo "$as_me: failed program was:" >&5
39402 sed 's/^/| /' conftest.$ac_ext >&5
39404 ac_header_compiler=no
39406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39407 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39408 echo "${ECHO_T}$ac_header_compiler" >&6
39410 # Is the header present?
39411 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39412 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39413 cat >conftest.$ac_ext <<_ACEOF
39414 /* confdefs.h. */
39415 _ACEOF
39416 cat confdefs.h >>conftest.$ac_ext
39417 cat >>conftest.$ac_ext <<_ACEOF
39418 /* end confdefs.h. */
39419 #include <$ac_header>
39420 _ACEOF
39421 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39422 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39423 ac_status=$?
39424 grep -v '^ *+' conftest.er1 >conftest.err
39425 rm -f conftest.er1
39426 cat conftest.err >&5
39427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39428 (exit $ac_status); } >/dev/null; then
39429 if test -s conftest.err; then
39430 ac_cpp_err=$ac_c_preproc_warn_flag
39431 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39432 else
39433 ac_cpp_err=
39435 else
39436 ac_cpp_err=yes
39438 if test -z "$ac_cpp_err"; then
39439 ac_header_preproc=yes
39440 else
39441 echo "$as_me: failed program was:" >&5
39442 sed 's/^/| /' conftest.$ac_ext >&5
39444 ac_header_preproc=no
39446 rm -f conftest.err conftest.$ac_ext
39447 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39448 echo "${ECHO_T}$ac_header_preproc" >&6
39450 # So? What about this header?
39451 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39452 yes:no: )
39453 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39454 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39456 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39457 ac_header_preproc=yes
39459 no:yes:* )
39460 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39461 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39462 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39463 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39464 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39465 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39466 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39467 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39469 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39470 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39471 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39473 cat <<\_ASBOX
39474 ## ----------------------------------------- ##
39475 ## Report this to the package-unused lists. ##
39476 ## ----------------------------------------- ##
39477 _ASBOX
39479 sed "s/^/$as_me: WARNING: /" >&2
39481 esac
39482 echo "$as_me:$LINENO: checking for $ac_header" >&5
39483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39485 echo $ECHO_N "(cached) $ECHO_C" >&6
39486 else
39487 eval "$as_ac_Header=\$ac_header_preproc"
39489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39494 cat >>confdefs.h <<_ACEOF
39495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39496 _ACEOF
39500 done
39503 echo "$as_me:$LINENO: checking for writev" >&5
39504 echo $ECHO_N "checking for writev... $ECHO_C" >&6
39505 if test "${glibcxx_cv_WRITEV+set}" = set; then
39506 echo $ECHO_N "(cached) $ECHO_C" >&6
39507 else
39509 if test x$gcc_no_link = xyes; then
39510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39512 { (exit 1); exit 1; }; }
39514 cat >conftest.$ac_ext <<_ACEOF
39515 /* confdefs.h. */
39516 _ACEOF
39517 cat confdefs.h >>conftest.$ac_ext
39518 cat >>conftest.$ac_ext <<_ACEOF
39519 /* end confdefs.h. */
39520 #include <sys/uio.h>
39522 main ()
39524 struct iovec iov[2];
39525 writev(0, iov, 0);
39527 return 0;
39529 _ACEOF
39530 rm -f conftest.$ac_objext conftest$ac_exeext
39531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39532 (eval $ac_link) 2>conftest.er1
39533 ac_status=$?
39534 grep -v '^ *+' conftest.er1 >conftest.err
39535 rm -f conftest.er1
39536 cat conftest.err >&5
39537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39538 (exit $ac_status); } &&
39539 { ac_try='test -z "$ac_c_werror_flag"
39540 || test ! -s conftest.err'
39541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39542 (eval $ac_try) 2>&5
39543 ac_status=$?
39544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39545 (exit $ac_status); }; } &&
39546 { ac_try='test -s conftest$ac_exeext'
39547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39548 (eval $ac_try) 2>&5
39549 ac_status=$?
39550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39551 (exit $ac_status); }; }; then
39552 glibcxx_cv_WRITEV=yes
39553 else
39554 echo "$as_me: failed program was:" >&5
39555 sed 's/^/| /' conftest.$ac_ext >&5
39557 glibcxx_cv_WRITEV=no
39559 rm -f conftest.err conftest.$ac_objext \
39560 conftest$ac_exeext conftest.$ac_ext
39564 if test $glibcxx_cv_WRITEV = yes; then
39566 cat >>confdefs.h <<\_ACEOF
39567 #define HAVE_WRITEV 1
39568 _ACEOF
39571 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
39572 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
39575 # For the __streamoff_base_type typedef.
39577 echo "$as_me:$LINENO: checking for int64_t" >&5
39578 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
39579 if test "${glibcxx_cv_INT64_T+set}" = set; then
39580 echo $ECHO_N "(cached) $ECHO_C" >&6
39581 else
39583 cat >conftest.$ac_ext <<_ACEOF
39584 /* confdefs.h. */
39585 _ACEOF
39586 cat confdefs.h >>conftest.$ac_ext
39587 cat >>conftest.$ac_ext <<_ACEOF
39588 /* end confdefs.h. */
39589 #include <stdint.h>
39591 main ()
39593 int64_t var;
39595 return 0;
39597 _ACEOF
39598 rm -f conftest.$ac_objext
39599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39600 (eval $ac_compile) 2>conftest.er1
39601 ac_status=$?
39602 grep -v '^ *+' conftest.er1 >conftest.err
39603 rm -f conftest.er1
39604 cat conftest.err >&5
39605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39606 (exit $ac_status); } &&
39607 { ac_try='test -z "$ac_c_werror_flag"
39608 || test ! -s conftest.err'
39609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39610 (eval $ac_try) 2>&5
39611 ac_status=$?
39612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39613 (exit $ac_status); }; } &&
39614 { ac_try='test -s conftest.$ac_objext'
39615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39616 (eval $ac_try) 2>&5
39617 ac_status=$?
39618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39619 (exit $ac_status); }; }; then
39620 glibcxx_cv_INT64_T=yes
39621 else
39622 echo "$as_me: failed program was:" >&5
39623 sed 's/^/| /' conftest.$ac_ext >&5
39625 glibcxx_cv_INT64_T=no
39627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39631 if test $glibcxx_cv_INT64_T = yes; then
39633 cat >>confdefs.h <<\_ACEOF
39634 #define HAVE_INT64_T 1
39635 _ACEOF
39638 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
39639 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
39642 # For LFS support.
39646 ac_ext=cc
39647 ac_cpp='$CXXCPP $CPPFLAGS'
39648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39652 ac_save_CXXFLAGS="$CXXFLAGS"
39653 CXXFLAGS="$CXXFLAGS -fno-exceptions"
39654 echo "$as_me:$LINENO: checking for LFS support" >&5
39655 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
39656 if test "${glibcxx_cv_LFS+set}" = set; then
39657 echo $ECHO_N "(cached) $ECHO_C" >&6
39658 else
39660 if test x$gcc_no_link = xyes; then
39661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39663 { (exit 1); exit 1; }; }
39665 cat >conftest.$ac_ext <<_ACEOF
39666 /* confdefs.h. */
39667 _ACEOF
39668 cat confdefs.h >>conftest.$ac_ext
39669 cat >>conftest.$ac_ext <<_ACEOF
39670 /* end confdefs.h. */
39671 #include <unistd.h>
39672 #include <stdio.h>
39673 #include <sys/stat.h>
39676 main ()
39678 FILE* fp;
39679 fopen64("t", "w");
39680 fseeko64(fp, 0, SEEK_CUR);
39681 ftello64(fp);
39682 lseek64(1, 0, SEEK_CUR);
39683 struct stat64 buf;
39684 fstat64(1, &buf);
39686 return 0;
39688 _ACEOF
39689 rm -f conftest.$ac_objext conftest$ac_exeext
39690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39691 (eval $ac_link) 2>conftest.er1
39692 ac_status=$?
39693 grep -v '^ *+' conftest.er1 >conftest.err
39694 rm -f conftest.er1
39695 cat conftest.err >&5
39696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39697 (exit $ac_status); } &&
39698 { ac_try='test -z "$ac_cxx_werror_flag"
39699 || test ! -s conftest.err'
39700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39701 (eval $ac_try) 2>&5
39702 ac_status=$?
39703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39704 (exit $ac_status); }; } &&
39705 { ac_try='test -s conftest$ac_exeext'
39706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39707 (eval $ac_try) 2>&5
39708 ac_status=$?
39709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39710 (exit $ac_status); }; }; then
39711 glibcxx_cv_LFS=yes
39712 else
39713 echo "$as_me: failed program was:" >&5
39714 sed 's/^/| /' conftest.$ac_ext >&5
39716 glibcxx_cv_LFS=no
39718 rm -f conftest.err conftest.$ac_objext \
39719 conftest$ac_exeext conftest.$ac_ext
39723 if test $glibcxx_cv_LFS = yes; then
39725 cat >>confdefs.h <<\_ACEOF
39726 #define _GLIBCXX_USE_LFS 1
39727 _ACEOF
39730 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
39731 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
39732 CXXFLAGS="$ac_save_CXXFLAGS"
39733 ac_ext=c
39734 ac_cpp='$CPP $CPPFLAGS'
39735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39741 # For C99 support to TR1.
39746 ac_ext=cc
39747 ac_cpp='$CXXCPP $CPPFLAGS'
39748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39753 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
39754 # undefined and fake C99 facilities may be spuriously enabled.
39755 ac_save_CXXFLAGS="$CXXFLAGS"
39756 CXXFLAGS="$CXXFLAGS -std=c++98"
39758 # Check for the existence of <complex.h> complex math functions used
39759 # by tr1/complex.
39761 for ac_header in complex.h
39763 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39765 echo "$as_me:$LINENO: checking for $ac_header" >&5
39766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39768 echo $ECHO_N "(cached) $ECHO_C" >&6
39770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39771 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39772 else
39773 # Is the header compilable?
39774 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39775 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39776 cat >conftest.$ac_ext <<_ACEOF
39777 /* confdefs.h. */
39778 _ACEOF
39779 cat confdefs.h >>conftest.$ac_ext
39780 cat >>conftest.$ac_ext <<_ACEOF
39781 /* end confdefs.h. */
39782 $ac_includes_default
39783 #include <$ac_header>
39784 _ACEOF
39785 rm -f conftest.$ac_objext
39786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39787 (eval $ac_compile) 2>conftest.er1
39788 ac_status=$?
39789 grep -v '^ *+' conftest.er1 >conftest.err
39790 rm -f conftest.er1
39791 cat conftest.err >&5
39792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39793 (exit $ac_status); } &&
39794 { ac_try='test -z "$ac_cxx_werror_flag"
39795 || test ! -s conftest.err'
39796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39797 (eval $ac_try) 2>&5
39798 ac_status=$?
39799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39800 (exit $ac_status); }; } &&
39801 { ac_try='test -s conftest.$ac_objext'
39802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39803 (eval $ac_try) 2>&5
39804 ac_status=$?
39805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39806 (exit $ac_status); }; }; then
39807 ac_header_compiler=yes
39808 else
39809 echo "$as_me: failed program was:" >&5
39810 sed 's/^/| /' conftest.$ac_ext >&5
39812 ac_header_compiler=no
39814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39815 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39816 echo "${ECHO_T}$ac_header_compiler" >&6
39818 # Is the header present?
39819 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39820 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39821 cat >conftest.$ac_ext <<_ACEOF
39822 /* confdefs.h. */
39823 _ACEOF
39824 cat confdefs.h >>conftest.$ac_ext
39825 cat >>conftest.$ac_ext <<_ACEOF
39826 /* end confdefs.h. */
39827 #include <$ac_header>
39828 _ACEOF
39829 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39830 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39831 ac_status=$?
39832 grep -v '^ *+' conftest.er1 >conftest.err
39833 rm -f conftest.er1
39834 cat conftest.err >&5
39835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39836 (exit $ac_status); } >/dev/null; then
39837 if test -s conftest.err; then
39838 ac_cpp_err=$ac_cxx_preproc_warn_flag
39839 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39840 else
39841 ac_cpp_err=
39843 else
39844 ac_cpp_err=yes
39846 if test -z "$ac_cpp_err"; then
39847 ac_header_preproc=yes
39848 else
39849 echo "$as_me: failed program was:" >&5
39850 sed 's/^/| /' conftest.$ac_ext >&5
39852 ac_header_preproc=no
39854 rm -f conftest.err conftest.$ac_ext
39855 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39856 echo "${ECHO_T}$ac_header_preproc" >&6
39858 # So? What about this header?
39859 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39860 yes:no: )
39861 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39862 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39863 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39864 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39865 ac_header_preproc=yes
39867 no:yes:* )
39868 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39869 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39870 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39871 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39872 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39873 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39874 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39875 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39876 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39877 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39878 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39879 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39881 cat <<\_ASBOX
39882 ## ----------------------------------------- ##
39883 ## Report this to the package-unused lists. ##
39884 ## ----------------------------------------- ##
39885 _ASBOX
39887 sed "s/^/$as_me: WARNING: /" >&2
39889 esac
39890 echo "$as_me:$LINENO: checking for $ac_header" >&5
39891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39893 echo $ECHO_N "(cached) $ECHO_C" >&6
39894 else
39895 eval "$as_ac_Header=\$ac_header_preproc"
39897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39901 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39902 cat >>confdefs.h <<_ACEOF
39903 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39904 _ACEOF
39905 ac_has_complex_h=yes
39906 else
39907 ac_has_complex_h=no
39910 done
39912 ac_c99_complex_tr1=no;
39913 if test x"$ac_has_complex_h" = x"yes"; then
39914 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
39915 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
39916 cat >conftest.$ac_ext <<_ACEOF
39917 /* confdefs.h. */
39918 _ACEOF
39919 cat confdefs.h >>conftest.$ac_ext
39920 cat >>conftest.$ac_ext <<_ACEOF
39921 /* end confdefs.h. */
39922 #include <complex.h>
39924 main ()
39926 typedef __complex__ float float_type; float_type tmpf;
39927 cacosf(tmpf);
39928 casinf(tmpf);
39929 catanf(tmpf);
39930 cacoshf(tmpf);
39931 casinhf(tmpf);
39932 catanhf(tmpf);
39933 typedef __complex__ double double_type; double_type tmpd;
39934 cacos(tmpd);
39935 casin(tmpd);
39936 catan(tmpd);
39937 cacosh(tmpd);
39938 casinh(tmpd);
39939 catanh(tmpd);
39940 typedef __complex__ long double ld_type; ld_type tmpld;
39941 cacosl(tmpld);
39942 casinl(tmpld);
39943 catanl(tmpld);
39944 cacoshl(tmpld);
39945 casinhl(tmpld);
39946 catanhl(tmpld);
39949 return 0;
39951 _ACEOF
39952 rm -f conftest.$ac_objext
39953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39954 (eval $ac_compile) 2>conftest.er1
39955 ac_status=$?
39956 grep -v '^ *+' conftest.er1 >conftest.err
39957 rm -f conftest.er1
39958 cat conftest.err >&5
39959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39960 (exit $ac_status); } &&
39961 { ac_try='test -z "$ac_cxx_werror_flag"
39962 || test ! -s conftest.err'
39963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39964 (eval $ac_try) 2>&5
39965 ac_status=$?
39966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39967 (exit $ac_status); }; } &&
39968 { ac_try='test -s conftest.$ac_objext'
39969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39970 (eval $ac_try) 2>&5
39971 ac_status=$?
39972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39973 (exit $ac_status); }; }; then
39974 ac_c99_complex_tr1=yes
39975 else
39976 echo "$as_me: failed program was:" >&5
39977 sed 's/^/| /' conftest.$ac_ext >&5
39979 ac_c99_complex_tr1=no
39981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39983 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
39984 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
39985 if test x"$ac_c99_complex_tr1" = x"yes"; then
39987 cat >>confdefs.h <<\_ACEOF
39988 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
39989 _ACEOF
39993 # Check for the existence of <ctype.h> functions.
39994 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
39995 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
39996 if test "${ac_c99_ctype_tr1+set}" = set; then
39997 echo $ECHO_N "(cached) $ECHO_C" >&6
39998 else
40000 cat >conftest.$ac_ext <<_ACEOF
40001 /* confdefs.h. */
40002 _ACEOF
40003 cat confdefs.h >>conftest.$ac_ext
40004 cat >>conftest.$ac_ext <<_ACEOF
40005 /* end confdefs.h. */
40006 #include <ctype.h>
40008 main ()
40010 int ch;
40011 int ret;
40012 ret = isblank(ch);
40015 return 0;
40017 _ACEOF
40018 rm -f conftest.$ac_objext
40019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40020 (eval $ac_compile) 2>conftest.er1
40021 ac_status=$?
40022 grep -v '^ *+' conftest.er1 >conftest.err
40023 rm -f conftest.er1
40024 cat conftest.err >&5
40025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40026 (exit $ac_status); } &&
40027 { ac_try='test -z "$ac_cxx_werror_flag"
40028 || test ! -s conftest.err'
40029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40030 (eval $ac_try) 2>&5
40031 ac_status=$?
40032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40033 (exit $ac_status); }; } &&
40034 { ac_try='test -s conftest.$ac_objext'
40035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40036 (eval $ac_try) 2>&5
40037 ac_status=$?
40038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40039 (exit $ac_status); }; }; then
40040 ac_c99_ctype_tr1=yes
40041 else
40042 echo "$as_me: failed program was:" >&5
40043 sed 's/^/| /' conftest.$ac_ext >&5
40045 ac_c99_ctype_tr1=no
40047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40051 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
40052 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
40053 if test x"$ac_c99_ctype_tr1" = x"yes"; then
40055 cat >>confdefs.h <<\_ACEOF
40056 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
40057 _ACEOF
40061 # Check for the existence of <fenv.h> functions.
40063 for ac_header in fenv.h
40065 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40067 echo "$as_me:$LINENO: checking for $ac_header" >&5
40068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40070 echo $ECHO_N "(cached) $ECHO_C" >&6
40072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40073 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40074 else
40075 # Is the header compilable?
40076 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40077 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40078 cat >conftest.$ac_ext <<_ACEOF
40079 /* confdefs.h. */
40080 _ACEOF
40081 cat confdefs.h >>conftest.$ac_ext
40082 cat >>conftest.$ac_ext <<_ACEOF
40083 /* end confdefs.h. */
40084 $ac_includes_default
40085 #include <$ac_header>
40086 _ACEOF
40087 rm -f conftest.$ac_objext
40088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40089 (eval $ac_compile) 2>conftest.er1
40090 ac_status=$?
40091 grep -v '^ *+' conftest.er1 >conftest.err
40092 rm -f conftest.er1
40093 cat conftest.err >&5
40094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40095 (exit $ac_status); } &&
40096 { ac_try='test -z "$ac_cxx_werror_flag"
40097 || test ! -s conftest.err'
40098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40099 (eval $ac_try) 2>&5
40100 ac_status=$?
40101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40102 (exit $ac_status); }; } &&
40103 { ac_try='test -s conftest.$ac_objext'
40104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40105 (eval $ac_try) 2>&5
40106 ac_status=$?
40107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40108 (exit $ac_status); }; }; then
40109 ac_header_compiler=yes
40110 else
40111 echo "$as_me: failed program was:" >&5
40112 sed 's/^/| /' conftest.$ac_ext >&5
40114 ac_header_compiler=no
40116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40117 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40118 echo "${ECHO_T}$ac_header_compiler" >&6
40120 # Is the header present?
40121 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40122 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40123 cat >conftest.$ac_ext <<_ACEOF
40124 /* confdefs.h. */
40125 _ACEOF
40126 cat confdefs.h >>conftest.$ac_ext
40127 cat >>conftest.$ac_ext <<_ACEOF
40128 /* end confdefs.h. */
40129 #include <$ac_header>
40130 _ACEOF
40131 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40132 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40133 ac_status=$?
40134 grep -v '^ *+' conftest.er1 >conftest.err
40135 rm -f conftest.er1
40136 cat conftest.err >&5
40137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40138 (exit $ac_status); } >/dev/null; then
40139 if test -s conftest.err; then
40140 ac_cpp_err=$ac_cxx_preproc_warn_flag
40141 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40142 else
40143 ac_cpp_err=
40145 else
40146 ac_cpp_err=yes
40148 if test -z "$ac_cpp_err"; then
40149 ac_header_preproc=yes
40150 else
40151 echo "$as_me: failed program was:" >&5
40152 sed 's/^/| /' conftest.$ac_ext >&5
40154 ac_header_preproc=no
40156 rm -f conftest.err conftest.$ac_ext
40157 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40158 echo "${ECHO_T}$ac_header_preproc" >&6
40160 # So? What about this header?
40161 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40162 yes:no: )
40163 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40164 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40166 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40167 ac_header_preproc=yes
40169 no:yes:* )
40170 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40171 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40172 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40173 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40174 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40175 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40176 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40177 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40178 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40179 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40180 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40181 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40183 cat <<\_ASBOX
40184 ## ----------------------------------------- ##
40185 ## Report this to the package-unused lists. ##
40186 ## ----------------------------------------- ##
40187 _ASBOX
40189 sed "s/^/$as_me: WARNING: /" >&2
40191 esac
40192 echo "$as_me:$LINENO: checking for $ac_header" >&5
40193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40195 echo $ECHO_N "(cached) $ECHO_C" >&6
40196 else
40197 eval "$as_ac_Header=\$ac_header_preproc"
40199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40204 cat >>confdefs.h <<_ACEOF
40205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40206 _ACEOF
40207 ac_has_fenv_h=yes
40208 else
40209 ac_has_fenv_h=no
40212 done
40214 ac_c99_fenv_tr1=no;
40215 if test x"$ac_has_fenv_h" = x"yes"; then
40216 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
40217 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
40218 cat >conftest.$ac_ext <<_ACEOF
40219 /* confdefs.h. */
40220 _ACEOF
40221 cat confdefs.h >>conftest.$ac_ext
40222 cat >>conftest.$ac_ext <<_ACEOF
40223 /* end confdefs.h. */
40224 #include <fenv.h>
40226 main ()
40228 int except, mode;
40229 fexcept_t* pflag;
40230 fenv_t* penv;
40231 int ret;
40232 ret = feclearexcept(except);
40233 ret = fegetexceptflag(pflag, except);
40234 ret = feraiseexcept(except);
40235 ret = fesetexceptflag(pflag, except);
40236 ret = fetestexcept(except);
40237 ret = fegetround();
40238 ret = fesetround(mode);
40239 ret = fegetenv(penv);
40240 ret = feholdexcept(penv);
40241 ret = fesetenv(penv);
40242 ret = feupdateenv(penv);
40245 return 0;
40247 _ACEOF
40248 rm -f conftest.$ac_objext
40249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40250 (eval $ac_compile) 2>conftest.er1
40251 ac_status=$?
40252 grep -v '^ *+' conftest.er1 >conftest.err
40253 rm -f conftest.er1
40254 cat conftest.err >&5
40255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40256 (exit $ac_status); } &&
40257 { ac_try='test -z "$ac_cxx_werror_flag"
40258 || test ! -s conftest.err'
40259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40260 (eval $ac_try) 2>&5
40261 ac_status=$?
40262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40263 (exit $ac_status); }; } &&
40264 { ac_try='test -s conftest.$ac_objext'
40265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40266 (eval $ac_try) 2>&5
40267 ac_status=$?
40268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40269 (exit $ac_status); }; }; then
40270 ac_c99_fenv_tr1=yes
40271 else
40272 echo "$as_me: failed program was:" >&5
40273 sed 's/^/| /' conftest.$ac_ext >&5
40275 ac_c99_fenv_tr1=no
40277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40279 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
40280 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
40281 if test x"$ac_c99_fenv_tr1" = x"yes"; then
40283 cat >>confdefs.h <<\_ACEOF
40284 #define _GLIBCXX_USE_C99_FENV_TR1 1
40285 _ACEOF
40289 # Check for the existence of <stdint.h> types.
40290 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
40291 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
40292 if test "${ac_c99_stdint_tr1+set}" = set; then
40293 echo $ECHO_N "(cached) $ECHO_C" >&6
40294 else
40296 cat >conftest.$ac_ext <<_ACEOF
40297 /* confdefs.h. */
40298 _ACEOF
40299 cat confdefs.h >>conftest.$ac_ext
40300 cat >>conftest.$ac_ext <<_ACEOF
40301 /* end confdefs.h. */
40302 #include <stdint.h>
40304 main ()
40306 typedef int8_t my_int8_t;
40307 typedef int16_t my_int16_t;
40308 typedef int32_t my_int32_t;
40309 typedef int64_t my_int64_t;
40310 typedef int_fast8_t my_int_fast8_t;
40311 typedef int_fast16_t my_int_fast16_t;
40312 typedef int_fast32_t my_int_fast32_t;
40313 typedef int_fast64_t my_int_fast64_t;
40314 typedef int_least8_t my_int_least8_t;
40315 typedef int_least16_t my_int_least16_t;
40316 typedef int_least32_t my_int_least32_t;
40317 typedef int_least64_t my_int_least64_t;
40318 typedef intmax_t my_intmax_t;
40319 typedef intptr_t my_intptr_t;
40320 typedef uint8_t my_uint8_t;
40321 typedef uint16_t my_uint16_t;
40322 typedef uint32_t my_uint32_t;
40323 typedef uint64_t my_uint64_t;
40324 typedef uint_fast8_t my_uint_fast8_t;
40325 typedef uint_fast16_t my_uint_fast16_t;
40326 typedef uint_fast32_t my_uint_fast32_t;
40327 typedef uint_fast64_t my_uint_fast64_t;
40328 typedef uint_least8_t my_uint_least8_t;
40329 typedef uint_least16_t my_uint_least16_t;
40330 typedef uint_least32_t my_uint_least32_t;
40331 typedef uint_least64_t my_uint_least64_t;
40332 typedef uintmax_t my_uintmax_t;
40333 typedef uintptr_t my_uintptr_t;
40336 return 0;
40338 _ACEOF
40339 rm -f conftest.$ac_objext
40340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40341 (eval $ac_compile) 2>conftest.er1
40342 ac_status=$?
40343 grep -v '^ *+' conftest.er1 >conftest.err
40344 rm -f conftest.er1
40345 cat conftest.err >&5
40346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40347 (exit $ac_status); } &&
40348 { ac_try='test -z "$ac_cxx_werror_flag"
40349 || test ! -s conftest.err'
40350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40351 (eval $ac_try) 2>&5
40352 ac_status=$?
40353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40354 (exit $ac_status); }; } &&
40355 { ac_try='test -s conftest.$ac_objext'
40356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40357 (eval $ac_try) 2>&5
40358 ac_status=$?
40359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40360 (exit $ac_status); }; }; then
40361 ac_c99_stdint_tr1=yes
40362 else
40363 echo "$as_me: failed program was:" >&5
40364 sed 's/^/| /' conftest.$ac_ext >&5
40366 ac_c99_stdint_tr1=no
40368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40372 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
40373 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
40374 if test x"$ac_c99_stdint_tr1" = x"yes"; then
40376 cat >>confdefs.h <<\_ACEOF
40377 #define _GLIBCXX_USE_C99_STDINT_TR1 1
40378 _ACEOF
40382 # Check for the existence of <math.h> functions.
40383 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
40384 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
40385 if test "${ac_c99_math_tr1+set}" = set; then
40386 echo $ECHO_N "(cached) $ECHO_C" >&6
40387 else
40389 cat >conftest.$ac_ext <<_ACEOF
40390 /* confdefs.h. */
40391 _ACEOF
40392 cat confdefs.h >>conftest.$ac_ext
40393 cat >>conftest.$ac_ext <<_ACEOF
40394 /* end confdefs.h. */
40395 #include <math.h>
40397 main ()
40399 typedef double_t my_double_t;
40400 typedef float_t my_float_t;
40401 acosh(0.0);
40402 acoshf(0.0f);
40403 acoshl(0.0l);
40404 asinh(0.0);
40405 asinhf(0.0f);
40406 asinhl(0.0l);
40407 atanh(0.0);
40408 atanhf(0.0f);
40409 atanhl(0.0l);
40410 cbrt(0.0);
40411 cbrtf(0.0f);
40412 cbrtl(0.0l);
40413 copysign(0.0, 0.0);
40414 copysignf(0.0f, 0.0f);
40415 copysignl(0.0l, 0.0l);
40416 erf(0.0);
40417 erff(0.0f);
40418 erfl(0.0l);
40419 erfc(0.0);
40420 erfcf(0.0f);
40421 erfcl(0.0l);
40422 exp2(0.0);
40423 exp2f(0.0f);
40424 exp2l(0.0l);
40425 expm1(0.0);
40426 expm1f(0.0f);
40427 expm1l(0.0l);
40428 fdim(0.0, 0.0);
40429 fdimf(0.0f, 0.0f);
40430 fdiml(0.0l, 0.0l);
40431 fma(0.0, 0.0, 0.0);
40432 fmaf(0.0f, 0.0f, 0.0f);
40433 fmal(0.0l, 0.0l, 0.0l);
40434 fmax(0.0, 0.0);
40435 fmaxf(0.0f, 0.0f);
40436 fmaxl(0.0l, 0.0l);
40437 fmin(0.0, 0.0);
40438 fminf(0.0f, 0.0f);
40439 fminl(0.0l, 0.0l);
40440 hypot(0.0, 0.0);
40441 hypotf(0.0f, 0.0f);
40442 hypotl(0.0l, 0.0l);
40443 ilogb(0.0);
40444 ilogbf(0.0f);
40445 ilogbl(0.0l);
40446 lgamma(0.0);
40447 lgammaf(0.0f);
40448 lgammal(0.0l);
40449 llrint(0.0);
40450 llrintf(0.0f);
40451 llrintl(0.0l);
40452 llround(0.0);
40453 llroundf(0.0f);
40454 llroundl(0.0l);
40455 log1p(0.0);
40456 log1pf(0.0f);
40457 log1pl(0.0l);
40458 log2(0.0);
40459 log2f(0.0f);
40460 log2l(0.0l);
40461 logb(0.0);
40462 logbf(0.0f);
40463 logbl(0.0l);
40464 lrint(0.0);
40465 lrintf(0.0f);
40466 lrintl(0.0l);
40467 lround(0.0);
40468 lroundf(0.0f);
40469 lroundl(0.0l);
40470 nan(0);
40471 nanf(0);
40472 nanl(0);
40473 nearbyint(0.0);
40474 nearbyintf(0.0f);
40475 nearbyintl(0.0l);
40476 nextafter(0.0, 0.0);
40477 nextafterf(0.0f, 0.0f);
40478 nextafterl(0.0l, 0.0l);
40479 nexttoward(0.0, 0.0);
40480 nexttowardf(0.0f, 0.0f);
40481 nexttowardl(0.0l, 0.0l);
40482 remainder(0.0, 0.0);
40483 remainderf(0.0f, 0.0f);
40484 remainderl(0.0l, 0.0l);
40485 remquo(0.0, 0.0, 0);
40486 remquo(0.0f, 0.0f, 0);
40487 remquo(0.0l, 0.0l, 0);
40488 rint(0.0);
40489 rintf(0.0f);
40490 rintl(0.0l);
40491 round(0.0);
40492 roundf(0.0f);
40493 roundl(0.0l);
40494 scalbln(0.0, 0l);
40495 scalblnf(0.0f, 0l);
40496 scalblnl(0.0l, 0l);
40497 scalbn(0.0, 0);
40498 scalbnf(0.0f, 0);
40499 scalbnl(0.0l, 0);
40500 tgamma(0.0);
40501 tgammaf(0.0f);
40502 tgammal(0.0l);
40503 trunc(0.0);
40504 truncf(0.0f);
40505 truncl(0.0l);
40508 return 0;
40510 _ACEOF
40511 rm -f conftest.$ac_objext
40512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40513 (eval $ac_compile) 2>conftest.er1
40514 ac_status=$?
40515 grep -v '^ *+' conftest.er1 >conftest.err
40516 rm -f conftest.er1
40517 cat conftest.err >&5
40518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40519 (exit $ac_status); } &&
40520 { ac_try='test -z "$ac_cxx_werror_flag"
40521 || test ! -s conftest.err'
40522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40523 (eval $ac_try) 2>&5
40524 ac_status=$?
40525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40526 (exit $ac_status); }; } &&
40527 { ac_try='test -s conftest.$ac_objext'
40528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40529 (eval $ac_try) 2>&5
40530 ac_status=$?
40531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40532 (exit $ac_status); }; }; then
40533 ac_c99_math_tr1=yes
40534 else
40535 echo "$as_me: failed program was:" >&5
40536 sed 's/^/| /' conftest.$ac_ext >&5
40538 ac_c99_math_tr1=no
40540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40544 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
40545 echo "${ECHO_T}$ac_c99_math_tr1" >&6
40546 if test x"$ac_c99_math_tr1" = x"yes"; then
40548 cat >>confdefs.h <<\_ACEOF
40549 #define _GLIBCXX_USE_C99_MATH_TR1 1
40550 _ACEOF
40554 # Check for the existence of <inttypes.h> functions (NB: doesn't make
40555 # sense if the previous check fails, per C99, 7.8/1).
40556 ac_c99_inttypes_tr1=no;
40557 if test x"$ac_c99_stdint_tr1" = x"yes"; then
40558 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
40559 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
40560 cat >conftest.$ac_ext <<_ACEOF
40561 /* confdefs.h. */
40562 _ACEOF
40563 cat confdefs.h >>conftest.$ac_ext
40564 cat >>conftest.$ac_ext <<_ACEOF
40565 /* end confdefs.h. */
40566 #include <inttypes.h>
40568 main ()
40570 intmax_t i, numer, denom, base;
40571 const char* s;
40572 char** endptr;
40573 intmax_t ret = imaxabs(i);
40574 imaxdiv_t dret = imaxdiv(numer, denom);
40575 ret = strtoimax(s, endptr, base);
40576 uintmax_t uret = strtoumax(s, endptr, base);
40579 return 0;
40581 _ACEOF
40582 rm -f conftest.$ac_objext
40583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40584 (eval $ac_compile) 2>conftest.er1
40585 ac_status=$?
40586 grep -v '^ *+' conftest.er1 >conftest.err
40587 rm -f conftest.er1
40588 cat conftest.err >&5
40589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40590 (exit $ac_status); } &&
40591 { ac_try='test -z "$ac_cxx_werror_flag"
40592 || test ! -s conftest.err'
40593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40594 (eval $ac_try) 2>&5
40595 ac_status=$?
40596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40597 (exit $ac_status); }; } &&
40598 { ac_try='test -s conftest.$ac_objext'
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_c99_inttypes_tr1=yes
40605 else
40606 echo "$as_me: failed program was:" >&5
40607 sed 's/^/| /' conftest.$ac_ext >&5
40609 ac_c99_inttypes_tr1=no
40611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40613 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
40614 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
40615 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
40617 cat >>confdefs.h <<\_ACEOF
40618 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
40619 _ACEOF
40623 # Check for the existence of the <stdbool.h> header.
40625 for ac_header in stdbool.h
40627 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40629 echo "$as_me:$LINENO: checking for $ac_header" >&5
40630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40632 echo $ECHO_N "(cached) $ECHO_C" >&6
40634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40635 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40636 else
40637 # Is the header compilable?
40638 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40639 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40640 cat >conftest.$ac_ext <<_ACEOF
40641 /* confdefs.h. */
40642 _ACEOF
40643 cat confdefs.h >>conftest.$ac_ext
40644 cat >>conftest.$ac_ext <<_ACEOF
40645 /* end confdefs.h. */
40646 $ac_includes_default
40647 #include <$ac_header>
40648 _ACEOF
40649 rm -f conftest.$ac_objext
40650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40651 (eval $ac_compile) 2>conftest.er1
40652 ac_status=$?
40653 grep -v '^ *+' conftest.er1 >conftest.err
40654 rm -f conftest.er1
40655 cat conftest.err >&5
40656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40657 (exit $ac_status); } &&
40658 { ac_try='test -z "$ac_cxx_werror_flag"
40659 || test ! -s conftest.err'
40660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40661 (eval $ac_try) 2>&5
40662 ac_status=$?
40663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40664 (exit $ac_status); }; } &&
40665 { ac_try='test -s conftest.$ac_objext'
40666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40667 (eval $ac_try) 2>&5
40668 ac_status=$?
40669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40670 (exit $ac_status); }; }; then
40671 ac_header_compiler=yes
40672 else
40673 echo "$as_me: failed program was:" >&5
40674 sed 's/^/| /' conftest.$ac_ext >&5
40676 ac_header_compiler=no
40678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40679 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40680 echo "${ECHO_T}$ac_header_compiler" >&6
40682 # Is the header present?
40683 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40684 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40685 cat >conftest.$ac_ext <<_ACEOF
40686 /* confdefs.h. */
40687 _ACEOF
40688 cat confdefs.h >>conftest.$ac_ext
40689 cat >>conftest.$ac_ext <<_ACEOF
40690 /* end confdefs.h. */
40691 #include <$ac_header>
40692 _ACEOF
40693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40694 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40695 ac_status=$?
40696 grep -v '^ *+' conftest.er1 >conftest.err
40697 rm -f conftest.er1
40698 cat conftest.err >&5
40699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40700 (exit $ac_status); } >/dev/null; then
40701 if test -s conftest.err; then
40702 ac_cpp_err=$ac_cxx_preproc_warn_flag
40703 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40704 else
40705 ac_cpp_err=
40707 else
40708 ac_cpp_err=yes
40710 if test -z "$ac_cpp_err"; then
40711 ac_header_preproc=yes
40712 else
40713 echo "$as_me: failed program was:" >&5
40714 sed 's/^/| /' conftest.$ac_ext >&5
40716 ac_header_preproc=no
40718 rm -f conftest.err conftest.$ac_ext
40719 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40720 echo "${ECHO_T}$ac_header_preproc" >&6
40722 # So? What about this header?
40723 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40724 yes:no: )
40725 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40726 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40727 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40728 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40729 ac_header_preproc=yes
40731 no:yes:* )
40732 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40733 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40734 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40735 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40736 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40737 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40738 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40739 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40740 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40741 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40742 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40743 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40745 cat <<\_ASBOX
40746 ## ----------------------------------------- ##
40747 ## Report this to the package-unused lists. ##
40748 ## ----------------------------------------- ##
40749 _ASBOX
40751 sed "s/^/$as_me: WARNING: /" >&2
40753 esac
40754 echo "$as_me:$LINENO: checking for $ac_header" >&5
40755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40757 echo $ECHO_N "(cached) $ECHO_C" >&6
40758 else
40759 eval "$as_ac_Header=\$ac_header_preproc"
40761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40762 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40765 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40766 cat >>confdefs.h <<_ACEOF
40767 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40768 _ACEOF
40772 done
40775 CXXFLAGS="$ac_save_CXXFLAGS"
40776 ac_ext=c
40777 ac_cpp='$CPP $CPPFLAGS'
40778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40784 # For dev/random and dev/urandom for TR1.
40787 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
40788 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
40789 if test "${ac_random_tr1+set}" = set; then
40790 echo $ECHO_N "(cached) $ECHO_C" >&6
40791 else
40793 if test "$cross_compiling" = yes; then
40794 ac_random_tr1=no
40795 else
40796 cat >conftest.$ac_ext <<_ACEOF
40797 /* confdefs.h. */
40798 _ACEOF
40799 cat confdefs.h >>conftest.$ac_ext
40800 cat >>conftest.$ac_ext <<_ACEOF
40801 /* end confdefs.h. */
40802 #include <stdio.h>
40803 int main()
40805 return !(fopen("/dev/random", "r")
40806 && fopen("/dev/urandom", "r"));
40809 _ACEOF
40810 rm -f conftest$ac_exeext
40811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40812 (eval $ac_link) 2>&5
40813 ac_status=$?
40814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40815 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40817 (eval $ac_try) 2>&5
40818 ac_status=$?
40819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40820 (exit $ac_status); }; }; then
40821 ac_random_tr1=yes
40822 else
40823 echo "$as_me: program exited with status $ac_status" >&5
40824 echo "$as_me: failed program was:" >&5
40825 sed 's/^/| /' conftest.$ac_ext >&5
40827 ( exit $ac_status )
40828 ac_random_tr1=no
40830 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40835 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
40836 echo "${ECHO_T}$ac_random_tr1" >&6
40837 if test x"$ac_random_tr1" = x"yes"; then
40839 cat >>confdefs.h <<\_ACEOF
40840 #define _GLIBCXX_USE_RANDOM_TR1 1
40841 _ACEOF
40847 # For TLS support.
40849 # Check whether --enable-tls or --disable-tls was given.
40850 if test "${enable_tls+set}" = set; then
40851 enableval="$enable_tls"
40853 case "$enableval" in
40854 yes|no) ;;
40855 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
40856 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
40857 { (exit 1); exit 1; }; } ;;
40858 esac
40860 else
40861 enable_tls=yes
40864 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
40865 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
40866 if test "${gcc_cv_have_tls+set}" = set; then
40867 echo $ECHO_N "(cached) $ECHO_C" >&6
40868 else
40870 if test "$cross_compiling" = yes; then
40871 if test x$gcc_no_link = xyes; then
40872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40874 { (exit 1); exit 1; }; }
40876 cat >conftest.$ac_ext <<_ACEOF
40877 __thread int a; int b; int main() { return a = b; }
40878 _ACEOF
40879 rm -f conftest.$ac_objext conftest$ac_exeext
40880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40881 (eval $ac_link) 2>conftest.er1
40882 ac_status=$?
40883 grep -v '^ *+' conftest.er1 >conftest.err
40884 rm -f conftest.er1
40885 cat conftest.err >&5
40886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40887 (exit $ac_status); } &&
40888 { ac_try='test -z "$ac_c_werror_flag"
40889 || test ! -s conftest.err'
40890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40891 (eval $ac_try) 2>&5
40892 ac_status=$?
40893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40894 (exit $ac_status); }; } &&
40895 { ac_try='test -s conftest$ac_exeext'
40896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40897 (eval $ac_try) 2>&5
40898 ac_status=$?
40899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40900 (exit $ac_status); }; }; then
40901 gcc_cv_have_tls=yes
40902 else
40903 echo "$as_me: failed program was:" >&5
40904 sed 's/^/| /' conftest.$ac_ext >&5
40906 gcc_cv_have_tls=no
40908 rm -f conftest.err conftest.$ac_objext \
40909 conftest$ac_exeext conftest.$ac_ext
40912 else
40913 cat >conftest.$ac_ext <<_ACEOF
40914 __thread int a; int b; int main() { return a = b; }
40915 _ACEOF
40916 rm -f conftest$ac_exeext
40917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40918 (eval $ac_link) 2>&5
40919 ac_status=$?
40920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40921 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40923 (eval $ac_try) 2>&5
40924 ac_status=$?
40925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40926 (exit $ac_status); }; }; then
40927 chktls_save_LDFLAGS="$LDFLAGS"
40928 LDFLAGS="-static $LDFLAGS"
40929 if test x$gcc_no_link = xyes; then
40930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40932 { (exit 1); exit 1; }; }
40934 cat >conftest.$ac_ext <<_ACEOF
40935 int main() { return 0; }
40936 _ACEOF
40937 rm -f conftest.$ac_objext conftest$ac_exeext
40938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40939 (eval $ac_link) 2>conftest.er1
40940 ac_status=$?
40941 grep -v '^ *+' conftest.er1 >conftest.err
40942 rm -f conftest.er1
40943 cat conftest.err >&5
40944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40945 (exit $ac_status); } &&
40946 { ac_try='test -z "$ac_c_werror_flag"
40947 || test ! -s conftest.err'
40948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40949 (eval $ac_try) 2>&5
40950 ac_status=$?
40951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40952 (exit $ac_status); }; } &&
40953 { ac_try='test -s conftest$ac_exeext'
40954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40955 (eval $ac_try) 2>&5
40956 ac_status=$?
40957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40958 (exit $ac_status); }; }; then
40959 if test "$cross_compiling" = yes; then
40960 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40961 See \`config.log' for more details." >&5
40962 echo "$as_me: error: cannot run test program while cross compiling
40963 See \`config.log' for more details." >&2;}
40964 { (exit 1); exit 1; }; }
40965 else
40966 cat >conftest.$ac_ext <<_ACEOF
40967 __thread int a; int b; int main() { return a = b; }
40968 _ACEOF
40969 rm -f conftest$ac_exeext
40970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40971 (eval $ac_link) 2>&5
40972 ac_status=$?
40973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40974 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40976 (eval $ac_try) 2>&5
40977 ac_status=$?
40978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40979 (exit $ac_status); }; }; then
40980 gcc_cv_have_tls=yes
40981 else
40982 echo "$as_me: program exited with status $ac_status" >&5
40983 echo "$as_me: failed program was:" >&5
40984 sed 's/^/| /' conftest.$ac_ext >&5
40986 ( exit $ac_status )
40987 gcc_cv_have_tls=no
40989 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40991 else
40992 echo "$as_me: failed program was:" >&5
40993 sed 's/^/| /' conftest.$ac_ext >&5
40995 gcc_cv_have_tls=yes
40997 rm -f conftest.err conftest.$ac_objext \
40998 conftest$ac_exeext conftest.$ac_ext
40999 LDFLAGS="$chktls_save_LDFLAGS"
41000 if test $gcc_cv_have_tls = yes; then
41001 chktls_save_CFLAGS="$CFLAGS"
41002 thread_CFLAGS=failed
41003 for flag in '' '-pthread' '-lpthread'; do
41004 CFLAGS="$flag $chktls_save_CFLAGS"
41005 if test x$gcc_no_link = xyes; then
41006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41008 { (exit 1); exit 1; }; }
41010 cat >conftest.$ac_ext <<_ACEOF
41011 /* confdefs.h. */
41012 _ACEOF
41013 cat confdefs.h >>conftest.$ac_ext
41014 cat >>conftest.$ac_ext <<_ACEOF
41015 /* end confdefs.h. */
41016 #include <pthread.h>
41017 void *g(void *d) { return NULL; }
41019 main ()
41021 pthread_t t; pthread_create(&t,NULL,g,NULL);
41023 return 0;
41025 _ACEOF
41026 rm -f conftest.$ac_objext conftest$ac_exeext
41027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41028 (eval $ac_link) 2>conftest.er1
41029 ac_status=$?
41030 grep -v '^ *+' conftest.er1 >conftest.err
41031 rm -f conftest.er1
41032 cat conftest.err >&5
41033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41034 (exit $ac_status); } &&
41035 { ac_try='test -z "$ac_c_werror_flag"
41036 || test ! -s conftest.err'
41037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41038 (eval $ac_try) 2>&5
41039 ac_status=$?
41040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41041 (exit $ac_status); }; } &&
41042 { ac_try='test -s conftest$ac_exeext'
41043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41044 (eval $ac_try) 2>&5
41045 ac_status=$?
41046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41047 (exit $ac_status); }; }; then
41048 thread_CFLAGS="$flag"
41049 else
41050 echo "$as_me: failed program was:" >&5
41051 sed 's/^/| /' conftest.$ac_ext >&5
41054 rm -f conftest.err conftest.$ac_objext \
41055 conftest$ac_exeext conftest.$ac_ext
41056 if test "X$thread_CFLAGS" != Xfailed; then
41057 break
41059 done
41060 CFLAGS="$chktls_save_CFLAGS"
41061 if test "X$thread_CFLAGS" != Xfailed; then
41062 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
41063 if test "$cross_compiling" = yes; then
41064 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41065 See \`config.log' for more details." >&5
41066 echo "$as_me: error: cannot run test program while cross compiling
41067 See \`config.log' for more details." >&2;}
41068 { (exit 1); exit 1; }; }
41069 else
41070 cat >conftest.$ac_ext <<_ACEOF
41071 /* confdefs.h. */
41072 _ACEOF
41073 cat confdefs.h >>conftest.$ac_ext
41074 cat >>conftest.$ac_ext <<_ACEOF
41075 /* end confdefs.h. */
41076 #include <pthread.h>
41077 __thread int a;
41078 static int *a_in_other_thread;
41079 static void *
41080 thread_func (void *arg)
41082 a_in_other_thread = &a;
41083 return (void *)0;
41086 main ()
41088 pthread_t thread;
41089 void *thread_retval;
41090 int *a_in_main_thread;
41091 if (pthread_create (&thread, (pthread_attr_t *)0,
41092 thread_func, (void *)0))
41093 return 0;
41094 a_in_main_thread = &a;
41095 if (pthread_join (thread, &thread_retval))
41096 return 0;
41097 return (a_in_other_thread == a_in_main_thread);
41099 return 0;
41101 _ACEOF
41102 rm -f conftest$ac_exeext
41103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41104 (eval $ac_link) 2>&5
41105 ac_status=$?
41106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41107 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41109 (eval $ac_try) 2>&5
41110 ac_status=$?
41111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41112 (exit $ac_status); }; }; then
41113 gcc_cv_have_tls=yes
41114 else
41115 echo "$as_me: program exited with status $ac_status" >&5
41116 echo "$as_me: failed program was:" >&5
41117 sed 's/^/| /' conftest.$ac_ext >&5
41119 ( exit $ac_status )
41120 gcc_cv_have_tls=no
41122 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41124 CFLAGS="$chktls_save_CFLAGS"
41127 else
41128 echo "$as_me: program exited with status $ac_status" >&5
41129 echo "$as_me: failed program was:" >&5
41130 sed 's/^/| /' conftest.$ac_ext >&5
41132 ( exit $ac_status )
41133 gcc_cv_have_tls=no
41135 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41138 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
41139 echo "${ECHO_T}$gcc_cv_have_tls" >&6
41140 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
41142 cat >>confdefs.h <<\_ACEOF
41143 #define HAVE_TLS 1
41144 _ACEOF
41148 # For _Unwind_GetIPInfo.
41152 ac_ext=cc
41153 ac_cpp='$CXXCPP $CPPFLAGS'
41154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41158 ac_save_CXXFLAGS="$CXXFLAGS"
41159 CXXFLAGS="$CXXFLAGS -fno-exceptions"
41160 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
41161 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
41162 if test "${gcc_cv_getipinfo+set}" = set; then
41163 echo $ECHO_N "(cached) $ECHO_C" >&6
41164 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 extern "C" { extern void _Unwind_GetIPInfo(); }
41179 main ()
41181 _Unwind_GetIPInfo();
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_cxx_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 gcc_cv_getipinfo=yes
41209 else
41210 echo "$as_me: failed program was:" >&5
41211 sed 's/^/| /' conftest.$ac_ext >&5
41213 gcc_cv_getipinfo=no
41215 rm -f conftest.err conftest.$ac_objext \
41216 conftest$ac_exeext conftest.$ac_ext
41220 if test $gcc_cv_getipinfo = yes; then
41222 cat >>confdefs.h <<\_ACEOF
41223 #define HAVE_GETIPINFO 1
41224 _ACEOF
41227 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
41228 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
41229 CXXFLAGS="$ac_save_CXXFLAGS"
41230 ac_ext=c
41231 ac_cpp='$CPP $CPPFLAGS'
41232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41239 if test "${ac_cv_header_locale_h+set}" = set; then
41240 echo "$as_me:$LINENO: checking for locale.h" >&5
41241 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41242 if test "${ac_cv_header_locale_h+set}" = set; then
41243 echo $ECHO_N "(cached) $ECHO_C" >&6
41245 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41246 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41247 else
41248 # Is the header compilable?
41249 echo "$as_me:$LINENO: checking locale.h usability" >&5
41250 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
41251 cat >conftest.$ac_ext <<_ACEOF
41252 /* confdefs.h. */
41253 _ACEOF
41254 cat confdefs.h >>conftest.$ac_ext
41255 cat >>conftest.$ac_ext <<_ACEOF
41256 /* end confdefs.h. */
41257 $ac_includes_default
41258 #include <locale.h>
41259 _ACEOF
41260 rm -f conftest.$ac_objext
41261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41262 (eval $ac_compile) 2>conftest.er1
41263 ac_status=$?
41264 grep -v '^ *+' conftest.er1 >conftest.err
41265 rm -f conftest.er1
41266 cat conftest.err >&5
41267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41268 (exit $ac_status); } &&
41269 { ac_try='test -z "$ac_c_werror_flag"
41270 || test ! -s conftest.err'
41271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41272 (eval $ac_try) 2>&5
41273 ac_status=$?
41274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41275 (exit $ac_status); }; } &&
41276 { ac_try='test -s conftest.$ac_objext'
41277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41278 (eval $ac_try) 2>&5
41279 ac_status=$?
41280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41281 (exit $ac_status); }; }; then
41282 ac_header_compiler=yes
41283 else
41284 echo "$as_me: failed program was:" >&5
41285 sed 's/^/| /' conftest.$ac_ext >&5
41287 ac_header_compiler=no
41289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41290 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41291 echo "${ECHO_T}$ac_header_compiler" >&6
41293 # Is the header present?
41294 echo "$as_me:$LINENO: checking locale.h presence" >&5
41295 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
41296 cat >conftest.$ac_ext <<_ACEOF
41297 /* confdefs.h. */
41298 _ACEOF
41299 cat confdefs.h >>conftest.$ac_ext
41300 cat >>conftest.$ac_ext <<_ACEOF
41301 /* end confdefs.h. */
41302 #include <locale.h>
41303 _ACEOF
41304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41306 ac_status=$?
41307 grep -v '^ *+' conftest.er1 >conftest.err
41308 rm -f conftest.er1
41309 cat conftest.err >&5
41310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41311 (exit $ac_status); } >/dev/null; then
41312 if test -s conftest.err; then
41313 ac_cpp_err=$ac_c_preproc_warn_flag
41314 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41315 else
41316 ac_cpp_err=
41318 else
41319 ac_cpp_err=yes
41321 if test -z "$ac_cpp_err"; then
41322 ac_header_preproc=yes
41323 else
41324 echo "$as_me: failed program was:" >&5
41325 sed 's/^/| /' conftest.$ac_ext >&5
41327 ac_header_preproc=no
41329 rm -f conftest.err conftest.$ac_ext
41330 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41331 echo "${ECHO_T}$ac_header_preproc" >&6
41333 # So? What about this header?
41334 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41335 yes:no: )
41336 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
41337 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
41338 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
41339 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
41340 ac_header_preproc=yes
41342 no:yes:* )
41343 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
41344 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
41345 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
41346 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
41347 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
41348 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
41349 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
41350 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
41351 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
41352 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
41353 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
41354 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
41356 cat <<\_ASBOX
41357 ## ----------------------------------------- ##
41358 ## Report this to the package-unused lists. ##
41359 ## ----------------------------------------- ##
41360 _ASBOX
41362 sed "s/^/$as_me: WARNING: /" >&2
41364 esac
41365 echo "$as_me:$LINENO: checking for locale.h" >&5
41366 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41367 if test "${ac_cv_header_locale_h+set}" = set; then
41368 echo $ECHO_N "(cached) $ECHO_C" >&6
41369 else
41370 ac_cv_header_locale_h=$ac_header_preproc
41372 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41373 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41376 if test $ac_cv_header_locale_h = yes; then
41378 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
41379 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
41380 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
41381 echo $ECHO_N "(cached) $ECHO_C" >&6
41382 else
41383 if test x$gcc_no_link = xyes; then
41384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41386 { (exit 1); exit 1; }; }
41388 cat >conftest.$ac_ext <<_ACEOF
41389 /* confdefs.h. */
41390 _ACEOF
41391 cat confdefs.h >>conftest.$ac_ext
41392 cat >>conftest.$ac_ext <<_ACEOF
41393 /* end confdefs.h. */
41394 #include <locale.h>
41396 main ()
41398 return LC_MESSAGES
41400 return 0;
41402 _ACEOF
41403 rm -f conftest.$ac_objext conftest$ac_exeext
41404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41405 (eval $ac_link) 2>conftest.er1
41406 ac_status=$?
41407 grep -v '^ *+' conftest.er1 >conftest.err
41408 rm -f conftest.er1
41409 cat conftest.err >&5
41410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41411 (exit $ac_status); } &&
41412 { ac_try='test -z "$ac_c_werror_flag"
41413 || test ! -s conftest.err'
41414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41415 (eval $ac_try) 2>&5
41416 ac_status=$?
41417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41418 (exit $ac_status); }; } &&
41419 { ac_try='test -s conftest$ac_exeext'
41420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41421 (eval $ac_try) 2>&5
41422 ac_status=$?
41423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41424 (exit $ac_status); }; }; then
41425 ac_cv_val_LC_MESSAGES=yes
41426 else
41427 echo "$as_me: failed program was:" >&5
41428 sed 's/^/| /' conftest.$ac_ext >&5
41430 ac_cv_val_LC_MESSAGES=no
41432 rm -f conftest.err conftest.$ac_objext \
41433 conftest$ac_exeext conftest.$ac_ext
41435 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
41436 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
41437 if test $ac_cv_val_LC_MESSAGES = yes; then
41439 cat >>confdefs.h <<\_ACEOF
41440 #define HAVE_LC_MESSAGES 1
41441 _ACEOF
41450 cat >conftest.$ac_ext <<_ACEOF
41451 /* confdefs.h. */
41452 _ACEOF
41453 cat confdefs.h >>conftest.$ac_ext
41454 cat >>conftest.$ac_ext <<_ACEOF
41455 /* end confdefs.h. */
41456 #include <setjmp.h>
41458 main ()
41460 sigjmp_buf env;
41461 while (! sigsetjmp (env, 1))
41462 siglongjmp (env, 1);
41465 return 0;
41467 _ACEOF
41468 rm -f conftest.$ac_objext
41469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41470 (eval $ac_compile) 2>conftest.er1
41471 ac_status=$?
41472 grep -v '^ *+' conftest.er1 >conftest.err
41473 rm -f conftest.er1
41474 cat conftest.err >&5
41475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41476 (exit $ac_status); } &&
41477 { ac_try='test -z "$ac_c_werror_flag"
41478 || test ! -s conftest.err'
41479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41480 (eval $ac_try) 2>&5
41481 ac_status=$?
41482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41483 (exit $ac_status); }; } &&
41484 { ac_try='test -s conftest.$ac_objext'
41485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41486 (eval $ac_try) 2>&5
41487 ac_status=$?
41488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41489 (exit $ac_status); }; }; then
41491 cat >>confdefs.h <<\_ACEOF
41492 #define HAVE_SIGSETJMP 1
41493 _ACEOF
41495 else
41496 echo "$as_me: failed program was:" >&5
41497 sed 's/^/| /' conftest.$ac_ext >&5
41500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41502 if test x$gcc_no_link = xyes; then
41503 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
41504 ac_cv_func_mmap_fixed_mapped=no
41507 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
41510 for ac_header in stdlib.h unistd.h
41512 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41514 echo "$as_me:$LINENO: checking for $ac_header" >&5
41515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41517 echo $ECHO_N "(cached) $ECHO_C" >&6
41519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41521 else
41522 # Is the header compilable?
41523 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41524 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41525 cat >conftest.$ac_ext <<_ACEOF
41526 /* confdefs.h. */
41527 _ACEOF
41528 cat confdefs.h >>conftest.$ac_ext
41529 cat >>conftest.$ac_ext <<_ACEOF
41530 /* end confdefs.h. */
41531 $ac_includes_default
41532 #include <$ac_header>
41533 _ACEOF
41534 rm -f conftest.$ac_objext
41535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41536 (eval $ac_compile) 2>conftest.er1
41537 ac_status=$?
41538 grep -v '^ *+' conftest.er1 >conftest.err
41539 rm -f conftest.er1
41540 cat conftest.err >&5
41541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41542 (exit $ac_status); } &&
41543 { ac_try='test -z "$ac_c_werror_flag"
41544 || test ! -s conftest.err'
41545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41546 (eval $ac_try) 2>&5
41547 ac_status=$?
41548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41549 (exit $ac_status); }; } &&
41550 { ac_try='test -s conftest.$ac_objext'
41551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41552 (eval $ac_try) 2>&5
41553 ac_status=$?
41554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41555 (exit $ac_status); }; }; then
41556 ac_header_compiler=yes
41557 else
41558 echo "$as_me: failed program was:" >&5
41559 sed 's/^/| /' conftest.$ac_ext >&5
41561 ac_header_compiler=no
41563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41565 echo "${ECHO_T}$ac_header_compiler" >&6
41567 # Is the header present?
41568 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41569 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41570 cat >conftest.$ac_ext <<_ACEOF
41571 /* confdefs.h. */
41572 _ACEOF
41573 cat confdefs.h >>conftest.$ac_ext
41574 cat >>conftest.$ac_ext <<_ACEOF
41575 /* end confdefs.h. */
41576 #include <$ac_header>
41577 _ACEOF
41578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41579 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41580 ac_status=$?
41581 grep -v '^ *+' conftest.er1 >conftest.err
41582 rm -f conftest.er1
41583 cat conftest.err >&5
41584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41585 (exit $ac_status); } >/dev/null; then
41586 if test -s conftest.err; then
41587 ac_cpp_err=$ac_c_preproc_warn_flag
41588 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41589 else
41590 ac_cpp_err=
41592 else
41593 ac_cpp_err=yes
41595 if test -z "$ac_cpp_err"; then
41596 ac_header_preproc=yes
41597 else
41598 echo "$as_me: failed program was:" >&5
41599 sed 's/^/| /' conftest.$ac_ext >&5
41601 ac_header_preproc=no
41603 rm -f conftest.err conftest.$ac_ext
41604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41605 echo "${ECHO_T}$ac_header_preproc" >&6
41607 # So? What about this header?
41608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41609 yes:no: )
41610 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41611 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41612 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41613 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41614 ac_header_preproc=yes
41616 no:yes:* )
41617 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41618 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41619 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41620 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41621 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41622 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41623 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41624 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41626 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41627 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41628 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41630 cat <<\_ASBOX
41631 ## ----------------------------------------- ##
41632 ## Report this to the package-unused lists. ##
41633 ## ----------------------------------------- ##
41634 _ASBOX
41636 sed "s/^/$as_me: WARNING: /" >&2
41638 esac
41639 echo "$as_me:$LINENO: checking for $ac_header" >&5
41640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41642 echo $ECHO_N "(cached) $ECHO_C" >&6
41643 else
41644 eval "$as_ac_Header=\$ac_header_preproc"
41646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41647 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41650 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41651 cat >>confdefs.h <<_ACEOF
41652 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41653 _ACEOF
41657 done
41660 for ac_func in getpagesize
41662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41663 echo "$as_me:$LINENO: checking for $ac_func" >&5
41664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41665 if eval "test \"\${$as_ac_var+set}\" = set"; then
41666 echo $ECHO_N "(cached) $ECHO_C" >&6
41667 else
41668 if test x$gcc_no_link = xyes; then
41669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41671 { (exit 1); exit 1; }; }
41673 cat >conftest.$ac_ext <<_ACEOF
41674 /* confdefs.h. */
41675 _ACEOF
41676 cat confdefs.h >>conftest.$ac_ext
41677 cat >>conftest.$ac_ext <<_ACEOF
41678 /* end confdefs.h. */
41679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41681 #define $ac_func innocuous_$ac_func
41683 /* System header to define __stub macros and hopefully few prototypes,
41684 which can conflict with char $ac_func (); below.
41685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41686 <limits.h> exists even on freestanding compilers. */
41688 #ifdef __STDC__
41689 # include <limits.h>
41690 #else
41691 # include <assert.h>
41692 #endif
41694 #undef $ac_func
41696 /* Override any gcc2 internal prototype to avoid an error. */
41697 #ifdef __cplusplus
41698 extern "C"
41700 #endif
41701 /* We use char because int might match the return type of a gcc2
41702 builtin and then its argument prototype would still apply. */
41703 char $ac_func ();
41704 /* The GNU C library defines this for functions which it implements
41705 to always fail with ENOSYS. Some functions are actually named
41706 something starting with __ and the normal name is an alias. */
41707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41708 choke me
41709 #else
41710 char (*f) () = $ac_func;
41711 #endif
41712 #ifdef __cplusplus
41714 #endif
41717 main ()
41719 return f != $ac_func;
41721 return 0;
41723 _ACEOF
41724 rm -f conftest.$ac_objext conftest$ac_exeext
41725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41726 (eval $ac_link) 2>conftest.er1
41727 ac_status=$?
41728 grep -v '^ *+' conftest.er1 >conftest.err
41729 rm -f conftest.er1
41730 cat conftest.err >&5
41731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41732 (exit $ac_status); } &&
41733 { ac_try='test -z "$ac_c_werror_flag"
41734 || test ! -s conftest.err'
41735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41736 (eval $ac_try) 2>&5
41737 ac_status=$?
41738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41739 (exit $ac_status); }; } &&
41740 { ac_try='test -s conftest$ac_exeext'
41741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41742 (eval $ac_try) 2>&5
41743 ac_status=$?
41744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41745 (exit $ac_status); }; }; then
41746 eval "$as_ac_var=yes"
41747 else
41748 echo "$as_me: failed program was:" >&5
41749 sed 's/^/| /' conftest.$ac_ext >&5
41751 eval "$as_ac_var=no"
41753 rm -f conftest.err conftest.$ac_objext \
41754 conftest$ac_exeext conftest.$ac_ext
41756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41758 if test `eval echo '${'$as_ac_var'}'` = yes; then
41759 cat >>confdefs.h <<_ACEOF
41760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41761 _ACEOF
41764 done
41766 echo "$as_me:$LINENO: checking for working mmap" >&5
41767 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
41768 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
41769 echo $ECHO_N "(cached) $ECHO_C" >&6
41770 else
41771 if test "$cross_compiling" = yes; then
41772 ac_cv_func_mmap_fixed_mapped=no
41773 else
41774 cat >conftest.$ac_ext <<_ACEOF
41775 /* confdefs.h. */
41776 _ACEOF
41777 cat confdefs.h >>conftest.$ac_ext
41778 cat >>conftest.$ac_ext <<_ACEOF
41779 /* end confdefs.h. */
41780 $ac_includes_default
41781 /* malloc might have been renamed as rpl_malloc. */
41782 #undef malloc
41784 /* Thanks to Mike Haertel and Jim Avera for this test.
41785 Here is a matrix of mmap possibilities:
41786 mmap private not fixed
41787 mmap private fixed at somewhere currently unmapped
41788 mmap private fixed at somewhere already mapped
41789 mmap shared not fixed
41790 mmap shared fixed at somewhere currently unmapped
41791 mmap shared fixed at somewhere already mapped
41792 For private mappings, we should verify that changes cannot be read()
41793 back from the file, nor mmap's back from the file at a different
41794 address. (There have been systems where private was not correctly
41795 implemented like the infamous i386 svr4.0, and systems where the
41796 VM page cache was not coherent with the file system buffer cache
41797 like early versions of FreeBSD and possibly contemporary NetBSD.)
41798 For shared mappings, we should conversely verify that changes get
41799 propagated back to all the places they're supposed to be.
41801 Grep wants private fixed already mapped.
41802 The main things grep needs to know about mmap are:
41803 * does it exist and is it safe to write into the mmap'd area
41804 * how to use it (BSD variants) */
41806 #include <fcntl.h>
41807 #include <sys/mman.h>
41809 #if !STDC_HEADERS && !HAVE_STDLIB_H
41810 char *malloc ();
41811 #endif
41813 /* This mess was copied from the GNU getpagesize.h. */
41814 #if !HAVE_GETPAGESIZE
41815 /* Assume that all systems that can run configure have sys/param.h. */
41816 # if !HAVE_SYS_PARAM_H
41817 # define HAVE_SYS_PARAM_H 1
41818 # endif
41820 # ifdef _SC_PAGESIZE
41821 # define getpagesize() sysconf(_SC_PAGESIZE)
41822 # else /* no _SC_PAGESIZE */
41823 # if HAVE_SYS_PARAM_H
41824 # include <sys/param.h>
41825 # ifdef EXEC_PAGESIZE
41826 # define getpagesize() EXEC_PAGESIZE
41827 # else /* no EXEC_PAGESIZE */
41828 # ifdef NBPG
41829 # define getpagesize() NBPG * CLSIZE
41830 # ifndef CLSIZE
41831 # define CLSIZE 1
41832 # endif /* no CLSIZE */
41833 # else /* no NBPG */
41834 # ifdef NBPC
41835 # define getpagesize() NBPC
41836 # else /* no NBPC */
41837 # ifdef PAGESIZE
41838 # define getpagesize() PAGESIZE
41839 # endif /* PAGESIZE */
41840 # endif /* no NBPC */
41841 # endif /* no NBPG */
41842 # endif /* no EXEC_PAGESIZE */
41843 # else /* no HAVE_SYS_PARAM_H */
41844 # define getpagesize() 8192 /* punt totally */
41845 # endif /* no HAVE_SYS_PARAM_H */
41846 # endif /* no _SC_PAGESIZE */
41848 #endif /* no HAVE_GETPAGESIZE */
41851 main ()
41853 char *data, *data2, *data3;
41854 int i, pagesize;
41855 int fd;
41857 pagesize = getpagesize ();
41859 /* First, make a file with some known garbage in it. */
41860 data = (char *) malloc (pagesize);
41861 if (!data)
41862 exit (1);
41863 for (i = 0; i < pagesize; ++i)
41864 *(data + i) = rand ();
41865 umask (0);
41866 fd = creat ("conftest.mmap", 0600);
41867 if (fd < 0)
41868 exit (1);
41869 if (write (fd, data, pagesize) != pagesize)
41870 exit (1);
41871 close (fd);
41873 /* Next, try to mmap the file at a fixed address which already has
41874 something else allocated at it. If we can, also make sure that
41875 we see the same garbage. */
41876 fd = open ("conftest.mmap", O_RDWR);
41877 if (fd < 0)
41878 exit (1);
41879 data2 = (char *) malloc (2 * pagesize);
41880 if (!data2)
41881 exit (1);
41882 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
41883 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
41884 MAP_PRIVATE | MAP_FIXED, fd, 0L))
41885 exit (1);
41886 for (i = 0; i < pagesize; ++i)
41887 if (*(data + i) != *(data2 + i))
41888 exit (1);
41890 /* Finally, make sure that changes to the mapped area do not
41891 percolate back to the file as seen by read(). (This is a bug on
41892 some variants of i386 svr4.0.) */
41893 for (i = 0; i < pagesize; ++i)
41894 *(data2 + i) = *(data2 + i) + 1;
41895 data3 = (char *) malloc (pagesize);
41896 if (!data3)
41897 exit (1);
41898 if (read (fd, data3, pagesize) != pagesize)
41899 exit (1);
41900 for (i = 0; i < pagesize; ++i)
41901 if (*(data + i) != *(data3 + i))
41902 exit (1);
41903 close (fd);
41904 exit (0);
41906 _ACEOF
41907 rm -f conftest$ac_exeext
41908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41909 (eval $ac_link) 2>&5
41910 ac_status=$?
41911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41912 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41914 (eval $ac_try) 2>&5
41915 ac_status=$?
41916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41917 (exit $ac_status); }; }; then
41918 ac_cv_func_mmap_fixed_mapped=yes
41919 else
41920 echo "$as_me: program exited with status $ac_status" >&5
41921 echo "$as_me: failed program was:" >&5
41922 sed 's/^/| /' conftest.$ac_ext >&5
41924 ( exit $ac_status )
41925 ac_cv_func_mmap_fixed_mapped=no
41927 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41930 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
41931 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
41932 if test $ac_cv_func_mmap_fixed_mapped = yes; then
41934 cat >>confdefs.h <<\_ACEOF
41935 #define HAVE_MMAP 1
41936 _ACEOF
41939 rm -f conftest.mmap
41943 # For iconv support.
41945 if test "X$prefix" = "XNONE"; then
41946 acl_final_prefix="$ac_default_prefix"
41947 else
41948 acl_final_prefix="$prefix"
41950 if test "X$exec_prefix" = "XNONE"; then
41951 acl_final_exec_prefix='${prefix}'
41952 else
41953 acl_final_exec_prefix="$exec_prefix"
41955 acl_save_prefix="$prefix"
41956 prefix="$acl_final_prefix"
41957 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
41958 prefix="$acl_save_prefix"
41961 # Check whether --with-gnu-ld or --without-gnu-ld was given.
41962 if test "${with_gnu_ld+set}" = set; then
41963 withval="$with_gnu_ld"
41964 test "$withval" = no || with_gnu_ld=yes
41965 else
41966 with_gnu_ld=no
41968 # Prepare PATH_SEPARATOR.
41969 # The user is always right.
41970 if test "${PATH_SEPARATOR+set}" != set; then
41971 echo "#! /bin/sh" >conf$$.sh
41972 echo "exit 0" >>conf$$.sh
41973 chmod +x conf$$.sh
41974 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41975 PATH_SEPARATOR=';'
41976 else
41977 PATH_SEPARATOR=:
41979 rm -f conf$$.sh
41981 ac_prog=ld
41982 if test "$GCC" = yes; then
41983 # Check if gcc -print-prog-name=ld gives a path.
41984 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
41985 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
41986 case $host in
41987 *-*-mingw*)
41988 # gcc leaves a trailing carriage return which upsets mingw
41989 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
41991 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
41992 esac
41993 case $ac_prog in
41994 # Accept absolute paths.
41995 [\\/]* | [A-Za-z]:[\\/]*)
41996 re_direlt='/[^/][^/]*/\.\./'
41997 # Canonicalize the path of ld
41998 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
41999 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
42000 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
42001 done
42002 test -z "$LD" && LD="$ac_prog"
42005 # If it fails, then pretend we aren't using GCC.
42006 ac_prog=ld
42009 # If it is relative, then search for the first ld in PATH.
42010 with_gnu_ld=unknown
42012 esac
42013 elif test "$with_gnu_ld" = yes; then
42014 echo "$as_me:$LINENO: checking for GNU ld" >&5
42015 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
42016 else
42017 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
42018 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
42020 if test "${acl_cv_path_LD+set}" = set; then
42021 echo $ECHO_N "(cached) $ECHO_C" >&6
42022 else
42023 if test -z "$LD"; then
42024 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
42025 for ac_dir in $PATH; do
42026 test -z "$ac_dir" && ac_dir=.
42027 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
42028 acl_cv_path_LD="$ac_dir/$ac_prog"
42029 # Check to see if the program is GNU ld. I'd rather use --version,
42030 # but apparently some GNU ld's only accept -v.
42031 # Break only if it was the GNU/non-GNU ld that we prefer.
42032 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
42033 test "$with_gnu_ld" != no && break
42034 else
42035 test "$with_gnu_ld" != yes && break
42038 done
42039 IFS="$ac_save_ifs"
42040 else
42041 acl_cv_path_LD="$LD" # Let the user override the test with a path.
42045 LD="$acl_cv_path_LD"
42046 if test -n "$LD"; then
42047 echo "$as_me:$LINENO: result: $LD" >&5
42048 echo "${ECHO_T}$LD" >&6
42049 else
42050 echo "$as_me:$LINENO: result: no" >&5
42051 echo "${ECHO_T}no" >&6
42053 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
42054 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
42055 { (exit 1); exit 1; }; }
42056 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
42057 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
42058 if test "${acl_cv_prog_gnu_ld+set}" = set; then
42059 echo $ECHO_N "(cached) $ECHO_C" >&6
42060 else
42061 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
42062 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
42063 acl_cv_prog_gnu_ld=yes
42064 else
42065 acl_cv_prog_gnu_ld=no
42068 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
42069 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
42070 with_gnu_ld=$acl_cv_prog_gnu_ld
42074 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
42075 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
42076 if test "${acl_cv_rpath+set}" = set; then
42077 echo $ECHO_N "(cached) $ECHO_C" >&6
42078 else
42080 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
42081 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
42082 . ./conftest.sh
42083 rm -f ./conftest.sh
42084 acl_cv_rpath=done
42087 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
42088 echo "${ECHO_T}$acl_cv_rpath" >&6
42089 wl="$acl_cv_wl"
42090 libext="$acl_cv_libext"
42091 shlibext="$acl_cv_shlibext"
42092 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
42093 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
42094 hardcode_direct="$acl_cv_hardcode_direct"
42095 hardcode_minus_L="$acl_cv_hardcode_minus_L"
42096 # Check whether --enable-rpath or --disable-rpath was given.
42097 if test "${enable_rpath+set}" = set; then
42098 enableval="$enable_rpath"
42100 else
42101 enable_rpath=yes
42110 use_additional=yes
42112 acl_save_prefix="$prefix"
42113 prefix="$acl_final_prefix"
42114 acl_save_exec_prefix="$exec_prefix"
42115 exec_prefix="$acl_final_exec_prefix"
42117 eval additional_includedir=\"$includedir\"
42118 eval additional_libdir=\"$libdir\"
42120 exec_prefix="$acl_save_exec_prefix"
42121 prefix="$acl_save_prefix"
42124 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
42125 if test "${with_libiconv_prefix+set}" = set; then
42126 withval="$with_libiconv_prefix"
42128 if test "X$withval" = "Xno"; then
42129 use_additional=no
42130 else
42131 if test "X$withval" = "X"; then
42133 acl_save_prefix="$prefix"
42134 prefix="$acl_final_prefix"
42135 acl_save_exec_prefix="$exec_prefix"
42136 exec_prefix="$acl_final_exec_prefix"
42138 eval additional_includedir=\"$includedir\"
42139 eval additional_libdir=\"$libdir\"
42141 exec_prefix="$acl_save_exec_prefix"
42142 prefix="$acl_save_prefix"
42144 else
42145 additional_includedir="$withval/include"
42146 additional_libdir="$withval/lib"
42151 LIBICONV=
42152 LTLIBICONV=
42153 INCICONV=
42154 rpathdirs=
42155 ltrpathdirs=
42156 names_already_handled=
42157 names_next_round='iconv '
42158 while test -n "$names_next_round"; do
42159 names_this_round="$names_next_round"
42160 names_next_round=
42161 for name in $names_this_round; do
42162 already_handled=
42163 for n in $names_already_handled; do
42164 if test "$n" = "$name"; then
42165 already_handled=yes
42166 break
42168 done
42169 if test -z "$already_handled"; then
42170 names_already_handled="$names_already_handled $name"
42171 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
42172 eval value=\"\$HAVE_LIB$uppername\"
42173 if test -n "$value"; then
42174 if test "$value" = yes; then
42175 eval value=\"\$LIB$uppername\"
42176 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
42177 eval value=\"\$LTLIB$uppername\"
42178 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
42179 else
42182 else
42183 found_dir=
42184 found_la=
42185 found_so=
42186 found_a=
42187 if test $use_additional = yes; then
42188 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
42189 found_dir="$additional_libdir"
42190 found_so="$additional_libdir/lib$name.$shlibext"
42191 if test -f "$additional_libdir/lib$name.la"; then
42192 found_la="$additional_libdir/lib$name.la"
42194 else
42195 if test -f "$additional_libdir/lib$name.$libext"; then
42196 found_dir="$additional_libdir"
42197 found_a="$additional_libdir/lib$name.$libext"
42198 if test -f "$additional_libdir/lib$name.la"; then
42199 found_la="$additional_libdir/lib$name.la"
42204 if test "X$found_dir" = "X"; then
42205 for x in $LDFLAGS $LTLIBICONV; do
42207 acl_save_prefix="$prefix"
42208 prefix="$acl_final_prefix"
42209 acl_save_exec_prefix="$exec_prefix"
42210 exec_prefix="$acl_final_exec_prefix"
42211 eval x=\"$x\"
42212 exec_prefix="$acl_save_exec_prefix"
42213 prefix="$acl_save_prefix"
42215 case "$x" in
42216 -L*)
42217 dir=`echo "X$x" | sed -e 's/^X-L//'`
42218 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
42219 found_dir="$dir"
42220 found_so="$dir/lib$name.$shlibext"
42221 if test -f "$dir/lib$name.la"; then
42222 found_la="$dir/lib$name.la"
42224 else
42225 if test -f "$dir/lib$name.$libext"; then
42226 found_dir="$dir"
42227 found_a="$dir/lib$name.$libext"
42228 if test -f "$dir/lib$name.la"; then
42229 found_la="$dir/lib$name.la"
42234 esac
42235 if test "X$found_dir" != "X"; then
42236 break
42238 done
42240 if test "X$found_dir" != "X"; then
42241 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
42242 if test "X$found_so" != "X"; then
42243 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
42244 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42245 else
42246 haveit=
42247 for x in $ltrpathdirs; do
42248 if test "X$x" = "X$found_dir"; then
42249 haveit=yes
42250 break
42252 done
42253 if test -z "$haveit"; then
42254 ltrpathdirs="$ltrpathdirs $found_dir"
42256 if test "$hardcode_direct" = yes; then
42257 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42258 else
42259 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
42260 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42261 haveit=
42262 for x in $rpathdirs; do
42263 if test "X$x" = "X$found_dir"; then
42264 haveit=yes
42265 break
42267 done
42268 if test -z "$haveit"; then
42269 rpathdirs="$rpathdirs $found_dir"
42271 else
42272 haveit=
42273 for x in $LDFLAGS $LIBICONV; do
42275 acl_save_prefix="$prefix"
42276 prefix="$acl_final_prefix"
42277 acl_save_exec_prefix="$exec_prefix"
42278 exec_prefix="$acl_final_exec_prefix"
42279 eval x=\"$x\"
42280 exec_prefix="$acl_save_exec_prefix"
42281 prefix="$acl_save_prefix"
42283 if test "X$x" = "X-L$found_dir"; then
42284 haveit=yes
42285 break
42287 done
42288 if test -z "$haveit"; then
42289 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
42291 if test "$hardcode_minus_L" != no; then
42292 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42293 else
42294 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42299 else
42300 if test "X$found_a" != "X"; then
42301 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
42302 else
42303 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
42306 additional_includedir=
42307 case "$found_dir" in
42308 */lib | */lib/)
42309 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42310 additional_includedir="$basedir/include"
42312 esac
42313 if test "X$additional_includedir" != "X"; then
42314 if test "X$additional_includedir" != "X/usr/include"; then
42315 haveit=
42316 if test "X$additional_includedir" = "X/usr/local/include"; then
42317 if test -n "$GCC"; then
42318 case $host_os in
42319 linux*) haveit=yes;;
42320 esac
42323 if test -z "$haveit"; then
42324 for x in $CPPFLAGS $INCICONV; do
42326 acl_save_prefix="$prefix"
42327 prefix="$acl_final_prefix"
42328 acl_save_exec_prefix="$exec_prefix"
42329 exec_prefix="$acl_final_exec_prefix"
42330 eval x=\"$x\"
42331 exec_prefix="$acl_save_exec_prefix"
42332 prefix="$acl_save_prefix"
42334 if test "X$x" = "X-I$additional_includedir"; then
42335 haveit=yes
42336 break
42338 done
42339 if test -z "$haveit"; then
42340 if test -d "$additional_includedir"; then
42341 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
42347 if test -n "$found_la"; then
42348 save_libdir="$libdir"
42349 case "$found_la" in
42350 */* | *\\*) . "$found_la" ;;
42351 *) . "./$found_la" ;;
42352 esac
42353 libdir="$save_libdir"
42354 for dep in $dependency_libs; do
42355 case "$dep" in
42356 -L*)
42357 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
42358 if test "X$additional_libdir" != "X/usr/lib"; then
42359 haveit=
42360 if test "X$additional_libdir" = "X/usr/local/lib"; then
42361 if test -n "$GCC"; then
42362 case $host_os in
42363 linux*) haveit=yes;;
42364 esac
42367 if test -z "$haveit"; then
42368 haveit=
42369 for x in $LDFLAGS $LIBICONV; do
42371 acl_save_prefix="$prefix"
42372 prefix="$acl_final_prefix"
42373 acl_save_exec_prefix="$exec_prefix"
42374 exec_prefix="$acl_final_exec_prefix"
42375 eval x=\"$x\"
42376 exec_prefix="$acl_save_exec_prefix"
42377 prefix="$acl_save_prefix"
42379 if test "X$x" = "X-L$additional_libdir"; then
42380 haveit=yes
42381 break
42383 done
42384 if test -z "$haveit"; then
42385 if test -d "$additional_libdir"; then
42386 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
42389 haveit=
42390 for x in $LDFLAGS $LTLIBICONV; do
42392 acl_save_prefix="$prefix"
42393 prefix="$acl_final_prefix"
42394 acl_save_exec_prefix="$exec_prefix"
42395 exec_prefix="$acl_final_exec_prefix"
42396 eval x=\"$x\"
42397 exec_prefix="$acl_save_exec_prefix"
42398 prefix="$acl_save_prefix"
42400 if test "X$x" = "X-L$additional_libdir"; then
42401 haveit=yes
42402 break
42404 done
42405 if test -z "$haveit"; then
42406 if test -d "$additional_libdir"; then
42407 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
42413 -R*)
42414 dir=`echo "X$dep" | sed -e 's/^X-R//'`
42415 if test "$enable_rpath" != no; then
42416 haveit=
42417 for x in $rpathdirs; do
42418 if test "X$x" = "X$dir"; then
42419 haveit=yes
42420 break
42422 done
42423 if test -z "$haveit"; then
42424 rpathdirs="$rpathdirs $dir"
42426 haveit=
42427 for x in $ltrpathdirs; do
42428 if test "X$x" = "X$dir"; then
42429 haveit=yes
42430 break
42432 done
42433 if test -z "$haveit"; then
42434 ltrpathdirs="$ltrpathdirs $dir"
42438 -l*)
42439 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
42441 *.la)
42442 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
42445 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
42446 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
42448 esac
42449 done
42451 else
42452 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42453 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
42457 done
42458 done
42459 if test "X$rpathdirs" != "X"; then
42460 if test -n "$hardcode_libdir_separator"; then
42461 alldirs=
42462 for found_dir in $rpathdirs; do
42463 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
42464 done
42465 acl_save_libdir="$libdir"
42466 libdir="$alldirs"
42467 eval flag=\"$hardcode_libdir_flag_spec\"
42468 libdir="$acl_save_libdir"
42469 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42470 else
42471 for found_dir in $rpathdirs; do
42472 acl_save_libdir="$libdir"
42473 libdir="$found_dir"
42474 eval flag=\"$hardcode_libdir_flag_spec\"
42475 libdir="$acl_save_libdir"
42476 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42477 done
42480 if test "X$ltrpathdirs" != "X"; then
42481 for found_dir in $ltrpathdirs; do
42482 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
42483 done
42492 am_save_CPPFLAGS="$CPPFLAGS"
42494 for element in $INCICONV; do
42495 haveit=
42496 for x in $CPPFLAGS; do
42498 acl_save_prefix="$prefix"
42499 prefix="$acl_final_prefix"
42500 acl_save_exec_prefix="$exec_prefix"
42501 exec_prefix="$acl_final_exec_prefix"
42502 eval x=\"$x\"
42503 exec_prefix="$acl_save_exec_prefix"
42504 prefix="$acl_save_prefix"
42506 if test "X$x" = "X$element"; then
42507 haveit=yes
42508 break
42510 done
42511 if test -z "$haveit"; then
42512 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
42514 done
42517 echo "$as_me:$LINENO: checking for iconv" >&5
42518 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
42519 if test "${am_cv_func_iconv+set}" = set; then
42520 echo $ECHO_N "(cached) $ECHO_C" >&6
42521 else
42523 am_cv_func_iconv="no, consider installing GNU libiconv"
42524 am_cv_lib_iconv=no
42525 if test x$gcc_no_link = xyes; then
42526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42528 { (exit 1); exit 1; }; }
42530 cat >conftest.$ac_ext <<_ACEOF
42531 /* confdefs.h. */
42532 _ACEOF
42533 cat confdefs.h >>conftest.$ac_ext
42534 cat >>conftest.$ac_ext <<_ACEOF
42535 /* end confdefs.h. */
42536 #include <stdlib.h>
42537 #include <iconv.h>
42539 main ()
42541 iconv_t cd = iconv_open("","");
42542 iconv(cd,NULL,NULL,NULL,NULL);
42543 iconv_close(cd);
42545 return 0;
42547 _ACEOF
42548 rm -f conftest.$ac_objext conftest$ac_exeext
42549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42550 (eval $ac_link) 2>conftest.er1
42551 ac_status=$?
42552 grep -v '^ *+' conftest.er1 >conftest.err
42553 rm -f conftest.er1
42554 cat conftest.err >&5
42555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42556 (exit $ac_status); } &&
42557 { ac_try='test -z "$ac_c_werror_flag"
42558 || test ! -s conftest.err'
42559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42560 (eval $ac_try) 2>&5
42561 ac_status=$?
42562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42563 (exit $ac_status); }; } &&
42564 { ac_try='test -s conftest$ac_exeext'
42565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42566 (eval $ac_try) 2>&5
42567 ac_status=$?
42568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42569 (exit $ac_status); }; }; then
42570 am_cv_func_iconv=yes
42571 else
42572 echo "$as_me: failed program was:" >&5
42573 sed 's/^/| /' conftest.$ac_ext >&5
42576 rm -f conftest.err conftest.$ac_objext \
42577 conftest$ac_exeext conftest.$ac_ext
42578 if test "$am_cv_func_iconv" != yes; then
42579 am_save_LIBS="$LIBS"
42580 LIBS="$LIBS $LIBICONV"
42581 if test x$gcc_no_link = xyes; then
42582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42584 { (exit 1); exit 1; }; }
42586 cat >conftest.$ac_ext <<_ACEOF
42587 /* confdefs.h. */
42588 _ACEOF
42589 cat confdefs.h >>conftest.$ac_ext
42590 cat >>conftest.$ac_ext <<_ACEOF
42591 /* end confdefs.h. */
42592 #include <stdlib.h>
42593 #include <iconv.h>
42595 main ()
42597 iconv_t cd = iconv_open("","");
42598 iconv(cd,NULL,NULL,NULL,NULL);
42599 iconv_close(cd);
42601 return 0;
42603 _ACEOF
42604 rm -f conftest.$ac_objext conftest$ac_exeext
42605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42606 (eval $ac_link) 2>conftest.er1
42607 ac_status=$?
42608 grep -v '^ *+' conftest.er1 >conftest.err
42609 rm -f conftest.er1
42610 cat conftest.err >&5
42611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42612 (exit $ac_status); } &&
42613 { ac_try='test -z "$ac_c_werror_flag"
42614 || test ! -s conftest.err'
42615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42616 (eval $ac_try) 2>&5
42617 ac_status=$?
42618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42619 (exit $ac_status); }; } &&
42620 { ac_try='test -s conftest$ac_exeext'
42621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42622 (eval $ac_try) 2>&5
42623 ac_status=$?
42624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42625 (exit $ac_status); }; }; then
42626 am_cv_lib_iconv=yes
42627 am_cv_func_iconv=yes
42628 else
42629 echo "$as_me: failed program was:" >&5
42630 sed 's/^/| /' conftest.$ac_ext >&5
42633 rm -f conftest.err conftest.$ac_objext \
42634 conftest$ac_exeext conftest.$ac_ext
42635 LIBS="$am_save_LIBS"
42639 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
42640 echo "${ECHO_T}$am_cv_func_iconv" >&6
42641 if test "$am_cv_func_iconv" = yes; then
42643 cat >>confdefs.h <<\_ACEOF
42644 #define HAVE_ICONV 1
42645 _ACEOF
42648 if test "$am_cv_lib_iconv" = yes; then
42649 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
42650 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
42651 echo "$as_me:$LINENO: result: $LIBICONV" >&5
42652 echo "${ECHO_T}$LIBICONV" >&6
42653 else
42654 CPPFLAGS="$am_save_CPPFLAGS"
42655 LIBICONV=
42656 LTLIBICONV=
42661 if test "$am_cv_func_iconv" = yes; then
42662 echo "$as_me:$LINENO: checking for iconv declaration" >&5
42663 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
42664 if test "${am_cv_proto_iconv+set}" = set; then
42665 echo $ECHO_N "(cached) $ECHO_C" >&6
42666 else
42668 cat >conftest.$ac_ext <<_ACEOF
42669 /* confdefs.h. */
42670 _ACEOF
42671 cat confdefs.h >>conftest.$ac_ext
42672 cat >>conftest.$ac_ext <<_ACEOF
42673 /* end confdefs.h. */
42675 #include <stdlib.h>
42676 #include <iconv.h>
42677 extern
42678 #ifdef __cplusplus
42680 #endif
42681 #if defined(__STDC__) || defined(__cplusplus)
42682 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
42683 #else
42684 size_t iconv();
42685 #endif
42688 main ()
42692 return 0;
42694 _ACEOF
42695 rm -f conftest.$ac_objext
42696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42697 (eval $ac_compile) 2>conftest.er1
42698 ac_status=$?
42699 grep -v '^ *+' conftest.er1 >conftest.err
42700 rm -f conftest.er1
42701 cat conftest.err >&5
42702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42703 (exit $ac_status); } &&
42704 { ac_try='test -z "$ac_c_werror_flag"
42705 || test ! -s conftest.err'
42706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42707 (eval $ac_try) 2>&5
42708 ac_status=$?
42709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42710 (exit $ac_status); }; } &&
42711 { ac_try='test -s conftest.$ac_objext'
42712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42713 (eval $ac_try) 2>&5
42714 ac_status=$?
42715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42716 (exit $ac_status); }; }; then
42717 am_cv_proto_iconv_arg1=""
42718 else
42719 echo "$as_me: failed program was:" >&5
42720 sed 's/^/| /' conftest.$ac_ext >&5
42722 am_cv_proto_iconv_arg1="const"
42724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42725 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);"
42728 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42729 echo "$as_me:$LINENO: result: ${ac_t:-
42730 }$am_cv_proto_iconv" >&5
42731 echo "${ECHO_T}${ac_t:-
42732 }$am_cv_proto_iconv" >&6
42734 cat >>confdefs.h <<_ACEOF
42735 #define ICONV_CONST $am_cv_proto_iconv_arg1
42736 _ACEOF
42741 else
42743 # This lets us hard-code the functionality we know we'll have in the cross
42744 # target environment. "Let" is a sugar-coated word placed on an especially
42745 # dull and tedious hack, actually.
42747 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
42748 # that involve linking, can't be used:
42749 # "cannot open sim-crt0.o"
42750 # "cannot open crt0.o"
42751 # etc. All this is because there currently exists no unified, consistent
42752 # way for top level CC information to be passed down to target directories:
42753 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
42754 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
42755 # crosses can be removed.
42757 # If Canadian cross, then don't pick up tools from the build directory.
42758 # Used only in GLIBCXX_EXPORT_INCLUDES.
42759 if test -n "$with_cross_host" &&
42760 test x"$build_alias" != x"$with_cross_host" &&
42761 test x"$build" != x"$target";
42762 then
42763 CANADIAN=yes
42764 else
42765 CANADIAN=no
42768 # Construct crosses by hand, eliminating bits that need ld...
42769 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
42770 # GLIBCXX_CHECK_MATH_SUPPORT
42772 # First, test for "known" system libraries. We may be using newlib even
42773 # on a hosted environment.
42774 if test "x${with_newlib}" = "xyes"; then
42775 os_include_dir="os/newlib"
42776 cat >>confdefs.h <<\_ACEOF
42777 #define HAVE_HYPOT 1
42778 _ACEOF
42781 # GLIBCXX_CHECK_STDLIB_SUPPORT
42782 cat >>confdefs.h <<\_ACEOF
42783 #define HAVE_STRTOF 1
42784 _ACEOF
42786 # AC_FUNC_MMAP
42787 cat >>confdefs.h <<\_ACEOF
42788 #define HAVE_MMAP 1
42789 _ACEOF
42792 cat >>confdefs.h <<\_ACEOF
42793 #define HAVE_ACOSF 1
42794 _ACEOF
42796 cat >>confdefs.h <<\_ACEOF
42797 #define HAVE_ASINF 1
42798 _ACEOF
42800 cat >>confdefs.h <<\_ACEOF
42801 #define HAVE_ATAN2F 1
42802 _ACEOF
42804 cat >>confdefs.h <<\_ACEOF
42805 #define HAVE_ATANF 1
42806 _ACEOF
42808 cat >>confdefs.h <<\_ACEOF
42809 #define HAVE_CEILF 1
42810 _ACEOF
42812 cat >>confdefs.h <<\_ACEOF
42813 #define HAVE_COPYSIGN 1
42814 _ACEOF
42816 cat >>confdefs.h <<\_ACEOF
42817 #define HAVE_COPYSIGNF 1
42818 _ACEOF
42820 cat >>confdefs.h <<\_ACEOF
42821 #define HAVE_COSF 1
42822 _ACEOF
42824 cat >>confdefs.h <<\_ACEOF
42825 #define HAVE_COSHF 1
42826 _ACEOF
42828 cat >>confdefs.h <<\_ACEOF
42829 #define HAVE_EXPF 1
42830 _ACEOF
42832 cat >>confdefs.h <<\_ACEOF
42833 #define HAVE_FABSF 1
42834 _ACEOF
42836 cat >>confdefs.h <<\_ACEOF
42837 #define HAVE_FLOORF 1
42838 _ACEOF
42840 cat >>confdefs.h <<\_ACEOF
42841 #define HAVE_FMODF 1
42842 _ACEOF
42844 cat >>confdefs.h <<\_ACEOF
42845 #define HAVE_FREXPF 1
42846 _ACEOF
42848 cat >>confdefs.h <<\_ACEOF
42849 #define HAVE_LDEXPF 1
42850 _ACEOF
42852 cat >>confdefs.h <<\_ACEOF
42853 #define HAVE_LOG10F 1
42854 _ACEOF
42856 cat >>confdefs.h <<\_ACEOF
42857 #define HAVE_LOGF 1
42858 _ACEOF
42860 cat >>confdefs.h <<\_ACEOF
42861 #define HAVE_MODFF 1
42862 _ACEOF
42864 cat >>confdefs.h <<\_ACEOF
42865 #define HAVE_POWF 1
42866 _ACEOF
42868 cat >>confdefs.h <<\_ACEOF
42869 #define HAVE_SINF 1
42870 _ACEOF
42872 cat >>confdefs.h <<\_ACEOF
42873 #define HAVE_SINHF 1
42874 _ACEOF
42876 cat >>confdefs.h <<\_ACEOF
42877 #define HAVE_SQRTF 1
42878 _ACEOF
42880 cat >>confdefs.h <<\_ACEOF
42881 #define HAVE_TANF 1
42882 _ACEOF
42884 cat >>confdefs.h <<\_ACEOF
42885 #define HAVE_TANHF 1
42886 _ACEOF
42889 cat >>confdefs.h <<\_ACEOF
42890 #define HAVE_S_ISREG 1
42891 _ACEOF
42893 cat >>confdefs.h <<\_ACEOF
42894 #define HAVE_S_IFREG 1
42895 _ACEOF
42898 cat >>confdefs.h <<\_ACEOF
42899 #define HAVE_ICONV 1
42900 _ACEOF
42902 else
42904 # Base decisions on target environment.
42905 case "${host}" in
42906 arm*-*-symbianelf*)
42907 # This is a freestanding configuration; there is nothing to do here.
42910 mips*-sde-elf*)
42911 # These definitions are for the SDE C library rather than newlib.
42927 for ac_header in float.h inttypes.h locale.h \
42928 stdint.h stdlib.h string.h unistd.h wchar.h \
42929 machine/endian.h sys/ioctl.h sys/resource.h \
42930 sys/stat.h sys/time.h sys/types.h sys/uio.h
42932 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42934 echo "$as_me:$LINENO: checking for $ac_header" >&5
42935 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42937 echo $ECHO_N "(cached) $ECHO_C" >&6
42939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42941 else
42942 # Is the header compilable?
42943 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42944 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42945 cat >conftest.$ac_ext <<_ACEOF
42946 /* confdefs.h. */
42947 _ACEOF
42948 cat confdefs.h >>conftest.$ac_ext
42949 cat >>conftest.$ac_ext <<_ACEOF
42950 /* end confdefs.h. */
42951 $ac_includes_default
42952 #include <$ac_header>
42953 _ACEOF
42954 rm -f conftest.$ac_objext
42955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42956 (eval $ac_compile) 2>conftest.er1
42957 ac_status=$?
42958 grep -v '^ *+' conftest.er1 >conftest.err
42959 rm -f conftest.er1
42960 cat conftest.err >&5
42961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42962 (exit $ac_status); } &&
42963 { ac_try='test -z "$ac_c_werror_flag"
42964 || test ! -s conftest.err'
42965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42966 (eval $ac_try) 2>&5
42967 ac_status=$?
42968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42969 (exit $ac_status); }; } &&
42970 { ac_try='test -s conftest.$ac_objext'
42971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42972 (eval $ac_try) 2>&5
42973 ac_status=$?
42974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42975 (exit $ac_status); }; }; then
42976 ac_header_compiler=yes
42977 else
42978 echo "$as_me: failed program was:" >&5
42979 sed 's/^/| /' conftest.$ac_ext >&5
42981 ac_header_compiler=no
42983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42984 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42985 echo "${ECHO_T}$ac_header_compiler" >&6
42987 # Is the header present?
42988 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42989 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42990 cat >conftest.$ac_ext <<_ACEOF
42991 /* confdefs.h. */
42992 _ACEOF
42993 cat confdefs.h >>conftest.$ac_ext
42994 cat >>conftest.$ac_ext <<_ACEOF
42995 /* end confdefs.h. */
42996 #include <$ac_header>
42997 _ACEOF
42998 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42999 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43000 ac_status=$?
43001 grep -v '^ *+' conftest.er1 >conftest.err
43002 rm -f conftest.er1
43003 cat conftest.err >&5
43004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43005 (exit $ac_status); } >/dev/null; then
43006 if test -s conftest.err; then
43007 ac_cpp_err=$ac_c_preproc_warn_flag
43008 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
43009 else
43010 ac_cpp_err=
43012 else
43013 ac_cpp_err=yes
43015 if test -z "$ac_cpp_err"; then
43016 ac_header_preproc=yes
43017 else
43018 echo "$as_me: failed program was:" >&5
43019 sed 's/^/| /' conftest.$ac_ext >&5
43021 ac_header_preproc=no
43023 rm -f conftest.err conftest.$ac_ext
43024 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43025 echo "${ECHO_T}$ac_header_preproc" >&6
43027 # So? What about this header?
43028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43029 yes:no: )
43030 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43031 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43033 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43034 ac_header_preproc=yes
43036 no:yes:* )
43037 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43038 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43039 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43040 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43041 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43042 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43043 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43044 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43046 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43047 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43048 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43050 cat <<\_ASBOX
43051 ## ----------------------------------------- ##
43052 ## Report this to the package-unused lists. ##
43053 ## ----------------------------------------- ##
43054 _ASBOX
43056 sed "s/^/$as_me: WARNING: /" >&2
43058 esac
43059 echo "$as_me:$LINENO: checking for $ac_header" >&5
43060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43062 echo $ECHO_N "(cached) $ECHO_C" >&6
43063 else
43064 eval "$as_ac_Header=\$ac_header_preproc"
43066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43067 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43071 cat >>confdefs.h <<_ACEOF
43072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43073 _ACEOF
43077 done
43079 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43082 # All these tests are for C++; save the language and the compiler flags.
43083 # The CXXFLAGS thing is suspicious, but based on similar bits previously
43084 # found in GLIBCXX_CONFIGURE.
43087 ac_ext=cc
43088 ac_cpp='$CXXCPP $CPPFLAGS'
43089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43093 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43094 ac_save_CXXFLAGS="$CXXFLAGS"
43096 # Check for maintainer-mode bits.
43097 if test x"$USE_MAINTAINER_MODE" = xno; then
43098 WERROR=''
43099 else
43100 WERROR='-Werror'
43103 # Check for -ffunction-sections -fdata-sections
43104 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
43105 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
43106 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
43107 cat >conftest.$ac_ext <<_ACEOF
43108 /* confdefs.h. */
43109 _ACEOF
43110 cat confdefs.h >>conftest.$ac_ext
43111 cat >>conftest.$ac_ext <<_ACEOF
43112 /* end confdefs.h. */
43113 int foo; void bar() { };
43115 main ()
43119 return 0;
43121 _ACEOF
43122 rm -f conftest.$ac_objext
43123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43124 (eval $ac_compile) 2>conftest.er1
43125 ac_status=$?
43126 grep -v '^ *+' conftest.er1 >conftest.err
43127 rm -f conftest.er1
43128 cat conftest.err >&5
43129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43130 (exit $ac_status); } &&
43131 { ac_try='test -z "$ac_cxx_werror_flag"
43132 || test ! -s conftest.err'
43133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43134 (eval $ac_try) 2>&5
43135 ac_status=$?
43136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43137 (exit $ac_status); }; } &&
43138 { ac_try='test -s conftest.$ac_objext'
43139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43140 (eval $ac_try) 2>&5
43141 ac_status=$?
43142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43143 (exit $ac_status); }; }; then
43144 ac_fdsections=yes
43145 else
43146 echo "$as_me: failed program was:" >&5
43147 sed 's/^/| /' conftest.$ac_ext >&5
43149 ac_fdsections=no
43151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43152 if test "$ac_test_CXXFLAGS" = set; then
43153 CXXFLAGS="$ac_save_CXXFLAGS"
43154 else
43155 # this is the suspicious part
43156 CXXFLAGS=''
43158 if test x"$ac_fdsections" = x"yes"; then
43159 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43161 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
43162 echo "${ECHO_T}$ac_fdsections" >&6
43164 ac_ext=c
43165 ac_cpp='$CPP $CPPFLAGS'
43166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43174 # If we're not using GNU ld, then there's no point in even trying these
43175 # tests. Check for that first. We should have already tested for gld
43176 # by now (in libtool), but require it now just to be safe...
43177 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43178 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43182 # The name set by libtool depends on the version of libtool. Shame on us
43183 # for depending on an impl detail, but c'est la vie. Older versions used
43184 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43185 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43186 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43187 # set (hence we're using an older libtool), then set it.
43188 if test x${with_gnu_ld+set} != xset; then
43189 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43190 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43191 with_gnu_ld=no
43192 else
43193 with_gnu_ld=$ac_cv_prog_gnu_ld
43197 # Start by getting the version number. I think the libtool test already
43198 # does some of this, but throws away the result.
43199 glibcxx_ld_is_gold=no
43200 if test x"$with_gnu_ld" = x"yes"; then
43201 echo "$as_me:$LINENO: checking for ld version" >&5
43202 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
43204 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43205 glibcxx_ld_is_gold=yes
43207 ldver=`$LD --version 2>/dev/null | head -1 | \
43208 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
43210 glibcxx_gnu_ld_version=`echo $ldver | \
43211 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43212 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
43213 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
43216 # Set --gc-sections.
43217 glibcxx_have_gc_sections=no
43218 if test "$glibcxx_ld_is_gold" = "yes"; then
43219 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43220 glibcxx_have_gc_sections=yes
43222 else
43223 glibcxx_gcsections_min_ld=21602
43224 if test x"$with_gnu_ld" = x"yes" &&
43225 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43226 glibcxx_have_gc_sections=yes
43229 if test "$glibcxx_have_gc_sections" = "yes"; then
43230 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
43231 # NB: This flag only works reliably after 2.16.1. Configure tests
43232 # for this are difficult, so hard wire a value that should work.
43234 ac_test_CFLAGS="${CFLAGS+set}"
43235 ac_save_CFLAGS="$CFLAGS"
43236 CFLAGS='-Wl,--gc-sections'
43238 # Check for -Wl,--gc-sections
43239 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
43240 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
43241 if test x$gcc_no_link = xyes; then
43242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43244 { (exit 1); exit 1; }; }
43246 cat >conftest.$ac_ext <<_ACEOF
43247 /* confdefs.h. */
43248 _ACEOF
43249 cat confdefs.h >>conftest.$ac_ext
43250 cat >>conftest.$ac_ext <<_ACEOF
43251 /* end confdefs.h. */
43252 int one(void) { return 1; }
43253 int two(void) { return 2; }
43256 main ()
43258 two();
43260 return 0;
43262 _ACEOF
43263 rm -f conftest.$ac_objext conftest$ac_exeext
43264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43265 (eval $ac_link) 2>conftest.er1
43266 ac_status=$?
43267 grep -v '^ *+' conftest.er1 >conftest.err
43268 rm -f conftest.er1
43269 cat conftest.err >&5
43270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43271 (exit $ac_status); } &&
43272 { ac_try='test -z "$ac_c_werror_flag"
43273 || test ! -s conftest.err'
43274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43275 (eval $ac_try) 2>&5
43276 ac_status=$?
43277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43278 (exit $ac_status); }; } &&
43279 { ac_try='test -s conftest$ac_exeext'
43280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43281 (eval $ac_try) 2>&5
43282 ac_status=$?
43283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43284 (exit $ac_status); }; }; then
43285 ac_gcsections=yes
43286 else
43287 echo "$as_me: failed program was:" >&5
43288 sed 's/^/| /' conftest.$ac_ext >&5
43290 ac_gcsections=no
43292 rm -f conftest.err conftest.$ac_objext \
43293 conftest$ac_exeext conftest.$ac_ext
43294 if test "$ac_gcsections" = "yes"; then
43295 rm -f conftest.c
43296 touch conftest.c
43297 if $CC -c conftest.c; then
43298 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43299 grep "Warning: gc-sections option ignored" > /dev/null; then
43300 ac_gcsections=no
43303 rm -f conftest.c conftest.o conftest
43305 if test "$ac_gcsections" = "yes"; then
43306 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43308 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
43309 echo "${ECHO_T}$ac_gcsections" >&6
43311 if test "$ac_test_CFLAGS" = set; then
43312 CFLAGS="$ac_save_CFLAGS"
43313 else
43314 # this is the suspicious part
43315 CFLAGS=''
43319 # Set -z,relro.
43320 # Note this is only for shared objects.
43321 ac_ld_relro=no
43322 if test x"$with_gnu_ld" = x"yes"; then
43323 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
43324 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
43325 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43326 if test -n "$cxx_z_relo"; then
43327 OPT_LDFLAGS="-Wl,-z,relro"
43328 ac_ld_relro=yes
43330 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
43331 echo "${ECHO_T}$ac_ld_relro" >&6
43334 # Set linker optimization flags.
43335 if test x"$with_gnu_ld" = x"yes"; then
43336 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43343 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43344 ac_save_CXXFLAGS="$CXXFLAGS"
43345 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43347 echo "$as_me:$LINENO: checking for sin in -lm" >&5
43348 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
43349 if test "${ac_cv_lib_m_sin+set}" = set; then
43350 echo $ECHO_N "(cached) $ECHO_C" >&6
43351 else
43352 ac_check_lib_save_LIBS=$LIBS
43353 LIBS="-lm $LIBS"
43354 if test x$gcc_no_link = xyes; then
43355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43357 { (exit 1); exit 1; }; }
43359 cat >conftest.$ac_ext <<_ACEOF
43360 /* confdefs.h. */
43361 _ACEOF
43362 cat confdefs.h >>conftest.$ac_ext
43363 cat >>conftest.$ac_ext <<_ACEOF
43364 /* end confdefs.h. */
43366 /* Override any gcc2 internal prototype to avoid an error. */
43367 #ifdef __cplusplus
43368 extern "C"
43369 #endif
43370 /* We use char because int might match the return type of a gcc2
43371 builtin and then its argument prototype would still apply. */
43372 char sin ();
43374 main ()
43376 sin ();
43378 return 0;
43380 _ACEOF
43381 rm -f conftest.$ac_objext conftest$ac_exeext
43382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43383 (eval $ac_link) 2>conftest.er1
43384 ac_status=$?
43385 grep -v '^ *+' conftest.er1 >conftest.err
43386 rm -f conftest.er1
43387 cat conftest.err >&5
43388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43389 (exit $ac_status); } &&
43390 { ac_try='test -z "$ac_c_werror_flag"
43391 || test ! -s conftest.err'
43392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43393 (eval $ac_try) 2>&5
43394 ac_status=$?
43395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43396 (exit $ac_status); }; } &&
43397 { ac_try='test -s conftest$ac_exeext'
43398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43399 (eval $ac_try) 2>&5
43400 ac_status=$?
43401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43402 (exit $ac_status); }; }; then
43403 ac_cv_lib_m_sin=yes
43404 else
43405 echo "$as_me: failed program was:" >&5
43406 sed 's/^/| /' conftest.$ac_ext >&5
43408 ac_cv_lib_m_sin=no
43410 rm -f conftest.err conftest.$ac_objext \
43411 conftest$ac_exeext conftest.$ac_ext
43412 LIBS=$ac_check_lib_save_LIBS
43414 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
43415 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
43416 if test $ac_cv_lib_m_sin = yes; then
43417 libm="-lm"
43420 ac_save_LIBS="$LIBS"
43421 LIBS="$LIBS $libm"
43425 echo "$as_me:$LINENO: checking for isinf declaration" >&5
43426 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
43427 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43428 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
43429 echo $ECHO_N "(cached) $ECHO_C" >&6
43430 else
43434 ac_ext=cc
43435 ac_cpp='$CXXCPP $CPPFLAGS'
43436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43440 cat >conftest.$ac_ext <<_ACEOF
43441 /* confdefs.h. */
43442 _ACEOF
43443 cat confdefs.h >>conftest.$ac_ext
43444 cat >>conftest.$ac_ext <<_ACEOF
43445 /* end confdefs.h. */
43446 #include <math.h>
43447 #ifdef HAVE_IEEEFP_H
43448 #include <ieeefp.h>
43449 #endif
43452 main ()
43454 isinf(0);
43456 return 0;
43458 _ACEOF
43459 rm -f conftest.$ac_objext
43460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43461 (eval $ac_compile) 2>conftest.er1
43462 ac_status=$?
43463 grep -v '^ *+' conftest.er1 >conftest.err
43464 rm -f conftest.er1
43465 cat conftest.err >&5
43466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43467 (exit $ac_status); } &&
43468 { ac_try='test -z "$ac_cxx_werror_flag"
43469 || test ! -s conftest.err'
43470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43471 (eval $ac_try) 2>&5
43472 ac_status=$?
43473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43474 (exit $ac_status); }; } &&
43475 { ac_try='test -s conftest.$ac_objext'
43476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43477 (eval $ac_try) 2>&5
43478 ac_status=$?
43479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43480 (exit $ac_status); }; }; then
43481 glibcxx_cv_func_isinf_use=yes
43482 else
43483 echo "$as_me: failed program was:" >&5
43484 sed 's/^/| /' conftest.$ac_ext >&5
43486 glibcxx_cv_func_isinf_use=no
43488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43489 ac_ext=c
43490 ac_cpp='$CPP $CPPFLAGS'
43491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43499 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
43500 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
43502 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43504 for ac_func in isinf
43506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43507 echo "$as_me:$LINENO: checking for $ac_func" >&5
43508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43509 if eval "test \"\${$as_ac_var+set}\" = set"; then
43510 echo $ECHO_N "(cached) $ECHO_C" >&6
43511 else
43512 if test x$gcc_no_link = xyes; then
43513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43515 { (exit 1); exit 1; }; }
43517 cat >conftest.$ac_ext <<_ACEOF
43518 /* confdefs.h. */
43519 _ACEOF
43520 cat confdefs.h >>conftest.$ac_ext
43521 cat >>conftest.$ac_ext <<_ACEOF
43522 /* end confdefs.h. */
43523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43525 #define $ac_func innocuous_$ac_func
43527 /* System header to define __stub macros and hopefully few prototypes,
43528 which can conflict with char $ac_func (); below.
43529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43530 <limits.h> exists even on freestanding compilers. */
43532 #ifdef __STDC__
43533 # include <limits.h>
43534 #else
43535 # include <assert.h>
43536 #endif
43538 #undef $ac_func
43540 /* Override any gcc2 internal prototype to avoid an error. */
43541 #ifdef __cplusplus
43542 extern "C"
43544 #endif
43545 /* We use char because int might match the return type of a gcc2
43546 builtin and then its argument prototype would still apply. */
43547 char $ac_func ();
43548 /* The GNU C library defines this for functions which it implements
43549 to always fail with ENOSYS. Some functions are actually named
43550 something starting with __ and the normal name is an alias. */
43551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43552 choke me
43553 #else
43554 char (*f) () = $ac_func;
43555 #endif
43556 #ifdef __cplusplus
43558 #endif
43561 main ()
43563 return f != $ac_func;
43565 return 0;
43567 _ACEOF
43568 rm -f conftest.$ac_objext conftest$ac_exeext
43569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43570 (eval $ac_link) 2>conftest.er1
43571 ac_status=$?
43572 grep -v '^ *+' conftest.er1 >conftest.err
43573 rm -f conftest.er1
43574 cat conftest.err >&5
43575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43576 (exit $ac_status); } &&
43577 { ac_try='test -z "$ac_c_werror_flag"
43578 || test ! -s conftest.err'
43579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43580 (eval $ac_try) 2>&5
43581 ac_status=$?
43582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43583 (exit $ac_status); }; } &&
43584 { ac_try='test -s conftest$ac_exeext'
43585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43586 (eval $ac_try) 2>&5
43587 ac_status=$?
43588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43589 (exit $ac_status); }; }; then
43590 eval "$as_ac_var=yes"
43591 else
43592 echo "$as_me: failed program was:" >&5
43593 sed 's/^/| /' conftest.$ac_ext >&5
43595 eval "$as_ac_var=no"
43597 rm -f conftest.err conftest.$ac_objext \
43598 conftest$ac_exeext conftest.$ac_ext
43600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43602 if test `eval echo '${'$as_ac_var'}'` = yes; then
43603 cat >>confdefs.h <<_ACEOF
43604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43605 _ACEOF
43608 done
43610 else
43612 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
43613 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
43614 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43615 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
43616 echo $ECHO_N "(cached) $ECHO_C" >&6
43617 else
43621 ac_ext=cc
43622 ac_cpp='$CXXCPP $CPPFLAGS'
43623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43627 cat >conftest.$ac_ext <<_ACEOF
43628 /* confdefs.h. */
43629 _ACEOF
43630 cat confdefs.h >>conftest.$ac_ext
43631 cat >>conftest.$ac_ext <<_ACEOF
43632 /* end confdefs.h. */
43633 #include <math.h>
43634 #ifdef HAVE_IEEEFP_H
43635 #include <ieeefp.h>
43636 #endif
43639 main ()
43641 _isinf(0);
43643 return 0;
43645 _ACEOF
43646 rm -f conftest.$ac_objext
43647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43648 (eval $ac_compile) 2>conftest.er1
43649 ac_status=$?
43650 grep -v '^ *+' conftest.er1 >conftest.err
43651 rm -f conftest.er1
43652 cat conftest.err >&5
43653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43654 (exit $ac_status); } &&
43655 { ac_try='test -z "$ac_cxx_werror_flag"
43656 || test ! -s conftest.err'
43657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43658 (eval $ac_try) 2>&5
43659 ac_status=$?
43660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43661 (exit $ac_status); }; } &&
43662 { ac_try='test -s conftest.$ac_objext'
43663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43664 (eval $ac_try) 2>&5
43665 ac_status=$?
43666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43667 (exit $ac_status); }; }; then
43668 glibcxx_cv_func__isinf_use=yes
43669 else
43670 echo "$as_me: failed program was:" >&5
43671 sed 's/^/| /' conftest.$ac_ext >&5
43673 glibcxx_cv_func__isinf_use=no
43675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43676 ac_ext=c
43677 ac_cpp='$CPP $CPPFLAGS'
43678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
43687 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
43689 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43691 for ac_func in _isinf
43693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43694 echo "$as_me:$LINENO: checking for $ac_func" >&5
43695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43696 if eval "test \"\${$as_ac_var+set}\" = set"; then
43697 echo $ECHO_N "(cached) $ECHO_C" >&6
43698 else
43699 if test x$gcc_no_link = xyes; then
43700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43702 { (exit 1); exit 1; }; }
43704 cat >conftest.$ac_ext <<_ACEOF
43705 /* confdefs.h. */
43706 _ACEOF
43707 cat confdefs.h >>conftest.$ac_ext
43708 cat >>conftest.$ac_ext <<_ACEOF
43709 /* end confdefs.h. */
43710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43712 #define $ac_func innocuous_$ac_func
43714 /* System header to define __stub macros and hopefully few prototypes,
43715 which can conflict with char $ac_func (); below.
43716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43717 <limits.h> exists even on freestanding compilers. */
43719 #ifdef __STDC__
43720 # include <limits.h>
43721 #else
43722 # include <assert.h>
43723 #endif
43725 #undef $ac_func
43727 /* Override any gcc2 internal prototype to avoid an error. */
43728 #ifdef __cplusplus
43729 extern "C"
43731 #endif
43732 /* We use char because int might match the return type of a gcc2
43733 builtin and then its argument prototype would still apply. */
43734 char $ac_func ();
43735 /* The GNU C library defines this for functions which it implements
43736 to always fail with ENOSYS. Some functions are actually named
43737 something starting with __ and the normal name is an alias. */
43738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43739 choke me
43740 #else
43741 char (*f) () = $ac_func;
43742 #endif
43743 #ifdef __cplusplus
43745 #endif
43748 main ()
43750 return f != $ac_func;
43752 return 0;
43754 _ACEOF
43755 rm -f conftest.$ac_objext conftest$ac_exeext
43756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43757 (eval $ac_link) 2>conftest.er1
43758 ac_status=$?
43759 grep -v '^ *+' conftest.er1 >conftest.err
43760 rm -f conftest.er1
43761 cat conftest.err >&5
43762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43763 (exit $ac_status); } &&
43764 { ac_try='test -z "$ac_c_werror_flag"
43765 || test ! -s conftest.err'
43766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43767 (eval $ac_try) 2>&5
43768 ac_status=$?
43769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43770 (exit $ac_status); }; } &&
43771 { ac_try='test -s conftest$ac_exeext'
43772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43773 (eval $ac_try) 2>&5
43774 ac_status=$?
43775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43776 (exit $ac_status); }; }; then
43777 eval "$as_ac_var=yes"
43778 else
43779 echo "$as_me: failed program was:" >&5
43780 sed 's/^/| /' conftest.$ac_ext >&5
43782 eval "$as_ac_var=no"
43784 rm -f conftest.err conftest.$ac_objext \
43785 conftest$ac_exeext conftest.$ac_ext
43787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43789 if test `eval echo '${'$as_ac_var'}'` = yes; then
43790 cat >>confdefs.h <<_ACEOF
43791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43792 _ACEOF
43795 done
43805 echo "$as_me:$LINENO: checking for isnan declaration" >&5
43806 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
43807 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43808 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
43809 echo $ECHO_N "(cached) $ECHO_C" >&6
43810 else
43814 ac_ext=cc
43815 ac_cpp='$CXXCPP $CPPFLAGS'
43816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43820 cat >conftest.$ac_ext <<_ACEOF
43821 /* confdefs.h. */
43822 _ACEOF
43823 cat confdefs.h >>conftest.$ac_ext
43824 cat >>conftest.$ac_ext <<_ACEOF
43825 /* end confdefs.h. */
43826 #include <math.h>
43827 #ifdef HAVE_IEEEFP_H
43828 #include <ieeefp.h>
43829 #endif
43832 main ()
43834 isnan(0);
43836 return 0;
43838 _ACEOF
43839 rm -f conftest.$ac_objext
43840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43841 (eval $ac_compile) 2>conftest.er1
43842 ac_status=$?
43843 grep -v '^ *+' conftest.er1 >conftest.err
43844 rm -f conftest.er1
43845 cat conftest.err >&5
43846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43847 (exit $ac_status); } &&
43848 { ac_try='test -z "$ac_cxx_werror_flag"
43849 || test ! -s conftest.err'
43850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43851 (eval $ac_try) 2>&5
43852 ac_status=$?
43853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43854 (exit $ac_status); }; } &&
43855 { ac_try='test -s conftest.$ac_objext'
43856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43857 (eval $ac_try) 2>&5
43858 ac_status=$?
43859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43860 (exit $ac_status); }; }; then
43861 glibcxx_cv_func_isnan_use=yes
43862 else
43863 echo "$as_me: failed program was:" >&5
43864 sed 's/^/| /' conftest.$ac_ext >&5
43866 glibcxx_cv_func_isnan_use=no
43868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43869 ac_ext=c
43870 ac_cpp='$CPP $CPPFLAGS'
43871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43879 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
43880 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
43882 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43884 for ac_func in isnan
43886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43887 echo "$as_me:$LINENO: checking for $ac_func" >&5
43888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43889 if eval "test \"\${$as_ac_var+set}\" = set"; then
43890 echo $ECHO_N "(cached) $ECHO_C" >&6
43891 else
43892 if test x$gcc_no_link = xyes; then
43893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43895 { (exit 1); exit 1; }; }
43897 cat >conftest.$ac_ext <<_ACEOF
43898 /* confdefs.h. */
43899 _ACEOF
43900 cat confdefs.h >>conftest.$ac_ext
43901 cat >>conftest.$ac_ext <<_ACEOF
43902 /* end confdefs.h. */
43903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43905 #define $ac_func innocuous_$ac_func
43907 /* System header to define __stub macros and hopefully few prototypes,
43908 which can conflict with char $ac_func (); below.
43909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43910 <limits.h> exists even on freestanding compilers. */
43912 #ifdef __STDC__
43913 # include <limits.h>
43914 #else
43915 # include <assert.h>
43916 #endif
43918 #undef $ac_func
43920 /* Override any gcc2 internal prototype to avoid an error. */
43921 #ifdef __cplusplus
43922 extern "C"
43924 #endif
43925 /* We use char because int might match the return type of a gcc2
43926 builtin and then its argument prototype would still apply. */
43927 char $ac_func ();
43928 /* The GNU C library defines this for functions which it implements
43929 to always fail with ENOSYS. Some functions are actually named
43930 something starting with __ and the normal name is an alias. */
43931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43932 choke me
43933 #else
43934 char (*f) () = $ac_func;
43935 #endif
43936 #ifdef __cplusplus
43938 #endif
43941 main ()
43943 return f != $ac_func;
43945 return 0;
43947 _ACEOF
43948 rm -f conftest.$ac_objext conftest$ac_exeext
43949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43950 (eval $ac_link) 2>conftest.er1
43951 ac_status=$?
43952 grep -v '^ *+' conftest.er1 >conftest.err
43953 rm -f conftest.er1
43954 cat conftest.err >&5
43955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43956 (exit $ac_status); } &&
43957 { ac_try='test -z "$ac_c_werror_flag"
43958 || test ! -s conftest.err'
43959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43960 (eval $ac_try) 2>&5
43961 ac_status=$?
43962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43963 (exit $ac_status); }; } &&
43964 { ac_try='test -s conftest$ac_exeext'
43965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43966 (eval $ac_try) 2>&5
43967 ac_status=$?
43968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43969 (exit $ac_status); }; }; then
43970 eval "$as_ac_var=yes"
43971 else
43972 echo "$as_me: failed program was:" >&5
43973 sed 's/^/| /' conftest.$ac_ext >&5
43975 eval "$as_ac_var=no"
43977 rm -f conftest.err conftest.$ac_objext \
43978 conftest$ac_exeext conftest.$ac_ext
43980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43982 if test `eval echo '${'$as_ac_var'}'` = yes; then
43983 cat >>confdefs.h <<_ACEOF
43984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43985 _ACEOF
43988 done
43990 else
43992 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
43993 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
43994 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
43995 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
43996 echo $ECHO_N "(cached) $ECHO_C" >&6
43997 else
44001 ac_ext=cc
44002 ac_cpp='$CXXCPP $CPPFLAGS'
44003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44007 cat >conftest.$ac_ext <<_ACEOF
44008 /* confdefs.h. */
44009 _ACEOF
44010 cat confdefs.h >>conftest.$ac_ext
44011 cat >>conftest.$ac_ext <<_ACEOF
44012 /* end confdefs.h. */
44013 #include <math.h>
44014 #ifdef HAVE_IEEEFP_H
44015 #include <ieeefp.h>
44016 #endif
44019 main ()
44021 _isnan(0);
44023 return 0;
44025 _ACEOF
44026 rm -f conftest.$ac_objext
44027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44028 (eval $ac_compile) 2>conftest.er1
44029 ac_status=$?
44030 grep -v '^ *+' conftest.er1 >conftest.err
44031 rm -f conftest.er1
44032 cat conftest.err >&5
44033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44034 (exit $ac_status); } &&
44035 { ac_try='test -z "$ac_cxx_werror_flag"
44036 || test ! -s conftest.err'
44037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44038 (eval $ac_try) 2>&5
44039 ac_status=$?
44040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44041 (exit $ac_status); }; } &&
44042 { ac_try='test -s conftest.$ac_objext'
44043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44044 (eval $ac_try) 2>&5
44045 ac_status=$?
44046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44047 (exit $ac_status); }; }; then
44048 glibcxx_cv_func__isnan_use=yes
44049 else
44050 echo "$as_me: failed program was:" >&5
44051 sed 's/^/| /' conftest.$ac_ext >&5
44053 glibcxx_cv_func__isnan_use=no
44055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44056 ac_ext=c
44057 ac_cpp='$CPP $CPPFLAGS'
44058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44066 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
44067 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
44069 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
44071 for ac_func in _isnan
44073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44074 echo "$as_me:$LINENO: checking for $ac_func" >&5
44075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44076 if eval "test \"\${$as_ac_var+set}\" = set"; then
44077 echo $ECHO_N "(cached) $ECHO_C" >&6
44078 else
44079 if test x$gcc_no_link = xyes; then
44080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44082 { (exit 1); exit 1; }; }
44084 cat >conftest.$ac_ext <<_ACEOF
44085 /* confdefs.h. */
44086 _ACEOF
44087 cat confdefs.h >>conftest.$ac_ext
44088 cat >>conftest.$ac_ext <<_ACEOF
44089 /* end confdefs.h. */
44090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44092 #define $ac_func innocuous_$ac_func
44094 /* System header to define __stub macros and hopefully few prototypes,
44095 which can conflict with char $ac_func (); below.
44096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44097 <limits.h> exists even on freestanding compilers. */
44099 #ifdef __STDC__
44100 # include <limits.h>
44101 #else
44102 # include <assert.h>
44103 #endif
44105 #undef $ac_func
44107 /* Override any gcc2 internal prototype to avoid an error. */
44108 #ifdef __cplusplus
44109 extern "C"
44111 #endif
44112 /* We use char because int might match the return type of a gcc2
44113 builtin and then its argument prototype would still apply. */
44114 char $ac_func ();
44115 /* The GNU C library defines this for functions which it implements
44116 to always fail with ENOSYS. Some functions are actually named
44117 something starting with __ and the normal name is an alias. */
44118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44119 choke me
44120 #else
44121 char (*f) () = $ac_func;
44122 #endif
44123 #ifdef __cplusplus
44125 #endif
44128 main ()
44130 return f != $ac_func;
44132 return 0;
44134 _ACEOF
44135 rm -f conftest.$ac_objext conftest$ac_exeext
44136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44137 (eval $ac_link) 2>conftest.er1
44138 ac_status=$?
44139 grep -v '^ *+' conftest.er1 >conftest.err
44140 rm -f conftest.er1
44141 cat conftest.err >&5
44142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44143 (exit $ac_status); } &&
44144 { ac_try='test -z "$ac_c_werror_flag"
44145 || test ! -s conftest.err'
44146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44147 (eval $ac_try) 2>&5
44148 ac_status=$?
44149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44150 (exit $ac_status); }; } &&
44151 { ac_try='test -s conftest$ac_exeext'
44152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44153 (eval $ac_try) 2>&5
44154 ac_status=$?
44155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44156 (exit $ac_status); }; }; then
44157 eval "$as_ac_var=yes"
44158 else
44159 echo "$as_me: failed program was:" >&5
44160 sed 's/^/| /' conftest.$ac_ext >&5
44162 eval "$as_ac_var=no"
44164 rm -f conftest.err conftest.$ac_objext \
44165 conftest$ac_exeext conftest.$ac_ext
44167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44169 if test `eval echo '${'$as_ac_var'}'` = yes; then
44170 cat >>confdefs.h <<_ACEOF
44171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44172 _ACEOF
44175 done
44185 echo "$as_me:$LINENO: checking for finite declaration" >&5
44186 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
44187 if test x${glibcxx_cv_func_finite_use+set} != xset; then
44188 if test "${glibcxx_cv_func_finite_use+set}" = set; then
44189 echo $ECHO_N "(cached) $ECHO_C" >&6
44190 else
44194 ac_ext=cc
44195 ac_cpp='$CXXCPP $CPPFLAGS'
44196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44200 cat >conftest.$ac_ext <<_ACEOF
44201 /* confdefs.h. */
44202 _ACEOF
44203 cat confdefs.h >>conftest.$ac_ext
44204 cat >>conftest.$ac_ext <<_ACEOF
44205 /* end confdefs.h. */
44206 #include <math.h>
44207 #ifdef HAVE_IEEEFP_H
44208 #include <ieeefp.h>
44209 #endif
44212 main ()
44214 finite(0);
44216 return 0;
44218 _ACEOF
44219 rm -f conftest.$ac_objext
44220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44221 (eval $ac_compile) 2>conftest.er1
44222 ac_status=$?
44223 grep -v '^ *+' conftest.er1 >conftest.err
44224 rm -f conftest.er1
44225 cat conftest.err >&5
44226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44227 (exit $ac_status); } &&
44228 { ac_try='test -z "$ac_cxx_werror_flag"
44229 || test ! -s conftest.err'
44230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44231 (eval $ac_try) 2>&5
44232 ac_status=$?
44233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44234 (exit $ac_status); }; } &&
44235 { ac_try='test -s conftest.$ac_objext'
44236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44237 (eval $ac_try) 2>&5
44238 ac_status=$?
44239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44240 (exit $ac_status); }; }; then
44241 glibcxx_cv_func_finite_use=yes
44242 else
44243 echo "$as_me: failed program was:" >&5
44244 sed 's/^/| /' conftest.$ac_ext >&5
44246 glibcxx_cv_func_finite_use=no
44248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44249 ac_ext=c
44250 ac_cpp='$CPP $CPPFLAGS'
44251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44259 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
44260 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
44262 if test x$glibcxx_cv_func_finite_use = x"yes"; then
44264 for ac_func in finite
44266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44267 echo "$as_me:$LINENO: checking for $ac_func" >&5
44268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44269 if eval "test \"\${$as_ac_var+set}\" = set"; then
44270 echo $ECHO_N "(cached) $ECHO_C" >&6
44271 else
44272 if test x$gcc_no_link = xyes; then
44273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44275 { (exit 1); exit 1; }; }
44277 cat >conftest.$ac_ext <<_ACEOF
44278 /* confdefs.h. */
44279 _ACEOF
44280 cat confdefs.h >>conftest.$ac_ext
44281 cat >>conftest.$ac_ext <<_ACEOF
44282 /* end confdefs.h. */
44283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44285 #define $ac_func innocuous_$ac_func
44287 /* System header to define __stub macros and hopefully few prototypes,
44288 which can conflict with char $ac_func (); below.
44289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44290 <limits.h> exists even on freestanding compilers. */
44292 #ifdef __STDC__
44293 # include <limits.h>
44294 #else
44295 # include <assert.h>
44296 #endif
44298 #undef $ac_func
44300 /* Override any gcc2 internal prototype to avoid an error. */
44301 #ifdef __cplusplus
44302 extern "C"
44304 #endif
44305 /* We use char because int might match the return type of a gcc2
44306 builtin and then its argument prototype would still apply. */
44307 char $ac_func ();
44308 /* The GNU C library defines this for functions which it implements
44309 to always fail with ENOSYS. Some functions are actually named
44310 something starting with __ and the normal name is an alias. */
44311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44312 choke me
44313 #else
44314 char (*f) () = $ac_func;
44315 #endif
44316 #ifdef __cplusplus
44318 #endif
44321 main ()
44323 return f != $ac_func;
44325 return 0;
44327 _ACEOF
44328 rm -f conftest.$ac_objext conftest$ac_exeext
44329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44330 (eval $ac_link) 2>conftest.er1
44331 ac_status=$?
44332 grep -v '^ *+' conftest.er1 >conftest.err
44333 rm -f conftest.er1
44334 cat conftest.err >&5
44335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44336 (exit $ac_status); } &&
44337 { ac_try='test -z "$ac_c_werror_flag"
44338 || test ! -s conftest.err'
44339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44340 (eval $ac_try) 2>&5
44341 ac_status=$?
44342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44343 (exit $ac_status); }; } &&
44344 { ac_try='test -s conftest$ac_exeext'
44345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44346 (eval $ac_try) 2>&5
44347 ac_status=$?
44348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44349 (exit $ac_status); }; }; then
44350 eval "$as_ac_var=yes"
44351 else
44352 echo "$as_me: failed program was:" >&5
44353 sed 's/^/| /' conftest.$ac_ext >&5
44355 eval "$as_ac_var=no"
44357 rm -f conftest.err conftest.$ac_objext \
44358 conftest$ac_exeext conftest.$ac_ext
44360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44362 if test `eval echo '${'$as_ac_var'}'` = yes; then
44363 cat >>confdefs.h <<_ACEOF
44364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44365 _ACEOF
44368 done
44370 else
44372 echo "$as_me:$LINENO: checking for _finite declaration" >&5
44373 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
44374 if test x${glibcxx_cv_func__finite_use+set} != xset; then
44375 if test "${glibcxx_cv_func__finite_use+set}" = set; then
44376 echo $ECHO_N "(cached) $ECHO_C" >&6
44377 else
44381 ac_ext=cc
44382 ac_cpp='$CXXCPP $CPPFLAGS'
44383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44387 cat >conftest.$ac_ext <<_ACEOF
44388 /* confdefs.h. */
44389 _ACEOF
44390 cat confdefs.h >>conftest.$ac_ext
44391 cat >>conftest.$ac_ext <<_ACEOF
44392 /* end confdefs.h. */
44393 #include <math.h>
44394 #ifdef HAVE_IEEEFP_H
44395 #include <ieeefp.h>
44396 #endif
44399 main ()
44401 _finite(0);
44403 return 0;
44405 _ACEOF
44406 rm -f conftest.$ac_objext
44407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44408 (eval $ac_compile) 2>conftest.er1
44409 ac_status=$?
44410 grep -v '^ *+' conftest.er1 >conftest.err
44411 rm -f conftest.er1
44412 cat conftest.err >&5
44413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44414 (exit $ac_status); } &&
44415 { ac_try='test -z "$ac_cxx_werror_flag"
44416 || test ! -s conftest.err'
44417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44418 (eval $ac_try) 2>&5
44419 ac_status=$?
44420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44421 (exit $ac_status); }; } &&
44422 { ac_try='test -s conftest.$ac_objext'
44423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44424 (eval $ac_try) 2>&5
44425 ac_status=$?
44426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44427 (exit $ac_status); }; }; then
44428 glibcxx_cv_func__finite_use=yes
44429 else
44430 echo "$as_me: failed program was:" >&5
44431 sed 's/^/| /' conftest.$ac_ext >&5
44433 glibcxx_cv_func__finite_use=no
44435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44436 ac_ext=c
44437 ac_cpp='$CPP $CPPFLAGS'
44438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44446 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
44447 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
44449 if test x$glibcxx_cv_func__finite_use = x"yes"; then
44451 for ac_func in _finite
44453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44454 echo "$as_me:$LINENO: checking for $ac_func" >&5
44455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44456 if eval "test \"\${$as_ac_var+set}\" = set"; then
44457 echo $ECHO_N "(cached) $ECHO_C" >&6
44458 else
44459 if test x$gcc_no_link = xyes; then
44460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44462 { (exit 1); exit 1; }; }
44464 cat >conftest.$ac_ext <<_ACEOF
44465 /* confdefs.h. */
44466 _ACEOF
44467 cat confdefs.h >>conftest.$ac_ext
44468 cat >>conftest.$ac_ext <<_ACEOF
44469 /* end confdefs.h. */
44470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44472 #define $ac_func innocuous_$ac_func
44474 /* System header to define __stub macros and hopefully few prototypes,
44475 which can conflict with char $ac_func (); below.
44476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44477 <limits.h> exists even on freestanding compilers. */
44479 #ifdef __STDC__
44480 # include <limits.h>
44481 #else
44482 # include <assert.h>
44483 #endif
44485 #undef $ac_func
44487 /* Override any gcc2 internal prototype to avoid an error. */
44488 #ifdef __cplusplus
44489 extern "C"
44491 #endif
44492 /* We use char because int might match the return type of a gcc2
44493 builtin and then its argument prototype would still apply. */
44494 char $ac_func ();
44495 /* The GNU C library defines this for functions which it implements
44496 to always fail with ENOSYS. Some functions are actually named
44497 something starting with __ and the normal name is an alias. */
44498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44499 choke me
44500 #else
44501 char (*f) () = $ac_func;
44502 #endif
44503 #ifdef __cplusplus
44505 #endif
44508 main ()
44510 return f != $ac_func;
44512 return 0;
44514 _ACEOF
44515 rm -f conftest.$ac_objext conftest$ac_exeext
44516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44517 (eval $ac_link) 2>conftest.er1
44518 ac_status=$?
44519 grep -v '^ *+' conftest.er1 >conftest.err
44520 rm -f conftest.er1
44521 cat conftest.err >&5
44522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44523 (exit $ac_status); } &&
44524 { ac_try='test -z "$ac_c_werror_flag"
44525 || test ! -s conftest.err'
44526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44527 (eval $ac_try) 2>&5
44528 ac_status=$?
44529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44530 (exit $ac_status); }; } &&
44531 { ac_try='test -s conftest$ac_exeext'
44532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44533 (eval $ac_try) 2>&5
44534 ac_status=$?
44535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44536 (exit $ac_status); }; }; then
44537 eval "$as_ac_var=yes"
44538 else
44539 echo "$as_me: failed program was:" >&5
44540 sed 's/^/| /' conftest.$ac_ext >&5
44542 eval "$as_ac_var=no"
44544 rm -f conftest.err conftest.$ac_objext \
44545 conftest$ac_exeext conftest.$ac_ext
44547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44549 if test `eval echo '${'$as_ac_var'}'` = yes; then
44550 cat >>confdefs.h <<_ACEOF
44551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44552 _ACEOF
44555 done
44565 echo "$as_me:$LINENO: checking for copysign declaration" >&5
44566 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
44567 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
44568 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
44569 echo $ECHO_N "(cached) $ECHO_C" >&6
44570 else
44574 ac_ext=cc
44575 ac_cpp='$CXXCPP $CPPFLAGS'
44576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44580 cat >conftest.$ac_ext <<_ACEOF
44581 /* confdefs.h. */
44582 _ACEOF
44583 cat confdefs.h >>conftest.$ac_ext
44584 cat >>conftest.$ac_ext <<_ACEOF
44585 /* end confdefs.h. */
44586 #include <math.h>
44588 main ()
44590 copysign(0, 0);
44592 return 0;
44594 _ACEOF
44595 rm -f conftest.$ac_objext
44596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44597 (eval $ac_compile) 2>conftest.er1
44598 ac_status=$?
44599 grep -v '^ *+' conftest.er1 >conftest.err
44600 rm -f conftest.er1
44601 cat conftest.err >&5
44602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44603 (exit $ac_status); } &&
44604 { ac_try='test -z "$ac_cxx_werror_flag"
44605 || test ! -s conftest.err'
44606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44607 (eval $ac_try) 2>&5
44608 ac_status=$?
44609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44610 (exit $ac_status); }; } &&
44611 { ac_try='test -s conftest.$ac_objext'
44612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44613 (eval $ac_try) 2>&5
44614 ac_status=$?
44615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44616 (exit $ac_status); }; }; then
44617 glibcxx_cv_func_copysign_use=yes
44618 else
44619 echo "$as_me: failed program was:" >&5
44620 sed 's/^/| /' conftest.$ac_ext >&5
44622 glibcxx_cv_func_copysign_use=no
44624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44625 ac_ext=c
44626 ac_cpp='$CPP $CPPFLAGS'
44627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44635 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
44636 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
44638 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
44640 for ac_func in copysign
44642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44643 echo "$as_me:$LINENO: checking for $ac_func" >&5
44644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44645 if eval "test \"\${$as_ac_var+set}\" = set"; then
44646 echo $ECHO_N "(cached) $ECHO_C" >&6
44647 else
44648 if test x$gcc_no_link = xyes; then
44649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44651 { (exit 1); exit 1; }; }
44653 cat >conftest.$ac_ext <<_ACEOF
44654 /* confdefs.h. */
44655 _ACEOF
44656 cat confdefs.h >>conftest.$ac_ext
44657 cat >>conftest.$ac_ext <<_ACEOF
44658 /* end confdefs.h. */
44659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44661 #define $ac_func innocuous_$ac_func
44663 /* System header to define __stub macros and hopefully few prototypes,
44664 which can conflict with char $ac_func (); below.
44665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44666 <limits.h> exists even on freestanding compilers. */
44668 #ifdef __STDC__
44669 # include <limits.h>
44670 #else
44671 # include <assert.h>
44672 #endif
44674 #undef $ac_func
44676 /* Override any gcc2 internal prototype to avoid an error. */
44677 #ifdef __cplusplus
44678 extern "C"
44680 #endif
44681 /* We use char because int might match the return type of a gcc2
44682 builtin and then its argument prototype would still apply. */
44683 char $ac_func ();
44684 /* The GNU C library defines this for functions which it implements
44685 to always fail with ENOSYS. Some functions are actually named
44686 something starting with __ and the normal name is an alias. */
44687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44688 choke me
44689 #else
44690 char (*f) () = $ac_func;
44691 #endif
44692 #ifdef __cplusplus
44694 #endif
44697 main ()
44699 return f != $ac_func;
44701 return 0;
44703 _ACEOF
44704 rm -f conftest.$ac_objext conftest$ac_exeext
44705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44706 (eval $ac_link) 2>conftest.er1
44707 ac_status=$?
44708 grep -v '^ *+' conftest.er1 >conftest.err
44709 rm -f conftest.er1
44710 cat conftest.err >&5
44711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44712 (exit $ac_status); } &&
44713 { ac_try='test -z "$ac_c_werror_flag"
44714 || test ! -s conftest.err'
44715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44716 (eval $ac_try) 2>&5
44717 ac_status=$?
44718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44719 (exit $ac_status); }; } &&
44720 { ac_try='test -s conftest$ac_exeext'
44721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44722 (eval $ac_try) 2>&5
44723 ac_status=$?
44724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44725 (exit $ac_status); }; }; then
44726 eval "$as_ac_var=yes"
44727 else
44728 echo "$as_me: failed program was:" >&5
44729 sed 's/^/| /' conftest.$ac_ext >&5
44731 eval "$as_ac_var=no"
44733 rm -f conftest.err conftest.$ac_objext \
44734 conftest$ac_exeext conftest.$ac_ext
44736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44738 if test `eval echo '${'$as_ac_var'}'` = yes; then
44739 cat >>confdefs.h <<_ACEOF
44740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44741 _ACEOF
44744 done
44746 else
44748 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
44749 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
44750 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
44751 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
44752 echo $ECHO_N "(cached) $ECHO_C" >&6
44753 else
44757 ac_ext=cc
44758 ac_cpp='$CXXCPP $CPPFLAGS'
44759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44763 cat >conftest.$ac_ext <<_ACEOF
44764 /* confdefs.h. */
44765 _ACEOF
44766 cat confdefs.h >>conftest.$ac_ext
44767 cat >>conftest.$ac_ext <<_ACEOF
44768 /* end confdefs.h. */
44769 #include <math.h>
44771 main ()
44773 _copysign(0, 0);
44775 return 0;
44777 _ACEOF
44778 rm -f conftest.$ac_objext
44779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44780 (eval $ac_compile) 2>conftest.er1
44781 ac_status=$?
44782 grep -v '^ *+' conftest.er1 >conftest.err
44783 rm -f conftest.er1
44784 cat conftest.err >&5
44785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44786 (exit $ac_status); } &&
44787 { ac_try='test -z "$ac_cxx_werror_flag"
44788 || test ! -s conftest.err'
44789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44790 (eval $ac_try) 2>&5
44791 ac_status=$?
44792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44793 (exit $ac_status); }; } &&
44794 { ac_try='test -s conftest.$ac_objext'
44795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44796 (eval $ac_try) 2>&5
44797 ac_status=$?
44798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44799 (exit $ac_status); }; }; then
44800 glibcxx_cv_func__copysign_use=yes
44801 else
44802 echo "$as_me: failed program was:" >&5
44803 sed 's/^/| /' conftest.$ac_ext >&5
44805 glibcxx_cv_func__copysign_use=no
44807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44808 ac_ext=c
44809 ac_cpp='$CPP $CPPFLAGS'
44810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44818 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
44819 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
44821 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
44823 for ac_func in _copysign
44825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44826 echo "$as_me:$LINENO: checking for $ac_func" >&5
44827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44828 if eval "test \"\${$as_ac_var+set}\" = set"; then
44829 echo $ECHO_N "(cached) $ECHO_C" >&6
44830 else
44831 if test x$gcc_no_link = xyes; then
44832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44834 { (exit 1); exit 1; }; }
44836 cat >conftest.$ac_ext <<_ACEOF
44837 /* confdefs.h. */
44838 _ACEOF
44839 cat confdefs.h >>conftest.$ac_ext
44840 cat >>conftest.$ac_ext <<_ACEOF
44841 /* end confdefs.h. */
44842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44844 #define $ac_func innocuous_$ac_func
44846 /* System header to define __stub macros and hopefully few prototypes,
44847 which can conflict with char $ac_func (); below.
44848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44849 <limits.h> exists even on freestanding compilers. */
44851 #ifdef __STDC__
44852 # include <limits.h>
44853 #else
44854 # include <assert.h>
44855 #endif
44857 #undef $ac_func
44859 /* Override any gcc2 internal prototype to avoid an error. */
44860 #ifdef __cplusplus
44861 extern "C"
44863 #endif
44864 /* We use char because int might match the return type of a gcc2
44865 builtin and then its argument prototype would still apply. */
44866 char $ac_func ();
44867 /* The GNU C library defines this for functions which it implements
44868 to always fail with ENOSYS. Some functions are actually named
44869 something starting with __ and the normal name is an alias. */
44870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44871 choke me
44872 #else
44873 char (*f) () = $ac_func;
44874 #endif
44875 #ifdef __cplusplus
44877 #endif
44880 main ()
44882 return f != $ac_func;
44884 return 0;
44886 _ACEOF
44887 rm -f conftest.$ac_objext conftest$ac_exeext
44888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44889 (eval $ac_link) 2>conftest.er1
44890 ac_status=$?
44891 grep -v '^ *+' conftest.er1 >conftest.err
44892 rm -f conftest.er1
44893 cat conftest.err >&5
44894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44895 (exit $ac_status); } &&
44896 { ac_try='test -z "$ac_c_werror_flag"
44897 || test ! -s conftest.err'
44898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44899 (eval $ac_try) 2>&5
44900 ac_status=$?
44901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44902 (exit $ac_status); }; } &&
44903 { ac_try='test -s conftest$ac_exeext'
44904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44905 (eval $ac_try) 2>&5
44906 ac_status=$?
44907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44908 (exit $ac_status); }; }; then
44909 eval "$as_ac_var=yes"
44910 else
44911 echo "$as_me: failed program was:" >&5
44912 sed 's/^/| /' conftest.$ac_ext >&5
44914 eval "$as_ac_var=no"
44916 rm -f conftest.err conftest.$ac_objext \
44917 conftest$ac_exeext conftest.$ac_ext
44919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44921 if test `eval echo '${'$as_ac_var'}'` = yes; then
44922 cat >>confdefs.h <<_ACEOF
44923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44924 _ACEOF
44927 done
44937 echo "$as_me:$LINENO: checking for sincos declaration" >&5
44938 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
44939 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
44940 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
44941 echo $ECHO_N "(cached) $ECHO_C" >&6
44942 else
44946 ac_ext=cc
44947 ac_cpp='$CXXCPP $CPPFLAGS'
44948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44952 cat >conftest.$ac_ext <<_ACEOF
44953 /* confdefs.h. */
44954 _ACEOF
44955 cat confdefs.h >>conftest.$ac_ext
44956 cat >>conftest.$ac_ext <<_ACEOF
44957 /* end confdefs.h. */
44958 #include <math.h>
44960 main ()
44962 sincos(0, 0, 0);
44964 return 0;
44966 _ACEOF
44967 rm -f conftest.$ac_objext
44968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44969 (eval $ac_compile) 2>conftest.er1
44970 ac_status=$?
44971 grep -v '^ *+' conftest.er1 >conftest.err
44972 rm -f conftest.er1
44973 cat conftest.err >&5
44974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44975 (exit $ac_status); } &&
44976 { ac_try='test -z "$ac_cxx_werror_flag"
44977 || test ! -s conftest.err'
44978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44979 (eval $ac_try) 2>&5
44980 ac_status=$?
44981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44982 (exit $ac_status); }; } &&
44983 { ac_try='test -s conftest.$ac_objext'
44984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44985 (eval $ac_try) 2>&5
44986 ac_status=$?
44987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44988 (exit $ac_status); }; }; then
44989 glibcxx_cv_func_sincos_use=yes
44990 else
44991 echo "$as_me: failed program was:" >&5
44992 sed 's/^/| /' conftest.$ac_ext >&5
44994 glibcxx_cv_func_sincos_use=no
44996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44997 ac_ext=c
44998 ac_cpp='$CPP $CPPFLAGS'
44999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45007 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
45008 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
45010 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45012 for ac_func in sincos
45014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45015 echo "$as_me:$LINENO: checking for $ac_func" >&5
45016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45017 if eval "test \"\${$as_ac_var+set}\" = set"; then
45018 echo $ECHO_N "(cached) $ECHO_C" >&6
45019 else
45020 if test x$gcc_no_link = xyes; then
45021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45023 { (exit 1); exit 1; }; }
45025 cat >conftest.$ac_ext <<_ACEOF
45026 /* confdefs.h. */
45027 _ACEOF
45028 cat confdefs.h >>conftest.$ac_ext
45029 cat >>conftest.$ac_ext <<_ACEOF
45030 /* end confdefs.h. */
45031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45033 #define $ac_func innocuous_$ac_func
45035 /* System header to define __stub macros and hopefully few prototypes,
45036 which can conflict with char $ac_func (); below.
45037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45038 <limits.h> exists even on freestanding compilers. */
45040 #ifdef __STDC__
45041 # include <limits.h>
45042 #else
45043 # include <assert.h>
45044 #endif
45046 #undef $ac_func
45048 /* Override any gcc2 internal prototype to avoid an error. */
45049 #ifdef __cplusplus
45050 extern "C"
45052 #endif
45053 /* We use char because int might match the return type of a gcc2
45054 builtin and then its argument prototype would still apply. */
45055 char $ac_func ();
45056 /* The GNU C library defines this for functions which it implements
45057 to always fail with ENOSYS. Some functions are actually named
45058 something starting with __ and the normal name is an alias. */
45059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45060 choke me
45061 #else
45062 char (*f) () = $ac_func;
45063 #endif
45064 #ifdef __cplusplus
45066 #endif
45069 main ()
45071 return f != $ac_func;
45073 return 0;
45075 _ACEOF
45076 rm -f conftest.$ac_objext conftest$ac_exeext
45077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45078 (eval $ac_link) 2>conftest.er1
45079 ac_status=$?
45080 grep -v '^ *+' conftest.er1 >conftest.err
45081 rm -f conftest.er1
45082 cat conftest.err >&5
45083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45084 (exit $ac_status); } &&
45085 { ac_try='test -z "$ac_c_werror_flag"
45086 || test ! -s conftest.err'
45087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45088 (eval $ac_try) 2>&5
45089 ac_status=$?
45090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45091 (exit $ac_status); }; } &&
45092 { ac_try='test -s conftest$ac_exeext'
45093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45094 (eval $ac_try) 2>&5
45095 ac_status=$?
45096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45097 (exit $ac_status); }; }; then
45098 eval "$as_ac_var=yes"
45099 else
45100 echo "$as_me: failed program was:" >&5
45101 sed 's/^/| /' conftest.$ac_ext >&5
45103 eval "$as_ac_var=no"
45105 rm -f conftest.err conftest.$ac_objext \
45106 conftest$ac_exeext conftest.$ac_ext
45108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45110 if test `eval echo '${'$as_ac_var'}'` = yes; then
45111 cat >>confdefs.h <<_ACEOF
45112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45113 _ACEOF
45116 done
45118 else
45120 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
45121 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
45122 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45123 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
45124 echo $ECHO_N "(cached) $ECHO_C" >&6
45125 else
45129 ac_ext=cc
45130 ac_cpp='$CXXCPP $CPPFLAGS'
45131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45135 cat >conftest.$ac_ext <<_ACEOF
45136 /* confdefs.h. */
45137 _ACEOF
45138 cat confdefs.h >>conftest.$ac_ext
45139 cat >>conftest.$ac_ext <<_ACEOF
45140 /* end confdefs.h. */
45141 #include <math.h>
45143 main ()
45145 _sincos(0, 0, 0);
45147 return 0;
45149 _ACEOF
45150 rm -f conftest.$ac_objext
45151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45152 (eval $ac_compile) 2>conftest.er1
45153 ac_status=$?
45154 grep -v '^ *+' conftest.er1 >conftest.err
45155 rm -f conftest.er1
45156 cat conftest.err >&5
45157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45158 (exit $ac_status); } &&
45159 { ac_try='test -z "$ac_cxx_werror_flag"
45160 || test ! -s conftest.err'
45161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45162 (eval $ac_try) 2>&5
45163 ac_status=$?
45164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45165 (exit $ac_status); }; } &&
45166 { ac_try='test -s conftest.$ac_objext'
45167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45168 (eval $ac_try) 2>&5
45169 ac_status=$?
45170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45171 (exit $ac_status); }; }; then
45172 glibcxx_cv_func__sincos_use=yes
45173 else
45174 echo "$as_me: failed program was:" >&5
45175 sed 's/^/| /' conftest.$ac_ext >&5
45177 glibcxx_cv_func__sincos_use=no
45179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45180 ac_ext=c
45181 ac_cpp='$CPP $CPPFLAGS'
45182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45190 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
45191 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
45193 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45195 for ac_func in _sincos
45197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45198 echo "$as_me:$LINENO: checking for $ac_func" >&5
45199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45200 if eval "test \"\${$as_ac_var+set}\" = set"; then
45201 echo $ECHO_N "(cached) $ECHO_C" >&6
45202 else
45203 if test x$gcc_no_link = xyes; then
45204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45206 { (exit 1); exit 1; }; }
45208 cat >conftest.$ac_ext <<_ACEOF
45209 /* confdefs.h. */
45210 _ACEOF
45211 cat confdefs.h >>conftest.$ac_ext
45212 cat >>conftest.$ac_ext <<_ACEOF
45213 /* end confdefs.h. */
45214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45216 #define $ac_func innocuous_$ac_func
45218 /* System header to define __stub macros and hopefully few prototypes,
45219 which can conflict with char $ac_func (); below.
45220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45221 <limits.h> exists even on freestanding compilers. */
45223 #ifdef __STDC__
45224 # include <limits.h>
45225 #else
45226 # include <assert.h>
45227 #endif
45229 #undef $ac_func
45231 /* Override any gcc2 internal prototype to avoid an error. */
45232 #ifdef __cplusplus
45233 extern "C"
45235 #endif
45236 /* We use char because int might match the return type of a gcc2
45237 builtin and then its argument prototype would still apply. */
45238 char $ac_func ();
45239 /* The GNU C library defines this for functions which it implements
45240 to always fail with ENOSYS. Some functions are actually named
45241 something starting with __ and the normal name is an alias. */
45242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45243 choke me
45244 #else
45245 char (*f) () = $ac_func;
45246 #endif
45247 #ifdef __cplusplus
45249 #endif
45252 main ()
45254 return f != $ac_func;
45256 return 0;
45258 _ACEOF
45259 rm -f conftest.$ac_objext conftest$ac_exeext
45260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45261 (eval $ac_link) 2>conftest.er1
45262 ac_status=$?
45263 grep -v '^ *+' conftest.er1 >conftest.err
45264 rm -f conftest.er1
45265 cat conftest.err >&5
45266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45267 (exit $ac_status); } &&
45268 { ac_try='test -z "$ac_c_werror_flag"
45269 || test ! -s conftest.err'
45270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45271 (eval $ac_try) 2>&5
45272 ac_status=$?
45273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45274 (exit $ac_status); }; } &&
45275 { ac_try='test -s conftest$ac_exeext'
45276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45277 (eval $ac_try) 2>&5
45278 ac_status=$?
45279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45280 (exit $ac_status); }; }; then
45281 eval "$as_ac_var=yes"
45282 else
45283 echo "$as_me: failed program was:" >&5
45284 sed 's/^/| /' conftest.$ac_ext >&5
45286 eval "$as_ac_var=no"
45288 rm -f conftest.err conftest.$ac_objext \
45289 conftest$ac_exeext conftest.$ac_ext
45291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45293 if test `eval echo '${'$as_ac_var'}'` = yes; then
45294 cat >>confdefs.h <<_ACEOF
45295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45296 _ACEOF
45299 done
45309 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
45310 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
45311 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45312 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
45313 echo $ECHO_N "(cached) $ECHO_C" >&6
45314 else
45318 ac_ext=cc
45319 ac_cpp='$CXXCPP $CPPFLAGS'
45320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45324 cat >conftest.$ac_ext <<_ACEOF
45325 /* confdefs.h. */
45326 _ACEOF
45327 cat confdefs.h >>conftest.$ac_ext
45328 cat >>conftest.$ac_ext <<_ACEOF
45329 /* end confdefs.h. */
45330 #include <math.h>
45331 #ifdef HAVE_IEEEFP_H
45332 #include <ieeefp.h>
45333 #endif
45336 main ()
45338 fpclass(0);
45340 return 0;
45342 _ACEOF
45343 rm -f conftest.$ac_objext
45344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45345 (eval $ac_compile) 2>conftest.er1
45346 ac_status=$?
45347 grep -v '^ *+' conftest.er1 >conftest.err
45348 rm -f conftest.er1
45349 cat conftest.err >&5
45350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45351 (exit $ac_status); } &&
45352 { ac_try='test -z "$ac_cxx_werror_flag"
45353 || test ! -s conftest.err'
45354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45355 (eval $ac_try) 2>&5
45356 ac_status=$?
45357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45358 (exit $ac_status); }; } &&
45359 { ac_try='test -s conftest.$ac_objext'
45360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45361 (eval $ac_try) 2>&5
45362 ac_status=$?
45363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45364 (exit $ac_status); }; }; then
45365 glibcxx_cv_func_fpclass_use=yes
45366 else
45367 echo "$as_me: failed program was:" >&5
45368 sed 's/^/| /' conftest.$ac_ext >&5
45370 glibcxx_cv_func_fpclass_use=no
45372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45373 ac_ext=c
45374 ac_cpp='$CPP $CPPFLAGS'
45375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45383 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
45384 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
45386 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45388 for ac_func in fpclass
45390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45391 echo "$as_me:$LINENO: checking for $ac_func" >&5
45392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45393 if eval "test \"\${$as_ac_var+set}\" = set"; then
45394 echo $ECHO_N "(cached) $ECHO_C" >&6
45395 else
45396 if test x$gcc_no_link = xyes; then
45397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45399 { (exit 1); exit 1; }; }
45401 cat >conftest.$ac_ext <<_ACEOF
45402 /* confdefs.h. */
45403 _ACEOF
45404 cat confdefs.h >>conftest.$ac_ext
45405 cat >>conftest.$ac_ext <<_ACEOF
45406 /* end confdefs.h. */
45407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45409 #define $ac_func innocuous_$ac_func
45411 /* System header to define __stub macros and hopefully few prototypes,
45412 which can conflict with char $ac_func (); below.
45413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45414 <limits.h> exists even on freestanding compilers. */
45416 #ifdef __STDC__
45417 # include <limits.h>
45418 #else
45419 # include <assert.h>
45420 #endif
45422 #undef $ac_func
45424 /* Override any gcc2 internal prototype to avoid an error. */
45425 #ifdef __cplusplus
45426 extern "C"
45428 #endif
45429 /* We use char because int might match the return type of a gcc2
45430 builtin and then its argument prototype would still apply. */
45431 char $ac_func ();
45432 /* The GNU C library defines this for functions which it implements
45433 to always fail with ENOSYS. Some functions are actually named
45434 something starting with __ and the normal name is an alias. */
45435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45436 choke me
45437 #else
45438 char (*f) () = $ac_func;
45439 #endif
45440 #ifdef __cplusplus
45442 #endif
45445 main ()
45447 return f != $ac_func;
45449 return 0;
45451 _ACEOF
45452 rm -f conftest.$ac_objext conftest$ac_exeext
45453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45454 (eval $ac_link) 2>conftest.er1
45455 ac_status=$?
45456 grep -v '^ *+' conftest.er1 >conftest.err
45457 rm -f conftest.er1
45458 cat conftest.err >&5
45459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45460 (exit $ac_status); } &&
45461 { ac_try='test -z "$ac_c_werror_flag"
45462 || test ! -s conftest.err'
45463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45464 (eval $ac_try) 2>&5
45465 ac_status=$?
45466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45467 (exit $ac_status); }; } &&
45468 { ac_try='test -s conftest$ac_exeext'
45469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45470 (eval $ac_try) 2>&5
45471 ac_status=$?
45472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45473 (exit $ac_status); }; }; then
45474 eval "$as_ac_var=yes"
45475 else
45476 echo "$as_me: failed program was:" >&5
45477 sed 's/^/| /' conftest.$ac_ext >&5
45479 eval "$as_ac_var=no"
45481 rm -f conftest.err conftest.$ac_objext \
45482 conftest$ac_exeext conftest.$ac_ext
45484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45486 if test `eval echo '${'$as_ac_var'}'` = yes; then
45487 cat >>confdefs.h <<_ACEOF
45488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45489 _ACEOF
45492 done
45494 else
45496 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
45497 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
45498 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45499 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
45500 echo $ECHO_N "(cached) $ECHO_C" >&6
45501 else
45505 ac_ext=cc
45506 ac_cpp='$CXXCPP $CPPFLAGS'
45507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45511 cat >conftest.$ac_ext <<_ACEOF
45512 /* confdefs.h. */
45513 _ACEOF
45514 cat confdefs.h >>conftest.$ac_ext
45515 cat >>conftest.$ac_ext <<_ACEOF
45516 /* end confdefs.h. */
45517 #include <math.h>
45518 #ifdef HAVE_IEEEFP_H
45519 #include <ieeefp.h>
45520 #endif
45523 main ()
45525 _fpclass(0);
45527 return 0;
45529 _ACEOF
45530 rm -f conftest.$ac_objext
45531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45532 (eval $ac_compile) 2>conftest.er1
45533 ac_status=$?
45534 grep -v '^ *+' conftest.er1 >conftest.err
45535 rm -f conftest.er1
45536 cat conftest.err >&5
45537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45538 (exit $ac_status); } &&
45539 { ac_try='test -z "$ac_cxx_werror_flag"
45540 || test ! -s conftest.err'
45541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45542 (eval $ac_try) 2>&5
45543 ac_status=$?
45544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45545 (exit $ac_status); }; } &&
45546 { ac_try='test -s conftest.$ac_objext'
45547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45548 (eval $ac_try) 2>&5
45549 ac_status=$?
45550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45551 (exit $ac_status); }; }; then
45552 glibcxx_cv_func__fpclass_use=yes
45553 else
45554 echo "$as_me: failed program was:" >&5
45555 sed 's/^/| /' conftest.$ac_ext >&5
45557 glibcxx_cv_func__fpclass_use=no
45559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45560 ac_ext=c
45561 ac_cpp='$CPP $CPPFLAGS'
45562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45570 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
45571 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
45573 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45575 for ac_func in _fpclass
45577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45578 echo "$as_me:$LINENO: checking for $ac_func" >&5
45579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45580 if eval "test \"\${$as_ac_var+set}\" = set"; then
45581 echo $ECHO_N "(cached) $ECHO_C" >&6
45582 else
45583 if test x$gcc_no_link = xyes; then
45584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45586 { (exit 1); exit 1; }; }
45588 cat >conftest.$ac_ext <<_ACEOF
45589 /* confdefs.h. */
45590 _ACEOF
45591 cat confdefs.h >>conftest.$ac_ext
45592 cat >>conftest.$ac_ext <<_ACEOF
45593 /* end confdefs.h. */
45594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45596 #define $ac_func innocuous_$ac_func
45598 /* System header to define __stub macros and hopefully few prototypes,
45599 which can conflict with char $ac_func (); below.
45600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45601 <limits.h> exists even on freestanding compilers. */
45603 #ifdef __STDC__
45604 # include <limits.h>
45605 #else
45606 # include <assert.h>
45607 #endif
45609 #undef $ac_func
45611 /* Override any gcc2 internal prototype to avoid an error. */
45612 #ifdef __cplusplus
45613 extern "C"
45615 #endif
45616 /* We use char because int might match the return type of a gcc2
45617 builtin and then its argument prototype would still apply. */
45618 char $ac_func ();
45619 /* The GNU C library defines this for functions which it implements
45620 to always fail with ENOSYS. Some functions are actually named
45621 something starting with __ and the normal name is an alias. */
45622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45623 choke me
45624 #else
45625 char (*f) () = $ac_func;
45626 #endif
45627 #ifdef __cplusplus
45629 #endif
45632 main ()
45634 return f != $ac_func;
45636 return 0;
45638 _ACEOF
45639 rm -f conftest.$ac_objext conftest$ac_exeext
45640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45641 (eval $ac_link) 2>conftest.er1
45642 ac_status=$?
45643 grep -v '^ *+' conftest.er1 >conftest.err
45644 rm -f conftest.er1
45645 cat conftest.err >&5
45646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45647 (exit $ac_status); } &&
45648 { ac_try='test -z "$ac_c_werror_flag"
45649 || test ! -s conftest.err'
45650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45651 (eval $ac_try) 2>&5
45652 ac_status=$?
45653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45654 (exit $ac_status); }; } &&
45655 { ac_try='test -s conftest$ac_exeext'
45656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45657 (eval $ac_try) 2>&5
45658 ac_status=$?
45659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45660 (exit $ac_status); }; }; then
45661 eval "$as_ac_var=yes"
45662 else
45663 echo "$as_me: failed program was:" >&5
45664 sed 's/^/| /' conftest.$ac_ext >&5
45666 eval "$as_ac_var=no"
45668 rm -f conftest.err conftest.$ac_objext \
45669 conftest$ac_exeext conftest.$ac_ext
45671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45673 if test `eval echo '${'$as_ac_var'}'` = yes; then
45674 cat >>confdefs.h <<_ACEOF
45675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45676 _ACEOF
45679 done
45689 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
45690 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
45691 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45692 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
45693 echo $ECHO_N "(cached) $ECHO_C" >&6
45694 else
45698 ac_ext=cc
45699 ac_cpp='$CXXCPP $CPPFLAGS'
45700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45704 cat >conftest.$ac_ext <<_ACEOF
45705 /* confdefs.h. */
45706 _ACEOF
45707 cat confdefs.h >>conftest.$ac_ext
45708 cat >>conftest.$ac_ext <<_ACEOF
45709 /* end confdefs.h. */
45710 #include <math.h>
45711 #ifdef HAVE_IEEEFP_H
45712 #include <ieeefp.h>
45713 #endif
45716 main ()
45718 qfpclass(0);
45720 return 0;
45722 _ACEOF
45723 rm -f conftest.$ac_objext
45724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45725 (eval $ac_compile) 2>conftest.er1
45726 ac_status=$?
45727 grep -v '^ *+' conftest.er1 >conftest.err
45728 rm -f conftest.er1
45729 cat conftest.err >&5
45730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45731 (exit $ac_status); } &&
45732 { ac_try='test -z "$ac_cxx_werror_flag"
45733 || test ! -s conftest.err'
45734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45735 (eval $ac_try) 2>&5
45736 ac_status=$?
45737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45738 (exit $ac_status); }; } &&
45739 { ac_try='test -s conftest.$ac_objext'
45740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45741 (eval $ac_try) 2>&5
45742 ac_status=$?
45743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45744 (exit $ac_status); }; }; then
45745 glibcxx_cv_func_qfpclass_use=yes
45746 else
45747 echo "$as_me: failed program was:" >&5
45748 sed 's/^/| /' conftest.$ac_ext >&5
45750 glibcxx_cv_func_qfpclass_use=no
45752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45753 ac_ext=c
45754 ac_cpp='$CPP $CPPFLAGS'
45755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45763 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
45764 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
45766 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45768 for ac_func in qfpclass
45770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45771 echo "$as_me:$LINENO: checking for $ac_func" >&5
45772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45773 if eval "test \"\${$as_ac_var+set}\" = set"; then
45774 echo $ECHO_N "(cached) $ECHO_C" >&6
45775 else
45776 if test x$gcc_no_link = xyes; then
45777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45779 { (exit 1); exit 1; }; }
45781 cat >conftest.$ac_ext <<_ACEOF
45782 /* confdefs.h. */
45783 _ACEOF
45784 cat confdefs.h >>conftest.$ac_ext
45785 cat >>conftest.$ac_ext <<_ACEOF
45786 /* end confdefs.h. */
45787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45789 #define $ac_func innocuous_$ac_func
45791 /* System header to define __stub macros and hopefully few prototypes,
45792 which can conflict with char $ac_func (); below.
45793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45794 <limits.h> exists even on freestanding compilers. */
45796 #ifdef __STDC__
45797 # include <limits.h>
45798 #else
45799 # include <assert.h>
45800 #endif
45802 #undef $ac_func
45804 /* Override any gcc2 internal prototype to avoid an error. */
45805 #ifdef __cplusplus
45806 extern "C"
45808 #endif
45809 /* We use char because int might match the return type of a gcc2
45810 builtin and then its argument prototype would still apply. */
45811 char $ac_func ();
45812 /* The GNU C library defines this for functions which it implements
45813 to always fail with ENOSYS. Some functions are actually named
45814 something starting with __ and the normal name is an alias. */
45815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45816 choke me
45817 #else
45818 char (*f) () = $ac_func;
45819 #endif
45820 #ifdef __cplusplus
45822 #endif
45825 main ()
45827 return f != $ac_func;
45829 return 0;
45831 _ACEOF
45832 rm -f conftest.$ac_objext conftest$ac_exeext
45833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45834 (eval $ac_link) 2>conftest.er1
45835 ac_status=$?
45836 grep -v '^ *+' conftest.er1 >conftest.err
45837 rm -f conftest.er1
45838 cat conftest.err >&5
45839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45840 (exit $ac_status); } &&
45841 { ac_try='test -z "$ac_c_werror_flag"
45842 || test ! -s conftest.err'
45843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45844 (eval $ac_try) 2>&5
45845 ac_status=$?
45846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45847 (exit $ac_status); }; } &&
45848 { ac_try='test -s conftest$ac_exeext'
45849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45850 (eval $ac_try) 2>&5
45851 ac_status=$?
45852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45853 (exit $ac_status); }; }; then
45854 eval "$as_ac_var=yes"
45855 else
45856 echo "$as_me: failed program was:" >&5
45857 sed 's/^/| /' conftest.$ac_ext >&5
45859 eval "$as_ac_var=no"
45861 rm -f conftest.err conftest.$ac_objext \
45862 conftest$ac_exeext conftest.$ac_ext
45864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45866 if test `eval echo '${'$as_ac_var'}'` = yes; then
45867 cat >>confdefs.h <<_ACEOF
45868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45869 _ACEOF
45872 done
45874 else
45876 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
45877 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
45878 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45879 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
45880 echo $ECHO_N "(cached) $ECHO_C" >&6
45881 else
45885 ac_ext=cc
45886 ac_cpp='$CXXCPP $CPPFLAGS'
45887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45891 cat >conftest.$ac_ext <<_ACEOF
45892 /* confdefs.h. */
45893 _ACEOF
45894 cat confdefs.h >>conftest.$ac_ext
45895 cat >>conftest.$ac_ext <<_ACEOF
45896 /* end confdefs.h. */
45897 #include <math.h>
45898 #ifdef HAVE_IEEEFP_H
45899 #include <ieeefp.h>
45900 #endif
45903 main ()
45905 _qfpclass(0);
45907 return 0;
45909 _ACEOF
45910 rm -f conftest.$ac_objext
45911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45912 (eval $ac_compile) 2>conftest.er1
45913 ac_status=$?
45914 grep -v '^ *+' conftest.er1 >conftest.err
45915 rm -f conftest.er1
45916 cat conftest.err >&5
45917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45918 (exit $ac_status); } &&
45919 { ac_try='test -z "$ac_cxx_werror_flag"
45920 || test ! -s conftest.err'
45921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45922 (eval $ac_try) 2>&5
45923 ac_status=$?
45924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45925 (exit $ac_status); }; } &&
45926 { ac_try='test -s conftest.$ac_objext'
45927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45928 (eval $ac_try) 2>&5
45929 ac_status=$?
45930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45931 (exit $ac_status); }; }; then
45932 glibcxx_cv_func__qfpclass_use=yes
45933 else
45934 echo "$as_me: failed program was:" >&5
45935 sed 's/^/| /' conftest.$ac_ext >&5
45937 glibcxx_cv_func__qfpclass_use=no
45939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45940 ac_ext=c
45941 ac_cpp='$CPP $CPPFLAGS'
45942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45950 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
45951 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
45953 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45955 for ac_func in _qfpclass
45957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45958 echo "$as_me:$LINENO: checking for $ac_func" >&5
45959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45960 if eval "test \"\${$as_ac_var+set}\" = set"; then
45961 echo $ECHO_N "(cached) $ECHO_C" >&6
45962 else
45963 if test x$gcc_no_link = xyes; then
45964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45966 { (exit 1); exit 1; }; }
45968 cat >conftest.$ac_ext <<_ACEOF
45969 /* confdefs.h. */
45970 _ACEOF
45971 cat confdefs.h >>conftest.$ac_ext
45972 cat >>conftest.$ac_ext <<_ACEOF
45973 /* end confdefs.h. */
45974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45976 #define $ac_func innocuous_$ac_func
45978 /* System header to define __stub macros and hopefully few prototypes,
45979 which can conflict with char $ac_func (); below.
45980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45981 <limits.h> exists even on freestanding compilers. */
45983 #ifdef __STDC__
45984 # include <limits.h>
45985 #else
45986 # include <assert.h>
45987 #endif
45989 #undef $ac_func
45991 /* Override any gcc2 internal prototype to avoid an error. */
45992 #ifdef __cplusplus
45993 extern "C"
45995 #endif
45996 /* We use char because int might match the return type of a gcc2
45997 builtin and then its argument prototype would still apply. */
45998 char $ac_func ();
45999 /* The GNU C library defines this for functions which it implements
46000 to always fail with ENOSYS. Some functions are actually named
46001 something starting with __ and the normal name is an alias. */
46002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46003 choke me
46004 #else
46005 char (*f) () = $ac_func;
46006 #endif
46007 #ifdef __cplusplus
46009 #endif
46012 main ()
46014 return f != $ac_func;
46016 return 0;
46018 _ACEOF
46019 rm -f conftest.$ac_objext conftest$ac_exeext
46020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46021 (eval $ac_link) 2>conftest.er1
46022 ac_status=$?
46023 grep -v '^ *+' conftest.er1 >conftest.err
46024 rm -f conftest.er1
46025 cat conftest.err >&5
46026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46027 (exit $ac_status); } &&
46028 { ac_try='test -z "$ac_c_werror_flag"
46029 || test ! -s conftest.err'
46030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46031 (eval $ac_try) 2>&5
46032 ac_status=$?
46033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46034 (exit $ac_status); }; } &&
46035 { ac_try='test -s conftest$ac_exeext'
46036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46037 (eval $ac_try) 2>&5
46038 ac_status=$?
46039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46040 (exit $ac_status); }; }; then
46041 eval "$as_ac_var=yes"
46042 else
46043 echo "$as_me: failed program was:" >&5
46044 sed 's/^/| /' conftest.$ac_ext >&5
46046 eval "$as_ac_var=no"
46048 rm -f conftest.err conftest.$ac_objext \
46049 conftest$ac_exeext conftest.$ac_ext
46051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46053 if test `eval echo '${'$as_ac_var'}'` = yes; then
46054 cat >>confdefs.h <<_ACEOF
46055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46056 _ACEOF
46059 done
46069 echo "$as_me:$LINENO: checking for hypot declaration" >&5
46070 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
46071 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46072 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
46073 echo $ECHO_N "(cached) $ECHO_C" >&6
46074 else
46078 ac_ext=cc
46079 ac_cpp='$CXXCPP $CPPFLAGS'
46080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46084 cat >conftest.$ac_ext <<_ACEOF
46085 /* confdefs.h. */
46086 _ACEOF
46087 cat confdefs.h >>conftest.$ac_ext
46088 cat >>conftest.$ac_ext <<_ACEOF
46089 /* end confdefs.h. */
46090 #include <math.h>
46092 main ()
46094 hypot(0, 0);
46096 return 0;
46098 _ACEOF
46099 rm -f conftest.$ac_objext
46100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46101 (eval $ac_compile) 2>conftest.er1
46102 ac_status=$?
46103 grep -v '^ *+' conftest.er1 >conftest.err
46104 rm -f conftest.er1
46105 cat conftest.err >&5
46106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46107 (exit $ac_status); } &&
46108 { ac_try='test -z "$ac_cxx_werror_flag"
46109 || test ! -s conftest.err'
46110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46111 (eval $ac_try) 2>&5
46112 ac_status=$?
46113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46114 (exit $ac_status); }; } &&
46115 { ac_try='test -s conftest.$ac_objext'
46116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46117 (eval $ac_try) 2>&5
46118 ac_status=$?
46119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46120 (exit $ac_status); }; }; then
46121 glibcxx_cv_func_hypot_use=yes
46122 else
46123 echo "$as_me: failed program was:" >&5
46124 sed 's/^/| /' conftest.$ac_ext >&5
46126 glibcxx_cv_func_hypot_use=no
46128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46129 ac_ext=c
46130 ac_cpp='$CPP $CPPFLAGS'
46131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46139 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
46140 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
46142 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46144 for ac_func in hypot
46146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46147 echo "$as_me:$LINENO: checking for $ac_func" >&5
46148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46149 if eval "test \"\${$as_ac_var+set}\" = set"; then
46150 echo $ECHO_N "(cached) $ECHO_C" >&6
46151 else
46152 if test x$gcc_no_link = xyes; then
46153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46155 { (exit 1); exit 1; }; }
46157 cat >conftest.$ac_ext <<_ACEOF
46158 /* confdefs.h. */
46159 _ACEOF
46160 cat confdefs.h >>conftest.$ac_ext
46161 cat >>conftest.$ac_ext <<_ACEOF
46162 /* end confdefs.h. */
46163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46165 #define $ac_func innocuous_$ac_func
46167 /* System header to define __stub macros and hopefully few prototypes,
46168 which can conflict with char $ac_func (); below.
46169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46170 <limits.h> exists even on freestanding compilers. */
46172 #ifdef __STDC__
46173 # include <limits.h>
46174 #else
46175 # include <assert.h>
46176 #endif
46178 #undef $ac_func
46180 /* Override any gcc2 internal prototype to avoid an error. */
46181 #ifdef __cplusplus
46182 extern "C"
46184 #endif
46185 /* We use char because int might match the return type of a gcc2
46186 builtin and then its argument prototype would still apply. */
46187 char $ac_func ();
46188 /* The GNU C library defines this for functions which it implements
46189 to always fail with ENOSYS. Some functions are actually named
46190 something starting with __ and the normal name is an alias. */
46191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46192 choke me
46193 #else
46194 char (*f) () = $ac_func;
46195 #endif
46196 #ifdef __cplusplus
46198 #endif
46201 main ()
46203 return f != $ac_func;
46205 return 0;
46207 _ACEOF
46208 rm -f conftest.$ac_objext conftest$ac_exeext
46209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46210 (eval $ac_link) 2>conftest.er1
46211 ac_status=$?
46212 grep -v '^ *+' conftest.er1 >conftest.err
46213 rm -f conftest.er1
46214 cat conftest.err >&5
46215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46216 (exit $ac_status); } &&
46217 { ac_try='test -z "$ac_c_werror_flag"
46218 || test ! -s conftest.err'
46219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46220 (eval $ac_try) 2>&5
46221 ac_status=$?
46222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46223 (exit $ac_status); }; } &&
46224 { ac_try='test -s conftest$ac_exeext'
46225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46226 (eval $ac_try) 2>&5
46227 ac_status=$?
46228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46229 (exit $ac_status); }; }; then
46230 eval "$as_ac_var=yes"
46231 else
46232 echo "$as_me: failed program was:" >&5
46233 sed 's/^/| /' conftest.$ac_ext >&5
46235 eval "$as_ac_var=no"
46237 rm -f conftest.err conftest.$ac_objext \
46238 conftest$ac_exeext conftest.$ac_ext
46240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46242 if test `eval echo '${'$as_ac_var'}'` = yes; then
46243 cat >>confdefs.h <<_ACEOF
46244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46245 _ACEOF
46248 done
46250 else
46252 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
46253 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
46254 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46255 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
46256 echo $ECHO_N "(cached) $ECHO_C" >&6
46257 else
46261 ac_ext=cc
46262 ac_cpp='$CXXCPP $CPPFLAGS'
46263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46267 cat >conftest.$ac_ext <<_ACEOF
46268 /* confdefs.h. */
46269 _ACEOF
46270 cat confdefs.h >>conftest.$ac_ext
46271 cat >>conftest.$ac_ext <<_ACEOF
46272 /* end confdefs.h. */
46273 #include <math.h>
46275 main ()
46277 _hypot(0, 0);
46279 return 0;
46281 _ACEOF
46282 rm -f conftest.$ac_objext
46283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46284 (eval $ac_compile) 2>conftest.er1
46285 ac_status=$?
46286 grep -v '^ *+' conftest.er1 >conftest.err
46287 rm -f conftest.er1
46288 cat conftest.err >&5
46289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46290 (exit $ac_status); } &&
46291 { ac_try='test -z "$ac_cxx_werror_flag"
46292 || test ! -s conftest.err'
46293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46294 (eval $ac_try) 2>&5
46295 ac_status=$?
46296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46297 (exit $ac_status); }; } &&
46298 { ac_try='test -s conftest.$ac_objext'
46299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46300 (eval $ac_try) 2>&5
46301 ac_status=$?
46302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46303 (exit $ac_status); }; }; then
46304 glibcxx_cv_func__hypot_use=yes
46305 else
46306 echo "$as_me: failed program was:" >&5
46307 sed 's/^/| /' conftest.$ac_ext >&5
46309 glibcxx_cv_func__hypot_use=no
46311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46312 ac_ext=c
46313 ac_cpp='$CPP $CPPFLAGS'
46314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46322 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
46323 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
46325 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46327 for ac_func in _hypot
46329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46330 echo "$as_me:$LINENO: checking for $ac_func" >&5
46331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46332 if eval "test \"\${$as_ac_var+set}\" = set"; then
46333 echo $ECHO_N "(cached) $ECHO_C" >&6
46334 else
46335 if test x$gcc_no_link = xyes; then
46336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46338 { (exit 1); exit 1; }; }
46340 cat >conftest.$ac_ext <<_ACEOF
46341 /* confdefs.h. */
46342 _ACEOF
46343 cat confdefs.h >>conftest.$ac_ext
46344 cat >>conftest.$ac_ext <<_ACEOF
46345 /* end confdefs.h. */
46346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46348 #define $ac_func innocuous_$ac_func
46350 /* System header to define __stub macros and hopefully few prototypes,
46351 which can conflict with char $ac_func (); below.
46352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46353 <limits.h> exists even on freestanding compilers. */
46355 #ifdef __STDC__
46356 # include <limits.h>
46357 #else
46358 # include <assert.h>
46359 #endif
46361 #undef $ac_func
46363 /* Override any gcc2 internal prototype to avoid an error. */
46364 #ifdef __cplusplus
46365 extern "C"
46367 #endif
46368 /* We use char because int might match the return type of a gcc2
46369 builtin and then its argument prototype would still apply. */
46370 char $ac_func ();
46371 /* The GNU C library defines this for functions which it implements
46372 to always fail with ENOSYS. Some functions are actually named
46373 something starting with __ and the normal name is an alias. */
46374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46375 choke me
46376 #else
46377 char (*f) () = $ac_func;
46378 #endif
46379 #ifdef __cplusplus
46381 #endif
46384 main ()
46386 return f != $ac_func;
46388 return 0;
46390 _ACEOF
46391 rm -f conftest.$ac_objext conftest$ac_exeext
46392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46393 (eval $ac_link) 2>conftest.er1
46394 ac_status=$?
46395 grep -v '^ *+' conftest.er1 >conftest.err
46396 rm -f conftest.er1
46397 cat conftest.err >&5
46398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46399 (exit $ac_status); } &&
46400 { ac_try='test -z "$ac_c_werror_flag"
46401 || test ! -s conftest.err'
46402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46403 (eval $ac_try) 2>&5
46404 ac_status=$?
46405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46406 (exit $ac_status); }; } &&
46407 { ac_try='test -s conftest$ac_exeext'
46408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46409 (eval $ac_try) 2>&5
46410 ac_status=$?
46411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46412 (exit $ac_status); }; }; then
46413 eval "$as_ac_var=yes"
46414 else
46415 echo "$as_me: failed program was:" >&5
46416 sed 's/^/| /' conftest.$ac_ext >&5
46418 eval "$as_ac_var=no"
46420 rm -f conftest.err conftest.$ac_objext \
46421 conftest$ac_exeext conftest.$ac_ext
46423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46425 if test `eval echo '${'$as_ac_var'}'` = yes; then
46426 cat >>confdefs.h <<_ACEOF
46427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46428 _ACEOF
46431 done
46441 echo "$as_me:$LINENO: checking for float trig functions" >&5
46442 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
46443 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
46444 echo $ECHO_N "(cached) $ECHO_C" >&6
46445 else
46449 ac_ext=cc
46450 ac_cpp='$CXXCPP $CPPFLAGS'
46451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46455 cat >conftest.$ac_ext <<_ACEOF
46456 /* confdefs.h. */
46457 _ACEOF
46458 cat confdefs.h >>conftest.$ac_ext
46459 cat >>conftest.$ac_ext <<_ACEOF
46460 /* end confdefs.h. */
46461 #include <math.h>
46463 main ()
46465 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46467 return 0;
46469 _ACEOF
46470 rm -f conftest.$ac_objext
46471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46472 (eval $ac_compile) 2>conftest.er1
46473 ac_status=$?
46474 grep -v '^ *+' conftest.er1 >conftest.err
46475 rm -f conftest.er1
46476 cat conftest.err >&5
46477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46478 (exit $ac_status); } &&
46479 { ac_try='test -z "$ac_cxx_werror_flag"
46480 || test ! -s conftest.err'
46481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46482 (eval $ac_try) 2>&5
46483 ac_status=$?
46484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46485 (exit $ac_status); }; } &&
46486 { ac_try='test -s conftest.$ac_objext'
46487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46488 (eval $ac_try) 2>&5
46489 ac_status=$?
46490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46491 (exit $ac_status); }; }; then
46492 glibcxx_cv_func_float_trig_use=yes
46493 else
46494 echo "$as_me: failed program was:" >&5
46495 sed 's/^/| /' conftest.$ac_ext >&5
46497 glibcxx_cv_func_float_trig_use=no
46499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46500 ac_ext=c
46501 ac_cpp='$CPP $CPPFLAGS'
46502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46508 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
46509 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
46510 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46520 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46523 echo "$as_me:$LINENO: checking for $ac_func" >&5
46524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46525 if eval "test \"\${$as_ac_var+set}\" = set"; then
46526 echo $ECHO_N "(cached) $ECHO_C" >&6
46527 else
46528 if test x$gcc_no_link = xyes; then
46529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46531 { (exit 1); exit 1; }; }
46533 cat >conftest.$ac_ext <<_ACEOF
46534 /* confdefs.h. */
46535 _ACEOF
46536 cat confdefs.h >>conftest.$ac_ext
46537 cat >>conftest.$ac_ext <<_ACEOF
46538 /* end confdefs.h. */
46539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46541 #define $ac_func innocuous_$ac_func
46543 /* System header to define __stub macros and hopefully few prototypes,
46544 which can conflict with char $ac_func (); below.
46545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46546 <limits.h> exists even on freestanding compilers. */
46548 #ifdef __STDC__
46549 # include <limits.h>
46550 #else
46551 # include <assert.h>
46552 #endif
46554 #undef $ac_func
46556 /* Override any gcc2 internal prototype to avoid an error. */
46557 #ifdef __cplusplus
46558 extern "C"
46560 #endif
46561 /* We use char because int might match the return type of a gcc2
46562 builtin and then its argument prototype would still apply. */
46563 char $ac_func ();
46564 /* The GNU C library defines this for functions which it implements
46565 to always fail with ENOSYS. Some functions are actually named
46566 something starting with __ and the normal name is an alias. */
46567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46568 choke me
46569 #else
46570 char (*f) () = $ac_func;
46571 #endif
46572 #ifdef __cplusplus
46574 #endif
46577 main ()
46579 return f != $ac_func;
46581 return 0;
46583 _ACEOF
46584 rm -f conftest.$ac_objext conftest$ac_exeext
46585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46586 (eval $ac_link) 2>conftest.er1
46587 ac_status=$?
46588 grep -v '^ *+' conftest.er1 >conftest.err
46589 rm -f conftest.er1
46590 cat conftest.err >&5
46591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46592 (exit $ac_status); } &&
46593 { ac_try='test -z "$ac_c_werror_flag"
46594 || test ! -s conftest.err'
46595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46596 (eval $ac_try) 2>&5
46597 ac_status=$?
46598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46599 (exit $ac_status); }; } &&
46600 { ac_try='test -s conftest$ac_exeext'
46601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46602 (eval $ac_try) 2>&5
46603 ac_status=$?
46604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46605 (exit $ac_status); }; }; then
46606 eval "$as_ac_var=yes"
46607 else
46608 echo "$as_me: failed program was:" >&5
46609 sed 's/^/| /' conftest.$ac_ext >&5
46611 eval "$as_ac_var=no"
46613 rm -f conftest.err conftest.$ac_objext \
46614 conftest$ac_exeext conftest.$ac_ext
46616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46618 if test `eval echo '${'$as_ac_var'}'` = yes; then
46619 cat >>confdefs.h <<_ACEOF
46620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46621 _ACEOF
46624 done
46626 else
46627 echo "$as_me:$LINENO: checking for _float trig functions" >&5
46628 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46629 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46630 echo $ECHO_N "(cached) $ECHO_C" >&6
46631 else
46635 ac_ext=cc
46636 ac_cpp='$CXXCPP $CPPFLAGS'
46637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46641 cat >conftest.$ac_ext <<_ACEOF
46642 /* confdefs.h. */
46643 _ACEOF
46644 cat confdefs.h >>conftest.$ac_ext
46645 cat >>conftest.$ac_ext <<_ACEOF
46646 /* end confdefs.h. */
46647 #include <math.h>
46649 main ()
46651 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46653 return 0;
46655 _ACEOF
46656 rm -f conftest.$ac_objext
46657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46658 (eval $ac_compile) 2>conftest.er1
46659 ac_status=$?
46660 grep -v '^ *+' conftest.er1 >conftest.err
46661 rm -f conftest.er1
46662 cat conftest.err >&5
46663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46664 (exit $ac_status); } &&
46665 { ac_try='test -z "$ac_cxx_werror_flag"
46666 || test ! -s conftest.err'
46667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46668 (eval $ac_try) 2>&5
46669 ac_status=$?
46670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46671 (exit $ac_status); }; } &&
46672 { ac_try='test -s conftest.$ac_objext'
46673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46674 (eval $ac_try) 2>&5
46675 ac_status=$?
46676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46677 (exit $ac_status); }; }; then
46678 glibcxx_cv_func__float_trig_use=yes
46679 else
46680 echo "$as_me: failed program was:" >&5
46681 sed 's/^/| /' conftest.$ac_ext >&5
46683 glibcxx_cv_func__float_trig_use=no
46685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46686 ac_ext=c
46687 ac_cpp='$CPP $CPPFLAGS'
46688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46694 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
46695 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
46696 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46706 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46709 echo "$as_me:$LINENO: checking for $ac_func" >&5
46710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46711 if eval "test \"\${$as_ac_var+set}\" = set"; then
46712 echo $ECHO_N "(cached) $ECHO_C" >&6
46713 else
46714 if test x$gcc_no_link = xyes; then
46715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46717 { (exit 1); exit 1; }; }
46719 cat >conftest.$ac_ext <<_ACEOF
46720 /* confdefs.h. */
46721 _ACEOF
46722 cat confdefs.h >>conftest.$ac_ext
46723 cat >>conftest.$ac_ext <<_ACEOF
46724 /* end confdefs.h. */
46725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46727 #define $ac_func innocuous_$ac_func
46729 /* System header to define __stub macros and hopefully few prototypes,
46730 which can conflict with char $ac_func (); below.
46731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46732 <limits.h> exists even on freestanding compilers. */
46734 #ifdef __STDC__
46735 # include <limits.h>
46736 #else
46737 # include <assert.h>
46738 #endif
46740 #undef $ac_func
46742 /* Override any gcc2 internal prototype to avoid an error. */
46743 #ifdef __cplusplus
46744 extern "C"
46746 #endif
46747 /* We use char because int might match the return type of a gcc2
46748 builtin and then its argument prototype would still apply. */
46749 char $ac_func ();
46750 /* The GNU C library defines this for functions which it implements
46751 to always fail with ENOSYS. Some functions are actually named
46752 something starting with __ and the normal name is an alias. */
46753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46754 choke me
46755 #else
46756 char (*f) () = $ac_func;
46757 #endif
46758 #ifdef __cplusplus
46760 #endif
46763 main ()
46765 return f != $ac_func;
46767 return 0;
46769 _ACEOF
46770 rm -f conftest.$ac_objext conftest$ac_exeext
46771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46772 (eval $ac_link) 2>conftest.er1
46773 ac_status=$?
46774 grep -v '^ *+' conftest.er1 >conftest.err
46775 rm -f conftest.er1
46776 cat conftest.err >&5
46777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46778 (exit $ac_status); } &&
46779 { ac_try='test -z "$ac_c_werror_flag"
46780 || test ! -s conftest.err'
46781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46782 (eval $ac_try) 2>&5
46783 ac_status=$?
46784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46785 (exit $ac_status); }; } &&
46786 { ac_try='test -s conftest$ac_exeext'
46787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46788 (eval $ac_try) 2>&5
46789 ac_status=$?
46790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46791 (exit $ac_status); }; }; then
46792 eval "$as_ac_var=yes"
46793 else
46794 echo "$as_me: failed program was:" >&5
46795 sed 's/^/| /' conftest.$ac_ext >&5
46797 eval "$as_ac_var=no"
46799 rm -f conftest.err conftest.$ac_objext \
46800 conftest$ac_exeext conftest.$ac_ext
46802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46804 if test `eval echo '${'$as_ac_var'}'` = yes; then
46805 cat >>confdefs.h <<_ACEOF
46806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46807 _ACEOF
46810 done
46828 echo "$as_me:$LINENO: checking for float round functions" >&5
46829 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
46830 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
46831 echo $ECHO_N "(cached) $ECHO_C" >&6
46832 else
46836 ac_ext=cc
46837 ac_cpp='$CXXCPP $CPPFLAGS'
46838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46842 cat >conftest.$ac_ext <<_ACEOF
46843 /* confdefs.h. */
46844 _ACEOF
46845 cat confdefs.h >>conftest.$ac_ext
46846 cat >>conftest.$ac_ext <<_ACEOF
46847 /* end confdefs.h. */
46848 #include <math.h>
46850 main ()
46852 ceilf (0); floorf (0);
46854 return 0;
46856 _ACEOF
46857 rm -f conftest.$ac_objext
46858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46859 (eval $ac_compile) 2>conftest.er1
46860 ac_status=$?
46861 grep -v '^ *+' conftest.er1 >conftest.err
46862 rm -f conftest.er1
46863 cat conftest.err >&5
46864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46865 (exit $ac_status); } &&
46866 { ac_try='test -z "$ac_cxx_werror_flag"
46867 || test ! -s conftest.err'
46868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46869 (eval $ac_try) 2>&5
46870 ac_status=$?
46871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46872 (exit $ac_status); }; } &&
46873 { ac_try='test -s conftest.$ac_objext'
46874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46875 (eval $ac_try) 2>&5
46876 ac_status=$?
46877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46878 (exit $ac_status); }; }; then
46879 glibcxx_cv_func_float_round_use=yes
46880 else
46881 echo "$as_me: failed program was:" >&5
46882 sed 's/^/| /' conftest.$ac_ext >&5
46884 glibcxx_cv_func_float_round_use=no
46886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46887 ac_ext=c
46888 ac_cpp='$CPP $CPPFLAGS'
46889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46895 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
46896 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
46897 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46900 for ac_func in ceilf floorf
46902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46903 echo "$as_me:$LINENO: checking for $ac_func" >&5
46904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46905 if eval "test \"\${$as_ac_var+set}\" = set"; then
46906 echo $ECHO_N "(cached) $ECHO_C" >&6
46907 else
46908 if test x$gcc_no_link = xyes; then
46909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46911 { (exit 1); exit 1; }; }
46913 cat >conftest.$ac_ext <<_ACEOF
46914 /* confdefs.h. */
46915 _ACEOF
46916 cat confdefs.h >>conftest.$ac_ext
46917 cat >>conftest.$ac_ext <<_ACEOF
46918 /* end confdefs.h. */
46919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46921 #define $ac_func innocuous_$ac_func
46923 /* System header to define __stub macros and hopefully few prototypes,
46924 which can conflict with char $ac_func (); below.
46925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46926 <limits.h> exists even on freestanding compilers. */
46928 #ifdef __STDC__
46929 # include <limits.h>
46930 #else
46931 # include <assert.h>
46932 #endif
46934 #undef $ac_func
46936 /* Override any gcc2 internal prototype to avoid an error. */
46937 #ifdef __cplusplus
46938 extern "C"
46940 #endif
46941 /* We use char because int might match the return type of a gcc2
46942 builtin and then its argument prototype would still apply. */
46943 char $ac_func ();
46944 /* The GNU C library defines this for functions which it implements
46945 to always fail with ENOSYS. Some functions are actually named
46946 something starting with __ and the normal name is an alias. */
46947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46948 choke me
46949 #else
46950 char (*f) () = $ac_func;
46951 #endif
46952 #ifdef __cplusplus
46954 #endif
46957 main ()
46959 return f != $ac_func;
46961 return 0;
46963 _ACEOF
46964 rm -f conftest.$ac_objext conftest$ac_exeext
46965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46966 (eval $ac_link) 2>conftest.er1
46967 ac_status=$?
46968 grep -v '^ *+' conftest.er1 >conftest.err
46969 rm -f conftest.er1
46970 cat conftest.err >&5
46971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46972 (exit $ac_status); } &&
46973 { ac_try='test -z "$ac_c_werror_flag"
46974 || test ! -s conftest.err'
46975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46976 (eval $ac_try) 2>&5
46977 ac_status=$?
46978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46979 (exit $ac_status); }; } &&
46980 { ac_try='test -s conftest$ac_exeext'
46981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46982 (eval $ac_try) 2>&5
46983 ac_status=$?
46984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46985 (exit $ac_status); }; }; then
46986 eval "$as_ac_var=yes"
46987 else
46988 echo "$as_me: failed program was:" >&5
46989 sed 's/^/| /' conftest.$ac_ext >&5
46991 eval "$as_ac_var=no"
46993 rm -f conftest.err conftest.$ac_objext \
46994 conftest$ac_exeext conftest.$ac_ext
46996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46998 if test `eval echo '${'$as_ac_var'}'` = yes; then
46999 cat >>confdefs.h <<_ACEOF
47000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47001 _ACEOF
47004 done
47006 else
47007 echo "$as_me:$LINENO: checking for _float round functions" >&5
47008 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47009 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47010 echo $ECHO_N "(cached) $ECHO_C" >&6
47011 else
47015 ac_ext=cc
47016 ac_cpp='$CXXCPP $CPPFLAGS'
47017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47021 cat >conftest.$ac_ext <<_ACEOF
47022 /* confdefs.h. */
47023 _ACEOF
47024 cat confdefs.h >>conftest.$ac_ext
47025 cat >>conftest.$ac_ext <<_ACEOF
47026 /* end confdefs.h. */
47027 #include <math.h>
47029 main ()
47031 _ceilf (0); _floorf (0);
47033 return 0;
47035 _ACEOF
47036 rm -f conftest.$ac_objext
47037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47038 (eval $ac_compile) 2>conftest.er1
47039 ac_status=$?
47040 grep -v '^ *+' conftest.er1 >conftest.err
47041 rm -f conftest.er1
47042 cat conftest.err >&5
47043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47044 (exit $ac_status); } &&
47045 { ac_try='test -z "$ac_cxx_werror_flag"
47046 || test ! -s conftest.err'
47047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47048 (eval $ac_try) 2>&5
47049 ac_status=$?
47050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47051 (exit $ac_status); }; } &&
47052 { ac_try='test -s conftest.$ac_objext'
47053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47054 (eval $ac_try) 2>&5
47055 ac_status=$?
47056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47057 (exit $ac_status); }; }; then
47058 glibcxx_cv_func__float_round_use=yes
47059 else
47060 echo "$as_me: failed program was:" >&5
47061 sed 's/^/| /' conftest.$ac_ext >&5
47063 glibcxx_cv_func__float_round_use=no
47065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47066 ac_ext=c
47067 ac_cpp='$CPP $CPPFLAGS'
47068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47074 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47075 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47076 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47079 for ac_func in _ceilf _floorf
47081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47082 echo "$as_me:$LINENO: checking for $ac_func" >&5
47083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47084 if eval "test \"\${$as_ac_var+set}\" = set"; then
47085 echo $ECHO_N "(cached) $ECHO_C" >&6
47086 else
47087 if test x$gcc_no_link = xyes; then
47088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47090 { (exit 1); exit 1; }; }
47092 cat >conftest.$ac_ext <<_ACEOF
47093 /* confdefs.h. */
47094 _ACEOF
47095 cat confdefs.h >>conftest.$ac_ext
47096 cat >>conftest.$ac_ext <<_ACEOF
47097 /* end confdefs.h. */
47098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47100 #define $ac_func innocuous_$ac_func
47102 /* System header to define __stub macros and hopefully few prototypes,
47103 which can conflict with char $ac_func (); below.
47104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47105 <limits.h> exists even on freestanding compilers. */
47107 #ifdef __STDC__
47108 # include <limits.h>
47109 #else
47110 # include <assert.h>
47111 #endif
47113 #undef $ac_func
47115 /* Override any gcc2 internal prototype to avoid an error. */
47116 #ifdef __cplusplus
47117 extern "C"
47119 #endif
47120 /* We use char because int might match the return type of a gcc2
47121 builtin and then its argument prototype would still apply. */
47122 char $ac_func ();
47123 /* The GNU C library defines this for functions which it implements
47124 to always fail with ENOSYS. Some functions are actually named
47125 something starting with __ and the normal name is an alias. */
47126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47127 choke me
47128 #else
47129 char (*f) () = $ac_func;
47130 #endif
47131 #ifdef __cplusplus
47133 #endif
47136 main ()
47138 return f != $ac_func;
47140 return 0;
47142 _ACEOF
47143 rm -f conftest.$ac_objext conftest$ac_exeext
47144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47145 (eval $ac_link) 2>conftest.er1
47146 ac_status=$?
47147 grep -v '^ *+' conftest.er1 >conftest.err
47148 rm -f conftest.er1
47149 cat conftest.err >&5
47150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47151 (exit $ac_status); } &&
47152 { ac_try='test -z "$ac_c_werror_flag"
47153 || test ! -s conftest.err'
47154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47155 (eval $ac_try) 2>&5
47156 ac_status=$?
47157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47158 (exit $ac_status); }; } &&
47159 { ac_try='test -s conftest$ac_exeext'
47160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47161 (eval $ac_try) 2>&5
47162 ac_status=$?
47163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47164 (exit $ac_status); }; }; then
47165 eval "$as_ac_var=yes"
47166 else
47167 echo "$as_me: failed program was:" >&5
47168 sed 's/^/| /' conftest.$ac_ext >&5
47170 eval "$as_ac_var=no"
47172 rm -f conftest.err conftest.$ac_objext \
47173 conftest$ac_exeext conftest.$ac_ext
47175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47177 if test `eval echo '${'$as_ac_var'}'` = yes; then
47178 cat >>confdefs.h <<_ACEOF
47179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47180 _ACEOF
47183 done
47195 echo "$as_me:$LINENO: checking for expf declaration" >&5
47196 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
47197 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47198 if test "${glibcxx_cv_func_expf_use+set}" = set; then
47199 echo $ECHO_N "(cached) $ECHO_C" >&6
47200 else
47204 ac_ext=cc
47205 ac_cpp='$CXXCPP $CPPFLAGS'
47206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47210 cat >conftest.$ac_ext <<_ACEOF
47211 /* confdefs.h. */
47212 _ACEOF
47213 cat confdefs.h >>conftest.$ac_ext
47214 cat >>conftest.$ac_ext <<_ACEOF
47215 /* end confdefs.h. */
47216 #include <math.h>
47217 #ifdef HAVE_IEEEFP_H
47218 #include <ieeefp.h>
47219 #endif
47222 main ()
47224 expf(0);
47226 return 0;
47228 _ACEOF
47229 rm -f conftest.$ac_objext
47230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47231 (eval $ac_compile) 2>conftest.er1
47232 ac_status=$?
47233 grep -v '^ *+' conftest.er1 >conftest.err
47234 rm -f conftest.er1
47235 cat conftest.err >&5
47236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47237 (exit $ac_status); } &&
47238 { ac_try='test -z "$ac_cxx_werror_flag"
47239 || test ! -s conftest.err'
47240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47241 (eval $ac_try) 2>&5
47242 ac_status=$?
47243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47244 (exit $ac_status); }; } &&
47245 { ac_try='test -s conftest.$ac_objext'
47246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47247 (eval $ac_try) 2>&5
47248 ac_status=$?
47249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47250 (exit $ac_status); }; }; then
47251 glibcxx_cv_func_expf_use=yes
47252 else
47253 echo "$as_me: failed program was:" >&5
47254 sed 's/^/| /' conftest.$ac_ext >&5
47256 glibcxx_cv_func_expf_use=no
47258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47259 ac_ext=c
47260 ac_cpp='$CPP $CPPFLAGS'
47261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47269 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
47270 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
47272 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47274 for ac_func in expf
47276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47277 echo "$as_me:$LINENO: checking for $ac_func" >&5
47278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47279 if eval "test \"\${$as_ac_var+set}\" = set"; then
47280 echo $ECHO_N "(cached) $ECHO_C" >&6
47281 else
47282 if test x$gcc_no_link = xyes; then
47283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47285 { (exit 1); exit 1; }; }
47287 cat >conftest.$ac_ext <<_ACEOF
47288 /* confdefs.h. */
47289 _ACEOF
47290 cat confdefs.h >>conftest.$ac_ext
47291 cat >>conftest.$ac_ext <<_ACEOF
47292 /* end confdefs.h. */
47293 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47294 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47295 #define $ac_func innocuous_$ac_func
47297 /* System header to define __stub macros and hopefully few prototypes,
47298 which can conflict with char $ac_func (); below.
47299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47300 <limits.h> exists even on freestanding compilers. */
47302 #ifdef __STDC__
47303 # include <limits.h>
47304 #else
47305 # include <assert.h>
47306 #endif
47308 #undef $ac_func
47310 /* Override any gcc2 internal prototype to avoid an error. */
47311 #ifdef __cplusplus
47312 extern "C"
47314 #endif
47315 /* We use char because int might match the return type of a gcc2
47316 builtin and then its argument prototype would still apply. */
47317 char $ac_func ();
47318 /* The GNU C library defines this for functions which it implements
47319 to always fail with ENOSYS. Some functions are actually named
47320 something starting with __ and the normal name is an alias. */
47321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47322 choke me
47323 #else
47324 char (*f) () = $ac_func;
47325 #endif
47326 #ifdef __cplusplus
47328 #endif
47331 main ()
47333 return f != $ac_func;
47335 return 0;
47337 _ACEOF
47338 rm -f conftest.$ac_objext conftest$ac_exeext
47339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47340 (eval $ac_link) 2>conftest.er1
47341 ac_status=$?
47342 grep -v '^ *+' conftest.er1 >conftest.err
47343 rm -f conftest.er1
47344 cat conftest.err >&5
47345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47346 (exit $ac_status); } &&
47347 { ac_try='test -z "$ac_c_werror_flag"
47348 || test ! -s conftest.err'
47349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47350 (eval $ac_try) 2>&5
47351 ac_status=$?
47352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47353 (exit $ac_status); }; } &&
47354 { ac_try='test -s conftest$ac_exeext'
47355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47356 (eval $ac_try) 2>&5
47357 ac_status=$?
47358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47359 (exit $ac_status); }; }; then
47360 eval "$as_ac_var=yes"
47361 else
47362 echo "$as_me: failed program was:" >&5
47363 sed 's/^/| /' conftest.$ac_ext >&5
47365 eval "$as_ac_var=no"
47367 rm -f conftest.err conftest.$ac_objext \
47368 conftest$ac_exeext conftest.$ac_ext
47370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47371 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47372 if test `eval echo '${'$as_ac_var'}'` = yes; then
47373 cat >>confdefs.h <<_ACEOF
47374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47375 _ACEOF
47378 done
47380 else
47382 echo "$as_me:$LINENO: checking for _expf declaration" >&5
47383 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
47384 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47385 if test "${glibcxx_cv_func__expf_use+set}" = set; then
47386 echo $ECHO_N "(cached) $ECHO_C" >&6
47387 else
47391 ac_ext=cc
47392 ac_cpp='$CXXCPP $CPPFLAGS'
47393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47397 cat >conftest.$ac_ext <<_ACEOF
47398 /* confdefs.h. */
47399 _ACEOF
47400 cat confdefs.h >>conftest.$ac_ext
47401 cat >>conftest.$ac_ext <<_ACEOF
47402 /* end confdefs.h. */
47403 #include <math.h>
47404 #ifdef HAVE_IEEEFP_H
47405 #include <ieeefp.h>
47406 #endif
47409 main ()
47411 _expf(0);
47413 return 0;
47415 _ACEOF
47416 rm -f conftest.$ac_objext
47417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47418 (eval $ac_compile) 2>conftest.er1
47419 ac_status=$?
47420 grep -v '^ *+' conftest.er1 >conftest.err
47421 rm -f conftest.er1
47422 cat conftest.err >&5
47423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47424 (exit $ac_status); } &&
47425 { ac_try='test -z "$ac_cxx_werror_flag"
47426 || test ! -s conftest.err'
47427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47428 (eval $ac_try) 2>&5
47429 ac_status=$?
47430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47431 (exit $ac_status); }; } &&
47432 { ac_try='test -s conftest.$ac_objext'
47433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47434 (eval $ac_try) 2>&5
47435 ac_status=$?
47436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47437 (exit $ac_status); }; }; then
47438 glibcxx_cv_func__expf_use=yes
47439 else
47440 echo "$as_me: failed program was:" >&5
47441 sed 's/^/| /' conftest.$ac_ext >&5
47443 glibcxx_cv_func__expf_use=no
47445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47446 ac_ext=c
47447 ac_cpp='$CPP $CPPFLAGS'
47448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47456 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
47457 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
47459 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47461 for ac_func in _expf
47463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47464 echo "$as_me:$LINENO: checking for $ac_func" >&5
47465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47466 if eval "test \"\${$as_ac_var+set}\" = set"; then
47467 echo $ECHO_N "(cached) $ECHO_C" >&6
47468 else
47469 if test x$gcc_no_link = xyes; then
47470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47472 { (exit 1); exit 1; }; }
47474 cat >conftest.$ac_ext <<_ACEOF
47475 /* confdefs.h. */
47476 _ACEOF
47477 cat confdefs.h >>conftest.$ac_ext
47478 cat >>conftest.$ac_ext <<_ACEOF
47479 /* end confdefs.h. */
47480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47482 #define $ac_func innocuous_$ac_func
47484 /* System header to define __stub macros and hopefully few prototypes,
47485 which can conflict with char $ac_func (); below.
47486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47487 <limits.h> exists even on freestanding compilers. */
47489 #ifdef __STDC__
47490 # include <limits.h>
47491 #else
47492 # include <assert.h>
47493 #endif
47495 #undef $ac_func
47497 /* Override any gcc2 internal prototype to avoid an error. */
47498 #ifdef __cplusplus
47499 extern "C"
47501 #endif
47502 /* We use char because int might match the return type of a gcc2
47503 builtin and then its argument prototype would still apply. */
47504 char $ac_func ();
47505 /* The GNU C library defines this for functions which it implements
47506 to always fail with ENOSYS. Some functions are actually named
47507 something starting with __ and the normal name is an alias. */
47508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47509 choke me
47510 #else
47511 char (*f) () = $ac_func;
47512 #endif
47513 #ifdef __cplusplus
47515 #endif
47518 main ()
47520 return f != $ac_func;
47522 return 0;
47524 _ACEOF
47525 rm -f conftest.$ac_objext conftest$ac_exeext
47526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47527 (eval $ac_link) 2>conftest.er1
47528 ac_status=$?
47529 grep -v '^ *+' conftest.er1 >conftest.err
47530 rm -f conftest.er1
47531 cat conftest.err >&5
47532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47533 (exit $ac_status); } &&
47534 { ac_try='test -z "$ac_c_werror_flag"
47535 || test ! -s conftest.err'
47536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47537 (eval $ac_try) 2>&5
47538 ac_status=$?
47539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47540 (exit $ac_status); }; } &&
47541 { ac_try='test -s conftest$ac_exeext'
47542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47543 (eval $ac_try) 2>&5
47544 ac_status=$?
47545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47546 (exit $ac_status); }; }; then
47547 eval "$as_ac_var=yes"
47548 else
47549 echo "$as_me: failed program was:" >&5
47550 sed 's/^/| /' conftest.$ac_ext >&5
47552 eval "$as_ac_var=no"
47554 rm -f conftest.err conftest.$ac_objext \
47555 conftest$ac_exeext conftest.$ac_ext
47557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47559 if test `eval echo '${'$as_ac_var'}'` = yes; then
47560 cat >>confdefs.h <<_ACEOF
47561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47562 _ACEOF
47565 done
47575 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
47576 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
47577 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47578 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
47579 echo $ECHO_N "(cached) $ECHO_C" >&6
47580 else
47584 ac_ext=cc
47585 ac_cpp='$CXXCPP $CPPFLAGS'
47586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47590 cat >conftest.$ac_ext <<_ACEOF
47591 /* confdefs.h. */
47592 _ACEOF
47593 cat confdefs.h >>conftest.$ac_ext
47594 cat >>conftest.$ac_ext <<_ACEOF
47595 /* end confdefs.h. */
47596 #include <math.h>
47597 #ifdef HAVE_IEEEFP_H
47598 #include <ieeefp.h>
47599 #endif
47602 main ()
47604 isnanf(0);
47606 return 0;
47608 _ACEOF
47609 rm -f conftest.$ac_objext
47610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47611 (eval $ac_compile) 2>conftest.er1
47612 ac_status=$?
47613 grep -v '^ *+' conftest.er1 >conftest.err
47614 rm -f conftest.er1
47615 cat conftest.err >&5
47616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47617 (exit $ac_status); } &&
47618 { ac_try='test -z "$ac_cxx_werror_flag"
47619 || test ! -s conftest.err'
47620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47621 (eval $ac_try) 2>&5
47622 ac_status=$?
47623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47624 (exit $ac_status); }; } &&
47625 { ac_try='test -s conftest.$ac_objext'
47626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47627 (eval $ac_try) 2>&5
47628 ac_status=$?
47629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47630 (exit $ac_status); }; }; then
47631 glibcxx_cv_func_isnanf_use=yes
47632 else
47633 echo "$as_me: failed program was:" >&5
47634 sed 's/^/| /' conftest.$ac_ext >&5
47636 glibcxx_cv_func_isnanf_use=no
47638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47639 ac_ext=c
47640 ac_cpp='$CPP $CPPFLAGS'
47641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47649 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
47650 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
47652 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47654 for ac_func in isnanf
47656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47657 echo "$as_me:$LINENO: checking for $ac_func" >&5
47658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47659 if eval "test \"\${$as_ac_var+set}\" = set"; then
47660 echo $ECHO_N "(cached) $ECHO_C" >&6
47661 else
47662 if test x$gcc_no_link = xyes; then
47663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47665 { (exit 1); exit 1; }; }
47667 cat >conftest.$ac_ext <<_ACEOF
47668 /* confdefs.h. */
47669 _ACEOF
47670 cat confdefs.h >>conftest.$ac_ext
47671 cat >>conftest.$ac_ext <<_ACEOF
47672 /* end confdefs.h. */
47673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47675 #define $ac_func innocuous_$ac_func
47677 /* System header to define __stub macros and hopefully few prototypes,
47678 which can conflict with char $ac_func (); below.
47679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47680 <limits.h> exists even on freestanding compilers. */
47682 #ifdef __STDC__
47683 # include <limits.h>
47684 #else
47685 # include <assert.h>
47686 #endif
47688 #undef $ac_func
47690 /* Override any gcc2 internal prototype to avoid an error. */
47691 #ifdef __cplusplus
47692 extern "C"
47694 #endif
47695 /* We use char because int might match the return type of a gcc2
47696 builtin and then its argument prototype would still apply. */
47697 char $ac_func ();
47698 /* The GNU C library defines this for functions which it implements
47699 to always fail with ENOSYS. Some functions are actually named
47700 something starting with __ and the normal name is an alias. */
47701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47702 choke me
47703 #else
47704 char (*f) () = $ac_func;
47705 #endif
47706 #ifdef __cplusplus
47708 #endif
47711 main ()
47713 return f != $ac_func;
47715 return 0;
47717 _ACEOF
47718 rm -f conftest.$ac_objext conftest$ac_exeext
47719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47720 (eval $ac_link) 2>conftest.er1
47721 ac_status=$?
47722 grep -v '^ *+' conftest.er1 >conftest.err
47723 rm -f conftest.er1
47724 cat conftest.err >&5
47725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47726 (exit $ac_status); } &&
47727 { ac_try='test -z "$ac_c_werror_flag"
47728 || test ! -s conftest.err'
47729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47730 (eval $ac_try) 2>&5
47731 ac_status=$?
47732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47733 (exit $ac_status); }; } &&
47734 { ac_try='test -s conftest$ac_exeext'
47735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47736 (eval $ac_try) 2>&5
47737 ac_status=$?
47738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47739 (exit $ac_status); }; }; then
47740 eval "$as_ac_var=yes"
47741 else
47742 echo "$as_me: failed program was:" >&5
47743 sed 's/^/| /' conftest.$ac_ext >&5
47745 eval "$as_ac_var=no"
47747 rm -f conftest.err conftest.$ac_objext \
47748 conftest$ac_exeext conftest.$ac_ext
47750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47752 if test `eval echo '${'$as_ac_var'}'` = yes; then
47753 cat >>confdefs.h <<_ACEOF
47754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47755 _ACEOF
47758 done
47760 else
47762 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
47763 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
47764 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47765 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
47766 echo $ECHO_N "(cached) $ECHO_C" >&6
47767 else
47771 ac_ext=cc
47772 ac_cpp='$CXXCPP $CPPFLAGS'
47773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47777 cat >conftest.$ac_ext <<_ACEOF
47778 /* confdefs.h. */
47779 _ACEOF
47780 cat confdefs.h >>conftest.$ac_ext
47781 cat >>conftest.$ac_ext <<_ACEOF
47782 /* end confdefs.h. */
47783 #include <math.h>
47784 #ifdef HAVE_IEEEFP_H
47785 #include <ieeefp.h>
47786 #endif
47789 main ()
47791 _isnanf(0);
47793 return 0;
47795 _ACEOF
47796 rm -f conftest.$ac_objext
47797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47798 (eval $ac_compile) 2>conftest.er1
47799 ac_status=$?
47800 grep -v '^ *+' conftest.er1 >conftest.err
47801 rm -f conftest.er1
47802 cat conftest.err >&5
47803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47804 (exit $ac_status); } &&
47805 { ac_try='test -z "$ac_cxx_werror_flag"
47806 || test ! -s conftest.err'
47807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47808 (eval $ac_try) 2>&5
47809 ac_status=$?
47810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47811 (exit $ac_status); }; } &&
47812 { ac_try='test -s conftest.$ac_objext'
47813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47814 (eval $ac_try) 2>&5
47815 ac_status=$?
47816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47817 (exit $ac_status); }; }; then
47818 glibcxx_cv_func__isnanf_use=yes
47819 else
47820 echo "$as_me: failed program was:" >&5
47821 sed 's/^/| /' conftest.$ac_ext >&5
47823 glibcxx_cv_func__isnanf_use=no
47825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47826 ac_ext=c
47827 ac_cpp='$CPP $CPPFLAGS'
47828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47836 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
47837 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
47839 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47841 for ac_func in _isnanf
47843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47844 echo "$as_me:$LINENO: checking for $ac_func" >&5
47845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47846 if eval "test \"\${$as_ac_var+set}\" = set"; then
47847 echo $ECHO_N "(cached) $ECHO_C" >&6
47848 else
47849 if test x$gcc_no_link = xyes; then
47850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47852 { (exit 1); exit 1; }; }
47854 cat >conftest.$ac_ext <<_ACEOF
47855 /* confdefs.h. */
47856 _ACEOF
47857 cat confdefs.h >>conftest.$ac_ext
47858 cat >>conftest.$ac_ext <<_ACEOF
47859 /* end confdefs.h. */
47860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47862 #define $ac_func innocuous_$ac_func
47864 /* System header to define __stub macros and hopefully few prototypes,
47865 which can conflict with char $ac_func (); below.
47866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47867 <limits.h> exists even on freestanding compilers. */
47869 #ifdef __STDC__
47870 # include <limits.h>
47871 #else
47872 # include <assert.h>
47873 #endif
47875 #undef $ac_func
47877 /* Override any gcc2 internal prototype to avoid an error. */
47878 #ifdef __cplusplus
47879 extern "C"
47881 #endif
47882 /* We use char because int might match the return type of a gcc2
47883 builtin and then its argument prototype would still apply. */
47884 char $ac_func ();
47885 /* The GNU C library defines this for functions which it implements
47886 to always fail with ENOSYS. Some functions are actually named
47887 something starting with __ and the normal name is an alias. */
47888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47889 choke me
47890 #else
47891 char (*f) () = $ac_func;
47892 #endif
47893 #ifdef __cplusplus
47895 #endif
47898 main ()
47900 return f != $ac_func;
47902 return 0;
47904 _ACEOF
47905 rm -f conftest.$ac_objext conftest$ac_exeext
47906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47907 (eval $ac_link) 2>conftest.er1
47908 ac_status=$?
47909 grep -v '^ *+' conftest.er1 >conftest.err
47910 rm -f conftest.er1
47911 cat conftest.err >&5
47912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47913 (exit $ac_status); } &&
47914 { ac_try='test -z "$ac_c_werror_flag"
47915 || test ! -s conftest.err'
47916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47917 (eval $ac_try) 2>&5
47918 ac_status=$?
47919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47920 (exit $ac_status); }; } &&
47921 { ac_try='test -s conftest$ac_exeext'
47922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47923 (eval $ac_try) 2>&5
47924 ac_status=$?
47925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47926 (exit $ac_status); }; }; then
47927 eval "$as_ac_var=yes"
47928 else
47929 echo "$as_me: failed program was:" >&5
47930 sed 's/^/| /' conftest.$ac_ext >&5
47932 eval "$as_ac_var=no"
47934 rm -f conftest.err conftest.$ac_objext \
47935 conftest$ac_exeext conftest.$ac_ext
47937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47939 if test `eval echo '${'$as_ac_var'}'` = yes; then
47940 cat >>confdefs.h <<_ACEOF
47941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47942 _ACEOF
47945 done
47955 echo "$as_me:$LINENO: checking for isinff declaration" >&5
47956 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
47957 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47958 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
47959 echo $ECHO_N "(cached) $ECHO_C" >&6
47960 else
47964 ac_ext=cc
47965 ac_cpp='$CXXCPP $CPPFLAGS'
47966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47970 cat >conftest.$ac_ext <<_ACEOF
47971 /* confdefs.h. */
47972 _ACEOF
47973 cat confdefs.h >>conftest.$ac_ext
47974 cat >>conftest.$ac_ext <<_ACEOF
47975 /* end confdefs.h. */
47976 #include <math.h>
47977 #ifdef HAVE_IEEEFP_H
47978 #include <ieeefp.h>
47979 #endif
47982 main ()
47984 isinff(0);
47986 return 0;
47988 _ACEOF
47989 rm -f conftest.$ac_objext
47990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47991 (eval $ac_compile) 2>conftest.er1
47992 ac_status=$?
47993 grep -v '^ *+' conftest.er1 >conftest.err
47994 rm -f conftest.er1
47995 cat conftest.err >&5
47996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47997 (exit $ac_status); } &&
47998 { ac_try='test -z "$ac_cxx_werror_flag"
47999 || test ! -s conftest.err'
48000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48001 (eval $ac_try) 2>&5
48002 ac_status=$?
48003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48004 (exit $ac_status); }; } &&
48005 { ac_try='test -s conftest.$ac_objext'
48006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48007 (eval $ac_try) 2>&5
48008 ac_status=$?
48009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48010 (exit $ac_status); }; }; then
48011 glibcxx_cv_func_isinff_use=yes
48012 else
48013 echo "$as_me: failed program was:" >&5
48014 sed 's/^/| /' conftest.$ac_ext >&5
48016 glibcxx_cv_func_isinff_use=no
48018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48019 ac_ext=c
48020 ac_cpp='$CPP $CPPFLAGS'
48021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48029 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
48030 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
48032 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48034 for ac_func in isinff
48036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48037 echo "$as_me:$LINENO: checking for $ac_func" >&5
48038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48039 if eval "test \"\${$as_ac_var+set}\" = set"; then
48040 echo $ECHO_N "(cached) $ECHO_C" >&6
48041 else
48042 if test x$gcc_no_link = xyes; then
48043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48045 { (exit 1); exit 1; }; }
48047 cat >conftest.$ac_ext <<_ACEOF
48048 /* confdefs.h. */
48049 _ACEOF
48050 cat confdefs.h >>conftest.$ac_ext
48051 cat >>conftest.$ac_ext <<_ACEOF
48052 /* end confdefs.h. */
48053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48055 #define $ac_func innocuous_$ac_func
48057 /* System header to define __stub macros and hopefully few prototypes,
48058 which can conflict with char $ac_func (); below.
48059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48060 <limits.h> exists even on freestanding compilers. */
48062 #ifdef __STDC__
48063 # include <limits.h>
48064 #else
48065 # include <assert.h>
48066 #endif
48068 #undef $ac_func
48070 /* Override any gcc2 internal prototype to avoid an error. */
48071 #ifdef __cplusplus
48072 extern "C"
48074 #endif
48075 /* We use char because int might match the return type of a gcc2
48076 builtin and then its argument prototype would still apply. */
48077 char $ac_func ();
48078 /* The GNU C library defines this for functions which it implements
48079 to always fail with ENOSYS. Some functions are actually named
48080 something starting with __ and the normal name is an alias. */
48081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48082 choke me
48083 #else
48084 char (*f) () = $ac_func;
48085 #endif
48086 #ifdef __cplusplus
48088 #endif
48091 main ()
48093 return f != $ac_func;
48095 return 0;
48097 _ACEOF
48098 rm -f conftest.$ac_objext conftest$ac_exeext
48099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48100 (eval $ac_link) 2>conftest.er1
48101 ac_status=$?
48102 grep -v '^ *+' conftest.er1 >conftest.err
48103 rm -f conftest.er1
48104 cat conftest.err >&5
48105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48106 (exit $ac_status); } &&
48107 { ac_try='test -z "$ac_c_werror_flag"
48108 || test ! -s conftest.err'
48109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48110 (eval $ac_try) 2>&5
48111 ac_status=$?
48112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48113 (exit $ac_status); }; } &&
48114 { ac_try='test -s conftest$ac_exeext'
48115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48116 (eval $ac_try) 2>&5
48117 ac_status=$?
48118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48119 (exit $ac_status); }; }; then
48120 eval "$as_ac_var=yes"
48121 else
48122 echo "$as_me: failed program was:" >&5
48123 sed 's/^/| /' conftest.$ac_ext >&5
48125 eval "$as_ac_var=no"
48127 rm -f conftest.err conftest.$ac_objext \
48128 conftest$ac_exeext conftest.$ac_ext
48130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48132 if test `eval echo '${'$as_ac_var'}'` = yes; then
48133 cat >>confdefs.h <<_ACEOF
48134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48135 _ACEOF
48138 done
48140 else
48142 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
48143 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
48144 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48145 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
48146 echo $ECHO_N "(cached) $ECHO_C" >&6
48147 else
48151 ac_ext=cc
48152 ac_cpp='$CXXCPP $CPPFLAGS'
48153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48157 cat >conftest.$ac_ext <<_ACEOF
48158 /* confdefs.h. */
48159 _ACEOF
48160 cat confdefs.h >>conftest.$ac_ext
48161 cat >>conftest.$ac_ext <<_ACEOF
48162 /* end confdefs.h. */
48163 #include <math.h>
48164 #ifdef HAVE_IEEEFP_H
48165 #include <ieeefp.h>
48166 #endif
48169 main ()
48171 _isinff(0);
48173 return 0;
48175 _ACEOF
48176 rm -f conftest.$ac_objext
48177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48178 (eval $ac_compile) 2>conftest.er1
48179 ac_status=$?
48180 grep -v '^ *+' conftest.er1 >conftest.err
48181 rm -f conftest.er1
48182 cat conftest.err >&5
48183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48184 (exit $ac_status); } &&
48185 { ac_try='test -z "$ac_cxx_werror_flag"
48186 || test ! -s conftest.err'
48187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48188 (eval $ac_try) 2>&5
48189 ac_status=$?
48190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48191 (exit $ac_status); }; } &&
48192 { ac_try='test -s conftest.$ac_objext'
48193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48194 (eval $ac_try) 2>&5
48195 ac_status=$?
48196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48197 (exit $ac_status); }; }; then
48198 glibcxx_cv_func__isinff_use=yes
48199 else
48200 echo "$as_me: failed program was:" >&5
48201 sed 's/^/| /' conftest.$ac_ext >&5
48203 glibcxx_cv_func__isinff_use=no
48205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48206 ac_ext=c
48207 ac_cpp='$CPP $CPPFLAGS'
48208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48216 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
48217 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
48219 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48221 for ac_func in _isinff
48223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48224 echo "$as_me:$LINENO: checking for $ac_func" >&5
48225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48226 if eval "test \"\${$as_ac_var+set}\" = set"; then
48227 echo $ECHO_N "(cached) $ECHO_C" >&6
48228 else
48229 if test x$gcc_no_link = xyes; then
48230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48232 { (exit 1); exit 1; }; }
48234 cat >conftest.$ac_ext <<_ACEOF
48235 /* confdefs.h. */
48236 _ACEOF
48237 cat confdefs.h >>conftest.$ac_ext
48238 cat >>conftest.$ac_ext <<_ACEOF
48239 /* end confdefs.h. */
48240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48242 #define $ac_func innocuous_$ac_func
48244 /* System header to define __stub macros and hopefully few prototypes,
48245 which can conflict with char $ac_func (); below.
48246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48247 <limits.h> exists even on freestanding compilers. */
48249 #ifdef __STDC__
48250 # include <limits.h>
48251 #else
48252 # include <assert.h>
48253 #endif
48255 #undef $ac_func
48257 /* Override any gcc2 internal prototype to avoid an error. */
48258 #ifdef __cplusplus
48259 extern "C"
48261 #endif
48262 /* We use char because int might match the return type of a gcc2
48263 builtin and then its argument prototype would still apply. */
48264 char $ac_func ();
48265 /* The GNU C library defines this for functions which it implements
48266 to always fail with ENOSYS. Some functions are actually named
48267 something starting with __ and the normal name is an alias. */
48268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48269 choke me
48270 #else
48271 char (*f) () = $ac_func;
48272 #endif
48273 #ifdef __cplusplus
48275 #endif
48278 main ()
48280 return f != $ac_func;
48282 return 0;
48284 _ACEOF
48285 rm -f conftest.$ac_objext conftest$ac_exeext
48286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48287 (eval $ac_link) 2>conftest.er1
48288 ac_status=$?
48289 grep -v '^ *+' conftest.er1 >conftest.err
48290 rm -f conftest.er1
48291 cat conftest.err >&5
48292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48293 (exit $ac_status); } &&
48294 { ac_try='test -z "$ac_c_werror_flag"
48295 || test ! -s conftest.err'
48296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48297 (eval $ac_try) 2>&5
48298 ac_status=$?
48299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48300 (exit $ac_status); }; } &&
48301 { ac_try='test -s conftest$ac_exeext'
48302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48303 (eval $ac_try) 2>&5
48304 ac_status=$?
48305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48306 (exit $ac_status); }; }; then
48307 eval "$as_ac_var=yes"
48308 else
48309 echo "$as_me: failed program was:" >&5
48310 sed 's/^/| /' conftest.$ac_ext >&5
48312 eval "$as_ac_var=no"
48314 rm -f conftest.err conftest.$ac_objext \
48315 conftest$ac_exeext conftest.$ac_ext
48317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48319 if test `eval echo '${'$as_ac_var'}'` = yes; then
48320 cat >>confdefs.h <<_ACEOF
48321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48322 _ACEOF
48325 done
48335 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
48336 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
48337 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48338 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
48339 echo $ECHO_N "(cached) $ECHO_C" >&6
48340 else
48344 ac_ext=cc
48345 ac_cpp='$CXXCPP $CPPFLAGS'
48346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48350 cat >conftest.$ac_ext <<_ACEOF
48351 /* confdefs.h. */
48352 _ACEOF
48353 cat confdefs.h >>conftest.$ac_ext
48354 cat >>conftest.$ac_ext <<_ACEOF
48355 /* end confdefs.h. */
48356 #include <math.h>
48358 main ()
48360 atan2f(0, 0);
48362 return 0;
48364 _ACEOF
48365 rm -f conftest.$ac_objext
48366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48367 (eval $ac_compile) 2>conftest.er1
48368 ac_status=$?
48369 grep -v '^ *+' conftest.er1 >conftest.err
48370 rm -f conftest.er1
48371 cat conftest.err >&5
48372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48373 (exit $ac_status); } &&
48374 { ac_try='test -z "$ac_cxx_werror_flag"
48375 || test ! -s conftest.err'
48376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48377 (eval $ac_try) 2>&5
48378 ac_status=$?
48379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48380 (exit $ac_status); }; } &&
48381 { ac_try='test -s conftest.$ac_objext'
48382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48383 (eval $ac_try) 2>&5
48384 ac_status=$?
48385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48386 (exit $ac_status); }; }; then
48387 glibcxx_cv_func_atan2f_use=yes
48388 else
48389 echo "$as_me: failed program was:" >&5
48390 sed 's/^/| /' conftest.$ac_ext >&5
48392 glibcxx_cv_func_atan2f_use=no
48394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48395 ac_ext=c
48396 ac_cpp='$CPP $CPPFLAGS'
48397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48405 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
48406 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
48408 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48410 for ac_func in atan2f
48412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48413 echo "$as_me:$LINENO: checking for $ac_func" >&5
48414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48415 if eval "test \"\${$as_ac_var+set}\" = set"; then
48416 echo $ECHO_N "(cached) $ECHO_C" >&6
48417 else
48418 if test x$gcc_no_link = xyes; then
48419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48421 { (exit 1); exit 1; }; }
48423 cat >conftest.$ac_ext <<_ACEOF
48424 /* confdefs.h. */
48425 _ACEOF
48426 cat confdefs.h >>conftest.$ac_ext
48427 cat >>conftest.$ac_ext <<_ACEOF
48428 /* end confdefs.h. */
48429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48431 #define $ac_func innocuous_$ac_func
48433 /* System header to define __stub macros and hopefully few prototypes,
48434 which can conflict with char $ac_func (); below.
48435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48436 <limits.h> exists even on freestanding compilers. */
48438 #ifdef __STDC__
48439 # include <limits.h>
48440 #else
48441 # include <assert.h>
48442 #endif
48444 #undef $ac_func
48446 /* Override any gcc2 internal prototype to avoid an error. */
48447 #ifdef __cplusplus
48448 extern "C"
48450 #endif
48451 /* We use char because int might match the return type of a gcc2
48452 builtin and then its argument prototype would still apply. */
48453 char $ac_func ();
48454 /* The GNU C library defines this for functions which it implements
48455 to always fail with ENOSYS. Some functions are actually named
48456 something starting with __ and the normal name is an alias. */
48457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48458 choke me
48459 #else
48460 char (*f) () = $ac_func;
48461 #endif
48462 #ifdef __cplusplus
48464 #endif
48467 main ()
48469 return f != $ac_func;
48471 return 0;
48473 _ACEOF
48474 rm -f conftest.$ac_objext conftest$ac_exeext
48475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48476 (eval $ac_link) 2>conftest.er1
48477 ac_status=$?
48478 grep -v '^ *+' conftest.er1 >conftest.err
48479 rm -f conftest.er1
48480 cat conftest.err >&5
48481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48482 (exit $ac_status); } &&
48483 { ac_try='test -z "$ac_c_werror_flag"
48484 || test ! -s conftest.err'
48485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48486 (eval $ac_try) 2>&5
48487 ac_status=$?
48488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48489 (exit $ac_status); }; } &&
48490 { ac_try='test -s conftest$ac_exeext'
48491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48492 (eval $ac_try) 2>&5
48493 ac_status=$?
48494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48495 (exit $ac_status); }; }; then
48496 eval "$as_ac_var=yes"
48497 else
48498 echo "$as_me: failed program was:" >&5
48499 sed 's/^/| /' conftest.$ac_ext >&5
48501 eval "$as_ac_var=no"
48503 rm -f conftest.err conftest.$ac_objext \
48504 conftest$ac_exeext conftest.$ac_ext
48506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48508 if test `eval echo '${'$as_ac_var'}'` = yes; then
48509 cat >>confdefs.h <<_ACEOF
48510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48511 _ACEOF
48514 done
48516 else
48518 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
48519 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
48520 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48521 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
48522 echo $ECHO_N "(cached) $ECHO_C" >&6
48523 else
48527 ac_ext=cc
48528 ac_cpp='$CXXCPP $CPPFLAGS'
48529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48533 cat >conftest.$ac_ext <<_ACEOF
48534 /* confdefs.h. */
48535 _ACEOF
48536 cat confdefs.h >>conftest.$ac_ext
48537 cat >>conftest.$ac_ext <<_ACEOF
48538 /* end confdefs.h. */
48539 #include <math.h>
48541 main ()
48543 _atan2f(0, 0);
48545 return 0;
48547 _ACEOF
48548 rm -f conftest.$ac_objext
48549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48550 (eval $ac_compile) 2>conftest.er1
48551 ac_status=$?
48552 grep -v '^ *+' conftest.er1 >conftest.err
48553 rm -f conftest.er1
48554 cat conftest.err >&5
48555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48556 (exit $ac_status); } &&
48557 { ac_try='test -z "$ac_cxx_werror_flag"
48558 || test ! -s conftest.err'
48559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48560 (eval $ac_try) 2>&5
48561 ac_status=$?
48562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48563 (exit $ac_status); }; } &&
48564 { ac_try='test -s conftest.$ac_objext'
48565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48566 (eval $ac_try) 2>&5
48567 ac_status=$?
48568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48569 (exit $ac_status); }; }; then
48570 glibcxx_cv_func__atan2f_use=yes
48571 else
48572 echo "$as_me: failed program was:" >&5
48573 sed 's/^/| /' conftest.$ac_ext >&5
48575 glibcxx_cv_func__atan2f_use=no
48577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48578 ac_ext=c
48579 ac_cpp='$CPP $CPPFLAGS'
48580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
48589 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
48591 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48593 for ac_func in _atan2f
48595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48596 echo "$as_me:$LINENO: checking for $ac_func" >&5
48597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48598 if eval "test \"\${$as_ac_var+set}\" = set"; then
48599 echo $ECHO_N "(cached) $ECHO_C" >&6
48600 else
48601 if test x$gcc_no_link = xyes; then
48602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48604 { (exit 1); exit 1; }; }
48606 cat >conftest.$ac_ext <<_ACEOF
48607 /* confdefs.h. */
48608 _ACEOF
48609 cat confdefs.h >>conftest.$ac_ext
48610 cat >>conftest.$ac_ext <<_ACEOF
48611 /* end confdefs.h. */
48612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48614 #define $ac_func innocuous_$ac_func
48616 /* System header to define __stub macros and hopefully few prototypes,
48617 which can conflict with char $ac_func (); below.
48618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48619 <limits.h> exists even on freestanding compilers. */
48621 #ifdef __STDC__
48622 # include <limits.h>
48623 #else
48624 # include <assert.h>
48625 #endif
48627 #undef $ac_func
48629 /* Override any gcc2 internal prototype to avoid an error. */
48630 #ifdef __cplusplus
48631 extern "C"
48633 #endif
48634 /* We use char because int might match the return type of a gcc2
48635 builtin and then its argument prototype would still apply. */
48636 char $ac_func ();
48637 /* The GNU C library defines this for functions which it implements
48638 to always fail with ENOSYS. Some functions are actually named
48639 something starting with __ and the normal name is an alias. */
48640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48641 choke me
48642 #else
48643 char (*f) () = $ac_func;
48644 #endif
48645 #ifdef __cplusplus
48647 #endif
48650 main ()
48652 return f != $ac_func;
48654 return 0;
48656 _ACEOF
48657 rm -f conftest.$ac_objext conftest$ac_exeext
48658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48659 (eval $ac_link) 2>conftest.er1
48660 ac_status=$?
48661 grep -v '^ *+' conftest.er1 >conftest.err
48662 rm -f conftest.er1
48663 cat conftest.err >&5
48664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48665 (exit $ac_status); } &&
48666 { ac_try='test -z "$ac_c_werror_flag"
48667 || test ! -s conftest.err'
48668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48669 (eval $ac_try) 2>&5
48670 ac_status=$?
48671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48672 (exit $ac_status); }; } &&
48673 { ac_try='test -s conftest$ac_exeext'
48674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48675 (eval $ac_try) 2>&5
48676 ac_status=$?
48677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48678 (exit $ac_status); }; }; then
48679 eval "$as_ac_var=yes"
48680 else
48681 echo "$as_me: failed program was:" >&5
48682 sed 's/^/| /' conftest.$ac_ext >&5
48684 eval "$as_ac_var=no"
48686 rm -f conftest.err conftest.$ac_objext \
48687 conftest$ac_exeext conftest.$ac_ext
48689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48691 if test `eval echo '${'$as_ac_var'}'` = yes; then
48692 cat >>confdefs.h <<_ACEOF
48693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48694 _ACEOF
48697 done
48707 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
48708 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
48709 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48710 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
48711 echo $ECHO_N "(cached) $ECHO_C" >&6
48712 else
48716 ac_ext=cc
48717 ac_cpp='$CXXCPP $CPPFLAGS'
48718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48722 cat >conftest.$ac_ext <<_ACEOF
48723 /* confdefs.h. */
48724 _ACEOF
48725 cat confdefs.h >>conftest.$ac_ext
48726 cat >>conftest.$ac_ext <<_ACEOF
48727 /* end confdefs.h. */
48728 #include <math.h>
48729 #ifdef HAVE_IEEEFP_H
48730 #include <ieeefp.h>
48731 #endif
48734 main ()
48736 fabsf(0);
48738 return 0;
48740 _ACEOF
48741 rm -f conftest.$ac_objext
48742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48743 (eval $ac_compile) 2>conftest.er1
48744 ac_status=$?
48745 grep -v '^ *+' conftest.er1 >conftest.err
48746 rm -f conftest.er1
48747 cat conftest.err >&5
48748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48749 (exit $ac_status); } &&
48750 { ac_try='test -z "$ac_cxx_werror_flag"
48751 || test ! -s conftest.err'
48752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48753 (eval $ac_try) 2>&5
48754 ac_status=$?
48755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48756 (exit $ac_status); }; } &&
48757 { ac_try='test -s conftest.$ac_objext'
48758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48759 (eval $ac_try) 2>&5
48760 ac_status=$?
48761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48762 (exit $ac_status); }; }; then
48763 glibcxx_cv_func_fabsf_use=yes
48764 else
48765 echo "$as_me: failed program was:" >&5
48766 sed 's/^/| /' conftest.$ac_ext >&5
48768 glibcxx_cv_func_fabsf_use=no
48770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48771 ac_ext=c
48772 ac_cpp='$CPP $CPPFLAGS'
48773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48781 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
48782 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
48784 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48786 for ac_func in fabsf
48788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48789 echo "$as_me:$LINENO: checking for $ac_func" >&5
48790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48791 if eval "test \"\${$as_ac_var+set}\" = set"; then
48792 echo $ECHO_N "(cached) $ECHO_C" >&6
48793 else
48794 if test x$gcc_no_link = xyes; then
48795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48797 { (exit 1); exit 1; }; }
48799 cat >conftest.$ac_ext <<_ACEOF
48800 /* confdefs.h. */
48801 _ACEOF
48802 cat confdefs.h >>conftest.$ac_ext
48803 cat >>conftest.$ac_ext <<_ACEOF
48804 /* end confdefs.h. */
48805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48807 #define $ac_func innocuous_$ac_func
48809 /* System header to define __stub macros and hopefully few prototypes,
48810 which can conflict with char $ac_func (); below.
48811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48812 <limits.h> exists even on freestanding compilers. */
48814 #ifdef __STDC__
48815 # include <limits.h>
48816 #else
48817 # include <assert.h>
48818 #endif
48820 #undef $ac_func
48822 /* Override any gcc2 internal prototype to avoid an error. */
48823 #ifdef __cplusplus
48824 extern "C"
48826 #endif
48827 /* We use char because int might match the return type of a gcc2
48828 builtin and then its argument prototype would still apply. */
48829 char $ac_func ();
48830 /* The GNU C library defines this for functions which it implements
48831 to always fail with ENOSYS. Some functions are actually named
48832 something starting with __ and the normal name is an alias. */
48833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48834 choke me
48835 #else
48836 char (*f) () = $ac_func;
48837 #endif
48838 #ifdef __cplusplus
48840 #endif
48843 main ()
48845 return f != $ac_func;
48847 return 0;
48849 _ACEOF
48850 rm -f conftest.$ac_objext conftest$ac_exeext
48851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48852 (eval $ac_link) 2>conftest.er1
48853 ac_status=$?
48854 grep -v '^ *+' conftest.er1 >conftest.err
48855 rm -f conftest.er1
48856 cat conftest.err >&5
48857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48858 (exit $ac_status); } &&
48859 { ac_try='test -z "$ac_c_werror_flag"
48860 || test ! -s conftest.err'
48861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48862 (eval $ac_try) 2>&5
48863 ac_status=$?
48864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48865 (exit $ac_status); }; } &&
48866 { ac_try='test -s conftest$ac_exeext'
48867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48868 (eval $ac_try) 2>&5
48869 ac_status=$?
48870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48871 (exit $ac_status); }; }; then
48872 eval "$as_ac_var=yes"
48873 else
48874 echo "$as_me: failed program was:" >&5
48875 sed 's/^/| /' conftest.$ac_ext >&5
48877 eval "$as_ac_var=no"
48879 rm -f conftest.err conftest.$ac_objext \
48880 conftest$ac_exeext conftest.$ac_ext
48882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48884 if test `eval echo '${'$as_ac_var'}'` = yes; then
48885 cat >>confdefs.h <<_ACEOF
48886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48887 _ACEOF
48890 done
48892 else
48894 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
48895 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
48896 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48897 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
48898 echo $ECHO_N "(cached) $ECHO_C" >&6
48899 else
48903 ac_ext=cc
48904 ac_cpp='$CXXCPP $CPPFLAGS'
48905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48909 cat >conftest.$ac_ext <<_ACEOF
48910 /* confdefs.h. */
48911 _ACEOF
48912 cat confdefs.h >>conftest.$ac_ext
48913 cat >>conftest.$ac_ext <<_ACEOF
48914 /* end confdefs.h. */
48915 #include <math.h>
48916 #ifdef HAVE_IEEEFP_H
48917 #include <ieeefp.h>
48918 #endif
48921 main ()
48923 _fabsf(0);
48925 return 0;
48927 _ACEOF
48928 rm -f conftest.$ac_objext
48929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48930 (eval $ac_compile) 2>conftest.er1
48931 ac_status=$?
48932 grep -v '^ *+' conftest.er1 >conftest.err
48933 rm -f conftest.er1
48934 cat conftest.err >&5
48935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48936 (exit $ac_status); } &&
48937 { ac_try='test -z "$ac_cxx_werror_flag"
48938 || test ! -s conftest.err'
48939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48940 (eval $ac_try) 2>&5
48941 ac_status=$?
48942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48943 (exit $ac_status); }; } &&
48944 { ac_try='test -s conftest.$ac_objext'
48945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48946 (eval $ac_try) 2>&5
48947 ac_status=$?
48948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48949 (exit $ac_status); }; }; then
48950 glibcxx_cv_func__fabsf_use=yes
48951 else
48952 echo "$as_me: failed program was:" >&5
48953 sed 's/^/| /' conftest.$ac_ext >&5
48955 glibcxx_cv_func__fabsf_use=no
48957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48958 ac_ext=c
48959 ac_cpp='$CPP $CPPFLAGS'
48960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48968 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
48969 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
48971 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48973 for ac_func in _fabsf
48975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48976 echo "$as_me:$LINENO: checking for $ac_func" >&5
48977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48978 if eval "test \"\${$as_ac_var+set}\" = set"; then
48979 echo $ECHO_N "(cached) $ECHO_C" >&6
48980 else
48981 if test x$gcc_no_link = xyes; then
48982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48984 { (exit 1); exit 1; }; }
48986 cat >conftest.$ac_ext <<_ACEOF
48987 /* confdefs.h. */
48988 _ACEOF
48989 cat confdefs.h >>conftest.$ac_ext
48990 cat >>conftest.$ac_ext <<_ACEOF
48991 /* end confdefs.h. */
48992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48994 #define $ac_func innocuous_$ac_func
48996 /* System header to define __stub macros and hopefully few prototypes,
48997 which can conflict with char $ac_func (); below.
48998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48999 <limits.h> exists even on freestanding compilers. */
49001 #ifdef __STDC__
49002 # include <limits.h>
49003 #else
49004 # include <assert.h>
49005 #endif
49007 #undef $ac_func
49009 /* Override any gcc2 internal prototype to avoid an error. */
49010 #ifdef __cplusplus
49011 extern "C"
49013 #endif
49014 /* We use char because int might match the return type of a gcc2
49015 builtin and then its argument prototype would still apply. */
49016 char $ac_func ();
49017 /* The GNU C library defines this for functions which it implements
49018 to always fail with ENOSYS. Some functions are actually named
49019 something starting with __ and the normal name is an alias. */
49020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49021 choke me
49022 #else
49023 char (*f) () = $ac_func;
49024 #endif
49025 #ifdef __cplusplus
49027 #endif
49030 main ()
49032 return f != $ac_func;
49034 return 0;
49036 _ACEOF
49037 rm -f conftest.$ac_objext conftest$ac_exeext
49038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49039 (eval $ac_link) 2>conftest.er1
49040 ac_status=$?
49041 grep -v '^ *+' conftest.er1 >conftest.err
49042 rm -f conftest.er1
49043 cat conftest.err >&5
49044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49045 (exit $ac_status); } &&
49046 { ac_try='test -z "$ac_c_werror_flag"
49047 || test ! -s conftest.err'
49048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49049 (eval $ac_try) 2>&5
49050 ac_status=$?
49051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49052 (exit $ac_status); }; } &&
49053 { ac_try='test -s conftest$ac_exeext'
49054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49055 (eval $ac_try) 2>&5
49056 ac_status=$?
49057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49058 (exit $ac_status); }; }; then
49059 eval "$as_ac_var=yes"
49060 else
49061 echo "$as_me: failed program was:" >&5
49062 sed 's/^/| /' conftest.$ac_ext >&5
49064 eval "$as_ac_var=no"
49066 rm -f conftest.err conftest.$ac_objext \
49067 conftest$ac_exeext conftest.$ac_ext
49069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49071 if test `eval echo '${'$as_ac_var'}'` = yes; then
49072 cat >>confdefs.h <<_ACEOF
49073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49074 _ACEOF
49077 done
49087 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
49088 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
49089 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49090 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
49091 echo $ECHO_N "(cached) $ECHO_C" >&6
49092 else
49096 ac_ext=cc
49097 ac_cpp='$CXXCPP $CPPFLAGS'
49098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49102 cat >conftest.$ac_ext <<_ACEOF
49103 /* confdefs.h. */
49104 _ACEOF
49105 cat confdefs.h >>conftest.$ac_ext
49106 cat >>conftest.$ac_ext <<_ACEOF
49107 /* end confdefs.h. */
49108 #include <math.h>
49110 main ()
49112 fmodf(0, 0);
49114 return 0;
49116 _ACEOF
49117 rm -f conftest.$ac_objext
49118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49119 (eval $ac_compile) 2>conftest.er1
49120 ac_status=$?
49121 grep -v '^ *+' conftest.er1 >conftest.err
49122 rm -f conftest.er1
49123 cat conftest.err >&5
49124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49125 (exit $ac_status); } &&
49126 { ac_try='test -z "$ac_cxx_werror_flag"
49127 || test ! -s conftest.err'
49128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49129 (eval $ac_try) 2>&5
49130 ac_status=$?
49131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49132 (exit $ac_status); }; } &&
49133 { ac_try='test -s conftest.$ac_objext'
49134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49135 (eval $ac_try) 2>&5
49136 ac_status=$?
49137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49138 (exit $ac_status); }; }; then
49139 glibcxx_cv_func_fmodf_use=yes
49140 else
49141 echo "$as_me: failed program was:" >&5
49142 sed 's/^/| /' conftest.$ac_ext >&5
49144 glibcxx_cv_func_fmodf_use=no
49146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49147 ac_ext=c
49148 ac_cpp='$CPP $CPPFLAGS'
49149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49157 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
49158 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
49160 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49162 for ac_func in fmodf
49164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49165 echo "$as_me:$LINENO: checking for $ac_func" >&5
49166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49167 if eval "test \"\${$as_ac_var+set}\" = set"; then
49168 echo $ECHO_N "(cached) $ECHO_C" >&6
49169 else
49170 if test x$gcc_no_link = xyes; then
49171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49173 { (exit 1); exit 1; }; }
49175 cat >conftest.$ac_ext <<_ACEOF
49176 /* confdefs.h. */
49177 _ACEOF
49178 cat confdefs.h >>conftest.$ac_ext
49179 cat >>conftest.$ac_ext <<_ACEOF
49180 /* end confdefs.h. */
49181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49183 #define $ac_func innocuous_$ac_func
49185 /* System header to define __stub macros and hopefully few prototypes,
49186 which can conflict with char $ac_func (); below.
49187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49188 <limits.h> exists even on freestanding compilers. */
49190 #ifdef __STDC__
49191 # include <limits.h>
49192 #else
49193 # include <assert.h>
49194 #endif
49196 #undef $ac_func
49198 /* Override any gcc2 internal prototype to avoid an error. */
49199 #ifdef __cplusplus
49200 extern "C"
49202 #endif
49203 /* We use char because int might match the return type of a gcc2
49204 builtin and then its argument prototype would still apply. */
49205 char $ac_func ();
49206 /* The GNU C library defines this for functions which it implements
49207 to always fail with ENOSYS. Some functions are actually named
49208 something starting with __ and the normal name is an alias. */
49209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49210 choke me
49211 #else
49212 char (*f) () = $ac_func;
49213 #endif
49214 #ifdef __cplusplus
49216 #endif
49219 main ()
49221 return f != $ac_func;
49223 return 0;
49225 _ACEOF
49226 rm -f conftest.$ac_objext conftest$ac_exeext
49227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49228 (eval $ac_link) 2>conftest.er1
49229 ac_status=$?
49230 grep -v '^ *+' conftest.er1 >conftest.err
49231 rm -f conftest.er1
49232 cat conftest.err >&5
49233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49234 (exit $ac_status); } &&
49235 { ac_try='test -z "$ac_c_werror_flag"
49236 || test ! -s conftest.err'
49237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49238 (eval $ac_try) 2>&5
49239 ac_status=$?
49240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49241 (exit $ac_status); }; } &&
49242 { ac_try='test -s conftest$ac_exeext'
49243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49244 (eval $ac_try) 2>&5
49245 ac_status=$?
49246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49247 (exit $ac_status); }; }; then
49248 eval "$as_ac_var=yes"
49249 else
49250 echo "$as_me: failed program was:" >&5
49251 sed 's/^/| /' conftest.$ac_ext >&5
49253 eval "$as_ac_var=no"
49255 rm -f conftest.err conftest.$ac_objext \
49256 conftest$ac_exeext conftest.$ac_ext
49258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49260 if test `eval echo '${'$as_ac_var'}'` = yes; then
49261 cat >>confdefs.h <<_ACEOF
49262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49263 _ACEOF
49266 done
49268 else
49270 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
49271 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
49272 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49273 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
49274 echo $ECHO_N "(cached) $ECHO_C" >&6
49275 else
49279 ac_ext=cc
49280 ac_cpp='$CXXCPP $CPPFLAGS'
49281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49285 cat >conftest.$ac_ext <<_ACEOF
49286 /* confdefs.h. */
49287 _ACEOF
49288 cat confdefs.h >>conftest.$ac_ext
49289 cat >>conftest.$ac_ext <<_ACEOF
49290 /* end confdefs.h. */
49291 #include <math.h>
49293 main ()
49295 _fmodf(0, 0);
49297 return 0;
49299 _ACEOF
49300 rm -f conftest.$ac_objext
49301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49302 (eval $ac_compile) 2>conftest.er1
49303 ac_status=$?
49304 grep -v '^ *+' conftest.er1 >conftest.err
49305 rm -f conftest.er1
49306 cat conftest.err >&5
49307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49308 (exit $ac_status); } &&
49309 { ac_try='test -z "$ac_cxx_werror_flag"
49310 || test ! -s conftest.err'
49311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49312 (eval $ac_try) 2>&5
49313 ac_status=$?
49314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49315 (exit $ac_status); }; } &&
49316 { ac_try='test -s conftest.$ac_objext'
49317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49318 (eval $ac_try) 2>&5
49319 ac_status=$?
49320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49321 (exit $ac_status); }; }; then
49322 glibcxx_cv_func__fmodf_use=yes
49323 else
49324 echo "$as_me: failed program was:" >&5
49325 sed 's/^/| /' conftest.$ac_ext >&5
49327 glibcxx_cv_func__fmodf_use=no
49329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49330 ac_ext=c
49331 ac_cpp='$CPP $CPPFLAGS'
49332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49340 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
49341 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
49343 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49345 for ac_func in _fmodf
49347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49348 echo "$as_me:$LINENO: checking for $ac_func" >&5
49349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49350 if eval "test \"\${$as_ac_var+set}\" = set"; then
49351 echo $ECHO_N "(cached) $ECHO_C" >&6
49352 else
49353 if test x$gcc_no_link = xyes; then
49354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49356 { (exit 1); exit 1; }; }
49358 cat >conftest.$ac_ext <<_ACEOF
49359 /* confdefs.h. */
49360 _ACEOF
49361 cat confdefs.h >>conftest.$ac_ext
49362 cat >>conftest.$ac_ext <<_ACEOF
49363 /* end confdefs.h. */
49364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49366 #define $ac_func innocuous_$ac_func
49368 /* System header to define __stub macros and hopefully few prototypes,
49369 which can conflict with char $ac_func (); below.
49370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49371 <limits.h> exists even on freestanding compilers. */
49373 #ifdef __STDC__
49374 # include <limits.h>
49375 #else
49376 # include <assert.h>
49377 #endif
49379 #undef $ac_func
49381 /* Override any gcc2 internal prototype to avoid an error. */
49382 #ifdef __cplusplus
49383 extern "C"
49385 #endif
49386 /* We use char because int might match the return type of a gcc2
49387 builtin and then its argument prototype would still apply. */
49388 char $ac_func ();
49389 /* The GNU C library defines this for functions which it implements
49390 to always fail with ENOSYS. Some functions are actually named
49391 something starting with __ and the normal name is an alias. */
49392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49393 choke me
49394 #else
49395 char (*f) () = $ac_func;
49396 #endif
49397 #ifdef __cplusplus
49399 #endif
49402 main ()
49404 return f != $ac_func;
49406 return 0;
49408 _ACEOF
49409 rm -f conftest.$ac_objext conftest$ac_exeext
49410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49411 (eval $ac_link) 2>conftest.er1
49412 ac_status=$?
49413 grep -v '^ *+' conftest.er1 >conftest.err
49414 rm -f conftest.er1
49415 cat conftest.err >&5
49416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49417 (exit $ac_status); } &&
49418 { ac_try='test -z "$ac_c_werror_flag"
49419 || test ! -s conftest.err'
49420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49421 (eval $ac_try) 2>&5
49422 ac_status=$?
49423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49424 (exit $ac_status); }; } &&
49425 { ac_try='test -s conftest$ac_exeext'
49426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49427 (eval $ac_try) 2>&5
49428 ac_status=$?
49429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49430 (exit $ac_status); }; }; then
49431 eval "$as_ac_var=yes"
49432 else
49433 echo "$as_me: failed program was:" >&5
49434 sed 's/^/| /' conftest.$ac_ext >&5
49436 eval "$as_ac_var=no"
49438 rm -f conftest.err conftest.$ac_objext \
49439 conftest$ac_exeext conftest.$ac_ext
49441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49443 if test `eval echo '${'$as_ac_var'}'` = yes; then
49444 cat >>confdefs.h <<_ACEOF
49445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49446 _ACEOF
49449 done
49459 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
49460 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
49461 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49462 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
49463 echo $ECHO_N "(cached) $ECHO_C" >&6
49464 else
49468 ac_ext=cc
49469 ac_cpp='$CXXCPP $CPPFLAGS'
49470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49474 cat >conftest.$ac_ext <<_ACEOF
49475 /* confdefs.h. */
49476 _ACEOF
49477 cat confdefs.h >>conftest.$ac_ext
49478 cat >>conftest.$ac_ext <<_ACEOF
49479 /* end confdefs.h. */
49480 #include <math.h>
49482 main ()
49484 frexpf(0, 0);
49486 return 0;
49488 _ACEOF
49489 rm -f conftest.$ac_objext
49490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49491 (eval $ac_compile) 2>conftest.er1
49492 ac_status=$?
49493 grep -v '^ *+' conftest.er1 >conftest.err
49494 rm -f conftest.er1
49495 cat conftest.err >&5
49496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49497 (exit $ac_status); } &&
49498 { ac_try='test -z "$ac_cxx_werror_flag"
49499 || test ! -s conftest.err'
49500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49501 (eval $ac_try) 2>&5
49502 ac_status=$?
49503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49504 (exit $ac_status); }; } &&
49505 { ac_try='test -s conftest.$ac_objext'
49506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49507 (eval $ac_try) 2>&5
49508 ac_status=$?
49509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49510 (exit $ac_status); }; }; then
49511 glibcxx_cv_func_frexpf_use=yes
49512 else
49513 echo "$as_me: failed program was:" >&5
49514 sed 's/^/| /' conftest.$ac_ext >&5
49516 glibcxx_cv_func_frexpf_use=no
49518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49519 ac_ext=c
49520 ac_cpp='$CPP $CPPFLAGS'
49521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49529 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
49530 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
49532 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49534 for ac_func in frexpf
49536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49537 echo "$as_me:$LINENO: checking for $ac_func" >&5
49538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49539 if eval "test \"\${$as_ac_var+set}\" = set"; then
49540 echo $ECHO_N "(cached) $ECHO_C" >&6
49541 else
49542 if test x$gcc_no_link = xyes; then
49543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49545 { (exit 1); exit 1; }; }
49547 cat >conftest.$ac_ext <<_ACEOF
49548 /* confdefs.h. */
49549 _ACEOF
49550 cat confdefs.h >>conftest.$ac_ext
49551 cat >>conftest.$ac_ext <<_ACEOF
49552 /* end confdefs.h. */
49553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49555 #define $ac_func innocuous_$ac_func
49557 /* System header to define __stub macros and hopefully few prototypes,
49558 which can conflict with char $ac_func (); below.
49559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49560 <limits.h> exists even on freestanding compilers. */
49562 #ifdef __STDC__
49563 # include <limits.h>
49564 #else
49565 # include <assert.h>
49566 #endif
49568 #undef $ac_func
49570 /* Override any gcc2 internal prototype to avoid an error. */
49571 #ifdef __cplusplus
49572 extern "C"
49574 #endif
49575 /* We use char because int might match the return type of a gcc2
49576 builtin and then its argument prototype would still apply. */
49577 char $ac_func ();
49578 /* The GNU C library defines this for functions which it implements
49579 to always fail with ENOSYS. Some functions are actually named
49580 something starting with __ and the normal name is an alias. */
49581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49582 choke me
49583 #else
49584 char (*f) () = $ac_func;
49585 #endif
49586 #ifdef __cplusplus
49588 #endif
49591 main ()
49593 return f != $ac_func;
49595 return 0;
49597 _ACEOF
49598 rm -f conftest.$ac_objext conftest$ac_exeext
49599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49600 (eval $ac_link) 2>conftest.er1
49601 ac_status=$?
49602 grep -v '^ *+' conftest.er1 >conftest.err
49603 rm -f conftest.er1
49604 cat conftest.err >&5
49605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49606 (exit $ac_status); } &&
49607 { ac_try='test -z "$ac_c_werror_flag"
49608 || test ! -s conftest.err'
49609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49610 (eval $ac_try) 2>&5
49611 ac_status=$?
49612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49613 (exit $ac_status); }; } &&
49614 { ac_try='test -s conftest$ac_exeext'
49615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49616 (eval $ac_try) 2>&5
49617 ac_status=$?
49618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49619 (exit $ac_status); }; }; then
49620 eval "$as_ac_var=yes"
49621 else
49622 echo "$as_me: failed program was:" >&5
49623 sed 's/^/| /' conftest.$ac_ext >&5
49625 eval "$as_ac_var=no"
49627 rm -f conftest.err conftest.$ac_objext \
49628 conftest$ac_exeext conftest.$ac_ext
49630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49632 if test `eval echo '${'$as_ac_var'}'` = yes; then
49633 cat >>confdefs.h <<_ACEOF
49634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49635 _ACEOF
49638 done
49640 else
49642 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
49643 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
49644 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49645 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
49646 echo $ECHO_N "(cached) $ECHO_C" >&6
49647 else
49651 ac_ext=cc
49652 ac_cpp='$CXXCPP $CPPFLAGS'
49653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49657 cat >conftest.$ac_ext <<_ACEOF
49658 /* confdefs.h. */
49659 _ACEOF
49660 cat confdefs.h >>conftest.$ac_ext
49661 cat >>conftest.$ac_ext <<_ACEOF
49662 /* end confdefs.h. */
49663 #include <math.h>
49665 main ()
49667 _frexpf(0, 0);
49669 return 0;
49671 _ACEOF
49672 rm -f conftest.$ac_objext
49673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49674 (eval $ac_compile) 2>conftest.er1
49675 ac_status=$?
49676 grep -v '^ *+' conftest.er1 >conftest.err
49677 rm -f conftest.er1
49678 cat conftest.err >&5
49679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49680 (exit $ac_status); } &&
49681 { ac_try='test -z "$ac_cxx_werror_flag"
49682 || test ! -s conftest.err'
49683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49684 (eval $ac_try) 2>&5
49685 ac_status=$?
49686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49687 (exit $ac_status); }; } &&
49688 { ac_try='test -s conftest.$ac_objext'
49689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49690 (eval $ac_try) 2>&5
49691 ac_status=$?
49692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49693 (exit $ac_status); }; }; then
49694 glibcxx_cv_func__frexpf_use=yes
49695 else
49696 echo "$as_me: failed program was:" >&5
49697 sed 's/^/| /' conftest.$ac_ext >&5
49699 glibcxx_cv_func__frexpf_use=no
49701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49702 ac_ext=c
49703 ac_cpp='$CPP $CPPFLAGS'
49704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49712 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
49713 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
49715 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49717 for ac_func in _frexpf
49719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49720 echo "$as_me:$LINENO: checking for $ac_func" >&5
49721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49722 if eval "test \"\${$as_ac_var+set}\" = set"; then
49723 echo $ECHO_N "(cached) $ECHO_C" >&6
49724 else
49725 if test x$gcc_no_link = xyes; then
49726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49728 { (exit 1); exit 1; }; }
49730 cat >conftest.$ac_ext <<_ACEOF
49731 /* confdefs.h. */
49732 _ACEOF
49733 cat confdefs.h >>conftest.$ac_ext
49734 cat >>conftest.$ac_ext <<_ACEOF
49735 /* end confdefs.h. */
49736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49738 #define $ac_func innocuous_$ac_func
49740 /* System header to define __stub macros and hopefully few prototypes,
49741 which can conflict with char $ac_func (); below.
49742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49743 <limits.h> exists even on freestanding compilers. */
49745 #ifdef __STDC__
49746 # include <limits.h>
49747 #else
49748 # include <assert.h>
49749 #endif
49751 #undef $ac_func
49753 /* Override any gcc2 internal prototype to avoid an error. */
49754 #ifdef __cplusplus
49755 extern "C"
49757 #endif
49758 /* We use char because int might match the return type of a gcc2
49759 builtin and then its argument prototype would still apply. */
49760 char $ac_func ();
49761 /* The GNU C library defines this for functions which it implements
49762 to always fail with ENOSYS. Some functions are actually named
49763 something starting with __ and the normal name is an alias. */
49764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49765 choke me
49766 #else
49767 char (*f) () = $ac_func;
49768 #endif
49769 #ifdef __cplusplus
49771 #endif
49774 main ()
49776 return f != $ac_func;
49778 return 0;
49780 _ACEOF
49781 rm -f conftest.$ac_objext conftest$ac_exeext
49782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49783 (eval $ac_link) 2>conftest.er1
49784 ac_status=$?
49785 grep -v '^ *+' conftest.er1 >conftest.err
49786 rm -f conftest.er1
49787 cat conftest.err >&5
49788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49789 (exit $ac_status); } &&
49790 { ac_try='test -z "$ac_c_werror_flag"
49791 || test ! -s conftest.err'
49792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49793 (eval $ac_try) 2>&5
49794 ac_status=$?
49795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49796 (exit $ac_status); }; } &&
49797 { ac_try='test -s conftest$ac_exeext'
49798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49799 (eval $ac_try) 2>&5
49800 ac_status=$?
49801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49802 (exit $ac_status); }; }; then
49803 eval "$as_ac_var=yes"
49804 else
49805 echo "$as_me: failed program was:" >&5
49806 sed 's/^/| /' conftest.$ac_ext >&5
49808 eval "$as_ac_var=no"
49810 rm -f conftest.err conftest.$ac_objext \
49811 conftest$ac_exeext conftest.$ac_ext
49813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49815 if test `eval echo '${'$as_ac_var'}'` = yes; then
49816 cat >>confdefs.h <<_ACEOF
49817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49818 _ACEOF
49821 done
49831 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
49832 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
49833 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49834 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
49835 echo $ECHO_N "(cached) $ECHO_C" >&6
49836 else
49840 ac_ext=cc
49841 ac_cpp='$CXXCPP $CPPFLAGS'
49842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49846 cat >conftest.$ac_ext <<_ACEOF
49847 /* confdefs.h. */
49848 _ACEOF
49849 cat confdefs.h >>conftest.$ac_ext
49850 cat >>conftest.$ac_ext <<_ACEOF
49851 /* end confdefs.h. */
49852 #include <math.h>
49854 main ()
49856 hypotf(0, 0);
49858 return 0;
49860 _ACEOF
49861 rm -f conftest.$ac_objext
49862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49863 (eval $ac_compile) 2>conftest.er1
49864 ac_status=$?
49865 grep -v '^ *+' conftest.er1 >conftest.err
49866 rm -f conftest.er1
49867 cat conftest.err >&5
49868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49869 (exit $ac_status); } &&
49870 { ac_try='test -z "$ac_cxx_werror_flag"
49871 || test ! -s conftest.err'
49872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49873 (eval $ac_try) 2>&5
49874 ac_status=$?
49875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49876 (exit $ac_status); }; } &&
49877 { ac_try='test -s conftest.$ac_objext'
49878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49879 (eval $ac_try) 2>&5
49880 ac_status=$?
49881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49882 (exit $ac_status); }; }; then
49883 glibcxx_cv_func_hypotf_use=yes
49884 else
49885 echo "$as_me: failed program was:" >&5
49886 sed 's/^/| /' conftest.$ac_ext >&5
49888 glibcxx_cv_func_hypotf_use=no
49890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49891 ac_ext=c
49892 ac_cpp='$CPP $CPPFLAGS'
49893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49901 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
49902 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
49904 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49906 for ac_func in hypotf
49908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49909 echo "$as_me:$LINENO: checking for $ac_func" >&5
49910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49911 if eval "test \"\${$as_ac_var+set}\" = set"; then
49912 echo $ECHO_N "(cached) $ECHO_C" >&6
49913 else
49914 if test x$gcc_no_link = xyes; then
49915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49917 { (exit 1); exit 1; }; }
49919 cat >conftest.$ac_ext <<_ACEOF
49920 /* confdefs.h. */
49921 _ACEOF
49922 cat confdefs.h >>conftest.$ac_ext
49923 cat >>conftest.$ac_ext <<_ACEOF
49924 /* end confdefs.h. */
49925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49927 #define $ac_func innocuous_$ac_func
49929 /* System header to define __stub macros and hopefully few prototypes,
49930 which can conflict with char $ac_func (); below.
49931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49932 <limits.h> exists even on freestanding compilers. */
49934 #ifdef __STDC__
49935 # include <limits.h>
49936 #else
49937 # include <assert.h>
49938 #endif
49940 #undef $ac_func
49942 /* Override any gcc2 internal prototype to avoid an error. */
49943 #ifdef __cplusplus
49944 extern "C"
49946 #endif
49947 /* We use char because int might match the return type of a gcc2
49948 builtin and then its argument prototype would still apply. */
49949 char $ac_func ();
49950 /* The GNU C library defines this for functions which it implements
49951 to always fail with ENOSYS. Some functions are actually named
49952 something starting with __ and the normal name is an alias. */
49953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49954 choke me
49955 #else
49956 char (*f) () = $ac_func;
49957 #endif
49958 #ifdef __cplusplus
49960 #endif
49963 main ()
49965 return f != $ac_func;
49967 return 0;
49969 _ACEOF
49970 rm -f conftest.$ac_objext conftest$ac_exeext
49971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49972 (eval $ac_link) 2>conftest.er1
49973 ac_status=$?
49974 grep -v '^ *+' conftest.er1 >conftest.err
49975 rm -f conftest.er1
49976 cat conftest.err >&5
49977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49978 (exit $ac_status); } &&
49979 { ac_try='test -z "$ac_c_werror_flag"
49980 || test ! -s conftest.err'
49981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49982 (eval $ac_try) 2>&5
49983 ac_status=$?
49984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49985 (exit $ac_status); }; } &&
49986 { ac_try='test -s conftest$ac_exeext'
49987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49988 (eval $ac_try) 2>&5
49989 ac_status=$?
49990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49991 (exit $ac_status); }; }; then
49992 eval "$as_ac_var=yes"
49993 else
49994 echo "$as_me: failed program was:" >&5
49995 sed 's/^/| /' conftest.$ac_ext >&5
49997 eval "$as_ac_var=no"
49999 rm -f conftest.err conftest.$ac_objext \
50000 conftest$ac_exeext conftest.$ac_ext
50002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50004 if test `eval echo '${'$as_ac_var'}'` = yes; then
50005 cat >>confdefs.h <<_ACEOF
50006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50007 _ACEOF
50010 done
50012 else
50014 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
50015 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
50016 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50017 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
50018 echo $ECHO_N "(cached) $ECHO_C" >&6
50019 else
50023 ac_ext=cc
50024 ac_cpp='$CXXCPP $CPPFLAGS'
50025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50029 cat >conftest.$ac_ext <<_ACEOF
50030 /* confdefs.h. */
50031 _ACEOF
50032 cat confdefs.h >>conftest.$ac_ext
50033 cat >>conftest.$ac_ext <<_ACEOF
50034 /* end confdefs.h. */
50035 #include <math.h>
50037 main ()
50039 _hypotf(0, 0);
50041 return 0;
50043 _ACEOF
50044 rm -f conftest.$ac_objext
50045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50046 (eval $ac_compile) 2>conftest.er1
50047 ac_status=$?
50048 grep -v '^ *+' conftest.er1 >conftest.err
50049 rm -f conftest.er1
50050 cat conftest.err >&5
50051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50052 (exit $ac_status); } &&
50053 { ac_try='test -z "$ac_cxx_werror_flag"
50054 || test ! -s conftest.err'
50055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50056 (eval $ac_try) 2>&5
50057 ac_status=$?
50058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50059 (exit $ac_status); }; } &&
50060 { ac_try='test -s conftest.$ac_objext'
50061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50062 (eval $ac_try) 2>&5
50063 ac_status=$?
50064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50065 (exit $ac_status); }; }; then
50066 glibcxx_cv_func__hypotf_use=yes
50067 else
50068 echo "$as_me: failed program was:" >&5
50069 sed 's/^/| /' conftest.$ac_ext >&5
50071 glibcxx_cv_func__hypotf_use=no
50073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50074 ac_ext=c
50075 ac_cpp='$CPP $CPPFLAGS'
50076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50084 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
50085 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
50087 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50089 for ac_func in _hypotf
50091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50092 echo "$as_me:$LINENO: checking for $ac_func" >&5
50093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50094 if eval "test \"\${$as_ac_var+set}\" = set"; then
50095 echo $ECHO_N "(cached) $ECHO_C" >&6
50096 else
50097 if test x$gcc_no_link = xyes; then
50098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50100 { (exit 1); exit 1; }; }
50102 cat >conftest.$ac_ext <<_ACEOF
50103 /* confdefs.h. */
50104 _ACEOF
50105 cat confdefs.h >>conftest.$ac_ext
50106 cat >>conftest.$ac_ext <<_ACEOF
50107 /* end confdefs.h. */
50108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50110 #define $ac_func innocuous_$ac_func
50112 /* System header to define __stub macros and hopefully few prototypes,
50113 which can conflict with char $ac_func (); below.
50114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50115 <limits.h> exists even on freestanding compilers. */
50117 #ifdef __STDC__
50118 # include <limits.h>
50119 #else
50120 # include <assert.h>
50121 #endif
50123 #undef $ac_func
50125 /* Override any gcc2 internal prototype to avoid an error. */
50126 #ifdef __cplusplus
50127 extern "C"
50129 #endif
50130 /* We use char because int might match the return type of a gcc2
50131 builtin and then its argument prototype would still apply. */
50132 char $ac_func ();
50133 /* The GNU C library defines this for functions which it implements
50134 to always fail with ENOSYS. Some functions are actually named
50135 something starting with __ and the normal name is an alias. */
50136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50137 choke me
50138 #else
50139 char (*f) () = $ac_func;
50140 #endif
50141 #ifdef __cplusplus
50143 #endif
50146 main ()
50148 return f != $ac_func;
50150 return 0;
50152 _ACEOF
50153 rm -f conftest.$ac_objext conftest$ac_exeext
50154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50155 (eval $ac_link) 2>conftest.er1
50156 ac_status=$?
50157 grep -v '^ *+' conftest.er1 >conftest.err
50158 rm -f conftest.er1
50159 cat conftest.err >&5
50160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50161 (exit $ac_status); } &&
50162 { ac_try='test -z "$ac_c_werror_flag"
50163 || test ! -s conftest.err'
50164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50165 (eval $ac_try) 2>&5
50166 ac_status=$?
50167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50168 (exit $ac_status); }; } &&
50169 { ac_try='test -s conftest$ac_exeext'
50170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50171 (eval $ac_try) 2>&5
50172 ac_status=$?
50173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50174 (exit $ac_status); }; }; then
50175 eval "$as_ac_var=yes"
50176 else
50177 echo "$as_me: failed program was:" >&5
50178 sed 's/^/| /' conftest.$ac_ext >&5
50180 eval "$as_ac_var=no"
50182 rm -f conftest.err conftest.$ac_objext \
50183 conftest$ac_exeext conftest.$ac_ext
50185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50187 if test `eval echo '${'$as_ac_var'}'` = yes; then
50188 cat >>confdefs.h <<_ACEOF
50189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50190 _ACEOF
50193 done
50203 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
50204 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
50205 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50206 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
50207 echo $ECHO_N "(cached) $ECHO_C" >&6
50208 else
50212 ac_ext=cc
50213 ac_cpp='$CXXCPP $CPPFLAGS'
50214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50218 cat >conftest.$ac_ext <<_ACEOF
50219 /* confdefs.h. */
50220 _ACEOF
50221 cat confdefs.h >>conftest.$ac_ext
50222 cat >>conftest.$ac_ext <<_ACEOF
50223 /* end confdefs.h. */
50224 #include <math.h>
50226 main ()
50228 ldexpf(0, 0);
50230 return 0;
50232 _ACEOF
50233 rm -f conftest.$ac_objext
50234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50235 (eval $ac_compile) 2>conftest.er1
50236 ac_status=$?
50237 grep -v '^ *+' conftest.er1 >conftest.err
50238 rm -f conftest.er1
50239 cat conftest.err >&5
50240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50241 (exit $ac_status); } &&
50242 { ac_try='test -z "$ac_cxx_werror_flag"
50243 || test ! -s conftest.err'
50244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50245 (eval $ac_try) 2>&5
50246 ac_status=$?
50247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50248 (exit $ac_status); }; } &&
50249 { ac_try='test -s conftest.$ac_objext'
50250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50251 (eval $ac_try) 2>&5
50252 ac_status=$?
50253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50254 (exit $ac_status); }; }; then
50255 glibcxx_cv_func_ldexpf_use=yes
50256 else
50257 echo "$as_me: failed program was:" >&5
50258 sed 's/^/| /' conftest.$ac_ext >&5
50260 glibcxx_cv_func_ldexpf_use=no
50262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50263 ac_ext=c
50264 ac_cpp='$CPP $CPPFLAGS'
50265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50273 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
50274 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
50276 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50278 for ac_func in ldexpf
50280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50281 echo "$as_me:$LINENO: checking for $ac_func" >&5
50282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50283 if eval "test \"\${$as_ac_var+set}\" = set"; then
50284 echo $ECHO_N "(cached) $ECHO_C" >&6
50285 else
50286 if test x$gcc_no_link = xyes; then
50287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50289 { (exit 1); exit 1; }; }
50291 cat >conftest.$ac_ext <<_ACEOF
50292 /* confdefs.h. */
50293 _ACEOF
50294 cat confdefs.h >>conftest.$ac_ext
50295 cat >>conftest.$ac_ext <<_ACEOF
50296 /* end confdefs.h. */
50297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50299 #define $ac_func innocuous_$ac_func
50301 /* System header to define __stub macros and hopefully few prototypes,
50302 which can conflict with char $ac_func (); below.
50303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50304 <limits.h> exists even on freestanding compilers. */
50306 #ifdef __STDC__
50307 # include <limits.h>
50308 #else
50309 # include <assert.h>
50310 #endif
50312 #undef $ac_func
50314 /* Override any gcc2 internal prototype to avoid an error. */
50315 #ifdef __cplusplus
50316 extern "C"
50318 #endif
50319 /* We use char because int might match the return type of a gcc2
50320 builtin and then its argument prototype would still apply. */
50321 char $ac_func ();
50322 /* The GNU C library defines this for functions which it implements
50323 to always fail with ENOSYS. Some functions are actually named
50324 something starting with __ and the normal name is an alias. */
50325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50326 choke me
50327 #else
50328 char (*f) () = $ac_func;
50329 #endif
50330 #ifdef __cplusplus
50332 #endif
50335 main ()
50337 return f != $ac_func;
50339 return 0;
50341 _ACEOF
50342 rm -f conftest.$ac_objext conftest$ac_exeext
50343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50344 (eval $ac_link) 2>conftest.er1
50345 ac_status=$?
50346 grep -v '^ *+' conftest.er1 >conftest.err
50347 rm -f conftest.er1
50348 cat conftest.err >&5
50349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50350 (exit $ac_status); } &&
50351 { ac_try='test -z "$ac_c_werror_flag"
50352 || test ! -s conftest.err'
50353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50354 (eval $ac_try) 2>&5
50355 ac_status=$?
50356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50357 (exit $ac_status); }; } &&
50358 { ac_try='test -s conftest$ac_exeext'
50359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50360 (eval $ac_try) 2>&5
50361 ac_status=$?
50362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50363 (exit $ac_status); }; }; then
50364 eval "$as_ac_var=yes"
50365 else
50366 echo "$as_me: failed program was:" >&5
50367 sed 's/^/| /' conftest.$ac_ext >&5
50369 eval "$as_ac_var=no"
50371 rm -f conftest.err conftest.$ac_objext \
50372 conftest$ac_exeext conftest.$ac_ext
50374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50376 if test `eval echo '${'$as_ac_var'}'` = yes; then
50377 cat >>confdefs.h <<_ACEOF
50378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50379 _ACEOF
50382 done
50384 else
50386 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
50387 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
50388 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50389 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
50390 echo $ECHO_N "(cached) $ECHO_C" >&6
50391 else
50395 ac_ext=cc
50396 ac_cpp='$CXXCPP $CPPFLAGS'
50397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50401 cat >conftest.$ac_ext <<_ACEOF
50402 /* confdefs.h. */
50403 _ACEOF
50404 cat confdefs.h >>conftest.$ac_ext
50405 cat >>conftest.$ac_ext <<_ACEOF
50406 /* end confdefs.h. */
50407 #include <math.h>
50409 main ()
50411 _ldexpf(0, 0);
50413 return 0;
50415 _ACEOF
50416 rm -f conftest.$ac_objext
50417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50418 (eval $ac_compile) 2>conftest.er1
50419 ac_status=$?
50420 grep -v '^ *+' conftest.er1 >conftest.err
50421 rm -f conftest.er1
50422 cat conftest.err >&5
50423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50424 (exit $ac_status); } &&
50425 { ac_try='test -z "$ac_cxx_werror_flag"
50426 || test ! -s conftest.err'
50427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50428 (eval $ac_try) 2>&5
50429 ac_status=$?
50430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50431 (exit $ac_status); }; } &&
50432 { ac_try='test -s conftest.$ac_objext'
50433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50434 (eval $ac_try) 2>&5
50435 ac_status=$?
50436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50437 (exit $ac_status); }; }; then
50438 glibcxx_cv_func__ldexpf_use=yes
50439 else
50440 echo "$as_me: failed program was:" >&5
50441 sed 's/^/| /' conftest.$ac_ext >&5
50443 glibcxx_cv_func__ldexpf_use=no
50445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50446 ac_ext=c
50447 ac_cpp='$CPP $CPPFLAGS'
50448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50456 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
50457 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
50459 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50461 for ac_func in _ldexpf
50463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50464 echo "$as_me:$LINENO: checking for $ac_func" >&5
50465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50466 if eval "test \"\${$as_ac_var+set}\" = set"; then
50467 echo $ECHO_N "(cached) $ECHO_C" >&6
50468 else
50469 if test x$gcc_no_link = xyes; then
50470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50472 { (exit 1); exit 1; }; }
50474 cat >conftest.$ac_ext <<_ACEOF
50475 /* confdefs.h. */
50476 _ACEOF
50477 cat confdefs.h >>conftest.$ac_ext
50478 cat >>conftest.$ac_ext <<_ACEOF
50479 /* end confdefs.h. */
50480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50482 #define $ac_func innocuous_$ac_func
50484 /* System header to define __stub macros and hopefully few prototypes,
50485 which can conflict with char $ac_func (); below.
50486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50487 <limits.h> exists even on freestanding compilers. */
50489 #ifdef __STDC__
50490 # include <limits.h>
50491 #else
50492 # include <assert.h>
50493 #endif
50495 #undef $ac_func
50497 /* Override any gcc2 internal prototype to avoid an error. */
50498 #ifdef __cplusplus
50499 extern "C"
50501 #endif
50502 /* We use char because int might match the return type of a gcc2
50503 builtin and then its argument prototype would still apply. */
50504 char $ac_func ();
50505 /* The GNU C library defines this for functions which it implements
50506 to always fail with ENOSYS. Some functions are actually named
50507 something starting with __ and the normal name is an alias. */
50508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50509 choke me
50510 #else
50511 char (*f) () = $ac_func;
50512 #endif
50513 #ifdef __cplusplus
50515 #endif
50518 main ()
50520 return f != $ac_func;
50522 return 0;
50524 _ACEOF
50525 rm -f conftest.$ac_objext conftest$ac_exeext
50526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50527 (eval $ac_link) 2>conftest.er1
50528 ac_status=$?
50529 grep -v '^ *+' conftest.er1 >conftest.err
50530 rm -f conftest.er1
50531 cat conftest.err >&5
50532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50533 (exit $ac_status); } &&
50534 { ac_try='test -z "$ac_c_werror_flag"
50535 || test ! -s conftest.err'
50536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50537 (eval $ac_try) 2>&5
50538 ac_status=$?
50539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50540 (exit $ac_status); }; } &&
50541 { ac_try='test -s conftest$ac_exeext'
50542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50543 (eval $ac_try) 2>&5
50544 ac_status=$?
50545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50546 (exit $ac_status); }; }; then
50547 eval "$as_ac_var=yes"
50548 else
50549 echo "$as_me: failed program was:" >&5
50550 sed 's/^/| /' conftest.$ac_ext >&5
50552 eval "$as_ac_var=no"
50554 rm -f conftest.err conftest.$ac_objext \
50555 conftest$ac_exeext conftest.$ac_ext
50557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50559 if test `eval echo '${'$as_ac_var'}'` = yes; then
50560 cat >>confdefs.h <<_ACEOF
50561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50562 _ACEOF
50565 done
50575 echo "$as_me:$LINENO: checking for logf declaration" >&5
50576 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
50577 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50578 if test "${glibcxx_cv_func_logf_use+set}" = set; then
50579 echo $ECHO_N "(cached) $ECHO_C" >&6
50580 else
50584 ac_ext=cc
50585 ac_cpp='$CXXCPP $CPPFLAGS'
50586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50590 cat >conftest.$ac_ext <<_ACEOF
50591 /* confdefs.h. */
50592 _ACEOF
50593 cat confdefs.h >>conftest.$ac_ext
50594 cat >>conftest.$ac_ext <<_ACEOF
50595 /* end confdefs.h. */
50596 #include <math.h>
50597 #ifdef HAVE_IEEEFP_H
50598 #include <ieeefp.h>
50599 #endif
50602 main ()
50604 logf(0);
50606 return 0;
50608 _ACEOF
50609 rm -f conftest.$ac_objext
50610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50611 (eval $ac_compile) 2>conftest.er1
50612 ac_status=$?
50613 grep -v '^ *+' conftest.er1 >conftest.err
50614 rm -f conftest.er1
50615 cat conftest.err >&5
50616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50617 (exit $ac_status); } &&
50618 { ac_try='test -z "$ac_cxx_werror_flag"
50619 || test ! -s conftest.err'
50620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50621 (eval $ac_try) 2>&5
50622 ac_status=$?
50623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50624 (exit $ac_status); }; } &&
50625 { ac_try='test -s conftest.$ac_objext'
50626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50627 (eval $ac_try) 2>&5
50628 ac_status=$?
50629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50630 (exit $ac_status); }; }; then
50631 glibcxx_cv_func_logf_use=yes
50632 else
50633 echo "$as_me: failed program was:" >&5
50634 sed 's/^/| /' conftest.$ac_ext >&5
50636 glibcxx_cv_func_logf_use=no
50638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50639 ac_ext=c
50640 ac_cpp='$CPP $CPPFLAGS'
50641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50649 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
50650 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
50652 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50654 for ac_func in logf
50656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50657 echo "$as_me:$LINENO: checking for $ac_func" >&5
50658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50659 if eval "test \"\${$as_ac_var+set}\" = set"; then
50660 echo $ECHO_N "(cached) $ECHO_C" >&6
50661 else
50662 if test x$gcc_no_link = xyes; then
50663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50665 { (exit 1); exit 1; }; }
50667 cat >conftest.$ac_ext <<_ACEOF
50668 /* confdefs.h. */
50669 _ACEOF
50670 cat confdefs.h >>conftest.$ac_ext
50671 cat >>conftest.$ac_ext <<_ACEOF
50672 /* end confdefs.h. */
50673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50675 #define $ac_func innocuous_$ac_func
50677 /* System header to define __stub macros and hopefully few prototypes,
50678 which can conflict with char $ac_func (); below.
50679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50680 <limits.h> exists even on freestanding compilers. */
50682 #ifdef __STDC__
50683 # include <limits.h>
50684 #else
50685 # include <assert.h>
50686 #endif
50688 #undef $ac_func
50690 /* Override any gcc2 internal prototype to avoid an error. */
50691 #ifdef __cplusplus
50692 extern "C"
50694 #endif
50695 /* We use char because int might match the return type of a gcc2
50696 builtin and then its argument prototype would still apply. */
50697 char $ac_func ();
50698 /* The GNU C library defines this for functions which it implements
50699 to always fail with ENOSYS. Some functions are actually named
50700 something starting with __ and the normal name is an alias. */
50701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50702 choke me
50703 #else
50704 char (*f) () = $ac_func;
50705 #endif
50706 #ifdef __cplusplus
50708 #endif
50711 main ()
50713 return f != $ac_func;
50715 return 0;
50717 _ACEOF
50718 rm -f conftest.$ac_objext conftest$ac_exeext
50719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50720 (eval $ac_link) 2>conftest.er1
50721 ac_status=$?
50722 grep -v '^ *+' conftest.er1 >conftest.err
50723 rm -f conftest.er1
50724 cat conftest.err >&5
50725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50726 (exit $ac_status); } &&
50727 { ac_try='test -z "$ac_c_werror_flag"
50728 || test ! -s conftest.err'
50729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50730 (eval $ac_try) 2>&5
50731 ac_status=$?
50732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50733 (exit $ac_status); }; } &&
50734 { ac_try='test -s conftest$ac_exeext'
50735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50736 (eval $ac_try) 2>&5
50737 ac_status=$?
50738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50739 (exit $ac_status); }; }; then
50740 eval "$as_ac_var=yes"
50741 else
50742 echo "$as_me: failed program was:" >&5
50743 sed 's/^/| /' conftest.$ac_ext >&5
50745 eval "$as_ac_var=no"
50747 rm -f conftest.err conftest.$ac_objext \
50748 conftest$ac_exeext conftest.$ac_ext
50750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50752 if test `eval echo '${'$as_ac_var'}'` = yes; then
50753 cat >>confdefs.h <<_ACEOF
50754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50755 _ACEOF
50758 done
50760 else
50762 echo "$as_me:$LINENO: checking for _logf declaration" >&5
50763 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
50764 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50765 if test "${glibcxx_cv_func__logf_use+set}" = set; then
50766 echo $ECHO_N "(cached) $ECHO_C" >&6
50767 else
50771 ac_ext=cc
50772 ac_cpp='$CXXCPP $CPPFLAGS'
50773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50777 cat >conftest.$ac_ext <<_ACEOF
50778 /* confdefs.h. */
50779 _ACEOF
50780 cat confdefs.h >>conftest.$ac_ext
50781 cat >>conftest.$ac_ext <<_ACEOF
50782 /* end confdefs.h. */
50783 #include <math.h>
50784 #ifdef HAVE_IEEEFP_H
50785 #include <ieeefp.h>
50786 #endif
50789 main ()
50791 _logf(0);
50793 return 0;
50795 _ACEOF
50796 rm -f conftest.$ac_objext
50797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50798 (eval $ac_compile) 2>conftest.er1
50799 ac_status=$?
50800 grep -v '^ *+' conftest.er1 >conftest.err
50801 rm -f conftest.er1
50802 cat conftest.err >&5
50803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50804 (exit $ac_status); } &&
50805 { ac_try='test -z "$ac_cxx_werror_flag"
50806 || test ! -s conftest.err'
50807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50808 (eval $ac_try) 2>&5
50809 ac_status=$?
50810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50811 (exit $ac_status); }; } &&
50812 { ac_try='test -s conftest.$ac_objext'
50813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50814 (eval $ac_try) 2>&5
50815 ac_status=$?
50816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50817 (exit $ac_status); }; }; then
50818 glibcxx_cv_func__logf_use=yes
50819 else
50820 echo "$as_me: failed program was:" >&5
50821 sed 's/^/| /' conftest.$ac_ext >&5
50823 glibcxx_cv_func__logf_use=no
50825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50826 ac_ext=c
50827 ac_cpp='$CPP $CPPFLAGS'
50828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50836 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
50837 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
50839 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50841 for ac_func in _logf
50843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50844 echo "$as_me:$LINENO: checking for $ac_func" >&5
50845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50846 if eval "test \"\${$as_ac_var+set}\" = set"; then
50847 echo $ECHO_N "(cached) $ECHO_C" >&6
50848 else
50849 if test x$gcc_no_link = xyes; then
50850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50852 { (exit 1); exit 1; }; }
50854 cat >conftest.$ac_ext <<_ACEOF
50855 /* confdefs.h. */
50856 _ACEOF
50857 cat confdefs.h >>conftest.$ac_ext
50858 cat >>conftest.$ac_ext <<_ACEOF
50859 /* end confdefs.h. */
50860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50862 #define $ac_func innocuous_$ac_func
50864 /* System header to define __stub macros and hopefully few prototypes,
50865 which can conflict with char $ac_func (); below.
50866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50867 <limits.h> exists even on freestanding compilers. */
50869 #ifdef __STDC__
50870 # include <limits.h>
50871 #else
50872 # include <assert.h>
50873 #endif
50875 #undef $ac_func
50877 /* Override any gcc2 internal prototype to avoid an error. */
50878 #ifdef __cplusplus
50879 extern "C"
50881 #endif
50882 /* We use char because int might match the return type of a gcc2
50883 builtin and then its argument prototype would still apply. */
50884 char $ac_func ();
50885 /* The GNU C library defines this for functions which it implements
50886 to always fail with ENOSYS. Some functions are actually named
50887 something starting with __ and the normal name is an alias. */
50888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50889 choke me
50890 #else
50891 char (*f) () = $ac_func;
50892 #endif
50893 #ifdef __cplusplus
50895 #endif
50898 main ()
50900 return f != $ac_func;
50902 return 0;
50904 _ACEOF
50905 rm -f conftest.$ac_objext conftest$ac_exeext
50906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50907 (eval $ac_link) 2>conftest.er1
50908 ac_status=$?
50909 grep -v '^ *+' conftest.er1 >conftest.err
50910 rm -f conftest.er1
50911 cat conftest.err >&5
50912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50913 (exit $ac_status); } &&
50914 { ac_try='test -z "$ac_c_werror_flag"
50915 || test ! -s conftest.err'
50916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50917 (eval $ac_try) 2>&5
50918 ac_status=$?
50919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50920 (exit $ac_status); }; } &&
50921 { ac_try='test -s conftest$ac_exeext'
50922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50923 (eval $ac_try) 2>&5
50924 ac_status=$?
50925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50926 (exit $ac_status); }; }; then
50927 eval "$as_ac_var=yes"
50928 else
50929 echo "$as_me: failed program was:" >&5
50930 sed 's/^/| /' conftest.$ac_ext >&5
50932 eval "$as_ac_var=no"
50934 rm -f conftest.err conftest.$ac_objext \
50935 conftest$ac_exeext conftest.$ac_ext
50937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50939 if test `eval echo '${'$as_ac_var'}'` = yes; then
50940 cat >>confdefs.h <<_ACEOF
50941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50942 _ACEOF
50945 done
50955 echo "$as_me:$LINENO: checking for log10f declaration" >&5
50956 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
50957 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50958 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
50959 echo $ECHO_N "(cached) $ECHO_C" >&6
50960 else
50964 ac_ext=cc
50965 ac_cpp='$CXXCPP $CPPFLAGS'
50966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50970 cat >conftest.$ac_ext <<_ACEOF
50971 /* confdefs.h. */
50972 _ACEOF
50973 cat confdefs.h >>conftest.$ac_ext
50974 cat >>conftest.$ac_ext <<_ACEOF
50975 /* end confdefs.h. */
50976 #include <math.h>
50977 #ifdef HAVE_IEEEFP_H
50978 #include <ieeefp.h>
50979 #endif
50982 main ()
50984 log10f(0);
50986 return 0;
50988 _ACEOF
50989 rm -f conftest.$ac_objext
50990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50991 (eval $ac_compile) 2>conftest.er1
50992 ac_status=$?
50993 grep -v '^ *+' conftest.er1 >conftest.err
50994 rm -f conftest.er1
50995 cat conftest.err >&5
50996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50997 (exit $ac_status); } &&
50998 { ac_try='test -z "$ac_cxx_werror_flag"
50999 || test ! -s conftest.err'
51000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51001 (eval $ac_try) 2>&5
51002 ac_status=$?
51003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51004 (exit $ac_status); }; } &&
51005 { ac_try='test -s conftest.$ac_objext'
51006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51007 (eval $ac_try) 2>&5
51008 ac_status=$?
51009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51010 (exit $ac_status); }; }; then
51011 glibcxx_cv_func_log10f_use=yes
51012 else
51013 echo "$as_me: failed program was:" >&5
51014 sed 's/^/| /' conftest.$ac_ext >&5
51016 glibcxx_cv_func_log10f_use=no
51018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51019 ac_ext=c
51020 ac_cpp='$CPP $CPPFLAGS'
51021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51029 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
51030 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
51032 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
51034 for ac_func in log10f
51036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51037 echo "$as_me:$LINENO: checking for $ac_func" >&5
51038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51039 if eval "test \"\${$as_ac_var+set}\" = set"; then
51040 echo $ECHO_N "(cached) $ECHO_C" >&6
51041 else
51042 if test x$gcc_no_link = xyes; then
51043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51045 { (exit 1); exit 1; }; }
51047 cat >conftest.$ac_ext <<_ACEOF
51048 /* confdefs.h. */
51049 _ACEOF
51050 cat confdefs.h >>conftest.$ac_ext
51051 cat >>conftest.$ac_ext <<_ACEOF
51052 /* end confdefs.h. */
51053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51055 #define $ac_func innocuous_$ac_func
51057 /* System header to define __stub macros and hopefully few prototypes,
51058 which can conflict with char $ac_func (); below.
51059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51060 <limits.h> exists even on freestanding compilers. */
51062 #ifdef __STDC__
51063 # include <limits.h>
51064 #else
51065 # include <assert.h>
51066 #endif
51068 #undef $ac_func
51070 /* Override any gcc2 internal prototype to avoid an error. */
51071 #ifdef __cplusplus
51072 extern "C"
51074 #endif
51075 /* We use char because int might match the return type of a gcc2
51076 builtin and then its argument prototype would still apply. */
51077 char $ac_func ();
51078 /* The GNU C library defines this for functions which it implements
51079 to always fail with ENOSYS. Some functions are actually named
51080 something starting with __ and the normal name is an alias. */
51081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51082 choke me
51083 #else
51084 char (*f) () = $ac_func;
51085 #endif
51086 #ifdef __cplusplus
51088 #endif
51091 main ()
51093 return f != $ac_func;
51095 return 0;
51097 _ACEOF
51098 rm -f conftest.$ac_objext conftest$ac_exeext
51099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51100 (eval $ac_link) 2>conftest.er1
51101 ac_status=$?
51102 grep -v '^ *+' conftest.er1 >conftest.err
51103 rm -f conftest.er1
51104 cat conftest.err >&5
51105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51106 (exit $ac_status); } &&
51107 { ac_try='test -z "$ac_c_werror_flag"
51108 || test ! -s conftest.err'
51109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51110 (eval $ac_try) 2>&5
51111 ac_status=$?
51112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51113 (exit $ac_status); }; } &&
51114 { ac_try='test -s conftest$ac_exeext'
51115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51116 (eval $ac_try) 2>&5
51117 ac_status=$?
51118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51119 (exit $ac_status); }; }; then
51120 eval "$as_ac_var=yes"
51121 else
51122 echo "$as_me: failed program was:" >&5
51123 sed 's/^/| /' conftest.$ac_ext >&5
51125 eval "$as_ac_var=no"
51127 rm -f conftest.err conftest.$ac_objext \
51128 conftest$ac_exeext conftest.$ac_ext
51130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51132 if test `eval echo '${'$as_ac_var'}'` = yes; then
51133 cat >>confdefs.h <<_ACEOF
51134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51135 _ACEOF
51138 done
51140 else
51142 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
51143 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
51144 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51145 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
51146 echo $ECHO_N "(cached) $ECHO_C" >&6
51147 else
51151 ac_ext=cc
51152 ac_cpp='$CXXCPP $CPPFLAGS'
51153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51157 cat >conftest.$ac_ext <<_ACEOF
51158 /* confdefs.h. */
51159 _ACEOF
51160 cat confdefs.h >>conftest.$ac_ext
51161 cat >>conftest.$ac_ext <<_ACEOF
51162 /* end confdefs.h. */
51163 #include <math.h>
51164 #ifdef HAVE_IEEEFP_H
51165 #include <ieeefp.h>
51166 #endif
51169 main ()
51171 _log10f(0);
51173 return 0;
51175 _ACEOF
51176 rm -f conftest.$ac_objext
51177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51178 (eval $ac_compile) 2>conftest.er1
51179 ac_status=$?
51180 grep -v '^ *+' conftest.er1 >conftest.err
51181 rm -f conftest.er1
51182 cat conftest.err >&5
51183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51184 (exit $ac_status); } &&
51185 { ac_try='test -z "$ac_cxx_werror_flag"
51186 || test ! -s conftest.err'
51187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51188 (eval $ac_try) 2>&5
51189 ac_status=$?
51190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51191 (exit $ac_status); }; } &&
51192 { ac_try='test -s conftest.$ac_objext'
51193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51194 (eval $ac_try) 2>&5
51195 ac_status=$?
51196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51197 (exit $ac_status); }; }; then
51198 glibcxx_cv_func__log10f_use=yes
51199 else
51200 echo "$as_me: failed program was:" >&5
51201 sed 's/^/| /' conftest.$ac_ext >&5
51203 glibcxx_cv_func__log10f_use=no
51205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51206 ac_ext=c
51207 ac_cpp='$CPP $CPPFLAGS'
51208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51216 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
51217 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
51219 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51221 for ac_func in _log10f
51223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51224 echo "$as_me:$LINENO: checking for $ac_func" >&5
51225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51226 if eval "test \"\${$as_ac_var+set}\" = set"; then
51227 echo $ECHO_N "(cached) $ECHO_C" >&6
51228 else
51229 if test x$gcc_no_link = xyes; then
51230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51232 { (exit 1); exit 1; }; }
51234 cat >conftest.$ac_ext <<_ACEOF
51235 /* confdefs.h. */
51236 _ACEOF
51237 cat confdefs.h >>conftest.$ac_ext
51238 cat >>conftest.$ac_ext <<_ACEOF
51239 /* end confdefs.h. */
51240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51242 #define $ac_func innocuous_$ac_func
51244 /* System header to define __stub macros and hopefully few prototypes,
51245 which can conflict with char $ac_func (); below.
51246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51247 <limits.h> exists even on freestanding compilers. */
51249 #ifdef __STDC__
51250 # include <limits.h>
51251 #else
51252 # include <assert.h>
51253 #endif
51255 #undef $ac_func
51257 /* Override any gcc2 internal prototype to avoid an error. */
51258 #ifdef __cplusplus
51259 extern "C"
51261 #endif
51262 /* We use char because int might match the return type of a gcc2
51263 builtin and then its argument prototype would still apply. */
51264 char $ac_func ();
51265 /* The GNU C library defines this for functions which it implements
51266 to always fail with ENOSYS. Some functions are actually named
51267 something starting with __ and the normal name is an alias. */
51268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51269 choke me
51270 #else
51271 char (*f) () = $ac_func;
51272 #endif
51273 #ifdef __cplusplus
51275 #endif
51278 main ()
51280 return f != $ac_func;
51282 return 0;
51284 _ACEOF
51285 rm -f conftest.$ac_objext conftest$ac_exeext
51286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51287 (eval $ac_link) 2>conftest.er1
51288 ac_status=$?
51289 grep -v '^ *+' conftest.er1 >conftest.err
51290 rm -f conftest.er1
51291 cat conftest.err >&5
51292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51293 (exit $ac_status); } &&
51294 { ac_try='test -z "$ac_c_werror_flag"
51295 || test ! -s conftest.err'
51296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51297 (eval $ac_try) 2>&5
51298 ac_status=$?
51299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51300 (exit $ac_status); }; } &&
51301 { ac_try='test -s conftest$ac_exeext'
51302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51303 (eval $ac_try) 2>&5
51304 ac_status=$?
51305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51306 (exit $ac_status); }; }; then
51307 eval "$as_ac_var=yes"
51308 else
51309 echo "$as_me: failed program was:" >&5
51310 sed 's/^/| /' conftest.$ac_ext >&5
51312 eval "$as_ac_var=no"
51314 rm -f conftest.err conftest.$ac_objext \
51315 conftest$ac_exeext conftest.$ac_ext
51317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51319 if test `eval echo '${'$as_ac_var'}'` = yes; then
51320 cat >>confdefs.h <<_ACEOF
51321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51322 _ACEOF
51325 done
51335 echo "$as_me:$LINENO: checking for modff declaration" >&5
51336 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
51337 if test x${glibcxx_cv_func_modff_use+set} != xset; then
51338 if test "${glibcxx_cv_func_modff_use+set}" = set; then
51339 echo $ECHO_N "(cached) $ECHO_C" >&6
51340 else
51344 ac_ext=cc
51345 ac_cpp='$CXXCPP $CPPFLAGS'
51346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51350 cat >conftest.$ac_ext <<_ACEOF
51351 /* confdefs.h. */
51352 _ACEOF
51353 cat confdefs.h >>conftest.$ac_ext
51354 cat >>conftest.$ac_ext <<_ACEOF
51355 /* end confdefs.h. */
51356 #include <math.h>
51358 main ()
51360 modff(0, 0);
51362 return 0;
51364 _ACEOF
51365 rm -f conftest.$ac_objext
51366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51367 (eval $ac_compile) 2>conftest.er1
51368 ac_status=$?
51369 grep -v '^ *+' conftest.er1 >conftest.err
51370 rm -f conftest.er1
51371 cat conftest.err >&5
51372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51373 (exit $ac_status); } &&
51374 { ac_try='test -z "$ac_cxx_werror_flag"
51375 || test ! -s conftest.err'
51376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51377 (eval $ac_try) 2>&5
51378 ac_status=$?
51379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51380 (exit $ac_status); }; } &&
51381 { ac_try='test -s conftest.$ac_objext'
51382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51383 (eval $ac_try) 2>&5
51384 ac_status=$?
51385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51386 (exit $ac_status); }; }; then
51387 glibcxx_cv_func_modff_use=yes
51388 else
51389 echo "$as_me: failed program was:" >&5
51390 sed 's/^/| /' conftest.$ac_ext >&5
51392 glibcxx_cv_func_modff_use=no
51394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51395 ac_ext=c
51396 ac_cpp='$CPP $CPPFLAGS'
51397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51405 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
51406 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
51408 if test x$glibcxx_cv_func_modff_use = x"yes"; then
51410 for ac_func in modff
51412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51413 echo "$as_me:$LINENO: checking for $ac_func" >&5
51414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51415 if eval "test \"\${$as_ac_var+set}\" = set"; then
51416 echo $ECHO_N "(cached) $ECHO_C" >&6
51417 else
51418 if test x$gcc_no_link = xyes; then
51419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51421 { (exit 1); exit 1; }; }
51423 cat >conftest.$ac_ext <<_ACEOF
51424 /* confdefs.h. */
51425 _ACEOF
51426 cat confdefs.h >>conftest.$ac_ext
51427 cat >>conftest.$ac_ext <<_ACEOF
51428 /* end confdefs.h. */
51429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51431 #define $ac_func innocuous_$ac_func
51433 /* System header to define __stub macros and hopefully few prototypes,
51434 which can conflict with char $ac_func (); below.
51435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51436 <limits.h> exists even on freestanding compilers. */
51438 #ifdef __STDC__
51439 # include <limits.h>
51440 #else
51441 # include <assert.h>
51442 #endif
51444 #undef $ac_func
51446 /* Override any gcc2 internal prototype to avoid an error. */
51447 #ifdef __cplusplus
51448 extern "C"
51450 #endif
51451 /* We use char because int might match the return type of a gcc2
51452 builtin and then its argument prototype would still apply. */
51453 char $ac_func ();
51454 /* The GNU C library defines this for functions which it implements
51455 to always fail with ENOSYS. Some functions are actually named
51456 something starting with __ and the normal name is an alias. */
51457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51458 choke me
51459 #else
51460 char (*f) () = $ac_func;
51461 #endif
51462 #ifdef __cplusplus
51464 #endif
51467 main ()
51469 return f != $ac_func;
51471 return 0;
51473 _ACEOF
51474 rm -f conftest.$ac_objext conftest$ac_exeext
51475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51476 (eval $ac_link) 2>conftest.er1
51477 ac_status=$?
51478 grep -v '^ *+' conftest.er1 >conftest.err
51479 rm -f conftest.er1
51480 cat conftest.err >&5
51481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51482 (exit $ac_status); } &&
51483 { ac_try='test -z "$ac_c_werror_flag"
51484 || test ! -s conftest.err'
51485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51486 (eval $ac_try) 2>&5
51487 ac_status=$?
51488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51489 (exit $ac_status); }; } &&
51490 { ac_try='test -s conftest$ac_exeext'
51491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51492 (eval $ac_try) 2>&5
51493 ac_status=$?
51494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51495 (exit $ac_status); }; }; then
51496 eval "$as_ac_var=yes"
51497 else
51498 echo "$as_me: failed program was:" >&5
51499 sed 's/^/| /' conftest.$ac_ext >&5
51501 eval "$as_ac_var=no"
51503 rm -f conftest.err conftest.$ac_objext \
51504 conftest$ac_exeext conftest.$ac_ext
51506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51508 if test `eval echo '${'$as_ac_var'}'` = yes; then
51509 cat >>confdefs.h <<_ACEOF
51510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51511 _ACEOF
51514 done
51516 else
51518 echo "$as_me:$LINENO: checking for _modff declaration" >&5
51519 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
51520 if test x${glibcxx_cv_func__modff_use+set} != xset; then
51521 if test "${glibcxx_cv_func__modff_use+set}" = set; then
51522 echo $ECHO_N "(cached) $ECHO_C" >&6
51523 else
51527 ac_ext=cc
51528 ac_cpp='$CXXCPP $CPPFLAGS'
51529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51533 cat >conftest.$ac_ext <<_ACEOF
51534 /* confdefs.h. */
51535 _ACEOF
51536 cat confdefs.h >>conftest.$ac_ext
51537 cat >>conftest.$ac_ext <<_ACEOF
51538 /* end confdefs.h. */
51539 #include <math.h>
51541 main ()
51543 _modff(0, 0);
51545 return 0;
51547 _ACEOF
51548 rm -f conftest.$ac_objext
51549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51550 (eval $ac_compile) 2>conftest.er1
51551 ac_status=$?
51552 grep -v '^ *+' conftest.er1 >conftest.err
51553 rm -f conftest.er1
51554 cat conftest.err >&5
51555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51556 (exit $ac_status); } &&
51557 { ac_try='test -z "$ac_cxx_werror_flag"
51558 || test ! -s conftest.err'
51559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51560 (eval $ac_try) 2>&5
51561 ac_status=$?
51562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51563 (exit $ac_status); }; } &&
51564 { ac_try='test -s conftest.$ac_objext'
51565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51566 (eval $ac_try) 2>&5
51567 ac_status=$?
51568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51569 (exit $ac_status); }; }; then
51570 glibcxx_cv_func__modff_use=yes
51571 else
51572 echo "$as_me: failed program was:" >&5
51573 sed 's/^/| /' conftest.$ac_ext >&5
51575 glibcxx_cv_func__modff_use=no
51577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51578 ac_ext=c
51579 ac_cpp='$CPP $CPPFLAGS'
51580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
51589 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
51591 if test x$glibcxx_cv_func__modff_use = x"yes"; then
51593 for ac_func in _modff
51595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51596 echo "$as_me:$LINENO: checking for $ac_func" >&5
51597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51598 if eval "test \"\${$as_ac_var+set}\" = set"; then
51599 echo $ECHO_N "(cached) $ECHO_C" >&6
51600 else
51601 if test x$gcc_no_link = xyes; then
51602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51604 { (exit 1); exit 1; }; }
51606 cat >conftest.$ac_ext <<_ACEOF
51607 /* confdefs.h. */
51608 _ACEOF
51609 cat confdefs.h >>conftest.$ac_ext
51610 cat >>conftest.$ac_ext <<_ACEOF
51611 /* end confdefs.h. */
51612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51614 #define $ac_func innocuous_$ac_func
51616 /* System header to define __stub macros and hopefully few prototypes,
51617 which can conflict with char $ac_func (); below.
51618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51619 <limits.h> exists even on freestanding compilers. */
51621 #ifdef __STDC__
51622 # include <limits.h>
51623 #else
51624 # include <assert.h>
51625 #endif
51627 #undef $ac_func
51629 /* Override any gcc2 internal prototype to avoid an error. */
51630 #ifdef __cplusplus
51631 extern "C"
51633 #endif
51634 /* We use char because int might match the return type of a gcc2
51635 builtin and then its argument prototype would still apply. */
51636 char $ac_func ();
51637 /* The GNU C library defines this for functions which it implements
51638 to always fail with ENOSYS. Some functions are actually named
51639 something starting with __ and the normal name is an alias. */
51640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51641 choke me
51642 #else
51643 char (*f) () = $ac_func;
51644 #endif
51645 #ifdef __cplusplus
51647 #endif
51650 main ()
51652 return f != $ac_func;
51654 return 0;
51656 _ACEOF
51657 rm -f conftest.$ac_objext conftest$ac_exeext
51658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51659 (eval $ac_link) 2>conftest.er1
51660 ac_status=$?
51661 grep -v '^ *+' conftest.er1 >conftest.err
51662 rm -f conftest.er1
51663 cat conftest.err >&5
51664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51665 (exit $ac_status); } &&
51666 { ac_try='test -z "$ac_c_werror_flag"
51667 || test ! -s conftest.err'
51668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51669 (eval $ac_try) 2>&5
51670 ac_status=$?
51671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51672 (exit $ac_status); }; } &&
51673 { ac_try='test -s conftest$ac_exeext'
51674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51675 (eval $ac_try) 2>&5
51676 ac_status=$?
51677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51678 (exit $ac_status); }; }; then
51679 eval "$as_ac_var=yes"
51680 else
51681 echo "$as_me: failed program was:" >&5
51682 sed 's/^/| /' conftest.$ac_ext >&5
51684 eval "$as_ac_var=no"
51686 rm -f conftest.err conftest.$ac_objext \
51687 conftest$ac_exeext conftest.$ac_ext
51689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51691 if test `eval echo '${'$as_ac_var'}'` = yes; then
51692 cat >>confdefs.h <<_ACEOF
51693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51694 _ACEOF
51697 done
51707 echo "$as_me:$LINENO: checking for modf declaration" >&5
51708 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
51709 if test x${glibcxx_cv_func_modf_use+set} != xset; then
51710 if test "${glibcxx_cv_func_modf_use+set}" = set; then
51711 echo $ECHO_N "(cached) $ECHO_C" >&6
51712 else
51716 ac_ext=cc
51717 ac_cpp='$CXXCPP $CPPFLAGS'
51718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51722 cat >conftest.$ac_ext <<_ACEOF
51723 /* confdefs.h. */
51724 _ACEOF
51725 cat confdefs.h >>conftest.$ac_ext
51726 cat >>conftest.$ac_ext <<_ACEOF
51727 /* end confdefs.h. */
51728 #include <math.h>
51730 main ()
51732 modf(0, 0);
51734 return 0;
51736 _ACEOF
51737 rm -f conftest.$ac_objext
51738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51739 (eval $ac_compile) 2>conftest.er1
51740 ac_status=$?
51741 grep -v '^ *+' conftest.er1 >conftest.err
51742 rm -f conftest.er1
51743 cat conftest.err >&5
51744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51745 (exit $ac_status); } &&
51746 { ac_try='test -z "$ac_cxx_werror_flag"
51747 || test ! -s conftest.err'
51748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51749 (eval $ac_try) 2>&5
51750 ac_status=$?
51751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51752 (exit $ac_status); }; } &&
51753 { ac_try='test -s conftest.$ac_objext'
51754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51755 (eval $ac_try) 2>&5
51756 ac_status=$?
51757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51758 (exit $ac_status); }; }; then
51759 glibcxx_cv_func_modf_use=yes
51760 else
51761 echo "$as_me: failed program was:" >&5
51762 sed 's/^/| /' conftest.$ac_ext >&5
51764 glibcxx_cv_func_modf_use=no
51766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51767 ac_ext=c
51768 ac_cpp='$CPP $CPPFLAGS'
51769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51777 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
51778 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
51780 if test x$glibcxx_cv_func_modf_use = x"yes"; then
51782 for ac_func in modf
51784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51785 echo "$as_me:$LINENO: checking for $ac_func" >&5
51786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51787 if eval "test \"\${$as_ac_var+set}\" = set"; then
51788 echo $ECHO_N "(cached) $ECHO_C" >&6
51789 else
51790 if test x$gcc_no_link = xyes; then
51791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51793 { (exit 1); exit 1; }; }
51795 cat >conftest.$ac_ext <<_ACEOF
51796 /* confdefs.h. */
51797 _ACEOF
51798 cat confdefs.h >>conftest.$ac_ext
51799 cat >>conftest.$ac_ext <<_ACEOF
51800 /* end confdefs.h. */
51801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51803 #define $ac_func innocuous_$ac_func
51805 /* System header to define __stub macros and hopefully few prototypes,
51806 which can conflict with char $ac_func (); below.
51807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51808 <limits.h> exists even on freestanding compilers. */
51810 #ifdef __STDC__
51811 # include <limits.h>
51812 #else
51813 # include <assert.h>
51814 #endif
51816 #undef $ac_func
51818 /* Override any gcc2 internal prototype to avoid an error. */
51819 #ifdef __cplusplus
51820 extern "C"
51822 #endif
51823 /* We use char because int might match the return type of a gcc2
51824 builtin and then its argument prototype would still apply. */
51825 char $ac_func ();
51826 /* The GNU C library defines this for functions which it implements
51827 to always fail with ENOSYS. Some functions are actually named
51828 something starting with __ and the normal name is an alias. */
51829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51830 choke me
51831 #else
51832 char (*f) () = $ac_func;
51833 #endif
51834 #ifdef __cplusplus
51836 #endif
51839 main ()
51841 return f != $ac_func;
51843 return 0;
51845 _ACEOF
51846 rm -f conftest.$ac_objext conftest$ac_exeext
51847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51848 (eval $ac_link) 2>conftest.er1
51849 ac_status=$?
51850 grep -v '^ *+' conftest.er1 >conftest.err
51851 rm -f conftest.er1
51852 cat conftest.err >&5
51853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51854 (exit $ac_status); } &&
51855 { ac_try='test -z "$ac_c_werror_flag"
51856 || test ! -s conftest.err'
51857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51858 (eval $ac_try) 2>&5
51859 ac_status=$?
51860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51861 (exit $ac_status); }; } &&
51862 { ac_try='test -s conftest$ac_exeext'
51863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51864 (eval $ac_try) 2>&5
51865 ac_status=$?
51866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51867 (exit $ac_status); }; }; then
51868 eval "$as_ac_var=yes"
51869 else
51870 echo "$as_me: failed program was:" >&5
51871 sed 's/^/| /' conftest.$ac_ext >&5
51873 eval "$as_ac_var=no"
51875 rm -f conftest.err conftest.$ac_objext \
51876 conftest$ac_exeext conftest.$ac_ext
51878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51880 if test `eval echo '${'$as_ac_var'}'` = yes; then
51881 cat >>confdefs.h <<_ACEOF
51882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51883 _ACEOF
51886 done
51888 else
51890 echo "$as_me:$LINENO: checking for _modf declaration" >&5
51891 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
51892 if test x${glibcxx_cv_func__modf_use+set} != xset; then
51893 if test "${glibcxx_cv_func__modf_use+set}" = set; then
51894 echo $ECHO_N "(cached) $ECHO_C" >&6
51895 else
51899 ac_ext=cc
51900 ac_cpp='$CXXCPP $CPPFLAGS'
51901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51905 cat >conftest.$ac_ext <<_ACEOF
51906 /* confdefs.h. */
51907 _ACEOF
51908 cat confdefs.h >>conftest.$ac_ext
51909 cat >>conftest.$ac_ext <<_ACEOF
51910 /* end confdefs.h. */
51911 #include <math.h>
51913 main ()
51915 _modf(0, 0);
51917 return 0;
51919 _ACEOF
51920 rm -f conftest.$ac_objext
51921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51922 (eval $ac_compile) 2>conftest.er1
51923 ac_status=$?
51924 grep -v '^ *+' conftest.er1 >conftest.err
51925 rm -f conftest.er1
51926 cat conftest.err >&5
51927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51928 (exit $ac_status); } &&
51929 { ac_try='test -z "$ac_cxx_werror_flag"
51930 || test ! -s conftest.err'
51931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51932 (eval $ac_try) 2>&5
51933 ac_status=$?
51934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51935 (exit $ac_status); }; } &&
51936 { ac_try='test -s conftest.$ac_objext'
51937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51938 (eval $ac_try) 2>&5
51939 ac_status=$?
51940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51941 (exit $ac_status); }; }; then
51942 glibcxx_cv_func__modf_use=yes
51943 else
51944 echo "$as_me: failed program was:" >&5
51945 sed 's/^/| /' conftest.$ac_ext >&5
51947 glibcxx_cv_func__modf_use=no
51949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51950 ac_ext=c
51951 ac_cpp='$CPP $CPPFLAGS'
51952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51960 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
51961 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
51963 if test x$glibcxx_cv_func__modf_use = x"yes"; then
51965 for ac_func in _modf
51967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51968 echo "$as_me:$LINENO: checking for $ac_func" >&5
51969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51970 if eval "test \"\${$as_ac_var+set}\" = set"; then
51971 echo $ECHO_N "(cached) $ECHO_C" >&6
51972 else
51973 if test x$gcc_no_link = xyes; then
51974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51976 { (exit 1); exit 1; }; }
51978 cat >conftest.$ac_ext <<_ACEOF
51979 /* confdefs.h. */
51980 _ACEOF
51981 cat confdefs.h >>conftest.$ac_ext
51982 cat >>conftest.$ac_ext <<_ACEOF
51983 /* end confdefs.h. */
51984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51986 #define $ac_func innocuous_$ac_func
51988 /* System header to define __stub macros and hopefully few prototypes,
51989 which can conflict with char $ac_func (); below.
51990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51991 <limits.h> exists even on freestanding compilers. */
51993 #ifdef __STDC__
51994 # include <limits.h>
51995 #else
51996 # include <assert.h>
51997 #endif
51999 #undef $ac_func
52001 /* Override any gcc2 internal prototype to avoid an error. */
52002 #ifdef __cplusplus
52003 extern "C"
52005 #endif
52006 /* We use char because int might match the return type of a gcc2
52007 builtin and then its argument prototype would still apply. */
52008 char $ac_func ();
52009 /* The GNU C library defines this for functions which it implements
52010 to always fail with ENOSYS. Some functions are actually named
52011 something starting with __ and the normal name is an alias. */
52012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52013 choke me
52014 #else
52015 char (*f) () = $ac_func;
52016 #endif
52017 #ifdef __cplusplus
52019 #endif
52022 main ()
52024 return f != $ac_func;
52026 return 0;
52028 _ACEOF
52029 rm -f conftest.$ac_objext conftest$ac_exeext
52030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52031 (eval $ac_link) 2>conftest.er1
52032 ac_status=$?
52033 grep -v '^ *+' conftest.er1 >conftest.err
52034 rm -f conftest.er1
52035 cat conftest.err >&5
52036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52037 (exit $ac_status); } &&
52038 { ac_try='test -z "$ac_c_werror_flag"
52039 || test ! -s conftest.err'
52040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52041 (eval $ac_try) 2>&5
52042 ac_status=$?
52043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52044 (exit $ac_status); }; } &&
52045 { ac_try='test -s conftest$ac_exeext'
52046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52047 (eval $ac_try) 2>&5
52048 ac_status=$?
52049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52050 (exit $ac_status); }; }; then
52051 eval "$as_ac_var=yes"
52052 else
52053 echo "$as_me: failed program was:" >&5
52054 sed 's/^/| /' conftest.$ac_ext >&5
52056 eval "$as_ac_var=no"
52058 rm -f conftest.err conftest.$ac_objext \
52059 conftest$ac_exeext conftest.$ac_ext
52061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52063 if test `eval echo '${'$as_ac_var'}'` = yes; then
52064 cat >>confdefs.h <<_ACEOF
52065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52066 _ACEOF
52069 done
52079 echo "$as_me:$LINENO: checking for powf declaration" >&5
52080 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
52081 if test x${glibcxx_cv_func_powf_use+set} != xset; then
52082 if test "${glibcxx_cv_func_powf_use+set}" = set; then
52083 echo $ECHO_N "(cached) $ECHO_C" >&6
52084 else
52088 ac_ext=cc
52089 ac_cpp='$CXXCPP $CPPFLAGS'
52090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52094 cat >conftest.$ac_ext <<_ACEOF
52095 /* confdefs.h. */
52096 _ACEOF
52097 cat confdefs.h >>conftest.$ac_ext
52098 cat >>conftest.$ac_ext <<_ACEOF
52099 /* end confdefs.h. */
52100 #include <math.h>
52102 main ()
52104 powf(0, 0);
52106 return 0;
52108 _ACEOF
52109 rm -f conftest.$ac_objext
52110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52111 (eval $ac_compile) 2>conftest.er1
52112 ac_status=$?
52113 grep -v '^ *+' conftest.er1 >conftest.err
52114 rm -f conftest.er1
52115 cat conftest.err >&5
52116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52117 (exit $ac_status); } &&
52118 { ac_try='test -z "$ac_cxx_werror_flag"
52119 || test ! -s conftest.err'
52120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52121 (eval $ac_try) 2>&5
52122 ac_status=$?
52123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52124 (exit $ac_status); }; } &&
52125 { ac_try='test -s conftest.$ac_objext'
52126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52127 (eval $ac_try) 2>&5
52128 ac_status=$?
52129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52130 (exit $ac_status); }; }; then
52131 glibcxx_cv_func_powf_use=yes
52132 else
52133 echo "$as_me: failed program was:" >&5
52134 sed 's/^/| /' conftest.$ac_ext >&5
52136 glibcxx_cv_func_powf_use=no
52138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52139 ac_ext=c
52140 ac_cpp='$CPP $CPPFLAGS'
52141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52149 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
52150 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
52152 if test x$glibcxx_cv_func_powf_use = x"yes"; then
52154 for ac_func in powf
52156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52157 echo "$as_me:$LINENO: checking for $ac_func" >&5
52158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52159 if eval "test \"\${$as_ac_var+set}\" = set"; then
52160 echo $ECHO_N "(cached) $ECHO_C" >&6
52161 else
52162 if test x$gcc_no_link = xyes; then
52163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52165 { (exit 1); exit 1; }; }
52167 cat >conftest.$ac_ext <<_ACEOF
52168 /* confdefs.h. */
52169 _ACEOF
52170 cat confdefs.h >>conftest.$ac_ext
52171 cat >>conftest.$ac_ext <<_ACEOF
52172 /* end confdefs.h. */
52173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52175 #define $ac_func innocuous_$ac_func
52177 /* System header to define __stub macros and hopefully few prototypes,
52178 which can conflict with char $ac_func (); below.
52179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52180 <limits.h> exists even on freestanding compilers. */
52182 #ifdef __STDC__
52183 # include <limits.h>
52184 #else
52185 # include <assert.h>
52186 #endif
52188 #undef $ac_func
52190 /* Override any gcc2 internal prototype to avoid an error. */
52191 #ifdef __cplusplus
52192 extern "C"
52194 #endif
52195 /* We use char because int might match the return type of a gcc2
52196 builtin and then its argument prototype would still apply. */
52197 char $ac_func ();
52198 /* The GNU C library defines this for functions which it implements
52199 to always fail with ENOSYS. Some functions are actually named
52200 something starting with __ and the normal name is an alias. */
52201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52202 choke me
52203 #else
52204 char (*f) () = $ac_func;
52205 #endif
52206 #ifdef __cplusplus
52208 #endif
52211 main ()
52213 return f != $ac_func;
52215 return 0;
52217 _ACEOF
52218 rm -f conftest.$ac_objext conftest$ac_exeext
52219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52220 (eval $ac_link) 2>conftest.er1
52221 ac_status=$?
52222 grep -v '^ *+' conftest.er1 >conftest.err
52223 rm -f conftest.er1
52224 cat conftest.err >&5
52225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52226 (exit $ac_status); } &&
52227 { ac_try='test -z "$ac_c_werror_flag"
52228 || test ! -s conftest.err'
52229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52230 (eval $ac_try) 2>&5
52231 ac_status=$?
52232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52233 (exit $ac_status); }; } &&
52234 { ac_try='test -s conftest$ac_exeext'
52235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52236 (eval $ac_try) 2>&5
52237 ac_status=$?
52238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52239 (exit $ac_status); }; }; then
52240 eval "$as_ac_var=yes"
52241 else
52242 echo "$as_me: failed program was:" >&5
52243 sed 's/^/| /' conftest.$ac_ext >&5
52245 eval "$as_ac_var=no"
52247 rm -f conftest.err conftest.$ac_objext \
52248 conftest$ac_exeext conftest.$ac_ext
52250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52252 if test `eval echo '${'$as_ac_var'}'` = yes; then
52253 cat >>confdefs.h <<_ACEOF
52254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52255 _ACEOF
52258 done
52260 else
52262 echo "$as_me:$LINENO: checking for _powf declaration" >&5
52263 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
52264 if test x${glibcxx_cv_func__powf_use+set} != xset; then
52265 if test "${glibcxx_cv_func__powf_use+set}" = set; then
52266 echo $ECHO_N "(cached) $ECHO_C" >&6
52267 else
52271 ac_ext=cc
52272 ac_cpp='$CXXCPP $CPPFLAGS'
52273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52277 cat >conftest.$ac_ext <<_ACEOF
52278 /* confdefs.h. */
52279 _ACEOF
52280 cat confdefs.h >>conftest.$ac_ext
52281 cat >>conftest.$ac_ext <<_ACEOF
52282 /* end confdefs.h. */
52283 #include <math.h>
52285 main ()
52287 _powf(0, 0);
52289 return 0;
52291 _ACEOF
52292 rm -f conftest.$ac_objext
52293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52294 (eval $ac_compile) 2>conftest.er1
52295 ac_status=$?
52296 grep -v '^ *+' conftest.er1 >conftest.err
52297 rm -f conftest.er1
52298 cat conftest.err >&5
52299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52300 (exit $ac_status); } &&
52301 { ac_try='test -z "$ac_cxx_werror_flag"
52302 || test ! -s conftest.err'
52303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52304 (eval $ac_try) 2>&5
52305 ac_status=$?
52306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52307 (exit $ac_status); }; } &&
52308 { ac_try='test -s conftest.$ac_objext'
52309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52310 (eval $ac_try) 2>&5
52311 ac_status=$?
52312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52313 (exit $ac_status); }; }; then
52314 glibcxx_cv_func__powf_use=yes
52315 else
52316 echo "$as_me: failed program was:" >&5
52317 sed 's/^/| /' conftest.$ac_ext >&5
52319 glibcxx_cv_func__powf_use=no
52321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52322 ac_ext=c
52323 ac_cpp='$CPP $CPPFLAGS'
52324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52332 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
52333 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
52335 if test x$glibcxx_cv_func__powf_use = x"yes"; then
52337 for ac_func in _powf
52339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52340 echo "$as_me:$LINENO: checking for $ac_func" >&5
52341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52342 if eval "test \"\${$as_ac_var+set}\" = set"; then
52343 echo $ECHO_N "(cached) $ECHO_C" >&6
52344 else
52345 if test x$gcc_no_link = xyes; then
52346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52348 { (exit 1); exit 1; }; }
52350 cat >conftest.$ac_ext <<_ACEOF
52351 /* confdefs.h. */
52352 _ACEOF
52353 cat confdefs.h >>conftest.$ac_ext
52354 cat >>conftest.$ac_ext <<_ACEOF
52355 /* end confdefs.h. */
52356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52358 #define $ac_func innocuous_$ac_func
52360 /* System header to define __stub macros and hopefully few prototypes,
52361 which can conflict with char $ac_func (); below.
52362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52363 <limits.h> exists even on freestanding compilers. */
52365 #ifdef __STDC__
52366 # include <limits.h>
52367 #else
52368 # include <assert.h>
52369 #endif
52371 #undef $ac_func
52373 /* Override any gcc2 internal prototype to avoid an error. */
52374 #ifdef __cplusplus
52375 extern "C"
52377 #endif
52378 /* We use char because int might match the return type of a gcc2
52379 builtin and then its argument prototype would still apply. */
52380 char $ac_func ();
52381 /* The GNU C library defines this for functions which it implements
52382 to always fail with ENOSYS. Some functions are actually named
52383 something starting with __ and the normal name is an alias. */
52384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52385 choke me
52386 #else
52387 char (*f) () = $ac_func;
52388 #endif
52389 #ifdef __cplusplus
52391 #endif
52394 main ()
52396 return f != $ac_func;
52398 return 0;
52400 _ACEOF
52401 rm -f conftest.$ac_objext conftest$ac_exeext
52402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52403 (eval $ac_link) 2>conftest.er1
52404 ac_status=$?
52405 grep -v '^ *+' conftest.er1 >conftest.err
52406 rm -f conftest.er1
52407 cat conftest.err >&5
52408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52409 (exit $ac_status); } &&
52410 { ac_try='test -z "$ac_c_werror_flag"
52411 || test ! -s conftest.err'
52412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52413 (eval $ac_try) 2>&5
52414 ac_status=$?
52415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52416 (exit $ac_status); }; } &&
52417 { ac_try='test -s conftest$ac_exeext'
52418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52419 (eval $ac_try) 2>&5
52420 ac_status=$?
52421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52422 (exit $ac_status); }; }; then
52423 eval "$as_ac_var=yes"
52424 else
52425 echo "$as_me: failed program was:" >&5
52426 sed 's/^/| /' conftest.$ac_ext >&5
52428 eval "$as_ac_var=no"
52430 rm -f conftest.err conftest.$ac_objext \
52431 conftest$ac_exeext conftest.$ac_ext
52433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52435 if test `eval echo '${'$as_ac_var'}'` = yes; then
52436 cat >>confdefs.h <<_ACEOF
52437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52438 _ACEOF
52441 done
52451 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
52452 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
52453 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52454 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
52455 echo $ECHO_N "(cached) $ECHO_C" >&6
52456 else
52460 ac_ext=cc
52461 ac_cpp='$CXXCPP $CPPFLAGS'
52462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52466 cat >conftest.$ac_ext <<_ACEOF
52467 /* confdefs.h. */
52468 _ACEOF
52469 cat confdefs.h >>conftest.$ac_ext
52470 cat >>conftest.$ac_ext <<_ACEOF
52471 /* end confdefs.h. */
52472 #include <math.h>
52473 #ifdef HAVE_IEEEFP_H
52474 #include <ieeefp.h>
52475 #endif
52478 main ()
52480 sqrtf(0);
52482 return 0;
52484 _ACEOF
52485 rm -f conftest.$ac_objext
52486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52487 (eval $ac_compile) 2>conftest.er1
52488 ac_status=$?
52489 grep -v '^ *+' conftest.er1 >conftest.err
52490 rm -f conftest.er1
52491 cat conftest.err >&5
52492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52493 (exit $ac_status); } &&
52494 { ac_try='test -z "$ac_cxx_werror_flag"
52495 || test ! -s conftest.err'
52496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52497 (eval $ac_try) 2>&5
52498 ac_status=$?
52499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52500 (exit $ac_status); }; } &&
52501 { ac_try='test -s conftest.$ac_objext'
52502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52503 (eval $ac_try) 2>&5
52504 ac_status=$?
52505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52506 (exit $ac_status); }; }; then
52507 glibcxx_cv_func_sqrtf_use=yes
52508 else
52509 echo "$as_me: failed program was:" >&5
52510 sed 's/^/| /' conftest.$ac_ext >&5
52512 glibcxx_cv_func_sqrtf_use=no
52514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52515 ac_ext=c
52516 ac_cpp='$CPP $CPPFLAGS'
52517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52525 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
52526 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
52528 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
52530 for ac_func in sqrtf
52532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52533 echo "$as_me:$LINENO: checking for $ac_func" >&5
52534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52535 if eval "test \"\${$as_ac_var+set}\" = set"; then
52536 echo $ECHO_N "(cached) $ECHO_C" >&6
52537 else
52538 if test x$gcc_no_link = xyes; then
52539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52541 { (exit 1); exit 1; }; }
52543 cat >conftest.$ac_ext <<_ACEOF
52544 /* confdefs.h. */
52545 _ACEOF
52546 cat confdefs.h >>conftest.$ac_ext
52547 cat >>conftest.$ac_ext <<_ACEOF
52548 /* end confdefs.h. */
52549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52551 #define $ac_func innocuous_$ac_func
52553 /* System header to define __stub macros and hopefully few prototypes,
52554 which can conflict with char $ac_func (); below.
52555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52556 <limits.h> exists even on freestanding compilers. */
52558 #ifdef __STDC__
52559 # include <limits.h>
52560 #else
52561 # include <assert.h>
52562 #endif
52564 #undef $ac_func
52566 /* Override any gcc2 internal prototype to avoid an error. */
52567 #ifdef __cplusplus
52568 extern "C"
52570 #endif
52571 /* We use char because int might match the return type of a gcc2
52572 builtin and then its argument prototype would still apply. */
52573 char $ac_func ();
52574 /* The GNU C library defines this for functions which it implements
52575 to always fail with ENOSYS. Some functions are actually named
52576 something starting with __ and the normal name is an alias. */
52577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52578 choke me
52579 #else
52580 char (*f) () = $ac_func;
52581 #endif
52582 #ifdef __cplusplus
52584 #endif
52587 main ()
52589 return f != $ac_func;
52591 return 0;
52593 _ACEOF
52594 rm -f conftest.$ac_objext conftest$ac_exeext
52595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52596 (eval $ac_link) 2>conftest.er1
52597 ac_status=$?
52598 grep -v '^ *+' conftest.er1 >conftest.err
52599 rm -f conftest.er1
52600 cat conftest.err >&5
52601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52602 (exit $ac_status); } &&
52603 { ac_try='test -z "$ac_c_werror_flag"
52604 || test ! -s conftest.err'
52605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52606 (eval $ac_try) 2>&5
52607 ac_status=$?
52608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52609 (exit $ac_status); }; } &&
52610 { ac_try='test -s conftest$ac_exeext'
52611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52612 (eval $ac_try) 2>&5
52613 ac_status=$?
52614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52615 (exit $ac_status); }; }; then
52616 eval "$as_ac_var=yes"
52617 else
52618 echo "$as_me: failed program was:" >&5
52619 sed 's/^/| /' conftest.$ac_ext >&5
52621 eval "$as_ac_var=no"
52623 rm -f conftest.err conftest.$ac_objext \
52624 conftest$ac_exeext conftest.$ac_ext
52626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52628 if test `eval echo '${'$as_ac_var'}'` = yes; then
52629 cat >>confdefs.h <<_ACEOF
52630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52631 _ACEOF
52634 done
52636 else
52638 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
52639 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
52640 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
52641 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
52642 echo $ECHO_N "(cached) $ECHO_C" >&6
52643 else
52647 ac_ext=cc
52648 ac_cpp='$CXXCPP $CPPFLAGS'
52649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52653 cat >conftest.$ac_ext <<_ACEOF
52654 /* confdefs.h. */
52655 _ACEOF
52656 cat confdefs.h >>conftest.$ac_ext
52657 cat >>conftest.$ac_ext <<_ACEOF
52658 /* end confdefs.h. */
52659 #include <math.h>
52660 #ifdef HAVE_IEEEFP_H
52661 #include <ieeefp.h>
52662 #endif
52665 main ()
52667 _sqrtf(0);
52669 return 0;
52671 _ACEOF
52672 rm -f conftest.$ac_objext
52673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52674 (eval $ac_compile) 2>conftest.er1
52675 ac_status=$?
52676 grep -v '^ *+' conftest.er1 >conftest.err
52677 rm -f conftest.er1
52678 cat conftest.err >&5
52679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52680 (exit $ac_status); } &&
52681 { ac_try='test -z "$ac_cxx_werror_flag"
52682 || test ! -s conftest.err'
52683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52684 (eval $ac_try) 2>&5
52685 ac_status=$?
52686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52687 (exit $ac_status); }; } &&
52688 { ac_try='test -s conftest.$ac_objext'
52689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52690 (eval $ac_try) 2>&5
52691 ac_status=$?
52692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52693 (exit $ac_status); }; }; then
52694 glibcxx_cv_func__sqrtf_use=yes
52695 else
52696 echo "$as_me: failed program was:" >&5
52697 sed 's/^/| /' conftest.$ac_ext >&5
52699 glibcxx_cv_func__sqrtf_use=no
52701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52702 ac_ext=c
52703 ac_cpp='$CPP $CPPFLAGS'
52704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52712 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
52713 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
52715 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
52717 for ac_func in _sqrtf
52719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52720 echo "$as_me:$LINENO: checking for $ac_func" >&5
52721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52722 if eval "test \"\${$as_ac_var+set}\" = set"; then
52723 echo $ECHO_N "(cached) $ECHO_C" >&6
52724 else
52725 if test x$gcc_no_link = xyes; then
52726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52728 { (exit 1); exit 1; }; }
52730 cat >conftest.$ac_ext <<_ACEOF
52731 /* confdefs.h. */
52732 _ACEOF
52733 cat confdefs.h >>conftest.$ac_ext
52734 cat >>conftest.$ac_ext <<_ACEOF
52735 /* end confdefs.h. */
52736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52738 #define $ac_func innocuous_$ac_func
52740 /* System header to define __stub macros and hopefully few prototypes,
52741 which can conflict with char $ac_func (); below.
52742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52743 <limits.h> exists even on freestanding compilers. */
52745 #ifdef __STDC__
52746 # include <limits.h>
52747 #else
52748 # include <assert.h>
52749 #endif
52751 #undef $ac_func
52753 /* Override any gcc2 internal prototype to avoid an error. */
52754 #ifdef __cplusplus
52755 extern "C"
52757 #endif
52758 /* We use char because int might match the return type of a gcc2
52759 builtin and then its argument prototype would still apply. */
52760 char $ac_func ();
52761 /* The GNU C library defines this for functions which it implements
52762 to always fail with ENOSYS. Some functions are actually named
52763 something starting with __ and the normal name is an alias. */
52764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52765 choke me
52766 #else
52767 char (*f) () = $ac_func;
52768 #endif
52769 #ifdef __cplusplus
52771 #endif
52774 main ()
52776 return f != $ac_func;
52778 return 0;
52780 _ACEOF
52781 rm -f conftest.$ac_objext conftest$ac_exeext
52782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52783 (eval $ac_link) 2>conftest.er1
52784 ac_status=$?
52785 grep -v '^ *+' conftest.er1 >conftest.err
52786 rm -f conftest.er1
52787 cat conftest.err >&5
52788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52789 (exit $ac_status); } &&
52790 { ac_try='test -z "$ac_c_werror_flag"
52791 || test ! -s conftest.err'
52792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52793 (eval $ac_try) 2>&5
52794 ac_status=$?
52795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52796 (exit $ac_status); }; } &&
52797 { ac_try='test -s conftest$ac_exeext'
52798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52799 (eval $ac_try) 2>&5
52800 ac_status=$?
52801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52802 (exit $ac_status); }; }; then
52803 eval "$as_ac_var=yes"
52804 else
52805 echo "$as_me: failed program was:" >&5
52806 sed 's/^/| /' conftest.$ac_ext >&5
52808 eval "$as_ac_var=no"
52810 rm -f conftest.err conftest.$ac_objext \
52811 conftest$ac_exeext conftest.$ac_ext
52813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52815 if test `eval echo '${'$as_ac_var'}'` = yes; then
52816 cat >>confdefs.h <<_ACEOF
52817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52818 _ACEOF
52821 done
52831 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
52832 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
52833 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
52834 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
52835 echo $ECHO_N "(cached) $ECHO_C" >&6
52836 else
52840 ac_ext=cc
52841 ac_cpp='$CXXCPP $CPPFLAGS'
52842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52846 cat >conftest.$ac_ext <<_ACEOF
52847 /* confdefs.h. */
52848 _ACEOF
52849 cat confdefs.h >>conftest.$ac_ext
52850 cat >>conftest.$ac_ext <<_ACEOF
52851 /* end confdefs.h. */
52852 #include <math.h>
52854 main ()
52856 sincosf(0, 0, 0);
52858 return 0;
52860 _ACEOF
52861 rm -f conftest.$ac_objext
52862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52863 (eval $ac_compile) 2>conftest.er1
52864 ac_status=$?
52865 grep -v '^ *+' conftest.er1 >conftest.err
52866 rm -f conftest.er1
52867 cat conftest.err >&5
52868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52869 (exit $ac_status); } &&
52870 { ac_try='test -z "$ac_cxx_werror_flag"
52871 || test ! -s conftest.err'
52872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52873 (eval $ac_try) 2>&5
52874 ac_status=$?
52875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52876 (exit $ac_status); }; } &&
52877 { ac_try='test -s conftest.$ac_objext'
52878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52879 (eval $ac_try) 2>&5
52880 ac_status=$?
52881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52882 (exit $ac_status); }; }; then
52883 glibcxx_cv_func_sincosf_use=yes
52884 else
52885 echo "$as_me: failed program was:" >&5
52886 sed 's/^/| /' conftest.$ac_ext >&5
52888 glibcxx_cv_func_sincosf_use=no
52890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52891 ac_ext=c
52892 ac_cpp='$CPP $CPPFLAGS'
52893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52901 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
52902 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
52904 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
52906 for ac_func in sincosf
52908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52909 echo "$as_me:$LINENO: checking for $ac_func" >&5
52910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52911 if eval "test \"\${$as_ac_var+set}\" = set"; then
52912 echo $ECHO_N "(cached) $ECHO_C" >&6
52913 else
52914 if test x$gcc_no_link = xyes; then
52915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52917 { (exit 1); exit 1; }; }
52919 cat >conftest.$ac_ext <<_ACEOF
52920 /* confdefs.h. */
52921 _ACEOF
52922 cat confdefs.h >>conftest.$ac_ext
52923 cat >>conftest.$ac_ext <<_ACEOF
52924 /* end confdefs.h. */
52925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52927 #define $ac_func innocuous_$ac_func
52929 /* System header to define __stub macros and hopefully few prototypes,
52930 which can conflict with char $ac_func (); below.
52931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52932 <limits.h> exists even on freestanding compilers. */
52934 #ifdef __STDC__
52935 # include <limits.h>
52936 #else
52937 # include <assert.h>
52938 #endif
52940 #undef $ac_func
52942 /* Override any gcc2 internal prototype to avoid an error. */
52943 #ifdef __cplusplus
52944 extern "C"
52946 #endif
52947 /* We use char because int might match the return type of a gcc2
52948 builtin and then its argument prototype would still apply. */
52949 char $ac_func ();
52950 /* The GNU C library defines this for functions which it implements
52951 to always fail with ENOSYS. Some functions are actually named
52952 something starting with __ and the normal name is an alias. */
52953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52954 choke me
52955 #else
52956 char (*f) () = $ac_func;
52957 #endif
52958 #ifdef __cplusplus
52960 #endif
52963 main ()
52965 return f != $ac_func;
52967 return 0;
52969 _ACEOF
52970 rm -f conftest.$ac_objext conftest$ac_exeext
52971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52972 (eval $ac_link) 2>conftest.er1
52973 ac_status=$?
52974 grep -v '^ *+' conftest.er1 >conftest.err
52975 rm -f conftest.er1
52976 cat conftest.err >&5
52977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52978 (exit $ac_status); } &&
52979 { ac_try='test -z "$ac_c_werror_flag"
52980 || test ! -s conftest.err'
52981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52982 (eval $ac_try) 2>&5
52983 ac_status=$?
52984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52985 (exit $ac_status); }; } &&
52986 { ac_try='test -s conftest$ac_exeext'
52987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52988 (eval $ac_try) 2>&5
52989 ac_status=$?
52990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52991 (exit $ac_status); }; }; then
52992 eval "$as_ac_var=yes"
52993 else
52994 echo "$as_me: failed program was:" >&5
52995 sed 's/^/| /' conftest.$ac_ext >&5
52997 eval "$as_ac_var=no"
52999 rm -f conftest.err conftest.$ac_objext \
53000 conftest$ac_exeext conftest.$ac_ext
53002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53004 if test `eval echo '${'$as_ac_var'}'` = yes; then
53005 cat >>confdefs.h <<_ACEOF
53006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53007 _ACEOF
53010 done
53012 else
53014 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
53015 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
53016 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
53017 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
53018 echo $ECHO_N "(cached) $ECHO_C" >&6
53019 else
53023 ac_ext=cc
53024 ac_cpp='$CXXCPP $CPPFLAGS'
53025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53029 cat >conftest.$ac_ext <<_ACEOF
53030 /* confdefs.h. */
53031 _ACEOF
53032 cat confdefs.h >>conftest.$ac_ext
53033 cat >>conftest.$ac_ext <<_ACEOF
53034 /* end confdefs.h. */
53035 #include <math.h>
53037 main ()
53039 _sincosf(0, 0, 0);
53041 return 0;
53043 _ACEOF
53044 rm -f conftest.$ac_objext
53045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53046 (eval $ac_compile) 2>conftest.er1
53047 ac_status=$?
53048 grep -v '^ *+' conftest.er1 >conftest.err
53049 rm -f conftest.er1
53050 cat conftest.err >&5
53051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53052 (exit $ac_status); } &&
53053 { ac_try='test -z "$ac_cxx_werror_flag"
53054 || test ! -s conftest.err'
53055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53056 (eval $ac_try) 2>&5
53057 ac_status=$?
53058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53059 (exit $ac_status); }; } &&
53060 { ac_try='test -s conftest.$ac_objext'
53061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53062 (eval $ac_try) 2>&5
53063 ac_status=$?
53064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53065 (exit $ac_status); }; }; then
53066 glibcxx_cv_func__sincosf_use=yes
53067 else
53068 echo "$as_me: failed program was:" >&5
53069 sed 's/^/| /' conftest.$ac_ext >&5
53071 glibcxx_cv_func__sincosf_use=no
53073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53074 ac_ext=c
53075 ac_cpp='$CPP $CPPFLAGS'
53076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53084 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
53085 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
53087 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53089 for ac_func in _sincosf
53091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53092 echo "$as_me:$LINENO: checking for $ac_func" >&5
53093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53094 if eval "test \"\${$as_ac_var+set}\" = set"; then
53095 echo $ECHO_N "(cached) $ECHO_C" >&6
53096 else
53097 if test x$gcc_no_link = xyes; then
53098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53100 { (exit 1); exit 1; }; }
53102 cat >conftest.$ac_ext <<_ACEOF
53103 /* confdefs.h. */
53104 _ACEOF
53105 cat confdefs.h >>conftest.$ac_ext
53106 cat >>conftest.$ac_ext <<_ACEOF
53107 /* end confdefs.h. */
53108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53110 #define $ac_func innocuous_$ac_func
53112 /* System header to define __stub macros and hopefully few prototypes,
53113 which can conflict with char $ac_func (); below.
53114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53115 <limits.h> exists even on freestanding compilers. */
53117 #ifdef __STDC__
53118 # include <limits.h>
53119 #else
53120 # include <assert.h>
53121 #endif
53123 #undef $ac_func
53125 /* Override any gcc2 internal prototype to avoid an error. */
53126 #ifdef __cplusplus
53127 extern "C"
53129 #endif
53130 /* We use char because int might match the return type of a gcc2
53131 builtin and then its argument prototype would still apply. */
53132 char $ac_func ();
53133 /* The GNU C library defines this for functions which it implements
53134 to always fail with ENOSYS. Some functions are actually named
53135 something starting with __ and the normal name is an alias. */
53136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53137 choke me
53138 #else
53139 char (*f) () = $ac_func;
53140 #endif
53141 #ifdef __cplusplus
53143 #endif
53146 main ()
53148 return f != $ac_func;
53150 return 0;
53152 _ACEOF
53153 rm -f conftest.$ac_objext conftest$ac_exeext
53154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53155 (eval $ac_link) 2>conftest.er1
53156 ac_status=$?
53157 grep -v '^ *+' conftest.er1 >conftest.err
53158 rm -f conftest.er1
53159 cat conftest.err >&5
53160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53161 (exit $ac_status); } &&
53162 { ac_try='test -z "$ac_c_werror_flag"
53163 || test ! -s conftest.err'
53164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53165 (eval $ac_try) 2>&5
53166 ac_status=$?
53167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53168 (exit $ac_status); }; } &&
53169 { ac_try='test -s conftest$ac_exeext'
53170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53171 (eval $ac_try) 2>&5
53172 ac_status=$?
53173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53174 (exit $ac_status); }; }; then
53175 eval "$as_ac_var=yes"
53176 else
53177 echo "$as_me: failed program was:" >&5
53178 sed 's/^/| /' conftest.$ac_ext >&5
53180 eval "$as_ac_var=no"
53182 rm -f conftest.err conftest.$ac_objext \
53183 conftest$ac_exeext conftest.$ac_ext
53185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53187 if test `eval echo '${'$as_ac_var'}'` = yes; then
53188 cat >>confdefs.h <<_ACEOF
53189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53190 _ACEOF
53193 done
53203 echo "$as_me:$LINENO: checking for finitef declaration" >&5
53204 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
53205 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53206 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
53207 echo $ECHO_N "(cached) $ECHO_C" >&6
53208 else
53212 ac_ext=cc
53213 ac_cpp='$CXXCPP $CPPFLAGS'
53214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53218 cat >conftest.$ac_ext <<_ACEOF
53219 /* confdefs.h. */
53220 _ACEOF
53221 cat confdefs.h >>conftest.$ac_ext
53222 cat >>conftest.$ac_ext <<_ACEOF
53223 /* end confdefs.h. */
53224 #include <math.h>
53225 #ifdef HAVE_IEEEFP_H
53226 #include <ieeefp.h>
53227 #endif
53230 main ()
53232 finitef(0);
53234 return 0;
53236 _ACEOF
53237 rm -f conftest.$ac_objext
53238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53239 (eval $ac_compile) 2>conftest.er1
53240 ac_status=$?
53241 grep -v '^ *+' conftest.er1 >conftest.err
53242 rm -f conftest.er1
53243 cat conftest.err >&5
53244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53245 (exit $ac_status); } &&
53246 { ac_try='test -z "$ac_cxx_werror_flag"
53247 || test ! -s conftest.err'
53248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53249 (eval $ac_try) 2>&5
53250 ac_status=$?
53251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53252 (exit $ac_status); }; } &&
53253 { ac_try='test -s conftest.$ac_objext'
53254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53255 (eval $ac_try) 2>&5
53256 ac_status=$?
53257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53258 (exit $ac_status); }; }; then
53259 glibcxx_cv_func_finitef_use=yes
53260 else
53261 echo "$as_me: failed program was:" >&5
53262 sed 's/^/| /' conftest.$ac_ext >&5
53264 glibcxx_cv_func_finitef_use=no
53266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53267 ac_ext=c
53268 ac_cpp='$CPP $CPPFLAGS'
53269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53277 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
53278 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
53280 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53282 for ac_func in finitef
53284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53285 echo "$as_me:$LINENO: checking for $ac_func" >&5
53286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53287 if eval "test \"\${$as_ac_var+set}\" = set"; then
53288 echo $ECHO_N "(cached) $ECHO_C" >&6
53289 else
53290 if test x$gcc_no_link = xyes; then
53291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53293 { (exit 1); exit 1; }; }
53295 cat >conftest.$ac_ext <<_ACEOF
53296 /* confdefs.h. */
53297 _ACEOF
53298 cat confdefs.h >>conftest.$ac_ext
53299 cat >>conftest.$ac_ext <<_ACEOF
53300 /* end confdefs.h. */
53301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53303 #define $ac_func innocuous_$ac_func
53305 /* System header to define __stub macros and hopefully few prototypes,
53306 which can conflict with char $ac_func (); below.
53307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53308 <limits.h> exists even on freestanding compilers. */
53310 #ifdef __STDC__
53311 # include <limits.h>
53312 #else
53313 # include <assert.h>
53314 #endif
53316 #undef $ac_func
53318 /* Override any gcc2 internal prototype to avoid an error. */
53319 #ifdef __cplusplus
53320 extern "C"
53322 #endif
53323 /* We use char because int might match the return type of a gcc2
53324 builtin and then its argument prototype would still apply. */
53325 char $ac_func ();
53326 /* The GNU C library defines this for functions which it implements
53327 to always fail with ENOSYS. Some functions are actually named
53328 something starting with __ and the normal name is an alias. */
53329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53330 choke me
53331 #else
53332 char (*f) () = $ac_func;
53333 #endif
53334 #ifdef __cplusplus
53336 #endif
53339 main ()
53341 return f != $ac_func;
53343 return 0;
53345 _ACEOF
53346 rm -f conftest.$ac_objext conftest$ac_exeext
53347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53348 (eval $ac_link) 2>conftest.er1
53349 ac_status=$?
53350 grep -v '^ *+' conftest.er1 >conftest.err
53351 rm -f conftest.er1
53352 cat conftest.err >&5
53353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53354 (exit $ac_status); } &&
53355 { ac_try='test -z "$ac_c_werror_flag"
53356 || test ! -s conftest.err'
53357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53358 (eval $ac_try) 2>&5
53359 ac_status=$?
53360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53361 (exit $ac_status); }; } &&
53362 { ac_try='test -s conftest$ac_exeext'
53363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53364 (eval $ac_try) 2>&5
53365 ac_status=$?
53366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53367 (exit $ac_status); }; }; then
53368 eval "$as_ac_var=yes"
53369 else
53370 echo "$as_me: failed program was:" >&5
53371 sed 's/^/| /' conftest.$ac_ext >&5
53373 eval "$as_ac_var=no"
53375 rm -f conftest.err conftest.$ac_objext \
53376 conftest$ac_exeext conftest.$ac_ext
53378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53380 if test `eval echo '${'$as_ac_var'}'` = yes; then
53381 cat >>confdefs.h <<_ACEOF
53382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53383 _ACEOF
53386 done
53388 else
53390 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
53391 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
53392 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53393 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
53394 echo $ECHO_N "(cached) $ECHO_C" >&6
53395 else
53399 ac_ext=cc
53400 ac_cpp='$CXXCPP $CPPFLAGS'
53401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53405 cat >conftest.$ac_ext <<_ACEOF
53406 /* confdefs.h. */
53407 _ACEOF
53408 cat confdefs.h >>conftest.$ac_ext
53409 cat >>conftest.$ac_ext <<_ACEOF
53410 /* end confdefs.h. */
53411 #include <math.h>
53412 #ifdef HAVE_IEEEFP_H
53413 #include <ieeefp.h>
53414 #endif
53417 main ()
53419 _finitef(0);
53421 return 0;
53423 _ACEOF
53424 rm -f conftest.$ac_objext
53425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53426 (eval $ac_compile) 2>conftest.er1
53427 ac_status=$?
53428 grep -v '^ *+' conftest.er1 >conftest.err
53429 rm -f conftest.er1
53430 cat conftest.err >&5
53431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53432 (exit $ac_status); } &&
53433 { ac_try='test -z "$ac_cxx_werror_flag"
53434 || test ! -s conftest.err'
53435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53436 (eval $ac_try) 2>&5
53437 ac_status=$?
53438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53439 (exit $ac_status); }; } &&
53440 { ac_try='test -s conftest.$ac_objext'
53441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53442 (eval $ac_try) 2>&5
53443 ac_status=$?
53444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53445 (exit $ac_status); }; }; then
53446 glibcxx_cv_func__finitef_use=yes
53447 else
53448 echo "$as_me: failed program was:" >&5
53449 sed 's/^/| /' conftest.$ac_ext >&5
53451 glibcxx_cv_func__finitef_use=no
53453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53454 ac_ext=c
53455 ac_cpp='$CPP $CPPFLAGS'
53456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53464 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
53465 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
53467 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53469 for ac_func in _finitef
53471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53472 echo "$as_me:$LINENO: checking for $ac_func" >&5
53473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53474 if eval "test \"\${$as_ac_var+set}\" = set"; then
53475 echo $ECHO_N "(cached) $ECHO_C" >&6
53476 else
53477 if test x$gcc_no_link = xyes; then
53478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53480 { (exit 1); exit 1; }; }
53482 cat >conftest.$ac_ext <<_ACEOF
53483 /* confdefs.h. */
53484 _ACEOF
53485 cat confdefs.h >>conftest.$ac_ext
53486 cat >>conftest.$ac_ext <<_ACEOF
53487 /* end confdefs.h. */
53488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53490 #define $ac_func innocuous_$ac_func
53492 /* System header to define __stub macros and hopefully few prototypes,
53493 which can conflict with char $ac_func (); below.
53494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53495 <limits.h> exists even on freestanding compilers. */
53497 #ifdef __STDC__
53498 # include <limits.h>
53499 #else
53500 # include <assert.h>
53501 #endif
53503 #undef $ac_func
53505 /* Override any gcc2 internal prototype to avoid an error. */
53506 #ifdef __cplusplus
53507 extern "C"
53509 #endif
53510 /* We use char because int might match the return type of a gcc2
53511 builtin and then its argument prototype would still apply. */
53512 char $ac_func ();
53513 /* The GNU C library defines this for functions which it implements
53514 to always fail with ENOSYS. Some functions are actually named
53515 something starting with __ and the normal name is an alias. */
53516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53517 choke me
53518 #else
53519 char (*f) () = $ac_func;
53520 #endif
53521 #ifdef __cplusplus
53523 #endif
53526 main ()
53528 return f != $ac_func;
53530 return 0;
53532 _ACEOF
53533 rm -f conftest.$ac_objext conftest$ac_exeext
53534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53535 (eval $ac_link) 2>conftest.er1
53536 ac_status=$?
53537 grep -v '^ *+' conftest.er1 >conftest.err
53538 rm -f conftest.er1
53539 cat conftest.err >&5
53540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53541 (exit $ac_status); } &&
53542 { ac_try='test -z "$ac_c_werror_flag"
53543 || test ! -s conftest.err'
53544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53545 (eval $ac_try) 2>&5
53546 ac_status=$?
53547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53548 (exit $ac_status); }; } &&
53549 { ac_try='test -s conftest$ac_exeext'
53550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53551 (eval $ac_try) 2>&5
53552 ac_status=$?
53553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53554 (exit $ac_status); }; }; then
53555 eval "$as_ac_var=yes"
53556 else
53557 echo "$as_me: failed program was:" >&5
53558 sed 's/^/| /' conftest.$ac_ext >&5
53560 eval "$as_ac_var=no"
53562 rm -f conftest.err conftest.$ac_objext \
53563 conftest$ac_exeext conftest.$ac_ext
53565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53567 if test `eval echo '${'$as_ac_var'}'` = yes; then
53568 cat >>confdefs.h <<_ACEOF
53569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53570 _ACEOF
53573 done
53583 echo "$as_me:$LINENO: checking for long double trig functions" >&5
53584 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
53585 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
53586 echo $ECHO_N "(cached) $ECHO_C" >&6
53587 else
53591 ac_ext=cc
53592 ac_cpp='$CXXCPP $CPPFLAGS'
53593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53597 cat >conftest.$ac_ext <<_ACEOF
53598 /* confdefs.h. */
53599 _ACEOF
53600 cat confdefs.h >>conftest.$ac_ext
53601 cat >>conftest.$ac_ext <<_ACEOF
53602 /* end confdefs.h. */
53603 #include <math.h>
53605 main ()
53607 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53609 return 0;
53611 _ACEOF
53612 rm -f conftest.$ac_objext
53613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53614 (eval $ac_compile) 2>conftest.er1
53615 ac_status=$?
53616 grep -v '^ *+' conftest.er1 >conftest.err
53617 rm -f conftest.er1
53618 cat conftest.err >&5
53619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53620 (exit $ac_status); } &&
53621 { ac_try='test -z "$ac_cxx_werror_flag"
53622 || test ! -s conftest.err'
53623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53624 (eval $ac_try) 2>&5
53625 ac_status=$?
53626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53627 (exit $ac_status); }; } &&
53628 { ac_try='test -s conftest.$ac_objext'
53629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53630 (eval $ac_try) 2>&5
53631 ac_status=$?
53632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53633 (exit $ac_status); }; }; then
53634 glibcxx_cv_func_long_double_trig_use=yes
53635 else
53636 echo "$as_me: failed program was:" >&5
53637 sed 's/^/| /' conftest.$ac_ext >&5
53639 glibcxx_cv_func_long_double_trig_use=no
53641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53642 ac_ext=c
53643 ac_cpp='$CPP $CPPFLAGS'
53644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53650 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
53651 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
53652 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53662 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53665 echo "$as_me:$LINENO: checking for $ac_func" >&5
53666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53667 if eval "test \"\${$as_ac_var+set}\" = set"; then
53668 echo $ECHO_N "(cached) $ECHO_C" >&6
53669 else
53670 if test x$gcc_no_link = xyes; then
53671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53673 { (exit 1); exit 1; }; }
53675 cat >conftest.$ac_ext <<_ACEOF
53676 /* confdefs.h. */
53677 _ACEOF
53678 cat confdefs.h >>conftest.$ac_ext
53679 cat >>conftest.$ac_ext <<_ACEOF
53680 /* end confdefs.h. */
53681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53683 #define $ac_func innocuous_$ac_func
53685 /* System header to define __stub macros and hopefully few prototypes,
53686 which can conflict with char $ac_func (); below.
53687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53688 <limits.h> exists even on freestanding compilers. */
53690 #ifdef __STDC__
53691 # include <limits.h>
53692 #else
53693 # include <assert.h>
53694 #endif
53696 #undef $ac_func
53698 /* Override any gcc2 internal prototype to avoid an error. */
53699 #ifdef __cplusplus
53700 extern "C"
53702 #endif
53703 /* We use char because int might match the return type of a gcc2
53704 builtin and then its argument prototype would still apply. */
53705 char $ac_func ();
53706 /* The GNU C library defines this for functions which it implements
53707 to always fail with ENOSYS. Some functions are actually named
53708 something starting with __ and the normal name is an alias. */
53709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53710 choke me
53711 #else
53712 char (*f) () = $ac_func;
53713 #endif
53714 #ifdef __cplusplus
53716 #endif
53719 main ()
53721 return f != $ac_func;
53723 return 0;
53725 _ACEOF
53726 rm -f conftest.$ac_objext conftest$ac_exeext
53727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53728 (eval $ac_link) 2>conftest.er1
53729 ac_status=$?
53730 grep -v '^ *+' conftest.er1 >conftest.err
53731 rm -f conftest.er1
53732 cat conftest.err >&5
53733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53734 (exit $ac_status); } &&
53735 { ac_try='test -z "$ac_c_werror_flag"
53736 || test ! -s conftest.err'
53737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53738 (eval $ac_try) 2>&5
53739 ac_status=$?
53740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53741 (exit $ac_status); }; } &&
53742 { ac_try='test -s conftest$ac_exeext'
53743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53744 (eval $ac_try) 2>&5
53745 ac_status=$?
53746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53747 (exit $ac_status); }; }; then
53748 eval "$as_ac_var=yes"
53749 else
53750 echo "$as_me: failed program was:" >&5
53751 sed 's/^/| /' conftest.$ac_ext >&5
53753 eval "$as_ac_var=no"
53755 rm -f conftest.err conftest.$ac_objext \
53756 conftest$ac_exeext conftest.$ac_ext
53758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53760 if test `eval echo '${'$as_ac_var'}'` = yes; then
53761 cat >>confdefs.h <<_ACEOF
53762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53763 _ACEOF
53766 done
53768 else
53769 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
53770 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
53771 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
53772 echo $ECHO_N "(cached) $ECHO_C" >&6
53773 else
53777 ac_ext=cc
53778 ac_cpp='$CXXCPP $CPPFLAGS'
53779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53783 cat >conftest.$ac_ext <<_ACEOF
53784 /* confdefs.h. */
53785 _ACEOF
53786 cat confdefs.h >>conftest.$ac_ext
53787 cat >>conftest.$ac_ext <<_ACEOF
53788 /* end confdefs.h. */
53789 #include <math.h>
53791 main ()
53793 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53795 return 0;
53797 _ACEOF
53798 rm -f conftest.$ac_objext
53799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53800 (eval $ac_compile) 2>conftest.er1
53801 ac_status=$?
53802 grep -v '^ *+' conftest.er1 >conftest.err
53803 rm -f conftest.er1
53804 cat conftest.err >&5
53805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53806 (exit $ac_status); } &&
53807 { ac_try='test -z "$ac_cxx_werror_flag"
53808 || test ! -s conftest.err'
53809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53810 (eval $ac_try) 2>&5
53811 ac_status=$?
53812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53813 (exit $ac_status); }; } &&
53814 { ac_try='test -s conftest.$ac_objext'
53815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53816 (eval $ac_try) 2>&5
53817 ac_status=$?
53818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53819 (exit $ac_status); }; }; then
53820 glibcxx_cv_func__long_double_trig_use=yes
53821 else
53822 echo "$as_me: failed program was:" >&5
53823 sed 's/^/| /' conftest.$ac_ext >&5
53825 glibcxx_cv_func__long_double_trig_use=no
53827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53828 ac_ext=c
53829 ac_cpp='$CPP $CPPFLAGS'
53830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53836 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
53837 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
53838 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53848 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53851 echo "$as_me:$LINENO: checking for $ac_func" >&5
53852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53853 if eval "test \"\${$as_ac_var+set}\" = set"; then
53854 echo $ECHO_N "(cached) $ECHO_C" >&6
53855 else
53856 if test x$gcc_no_link = xyes; then
53857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53859 { (exit 1); exit 1; }; }
53861 cat >conftest.$ac_ext <<_ACEOF
53862 /* confdefs.h. */
53863 _ACEOF
53864 cat confdefs.h >>conftest.$ac_ext
53865 cat >>conftest.$ac_ext <<_ACEOF
53866 /* end confdefs.h. */
53867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53869 #define $ac_func innocuous_$ac_func
53871 /* System header to define __stub macros and hopefully few prototypes,
53872 which can conflict with char $ac_func (); below.
53873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53874 <limits.h> exists even on freestanding compilers. */
53876 #ifdef __STDC__
53877 # include <limits.h>
53878 #else
53879 # include <assert.h>
53880 #endif
53882 #undef $ac_func
53884 /* Override any gcc2 internal prototype to avoid an error. */
53885 #ifdef __cplusplus
53886 extern "C"
53888 #endif
53889 /* We use char because int might match the return type of a gcc2
53890 builtin and then its argument prototype would still apply. */
53891 char $ac_func ();
53892 /* The GNU C library defines this for functions which it implements
53893 to always fail with ENOSYS. Some functions are actually named
53894 something starting with __ and the normal name is an alias. */
53895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53896 choke me
53897 #else
53898 char (*f) () = $ac_func;
53899 #endif
53900 #ifdef __cplusplus
53902 #endif
53905 main ()
53907 return f != $ac_func;
53909 return 0;
53911 _ACEOF
53912 rm -f conftest.$ac_objext conftest$ac_exeext
53913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53914 (eval $ac_link) 2>conftest.er1
53915 ac_status=$?
53916 grep -v '^ *+' conftest.er1 >conftest.err
53917 rm -f conftest.er1
53918 cat conftest.err >&5
53919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53920 (exit $ac_status); } &&
53921 { ac_try='test -z "$ac_c_werror_flag"
53922 || test ! -s conftest.err'
53923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53924 (eval $ac_try) 2>&5
53925 ac_status=$?
53926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53927 (exit $ac_status); }; } &&
53928 { ac_try='test -s conftest$ac_exeext'
53929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53930 (eval $ac_try) 2>&5
53931 ac_status=$?
53932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53933 (exit $ac_status); }; }; then
53934 eval "$as_ac_var=yes"
53935 else
53936 echo "$as_me: failed program was:" >&5
53937 sed 's/^/| /' conftest.$ac_ext >&5
53939 eval "$as_ac_var=no"
53941 rm -f conftest.err conftest.$ac_objext \
53942 conftest$ac_exeext conftest.$ac_ext
53944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53946 if test `eval echo '${'$as_ac_var'}'` = yes; then
53947 cat >>confdefs.h <<_ACEOF
53948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53949 _ACEOF
53952 done
53970 echo "$as_me:$LINENO: checking for long double round functions" >&5
53971 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
53972 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
53973 echo $ECHO_N "(cached) $ECHO_C" >&6
53974 else
53978 ac_ext=cc
53979 ac_cpp='$CXXCPP $CPPFLAGS'
53980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53984 cat >conftest.$ac_ext <<_ACEOF
53985 /* confdefs.h. */
53986 _ACEOF
53987 cat confdefs.h >>conftest.$ac_ext
53988 cat >>conftest.$ac_ext <<_ACEOF
53989 /* end confdefs.h. */
53990 #include <math.h>
53992 main ()
53994 ceill (0); floorl (0);
53996 return 0;
53998 _ACEOF
53999 rm -f conftest.$ac_objext
54000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54001 (eval $ac_compile) 2>conftest.er1
54002 ac_status=$?
54003 grep -v '^ *+' conftest.er1 >conftest.err
54004 rm -f conftest.er1
54005 cat conftest.err >&5
54006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54007 (exit $ac_status); } &&
54008 { ac_try='test -z "$ac_cxx_werror_flag"
54009 || test ! -s conftest.err'
54010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54011 (eval $ac_try) 2>&5
54012 ac_status=$?
54013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54014 (exit $ac_status); }; } &&
54015 { ac_try='test -s conftest.$ac_objext'
54016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54017 (eval $ac_try) 2>&5
54018 ac_status=$?
54019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54020 (exit $ac_status); }; }; then
54021 glibcxx_cv_func_long_double_round_use=yes
54022 else
54023 echo "$as_me: failed program was:" >&5
54024 sed 's/^/| /' conftest.$ac_ext >&5
54026 glibcxx_cv_func_long_double_round_use=no
54028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54029 ac_ext=c
54030 ac_cpp='$CPP $CPPFLAGS'
54031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54037 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
54038 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
54039 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54042 for ac_func in ceill floorl
54044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54045 echo "$as_me:$LINENO: checking for $ac_func" >&5
54046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54047 if eval "test \"\${$as_ac_var+set}\" = set"; then
54048 echo $ECHO_N "(cached) $ECHO_C" >&6
54049 else
54050 if test x$gcc_no_link = xyes; then
54051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54053 { (exit 1); exit 1; }; }
54055 cat >conftest.$ac_ext <<_ACEOF
54056 /* confdefs.h. */
54057 _ACEOF
54058 cat confdefs.h >>conftest.$ac_ext
54059 cat >>conftest.$ac_ext <<_ACEOF
54060 /* end confdefs.h. */
54061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54063 #define $ac_func innocuous_$ac_func
54065 /* System header to define __stub macros and hopefully few prototypes,
54066 which can conflict with char $ac_func (); below.
54067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54068 <limits.h> exists even on freestanding compilers. */
54070 #ifdef __STDC__
54071 # include <limits.h>
54072 #else
54073 # include <assert.h>
54074 #endif
54076 #undef $ac_func
54078 /* Override any gcc2 internal prototype to avoid an error. */
54079 #ifdef __cplusplus
54080 extern "C"
54082 #endif
54083 /* We use char because int might match the return type of a gcc2
54084 builtin and then its argument prototype would still apply. */
54085 char $ac_func ();
54086 /* The GNU C library defines this for functions which it implements
54087 to always fail with ENOSYS. Some functions are actually named
54088 something starting with __ and the normal name is an alias. */
54089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54090 choke me
54091 #else
54092 char (*f) () = $ac_func;
54093 #endif
54094 #ifdef __cplusplus
54096 #endif
54099 main ()
54101 return f != $ac_func;
54103 return 0;
54105 _ACEOF
54106 rm -f conftest.$ac_objext conftest$ac_exeext
54107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54108 (eval $ac_link) 2>conftest.er1
54109 ac_status=$?
54110 grep -v '^ *+' conftest.er1 >conftest.err
54111 rm -f conftest.er1
54112 cat conftest.err >&5
54113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54114 (exit $ac_status); } &&
54115 { ac_try='test -z "$ac_c_werror_flag"
54116 || test ! -s conftest.err'
54117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54118 (eval $ac_try) 2>&5
54119 ac_status=$?
54120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54121 (exit $ac_status); }; } &&
54122 { ac_try='test -s conftest$ac_exeext'
54123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54124 (eval $ac_try) 2>&5
54125 ac_status=$?
54126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54127 (exit $ac_status); }; }; then
54128 eval "$as_ac_var=yes"
54129 else
54130 echo "$as_me: failed program was:" >&5
54131 sed 's/^/| /' conftest.$ac_ext >&5
54133 eval "$as_ac_var=no"
54135 rm -f conftest.err conftest.$ac_objext \
54136 conftest$ac_exeext conftest.$ac_ext
54138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54140 if test `eval echo '${'$as_ac_var'}'` = yes; then
54141 cat >>confdefs.h <<_ACEOF
54142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54143 _ACEOF
54146 done
54148 else
54149 echo "$as_me:$LINENO: checking for _long double round functions" >&5
54150 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
54151 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
54152 echo $ECHO_N "(cached) $ECHO_C" >&6
54153 else
54157 ac_ext=cc
54158 ac_cpp='$CXXCPP $CPPFLAGS'
54159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54163 cat >conftest.$ac_ext <<_ACEOF
54164 /* confdefs.h. */
54165 _ACEOF
54166 cat confdefs.h >>conftest.$ac_ext
54167 cat >>conftest.$ac_ext <<_ACEOF
54168 /* end confdefs.h. */
54169 #include <math.h>
54171 main ()
54173 _ceill (0); _floorl (0);
54175 return 0;
54177 _ACEOF
54178 rm -f conftest.$ac_objext
54179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54180 (eval $ac_compile) 2>conftest.er1
54181 ac_status=$?
54182 grep -v '^ *+' conftest.er1 >conftest.err
54183 rm -f conftest.er1
54184 cat conftest.err >&5
54185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54186 (exit $ac_status); } &&
54187 { ac_try='test -z "$ac_cxx_werror_flag"
54188 || test ! -s conftest.err'
54189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54190 (eval $ac_try) 2>&5
54191 ac_status=$?
54192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54193 (exit $ac_status); }; } &&
54194 { ac_try='test -s conftest.$ac_objext'
54195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54196 (eval $ac_try) 2>&5
54197 ac_status=$?
54198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54199 (exit $ac_status); }; }; then
54200 glibcxx_cv_func__long_double_round_use=yes
54201 else
54202 echo "$as_me: failed program was:" >&5
54203 sed 's/^/| /' conftest.$ac_ext >&5
54205 glibcxx_cv_func__long_double_round_use=no
54207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54208 ac_ext=c
54209 ac_cpp='$CPP $CPPFLAGS'
54210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54216 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
54217 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
54218 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54221 for ac_func in _ceill _floorl
54223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54224 echo "$as_me:$LINENO: checking for $ac_func" >&5
54225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54226 if eval "test \"\${$as_ac_var+set}\" = set"; then
54227 echo $ECHO_N "(cached) $ECHO_C" >&6
54228 else
54229 if test x$gcc_no_link = xyes; then
54230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54232 { (exit 1); exit 1; }; }
54234 cat >conftest.$ac_ext <<_ACEOF
54235 /* confdefs.h. */
54236 _ACEOF
54237 cat confdefs.h >>conftest.$ac_ext
54238 cat >>conftest.$ac_ext <<_ACEOF
54239 /* end confdefs.h. */
54240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54242 #define $ac_func innocuous_$ac_func
54244 /* System header to define __stub macros and hopefully few prototypes,
54245 which can conflict with char $ac_func (); below.
54246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54247 <limits.h> exists even on freestanding compilers. */
54249 #ifdef __STDC__
54250 # include <limits.h>
54251 #else
54252 # include <assert.h>
54253 #endif
54255 #undef $ac_func
54257 /* Override any gcc2 internal prototype to avoid an error. */
54258 #ifdef __cplusplus
54259 extern "C"
54261 #endif
54262 /* We use char because int might match the return type of a gcc2
54263 builtin and then its argument prototype would still apply. */
54264 char $ac_func ();
54265 /* The GNU C library defines this for functions which it implements
54266 to always fail with ENOSYS. Some functions are actually named
54267 something starting with __ and the normal name is an alias. */
54268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54269 choke me
54270 #else
54271 char (*f) () = $ac_func;
54272 #endif
54273 #ifdef __cplusplus
54275 #endif
54278 main ()
54280 return f != $ac_func;
54282 return 0;
54284 _ACEOF
54285 rm -f conftest.$ac_objext conftest$ac_exeext
54286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54287 (eval $ac_link) 2>conftest.er1
54288 ac_status=$?
54289 grep -v '^ *+' conftest.er1 >conftest.err
54290 rm -f conftest.er1
54291 cat conftest.err >&5
54292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54293 (exit $ac_status); } &&
54294 { ac_try='test -z "$ac_c_werror_flag"
54295 || test ! -s conftest.err'
54296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54297 (eval $ac_try) 2>&5
54298 ac_status=$?
54299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54300 (exit $ac_status); }; } &&
54301 { ac_try='test -s conftest$ac_exeext'
54302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54303 (eval $ac_try) 2>&5
54304 ac_status=$?
54305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54306 (exit $ac_status); }; }; then
54307 eval "$as_ac_var=yes"
54308 else
54309 echo "$as_me: failed program was:" >&5
54310 sed 's/^/| /' conftest.$ac_ext >&5
54312 eval "$as_ac_var=no"
54314 rm -f conftest.err conftest.$ac_objext \
54315 conftest$ac_exeext conftest.$ac_ext
54317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54319 if test `eval echo '${'$as_ac_var'}'` = yes; then
54320 cat >>confdefs.h <<_ACEOF
54321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54322 _ACEOF
54325 done
54337 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
54338 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
54339 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54340 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
54341 echo $ECHO_N "(cached) $ECHO_C" >&6
54342 else
54346 ac_ext=cc
54347 ac_cpp='$CXXCPP $CPPFLAGS'
54348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54352 cat >conftest.$ac_ext <<_ACEOF
54353 /* confdefs.h. */
54354 _ACEOF
54355 cat confdefs.h >>conftest.$ac_ext
54356 cat >>conftest.$ac_ext <<_ACEOF
54357 /* end confdefs.h. */
54358 #include <math.h>
54359 #ifdef HAVE_IEEEFP_H
54360 #include <ieeefp.h>
54361 #endif
54364 main ()
54366 isnanl(0);
54368 return 0;
54370 _ACEOF
54371 rm -f conftest.$ac_objext
54372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54373 (eval $ac_compile) 2>conftest.er1
54374 ac_status=$?
54375 grep -v '^ *+' conftest.er1 >conftest.err
54376 rm -f conftest.er1
54377 cat conftest.err >&5
54378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54379 (exit $ac_status); } &&
54380 { ac_try='test -z "$ac_cxx_werror_flag"
54381 || test ! -s conftest.err'
54382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54383 (eval $ac_try) 2>&5
54384 ac_status=$?
54385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54386 (exit $ac_status); }; } &&
54387 { ac_try='test -s conftest.$ac_objext'
54388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54389 (eval $ac_try) 2>&5
54390 ac_status=$?
54391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54392 (exit $ac_status); }; }; then
54393 glibcxx_cv_func_isnanl_use=yes
54394 else
54395 echo "$as_me: failed program was:" >&5
54396 sed 's/^/| /' conftest.$ac_ext >&5
54398 glibcxx_cv_func_isnanl_use=no
54400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54401 ac_ext=c
54402 ac_cpp='$CPP $CPPFLAGS'
54403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54411 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
54412 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
54414 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54416 for ac_func in isnanl
54418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54419 echo "$as_me:$LINENO: checking for $ac_func" >&5
54420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54421 if eval "test \"\${$as_ac_var+set}\" = set"; then
54422 echo $ECHO_N "(cached) $ECHO_C" >&6
54423 else
54424 if test x$gcc_no_link = xyes; then
54425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54427 { (exit 1); exit 1; }; }
54429 cat >conftest.$ac_ext <<_ACEOF
54430 /* confdefs.h. */
54431 _ACEOF
54432 cat confdefs.h >>conftest.$ac_ext
54433 cat >>conftest.$ac_ext <<_ACEOF
54434 /* end confdefs.h. */
54435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54437 #define $ac_func innocuous_$ac_func
54439 /* System header to define __stub macros and hopefully few prototypes,
54440 which can conflict with char $ac_func (); below.
54441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54442 <limits.h> exists even on freestanding compilers. */
54444 #ifdef __STDC__
54445 # include <limits.h>
54446 #else
54447 # include <assert.h>
54448 #endif
54450 #undef $ac_func
54452 /* Override any gcc2 internal prototype to avoid an error. */
54453 #ifdef __cplusplus
54454 extern "C"
54456 #endif
54457 /* We use char because int might match the return type of a gcc2
54458 builtin and then its argument prototype would still apply. */
54459 char $ac_func ();
54460 /* The GNU C library defines this for functions which it implements
54461 to always fail with ENOSYS. Some functions are actually named
54462 something starting with __ and the normal name is an alias. */
54463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54464 choke me
54465 #else
54466 char (*f) () = $ac_func;
54467 #endif
54468 #ifdef __cplusplus
54470 #endif
54473 main ()
54475 return f != $ac_func;
54477 return 0;
54479 _ACEOF
54480 rm -f conftest.$ac_objext conftest$ac_exeext
54481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54482 (eval $ac_link) 2>conftest.er1
54483 ac_status=$?
54484 grep -v '^ *+' conftest.er1 >conftest.err
54485 rm -f conftest.er1
54486 cat conftest.err >&5
54487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54488 (exit $ac_status); } &&
54489 { ac_try='test -z "$ac_c_werror_flag"
54490 || test ! -s conftest.err'
54491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54492 (eval $ac_try) 2>&5
54493 ac_status=$?
54494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54495 (exit $ac_status); }; } &&
54496 { ac_try='test -s conftest$ac_exeext'
54497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54498 (eval $ac_try) 2>&5
54499 ac_status=$?
54500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54501 (exit $ac_status); }; }; then
54502 eval "$as_ac_var=yes"
54503 else
54504 echo "$as_me: failed program was:" >&5
54505 sed 's/^/| /' conftest.$ac_ext >&5
54507 eval "$as_ac_var=no"
54509 rm -f conftest.err conftest.$ac_objext \
54510 conftest$ac_exeext conftest.$ac_ext
54512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54514 if test `eval echo '${'$as_ac_var'}'` = yes; then
54515 cat >>confdefs.h <<_ACEOF
54516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54517 _ACEOF
54520 done
54522 else
54524 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
54525 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
54526 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54527 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
54528 echo $ECHO_N "(cached) $ECHO_C" >&6
54529 else
54533 ac_ext=cc
54534 ac_cpp='$CXXCPP $CPPFLAGS'
54535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54539 cat >conftest.$ac_ext <<_ACEOF
54540 /* confdefs.h. */
54541 _ACEOF
54542 cat confdefs.h >>conftest.$ac_ext
54543 cat >>conftest.$ac_ext <<_ACEOF
54544 /* end confdefs.h. */
54545 #include <math.h>
54546 #ifdef HAVE_IEEEFP_H
54547 #include <ieeefp.h>
54548 #endif
54551 main ()
54553 _isnanl(0);
54555 return 0;
54557 _ACEOF
54558 rm -f conftest.$ac_objext
54559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54560 (eval $ac_compile) 2>conftest.er1
54561 ac_status=$?
54562 grep -v '^ *+' conftest.er1 >conftest.err
54563 rm -f conftest.er1
54564 cat conftest.err >&5
54565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54566 (exit $ac_status); } &&
54567 { ac_try='test -z "$ac_cxx_werror_flag"
54568 || test ! -s conftest.err'
54569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54570 (eval $ac_try) 2>&5
54571 ac_status=$?
54572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54573 (exit $ac_status); }; } &&
54574 { ac_try='test -s conftest.$ac_objext'
54575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54576 (eval $ac_try) 2>&5
54577 ac_status=$?
54578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54579 (exit $ac_status); }; }; then
54580 glibcxx_cv_func__isnanl_use=yes
54581 else
54582 echo "$as_me: failed program was:" >&5
54583 sed 's/^/| /' conftest.$ac_ext >&5
54585 glibcxx_cv_func__isnanl_use=no
54587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54588 ac_ext=c
54589 ac_cpp='$CPP $CPPFLAGS'
54590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54598 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
54599 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
54601 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54603 for ac_func in _isnanl
54605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54606 echo "$as_me:$LINENO: checking for $ac_func" >&5
54607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54608 if eval "test \"\${$as_ac_var+set}\" = set"; then
54609 echo $ECHO_N "(cached) $ECHO_C" >&6
54610 else
54611 if test x$gcc_no_link = xyes; then
54612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54614 { (exit 1); exit 1; }; }
54616 cat >conftest.$ac_ext <<_ACEOF
54617 /* confdefs.h. */
54618 _ACEOF
54619 cat confdefs.h >>conftest.$ac_ext
54620 cat >>conftest.$ac_ext <<_ACEOF
54621 /* end confdefs.h. */
54622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54624 #define $ac_func innocuous_$ac_func
54626 /* System header to define __stub macros and hopefully few prototypes,
54627 which can conflict with char $ac_func (); below.
54628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54629 <limits.h> exists even on freestanding compilers. */
54631 #ifdef __STDC__
54632 # include <limits.h>
54633 #else
54634 # include <assert.h>
54635 #endif
54637 #undef $ac_func
54639 /* Override any gcc2 internal prototype to avoid an error. */
54640 #ifdef __cplusplus
54641 extern "C"
54643 #endif
54644 /* We use char because int might match the return type of a gcc2
54645 builtin and then its argument prototype would still apply. */
54646 char $ac_func ();
54647 /* The GNU C library defines this for functions which it implements
54648 to always fail with ENOSYS. Some functions are actually named
54649 something starting with __ and the normal name is an alias. */
54650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54651 choke me
54652 #else
54653 char (*f) () = $ac_func;
54654 #endif
54655 #ifdef __cplusplus
54657 #endif
54660 main ()
54662 return f != $ac_func;
54664 return 0;
54666 _ACEOF
54667 rm -f conftest.$ac_objext conftest$ac_exeext
54668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54669 (eval $ac_link) 2>conftest.er1
54670 ac_status=$?
54671 grep -v '^ *+' conftest.er1 >conftest.err
54672 rm -f conftest.er1
54673 cat conftest.err >&5
54674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54675 (exit $ac_status); } &&
54676 { ac_try='test -z "$ac_c_werror_flag"
54677 || test ! -s conftest.err'
54678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54679 (eval $ac_try) 2>&5
54680 ac_status=$?
54681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54682 (exit $ac_status); }; } &&
54683 { ac_try='test -s conftest$ac_exeext'
54684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54685 (eval $ac_try) 2>&5
54686 ac_status=$?
54687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54688 (exit $ac_status); }; }; then
54689 eval "$as_ac_var=yes"
54690 else
54691 echo "$as_me: failed program was:" >&5
54692 sed 's/^/| /' conftest.$ac_ext >&5
54694 eval "$as_ac_var=no"
54696 rm -f conftest.err conftest.$ac_objext \
54697 conftest$ac_exeext conftest.$ac_ext
54699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54701 if test `eval echo '${'$as_ac_var'}'` = yes; then
54702 cat >>confdefs.h <<_ACEOF
54703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54704 _ACEOF
54707 done
54717 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
54718 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
54719 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54720 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
54721 echo $ECHO_N "(cached) $ECHO_C" >&6
54722 else
54726 ac_ext=cc
54727 ac_cpp='$CXXCPP $CPPFLAGS'
54728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54732 cat >conftest.$ac_ext <<_ACEOF
54733 /* confdefs.h. */
54734 _ACEOF
54735 cat confdefs.h >>conftest.$ac_ext
54736 cat >>conftest.$ac_ext <<_ACEOF
54737 /* end confdefs.h. */
54738 #include <math.h>
54739 #ifdef HAVE_IEEEFP_H
54740 #include <ieeefp.h>
54741 #endif
54744 main ()
54746 isinfl(0);
54748 return 0;
54750 _ACEOF
54751 rm -f conftest.$ac_objext
54752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54753 (eval $ac_compile) 2>conftest.er1
54754 ac_status=$?
54755 grep -v '^ *+' conftest.er1 >conftest.err
54756 rm -f conftest.er1
54757 cat conftest.err >&5
54758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54759 (exit $ac_status); } &&
54760 { ac_try='test -z "$ac_cxx_werror_flag"
54761 || test ! -s conftest.err'
54762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54763 (eval $ac_try) 2>&5
54764 ac_status=$?
54765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54766 (exit $ac_status); }; } &&
54767 { ac_try='test -s conftest.$ac_objext'
54768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54769 (eval $ac_try) 2>&5
54770 ac_status=$?
54771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54772 (exit $ac_status); }; }; then
54773 glibcxx_cv_func_isinfl_use=yes
54774 else
54775 echo "$as_me: failed program was:" >&5
54776 sed 's/^/| /' conftest.$ac_ext >&5
54778 glibcxx_cv_func_isinfl_use=no
54780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54781 ac_ext=c
54782 ac_cpp='$CPP $CPPFLAGS'
54783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54791 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
54792 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
54794 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54796 for ac_func in isinfl
54798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54799 echo "$as_me:$LINENO: checking for $ac_func" >&5
54800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54801 if eval "test \"\${$as_ac_var+set}\" = set"; then
54802 echo $ECHO_N "(cached) $ECHO_C" >&6
54803 else
54804 if test x$gcc_no_link = xyes; then
54805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54807 { (exit 1); exit 1; }; }
54809 cat >conftest.$ac_ext <<_ACEOF
54810 /* confdefs.h. */
54811 _ACEOF
54812 cat confdefs.h >>conftest.$ac_ext
54813 cat >>conftest.$ac_ext <<_ACEOF
54814 /* end confdefs.h. */
54815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54817 #define $ac_func innocuous_$ac_func
54819 /* System header to define __stub macros and hopefully few prototypes,
54820 which can conflict with char $ac_func (); below.
54821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54822 <limits.h> exists even on freestanding compilers. */
54824 #ifdef __STDC__
54825 # include <limits.h>
54826 #else
54827 # include <assert.h>
54828 #endif
54830 #undef $ac_func
54832 /* Override any gcc2 internal prototype to avoid an error. */
54833 #ifdef __cplusplus
54834 extern "C"
54836 #endif
54837 /* We use char because int might match the return type of a gcc2
54838 builtin and then its argument prototype would still apply. */
54839 char $ac_func ();
54840 /* The GNU C library defines this for functions which it implements
54841 to always fail with ENOSYS. Some functions are actually named
54842 something starting with __ and the normal name is an alias. */
54843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54844 choke me
54845 #else
54846 char (*f) () = $ac_func;
54847 #endif
54848 #ifdef __cplusplus
54850 #endif
54853 main ()
54855 return f != $ac_func;
54857 return 0;
54859 _ACEOF
54860 rm -f conftest.$ac_objext conftest$ac_exeext
54861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54862 (eval $ac_link) 2>conftest.er1
54863 ac_status=$?
54864 grep -v '^ *+' conftest.er1 >conftest.err
54865 rm -f conftest.er1
54866 cat conftest.err >&5
54867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54868 (exit $ac_status); } &&
54869 { ac_try='test -z "$ac_c_werror_flag"
54870 || test ! -s conftest.err'
54871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54872 (eval $ac_try) 2>&5
54873 ac_status=$?
54874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54875 (exit $ac_status); }; } &&
54876 { ac_try='test -s conftest$ac_exeext'
54877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54878 (eval $ac_try) 2>&5
54879 ac_status=$?
54880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54881 (exit $ac_status); }; }; then
54882 eval "$as_ac_var=yes"
54883 else
54884 echo "$as_me: failed program was:" >&5
54885 sed 's/^/| /' conftest.$ac_ext >&5
54887 eval "$as_ac_var=no"
54889 rm -f conftest.err conftest.$ac_objext \
54890 conftest$ac_exeext conftest.$ac_ext
54892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54894 if test `eval echo '${'$as_ac_var'}'` = yes; then
54895 cat >>confdefs.h <<_ACEOF
54896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54897 _ACEOF
54900 done
54902 else
54904 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
54905 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
54906 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54907 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
54908 echo $ECHO_N "(cached) $ECHO_C" >&6
54909 else
54913 ac_ext=cc
54914 ac_cpp='$CXXCPP $CPPFLAGS'
54915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54919 cat >conftest.$ac_ext <<_ACEOF
54920 /* confdefs.h. */
54921 _ACEOF
54922 cat confdefs.h >>conftest.$ac_ext
54923 cat >>conftest.$ac_ext <<_ACEOF
54924 /* end confdefs.h. */
54925 #include <math.h>
54926 #ifdef HAVE_IEEEFP_H
54927 #include <ieeefp.h>
54928 #endif
54931 main ()
54933 _isinfl(0);
54935 return 0;
54937 _ACEOF
54938 rm -f conftest.$ac_objext
54939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54940 (eval $ac_compile) 2>conftest.er1
54941 ac_status=$?
54942 grep -v '^ *+' conftest.er1 >conftest.err
54943 rm -f conftest.er1
54944 cat conftest.err >&5
54945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54946 (exit $ac_status); } &&
54947 { ac_try='test -z "$ac_cxx_werror_flag"
54948 || test ! -s conftest.err'
54949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54950 (eval $ac_try) 2>&5
54951 ac_status=$?
54952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54953 (exit $ac_status); }; } &&
54954 { ac_try='test -s conftest.$ac_objext'
54955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54956 (eval $ac_try) 2>&5
54957 ac_status=$?
54958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54959 (exit $ac_status); }; }; then
54960 glibcxx_cv_func__isinfl_use=yes
54961 else
54962 echo "$as_me: failed program was:" >&5
54963 sed 's/^/| /' conftest.$ac_ext >&5
54965 glibcxx_cv_func__isinfl_use=no
54967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54968 ac_ext=c
54969 ac_cpp='$CPP $CPPFLAGS'
54970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54978 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
54979 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
54981 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54983 for ac_func in _isinfl
54985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54986 echo "$as_me:$LINENO: checking for $ac_func" >&5
54987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54988 if eval "test \"\${$as_ac_var+set}\" = set"; then
54989 echo $ECHO_N "(cached) $ECHO_C" >&6
54990 else
54991 if test x$gcc_no_link = xyes; then
54992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54994 { (exit 1); exit 1; }; }
54996 cat >conftest.$ac_ext <<_ACEOF
54997 /* confdefs.h. */
54998 _ACEOF
54999 cat confdefs.h >>conftest.$ac_ext
55000 cat >>conftest.$ac_ext <<_ACEOF
55001 /* end confdefs.h. */
55002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55004 #define $ac_func innocuous_$ac_func
55006 /* System header to define __stub macros and hopefully few prototypes,
55007 which can conflict with char $ac_func (); below.
55008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55009 <limits.h> exists even on freestanding compilers. */
55011 #ifdef __STDC__
55012 # include <limits.h>
55013 #else
55014 # include <assert.h>
55015 #endif
55017 #undef $ac_func
55019 /* Override any gcc2 internal prototype to avoid an error. */
55020 #ifdef __cplusplus
55021 extern "C"
55023 #endif
55024 /* We use char because int might match the return type of a gcc2
55025 builtin and then its argument prototype would still apply. */
55026 char $ac_func ();
55027 /* The GNU C library defines this for functions which it implements
55028 to always fail with ENOSYS. Some functions are actually named
55029 something starting with __ and the normal name is an alias. */
55030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55031 choke me
55032 #else
55033 char (*f) () = $ac_func;
55034 #endif
55035 #ifdef __cplusplus
55037 #endif
55040 main ()
55042 return f != $ac_func;
55044 return 0;
55046 _ACEOF
55047 rm -f conftest.$ac_objext conftest$ac_exeext
55048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55049 (eval $ac_link) 2>conftest.er1
55050 ac_status=$?
55051 grep -v '^ *+' conftest.er1 >conftest.err
55052 rm -f conftest.er1
55053 cat conftest.err >&5
55054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55055 (exit $ac_status); } &&
55056 { ac_try='test -z "$ac_c_werror_flag"
55057 || test ! -s conftest.err'
55058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55059 (eval $ac_try) 2>&5
55060 ac_status=$?
55061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55062 (exit $ac_status); }; } &&
55063 { ac_try='test -s conftest$ac_exeext'
55064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55065 (eval $ac_try) 2>&5
55066 ac_status=$?
55067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55068 (exit $ac_status); }; }; then
55069 eval "$as_ac_var=yes"
55070 else
55071 echo "$as_me: failed program was:" >&5
55072 sed 's/^/| /' conftest.$ac_ext >&5
55074 eval "$as_ac_var=no"
55076 rm -f conftest.err conftest.$ac_objext \
55077 conftest$ac_exeext conftest.$ac_ext
55079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55081 if test `eval echo '${'$as_ac_var'}'` = yes; then
55082 cat >>confdefs.h <<_ACEOF
55083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55084 _ACEOF
55087 done
55097 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
55098 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
55099 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
55100 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
55101 echo $ECHO_N "(cached) $ECHO_C" >&6
55102 else
55106 ac_ext=cc
55107 ac_cpp='$CXXCPP $CPPFLAGS'
55108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55112 cat >conftest.$ac_ext <<_ACEOF
55113 /* confdefs.h. */
55114 _ACEOF
55115 cat confdefs.h >>conftest.$ac_ext
55116 cat >>conftest.$ac_ext <<_ACEOF
55117 /* end confdefs.h. */
55118 #include <math.h>
55120 main ()
55122 copysignl(0, 0);
55124 return 0;
55126 _ACEOF
55127 rm -f conftest.$ac_objext
55128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55129 (eval $ac_compile) 2>conftest.er1
55130 ac_status=$?
55131 grep -v '^ *+' conftest.er1 >conftest.err
55132 rm -f conftest.er1
55133 cat conftest.err >&5
55134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55135 (exit $ac_status); } &&
55136 { ac_try='test -z "$ac_cxx_werror_flag"
55137 || test ! -s conftest.err'
55138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55139 (eval $ac_try) 2>&5
55140 ac_status=$?
55141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55142 (exit $ac_status); }; } &&
55143 { ac_try='test -s conftest.$ac_objext'
55144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55145 (eval $ac_try) 2>&5
55146 ac_status=$?
55147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55148 (exit $ac_status); }; }; then
55149 glibcxx_cv_func_copysignl_use=yes
55150 else
55151 echo "$as_me: failed program was:" >&5
55152 sed 's/^/| /' conftest.$ac_ext >&5
55154 glibcxx_cv_func_copysignl_use=no
55156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55157 ac_ext=c
55158 ac_cpp='$CPP $CPPFLAGS'
55159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55167 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
55168 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
55170 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
55172 for ac_func in copysignl
55174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55175 echo "$as_me:$LINENO: checking for $ac_func" >&5
55176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55177 if eval "test \"\${$as_ac_var+set}\" = set"; then
55178 echo $ECHO_N "(cached) $ECHO_C" >&6
55179 else
55180 if test x$gcc_no_link = xyes; then
55181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55183 { (exit 1); exit 1; }; }
55185 cat >conftest.$ac_ext <<_ACEOF
55186 /* confdefs.h. */
55187 _ACEOF
55188 cat confdefs.h >>conftest.$ac_ext
55189 cat >>conftest.$ac_ext <<_ACEOF
55190 /* end confdefs.h. */
55191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55193 #define $ac_func innocuous_$ac_func
55195 /* System header to define __stub macros and hopefully few prototypes,
55196 which can conflict with char $ac_func (); below.
55197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55198 <limits.h> exists even on freestanding compilers. */
55200 #ifdef __STDC__
55201 # include <limits.h>
55202 #else
55203 # include <assert.h>
55204 #endif
55206 #undef $ac_func
55208 /* Override any gcc2 internal prototype to avoid an error. */
55209 #ifdef __cplusplus
55210 extern "C"
55212 #endif
55213 /* We use char because int might match the return type of a gcc2
55214 builtin and then its argument prototype would still apply. */
55215 char $ac_func ();
55216 /* The GNU C library defines this for functions which it implements
55217 to always fail with ENOSYS. Some functions are actually named
55218 something starting with __ and the normal name is an alias. */
55219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55220 choke me
55221 #else
55222 char (*f) () = $ac_func;
55223 #endif
55224 #ifdef __cplusplus
55226 #endif
55229 main ()
55231 return f != $ac_func;
55233 return 0;
55235 _ACEOF
55236 rm -f conftest.$ac_objext conftest$ac_exeext
55237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55238 (eval $ac_link) 2>conftest.er1
55239 ac_status=$?
55240 grep -v '^ *+' conftest.er1 >conftest.err
55241 rm -f conftest.er1
55242 cat conftest.err >&5
55243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55244 (exit $ac_status); } &&
55245 { ac_try='test -z "$ac_c_werror_flag"
55246 || test ! -s conftest.err'
55247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55248 (eval $ac_try) 2>&5
55249 ac_status=$?
55250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55251 (exit $ac_status); }; } &&
55252 { ac_try='test -s conftest$ac_exeext'
55253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55254 (eval $ac_try) 2>&5
55255 ac_status=$?
55256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55257 (exit $ac_status); }; }; then
55258 eval "$as_ac_var=yes"
55259 else
55260 echo "$as_me: failed program was:" >&5
55261 sed 's/^/| /' conftest.$ac_ext >&5
55263 eval "$as_ac_var=no"
55265 rm -f conftest.err conftest.$ac_objext \
55266 conftest$ac_exeext conftest.$ac_ext
55268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55270 if test `eval echo '${'$as_ac_var'}'` = yes; then
55271 cat >>confdefs.h <<_ACEOF
55272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55273 _ACEOF
55276 done
55278 else
55280 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
55281 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
55282 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
55283 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
55284 echo $ECHO_N "(cached) $ECHO_C" >&6
55285 else
55289 ac_ext=cc
55290 ac_cpp='$CXXCPP $CPPFLAGS'
55291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55295 cat >conftest.$ac_ext <<_ACEOF
55296 /* confdefs.h. */
55297 _ACEOF
55298 cat confdefs.h >>conftest.$ac_ext
55299 cat >>conftest.$ac_ext <<_ACEOF
55300 /* end confdefs.h. */
55301 #include <math.h>
55303 main ()
55305 _copysignl(0, 0);
55307 return 0;
55309 _ACEOF
55310 rm -f conftest.$ac_objext
55311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55312 (eval $ac_compile) 2>conftest.er1
55313 ac_status=$?
55314 grep -v '^ *+' conftest.er1 >conftest.err
55315 rm -f conftest.er1
55316 cat conftest.err >&5
55317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55318 (exit $ac_status); } &&
55319 { ac_try='test -z "$ac_cxx_werror_flag"
55320 || test ! -s conftest.err'
55321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55322 (eval $ac_try) 2>&5
55323 ac_status=$?
55324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55325 (exit $ac_status); }; } &&
55326 { ac_try='test -s conftest.$ac_objext'
55327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55328 (eval $ac_try) 2>&5
55329 ac_status=$?
55330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55331 (exit $ac_status); }; }; then
55332 glibcxx_cv_func__copysignl_use=yes
55333 else
55334 echo "$as_me: failed program was:" >&5
55335 sed 's/^/| /' conftest.$ac_ext >&5
55337 glibcxx_cv_func__copysignl_use=no
55339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55340 ac_ext=c
55341 ac_cpp='$CPP $CPPFLAGS'
55342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55350 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
55351 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
55353 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
55355 for ac_func in _copysignl
55357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55358 echo "$as_me:$LINENO: checking for $ac_func" >&5
55359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55360 if eval "test \"\${$as_ac_var+set}\" = set"; then
55361 echo $ECHO_N "(cached) $ECHO_C" >&6
55362 else
55363 if test x$gcc_no_link = xyes; then
55364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55366 { (exit 1); exit 1; }; }
55368 cat >conftest.$ac_ext <<_ACEOF
55369 /* confdefs.h. */
55370 _ACEOF
55371 cat confdefs.h >>conftest.$ac_ext
55372 cat >>conftest.$ac_ext <<_ACEOF
55373 /* end confdefs.h. */
55374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55376 #define $ac_func innocuous_$ac_func
55378 /* System header to define __stub macros and hopefully few prototypes,
55379 which can conflict with char $ac_func (); below.
55380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55381 <limits.h> exists even on freestanding compilers. */
55383 #ifdef __STDC__
55384 # include <limits.h>
55385 #else
55386 # include <assert.h>
55387 #endif
55389 #undef $ac_func
55391 /* Override any gcc2 internal prototype to avoid an error. */
55392 #ifdef __cplusplus
55393 extern "C"
55395 #endif
55396 /* We use char because int might match the return type of a gcc2
55397 builtin and then its argument prototype would still apply. */
55398 char $ac_func ();
55399 /* The GNU C library defines this for functions which it implements
55400 to always fail with ENOSYS. Some functions are actually named
55401 something starting with __ and the normal name is an alias. */
55402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55403 choke me
55404 #else
55405 char (*f) () = $ac_func;
55406 #endif
55407 #ifdef __cplusplus
55409 #endif
55412 main ()
55414 return f != $ac_func;
55416 return 0;
55418 _ACEOF
55419 rm -f conftest.$ac_objext conftest$ac_exeext
55420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55421 (eval $ac_link) 2>conftest.er1
55422 ac_status=$?
55423 grep -v '^ *+' conftest.er1 >conftest.err
55424 rm -f conftest.er1
55425 cat conftest.err >&5
55426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55427 (exit $ac_status); } &&
55428 { ac_try='test -z "$ac_c_werror_flag"
55429 || test ! -s conftest.err'
55430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55431 (eval $ac_try) 2>&5
55432 ac_status=$?
55433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55434 (exit $ac_status); }; } &&
55435 { ac_try='test -s conftest$ac_exeext'
55436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55437 (eval $ac_try) 2>&5
55438 ac_status=$?
55439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55440 (exit $ac_status); }; }; then
55441 eval "$as_ac_var=yes"
55442 else
55443 echo "$as_me: failed program was:" >&5
55444 sed 's/^/| /' conftest.$ac_ext >&5
55446 eval "$as_ac_var=no"
55448 rm -f conftest.err conftest.$ac_objext \
55449 conftest$ac_exeext conftest.$ac_ext
55451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55453 if test `eval echo '${'$as_ac_var'}'` = yes; then
55454 cat >>confdefs.h <<_ACEOF
55455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55456 _ACEOF
55459 done
55469 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
55470 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
55471 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55472 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
55473 echo $ECHO_N "(cached) $ECHO_C" >&6
55474 else
55478 ac_ext=cc
55479 ac_cpp='$CXXCPP $CPPFLAGS'
55480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55484 cat >conftest.$ac_ext <<_ACEOF
55485 /* confdefs.h. */
55486 _ACEOF
55487 cat confdefs.h >>conftest.$ac_ext
55488 cat >>conftest.$ac_ext <<_ACEOF
55489 /* end confdefs.h. */
55490 #include <math.h>
55492 main ()
55494 atan2l(0, 0);
55496 return 0;
55498 _ACEOF
55499 rm -f conftest.$ac_objext
55500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55501 (eval $ac_compile) 2>conftest.er1
55502 ac_status=$?
55503 grep -v '^ *+' conftest.er1 >conftest.err
55504 rm -f conftest.er1
55505 cat conftest.err >&5
55506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55507 (exit $ac_status); } &&
55508 { ac_try='test -z "$ac_cxx_werror_flag"
55509 || test ! -s conftest.err'
55510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55511 (eval $ac_try) 2>&5
55512 ac_status=$?
55513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55514 (exit $ac_status); }; } &&
55515 { ac_try='test -s conftest.$ac_objext'
55516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55517 (eval $ac_try) 2>&5
55518 ac_status=$?
55519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55520 (exit $ac_status); }; }; then
55521 glibcxx_cv_func_atan2l_use=yes
55522 else
55523 echo "$as_me: failed program was:" >&5
55524 sed 's/^/| /' conftest.$ac_ext >&5
55526 glibcxx_cv_func_atan2l_use=no
55528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55529 ac_ext=c
55530 ac_cpp='$CPP $CPPFLAGS'
55531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55539 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
55540 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
55542 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55544 for ac_func in atan2l
55546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55547 echo "$as_me:$LINENO: checking for $ac_func" >&5
55548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55549 if eval "test \"\${$as_ac_var+set}\" = set"; then
55550 echo $ECHO_N "(cached) $ECHO_C" >&6
55551 else
55552 if test x$gcc_no_link = xyes; then
55553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55555 { (exit 1); exit 1; }; }
55557 cat >conftest.$ac_ext <<_ACEOF
55558 /* confdefs.h. */
55559 _ACEOF
55560 cat confdefs.h >>conftest.$ac_ext
55561 cat >>conftest.$ac_ext <<_ACEOF
55562 /* end confdefs.h. */
55563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55565 #define $ac_func innocuous_$ac_func
55567 /* System header to define __stub macros and hopefully few prototypes,
55568 which can conflict with char $ac_func (); below.
55569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55570 <limits.h> exists even on freestanding compilers. */
55572 #ifdef __STDC__
55573 # include <limits.h>
55574 #else
55575 # include <assert.h>
55576 #endif
55578 #undef $ac_func
55580 /* Override any gcc2 internal prototype to avoid an error. */
55581 #ifdef __cplusplus
55582 extern "C"
55584 #endif
55585 /* We use char because int might match the return type of a gcc2
55586 builtin and then its argument prototype would still apply. */
55587 char $ac_func ();
55588 /* The GNU C library defines this for functions which it implements
55589 to always fail with ENOSYS. Some functions are actually named
55590 something starting with __ and the normal name is an alias. */
55591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55592 choke me
55593 #else
55594 char (*f) () = $ac_func;
55595 #endif
55596 #ifdef __cplusplus
55598 #endif
55601 main ()
55603 return f != $ac_func;
55605 return 0;
55607 _ACEOF
55608 rm -f conftest.$ac_objext conftest$ac_exeext
55609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55610 (eval $ac_link) 2>conftest.er1
55611 ac_status=$?
55612 grep -v '^ *+' conftest.er1 >conftest.err
55613 rm -f conftest.er1
55614 cat conftest.err >&5
55615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55616 (exit $ac_status); } &&
55617 { ac_try='test -z "$ac_c_werror_flag"
55618 || test ! -s conftest.err'
55619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55620 (eval $ac_try) 2>&5
55621 ac_status=$?
55622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55623 (exit $ac_status); }; } &&
55624 { ac_try='test -s conftest$ac_exeext'
55625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55626 (eval $ac_try) 2>&5
55627 ac_status=$?
55628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55629 (exit $ac_status); }; }; then
55630 eval "$as_ac_var=yes"
55631 else
55632 echo "$as_me: failed program was:" >&5
55633 sed 's/^/| /' conftest.$ac_ext >&5
55635 eval "$as_ac_var=no"
55637 rm -f conftest.err conftest.$ac_objext \
55638 conftest$ac_exeext conftest.$ac_ext
55640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55642 if test `eval echo '${'$as_ac_var'}'` = yes; then
55643 cat >>confdefs.h <<_ACEOF
55644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55645 _ACEOF
55648 done
55650 else
55652 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
55653 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
55654 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55655 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
55656 echo $ECHO_N "(cached) $ECHO_C" >&6
55657 else
55661 ac_ext=cc
55662 ac_cpp='$CXXCPP $CPPFLAGS'
55663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55667 cat >conftest.$ac_ext <<_ACEOF
55668 /* confdefs.h. */
55669 _ACEOF
55670 cat confdefs.h >>conftest.$ac_ext
55671 cat >>conftest.$ac_ext <<_ACEOF
55672 /* end confdefs.h. */
55673 #include <math.h>
55675 main ()
55677 _atan2l(0, 0);
55679 return 0;
55681 _ACEOF
55682 rm -f conftest.$ac_objext
55683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55684 (eval $ac_compile) 2>conftest.er1
55685 ac_status=$?
55686 grep -v '^ *+' conftest.er1 >conftest.err
55687 rm -f conftest.er1
55688 cat conftest.err >&5
55689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55690 (exit $ac_status); } &&
55691 { ac_try='test -z "$ac_cxx_werror_flag"
55692 || test ! -s conftest.err'
55693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55694 (eval $ac_try) 2>&5
55695 ac_status=$?
55696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55697 (exit $ac_status); }; } &&
55698 { ac_try='test -s conftest.$ac_objext'
55699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55700 (eval $ac_try) 2>&5
55701 ac_status=$?
55702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55703 (exit $ac_status); }; }; then
55704 glibcxx_cv_func__atan2l_use=yes
55705 else
55706 echo "$as_me: failed program was:" >&5
55707 sed 's/^/| /' conftest.$ac_ext >&5
55709 glibcxx_cv_func__atan2l_use=no
55711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55712 ac_ext=c
55713 ac_cpp='$CPP $CPPFLAGS'
55714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55722 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
55723 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
55725 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55727 for ac_func in _atan2l
55729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55730 echo "$as_me:$LINENO: checking for $ac_func" >&5
55731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55732 if eval "test \"\${$as_ac_var+set}\" = set"; then
55733 echo $ECHO_N "(cached) $ECHO_C" >&6
55734 else
55735 if test x$gcc_no_link = xyes; then
55736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55738 { (exit 1); exit 1; }; }
55740 cat >conftest.$ac_ext <<_ACEOF
55741 /* confdefs.h. */
55742 _ACEOF
55743 cat confdefs.h >>conftest.$ac_ext
55744 cat >>conftest.$ac_ext <<_ACEOF
55745 /* end confdefs.h. */
55746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55748 #define $ac_func innocuous_$ac_func
55750 /* System header to define __stub macros and hopefully few prototypes,
55751 which can conflict with char $ac_func (); below.
55752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55753 <limits.h> exists even on freestanding compilers. */
55755 #ifdef __STDC__
55756 # include <limits.h>
55757 #else
55758 # include <assert.h>
55759 #endif
55761 #undef $ac_func
55763 /* Override any gcc2 internal prototype to avoid an error. */
55764 #ifdef __cplusplus
55765 extern "C"
55767 #endif
55768 /* We use char because int might match the return type of a gcc2
55769 builtin and then its argument prototype would still apply. */
55770 char $ac_func ();
55771 /* The GNU C library defines this for functions which it implements
55772 to always fail with ENOSYS. Some functions are actually named
55773 something starting with __ and the normal name is an alias. */
55774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55775 choke me
55776 #else
55777 char (*f) () = $ac_func;
55778 #endif
55779 #ifdef __cplusplus
55781 #endif
55784 main ()
55786 return f != $ac_func;
55788 return 0;
55790 _ACEOF
55791 rm -f conftest.$ac_objext conftest$ac_exeext
55792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55793 (eval $ac_link) 2>conftest.er1
55794 ac_status=$?
55795 grep -v '^ *+' conftest.er1 >conftest.err
55796 rm -f conftest.er1
55797 cat conftest.err >&5
55798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55799 (exit $ac_status); } &&
55800 { ac_try='test -z "$ac_c_werror_flag"
55801 || test ! -s conftest.err'
55802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55803 (eval $ac_try) 2>&5
55804 ac_status=$?
55805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55806 (exit $ac_status); }; } &&
55807 { ac_try='test -s conftest$ac_exeext'
55808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55809 (eval $ac_try) 2>&5
55810 ac_status=$?
55811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55812 (exit $ac_status); }; }; then
55813 eval "$as_ac_var=yes"
55814 else
55815 echo "$as_me: failed program was:" >&5
55816 sed 's/^/| /' conftest.$ac_ext >&5
55818 eval "$as_ac_var=no"
55820 rm -f conftest.err conftest.$ac_objext \
55821 conftest$ac_exeext conftest.$ac_ext
55823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55825 if test `eval echo '${'$as_ac_var'}'` = yes; then
55826 cat >>confdefs.h <<_ACEOF
55827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55828 _ACEOF
55831 done
55841 echo "$as_me:$LINENO: checking for expl declaration" >&5
55842 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
55843 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55844 if test "${glibcxx_cv_func_expl_use+set}" = set; then
55845 echo $ECHO_N "(cached) $ECHO_C" >&6
55846 else
55850 ac_ext=cc
55851 ac_cpp='$CXXCPP $CPPFLAGS'
55852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55856 cat >conftest.$ac_ext <<_ACEOF
55857 /* confdefs.h. */
55858 _ACEOF
55859 cat confdefs.h >>conftest.$ac_ext
55860 cat >>conftest.$ac_ext <<_ACEOF
55861 /* end confdefs.h. */
55862 #include <math.h>
55863 #ifdef HAVE_IEEEFP_H
55864 #include <ieeefp.h>
55865 #endif
55868 main ()
55870 expl(0);
55872 return 0;
55874 _ACEOF
55875 rm -f conftest.$ac_objext
55876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55877 (eval $ac_compile) 2>conftest.er1
55878 ac_status=$?
55879 grep -v '^ *+' conftest.er1 >conftest.err
55880 rm -f conftest.er1
55881 cat conftest.err >&5
55882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55883 (exit $ac_status); } &&
55884 { ac_try='test -z "$ac_cxx_werror_flag"
55885 || test ! -s conftest.err'
55886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55887 (eval $ac_try) 2>&5
55888 ac_status=$?
55889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55890 (exit $ac_status); }; } &&
55891 { ac_try='test -s conftest.$ac_objext'
55892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55893 (eval $ac_try) 2>&5
55894 ac_status=$?
55895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55896 (exit $ac_status); }; }; then
55897 glibcxx_cv_func_expl_use=yes
55898 else
55899 echo "$as_me: failed program was:" >&5
55900 sed 's/^/| /' conftest.$ac_ext >&5
55902 glibcxx_cv_func_expl_use=no
55904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55905 ac_ext=c
55906 ac_cpp='$CPP $CPPFLAGS'
55907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55915 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
55916 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
55918 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55920 for ac_func in expl
55922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55923 echo "$as_me:$LINENO: checking for $ac_func" >&5
55924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55925 if eval "test \"\${$as_ac_var+set}\" = set"; then
55926 echo $ECHO_N "(cached) $ECHO_C" >&6
55927 else
55928 if test x$gcc_no_link = xyes; then
55929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55931 { (exit 1); exit 1; }; }
55933 cat >conftest.$ac_ext <<_ACEOF
55934 /* confdefs.h. */
55935 _ACEOF
55936 cat confdefs.h >>conftest.$ac_ext
55937 cat >>conftest.$ac_ext <<_ACEOF
55938 /* end confdefs.h. */
55939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55941 #define $ac_func innocuous_$ac_func
55943 /* System header to define __stub macros and hopefully few prototypes,
55944 which can conflict with char $ac_func (); below.
55945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55946 <limits.h> exists even on freestanding compilers. */
55948 #ifdef __STDC__
55949 # include <limits.h>
55950 #else
55951 # include <assert.h>
55952 #endif
55954 #undef $ac_func
55956 /* Override any gcc2 internal prototype to avoid an error. */
55957 #ifdef __cplusplus
55958 extern "C"
55960 #endif
55961 /* We use char because int might match the return type of a gcc2
55962 builtin and then its argument prototype would still apply. */
55963 char $ac_func ();
55964 /* The GNU C library defines this for functions which it implements
55965 to always fail with ENOSYS. Some functions are actually named
55966 something starting with __ and the normal name is an alias. */
55967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55968 choke me
55969 #else
55970 char (*f) () = $ac_func;
55971 #endif
55972 #ifdef __cplusplus
55974 #endif
55977 main ()
55979 return f != $ac_func;
55981 return 0;
55983 _ACEOF
55984 rm -f conftest.$ac_objext conftest$ac_exeext
55985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55986 (eval $ac_link) 2>conftest.er1
55987 ac_status=$?
55988 grep -v '^ *+' conftest.er1 >conftest.err
55989 rm -f conftest.er1
55990 cat conftest.err >&5
55991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55992 (exit $ac_status); } &&
55993 { ac_try='test -z "$ac_c_werror_flag"
55994 || test ! -s conftest.err'
55995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55996 (eval $ac_try) 2>&5
55997 ac_status=$?
55998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55999 (exit $ac_status); }; } &&
56000 { ac_try='test -s conftest$ac_exeext'
56001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56002 (eval $ac_try) 2>&5
56003 ac_status=$?
56004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56005 (exit $ac_status); }; }; then
56006 eval "$as_ac_var=yes"
56007 else
56008 echo "$as_me: failed program was:" >&5
56009 sed 's/^/| /' conftest.$ac_ext >&5
56011 eval "$as_ac_var=no"
56013 rm -f conftest.err conftest.$ac_objext \
56014 conftest$ac_exeext conftest.$ac_ext
56016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56018 if test `eval echo '${'$as_ac_var'}'` = yes; then
56019 cat >>confdefs.h <<_ACEOF
56020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56021 _ACEOF
56024 done
56026 else
56028 echo "$as_me:$LINENO: checking for _expl declaration" >&5
56029 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
56030 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56031 if test "${glibcxx_cv_func__expl_use+set}" = set; then
56032 echo $ECHO_N "(cached) $ECHO_C" >&6
56033 else
56037 ac_ext=cc
56038 ac_cpp='$CXXCPP $CPPFLAGS'
56039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56043 cat >conftest.$ac_ext <<_ACEOF
56044 /* confdefs.h. */
56045 _ACEOF
56046 cat confdefs.h >>conftest.$ac_ext
56047 cat >>conftest.$ac_ext <<_ACEOF
56048 /* end confdefs.h. */
56049 #include <math.h>
56050 #ifdef HAVE_IEEEFP_H
56051 #include <ieeefp.h>
56052 #endif
56055 main ()
56057 _expl(0);
56059 return 0;
56061 _ACEOF
56062 rm -f conftest.$ac_objext
56063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56064 (eval $ac_compile) 2>conftest.er1
56065 ac_status=$?
56066 grep -v '^ *+' conftest.er1 >conftest.err
56067 rm -f conftest.er1
56068 cat conftest.err >&5
56069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56070 (exit $ac_status); } &&
56071 { ac_try='test -z "$ac_cxx_werror_flag"
56072 || test ! -s conftest.err'
56073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56074 (eval $ac_try) 2>&5
56075 ac_status=$?
56076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56077 (exit $ac_status); }; } &&
56078 { ac_try='test -s conftest.$ac_objext'
56079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56080 (eval $ac_try) 2>&5
56081 ac_status=$?
56082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56083 (exit $ac_status); }; }; then
56084 glibcxx_cv_func__expl_use=yes
56085 else
56086 echo "$as_me: failed program was:" >&5
56087 sed 's/^/| /' conftest.$ac_ext >&5
56089 glibcxx_cv_func__expl_use=no
56091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56092 ac_ext=c
56093 ac_cpp='$CPP $CPPFLAGS'
56094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56102 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
56103 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
56105 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56107 for ac_func in _expl
56109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56110 echo "$as_me:$LINENO: checking for $ac_func" >&5
56111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56112 if eval "test \"\${$as_ac_var+set}\" = set"; then
56113 echo $ECHO_N "(cached) $ECHO_C" >&6
56114 else
56115 if test x$gcc_no_link = xyes; then
56116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56118 { (exit 1); exit 1; }; }
56120 cat >conftest.$ac_ext <<_ACEOF
56121 /* confdefs.h. */
56122 _ACEOF
56123 cat confdefs.h >>conftest.$ac_ext
56124 cat >>conftest.$ac_ext <<_ACEOF
56125 /* end confdefs.h. */
56126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56128 #define $ac_func innocuous_$ac_func
56130 /* System header to define __stub macros and hopefully few prototypes,
56131 which can conflict with char $ac_func (); below.
56132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56133 <limits.h> exists even on freestanding compilers. */
56135 #ifdef __STDC__
56136 # include <limits.h>
56137 #else
56138 # include <assert.h>
56139 #endif
56141 #undef $ac_func
56143 /* Override any gcc2 internal prototype to avoid an error. */
56144 #ifdef __cplusplus
56145 extern "C"
56147 #endif
56148 /* We use char because int might match the return type of a gcc2
56149 builtin and then its argument prototype would still apply. */
56150 char $ac_func ();
56151 /* The GNU C library defines this for functions which it implements
56152 to always fail with ENOSYS. Some functions are actually named
56153 something starting with __ and the normal name is an alias. */
56154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56155 choke me
56156 #else
56157 char (*f) () = $ac_func;
56158 #endif
56159 #ifdef __cplusplus
56161 #endif
56164 main ()
56166 return f != $ac_func;
56168 return 0;
56170 _ACEOF
56171 rm -f conftest.$ac_objext conftest$ac_exeext
56172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56173 (eval $ac_link) 2>conftest.er1
56174 ac_status=$?
56175 grep -v '^ *+' conftest.er1 >conftest.err
56176 rm -f conftest.er1
56177 cat conftest.err >&5
56178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56179 (exit $ac_status); } &&
56180 { ac_try='test -z "$ac_c_werror_flag"
56181 || test ! -s conftest.err'
56182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56183 (eval $ac_try) 2>&5
56184 ac_status=$?
56185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56186 (exit $ac_status); }; } &&
56187 { ac_try='test -s conftest$ac_exeext'
56188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56189 (eval $ac_try) 2>&5
56190 ac_status=$?
56191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56192 (exit $ac_status); }; }; then
56193 eval "$as_ac_var=yes"
56194 else
56195 echo "$as_me: failed program was:" >&5
56196 sed 's/^/| /' conftest.$ac_ext >&5
56198 eval "$as_ac_var=no"
56200 rm -f conftest.err conftest.$ac_objext \
56201 conftest$ac_exeext conftest.$ac_ext
56203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56205 if test `eval echo '${'$as_ac_var'}'` = yes; then
56206 cat >>confdefs.h <<_ACEOF
56207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56208 _ACEOF
56211 done
56221 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
56222 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
56223 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56224 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
56225 echo $ECHO_N "(cached) $ECHO_C" >&6
56226 else
56230 ac_ext=cc
56231 ac_cpp='$CXXCPP $CPPFLAGS'
56232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56236 cat >conftest.$ac_ext <<_ACEOF
56237 /* confdefs.h. */
56238 _ACEOF
56239 cat confdefs.h >>conftest.$ac_ext
56240 cat >>conftest.$ac_ext <<_ACEOF
56241 /* end confdefs.h. */
56242 #include <math.h>
56243 #ifdef HAVE_IEEEFP_H
56244 #include <ieeefp.h>
56245 #endif
56248 main ()
56250 fabsl(0);
56252 return 0;
56254 _ACEOF
56255 rm -f conftest.$ac_objext
56256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56257 (eval $ac_compile) 2>conftest.er1
56258 ac_status=$?
56259 grep -v '^ *+' conftest.er1 >conftest.err
56260 rm -f conftest.er1
56261 cat conftest.err >&5
56262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56263 (exit $ac_status); } &&
56264 { ac_try='test -z "$ac_cxx_werror_flag"
56265 || test ! -s conftest.err'
56266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56267 (eval $ac_try) 2>&5
56268 ac_status=$?
56269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56270 (exit $ac_status); }; } &&
56271 { ac_try='test -s conftest.$ac_objext'
56272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56273 (eval $ac_try) 2>&5
56274 ac_status=$?
56275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56276 (exit $ac_status); }; }; then
56277 glibcxx_cv_func_fabsl_use=yes
56278 else
56279 echo "$as_me: failed program was:" >&5
56280 sed 's/^/| /' conftest.$ac_ext >&5
56282 glibcxx_cv_func_fabsl_use=no
56284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56285 ac_ext=c
56286 ac_cpp='$CPP $CPPFLAGS'
56287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56295 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
56296 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
56298 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56300 for ac_func in fabsl
56302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56303 echo "$as_me:$LINENO: checking for $ac_func" >&5
56304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56305 if eval "test \"\${$as_ac_var+set}\" = set"; then
56306 echo $ECHO_N "(cached) $ECHO_C" >&6
56307 else
56308 if test x$gcc_no_link = xyes; then
56309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56311 { (exit 1); exit 1; }; }
56313 cat >conftest.$ac_ext <<_ACEOF
56314 /* confdefs.h. */
56315 _ACEOF
56316 cat confdefs.h >>conftest.$ac_ext
56317 cat >>conftest.$ac_ext <<_ACEOF
56318 /* end confdefs.h. */
56319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56321 #define $ac_func innocuous_$ac_func
56323 /* System header to define __stub macros and hopefully few prototypes,
56324 which can conflict with char $ac_func (); below.
56325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56326 <limits.h> exists even on freestanding compilers. */
56328 #ifdef __STDC__
56329 # include <limits.h>
56330 #else
56331 # include <assert.h>
56332 #endif
56334 #undef $ac_func
56336 /* Override any gcc2 internal prototype to avoid an error. */
56337 #ifdef __cplusplus
56338 extern "C"
56340 #endif
56341 /* We use char because int might match the return type of a gcc2
56342 builtin and then its argument prototype would still apply. */
56343 char $ac_func ();
56344 /* The GNU C library defines this for functions which it implements
56345 to always fail with ENOSYS. Some functions are actually named
56346 something starting with __ and the normal name is an alias. */
56347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56348 choke me
56349 #else
56350 char (*f) () = $ac_func;
56351 #endif
56352 #ifdef __cplusplus
56354 #endif
56357 main ()
56359 return f != $ac_func;
56361 return 0;
56363 _ACEOF
56364 rm -f conftest.$ac_objext conftest$ac_exeext
56365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56366 (eval $ac_link) 2>conftest.er1
56367 ac_status=$?
56368 grep -v '^ *+' conftest.er1 >conftest.err
56369 rm -f conftest.er1
56370 cat conftest.err >&5
56371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56372 (exit $ac_status); } &&
56373 { ac_try='test -z "$ac_c_werror_flag"
56374 || test ! -s conftest.err'
56375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56376 (eval $ac_try) 2>&5
56377 ac_status=$?
56378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56379 (exit $ac_status); }; } &&
56380 { ac_try='test -s conftest$ac_exeext'
56381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56382 (eval $ac_try) 2>&5
56383 ac_status=$?
56384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56385 (exit $ac_status); }; }; then
56386 eval "$as_ac_var=yes"
56387 else
56388 echo "$as_me: failed program was:" >&5
56389 sed 's/^/| /' conftest.$ac_ext >&5
56391 eval "$as_ac_var=no"
56393 rm -f conftest.err conftest.$ac_objext \
56394 conftest$ac_exeext conftest.$ac_ext
56396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56398 if test `eval echo '${'$as_ac_var'}'` = yes; then
56399 cat >>confdefs.h <<_ACEOF
56400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56401 _ACEOF
56404 done
56406 else
56408 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
56409 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
56410 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56411 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
56412 echo $ECHO_N "(cached) $ECHO_C" >&6
56413 else
56417 ac_ext=cc
56418 ac_cpp='$CXXCPP $CPPFLAGS'
56419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56423 cat >conftest.$ac_ext <<_ACEOF
56424 /* confdefs.h. */
56425 _ACEOF
56426 cat confdefs.h >>conftest.$ac_ext
56427 cat >>conftest.$ac_ext <<_ACEOF
56428 /* end confdefs.h. */
56429 #include <math.h>
56430 #ifdef HAVE_IEEEFP_H
56431 #include <ieeefp.h>
56432 #endif
56435 main ()
56437 _fabsl(0);
56439 return 0;
56441 _ACEOF
56442 rm -f conftest.$ac_objext
56443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56444 (eval $ac_compile) 2>conftest.er1
56445 ac_status=$?
56446 grep -v '^ *+' conftest.er1 >conftest.err
56447 rm -f conftest.er1
56448 cat conftest.err >&5
56449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56450 (exit $ac_status); } &&
56451 { ac_try='test -z "$ac_cxx_werror_flag"
56452 || test ! -s conftest.err'
56453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56454 (eval $ac_try) 2>&5
56455 ac_status=$?
56456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56457 (exit $ac_status); }; } &&
56458 { ac_try='test -s conftest.$ac_objext'
56459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56460 (eval $ac_try) 2>&5
56461 ac_status=$?
56462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56463 (exit $ac_status); }; }; then
56464 glibcxx_cv_func__fabsl_use=yes
56465 else
56466 echo "$as_me: failed program was:" >&5
56467 sed 's/^/| /' conftest.$ac_ext >&5
56469 glibcxx_cv_func__fabsl_use=no
56471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56472 ac_ext=c
56473 ac_cpp='$CPP $CPPFLAGS'
56474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56482 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
56483 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
56485 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56487 for ac_func in _fabsl
56489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56490 echo "$as_me:$LINENO: checking for $ac_func" >&5
56491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56492 if eval "test \"\${$as_ac_var+set}\" = set"; then
56493 echo $ECHO_N "(cached) $ECHO_C" >&6
56494 else
56495 if test x$gcc_no_link = xyes; then
56496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56498 { (exit 1); exit 1; }; }
56500 cat >conftest.$ac_ext <<_ACEOF
56501 /* confdefs.h. */
56502 _ACEOF
56503 cat confdefs.h >>conftest.$ac_ext
56504 cat >>conftest.$ac_ext <<_ACEOF
56505 /* end confdefs.h. */
56506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56508 #define $ac_func innocuous_$ac_func
56510 /* System header to define __stub macros and hopefully few prototypes,
56511 which can conflict with char $ac_func (); below.
56512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56513 <limits.h> exists even on freestanding compilers. */
56515 #ifdef __STDC__
56516 # include <limits.h>
56517 #else
56518 # include <assert.h>
56519 #endif
56521 #undef $ac_func
56523 /* Override any gcc2 internal prototype to avoid an error. */
56524 #ifdef __cplusplus
56525 extern "C"
56527 #endif
56528 /* We use char because int might match the return type of a gcc2
56529 builtin and then its argument prototype would still apply. */
56530 char $ac_func ();
56531 /* The GNU C library defines this for functions which it implements
56532 to always fail with ENOSYS. Some functions are actually named
56533 something starting with __ and the normal name is an alias. */
56534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56535 choke me
56536 #else
56537 char (*f) () = $ac_func;
56538 #endif
56539 #ifdef __cplusplus
56541 #endif
56544 main ()
56546 return f != $ac_func;
56548 return 0;
56550 _ACEOF
56551 rm -f conftest.$ac_objext conftest$ac_exeext
56552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56553 (eval $ac_link) 2>conftest.er1
56554 ac_status=$?
56555 grep -v '^ *+' conftest.er1 >conftest.err
56556 rm -f conftest.er1
56557 cat conftest.err >&5
56558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56559 (exit $ac_status); } &&
56560 { ac_try='test -z "$ac_c_werror_flag"
56561 || test ! -s conftest.err'
56562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56563 (eval $ac_try) 2>&5
56564 ac_status=$?
56565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56566 (exit $ac_status); }; } &&
56567 { ac_try='test -s conftest$ac_exeext'
56568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56569 (eval $ac_try) 2>&5
56570 ac_status=$?
56571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56572 (exit $ac_status); }; }; then
56573 eval "$as_ac_var=yes"
56574 else
56575 echo "$as_me: failed program was:" >&5
56576 sed 's/^/| /' conftest.$ac_ext >&5
56578 eval "$as_ac_var=no"
56580 rm -f conftest.err conftest.$ac_objext \
56581 conftest$ac_exeext conftest.$ac_ext
56583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56585 if test `eval echo '${'$as_ac_var'}'` = yes; then
56586 cat >>confdefs.h <<_ACEOF
56587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56588 _ACEOF
56591 done
56601 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
56602 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
56603 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56604 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
56605 echo $ECHO_N "(cached) $ECHO_C" >&6
56606 else
56610 ac_ext=cc
56611 ac_cpp='$CXXCPP $CPPFLAGS'
56612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56616 cat >conftest.$ac_ext <<_ACEOF
56617 /* confdefs.h. */
56618 _ACEOF
56619 cat confdefs.h >>conftest.$ac_ext
56620 cat >>conftest.$ac_ext <<_ACEOF
56621 /* end confdefs.h. */
56622 #include <math.h>
56624 main ()
56626 fmodl(0, 0);
56628 return 0;
56630 _ACEOF
56631 rm -f conftest.$ac_objext
56632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56633 (eval $ac_compile) 2>conftest.er1
56634 ac_status=$?
56635 grep -v '^ *+' conftest.er1 >conftest.err
56636 rm -f conftest.er1
56637 cat conftest.err >&5
56638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56639 (exit $ac_status); } &&
56640 { ac_try='test -z "$ac_cxx_werror_flag"
56641 || test ! -s conftest.err'
56642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56643 (eval $ac_try) 2>&5
56644 ac_status=$?
56645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56646 (exit $ac_status); }; } &&
56647 { ac_try='test -s conftest.$ac_objext'
56648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56649 (eval $ac_try) 2>&5
56650 ac_status=$?
56651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56652 (exit $ac_status); }; }; then
56653 glibcxx_cv_func_fmodl_use=yes
56654 else
56655 echo "$as_me: failed program was:" >&5
56656 sed 's/^/| /' conftest.$ac_ext >&5
56658 glibcxx_cv_func_fmodl_use=no
56660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56661 ac_ext=c
56662 ac_cpp='$CPP $CPPFLAGS'
56663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56671 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
56672 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
56674 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56676 for ac_func in fmodl
56678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56679 echo "$as_me:$LINENO: checking for $ac_func" >&5
56680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56681 if eval "test \"\${$as_ac_var+set}\" = set"; then
56682 echo $ECHO_N "(cached) $ECHO_C" >&6
56683 else
56684 if test x$gcc_no_link = xyes; then
56685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56687 { (exit 1); exit 1; }; }
56689 cat >conftest.$ac_ext <<_ACEOF
56690 /* confdefs.h. */
56691 _ACEOF
56692 cat confdefs.h >>conftest.$ac_ext
56693 cat >>conftest.$ac_ext <<_ACEOF
56694 /* end confdefs.h. */
56695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56697 #define $ac_func innocuous_$ac_func
56699 /* System header to define __stub macros and hopefully few prototypes,
56700 which can conflict with char $ac_func (); below.
56701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56702 <limits.h> exists even on freestanding compilers. */
56704 #ifdef __STDC__
56705 # include <limits.h>
56706 #else
56707 # include <assert.h>
56708 #endif
56710 #undef $ac_func
56712 /* Override any gcc2 internal prototype to avoid an error. */
56713 #ifdef __cplusplus
56714 extern "C"
56716 #endif
56717 /* We use char because int might match the return type of a gcc2
56718 builtin and then its argument prototype would still apply. */
56719 char $ac_func ();
56720 /* The GNU C library defines this for functions which it implements
56721 to always fail with ENOSYS. Some functions are actually named
56722 something starting with __ and the normal name is an alias. */
56723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56724 choke me
56725 #else
56726 char (*f) () = $ac_func;
56727 #endif
56728 #ifdef __cplusplus
56730 #endif
56733 main ()
56735 return f != $ac_func;
56737 return 0;
56739 _ACEOF
56740 rm -f conftest.$ac_objext conftest$ac_exeext
56741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56742 (eval $ac_link) 2>conftest.er1
56743 ac_status=$?
56744 grep -v '^ *+' conftest.er1 >conftest.err
56745 rm -f conftest.er1
56746 cat conftest.err >&5
56747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56748 (exit $ac_status); } &&
56749 { ac_try='test -z "$ac_c_werror_flag"
56750 || test ! -s conftest.err'
56751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56752 (eval $ac_try) 2>&5
56753 ac_status=$?
56754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56755 (exit $ac_status); }; } &&
56756 { ac_try='test -s conftest$ac_exeext'
56757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56758 (eval $ac_try) 2>&5
56759 ac_status=$?
56760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56761 (exit $ac_status); }; }; then
56762 eval "$as_ac_var=yes"
56763 else
56764 echo "$as_me: failed program was:" >&5
56765 sed 's/^/| /' conftest.$ac_ext >&5
56767 eval "$as_ac_var=no"
56769 rm -f conftest.err conftest.$ac_objext \
56770 conftest$ac_exeext conftest.$ac_ext
56772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56774 if test `eval echo '${'$as_ac_var'}'` = yes; then
56775 cat >>confdefs.h <<_ACEOF
56776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56777 _ACEOF
56780 done
56782 else
56784 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
56785 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
56786 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56787 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
56788 echo $ECHO_N "(cached) $ECHO_C" >&6
56789 else
56793 ac_ext=cc
56794 ac_cpp='$CXXCPP $CPPFLAGS'
56795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56799 cat >conftest.$ac_ext <<_ACEOF
56800 /* confdefs.h. */
56801 _ACEOF
56802 cat confdefs.h >>conftest.$ac_ext
56803 cat >>conftest.$ac_ext <<_ACEOF
56804 /* end confdefs.h. */
56805 #include <math.h>
56807 main ()
56809 _fmodl(0, 0);
56811 return 0;
56813 _ACEOF
56814 rm -f conftest.$ac_objext
56815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56816 (eval $ac_compile) 2>conftest.er1
56817 ac_status=$?
56818 grep -v '^ *+' conftest.er1 >conftest.err
56819 rm -f conftest.er1
56820 cat conftest.err >&5
56821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56822 (exit $ac_status); } &&
56823 { ac_try='test -z "$ac_cxx_werror_flag"
56824 || test ! -s conftest.err'
56825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56826 (eval $ac_try) 2>&5
56827 ac_status=$?
56828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56829 (exit $ac_status); }; } &&
56830 { ac_try='test -s conftest.$ac_objext'
56831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56832 (eval $ac_try) 2>&5
56833 ac_status=$?
56834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56835 (exit $ac_status); }; }; then
56836 glibcxx_cv_func__fmodl_use=yes
56837 else
56838 echo "$as_me: failed program was:" >&5
56839 sed 's/^/| /' conftest.$ac_ext >&5
56841 glibcxx_cv_func__fmodl_use=no
56843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56844 ac_ext=c
56845 ac_cpp='$CPP $CPPFLAGS'
56846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56854 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
56855 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
56857 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56859 for ac_func in _fmodl
56861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56862 echo "$as_me:$LINENO: checking for $ac_func" >&5
56863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56864 if eval "test \"\${$as_ac_var+set}\" = set"; then
56865 echo $ECHO_N "(cached) $ECHO_C" >&6
56866 else
56867 if test x$gcc_no_link = xyes; then
56868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56870 { (exit 1); exit 1; }; }
56872 cat >conftest.$ac_ext <<_ACEOF
56873 /* confdefs.h. */
56874 _ACEOF
56875 cat confdefs.h >>conftest.$ac_ext
56876 cat >>conftest.$ac_ext <<_ACEOF
56877 /* end confdefs.h. */
56878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56880 #define $ac_func innocuous_$ac_func
56882 /* System header to define __stub macros and hopefully few prototypes,
56883 which can conflict with char $ac_func (); below.
56884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56885 <limits.h> exists even on freestanding compilers. */
56887 #ifdef __STDC__
56888 # include <limits.h>
56889 #else
56890 # include <assert.h>
56891 #endif
56893 #undef $ac_func
56895 /* Override any gcc2 internal prototype to avoid an error. */
56896 #ifdef __cplusplus
56897 extern "C"
56899 #endif
56900 /* We use char because int might match the return type of a gcc2
56901 builtin and then its argument prototype would still apply. */
56902 char $ac_func ();
56903 /* The GNU C library defines this for functions which it implements
56904 to always fail with ENOSYS. Some functions are actually named
56905 something starting with __ and the normal name is an alias. */
56906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56907 choke me
56908 #else
56909 char (*f) () = $ac_func;
56910 #endif
56911 #ifdef __cplusplus
56913 #endif
56916 main ()
56918 return f != $ac_func;
56920 return 0;
56922 _ACEOF
56923 rm -f conftest.$ac_objext conftest$ac_exeext
56924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56925 (eval $ac_link) 2>conftest.er1
56926 ac_status=$?
56927 grep -v '^ *+' conftest.er1 >conftest.err
56928 rm -f conftest.er1
56929 cat conftest.err >&5
56930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56931 (exit $ac_status); } &&
56932 { ac_try='test -z "$ac_c_werror_flag"
56933 || test ! -s conftest.err'
56934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56935 (eval $ac_try) 2>&5
56936 ac_status=$?
56937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56938 (exit $ac_status); }; } &&
56939 { ac_try='test -s conftest$ac_exeext'
56940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56941 (eval $ac_try) 2>&5
56942 ac_status=$?
56943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56944 (exit $ac_status); }; }; then
56945 eval "$as_ac_var=yes"
56946 else
56947 echo "$as_me: failed program was:" >&5
56948 sed 's/^/| /' conftest.$ac_ext >&5
56950 eval "$as_ac_var=no"
56952 rm -f conftest.err conftest.$ac_objext \
56953 conftest$ac_exeext conftest.$ac_ext
56955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56957 if test `eval echo '${'$as_ac_var'}'` = yes; then
56958 cat >>confdefs.h <<_ACEOF
56959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56960 _ACEOF
56963 done
56973 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
56974 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
56975 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56976 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
56977 echo $ECHO_N "(cached) $ECHO_C" >&6
56978 else
56982 ac_ext=cc
56983 ac_cpp='$CXXCPP $CPPFLAGS'
56984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56988 cat >conftest.$ac_ext <<_ACEOF
56989 /* confdefs.h. */
56990 _ACEOF
56991 cat confdefs.h >>conftest.$ac_ext
56992 cat >>conftest.$ac_ext <<_ACEOF
56993 /* end confdefs.h. */
56994 #include <math.h>
56996 main ()
56998 frexpl(0, 0);
57000 return 0;
57002 _ACEOF
57003 rm -f conftest.$ac_objext
57004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57005 (eval $ac_compile) 2>conftest.er1
57006 ac_status=$?
57007 grep -v '^ *+' conftest.er1 >conftest.err
57008 rm -f conftest.er1
57009 cat conftest.err >&5
57010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57011 (exit $ac_status); } &&
57012 { ac_try='test -z "$ac_cxx_werror_flag"
57013 || test ! -s conftest.err'
57014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57015 (eval $ac_try) 2>&5
57016 ac_status=$?
57017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57018 (exit $ac_status); }; } &&
57019 { ac_try='test -s conftest.$ac_objext'
57020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57021 (eval $ac_try) 2>&5
57022 ac_status=$?
57023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57024 (exit $ac_status); }; }; then
57025 glibcxx_cv_func_frexpl_use=yes
57026 else
57027 echo "$as_me: failed program was:" >&5
57028 sed 's/^/| /' conftest.$ac_ext >&5
57030 glibcxx_cv_func_frexpl_use=no
57032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57033 ac_ext=c
57034 ac_cpp='$CPP $CPPFLAGS'
57035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57043 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
57044 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
57046 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57048 for ac_func in frexpl
57050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57051 echo "$as_me:$LINENO: checking for $ac_func" >&5
57052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57053 if eval "test \"\${$as_ac_var+set}\" = set"; then
57054 echo $ECHO_N "(cached) $ECHO_C" >&6
57055 else
57056 if test x$gcc_no_link = xyes; then
57057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57059 { (exit 1); exit 1; }; }
57061 cat >conftest.$ac_ext <<_ACEOF
57062 /* confdefs.h. */
57063 _ACEOF
57064 cat confdefs.h >>conftest.$ac_ext
57065 cat >>conftest.$ac_ext <<_ACEOF
57066 /* end confdefs.h. */
57067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57069 #define $ac_func innocuous_$ac_func
57071 /* System header to define __stub macros and hopefully few prototypes,
57072 which can conflict with char $ac_func (); below.
57073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57074 <limits.h> exists even on freestanding compilers. */
57076 #ifdef __STDC__
57077 # include <limits.h>
57078 #else
57079 # include <assert.h>
57080 #endif
57082 #undef $ac_func
57084 /* Override any gcc2 internal prototype to avoid an error. */
57085 #ifdef __cplusplus
57086 extern "C"
57088 #endif
57089 /* We use char because int might match the return type of a gcc2
57090 builtin and then its argument prototype would still apply. */
57091 char $ac_func ();
57092 /* The GNU C library defines this for functions which it implements
57093 to always fail with ENOSYS. Some functions are actually named
57094 something starting with __ and the normal name is an alias. */
57095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57096 choke me
57097 #else
57098 char (*f) () = $ac_func;
57099 #endif
57100 #ifdef __cplusplus
57102 #endif
57105 main ()
57107 return f != $ac_func;
57109 return 0;
57111 _ACEOF
57112 rm -f conftest.$ac_objext conftest$ac_exeext
57113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57114 (eval $ac_link) 2>conftest.er1
57115 ac_status=$?
57116 grep -v '^ *+' conftest.er1 >conftest.err
57117 rm -f conftest.er1
57118 cat conftest.err >&5
57119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57120 (exit $ac_status); } &&
57121 { ac_try='test -z "$ac_c_werror_flag"
57122 || test ! -s conftest.err'
57123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57124 (eval $ac_try) 2>&5
57125 ac_status=$?
57126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57127 (exit $ac_status); }; } &&
57128 { ac_try='test -s conftest$ac_exeext'
57129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57130 (eval $ac_try) 2>&5
57131 ac_status=$?
57132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57133 (exit $ac_status); }; }; then
57134 eval "$as_ac_var=yes"
57135 else
57136 echo "$as_me: failed program was:" >&5
57137 sed 's/^/| /' conftest.$ac_ext >&5
57139 eval "$as_ac_var=no"
57141 rm -f conftest.err conftest.$ac_objext \
57142 conftest$ac_exeext conftest.$ac_ext
57144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57146 if test `eval echo '${'$as_ac_var'}'` = yes; then
57147 cat >>confdefs.h <<_ACEOF
57148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57149 _ACEOF
57152 done
57154 else
57156 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
57157 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
57158 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57159 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
57160 echo $ECHO_N "(cached) $ECHO_C" >&6
57161 else
57165 ac_ext=cc
57166 ac_cpp='$CXXCPP $CPPFLAGS'
57167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57171 cat >conftest.$ac_ext <<_ACEOF
57172 /* confdefs.h. */
57173 _ACEOF
57174 cat confdefs.h >>conftest.$ac_ext
57175 cat >>conftest.$ac_ext <<_ACEOF
57176 /* end confdefs.h. */
57177 #include <math.h>
57179 main ()
57181 _frexpl(0, 0);
57183 return 0;
57185 _ACEOF
57186 rm -f conftest.$ac_objext
57187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57188 (eval $ac_compile) 2>conftest.er1
57189 ac_status=$?
57190 grep -v '^ *+' conftest.er1 >conftest.err
57191 rm -f conftest.er1
57192 cat conftest.err >&5
57193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57194 (exit $ac_status); } &&
57195 { ac_try='test -z "$ac_cxx_werror_flag"
57196 || test ! -s conftest.err'
57197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57198 (eval $ac_try) 2>&5
57199 ac_status=$?
57200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57201 (exit $ac_status); }; } &&
57202 { ac_try='test -s conftest.$ac_objext'
57203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57204 (eval $ac_try) 2>&5
57205 ac_status=$?
57206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57207 (exit $ac_status); }; }; then
57208 glibcxx_cv_func__frexpl_use=yes
57209 else
57210 echo "$as_me: failed program was:" >&5
57211 sed 's/^/| /' conftest.$ac_ext >&5
57213 glibcxx_cv_func__frexpl_use=no
57215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57216 ac_ext=c
57217 ac_cpp='$CPP $CPPFLAGS'
57218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57226 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
57227 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
57229 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57231 for ac_func in _frexpl
57233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57234 echo "$as_me:$LINENO: checking for $ac_func" >&5
57235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57236 if eval "test \"\${$as_ac_var+set}\" = set"; then
57237 echo $ECHO_N "(cached) $ECHO_C" >&6
57238 else
57239 if test x$gcc_no_link = xyes; then
57240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57242 { (exit 1); exit 1; }; }
57244 cat >conftest.$ac_ext <<_ACEOF
57245 /* confdefs.h. */
57246 _ACEOF
57247 cat confdefs.h >>conftest.$ac_ext
57248 cat >>conftest.$ac_ext <<_ACEOF
57249 /* end confdefs.h. */
57250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57252 #define $ac_func innocuous_$ac_func
57254 /* System header to define __stub macros and hopefully few prototypes,
57255 which can conflict with char $ac_func (); below.
57256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57257 <limits.h> exists even on freestanding compilers. */
57259 #ifdef __STDC__
57260 # include <limits.h>
57261 #else
57262 # include <assert.h>
57263 #endif
57265 #undef $ac_func
57267 /* Override any gcc2 internal prototype to avoid an error. */
57268 #ifdef __cplusplus
57269 extern "C"
57271 #endif
57272 /* We use char because int might match the return type of a gcc2
57273 builtin and then its argument prototype would still apply. */
57274 char $ac_func ();
57275 /* The GNU C library defines this for functions which it implements
57276 to always fail with ENOSYS. Some functions are actually named
57277 something starting with __ and the normal name is an alias. */
57278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57279 choke me
57280 #else
57281 char (*f) () = $ac_func;
57282 #endif
57283 #ifdef __cplusplus
57285 #endif
57288 main ()
57290 return f != $ac_func;
57292 return 0;
57294 _ACEOF
57295 rm -f conftest.$ac_objext conftest$ac_exeext
57296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57297 (eval $ac_link) 2>conftest.er1
57298 ac_status=$?
57299 grep -v '^ *+' conftest.er1 >conftest.err
57300 rm -f conftest.er1
57301 cat conftest.err >&5
57302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57303 (exit $ac_status); } &&
57304 { ac_try='test -z "$ac_c_werror_flag"
57305 || test ! -s conftest.err'
57306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57307 (eval $ac_try) 2>&5
57308 ac_status=$?
57309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57310 (exit $ac_status); }; } &&
57311 { ac_try='test -s conftest$ac_exeext'
57312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57313 (eval $ac_try) 2>&5
57314 ac_status=$?
57315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57316 (exit $ac_status); }; }; then
57317 eval "$as_ac_var=yes"
57318 else
57319 echo "$as_me: failed program was:" >&5
57320 sed 's/^/| /' conftest.$ac_ext >&5
57322 eval "$as_ac_var=no"
57324 rm -f conftest.err conftest.$ac_objext \
57325 conftest$ac_exeext conftest.$ac_ext
57327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57329 if test `eval echo '${'$as_ac_var'}'` = yes; then
57330 cat >>confdefs.h <<_ACEOF
57331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57332 _ACEOF
57335 done
57345 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
57346 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
57347 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57348 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
57349 echo $ECHO_N "(cached) $ECHO_C" >&6
57350 else
57354 ac_ext=cc
57355 ac_cpp='$CXXCPP $CPPFLAGS'
57356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57360 cat >conftest.$ac_ext <<_ACEOF
57361 /* confdefs.h. */
57362 _ACEOF
57363 cat confdefs.h >>conftest.$ac_ext
57364 cat >>conftest.$ac_ext <<_ACEOF
57365 /* end confdefs.h. */
57366 #include <math.h>
57368 main ()
57370 hypotl(0, 0);
57372 return 0;
57374 _ACEOF
57375 rm -f conftest.$ac_objext
57376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57377 (eval $ac_compile) 2>conftest.er1
57378 ac_status=$?
57379 grep -v '^ *+' conftest.er1 >conftest.err
57380 rm -f conftest.er1
57381 cat conftest.err >&5
57382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57383 (exit $ac_status); } &&
57384 { ac_try='test -z "$ac_cxx_werror_flag"
57385 || test ! -s conftest.err'
57386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57387 (eval $ac_try) 2>&5
57388 ac_status=$?
57389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57390 (exit $ac_status); }; } &&
57391 { ac_try='test -s conftest.$ac_objext'
57392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57393 (eval $ac_try) 2>&5
57394 ac_status=$?
57395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57396 (exit $ac_status); }; }; then
57397 glibcxx_cv_func_hypotl_use=yes
57398 else
57399 echo "$as_me: failed program was:" >&5
57400 sed 's/^/| /' conftest.$ac_ext >&5
57402 glibcxx_cv_func_hypotl_use=no
57404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57405 ac_ext=c
57406 ac_cpp='$CPP $CPPFLAGS'
57407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57415 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
57416 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
57418 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57420 for ac_func in hypotl
57422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57423 echo "$as_me:$LINENO: checking for $ac_func" >&5
57424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57425 if eval "test \"\${$as_ac_var+set}\" = set"; then
57426 echo $ECHO_N "(cached) $ECHO_C" >&6
57427 else
57428 if test x$gcc_no_link = xyes; then
57429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57431 { (exit 1); exit 1; }; }
57433 cat >conftest.$ac_ext <<_ACEOF
57434 /* confdefs.h. */
57435 _ACEOF
57436 cat confdefs.h >>conftest.$ac_ext
57437 cat >>conftest.$ac_ext <<_ACEOF
57438 /* end confdefs.h. */
57439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57441 #define $ac_func innocuous_$ac_func
57443 /* System header to define __stub macros and hopefully few prototypes,
57444 which can conflict with char $ac_func (); below.
57445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57446 <limits.h> exists even on freestanding compilers. */
57448 #ifdef __STDC__
57449 # include <limits.h>
57450 #else
57451 # include <assert.h>
57452 #endif
57454 #undef $ac_func
57456 /* Override any gcc2 internal prototype to avoid an error. */
57457 #ifdef __cplusplus
57458 extern "C"
57460 #endif
57461 /* We use char because int might match the return type of a gcc2
57462 builtin and then its argument prototype would still apply. */
57463 char $ac_func ();
57464 /* The GNU C library defines this for functions which it implements
57465 to always fail with ENOSYS. Some functions are actually named
57466 something starting with __ and the normal name is an alias. */
57467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57468 choke me
57469 #else
57470 char (*f) () = $ac_func;
57471 #endif
57472 #ifdef __cplusplus
57474 #endif
57477 main ()
57479 return f != $ac_func;
57481 return 0;
57483 _ACEOF
57484 rm -f conftest.$ac_objext conftest$ac_exeext
57485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57486 (eval $ac_link) 2>conftest.er1
57487 ac_status=$?
57488 grep -v '^ *+' conftest.er1 >conftest.err
57489 rm -f conftest.er1
57490 cat conftest.err >&5
57491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57492 (exit $ac_status); } &&
57493 { ac_try='test -z "$ac_c_werror_flag"
57494 || test ! -s conftest.err'
57495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57496 (eval $ac_try) 2>&5
57497 ac_status=$?
57498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57499 (exit $ac_status); }; } &&
57500 { ac_try='test -s conftest$ac_exeext'
57501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57502 (eval $ac_try) 2>&5
57503 ac_status=$?
57504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57505 (exit $ac_status); }; }; then
57506 eval "$as_ac_var=yes"
57507 else
57508 echo "$as_me: failed program was:" >&5
57509 sed 's/^/| /' conftest.$ac_ext >&5
57511 eval "$as_ac_var=no"
57513 rm -f conftest.err conftest.$ac_objext \
57514 conftest$ac_exeext conftest.$ac_ext
57516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57518 if test `eval echo '${'$as_ac_var'}'` = yes; then
57519 cat >>confdefs.h <<_ACEOF
57520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57521 _ACEOF
57524 done
57526 else
57528 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
57529 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
57530 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57531 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
57532 echo $ECHO_N "(cached) $ECHO_C" >&6
57533 else
57537 ac_ext=cc
57538 ac_cpp='$CXXCPP $CPPFLAGS'
57539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57543 cat >conftest.$ac_ext <<_ACEOF
57544 /* confdefs.h. */
57545 _ACEOF
57546 cat confdefs.h >>conftest.$ac_ext
57547 cat >>conftest.$ac_ext <<_ACEOF
57548 /* end confdefs.h. */
57549 #include <math.h>
57551 main ()
57553 _hypotl(0, 0);
57555 return 0;
57557 _ACEOF
57558 rm -f conftest.$ac_objext
57559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57560 (eval $ac_compile) 2>conftest.er1
57561 ac_status=$?
57562 grep -v '^ *+' conftest.er1 >conftest.err
57563 rm -f conftest.er1
57564 cat conftest.err >&5
57565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57566 (exit $ac_status); } &&
57567 { ac_try='test -z "$ac_cxx_werror_flag"
57568 || test ! -s conftest.err'
57569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57570 (eval $ac_try) 2>&5
57571 ac_status=$?
57572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57573 (exit $ac_status); }; } &&
57574 { ac_try='test -s conftest.$ac_objext'
57575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57576 (eval $ac_try) 2>&5
57577 ac_status=$?
57578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57579 (exit $ac_status); }; }; then
57580 glibcxx_cv_func__hypotl_use=yes
57581 else
57582 echo "$as_me: failed program was:" >&5
57583 sed 's/^/| /' conftest.$ac_ext >&5
57585 glibcxx_cv_func__hypotl_use=no
57587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57588 ac_ext=c
57589 ac_cpp='$CPP $CPPFLAGS'
57590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57598 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
57599 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
57601 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57603 for ac_func in _hypotl
57605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57606 echo "$as_me:$LINENO: checking for $ac_func" >&5
57607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57608 if eval "test \"\${$as_ac_var+set}\" = set"; then
57609 echo $ECHO_N "(cached) $ECHO_C" >&6
57610 else
57611 if test x$gcc_no_link = xyes; then
57612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57614 { (exit 1); exit 1; }; }
57616 cat >conftest.$ac_ext <<_ACEOF
57617 /* confdefs.h. */
57618 _ACEOF
57619 cat confdefs.h >>conftest.$ac_ext
57620 cat >>conftest.$ac_ext <<_ACEOF
57621 /* end confdefs.h. */
57622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57624 #define $ac_func innocuous_$ac_func
57626 /* System header to define __stub macros and hopefully few prototypes,
57627 which can conflict with char $ac_func (); below.
57628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57629 <limits.h> exists even on freestanding compilers. */
57631 #ifdef __STDC__
57632 # include <limits.h>
57633 #else
57634 # include <assert.h>
57635 #endif
57637 #undef $ac_func
57639 /* Override any gcc2 internal prototype to avoid an error. */
57640 #ifdef __cplusplus
57641 extern "C"
57643 #endif
57644 /* We use char because int might match the return type of a gcc2
57645 builtin and then its argument prototype would still apply. */
57646 char $ac_func ();
57647 /* The GNU C library defines this for functions which it implements
57648 to always fail with ENOSYS. Some functions are actually named
57649 something starting with __ and the normal name is an alias. */
57650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57651 choke me
57652 #else
57653 char (*f) () = $ac_func;
57654 #endif
57655 #ifdef __cplusplus
57657 #endif
57660 main ()
57662 return f != $ac_func;
57664 return 0;
57666 _ACEOF
57667 rm -f conftest.$ac_objext conftest$ac_exeext
57668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57669 (eval $ac_link) 2>conftest.er1
57670 ac_status=$?
57671 grep -v '^ *+' conftest.er1 >conftest.err
57672 rm -f conftest.er1
57673 cat conftest.err >&5
57674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57675 (exit $ac_status); } &&
57676 { ac_try='test -z "$ac_c_werror_flag"
57677 || test ! -s conftest.err'
57678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57679 (eval $ac_try) 2>&5
57680 ac_status=$?
57681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57682 (exit $ac_status); }; } &&
57683 { ac_try='test -s conftest$ac_exeext'
57684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57685 (eval $ac_try) 2>&5
57686 ac_status=$?
57687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57688 (exit $ac_status); }; }; then
57689 eval "$as_ac_var=yes"
57690 else
57691 echo "$as_me: failed program was:" >&5
57692 sed 's/^/| /' conftest.$ac_ext >&5
57694 eval "$as_ac_var=no"
57696 rm -f conftest.err conftest.$ac_objext \
57697 conftest$ac_exeext conftest.$ac_ext
57699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57701 if test `eval echo '${'$as_ac_var'}'` = yes; then
57702 cat >>confdefs.h <<_ACEOF
57703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57704 _ACEOF
57707 done
57717 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
57718 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
57719 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57720 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
57721 echo $ECHO_N "(cached) $ECHO_C" >&6
57722 else
57726 ac_ext=cc
57727 ac_cpp='$CXXCPP $CPPFLAGS'
57728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57732 cat >conftest.$ac_ext <<_ACEOF
57733 /* confdefs.h. */
57734 _ACEOF
57735 cat confdefs.h >>conftest.$ac_ext
57736 cat >>conftest.$ac_ext <<_ACEOF
57737 /* end confdefs.h. */
57738 #include <math.h>
57740 main ()
57742 ldexpl(0, 0);
57744 return 0;
57746 _ACEOF
57747 rm -f conftest.$ac_objext
57748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57749 (eval $ac_compile) 2>conftest.er1
57750 ac_status=$?
57751 grep -v '^ *+' conftest.er1 >conftest.err
57752 rm -f conftest.er1
57753 cat conftest.err >&5
57754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57755 (exit $ac_status); } &&
57756 { ac_try='test -z "$ac_cxx_werror_flag"
57757 || test ! -s conftest.err'
57758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57759 (eval $ac_try) 2>&5
57760 ac_status=$?
57761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57762 (exit $ac_status); }; } &&
57763 { ac_try='test -s conftest.$ac_objext'
57764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57765 (eval $ac_try) 2>&5
57766 ac_status=$?
57767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57768 (exit $ac_status); }; }; then
57769 glibcxx_cv_func_ldexpl_use=yes
57770 else
57771 echo "$as_me: failed program was:" >&5
57772 sed 's/^/| /' conftest.$ac_ext >&5
57774 glibcxx_cv_func_ldexpl_use=no
57776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57777 ac_ext=c
57778 ac_cpp='$CPP $CPPFLAGS'
57779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57787 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
57788 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
57790 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57792 for ac_func in ldexpl
57794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57795 echo "$as_me:$LINENO: checking for $ac_func" >&5
57796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57797 if eval "test \"\${$as_ac_var+set}\" = set"; then
57798 echo $ECHO_N "(cached) $ECHO_C" >&6
57799 else
57800 if test x$gcc_no_link = xyes; then
57801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57803 { (exit 1); exit 1; }; }
57805 cat >conftest.$ac_ext <<_ACEOF
57806 /* confdefs.h. */
57807 _ACEOF
57808 cat confdefs.h >>conftest.$ac_ext
57809 cat >>conftest.$ac_ext <<_ACEOF
57810 /* end confdefs.h. */
57811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57813 #define $ac_func innocuous_$ac_func
57815 /* System header to define __stub macros and hopefully few prototypes,
57816 which can conflict with char $ac_func (); below.
57817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57818 <limits.h> exists even on freestanding compilers. */
57820 #ifdef __STDC__
57821 # include <limits.h>
57822 #else
57823 # include <assert.h>
57824 #endif
57826 #undef $ac_func
57828 /* Override any gcc2 internal prototype to avoid an error. */
57829 #ifdef __cplusplus
57830 extern "C"
57832 #endif
57833 /* We use char because int might match the return type of a gcc2
57834 builtin and then its argument prototype would still apply. */
57835 char $ac_func ();
57836 /* The GNU C library defines this for functions which it implements
57837 to always fail with ENOSYS. Some functions are actually named
57838 something starting with __ and the normal name is an alias. */
57839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57840 choke me
57841 #else
57842 char (*f) () = $ac_func;
57843 #endif
57844 #ifdef __cplusplus
57846 #endif
57849 main ()
57851 return f != $ac_func;
57853 return 0;
57855 _ACEOF
57856 rm -f conftest.$ac_objext conftest$ac_exeext
57857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57858 (eval $ac_link) 2>conftest.er1
57859 ac_status=$?
57860 grep -v '^ *+' conftest.er1 >conftest.err
57861 rm -f conftest.er1
57862 cat conftest.err >&5
57863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57864 (exit $ac_status); } &&
57865 { ac_try='test -z "$ac_c_werror_flag"
57866 || test ! -s conftest.err'
57867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57868 (eval $ac_try) 2>&5
57869 ac_status=$?
57870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57871 (exit $ac_status); }; } &&
57872 { ac_try='test -s conftest$ac_exeext'
57873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57874 (eval $ac_try) 2>&5
57875 ac_status=$?
57876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57877 (exit $ac_status); }; }; then
57878 eval "$as_ac_var=yes"
57879 else
57880 echo "$as_me: failed program was:" >&5
57881 sed 's/^/| /' conftest.$ac_ext >&5
57883 eval "$as_ac_var=no"
57885 rm -f conftest.err conftest.$ac_objext \
57886 conftest$ac_exeext conftest.$ac_ext
57888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57890 if test `eval echo '${'$as_ac_var'}'` = yes; then
57891 cat >>confdefs.h <<_ACEOF
57892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57893 _ACEOF
57896 done
57898 else
57900 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
57901 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
57902 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57903 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
57904 echo $ECHO_N "(cached) $ECHO_C" >&6
57905 else
57909 ac_ext=cc
57910 ac_cpp='$CXXCPP $CPPFLAGS'
57911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57915 cat >conftest.$ac_ext <<_ACEOF
57916 /* confdefs.h. */
57917 _ACEOF
57918 cat confdefs.h >>conftest.$ac_ext
57919 cat >>conftest.$ac_ext <<_ACEOF
57920 /* end confdefs.h. */
57921 #include <math.h>
57923 main ()
57925 _ldexpl(0, 0);
57927 return 0;
57929 _ACEOF
57930 rm -f conftest.$ac_objext
57931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57932 (eval $ac_compile) 2>conftest.er1
57933 ac_status=$?
57934 grep -v '^ *+' conftest.er1 >conftest.err
57935 rm -f conftest.er1
57936 cat conftest.err >&5
57937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57938 (exit $ac_status); } &&
57939 { ac_try='test -z "$ac_cxx_werror_flag"
57940 || test ! -s conftest.err'
57941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57942 (eval $ac_try) 2>&5
57943 ac_status=$?
57944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57945 (exit $ac_status); }; } &&
57946 { ac_try='test -s conftest.$ac_objext'
57947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57948 (eval $ac_try) 2>&5
57949 ac_status=$?
57950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57951 (exit $ac_status); }; }; then
57952 glibcxx_cv_func__ldexpl_use=yes
57953 else
57954 echo "$as_me: failed program was:" >&5
57955 sed 's/^/| /' conftest.$ac_ext >&5
57957 glibcxx_cv_func__ldexpl_use=no
57959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57960 ac_ext=c
57961 ac_cpp='$CPP $CPPFLAGS'
57962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57970 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
57971 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
57973 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57975 for ac_func in _ldexpl
57977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57978 echo "$as_me:$LINENO: checking for $ac_func" >&5
57979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57980 if eval "test \"\${$as_ac_var+set}\" = set"; then
57981 echo $ECHO_N "(cached) $ECHO_C" >&6
57982 else
57983 if test x$gcc_no_link = xyes; then
57984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57986 { (exit 1); exit 1; }; }
57988 cat >conftest.$ac_ext <<_ACEOF
57989 /* confdefs.h. */
57990 _ACEOF
57991 cat confdefs.h >>conftest.$ac_ext
57992 cat >>conftest.$ac_ext <<_ACEOF
57993 /* end confdefs.h. */
57994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57996 #define $ac_func innocuous_$ac_func
57998 /* System header to define __stub macros and hopefully few prototypes,
57999 which can conflict with char $ac_func (); below.
58000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58001 <limits.h> exists even on freestanding compilers. */
58003 #ifdef __STDC__
58004 # include <limits.h>
58005 #else
58006 # include <assert.h>
58007 #endif
58009 #undef $ac_func
58011 /* Override any gcc2 internal prototype to avoid an error. */
58012 #ifdef __cplusplus
58013 extern "C"
58015 #endif
58016 /* We use char because int might match the return type of a gcc2
58017 builtin and then its argument prototype would still apply. */
58018 char $ac_func ();
58019 /* The GNU C library defines this for functions which it implements
58020 to always fail with ENOSYS. Some functions are actually named
58021 something starting with __ and the normal name is an alias. */
58022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58023 choke me
58024 #else
58025 char (*f) () = $ac_func;
58026 #endif
58027 #ifdef __cplusplus
58029 #endif
58032 main ()
58034 return f != $ac_func;
58036 return 0;
58038 _ACEOF
58039 rm -f conftest.$ac_objext conftest$ac_exeext
58040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58041 (eval $ac_link) 2>conftest.er1
58042 ac_status=$?
58043 grep -v '^ *+' conftest.er1 >conftest.err
58044 rm -f conftest.er1
58045 cat conftest.err >&5
58046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58047 (exit $ac_status); } &&
58048 { ac_try='test -z "$ac_c_werror_flag"
58049 || test ! -s conftest.err'
58050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58051 (eval $ac_try) 2>&5
58052 ac_status=$?
58053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58054 (exit $ac_status); }; } &&
58055 { ac_try='test -s conftest$ac_exeext'
58056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58057 (eval $ac_try) 2>&5
58058 ac_status=$?
58059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58060 (exit $ac_status); }; }; then
58061 eval "$as_ac_var=yes"
58062 else
58063 echo "$as_me: failed program was:" >&5
58064 sed 's/^/| /' conftest.$ac_ext >&5
58066 eval "$as_ac_var=no"
58068 rm -f conftest.err conftest.$ac_objext \
58069 conftest$ac_exeext conftest.$ac_ext
58071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58073 if test `eval echo '${'$as_ac_var'}'` = yes; then
58074 cat >>confdefs.h <<_ACEOF
58075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58076 _ACEOF
58079 done
58089 echo "$as_me:$LINENO: checking for logl declaration" >&5
58090 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
58091 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58092 if test "${glibcxx_cv_func_logl_use+set}" = set; then
58093 echo $ECHO_N "(cached) $ECHO_C" >&6
58094 else
58098 ac_ext=cc
58099 ac_cpp='$CXXCPP $CPPFLAGS'
58100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58104 cat >conftest.$ac_ext <<_ACEOF
58105 /* confdefs.h. */
58106 _ACEOF
58107 cat confdefs.h >>conftest.$ac_ext
58108 cat >>conftest.$ac_ext <<_ACEOF
58109 /* end confdefs.h. */
58110 #include <math.h>
58111 #ifdef HAVE_IEEEFP_H
58112 #include <ieeefp.h>
58113 #endif
58116 main ()
58118 logl(0);
58120 return 0;
58122 _ACEOF
58123 rm -f conftest.$ac_objext
58124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58125 (eval $ac_compile) 2>conftest.er1
58126 ac_status=$?
58127 grep -v '^ *+' conftest.er1 >conftest.err
58128 rm -f conftest.er1
58129 cat conftest.err >&5
58130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58131 (exit $ac_status); } &&
58132 { ac_try='test -z "$ac_cxx_werror_flag"
58133 || test ! -s conftest.err'
58134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58135 (eval $ac_try) 2>&5
58136 ac_status=$?
58137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58138 (exit $ac_status); }; } &&
58139 { ac_try='test -s conftest.$ac_objext'
58140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58141 (eval $ac_try) 2>&5
58142 ac_status=$?
58143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58144 (exit $ac_status); }; }; then
58145 glibcxx_cv_func_logl_use=yes
58146 else
58147 echo "$as_me: failed program was:" >&5
58148 sed 's/^/| /' conftest.$ac_ext >&5
58150 glibcxx_cv_func_logl_use=no
58152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58153 ac_ext=c
58154 ac_cpp='$CPP $CPPFLAGS'
58155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58163 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
58164 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
58166 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58168 for ac_func in logl
58170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58171 echo "$as_me:$LINENO: checking for $ac_func" >&5
58172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58173 if eval "test \"\${$as_ac_var+set}\" = set"; then
58174 echo $ECHO_N "(cached) $ECHO_C" >&6
58175 else
58176 if test x$gcc_no_link = xyes; then
58177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58179 { (exit 1); exit 1; }; }
58181 cat >conftest.$ac_ext <<_ACEOF
58182 /* confdefs.h. */
58183 _ACEOF
58184 cat confdefs.h >>conftest.$ac_ext
58185 cat >>conftest.$ac_ext <<_ACEOF
58186 /* end confdefs.h. */
58187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58189 #define $ac_func innocuous_$ac_func
58191 /* System header to define __stub macros and hopefully few prototypes,
58192 which can conflict with char $ac_func (); below.
58193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58194 <limits.h> exists even on freestanding compilers. */
58196 #ifdef __STDC__
58197 # include <limits.h>
58198 #else
58199 # include <assert.h>
58200 #endif
58202 #undef $ac_func
58204 /* Override any gcc2 internal prototype to avoid an error. */
58205 #ifdef __cplusplus
58206 extern "C"
58208 #endif
58209 /* We use char because int might match the return type of a gcc2
58210 builtin and then its argument prototype would still apply. */
58211 char $ac_func ();
58212 /* The GNU C library defines this for functions which it implements
58213 to always fail with ENOSYS. Some functions are actually named
58214 something starting with __ and the normal name is an alias. */
58215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58216 choke me
58217 #else
58218 char (*f) () = $ac_func;
58219 #endif
58220 #ifdef __cplusplus
58222 #endif
58225 main ()
58227 return f != $ac_func;
58229 return 0;
58231 _ACEOF
58232 rm -f conftest.$ac_objext conftest$ac_exeext
58233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58234 (eval $ac_link) 2>conftest.er1
58235 ac_status=$?
58236 grep -v '^ *+' conftest.er1 >conftest.err
58237 rm -f conftest.er1
58238 cat conftest.err >&5
58239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58240 (exit $ac_status); } &&
58241 { ac_try='test -z "$ac_c_werror_flag"
58242 || test ! -s conftest.err'
58243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58244 (eval $ac_try) 2>&5
58245 ac_status=$?
58246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58247 (exit $ac_status); }; } &&
58248 { ac_try='test -s conftest$ac_exeext'
58249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58250 (eval $ac_try) 2>&5
58251 ac_status=$?
58252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58253 (exit $ac_status); }; }; then
58254 eval "$as_ac_var=yes"
58255 else
58256 echo "$as_me: failed program was:" >&5
58257 sed 's/^/| /' conftest.$ac_ext >&5
58259 eval "$as_ac_var=no"
58261 rm -f conftest.err conftest.$ac_objext \
58262 conftest$ac_exeext conftest.$ac_ext
58264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58266 if test `eval echo '${'$as_ac_var'}'` = yes; then
58267 cat >>confdefs.h <<_ACEOF
58268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58269 _ACEOF
58272 done
58274 else
58276 echo "$as_me:$LINENO: checking for _logl declaration" >&5
58277 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58278 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58279 if test "${glibcxx_cv_func__logl_use+set}" = set; then
58280 echo $ECHO_N "(cached) $ECHO_C" >&6
58281 else
58285 ac_ext=cc
58286 ac_cpp='$CXXCPP $CPPFLAGS'
58287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58291 cat >conftest.$ac_ext <<_ACEOF
58292 /* confdefs.h. */
58293 _ACEOF
58294 cat confdefs.h >>conftest.$ac_ext
58295 cat >>conftest.$ac_ext <<_ACEOF
58296 /* end confdefs.h. */
58297 #include <math.h>
58298 #ifdef HAVE_IEEEFP_H
58299 #include <ieeefp.h>
58300 #endif
58303 main ()
58305 _logl(0);
58307 return 0;
58309 _ACEOF
58310 rm -f conftest.$ac_objext
58311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58312 (eval $ac_compile) 2>conftest.er1
58313 ac_status=$?
58314 grep -v '^ *+' conftest.er1 >conftest.err
58315 rm -f conftest.er1
58316 cat conftest.err >&5
58317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58318 (exit $ac_status); } &&
58319 { ac_try='test -z "$ac_cxx_werror_flag"
58320 || test ! -s conftest.err'
58321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58322 (eval $ac_try) 2>&5
58323 ac_status=$?
58324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58325 (exit $ac_status); }; } &&
58326 { ac_try='test -s conftest.$ac_objext'
58327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58328 (eval $ac_try) 2>&5
58329 ac_status=$?
58330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58331 (exit $ac_status); }; }; then
58332 glibcxx_cv_func__logl_use=yes
58333 else
58334 echo "$as_me: failed program was:" >&5
58335 sed 's/^/| /' conftest.$ac_ext >&5
58337 glibcxx_cv_func__logl_use=no
58339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58340 ac_ext=c
58341 ac_cpp='$CPP $CPPFLAGS'
58342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58350 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
58351 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
58353 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58355 for ac_func in _logl
58357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58358 echo "$as_me:$LINENO: checking for $ac_func" >&5
58359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58360 if eval "test \"\${$as_ac_var+set}\" = set"; then
58361 echo $ECHO_N "(cached) $ECHO_C" >&6
58362 else
58363 if test x$gcc_no_link = xyes; then
58364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58366 { (exit 1); exit 1; }; }
58368 cat >conftest.$ac_ext <<_ACEOF
58369 /* confdefs.h. */
58370 _ACEOF
58371 cat confdefs.h >>conftest.$ac_ext
58372 cat >>conftest.$ac_ext <<_ACEOF
58373 /* end confdefs.h. */
58374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58376 #define $ac_func innocuous_$ac_func
58378 /* System header to define __stub macros and hopefully few prototypes,
58379 which can conflict with char $ac_func (); below.
58380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58381 <limits.h> exists even on freestanding compilers. */
58383 #ifdef __STDC__
58384 # include <limits.h>
58385 #else
58386 # include <assert.h>
58387 #endif
58389 #undef $ac_func
58391 /* Override any gcc2 internal prototype to avoid an error. */
58392 #ifdef __cplusplus
58393 extern "C"
58395 #endif
58396 /* We use char because int might match the return type of a gcc2
58397 builtin and then its argument prototype would still apply. */
58398 char $ac_func ();
58399 /* The GNU C library defines this for functions which it implements
58400 to always fail with ENOSYS. Some functions are actually named
58401 something starting with __ and the normal name is an alias. */
58402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58403 choke me
58404 #else
58405 char (*f) () = $ac_func;
58406 #endif
58407 #ifdef __cplusplus
58409 #endif
58412 main ()
58414 return f != $ac_func;
58416 return 0;
58418 _ACEOF
58419 rm -f conftest.$ac_objext conftest$ac_exeext
58420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58421 (eval $ac_link) 2>conftest.er1
58422 ac_status=$?
58423 grep -v '^ *+' conftest.er1 >conftest.err
58424 rm -f conftest.er1
58425 cat conftest.err >&5
58426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58427 (exit $ac_status); } &&
58428 { ac_try='test -z "$ac_c_werror_flag"
58429 || test ! -s conftest.err'
58430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58431 (eval $ac_try) 2>&5
58432 ac_status=$?
58433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58434 (exit $ac_status); }; } &&
58435 { ac_try='test -s conftest$ac_exeext'
58436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58437 (eval $ac_try) 2>&5
58438 ac_status=$?
58439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58440 (exit $ac_status); }; }; then
58441 eval "$as_ac_var=yes"
58442 else
58443 echo "$as_me: failed program was:" >&5
58444 sed 's/^/| /' conftest.$ac_ext >&5
58446 eval "$as_ac_var=no"
58448 rm -f conftest.err conftest.$ac_objext \
58449 conftest$ac_exeext conftest.$ac_ext
58451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58453 if test `eval echo '${'$as_ac_var'}'` = yes; then
58454 cat >>confdefs.h <<_ACEOF
58455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58456 _ACEOF
58459 done
58469 echo "$as_me:$LINENO: checking for log10l declaration" >&5
58470 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
58471 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58472 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
58473 echo $ECHO_N "(cached) $ECHO_C" >&6
58474 else
58478 ac_ext=cc
58479 ac_cpp='$CXXCPP $CPPFLAGS'
58480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58484 cat >conftest.$ac_ext <<_ACEOF
58485 /* confdefs.h. */
58486 _ACEOF
58487 cat confdefs.h >>conftest.$ac_ext
58488 cat >>conftest.$ac_ext <<_ACEOF
58489 /* end confdefs.h. */
58490 #include <math.h>
58491 #ifdef HAVE_IEEEFP_H
58492 #include <ieeefp.h>
58493 #endif
58496 main ()
58498 log10l(0);
58500 return 0;
58502 _ACEOF
58503 rm -f conftest.$ac_objext
58504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58505 (eval $ac_compile) 2>conftest.er1
58506 ac_status=$?
58507 grep -v '^ *+' conftest.er1 >conftest.err
58508 rm -f conftest.er1
58509 cat conftest.err >&5
58510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58511 (exit $ac_status); } &&
58512 { ac_try='test -z "$ac_cxx_werror_flag"
58513 || test ! -s conftest.err'
58514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58515 (eval $ac_try) 2>&5
58516 ac_status=$?
58517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58518 (exit $ac_status); }; } &&
58519 { ac_try='test -s conftest.$ac_objext'
58520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58521 (eval $ac_try) 2>&5
58522 ac_status=$?
58523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58524 (exit $ac_status); }; }; then
58525 glibcxx_cv_func_log10l_use=yes
58526 else
58527 echo "$as_me: failed program was:" >&5
58528 sed 's/^/| /' conftest.$ac_ext >&5
58530 glibcxx_cv_func_log10l_use=no
58532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58533 ac_ext=c
58534 ac_cpp='$CPP $CPPFLAGS'
58535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58543 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
58544 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
58546 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58548 for ac_func in log10l
58550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58551 echo "$as_me:$LINENO: checking for $ac_func" >&5
58552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58553 if eval "test \"\${$as_ac_var+set}\" = set"; then
58554 echo $ECHO_N "(cached) $ECHO_C" >&6
58555 else
58556 if test x$gcc_no_link = xyes; then
58557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58559 { (exit 1); exit 1; }; }
58561 cat >conftest.$ac_ext <<_ACEOF
58562 /* confdefs.h. */
58563 _ACEOF
58564 cat confdefs.h >>conftest.$ac_ext
58565 cat >>conftest.$ac_ext <<_ACEOF
58566 /* end confdefs.h. */
58567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58569 #define $ac_func innocuous_$ac_func
58571 /* System header to define __stub macros and hopefully few prototypes,
58572 which can conflict with char $ac_func (); below.
58573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58574 <limits.h> exists even on freestanding compilers. */
58576 #ifdef __STDC__
58577 # include <limits.h>
58578 #else
58579 # include <assert.h>
58580 #endif
58582 #undef $ac_func
58584 /* Override any gcc2 internal prototype to avoid an error. */
58585 #ifdef __cplusplus
58586 extern "C"
58588 #endif
58589 /* We use char because int might match the return type of a gcc2
58590 builtin and then its argument prototype would still apply. */
58591 char $ac_func ();
58592 /* The GNU C library defines this for functions which it implements
58593 to always fail with ENOSYS. Some functions are actually named
58594 something starting with __ and the normal name is an alias. */
58595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58596 choke me
58597 #else
58598 char (*f) () = $ac_func;
58599 #endif
58600 #ifdef __cplusplus
58602 #endif
58605 main ()
58607 return f != $ac_func;
58609 return 0;
58611 _ACEOF
58612 rm -f conftest.$ac_objext conftest$ac_exeext
58613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58614 (eval $ac_link) 2>conftest.er1
58615 ac_status=$?
58616 grep -v '^ *+' conftest.er1 >conftest.err
58617 rm -f conftest.er1
58618 cat conftest.err >&5
58619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58620 (exit $ac_status); } &&
58621 { ac_try='test -z "$ac_c_werror_flag"
58622 || test ! -s conftest.err'
58623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58624 (eval $ac_try) 2>&5
58625 ac_status=$?
58626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58627 (exit $ac_status); }; } &&
58628 { ac_try='test -s conftest$ac_exeext'
58629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58630 (eval $ac_try) 2>&5
58631 ac_status=$?
58632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58633 (exit $ac_status); }; }; then
58634 eval "$as_ac_var=yes"
58635 else
58636 echo "$as_me: failed program was:" >&5
58637 sed 's/^/| /' conftest.$ac_ext >&5
58639 eval "$as_ac_var=no"
58641 rm -f conftest.err conftest.$ac_objext \
58642 conftest$ac_exeext conftest.$ac_ext
58644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58646 if test `eval echo '${'$as_ac_var'}'` = yes; then
58647 cat >>confdefs.h <<_ACEOF
58648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58649 _ACEOF
58652 done
58654 else
58656 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
58657 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
58658 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58659 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
58660 echo $ECHO_N "(cached) $ECHO_C" >&6
58661 else
58665 ac_ext=cc
58666 ac_cpp='$CXXCPP $CPPFLAGS'
58667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58671 cat >conftest.$ac_ext <<_ACEOF
58672 /* confdefs.h. */
58673 _ACEOF
58674 cat confdefs.h >>conftest.$ac_ext
58675 cat >>conftest.$ac_ext <<_ACEOF
58676 /* end confdefs.h. */
58677 #include <math.h>
58678 #ifdef HAVE_IEEEFP_H
58679 #include <ieeefp.h>
58680 #endif
58683 main ()
58685 _log10l(0);
58687 return 0;
58689 _ACEOF
58690 rm -f conftest.$ac_objext
58691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58692 (eval $ac_compile) 2>conftest.er1
58693 ac_status=$?
58694 grep -v '^ *+' conftest.er1 >conftest.err
58695 rm -f conftest.er1
58696 cat conftest.err >&5
58697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58698 (exit $ac_status); } &&
58699 { ac_try='test -z "$ac_cxx_werror_flag"
58700 || test ! -s conftest.err'
58701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58702 (eval $ac_try) 2>&5
58703 ac_status=$?
58704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58705 (exit $ac_status); }; } &&
58706 { ac_try='test -s conftest.$ac_objext'
58707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58708 (eval $ac_try) 2>&5
58709 ac_status=$?
58710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58711 (exit $ac_status); }; }; then
58712 glibcxx_cv_func__log10l_use=yes
58713 else
58714 echo "$as_me: failed program was:" >&5
58715 sed 's/^/| /' conftest.$ac_ext >&5
58717 glibcxx_cv_func__log10l_use=no
58719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58720 ac_ext=c
58721 ac_cpp='$CPP $CPPFLAGS'
58722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58730 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
58731 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
58733 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58735 for ac_func in _log10l
58737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58738 echo "$as_me:$LINENO: checking for $ac_func" >&5
58739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58740 if eval "test \"\${$as_ac_var+set}\" = set"; then
58741 echo $ECHO_N "(cached) $ECHO_C" >&6
58742 else
58743 if test x$gcc_no_link = xyes; then
58744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58746 { (exit 1); exit 1; }; }
58748 cat >conftest.$ac_ext <<_ACEOF
58749 /* confdefs.h. */
58750 _ACEOF
58751 cat confdefs.h >>conftest.$ac_ext
58752 cat >>conftest.$ac_ext <<_ACEOF
58753 /* end confdefs.h. */
58754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58756 #define $ac_func innocuous_$ac_func
58758 /* System header to define __stub macros and hopefully few prototypes,
58759 which can conflict with char $ac_func (); below.
58760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58761 <limits.h> exists even on freestanding compilers. */
58763 #ifdef __STDC__
58764 # include <limits.h>
58765 #else
58766 # include <assert.h>
58767 #endif
58769 #undef $ac_func
58771 /* Override any gcc2 internal prototype to avoid an error. */
58772 #ifdef __cplusplus
58773 extern "C"
58775 #endif
58776 /* We use char because int might match the return type of a gcc2
58777 builtin and then its argument prototype would still apply. */
58778 char $ac_func ();
58779 /* The GNU C library defines this for functions which it implements
58780 to always fail with ENOSYS. Some functions are actually named
58781 something starting with __ and the normal name is an alias. */
58782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58783 choke me
58784 #else
58785 char (*f) () = $ac_func;
58786 #endif
58787 #ifdef __cplusplus
58789 #endif
58792 main ()
58794 return f != $ac_func;
58796 return 0;
58798 _ACEOF
58799 rm -f conftest.$ac_objext conftest$ac_exeext
58800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58801 (eval $ac_link) 2>conftest.er1
58802 ac_status=$?
58803 grep -v '^ *+' conftest.er1 >conftest.err
58804 rm -f conftest.er1
58805 cat conftest.err >&5
58806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58807 (exit $ac_status); } &&
58808 { ac_try='test -z "$ac_c_werror_flag"
58809 || test ! -s conftest.err'
58810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58811 (eval $ac_try) 2>&5
58812 ac_status=$?
58813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58814 (exit $ac_status); }; } &&
58815 { ac_try='test -s conftest$ac_exeext'
58816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58817 (eval $ac_try) 2>&5
58818 ac_status=$?
58819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58820 (exit $ac_status); }; }; then
58821 eval "$as_ac_var=yes"
58822 else
58823 echo "$as_me: failed program was:" >&5
58824 sed 's/^/| /' conftest.$ac_ext >&5
58826 eval "$as_ac_var=no"
58828 rm -f conftest.err conftest.$ac_objext \
58829 conftest$ac_exeext conftest.$ac_ext
58831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58833 if test `eval echo '${'$as_ac_var'}'` = yes; then
58834 cat >>confdefs.h <<_ACEOF
58835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58836 _ACEOF
58839 done
58849 echo "$as_me:$LINENO: checking for modfl declaration" >&5
58850 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
58851 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58852 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
58853 echo $ECHO_N "(cached) $ECHO_C" >&6
58854 else
58858 ac_ext=cc
58859 ac_cpp='$CXXCPP $CPPFLAGS'
58860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58864 cat >conftest.$ac_ext <<_ACEOF
58865 /* confdefs.h. */
58866 _ACEOF
58867 cat confdefs.h >>conftest.$ac_ext
58868 cat >>conftest.$ac_ext <<_ACEOF
58869 /* end confdefs.h. */
58870 #include <math.h>
58872 main ()
58874 modfl(0, 0);
58876 return 0;
58878 _ACEOF
58879 rm -f conftest.$ac_objext
58880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58881 (eval $ac_compile) 2>conftest.er1
58882 ac_status=$?
58883 grep -v '^ *+' conftest.er1 >conftest.err
58884 rm -f conftest.er1
58885 cat conftest.err >&5
58886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58887 (exit $ac_status); } &&
58888 { ac_try='test -z "$ac_cxx_werror_flag"
58889 || test ! -s conftest.err'
58890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58891 (eval $ac_try) 2>&5
58892 ac_status=$?
58893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58894 (exit $ac_status); }; } &&
58895 { ac_try='test -s conftest.$ac_objext'
58896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58897 (eval $ac_try) 2>&5
58898 ac_status=$?
58899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58900 (exit $ac_status); }; }; then
58901 glibcxx_cv_func_modfl_use=yes
58902 else
58903 echo "$as_me: failed program was:" >&5
58904 sed 's/^/| /' conftest.$ac_ext >&5
58906 glibcxx_cv_func_modfl_use=no
58908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58909 ac_ext=c
58910 ac_cpp='$CPP $CPPFLAGS'
58911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58919 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
58920 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
58922 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58924 for ac_func in modfl
58926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58927 echo "$as_me:$LINENO: checking for $ac_func" >&5
58928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58929 if eval "test \"\${$as_ac_var+set}\" = set"; then
58930 echo $ECHO_N "(cached) $ECHO_C" >&6
58931 else
58932 if test x$gcc_no_link = xyes; then
58933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58935 { (exit 1); exit 1; }; }
58937 cat >conftest.$ac_ext <<_ACEOF
58938 /* confdefs.h. */
58939 _ACEOF
58940 cat confdefs.h >>conftest.$ac_ext
58941 cat >>conftest.$ac_ext <<_ACEOF
58942 /* end confdefs.h. */
58943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58945 #define $ac_func innocuous_$ac_func
58947 /* System header to define __stub macros and hopefully few prototypes,
58948 which can conflict with char $ac_func (); below.
58949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58950 <limits.h> exists even on freestanding compilers. */
58952 #ifdef __STDC__
58953 # include <limits.h>
58954 #else
58955 # include <assert.h>
58956 #endif
58958 #undef $ac_func
58960 /* Override any gcc2 internal prototype to avoid an error. */
58961 #ifdef __cplusplus
58962 extern "C"
58964 #endif
58965 /* We use char because int might match the return type of a gcc2
58966 builtin and then its argument prototype would still apply. */
58967 char $ac_func ();
58968 /* The GNU C library defines this for functions which it implements
58969 to always fail with ENOSYS. Some functions are actually named
58970 something starting with __ and the normal name is an alias. */
58971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58972 choke me
58973 #else
58974 char (*f) () = $ac_func;
58975 #endif
58976 #ifdef __cplusplus
58978 #endif
58981 main ()
58983 return f != $ac_func;
58985 return 0;
58987 _ACEOF
58988 rm -f conftest.$ac_objext conftest$ac_exeext
58989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58990 (eval $ac_link) 2>conftest.er1
58991 ac_status=$?
58992 grep -v '^ *+' conftest.er1 >conftest.err
58993 rm -f conftest.er1
58994 cat conftest.err >&5
58995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58996 (exit $ac_status); } &&
58997 { ac_try='test -z "$ac_c_werror_flag"
58998 || test ! -s conftest.err'
58999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59000 (eval $ac_try) 2>&5
59001 ac_status=$?
59002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59003 (exit $ac_status); }; } &&
59004 { ac_try='test -s conftest$ac_exeext'
59005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59006 (eval $ac_try) 2>&5
59007 ac_status=$?
59008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59009 (exit $ac_status); }; }; then
59010 eval "$as_ac_var=yes"
59011 else
59012 echo "$as_me: failed program was:" >&5
59013 sed 's/^/| /' conftest.$ac_ext >&5
59015 eval "$as_ac_var=no"
59017 rm -f conftest.err conftest.$ac_objext \
59018 conftest$ac_exeext conftest.$ac_ext
59020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59022 if test `eval echo '${'$as_ac_var'}'` = yes; then
59023 cat >>confdefs.h <<_ACEOF
59024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59025 _ACEOF
59028 done
59030 else
59032 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
59033 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
59034 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59035 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
59036 echo $ECHO_N "(cached) $ECHO_C" >&6
59037 else
59041 ac_ext=cc
59042 ac_cpp='$CXXCPP $CPPFLAGS'
59043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59047 cat >conftest.$ac_ext <<_ACEOF
59048 /* confdefs.h. */
59049 _ACEOF
59050 cat confdefs.h >>conftest.$ac_ext
59051 cat >>conftest.$ac_ext <<_ACEOF
59052 /* end confdefs.h. */
59053 #include <math.h>
59055 main ()
59057 _modfl(0, 0);
59059 return 0;
59061 _ACEOF
59062 rm -f conftest.$ac_objext
59063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59064 (eval $ac_compile) 2>conftest.er1
59065 ac_status=$?
59066 grep -v '^ *+' conftest.er1 >conftest.err
59067 rm -f conftest.er1
59068 cat conftest.err >&5
59069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59070 (exit $ac_status); } &&
59071 { ac_try='test -z "$ac_cxx_werror_flag"
59072 || test ! -s conftest.err'
59073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59074 (eval $ac_try) 2>&5
59075 ac_status=$?
59076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59077 (exit $ac_status); }; } &&
59078 { ac_try='test -s conftest.$ac_objext'
59079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59080 (eval $ac_try) 2>&5
59081 ac_status=$?
59082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59083 (exit $ac_status); }; }; then
59084 glibcxx_cv_func__modfl_use=yes
59085 else
59086 echo "$as_me: failed program was:" >&5
59087 sed 's/^/| /' conftest.$ac_ext >&5
59089 glibcxx_cv_func__modfl_use=no
59091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59092 ac_ext=c
59093 ac_cpp='$CPP $CPPFLAGS'
59094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59102 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
59103 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
59105 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59107 for ac_func in _modfl
59109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59110 echo "$as_me:$LINENO: checking for $ac_func" >&5
59111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59112 if eval "test \"\${$as_ac_var+set}\" = set"; then
59113 echo $ECHO_N "(cached) $ECHO_C" >&6
59114 else
59115 if test x$gcc_no_link = xyes; then
59116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59118 { (exit 1); exit 1; }; }
59120 cat >conftest.$ac_ext <<_ACEOF
59121 /* confdefs.h. */
59122 _ACEOF
59123 cat confdefs.h >>conftest.$ac_ext
59124 cat >>conftest.$ac_ext <<_ACEOF
59125 /* end confdefs.h. */
59126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59128 #define $ac_func innocuous_$ac_func
59130 /* System header to define __stub macros and hopefully few prototypes,
59131 which can conflict with char $ac_func (); below.
59132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59133 <limits.h> exists even on freestanding compilers. */
59135 #ifdef __STDC__
59136 # include <limits.h>
59137 #else
59138 # include <assert.h>
59139 #endif
59141 #undef $ac_func
59143 /* Override any gcc2 internal prototype to avoid an error. */
59144 #ifdef __cplusplus
59145 extern "C"
59147 #endif
59148 /* We use char because int might match the return type of a gcc2
59149 builtin and then its argument prototype would still apply. */
59150 char $ac_func ();
59151 /* The GNU C library defines this for functions which it implements
59152 to always fail with ENOSYS. Some functions are actually named
59153 something starting with __ and the normal name is an alias. */
59154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59155 choke me
59156 #else
59157 char (*f) () = $ac_func;
59158 #endif
59159 #ifdef __cplusplus
59161 #endif
59164 main ()
59166 return f != $ac_func;
59168 return 0;
59170 _ACEOF
59171 rm -f conftest.$ac_objext conftest$ac_exeext
59172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59173 (eval $ac_link) 2>conftest.er1
59174 ac_status=$?
59175 grep -v '^ *+' conftest.er1 >conftest.err
59176 rm -f conftest.er1
59177 cat conftest.err >&5
59178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59179 (exit $ac_status); } &&
59180 { ac_try='test -z "$ac_c_werror_flag"
59181 || test ! -s conftest.err'
59182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59183 (eval $ac_try) 2>&5
59184 ac_status=$?
59185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59186 (exit $ac_status); }; } &&
59187 { ac_try='test -s conftest$ac_exeext'
59188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59189 (eval $ac_try) 2>&5
59190 ac_status=$?
59191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59192 (exit $ac_status); }; }; then
59193 eval "$as_ac_var=yes"
59194 else
59195 echo "$as_me: failed program was:" >&5
59196 sed 's/^/| /' conftest.$ac_ext >&5
59198 eval "$as_ac_var=no"
59200 rm -f conftest.err conftest.$ac_objext \
59201 conftest$ac_exeext conftest.$ac_ext
59203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59205 if test `eval echo '${'$as_ac_var'}'` = yes; then
59206 cat >>confdefs.h <<_ACEOF
59207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59208 _ACEOF
59211 done
59221 echo "$as_me:$LINENO: checking for powl declaration" >&5
59222 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
59223 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59224 if test "${glibcxx_cv_func_powl_use+set}" = set; then
59225 echo $ECHO_N "(cached) $ECHO_C" >&6
59226 else
59230 ac_ext=cc
59231 ac_cpp='$CXXCPP $CPPFLAGS'
59232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59236 cat >conftest.$ac_ext <<_ACEOF
59237 /* confdefs.h. */
59238 _ACEOF
59239 cat confdefs.h >>conftest.$ac_ext
59240 cat >>conftest.$ac_ext <<_ACEOF
59241 /* end confdefs.h. */
59242 #include <math.h>
59244 main ()
59246 powl(0, 0);
59248 return 0;
59250 _ACEOF
59251 rm -f conftest.$ac_objext
59252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59253 (eval $ac_compile) 2>conftest.er1
59254 ac_status=$?
59255 grep -v '^ *+' conftest.er1 >conftest.err
59256 rm -f conftest.er1
59257 cat conftest.err >&5
59258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59259 (exit $ac_status); } &&
59260 { ac_try='test -z "$ac_cxx_werror_flag"
59261 || test ! -s conftest.err'
59262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59263 (eval $ac_try) 2>&5
59264 ac_status=$?
59265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59266 (exit $ac_status); }; } &&
59267 { ac_try='test -s conftest.$ac_objext'
59268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59269 (eval $ac_try) 2>&5
59270 ac_status=$?
59271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59272 (exit $ac_status); }; }; then
59273 glibcxx_cv_func_powl_use=yes
59274 else
59275 echo "$as_me: failed program was:" >&5
59276 sed 's/^/| /' conftest.$ac_ext >&5
59278 glibcxx_cv_func_powl_use=no
59280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59281 ac_ext=c
59282 ac_cpp='$CPP $CPPFLAGS'
59283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59291 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59292 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59294 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59296 for ac_func in powl
59298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59299 echo "$as_me:$LINENO: checking for $ac_func" >&5
59300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59301 if eval "test \"\${$as_ac_var+set}\" = set"; then
59302 echo $ECHO_N "(cached) $ECHO_C" >&6
59303 else
59304 if test x$gcc_no_link = xyes; then
59305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59307 { (exit 1); exit 1; }; }
59309 cat >conftest.$ac_ext <<_ACEOF
59310 /* confdefs.h. */
59311 _ACEOF
59312 cat confdefs.h >>conftest.$ac_ext
59313 cat >>conftest.$ac_ext <<_ACEOF
59314 /* end confdefs.h. */
59315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59317 #define $ac_func innocuous_$ac_func
59319 /* System header to define __stub macros and hopefully few prototypes,
59320 which can conflict with char $ac_func (); below.
59321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59322 <limits.h> exists even on freestanding compilers. */
59324 #ifdef __STDC__
59325 # include <limits.h>
59326 #else
59327 # include <assert.h>
59328 #endif
59330 #undef $ac_func
59332 /* Override any gcc2 internal prototype to avoid an error. */
59333 #ifdef __cplusplus
59334 extern "C"
59336 #endif
59337 /* We use char because int might match the return type of a gcc2
59338 builtin and then its argument prototype would still apply. */
59339 char $ac_func ();
59340 /* The GNU C library defines this for functions which it implements
59341 to always fail with ENOSYS. Some functions are actually named
59342 something starting with __ and the normal name is an alias. */
59343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59344 choke me
59345 #else
59346 char (*f) () = $ac_func;
59347 #endif
59348 #ifdef __cplusplus
59350 #endif
59353 main ()
59355 return f != $ac_func;
59357 return 0;
59359 _ACEOF
59360 rm -f conftest.$ac_objext conftest$ac_exeext
59361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59362 (eval $ac_link) 2>conftest.er1
59363 ac_status=$?
59364 grep -v '^ *+' conftest.er1 >conftest.err
59365 rm -f conftest.er1
59366 cat conftest.err >&5
59367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59368 (exit $ac_status); } &&
59369 { ac_try='test -z "$ac_c_werror_flag"
59370 || test ! -s conftest.err'
59371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59372 (eval $ac_try) 2>&5
59373 ac_status=$?
59374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59375 (exit $ac_status); }; } &&
59376 { ac_try='test -s conftest$ac_exeext'
59377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59378 (eval $ac_try) 2>&5
59379 ac_status=$?
59380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59381 (exit $ac_status); }; }; then
59382 eval "$as_ac_var=yes"
59383 else
59384 echo "$as_me: failed program was:" >&5
59385 sed 's/^/| /' conftest.$ac_ext >&5
59387 eval "$as_ac_var=no"
59389 rm -f conftest.err conftest.$ac_objext \
59390 conftest$ac_exeext conftest.$ac_ext
59392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59394 if test `eval echo '${'$as_ac_var'}'` = yes; then
59395 cat >>confdefs.h <<_ACEOF
59396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59397 _ACEOF
59400 done
59402 else
59404 echo "$as_me:$LINENO: checking for _powl declaration" >&5
59405 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
59406 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59407 if test "${glibcxx_cv_func__powl_use+set}" = set; then
59408 echo $ECHO_N "(cached) $ECHO_C" >&6
59409 else
59413 ac_ext=cc
59414 ac_cpp='$CXXCPP $CPPFLAGS'
59415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59419 cat >conftest.$ac_ext <<_ACEOF
59420 /* confdefs.h. */
59421 _ACEOF
59422 cat confdefs.h >>conftest.$ac_ext
59423 cat >>conftest.$ac_ext <<_ACEOF
59424 /* end confdefs.h. */
59425 #include <math.h>
59427 main ()
59429 _powl(0, 0);
59431 return 0;
59433 _ACEOF
59434 rm -f conftest.$ac_objext
59435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59436 (eval $ac_compile) 2>conftest.er1
59437 ac_status=$?
59438 grep -v '^ *+' conftest.er1 >conftest.err
59439 rm -f conftest.er1
59440 cat conftest.err >&5
59441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59442 (exit $ac_status); } &&
59443 { ac_try='test -z "$ac_cxx_werror_flag"
59444 || test ! -s conftest.err'
59445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59446 (eval $ac_try) 2>&5
59447 ac_status=$?
59448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59449 (exit $ac_status); }; } &&
59450 { ac_try='test -s conftest.$ac_objext'
59451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59452 (eval $ac_try) 2>&5
59453 ac_status=$?
59454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59455 (exit $ac_status); }; }; then
59456 glibcxx_cv_func__powl_use=yes
59457 else
59458 echo "$as_me: failed program was:" >&5
59459 sed 's/^/| /' conftest.$ac_ext >&5
59461 glibcxx_cv_func__powl_use=no
59463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59464 ac_ext=c
59465 ac_cpp='$CPP $CPPFLAGS'
59466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59474 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
59475 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
59477 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59479 for ac_func in _powl
59481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59482 echo "$as_me:$LINENO: checking for $ac_func" >&5
59483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59484 if eval "test \"\${$as_ac_var+set}\" = set"; then
59485 echo $ECHO_N "(cached) $ECHO_C" >&6
59486 else
59487 if test x$gcc_no_link = xyes; then
59488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59490 { (exit 1); exit 1; }; }
59492 cat >conftest.$ac_ext <<_ACEOF
59493 /* confdefs.h. */
59494 _ACEOF
59495 cat confdefs.h >>conftest.$ac_ext
59496 cat >>conftest.$ac_ext <<_ACEOF
59497 /* end confdefs.h. */
59498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59500 #define $ac_func innocuous_$ac_func
59502 /* System header to define __stub macros and hopefully few prototypes,
59503 which can conflict with char $ac_func (); below.
59504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59505 <limits.h> exists even on freestanding compilers. */
59507 #ifdef __STDC__
59508 # include <limits.h>
59509 #else
59510 # include <assert.h>
59511 #endif
59513 #undef $ac_func
59515 /* Override any gcc2 internal prototype to avoid an error. */
59516 #ifdef __cplusplus
59517 extern "C"
59519 #endif
59520 /* We use char because int might match the return type of a gcc2
59521 builtin and then its argument prototype would still apply. */
59522 char $ac_func ();
59523 /* The GNU C library defines this for functions which it implements
59524 to always fail with ENOSYS. Some functions are actually named
59525 something starting with __ and the normal name is an alias. */
59526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59527 choke me
59528 #else
59529 char (*f) () = $ac_func;
59530 #endif
59531 #ifdef __cplusplus
59533 #endif
59536 main ()
59538 return f != $ac_func;
59540 return 0;
59542 _ACEOF
59543 rm -f conftest.$ac_objext conftest$ac_exeext
59544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59545 (eval $ac_link) 2>conftest.er1
59546 ac_status=$?
59547 grep -v '^ *+' conftest.er1 >conftest.err
59548 rm -f conftest.er1
59549 cat conftest.err >&5
59550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59551 (exit $ac_status); } &&
59552 { ac_try='test -z "$ac_c_werror_flag"
59553 || test ! -s conftest.err'
59554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59555 (eval $ac_try) 2>&5
59556 ac_status=$?
59557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59558 (exit $ac_status); }; } &&
59559 { ac_try='test -s conftest$ac_exeext'
59560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59561 (eval $ac_try) 2>&5
59562 ac_status=$?
59563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59564 (exit $ac_status); }; }; then
59565 eval "$as_ac_var=yes"
59566 else
59567 echo "$as_me: failed program was:" >&5
59568 sed 's/^/| /' conftest.$ac_ext >&5
59570 eval "$as_ac_var=no"
59572 rm -f conftest.err conftest.$ac_objext \
59573 conftest$ac_exeext conftest.$ac_ext
59575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59577 if test `eval echo '${'$as_ac_var'}'` = yes; then
59578 cat >>confdefs.h <<_ACEOF
59579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59580 _ACEOF
59583 done
59593 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
59594 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
59595 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59596 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
59597 echo $ECHO_N "(cached) $ECHO_C" >&6
59598 else
59602 ac_ext=cc
59603 ac_cpp='$CXXCPP $CPPFLAGS'
59604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59608 cat >conftest.$ac_ext <<_ACEOF
59609 /* confdefs.h. */
59610 _ACEOF
59611 cat confdefs.h >>conftest.$ac_ext
59612 cat >>conftest.$ac_ext <<_ACEOF
59613 /* end confdefs.h. */
59614 #include <math.h>
59615 #ifdef HAVE_IEEEFP_H
59616 #include <ieeefp.h>
59617 #endif
59620 main ()
59622 sqrtl(0);
59624 return 0;
59626 _ACEOF
59627 rm -f conftest.$ac_objext
59628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59629 (eval $ac_compile) 2>conftest.er1
59630 ac_status=$?
59631 grep -v '^ *+' conftest.er1 >conftest.err
59632 rm -f conftest.er1
59633 cat conftest.err >&5
59634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59635 (exit $ac_status); } &&
59636 { ac_try='test -z "$ac_cxx_werror_flag"
59637 || test ! -s conftest.err'
59638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59639 (eval $ac_try) 2>&5
59640 ac_status=$?
59641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59642 (exit $ac_status); }; } &&
59643 { ac_try='test -s conftest.$ac_objext'
59644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59645 (eval $ac_try) 2>&5
59646 ac_status=$?
59647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59648 (exit $ac_status); }; }; then
59649 glibcxx_cv_func_sqrtl_use=yes
59650 else
59651 echo "$as_me: failed program was:" >&5
59652 sed 's/^/| /' conftest.$ac_ext >&5
59654 glibcxx_cv_func_sqrtl_use=no
59656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59657 ac_ext=c
59658 ac_cpp='$CPP $CPPFLAGS'
59659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59667 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
59668 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
59670 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59672 for ac_func in sqrtl
59674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59675 echo "$as_me:$LINENO: checking for $ac_func" >&5
59676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59677 if eval "test \"\${$as_ac_var+set}\" = set"; then
59678 echo $ECHO_N "(cached) $ECHO_C" >&6
59679 else
59680 if test x$gcc_no_link = xyes; then
59681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59683 { (exit 1); exit 1; }; }
59685 cat >conftest.$ac_ext <<_ACEOF
59686 /* confdefs.h. */
59687 _ACEOF
59688 cat confdefs.h >>conftest.$ac_ext
59689 cat >>conftest.$ac_ext <<_ACEOF
59690 /* end confdefs.h. */
59691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59693 #define $ac_func innocuous_$ac_func
59695 /* System header to define __stub macros and hopefully few prototypes,
59696 which can conflict with char $ac_func (); below.
59697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59698 <limits.h> exists even on freestanding compilers. */
59700 #ifdef __STDC__
59701 # include <limits.h>
59702 #else
59703 # include <assert.h>
59704 #endif
59706 #undef $ac_func
59708 /* Override any gcc2 internal prototype to avoid an error. */
59709 #ifdef __cplusplus
59710 extern "C"
59712 #endif
59713 /* We use char because int might match the return type of a gcc2
59714 builtin and then its argument prototype would still apply. */
59715 char $ac_func ();
59716 /* The GNU C library defines this for functions which it implements
59717 to always fail with ENOSYS. Some functions are actually named
59718 something starting with __ and the normal name is an alias. */
59719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59720 choke me
59721 #else
59722 char (*f) () = $ac_func;
59723 #endif
59724 #ifdef __cplusplus
59726 #endif
59729 main ()
59731 return f != $ac_func;
59733 return 0;
59735 _ACEOF
59736 rm -f conftest.$ac_objext conftest$ac_exeext
59737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59738 (eval $ac_link) 2>conftest.er1
59739 ac_status=$?
59740 grep -v '^ *+' conftest.er1 >conftest.err
59741 rm -f conftest.er1
59742 cat conftest.err >&5
59743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59744 (exit $ac_status); } &&
59745 { ac_try='test -z "$ac_c_werror_flag"
59746 || test ! -s conftest.err'
59747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59748 (eval $ac_try) 2>&5
59749 ac_status=$?
59750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59751 (exit $ac_status); }; } &&
59752 { ac_try='test -s conftest$ac_exeext'
59753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59754 (eval $ac_try) 2>&5
59755 ac_status=$?
59756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59757 (exit $ac_status); }; }; then
59758 eval "$as_ac_var=yes"
59759 else
59760 echo "$as_me: failed program was:" >&5
59761 sed 's/^/| /' conftest.$ac_ext >&5
59763 eval "$as_ac_var=no"
59765 rm -f conftest.err conftest.$ac_objext \
59766 conftest$ac_exeext conftest.$ac_ext
59768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59770 if test `eval echo '${'$as_ac_var'}'` = yes; then
59771 cat >>confdefs.h <<_ACEOF
59772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59773 _ACEOF
59776 done
59778 else
59780 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
59781 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
59782 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59783 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
59784 echo $ECHO_N "(cached) $ECHO_C" >&6
59785 else
59789 ac_ext=cc
59790 ac_cpp='$CXXCPP $CPPFLAGS'
59791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59795 cat >conftest.$ac_ext <<_ACEOF
59796 /* confdefs.h. */
59797 _ACEOF
59798 cat confdefs.h >>conftest.$ac_ext
59799 cat >>conftest.$ac_ext <<_ACEOF
59800 /* end confdefs.h. */
59801 #include <math.h>
59802 #ifdef HAVE_IEEEFP_H
59803 #include <ieeefp.h>
59804 #endif
59807 main ()
59809 _sqrtl(0);
59811 return 0;
59813 _ACEOF
59814 rm -f conftest.$ac_objext
59815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59816 (eval $ac_compile) 2>conftest.er1
59817 ac_status=$?
59818 grep -v '^ *+' conftest.er1 >conftest.err
59819 rm -f conftest.er1
59820 cat conftest.err >&5
59821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59822 (exit $ac_status); } &&
59823 { ac_try='test -z "$ac_cxx_werror_flag"
59824 || test ! -s conftest.err'
59825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59826 (eval $ac_try) 2>&5
59827 ac_status=$?
59828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59829 (exit $ac_status); }; } &&
59830 { ac_try='test -s conftest.$ac_objext'
59831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59832 (eval $ac_try) 2>&5
59833 ac_status=$?
59834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59835 (exit $ac_status); }; }; then
59836 glibcxx_cv_func__sqrtl_use=yes
59837 else
59838 echo "$as_me: failed program was:" >&5
59839 sed 's/^/| /' conftest.$ac_ext >&5
59841 glibcxx_cv_func__sqrtl_use=no
59843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59844 ac_ext=c
59845 ac_cpp='$CPP $CPPFLAGS'
59846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59854 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
59855 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
59857 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59859 for ac_func in _sqrtl
59861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59862 echo "$as_me:$LINENO: checking for $ac_func" >&5
59863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59864 if eval "test \"\${$as_ac_var+set}\" = set"; then
59865 echo $ECHO_N "(cached) $ECHO_C" >&6
59866 else
59867 if test x$gcc_no_link = xyes; then
59868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59870 { (exit 1); exit 1; }; }
59872 cat >conftest.$ac_ext <<_ACEOF
59873 /* confdefs.h. */
59874 _ACEOF
59875 cat confdefs.h >>conftest.$ac_ext
59876 cat >>conftest.$ac_ext <<_ACEOF
59877 /* end confdefs.h. */
59878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59880 #define $ac_func innocuous_$ac_func
59882 /* System header to define __stub macros and hopefully few prototypes,
59883 which can conflict with char $ac_func (); below.
59884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59885 <limits.h> exists even on freestanding compilers. */
59887 #ifdef __STDC__
59888 # include <limits.h>
59889 #else
59890 # include <assert.h>
59891 #endif
59893 #undef $ac_func
59895 /* Override any gcc2 internal prototype to avoid an error. */
59896 #ifdef __cplusplus
59897 extern "C"
59899 #endif
59900 /* We use char because int might match the return type of a gcc2
59901 builtin and then its argument prototype would still apply. */
59902 char $ac_func ();
59903 /* The GNU C library defines this for functions which it implements
59904 to always fail with ENOSYS. Some functions are actually named
59905 something starting with __ and the normal name is an alias. */
59906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59907 choke me
59908 #else
59909 char (*f) () = $ac_func;
59910 #endif
59911 #ifdef __cplusplus
59913 #endif
59916 main ()
59918 return f != $ac_func;
59920 return 0;
59922 _ACEOF
59923 rm -f conftest.$ac_objext conftest$ac_exeext
59924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59925 (eval $ac_link) 2>conftest.er1
59926 ac_status=$?
59927 grep -v '^ *+' conftest.er1 >conftest.err
59928 rm -f conftest.er1
59929 cat conftest.err >&5
59930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59931 (exit $ac_status); } &&
59932 { ac_try='test -z "$ac_c_werror_flag"
59933 || test ! -s conftest.err'
59934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59935 (eval $ac_try) 2>&5
59936 ac_status=$?
59937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59938 (exit $ac_status); }; } &&
59939 { ac_try='test -s conftest$ac_exeext'
59940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59941 (eval $ac_try) 2>&5
59942 ac_status=$?
59943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59944 (exit $ac_status); }; }; then
59945 eval "$as_ac_var=yes"
59946 else
59947 echo "$as_me: failed program was:" >&5
59948 sed 's/^/| /' conftest.$ac_ext >&5
59950 eval "$as_ac_var=no"
59952 rm -f conftest.err conftest.$ac_objext \
59953 conftest$ac_exeext conftest.$ac_ext
59955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59957 if test `eval echo '${'$as_ac_var'}'` = yes; then
59958 cat >>confdefs.h <<_ACEOF
59959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59960 _ACEOF
59963 done
59973 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
59974 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
59975 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59976 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
59977 echo $ECHO_N "(cached) $ECHO_C" >&6
59978 else
59982 ac_ext=cc
59983 ac_cpp='$CXXCPP $CPPFLAGS'
59984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59988 cat >conftest.$ac_ext <<_ACEOF
59989 /* confdefs.h. */
59990 _ACEOF
59991 cat confdefs.h >>conftest.$ac_ext
59992 cat >>conftest.$ac_ext <<_ACEOF
59993 /* end confdefs.h. */
59994 #include <math.h>
59996 main ()
59998 sincosl(0, 0, 0);
60000 return 0;
60002 _ACEOF
60003 rm -f conftest.$ac_objext
60004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60005 (eval $ac_compile) 2>conftest.er1
60006 ac_status=$?
60007 grep -v '^ *+' conftest.er1 >conftest.err
60008 rm -f conftest.er1
60009 cat conftest.err >&5
60010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60011 (exit $ac_status); } &&
60012 { ac_try='test -z "$ac_cxx_werror_flag"
60013 || test ! -s conftest.err'
60014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60015 (eval $ac_try) 2>&5
60016 ac_status=$?
60017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60018 (exit $ac_status); }; } &&
60019 { ac_try='test -s conftest.$ac_objext'
60020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60021 (eval $ac_try) 2>&5
60022 ac_status=$?
60023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60024 (exit $ac_status); }; }; then
60025 glibcxx_cv_func_sincosl_use=yes
60026 else
60027 echo "$as_me: failed program was:" >&5
60028 sed 's/^/| /' conftest.$ac_ext >&5
60030 glibcxx_cv_func_sincosl_use=no
60032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60033 ac_ext=c
60034 ac_cpp='$CPP $CPPFLAGS'
60035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60043 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
60044 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
60046 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60048 for ac_func in sincosl
60050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60051 echo "$as_me:$LINENO: checking for $ac_func" >&5
60052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60053 if eval "test \"\${$as_ac_var+set}\" = set"; then
60054 echo $ECHO_N "(cached) $ECHO_C" >&6
60055 else
60056 if test x$gcc_no_link = xyes; then
60057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60059 { (exit 1); exit 1; }; }
60061 cat >conftest.$ac_ext <<_ACEOF
60062 /* confdefs.h. */
60063 _ACEOF
60064 cat confdefs.h >>conftest.$ac_ext
60065 cat >>conftest.$ac_ext <<_ACEOF
60066 /* end confdefs.h. */
60067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60069 #define $ac_func innocuous_$ac_func
60071 /* System header to define __stub macros and hopefully few prototypes,
60072 which can conflict with char $ac_func (); below.
60073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60074 <limits.h> exists even on freestanding compilers. */
60076 #ifdef __STDC__
60077 # include <limits.h>
60078 #else
60079 # include <assert.h>
60080 #endif
60082 #undef $ac_func
60084 /* Override any gcc2 internal prototype to avoid an error. */
60085 #ifdef __cplusplus
60086 extern "C"
60088 #endif
60089 /* We use char because int might match the return type of a gcc2
60090 builtin and then its argument prototype would still apply. */
60091 char $ac_func ();
60092 /* The GNU C library defines this for functions which it implements
60093 to always fail with ENOSYS. Some functions are actually named
60094 something starting with __ and the normal name is an alias. */
60095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60096 choke me
60097 #else
60098 char (*f) () = $ac_func;
60099 #endif
60100 #ifdef __cplusplus
60102 #endif
60105 main ()
60107 return f != $ac_func;
60109 return 0;
60111 _ACEOF
60112 rm -f conftest.$ac_objext conftest$ac_exeext
60113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60114 (eval $ac_link) 2>conftest.er1
60115 ac_status=$?
60116 grep -v '^ *+' conftest.er1 >conftest.err
60117 rm -f conftest.er1
60118 cat conftest.err >&5
60119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60120 (exit $ac_status); } &&
60121 { ac_try='test -z "$ac_c_werror_flag"
60122 || test ! -s conftest.err'
60123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60124 (eval $ac_try) 2>&5
60125 ac_status=$?
60126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60127 (exit $ac_status); }; } &&
60128 { ac_try='test -s conftest$ac_exeext'
60129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60130 (eval $ac_try) 2>&5
60131 ac_status=$?
60132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60133 (exit $ac_status); }; }; then
60134 eval "$as_ac_var=yes"
60135 else
60136 echo "$as_me: failed program was:" >&5
60137 sed 's/^/| /' conftest.$ac_ext >&5
60139 eval "$as_ac_var=no"
60141 rm -f conftest.err conftest.$ac_objext \
60142 conftest$ac_exeext conftest.$ac_ext
60144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60146 if test `eval echo '${'$as_ac_var'}'` = yes; then
60147 cat >>confdefs.h <<_ACEOF
60148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60149 _ACEOF
60152 done
60154 else
60156 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
60157 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
60158 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60159 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
60160 echo $ECHO_N "(cached) $ECHO_C" >&6
60161 else
60165 ac_ext=cc
60166 ac_cpp='$CXXCPP $CPPFLAGS'
60167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60171 cat >conftest.$ac_ext <<_ACEOF
60172 /* confdefs.h. */
60173 _ACEOF
60174 cat confdefs.h >>conftest.$ac_ext
60175 cat >>conftest.$ac_ext <<_ACEOF
60176 /* end confdefs.h. */
60177 #include <math.h>
60179 main ()
60181 _sincosl(0, 0, 0);
60183 return 0;
60185 _ACEOF
60186 rm -f conftest.$ac_objext
60187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60188 (eval $ac_compile) 2>conftest.er1
60189 ac_status=$?
60190 grep -v '^ *+' conftest.er1 >conftest.err
60191 rm -f conftest.er1
60192 cat conftest.err >&5
60193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60194 (exit $ac_status); } &&
60195 { ac_try='test -z "$ac_cxx_werror_flag"
60196 || test ! -s conftest.err'
60197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60198 (eval $ac_try) 2>&5
60199 ac_status=$?
60200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60201 (exit $ac_status); }; } &&
60202 { ac_try='test -s conftest.$ac_objext'
60203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60204 (eval $ac_try) 2>&5
60205 ac_status=$?
60206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60207 (exit $ac_status); }; }; then
60208 glibcxx_cv_func__sincosl_use=yes
60209 else
60210 echo "$as_me: failed program was:" >&5
60211 sed 's/^/| /' conftest.$ac_ext >&5
60213 glibcxx_cv_func__sincosl_use=no
60215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60216 ac_ext=c
60217 ac_cpp='$CPP $CPPFLAGS'
60218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60226 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
60227 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
60229 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60231 for ac_func in _sincosl
60233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60234 echo "$as_me:$LINENO: checking for $ac_func" >&5
60235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60236 if eval "test \"\${$as_ac_var+set}\" = set"; then
60237 echo $ECHO_N "(cached) $ECHO_C" >&6
60238 else
60239 if test x$gcc_no_link = xyes; then
60240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60242 { (exit 1); exit 1; }; }
60244 cat >conftest.$ac_ext <<_ACEOF
60245 /* confdefs.h. */
60246 _ACEOF
60247 cat confdefs.h >>conftest.$ac_ext
60248 cat >>conftest.$ac_ext <<_ACEOF
60249 /* end confdefs.h. */
60250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60252 #define $ac_func innocuous_$ac_func
60254 /* System header to define __stub macros and hopefully few prototypes,
60255 which can conflict with char $ac_func (); below.
60256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60257 <limits.h> exists even on freestanding compilers. */
60259 #ifdef __STDC__
60260 # include <limits.h>
60261 #else
60262 # include <assert.h>
60263 #endif
60265 #undef $ac_func
60267 /* Override any gcc2 internal prototype to avoid an error. */
60268 #ifdef __cplusplus
60269 extern "C"
60271 #endif
60272 /* We use char because int might match the return type of a gcc2
60273 builtin and then its argument prototype would still apply. */
60274 char $ac_func ();
60275 /* The GNU C library defines this for functions which it implements
60276 to always fail with ENOSYS. Some functions are actually named
60277 something starting with __ and the normal name is an alias. */
60278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60279 choke me
60280 #else
60281 char (*f) () = $ac_func;
60282 #endif
60283 #ifdef __cplusplus
60285 #endif
60288 main ()
60290 return f != $ac_func;
60292 return 0;
60294 _ACEOF
60295 rm -f conftest.$ac_objext conftest$ac_exeext
60296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60297 (eval $ac_link) 2>conftest.er1
60298 ac_status=$?
60299 grep -v '^ *+' conftest.er1 >conftest.err
60300 rm -f conftest.er1
60301 cat conftest.err >&5
60302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60303 (exit $ac_status); } &&
60304 { ac_try='test -z "$ac_c_werror_flag"
60305 || test ! -s conftest.err'
60306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60307 (eval $ac_try) 2>&5
60308 ac_status=$?
60309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60310 (exit $ac_status); }; } &&
60311 { ac_try='test -s conftest$ac_exeext'
60312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60313 (eval $ac_try) 2>&5
60314 ac_status=$?
60315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60316 (exit $ac_status); }; }; then
60317 eval "$as_ac_var=yes"
60318 else
60319 echo "$as_me: failed program was:" >&5
60320 sed 's/^/| /' conftest.$ac_ext >&5
60322 eval "$as_ac_var=no"
60324 rm -f conftest.err conftest.$ac_objext \
60325 conftest$ac_exeext conftest.$ac_ext
60327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60329 if test `eval echo '${'$as_ac_var'}'` = yes; then
60330 cat >>confdefs.h <<_ACEOF
60331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60332 _ACEOF
60335 done
60345 echo "$as_me:$LINENO: checking for finitel declaration" >&5
60346 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
60347 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60348 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
60349 echo $ECHO_N "(cached) $ECHO_C" >&6
60350 else
60354 ac_ext=cc
60355 ac_cpp='$CXXCPP $CPPFLAGS'
60356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60360 cat >conftest.$ac_ext <<_ACEOF
60361 /* confdefs.h. */
60362 _ACEOF
60363 cat confdefs.h >>conftest.$ac_ext
60364 cat >>conftest.$ac_ext <<_ACEOF
60365 /* end confdefs.h. */
60366 #include <math.h>
60367 #ifdef HAVE_IEEEFP_H
60368 #include <ieeefp.h>
60369 #endif
60372 main ()
60374 finitel(0);
60376 return 0;
60378 _ACEOF
60379 rm -f conftest.$ac_objext
60380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60381 (eval $ac_compile) 2>conftest.er1
60382 ac_status=$?
60383 grep -v '^ *+' conftest.er1 >conftest.err
60384 rm -f conftest.er1
60385 cat conftest.err >&5
60386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60387 (exit $ac_status); } &&
60388 { ac_try='test -z "$ac_cxx_werror_flag"
60389 || test ! -s conftest.err'
60390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60391 (eval $ac_try) 2>&5
60392 ac_status=$?
60393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60394 (exit $ac_status); }; } &&
60395 { ac_try='test -s conftest.$ac_objext'
60396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60397 (eval $ac_try) 2>&5
60398 ac_status=$?
60399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60400 (exit $ac_status); }; }; then
60401 glibcxx_cv_func_finitel_use=yes
60402 else
60403 echo "$as_me: failed program was:" >&5
60404 sed 's/^/| /' conftest.$ac_ext >&5
60406 glibcxx_cv_func_finitel_use=no
60408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60409 ac_ext=c
60410 ac_cpp='$CPP $CPPFLAGS'
60411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60419 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
60420 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
60422 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60424 for ac_func in finitel
60426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60427 echo "$as_me:$LINENO: checking for $ac_func" >&5
60428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60429 if eval "test \"\${$as_ac_var+set}\" = set"; then
60430 echo $ECHO_N "(cached) $ECHO_C" >&6
60431 else
60432 if test x$gcc_no_link = xyes; then
60433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60435 { (exit 1); exit 1; }; }
60437 cat >conftest.$ac_ext <<_ACEOF
60438 /* confdefs.h. */
60439 _ACEOF
60440 cat confdefs.h >>conftest.$ac_ext
60441 cat >>conftest.$ac_ext <<_ACEOF
60442 /* end confdefs.h. */
60443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60445 #define $ac_func innocuous_$ac_func
60447 /* System header to define __stub macros and hopefully few prototypes,
60448 which can conflict with char $ac_func (); below.
60449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60450 <limits.h> exists even on freestanding compilers. */
60452 #ifdef __STDC__
60453 # include <limits.h>
60454 #else
60455 # include <assert.h>
60456 #endif
60458 #undef $ac_func
60460 /* Override any gcc2 internal prototype to avoid an error. */
60461 #ifdef __cplusplus
60462 extern "C"
60464 #endif
60465 /* We use char because int might match the return type of a gcc2
60466 builtin and then its argument prototype would still apply. */
60467 char $ac_func ();
60468 /* The GNU C library defines this for functions which it implements
60469 to always fail with ENOSYS. Some functions are actually named
60470 something starting with __ and the normal name is an alias. */
60471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60472 choke me
60473 #else
60474 char (*f) () = $ac_func;
60475 #endif
60476 #ifdef __cplusplus
60478 #endif
60481 main ()
60483 return f != $ac_func;
60485 return 0;
60487 _ACEOF
60488 rm -f conftest.$ac_objext conftest$ac_exeext
60489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60490 (eval $ac_link) 2>conftest.er1
60491 ac_status=$?
60492 grep -v '^ *+' conftest.er1 >conftest.err
60493 rm -f conftest.er1
60494 cat conftest.err >&5
60495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60496 (exit $ac_status); } &&
60497 { ac_try='test -z "$ac_c_werror_flag"
60498 || test ! -s conftest.err'
60499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60500 (eval $ac_try) 2>&5
60501 ac_status=$?
60502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60503 (exit $ac_status); }; } &&
60504 { ac_try='test -s conftest$ac_exeext'
60505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60506 (eval $ac_try) 2>&5
60507 ac_status=$?
60508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60509 (exit $ac_status); }; }; then
60510 eval "$as_ac_var=yes"
60511 else
60512 echo "$as_me: failed program was:" >&5
60513 sed 's/^/| /' conftest.$ac_ext >&5
60515 eval "$as_ac_var=no"
60517 rm -f conftest.err conftest.$ac_objext \
60518 conftest$ac_exeext conftest.$ac_ext
60520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60522 if test `eval echo '${'$as_ac_var'}'` = yes; then
60523 cat >>confdefs.h <<_ACEOF
60524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60525 _ACEOF
60528 done
60530 else
60532 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
60533 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
60534 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60535 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
60536 echo $ECHO_N "(cached) $ECHO_C" >&6
60537 else
60541 ac_ext=cc
60542 ac_cpp='$CXXCPP $CPPFLAGS'
60543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60547 cat >conftest.$ac_ext <<_ACEOF
60548 /* confdefs.h. */
60549 _ACEOF
60550 cat confdefs.h >>conftest.$ac_ext
60551 cat >>conftest.$ac_ext <<_ACEOF
60552 /* end confdefs.h. */
60553 #include <math.h>
60554 #ifdef HAVE_IEEEFP_H
60555 #include <ieeefp.h>
60556 #endif
60559 main ()
60561 _finitel(0);
60563 return 0;
60565 _ACEOF
60566 rm -f conftest.$ac_objext
60567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60568 (eval $ac_compile) 2>conftest.er1
60569 ac_status=$?
60570 grep -v '^ *+' conftest.er1 >conftest.err
60571 rm -f conftest.er1
60572 cat conftest.err >&5
60573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60574 (exit $ac_status); } &&
60575 { ac_try='test -z "$ac_cxx_werror_flag"
60576 || test ! -s conftest.err'
60577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60578 (eval $ac_try) 2>&5
60579 ac_status=$?
60580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60581 (exit $ac_status); }; } &&
60582 { ac_try='test -s conftest.$ac_objext'
60583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60584 (eval $ac_try) 2>&5
60585 ac_status=$?
60586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60587 (exit $ac_status); }; }; then
60588 glibcxx_cv_func__finitel_use=yes
60589 else
60590 echo "$as_me: failed program was:" >&5
60591 sed 's/^/| /' conftest.$ac_ext >&5
60593 glibcxx_cv_func__finitel_use=no
60595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60596 ac_ext=c
60597 ac_cpp='$CPP $CPPFLAGS'
60598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60606 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
60607 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
60609 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60611 for ac_func in _finitel
60613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60614 echo "$as_me:$LINENO: checking for $ac_func" >&5
60615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60616 if eval "test \"\${$as_ac_var+set}\" = set"; then
60617 echo $ECHO_N "(cached) $ECHO_C" >&6
60618 else
60619 if test x$gcc_no_link = xyes; then
60620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60622 { (exit 1); exit 1; }; }
60624 cat >conftest.$ac_ext <<_ACEOF
60625 /* confdefs.h. */
60626 _ACEOF
60627 cat confdefs.h >>conftest.$ac_ext
60628 cat >>conftest.$ac_ext <<_ACEOF
60629 /* end confdefs.h. */
60630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60632 #define $ac_func innocuous_$ac_func
60634 /* System header to define __stub macros and hopefully few prototypes,
60635 which can conflict with char $ac_func (); below.
60636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60637 <limits.h> exists even on freestanding compilers. */
60639 #ifdef __STDC__
60640 # include <limits.h>
60641 #else
60642 # include <assert.h>
60643 #endif
60645 #undef $ac_func
60647 /* Override any gcc2 internal prototype to avoid an error. */
60648 #ifdef __cplusplus
60649 extern "C"
60651 #endif
60652 /* We use char because int might match the return type of a gcc2
60653 builtin and then its argument prototype would still apply. */
60654 char $ac_func ();
60655 /* The GNU C library defines this for functions which it implements
60656 to always fail with ENOSYS. Some functions are actually named
60657 something starting with __ and the normal name is an alias. */
60658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60659 choke me
60660 #else
60661 char (*f) () = $ac_func;
60662 #endif
60663 #ifdef __cplusplus
60665 #endif
60668 main ()
60670 return f != $ac_func;
60672 return 0;
60674 _ACEOF
60675 rm -f conftest.$ac_objext conftest$ac_exeext
60676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60677 (eval $ac_link) 2>conftest.er1
60678 ac_status=$?
60679 grep -v '^ *+' conftest.er1 >conftest.err
60680 rm -f conftest.er1
60681 cat conftest.err >&5
60682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60683 (exit $ac_status); } &&
60684 { ac_try='test -z "$ac_c_werror_flag"
60685 || test ! -s conftest.err'
60686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60687 (eval $ac_try) 2>&5
60688 ac_status=$?
60689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60690 (exit $ac_status); }; } &&
60691 { ac_try='test -s conftest$ac_exeext'
60692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60693 (eval $ac_try) 2>&5
60694 ac_status=$?
60695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60696 (exit $ac_status); }; }; then
60697 eval "$as_ac_var=yes"
60698 else
60699 echo "$as_me: failed program was:" >&5
60700 sed 's/^/| /' conftest.$ac_ext >&5
60702 eval "$as_ac_var=no"
60704 rm -f conftest.err conftest.$ac_objext \
60705 conftest$ac_exeext conftest.$ac_ext
60707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60709 if test `eval echo '${'$as_ac_var'}'` = yes; then
60710 cat >>confdefs.h <<_ACEOF
60711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60712 _ACEOF
60715 done
60724 LIBS="$ac_save_LIBS"
60725 CXXFLAGS="$ac_save_CXXFLAGS"
60729 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
60730 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
60731 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
60732 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
60733 echo $ECHO_N "(cached) $ECHO_C" >&6
60734 else
60738 ac_ext=cc
60739 ac_cpp='$CXXCPP $CPPFLAGS'
60740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60744 cat >conftest.$ac_ext <<_ACEOF
60745 /* confdefs.h. */
60746 _ACEOF
60747 cat confdefs.h >>conftest.$ac_ext
60748 cat >>conftest.$ac_ext <<_ACEOF
60749 /* end confdefs.h. */
60750 #include <math.h>
60752 main ()
60754 __builtin_abs(0);
60756 return 0;
60758 _ACEOF
60759 rm -f conftest.$ac_objext
60760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60761 (eval $ac_compile) 2>conftest.er1
60762 ac_status=$?
60763 grep -v '^ *+' conftest.er1 >conftest.err
60764 rm -f conftest.er1
60765 cat conftest.err >&5
60766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60767 (exit $ac_status); } &&
60768 { ac_try='test -z "$ac_cxx_werror_flag"
60769 || test ! -s conftest.err'
60770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60771 (eval $ac_try) 2>&5
60772 ac_status=$?
60773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60774 (exit $ac_status); }; } &&
60775 { ac_try='test -s conftest.$ac_objext'
60776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60777 (eval $ac_try) 2>&5
60778 ac_status=$?
60779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60780 (exit $ac_status); }; }; then
60781 glibcxx_cv_func___builtin_abs_use=yes
60782 else
60783 echo "$as_me: failed program was:" >&5
60784 sed 's/^/| /' conftest.$ac_ext >&5
60786 glibcxx_cv_func___builtin_abs_use=no
60788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60789 ac_ext=c
60790 ac_cpp='$CPP $CPPFLAGS'
60791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60799 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
60800 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
60801 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
60802 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
60803 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
60804 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
60805 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
60806 echo $ECHO_N "(cached) $ECHO_C" >&6
60807 else
60809 if test x$gcc_no_link = xyes; then
60810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60812 { (exit 1); exit 1; }; }
60814 cat >conftest.$ac_ext <<_ACEOF
60815 /* confdefs.h. */
60816 _ACEOF
60817 cat confdefs.h >>conftest.$ac_ext
60818 cat >>conftest.$ac_ext <<_ACEOF
60819 /* end confdefs.h. */
60820 #include <math.h>
60822 main ()
60824 __builtin_abs(0);
60826 return 0;
60828 _ACEOF
60829 rm -f conftest.$ac_objext conftest$ac_exeext
60830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60831 (eval $ac_link) 2>conftest.er1
60832 ac_status=$?
60833 grep -v '^ *+' conftest.er1 >conftest.err
60834 rm -f conftest.er1
60835 cat conftest.err >&5
60836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60837 (exit $ac_status); } &&
60838 { ac_try='test -z "$ac_c_werror_flag"
60839 || test ! -s conftest.err'
60840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60841 (eval $ac_try) 2>&5
60842 ac_status=$?
60843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60844 (exit $ac_status); }; } &&
60845 { ac_try='test -s conftest$ac_exeext'
60846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60847 (eval $ac_try) 2>&5
60848 ac_status=$?
60849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60850 (exit $ac_status); }; }; then
60851 glibcxx_cv_func___builtin_abs_link=yes
60852 else
60853 echo "$as_me: failed program was:" >&5
60854 sed 's/^/| /' conftest.$ac_ext >&5
60856 glibcxx_cv_func___builtin_abs_link=no
60858 rm -f conftest.err conftest.$ac_objext \
60859 conftest$ac_exeext conftest.$ac_ext
60864 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
60865 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
60867 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
60869 cat >>confdefs.h <<\_ACEOF
60870 #define HAVE___BUILTIN_ABS 1
60871 _ACEOF
60878 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
60879 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
60880 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
60881 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
60882 echo $ECHO_N "(cached) $ECHO_C" >&6
60883 else
60887 ac_ext=cc
60888 ac_cpp='$CXXCPP $CPPFLAGS'
60889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60893 cat >conftest.$ac_ext <<_ACEOF
60894 /* confdefs.h. */
60895 _ACEOF
60896 cat confdefs.h >>conftest.$ac_ext
60897 cat >>conftest.$ac_ext <<_ACEOF
60898 /* end confdefs.h. */
60899 #include <math.h>
60901 main ()
60903 __builtin_fabsf(0);
60905 return 0;
60907 _ACEOF
60908 rm -f conftest.$ac_objext
60909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60910 (eval $ac_compile) 2>conftest.er1
60911 ac_status=$?
60912 grep -v '^ *+' conftest.er1 >conftest.err
60913 rm -f conftest.er1
60914 cat conftest.err >&5
60915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60916 (exit $ac_status); } &&
60917 { ac_try='test -z "$ac_cxx_werror_flag"
60918 || test ! -s conftest.err'
60919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60920 (eval $ac_try) 2>&5
60921 ac_status=$?
60922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60923 (exit $ac_status); }; } &&
60924 { ac_try='test -s conftest.$ac_objext'
60925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60926 (eval $ac_try) 2>&5
60927 ac_status=$?
60928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60929 (exit $ac_status); }; }; then
60930 glibcxx_cv_func___builtin_fabsf_use=yes
60931 else
60932 echo "$as_me: failed program was:" >&5
60933 sed 's/^/| /' conftest.$ac_ext >&5
60935 glibcxx_cv_func___builtin_fabsf_use=no
60937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60938 ac_ext=c
60939 ac_cpp='$CPP $CPPFLAGS'
60940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60948 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
60949 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
60950 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
60951 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
60952 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
60953 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
60954 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
60955 echo $ECHO_N "(cached) $ECHO_C" >&6
60956 else
60958 if test x$gcc_no_link = xyes; then
60959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60961 { (exit 1); exit 1; }; }
60963 cat >conftest.$ac_ext <<_ACEOF
60964 /* confdefs.h. */
60965 _ACEOF
60966 cat confdefs.h >>conftest.$ac_ext
60967 cat >>conftest.$ac_ext <<_ACEOF
60968 /* end confdefs.h. */
60969 #include <math.h>
60971 main ()
60973 __builtin_fabsf(0);
60975 return 0;
60977 _ACEOF
60978 rm -f conftest.$ac_objext conftest$ac_exeext
60979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60980 (eval $ac_link) 2>conftest.er1
60981 ac_status=$?
60982 grep -v '^ *+' conftest.er1 >conftest.err
60983 rm -f conftest.er1
60984 cat conftest.err >&5
60985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60986 (exit $ac_status); } &&
60987 { ac_try='test -z "$ac_c_werror_flag"
60988 || test ! -s conftest.err'
60989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60990 (eval $ac_try) 2>&5
60991 ac_status=$?
60992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60993 (exit $ac_status); }; } &&
60994 { ac_try='test -s conftest$ac_exeext'
60995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60996 (eval $ac_try) 2>&5
60997 ac_status=$?
60998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60999 (exit $ac_status); }; }; then
61000 glibcxx_cv_func___builtin_fabsf_link=yes
61001 else
61002 echo "$as_me: failed program was:" >&5
61003 sed 's/^/| /' conftest.$ac_ext >&5
61005 glibcxx_cv_func___builtin_fabsf_link=no
61007 rm -f conftest.err conftest.$ac_objext \
61008 conftest$ac_exeext conftest.$ac_ext
61013 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
61014 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
61016 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
61018 cat >>confdefs.h <<\_ACEOF
61019 #define HAVE___BUILTIN_FABSF 1
61020 _ACEOF
61027 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
61028 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
61029 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
61030 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
61031 echo $ECHO_N "(cached) $ECHO_C" >&6
61032 else
61036 ac_ext=cc
61037 ac_cpp='$CXXCPP $CPPFLAGS'
61038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61042 cat >conftest.$ac_ext <<_ACEOF
61043 /* confdefs.h. */
61044 _ACEOF
61045 cat confdefs.h >>conftest.$ac_ext
61046 cat >>conftest.$ac_ext <<_ACEOF
61047 /* end confdefs.h. */
61048 #include <math.h>
61050 main ()
61052 __builtin_fabs(0);
61054 return 0;
61056 _ACEOF
61057 rm -f conftest.$ac_objext
61058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61059 (eval $ac_compile) 2>conftest.er1
61060 ac_status=$?
61061 grep -v '^ *+' conftest.er1 >conftest.err
61062 rm -f conftest.er1
61063 cat conftest.err >&5
61064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61065 (exit $ac_status); } &&
61066 { ac_try='test -z "$ac_cxx_werror_flag"
61067 || test ! -s conftest.err'
61068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61069 (eval $ac_try) 2>&5
61070 ac_status=$?
61071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61072 (exit $ac_status); }; } &&
61073 { ac_try='test -s conftest.$ac_objext'
61074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61075 (eval $ac_try) 2>&5
61076 ac_status=$?
61077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61078 (exit $ac_status); }; }; then
61079 glibcxx_cv_func___builtin_fabs_use=yes
61080 else
61081 echo "$as_me: failed program was:" >&5
61082 sed 's/^/| /' conftest.$ac_ext >&5
61084 glibcxx_cv_func___builtin_fabs_use=no
61086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61087 ac_ext=c
61088 ac_cpp='$CPP $CPPFLAGS'
61089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61097 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
61098 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
61099 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
61100 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
61101 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
61102 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
61103 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
61104 echo $ECHO_N "(cached) $ECHO_C" >&6
61105 else
61107 if test x$gcc_no_link = xyes; then
61108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61110 { (exit 1); exit 1; }; }
61112 cat >conftest.$ac_ext <<_ACEOF
61113 /* confdefs.h. */
61114 _ACEOF
61115 cat confdefs.h >>conftest.$ac_ext
61116 cat >>conftest.$ac_ext <<_ACEOF
61117 /* end confdefs.h. */
61118 #include <math.h>
61120 main ()
61122 __builtin_fabs(0);
61124 return 0;
61126 _ACEOF
61127 rm -f conftest.$ac_objext conftest$ac_exeext
61128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61129 (eval $ac_link) 2>conftest.er1
61130 ac_status=$?
61131 grep -v '^ *+' conftest.er1 >conftest.err
61132 rm -f conftest.er1
61133 cat conftest.err >&5
61134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61135 (exit $ac_status); } &&
61136 { ac_try='test -z "$ac_c_werror_flag"
61137 || test ! -s conftest.err'
61138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61139 (eval $ac_try) 2>&5
61140 ac_status=$?
61141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61142 (exit $ac_status); }; } &&
61143 { ac_try='test -s conftest$ac_exeext'
61144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61145 (eval $ac_try) 2>&5
61146 ac_status=$?
61147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61148 (exit $ac_status); }; }; then
61149 glibcxx_cv_func___builtin_fabs_link=yes
61150 else
61151 echo "$as_me: failed program was:" >&5
61152 sed 's/^/| /' conftest.$ac_ext >&5
61154 glibcxx_cv_func___builtin_fabs_link=no
61156 rm -f conftest.err conftest.$ac_objext \
61157 conftest$ac_exeext conftest.$ac_ext
61162 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
61163 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
61165 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
61167 cat >>confdefs.h <<\_ACEOF
61168 #define HAVE___BUILTIN_FABS 1
61169 _ACEOF
61176 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
61177 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
61178 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
61179 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
61180 echo $ECHO_N "(cached) $ECHO_C" >&6
61181 else
61185 ac_ext=cc
61186 ac_cpp='$CXXCPP $CPPFLAGS'
61187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61191 cat >conftest.$ac_ext <<_ACEOF
61192 /* confdefs.h. */
61193 _ACEOF
61194 cat confdefs.h >>conftest.$ac_ext
61195 cat >>conftest.$ac_ext <<_ACEOF
61196 /* end confdefs.h. */
61197 #include <math.h>
61199 main ()
61201 __builtin_fabsl(0);
61203 return 0;
61205 _ACEOF
61206 rm -f conftest.$ac_objext
61207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61208 (eval $ac_compile) 2>conftest.er1
61209 ac_status=$?
61210 grep -v '^ *+' conftest.er1 >conftest.err
61211 rm -f conftest.er1
61212 cat conftest.err >&5
61213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61214 (exit $ac_status); } &&
61215 { ac_try='test -z "$ac_cxx_werror_flag"
61216 || test ! -s conftest.err'
61217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61218 (eval $ac_try) 2>&5
61219 ac_status=$?
61220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61221 (exit $ac_status); }; } &&
61222 { ac_try='test -s conftest.$ac_objext'
61223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61224 (eval $ac_try) 2>&5
61225 ac_status=$?
61226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61227 (exit $ac_status); }; }; then
61228 glibcxx_cv_func___builtin_fabsl_use=yes
61229 else
61230 echo "$as_me: failed program was:" >&5
61231 sed 's/^/| /' conftest.$ac_ext >&5
61233 glibcxx_cv_func___builtin_fabsl_use=no
61235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61236 ac_ext=c
61237 ac_cpp='$CPP $CPPFLAGS'
61238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61246 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
61247 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
61248 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
61249 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
61250 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
61251 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
61252 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
61253 echo $ECHO_N "(cached) $ECHO_C" >&6
61254 else
61256 if test x$gcc_no_link = xyes; then
61257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61259 { (exit 1); exit 1; }; }
61261 cat >conftest.$ac_ext <<_ACEOF
61262 /* confdefs.h. */
61263 _ACEOF
61264 cat confdefs.h >>conftest.$ac_ext
61265 cat >>conftest.$ac_ext <<_ACEOF
61266 /* end confdefs.h. */
61267 #include <math.h>
61269 main ()
61271 __builtin_fabsl(0);
61273 return 0;
61275 _ACEOF
61276 rm -f conftest.$ac_objext conftest$ac_exeext
61277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61278 (eval $ac_link) 2>conftest.er1
61279 ac_status=$?
61280 grep -v '^ *+' conftest.er1 >conftest.err
61281 rm -f conftest.er1
61282 cat conftest.err >&5
61283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61284 (exit $ac_status); } &&
61285 { ac_try='test -z "$ac_c_werror_flag"
61286 || test ! -s conftest.err'
61287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61288 (eval $ac_try) 2>&5
61289 ac_status=$?
61290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61291 (exit $ac_status); }; } &&
61292 { ac_try='test -s conftest$ac_exeext'
61293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61294 (eval $ac_try) 2>&5
61295 ac_status=$?
61296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61297 (exit $ac_status); }; }; then
61298 glibcxx_cv_func___builtin_fabsl_link=yes
61299 else
61300 echo "$as_me: failed program was:" >&5
61301 sed 's/^/| /' conftest.$ac_ext >&5
61303 glibcxx_cv_func___builtin_fabsl_link=no
61305 rm -f conftest.err conftest.$ac_objext \
61306 conftest$ac_exeext conftest.$ac_ext
61311 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
61312 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
61314 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
61316 cat >>confdefs.h <<\_ACEOF
61317 #define HAVE___BUILTIN_FABSL 1
61318 _ACEOF
61325 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
61326 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
61327 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
61328 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
61329 echo $ECHO_N "(cached) $ECHO_C" >&6
61330 else
61334 ac_ext=cc
61335 ac_cpp='$CXXCPP $CPPFLAGS'
61336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61340 cat >conftest.$ac_ext <<_ACEOF
61341 /* confdefs.h. */
61342 _ACEOF
61343 cat confdefs.h >>conftest.$ac_ext
61344 cat >>conftest.$ac_ext <<_ACEOF
61345 /* end confdefs.h. */
61346 #include <math.h>
61348 main ()
61350 __builtin_labs(0);
61352 return 0;
61354 _ACEOF
61355 rm -f conftest.$ac_objext
61356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61357 (eval $ac_compile) 2>conftest.er1
61358 ac_status=$?
61359 grep -v '^ *+' conftest.er1 >conftest.err
61360 rm -f conftest.er1
61361 cat conftest.err >&5
61362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61363 (exit $ac_status); } &&
61364 { ac_try='test -z "$ac_cxx_werror_flag"
61365 || test ! -s conftest.err'
61366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61367 (eval $ac_try) 2>&5
61368 ac_status=$?
61369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61370 (exit $ac_status); }; } &&
61371 { ac_try='test -s conftest.$ac_objext'
61372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61373 (eval $ac_try) 2>&5
61374 ac_status=$?
61375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61376 (exit $ac_status); }; }; then
61377 glibcxx_cv_func___builtin_labs_use=yes
61378 else
61379 echo "$as_me: failed program was:" >&5
61380 sed 's/^/| /' conftest.$ac_ext >&5
61382 glibcxx_cv_func___builtin_labs_use=no
61384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61385 ac_ext=c
61386 ac_cpp='$CPP $CPPFLAGS'
61387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61395 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
61396 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
61397 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
61398 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
61399 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
61400 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
61401 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
61402 echo $ECHO_N "(cached) $ECHO_C" >&6
61403 else
61405 if test x$gcc_no_link = xyes; then
61406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61408 { (exit 1); exit 1; }; }
61410 cat >conftest.$ac_ext <<_ACEOF
61411 /* confdefs.h. */
61412 _ACEOF
61413 cat confdefs.h >>conftest.$ac_ext
61414 cat >>conftest.$ac_ext <<_ACEOF
61415 /* end confdefs.h. */
61416 #include <math.h>
61418 main ()
61420 __builtin_labs(0);
61422 return 0;
61424 _ACEOF
61425 rm -f conftest.$ac_objext conftest$ac_exeext
61426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61427 (eval $ac_link) 2>conftest.er1
61428 ac_status=$?
61429 grep -v '^ *+' conftest.er1 >conftest.err
61430 rm -f conftest.er1
61431 cat conftest.err >&5
61432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61433 (exit $ac_status); } &&
61434 { ac_try='test -z "$ac_c_werror_flag"
61435 || test ! -s conftest.err'
61436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61437 (eval $ac_try) 2>&5
61438 ac_status=$?
61439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61440 (exit $ac_status); }; } &&
61441 { ac_try='test -s conftest$ac_exeext'
61442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61443 (eval $ac_try) 2>&5
61444 ac_status=$?
61445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61446 (exit $ac_status); }; }; then
61447 glibcxx_cv_func___builtin_labs_link=yes
61448 else
61449 echo "$as_me: failed program was:" >&5
61450 sed 's/^/| /' conftest.$ac_ext >&5
61452 glibcxx_cv_func___builtin_labs_link=no
61454 rm -f conftest.err conftest.$ac_objext \
61455 conftest$ac_exeext conftest.$ac_ext
61460 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
61461 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
61463 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
61465 cat >>confdefs.h <<\_ACEOF
61466 #define HAVE___BUILTIN_LABS 1
61467 _ACEOF
61475 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
61476 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
61477 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
61478 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
61479 echo $ECHO_N "(cached) $ECHO_C" >&6
61480 else
61484 ac_ext=cc
61485 ac_cpp='$CXXCPP $CPPFLAGS'
61486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61490 cat >conftest.$ac_ext <<_ACEOF
61491 /* confdefs.h. */
61492 _ACEOF
61493 cat confdefs.h >>conftest.$ac_ext
61494 cat >>conftest.$ac_ext <<_ACEOF
61495 /* end confdefs.h. */
61496 #include <math.h>
61498 main ()
61500 __builtin_sqrtf(0);
61502 return 0;
61504 _ACEOF
61505 rm -f conftest.$ac_objext
61506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61507 (eval $ac_compile) 2>conftest.er1
61508 ac_status=$?
61509 grep -v '^ *+' conftest.er1 >conftest.err
61510 rm -f conftest.er1
61511 cat conftest.err >&5
61512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61513 (exit $ac_status); } &&
61514 { ac_try='test -z "$ac_cxx_werror_flag"
61515 || test ! -s conftest.err'
61516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61517 (eval $ac_try) 2>&5
61518 ac_status=$?
61519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61520 (exit $ac_status); }; } &&
61521 { ac_try='test -s conftest.$ac_objext'
61522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61523 (eval $ac_try) 2>&5
61524 ac_status=$?
61525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61526 (exit $ac_status); }; }; then
61527 glibcxx_cv_func___builtin_sqrtf_use=yes
61528 else
61529 echo "$as_me: failed program was:" >&5
61530 sed 's/^/| /' conftest.$ac_ext >&5
61532 glibcxx_cv_func___builtin_sqrtf_use=no
61534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61535 ac_ext=c
61536 ac_cpp='$CPP $CPPFLAGS'
61537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61545 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
61546 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
61547 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
61548 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
61549 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
61550 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
61551 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
61552 echo $ECHO_N "(cached) $ECHO_C" >&6
61553 else
61555 if test x$gcc_no_link = xyes; then
61556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61558 { (exit 1); exit 1; }; }
61560 cat >conftest.$ac_ext <<_ACEOF
61561 /* confdefs.h. */
61562 _ACEOF
61563 cat confdefs.h >>conftest.$ac_ext
61564 cat >>conftest.$ac_ext <<_ACEOF
61565 /* end confdefs.h. */
61566 #include <math.h>
61568 main ()
61570 __builtin_sqrtf(0);
61572 return 0;
61574 _ACEOF
61575 rm -f conftest.$ac_objext conftest$ac_exeext
61576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61577 (eval $ac_link) 2>conftest.er1
61578 ac_status=$?
61579 grep -v '^ *+' conftest.er1 >conftest.err
61580 rm -f conftest.er1
61581 cat conftest.err >&5
61582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61583 (exit $ac_status); } &&
61584 { ac_try='test -z "$ac_c_werror_flag"
61585 || test ! -s conftest.err'
61586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61587 (eval $ac_try) 2>&5
61588 ac_status=$?
61589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61590 (exit $ac_status); }; } &&
61591 { ac_try='test -s conftest$ac_exeext'
61592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61593 (eval $ac_try) 2>&5
61594 ac_status=$?
61595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61596 (exit $ac_status); }; }; then
61597 glibcxx_cv_func___builtin_sqrtf_link=yes
61598 else
61599 echo "$as_me: failed program was:" >&5
61600 sed 's/^/| /' conftest.$ac_ext >&5
61602 glibcxx_cv_func___builtin_sqrtf_link=no
61604 rm -f conftest.err conftest.$ac_objext \
61605 conftest$ac_exeext conftest.$ac_ext
61610 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
61611 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
61613 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
61615 cat >>confdefs.h <<\_ACEOF
61616 #define HAVE___BUILTIN_SQRTF 1
61617 _ACEOF
61624 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
61625 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
61626 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
61627 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
61628 echo $ECHO_N "(cached) $ECHO_C" >&6
61629 else
61633 ac_ext=cc
61634 ac_cpp='$CXXCPP $CPPFLAGS'
61635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61639 cat >conftest.$ac_ext <<_ACEOF
61640 /* confdefs.h. */
61641 _ACEOF
61642 cat confdefs.h >>conftest.$ac_ext
61643 cat >>conftest.$ac_ext <<_ACEOF
61644 /* end confdefs.h. */
61645 #include <math.h>
61647 main ()
61649 __builtin_sqrt(0);
61651 return 0;
61653 _ACEOF
61654 rm -f conftest.$ac_objext
61655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61656 (eval $ac_compile) 2>conftest.er1
61657 ac_status=$?
61658 grep -v '^ *+' conftest.er1 >conftest.err
61659 rm -f conftest.er1
61660 cat conftest.err >&5
61661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61662 (exit $ac_status); } &&
61663 { ac_try='test -z "$ac_cxx_werror_flag"
61664 || test ! -s conftest.err'
61665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61666 (eval $ac_try) 2>&5
61667 ac_status=$?
61668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61669 (exit $ac_status); }; } &&
61670 { ac_try='test -s conftest.$ac_objext'
61671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61672 (eval $ac_try) 2>&5
61673 ac_status=$?
61674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61675 (exit $ac_status); }; }; then
61676 glibcxx_cv_func___builtin_sqrt_use=yes
61677 else
61678 echo "$as_me: failed program was:" >&5
61679 sed 's/^/| /' conftest.$ac_ext >&5
61681 glibcxx_cv_func___builtin_sqrt_use=no
61683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61684 ac_ext=c
61685 ac_cpp='$CPP $CPPFLAGS'
61686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61694 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
61695 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
61696 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
61697 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
61698 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
61699 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
61700 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
61701 echo $ECHO_N "(cached) $ECHO_C" >&6
61702 else
61704 if test x$gcc_no_link = xyes; then
61705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61707 { (exit 1); exit 1; }; }
61709 cat >conftest.$ac_ext <<_ACEOF
61710 /* confdefs.h. */
61711 _ACEOF
61712 cat confdefs.h >>conftest.$ac_ext
61713 cat >>conftest.$ac_ext <<_ACEOF
61714 /* end confdefs.h. */
61715 #include <math.h>
61717 main ()
61719 __builtin_sqrt(0);
61721 return 0;
61723 _ACEOF
61724 rm -f conftest.$ac_objext conftest$ac_exeext
61725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61726 (eval $ac_link) 2>conftest.er1
61727 ac_status=$?
61728 grep -v '^ *+' conftest.er1 >conftest.err
61729 rm -f conftest.er1
61730 cat conftest.err >&5
61731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61732 (exit $ac_status); } &&
61733 { ac_try='test -z "$ac_c_werror_flag"
61734 || test ! -s conftest.err'
61735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61736 (eval $ac_try) 2>&5
61737 ac_status=$?
61738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61739 (exit $ac_status); }; } &&
61740 { ac_try='test -s conftest$ac_exeext'
61741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61742 (eval $ac_try) 2>&5
61743 ac_status=$?
61744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61745 (exit $ac_status); }; }; then
61746 glibcxx_cv_func___builtin_sqrt_link=yes
61747 else
61748 echo "$as_me: failed program was:" >&5
61749 sed 's/^/| /' conftest.$ac_ext >&5
61751 glibcxx_cv_func___builtin_sqrt_link=no
61753 rm -f conftest.err conftest.$ac_objext \
61754 conftest$ac_exeext conftest.$ac_ext
61759 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
61760 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
61762 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
61764 cat >>confdefs.h <<\_ACEOF
61765 #define HAVE___BUILTIN_SQRT 1
61766 _ACEOF
61773 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
61774 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
61775 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
61776 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
61777 echo $ECHO_N "(cached) $ECHO_C" >&6
61778 else
61782 ac_ext=cc
61783 ac_cpp='$CXXCPP $CPPFLAGS'
61784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61788 cat >conftest.$ac_ext <<_ACEOF
61789 /* confdefs.h. */
61790 _ACEOF
61791 cat confdefs.h >>conftest.$ac_ext
61792 cat >>conftest.$ac_ext <<_ACEOF
61793 /* end confdefs.h. */
61794 #include <math.h>
61796 main ()
61798 __builtin_sqrtl(0);
61800 return 0;
61802 _ACEOF
61803 rm -f conftest.$ac_objext
61804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61805 (eval $ac_compile) 2>conftest.er1
61806 ac_status=$?
61807 grep -v '^ *+' conftest.er1 >conftest.err
61808 rm -f conftest.er1
61809 cat conftest.err >&5
61810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61811 (exit $ac_status); } &&
61812 { ac_try='test -z "$ac_cxx_werror_flag"
61813 || test ! -s conftest.err'
61814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61815 (eval $ac_try) 2>&5
61816 ac_status=$?
61817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61818 (exit $ac_status); }; } &&
61819 { ac_try='test -s conftest.$ac_objext'
61820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61821 (eval $ac_try) 2>&5
61822 ac_status=$?
61823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61824 (exit $ac_status); }; }; then
61825 glibcxx_cv_func___builtin_sqrtl_use=yes
61826 else
61827 echo "$as_me: failed program was:" >&5
61828 sed 's/^/| /' conftest.$ac_ext >&5
61830 glibcxx_cv_func___builtin_sqrtl_use=no
61832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61833 ac_ext=c
61834 ac_cpp='$CPP $CPPFLAGS'
61835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61843 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
61844 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
61845 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
61846 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
61847 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
61848 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
61849 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
61850 echo $ECHO_N "(cached) $ECHO_C" >&6
61851 else
61853 if test x$gcc_no_link = xyes; then
61854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61856 { (exit 1); exit 1; }; }
61858 cat >conftest.$ac_ext <<_ACEOF
61859 /* confdefs.h. */
61860 _ACEOF
61861 cat confdefs.h >>conftest.$ac_ext
61862 cat >>conftest.$ac_ext <<_ACEOF
61863 /* end confdefs.h. */
61864 #include <math.h>
61866 main ()
61868 __builtin_sqrtl(0);
61870 return 0;
61872 _ACEOF
61873 rm -f conftest.$ac_objext conftest$ac_exeext
61874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61875 (eval $ac_link) 2>conftest.er1
61876 ac_status=$?
61877 grep -v '^ *+' conftest.er1 >conftest.err
61878 rm -f conftest.er1
61879 cat conftest.err >&5
61880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61881 (exit $ac_status); } &&
61882 { ac_try='test -z "$ac_c_werror_flag"
61883 || test ! -s conftest.err'
61884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61885 (eval $ac_try) 2>&5
61886 ac_status=$?
61887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61888 (exit $ac_status); }; } &&
61889 { ac_try='test -s conftest$ac_exeext'
61890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61891 (eval $ac_try) 2>&5
61892 ac_status=$?
61893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61894 (exit $ac_status); }; }; then
61895 glibcxx_cv_func___builtin_sqrtl_link=yes
61896 else
61897 echo "$as_me: failed program was:" >&5
61898 sed 's/^/| /' conftest.$ac_ext >&5
61900 glibcxx_cv_func___builtin_sqrtl_link=no
61902 rm -f conftest.err conftest.$ac_objext \
61903 conftest$ac_exeext conftest.$ac_ext
61908 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
61909 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
61911 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
61913 cat >>confdefs.h <<\_ACEOF
61914 #define HAVE___BUILTIN_SQRTL 1
61915 _ACEOF
61923 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
61924 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
61925 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
61926 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
61927 echo $ECHO_N "(cached) $ECHO_C" >&6
61928 else
61932 ac_ext=cc
61933 ac_cpp='$CXXCPP $CPPFLAGS'
61934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61938 cat >conftest.$ac_ext <<_ACEOF
61939 /* confdefs.h. */
61940 _ACEOF
61941 cat confdefs.h >>conftest.$ac_ext
61942 cat >>conftest.$ac_ext <<_ACEOF
61943 /* end confdefs.h. */
61944 #include <math.h>
61946 main ()
61948 __builtin_sinf(0);
61950 return 0;
61952 _ACEOF
61953 rm -f conftest.$ac_objext
61954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61955 (eval $ac_compile) 2>conftest.er1
61956 ac_status=$?
61957 grep -v '^ *+' conftest.er1 >conftest.err
61958 rm -f conftest.er1
61959 cat conftest.err >&5
61960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61961 (exit $ac_status); } &&
61962 { ac_try='test -z "$ac_cxx_werror_flag"
61963 || test ! -s conftest.err'
61964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61965 (eval $ac_try) 2>&5
61966 ac_status=$?
61967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61968 (exit $ac_status); }; } &&
61969 { ac_try='test -s conftest.$ac_objext'
61970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61971 (eval $ac_try) 2>&5
61972 ac_status=$?
61973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61974 (exit $ac_status); }; }; then
61975 glibcxx_cv_func___builtin_sinf_use=yes
61976 else
61977 echo "$as_me: failed program was:" >&5
61978 sed 's/^/| /' conftest.$ac_ext >&5
61980 glibcxx_cv_func___builtin_sinf_use=no
61982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61983 ac_ext=c
61984 ac_cpp='$CPP $CPPFLAGS'
61985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61993 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
61994 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
61995 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
61996 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
61997 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
61998 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
61999 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
62000 echo $ECHO_N "(cached) $ECHO_C" >&6
62001 else
62003 if test x$gcc_no_link = xyes; then
62004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62006 { (exit 1); exit 1; }; }
62008 cat >conftest.$ac_ext <<_ACEOF
62009 /* confdefs.h. */
62010 _ACEOF
62011 cat confdefs.h >>conftest.$ac_ext
62012 cat >>conftest.$ac_ext <<_ACEOF
62013 /* end confdefs.h. */
62014 #include <math.h>
62016 main ()
62018 __builtin_sinf(0);
62020 return 0;
62022 _ACEOF
62023 rm -f conftest.$ac_objext conftest$ac_exeext
62024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62025 (eval $ac_link) 2>conftest.er1
62026 ac_status=$?
62027 grep -v '^ *+' conftest.er1 >conftest.err
62028 rm -f conftest.er1
62029 cat conftest.err >&5
62030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62031 (exit $ac_status); } &&
62032 { ac_try='test -z "$ac_c_werror_flag"
62033 || test ! -s conftest.err'
62034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62035 (eval $ac_try) 2>&5
62036 ac_status=$?
62037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62038 (exit $ac_status); }; } &&
62039 { ac_try='test -s conftest$ac_exeext'
62040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62041 (eval $ac_try) 2>&5
62042 ac_status=$?
62043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62044 (exit $ac_status); }; }; then
62045 glibcxx_cv_func___builtin_sinf_link=yes
62046 else
62047 echo "$as_me: failed program was:" >&5
62048 sed 's/^/| /' conftest.$ac_ext >&5
62050 glibcxx_cv_func___builtin_sinf_link=no
62052 rm -f conftest.err conftest.$ac_objext \
62053 conftest$ac_exeext conftest.$ac_ext
62058 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
62059 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
62061 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
62063 cat >>confdefs.h <<\_ACEOF
62064 #define HAVE___BUILTIN_SINF 1
62065 _ACEOF
62072 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
62073 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
62074 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
62075 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
62076 echo $ECHO_N "(cached) $ECHO_C" >&6
62077 else
62081 ac_ext=cc
62082 ac_cpp='$CXXCPP $CPPFLAGS'
62083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62087 cat >conftest.$ac_ext <<_ACEOF
62088 /* confdefs.h. */
62089 _ACEOF
62090 cat confdefs.h >>conftest.$ac_ext
62091 cat >>conftest.$ac_ext <<_ACEOF
62092 /* end confdefs.h. */
62093 #include <math.h>
62095 main ()
62097 __builtin_sin(0);
62099 return 0;
62101 _ACEOF
62102 rm -f conftest.$ac_objext
62103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62104 (eval $ac_compile) 2>conftest.er1
62105 ac_status=$?
62106 grep -v '^ *+' conftest.er1 >conftest.err
62107 rm -f conftest.er1
62108 cat conftest.err >&5
62109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62110 (exit $ac_status); } &&
62111 { ac_try='test -z "$ac_cxx_werror_flag"
62112 || test ! -s conftest.err'
62113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62114 (eval $ac_try) 2>&5
62115 ac_status=$?
62116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62117 (exit $ac_status); }; } &&
62118 { ac_try='test -s conftest.$ac_objext'
62119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62120 (eval $ac_try) 2>&5
62121 ac_status=$?
62122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62123 (exit $ac_status); }; }; then
62124 glibcxx_cv_func___builtin_sin_use=yes
62125 else
62126 echo "$as_me: failed program was:" >&5
62127 sed 's/^/| /' conftest.$ac_ext >&5
62129 glibcxx_cv_func___builtin_sin_use=no
62131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62132 ac_ext=c
62133 ac_cpp='$CPP $CPPFLAGS'
62134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62142 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
62143 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
62144 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
62145 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
62146 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
62147 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
62148 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
62149 echo $ECHO_N "(cached) $ECHO_C" >&6
62150 else
62152 if test x$gcc_no_link = xyes; then
62153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62155 { (exit 1); exit 1; }; }
62157 cat >conftest.$ac_ext <<_ACEOF
62158 /* confdefs.h. */
62159 _ACEOF
62160 cat confdefs.h >>conftest.$ac_ext
62161 cat >>conftest.$ac_ext <<_ACEOF
62162 /* end confdefs.h. */
62163 #include <math.h>
62165 main ()
62167 __builtin_sin(0);
62169 return 0;
62171 _ACEOF
62172 rm -f conftest.$ac_objext conftest$ac_exeext
62173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62174 (eval $ac_link) 2>conftest.er1
62175 ac_status=$?
62176 grep -v '^ *+' conftest.er1 >conftest.err
62177 rm -f conftest.er1
62178 cat conftest.err >&5
62179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62180 (exit $ac_status); } &&
62181 { ac_try='test -z "$ac_c_werror_flag"
62182 || test ! -s conftest.err'
62183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62184 (eval $ac_try) 2>&5
62185 ac_status=$?
62186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62187 (exit $ac_status); }; } &&
62188 { ac_try='test -s conftest$ac_exeext'
62189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62190 (eval $ac_try) 2>&5
62191 ac_status=$?
62192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62193 (exit $ac_status); }; }; then
62194 glibcxx_cv_func___builtin_sin_link=yes
62195 else
62196 echo "$as_me: failed program was:" >&5
62197 sed 's/^/| /' conftest.$ac_ext >&5
62199 glibcxx_cv_func___builtin_sin_link=no
62201 rm -f conftest.err conftest.$ac_objext \
62202 conftest$ac_exeext conftest.$ac_ext
62207 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
62208 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
62210 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
62212 cat >>confdefs.h <<\_ACEOF
62213 #define HAVE___BUILTIN_SIN 1
62214 _ACEOF
62221 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
62222 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
62223 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
62224 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
62225 echo $ECHO_N "(cached) $ECHO_C" >&6
62226 else
62230 ac_ext=cc
62231 ac_cpp='$CXXCPP $CPPFLAGS'
62232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62236 cat >conftest.$ac_ext <<_ACEOF
62237 /* confdefs.h. */
62238 _ACEOF
62239 cat confdefs.h >>conftest.$ac_ext
62240 cat >>conftest.$ac_ext <<_ACEOF
62241 /* end confdefs.h. */
62242 #include <math.h>
62244 main ()
62246 __builtin_sinl(0);
62248 return 0;
62250 _ACEOF
62251 rm -f conftest.$ac_objext
62252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62253 (eval $ac_compile) 2>conftest.er1
62254 ac_status=$?
62255 grep -v '^ *+' conftest.er1 >conftest.err
62256 rm -f conftest.er1
62257 cat conftest.err >&5
62258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62259 (exit $ac_status); } &&
62260 { ac_try='test -z "$ac_cxx_werror_flag"
62261 || test ! -s conftest.err'
62262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62263 (eval $ac_try) 2>&5
62264 ac_status=$?
62265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62266 (exit $ac_status); }; } &&
62267 { ac_try='test -s conftest.$ac_objext'
62268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62269 (eval $ac_try) 2>&5
62270 ac_status=$?
62271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62272 (exit $ac_status); }; }; then
62273 glibcxx_cv_func___builtin_sinl_use=yes
62274 else
62275 echo "$as_me: failed program was:" >&5
62276 sed 's/^/| /' conftest.$ac_ext >&5
62278 glibcxx_cv_func___builtin_sinl_use=no
62280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62281 ac_ext=c
62282 ac_cpp='$CPP $CPPFLAGS'
62283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62291 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
62292 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
62293 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
62294 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
62295 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
62296 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
62297 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
62298 echo $ECHO_N "(cached) $ECHO_C" >&6
62299 else
62301 if test x$gcc_no_link = xyes; then
62302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62304 { (exit 1); exit 1; }; }
62306 cat >conftest.$ac_ext <<_ACEOF
62307 /* confdefs.h. */
62308 _ACEOF
62309 cat confdefs.h >>conftest.$ac_ext
62310 cat >>conftest.$ac_ext <<_ACEOF
62311 /* end confdefs.h. */
62312 #include <math.h>
62314 main ()
62316 __builtin_sinl(0);
62318 return 0;
62320 _ACEOF
62321 rm -f conftest.$ac_objext conftest$ac_exeext
62322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62323 (eval $ac_link) 2>conftest.er1
62324 ac_status=$?
62325 grep -v '^ *+' conftest.er1 >conftest.err
62326 rm -f conftest.er1
62327 cat conftest.err >&5
62328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62329 (exit $ac_status); } &&
62330 { ac_try='test -z "$ac_c_werror_flag"
62331 || test ! -s conftest.err'
62332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62333 (eval $ac_try) 2>&5
62334 ac_status=$?
62335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62336 (exit $ac_status); }; } &&
62337 { ac_try='test -s conftest$ac_exeext'
62338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62339 (eval $ac_try) 2>&5
62340 ac_status=$?
62341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62342 (exit $ac_status); }; }; then
62343 glibcxx_cv_func___builtin_sinl_link=yes
62344 else
62345 echo "$as_me: failed program was:" >&5
62346 sed 's/^/| /' conftest.$ac_ext >&5
62348 glibcxx_cv_func___builtin_sinl_link=no
62350 rm -f conftest.err conftest.$ac_objext \
62351 conftest$ac_exeext conftest.$ac_ext
62356 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
62357 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
62359 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
62361 cat >>confdefs.h <<\_ACEOF
62362 #define HAVE___BUILTIN_SINL 1
62363 _ACEOF
62371 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
62372 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
62373 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
62374 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
62375 echo $ECHO_N "(cached) $ECHO_C" >&6
62376 else
62380 ac_ext=cc
62381 ac_cpp='$CXXCPP $CPPFLAGS'
62382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62386 cat >conftest.$ac_ext <<_ACEOF
62387 /* confdefs.h. */
62388 _ACEOF
62389 cat confdefs.h >>conftest.$ac_ext
62390 cat >>conftest.$ac_ext <<_ACEOF
62391 /* end confdefs.h. */
62392 #include <math.h>
62394 main ()
62396 __builtin_cosf(0);
62398 return 0;
62400 _ACEOF
62401 rm -f conftest.$ac_objext
62402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62403 (eval $ac_compile) 2>conftest.er1
62404 ac_status=$?
62405 grep -v '^ *+' conftest.er1 >conftest.err
62406 rm -f conftest.er1
62407 cat conftest.err >&5
62408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62409 (exit $ac_status); } &&
62410 { ac_try='test -z "$ac_cxx_werror_flag"
62411 || test ! -s conftest.err'
62412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62413 (eval $ac_try) 2>&5
62414 ac_status=$?
62415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62416 (exit $ac_status); }; } &&
62417 { ac_try='test -s conftest.$ac_objext'
62418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62419 (eval $ac_try) 2>&5
62420 ac_status=$?
62421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62422 (exit $ac_status); }; }; then
62423 glibcxx_cv_func___builtin_cosf_use=yes
62424 else
62425 echo "$as_me: failed program was:" >&5
62426 sed 's/^/| /' conftest.$ac_ext >&5
62428 glibcxx_cv_func___builtin_cosf_use=no
62430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62431 ac_ext=c
62432 ac_cpp='$CPP $CPPFLAGS'
62433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62441 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
62442 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
62443 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
62444 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
62445 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
62446 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
62447 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
62448 echo $ECHO_N "(cached) $ECHO_C" >&6
62449 else
62451 if test x$gcc_no_link = xyes; then
62452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62454 { (exit 1); exit 1; }; }
62456 cat >conftest.$ac_ext <<_ACEOF
62457 /* confdefs.h. */
62458 _ACEOF
62459 cat confdefs.h >>conftest.$ac_ext
62460 cat >>conftest.$ac_ext <<_ACEOF
62461 /* end confdefs.h. */
62462 #include <math.h>
62464 main ()
62466 __builtin_cosf(0);
62468 return 0;
62470 _ACEOF
62471 rm -f conftest.$ac_objext conftest$ac_exeext
62472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62473 (eval $ac_link) 2>conftest.er1
62474 ac_status=$?
62475 grep -v '^ *+' conftest.er1 >conftest.err
62476 rm -f conftest.er1
62477 cat conftest.err >&5
62478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62479 (exit $ac_status); } &&
62480 { ac_try='test -z "$ac_c_werror_flag"
62481 || test ! -s conftest.err'
62482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62483 (eval $ac_try) 2>&5
62484 ac_status=$?
62485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62486 (exit $ac_status); }; } &&
62487 { ac_try='test -s conftest$ac_exeext'
62488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62489 (eval $ac_try) 2>&5
62490 ac_status=$?
62491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62492 (exit $ac_status); }; }; then
62493 glibcxx_cv_func___builtin_cosf_link=yes
62494 else
62495 echo "$as_me: failed program was:" >&5
62496 sed 's/^/| /' conftest.$ac_ext >&5
62498 glibcxx_cv_func___builtin_cosf_link=no
62500 rm -f conftest.err conftest.$ac_objext \
62501 conftest$ac_exeext conftest.$ac_ext
62506 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
62507 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
62509 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
62511 cat >>confdefs.h <<\_ACEOF
62512 #define HAVE___BUILTIN_COSF 1
62513 _ACEOF
62520 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
62521 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
62522 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
62523 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
62524 echo $ECHO_N "(cached) $ECHO_C" >&6
62525 else
62529 ac_ext=cc
62530 ac_cpp='$CXXCPP $CPPFLAGS'
62531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62535 cat >conftest.$ac_ext <<_ACEOF
62536 /* confdefs.h. */
62537 _ACEOF
62538 cat confdefs.h >>conftest.$ac_ext
62539 cat >>conftest.$ac_ext <<_ACEOF
62540 /* end confdefs.h. */
62541 #include <math.h>
62543 main ()
62545 __builtin_cos(0);
62547 return 0;
62549 _ACEOF
62550 rm -f conftest.$ac_objext
62551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62552 (eval $ac_compile) 2>conftest.er1
62553 ac_status=$?
62554 grep -v '^ *+' conftest.er1 >conftest.err
62555 rm -f conftest.er1
62556 cat conftest.err >&5
62557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62558 (exit $ac_status); } &&
62559 { ac_try='test -z "$ac_cxx_werror_flag"
62560 || test ! -s conftest.err'
62561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62562 (eval $ac_try) 2>&5
62563 ac_status=$?
62564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62565 (exit $ac_status); }; } &&
62566 { ac_try='test -s conftest.$ac_objext'
62567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62568 (eval $ac_try) 2>&5
62569 ac_status=$?
62570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62571 (exit $ac_status); }; }; then
62572 glibcxx_cv_func___builtin_cos_use=yes
62573 else
62574 echo "$as_me: failed program was:" >&5
62575 sed 's/^/| /' conftest.$ac_ext >&5
62577 glibcxx_cv_func___builtin_cos_use=no
62579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62580 ac_ext=c
62581 ac_cpp='$CPP $CPPFLAGS'
62582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62590 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
62591 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
62592 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
62593 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
62594 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
62595 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
62596 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
62597 echo $ECHO_N "(cached) $ECHO_C" >&6
62598 else
62600 if test x$gcc_no_link = xyes; then
62601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62603 { (exit 1); exit 1; }; }
62605 cat >conftest.$ac_ext <<_ACEOF
62606 /* confdefs.h. */
62607 _ACEOF
62608 cat confdefs.h >>conftest.$ac_ext
62609 cat >>conftest.$ac_ext <<_ACEOF
62610 /* end confdefs.h. */
62611 #include <math.h>
62613 main ()
62615 __builtin_cos(0);
62617 return 0;
62619 _ACEOF
62620 rm -f conftest.$ac_objext conftest$ac_exeext
62621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62622 (eval $ac_link) 2>conftest.er1
62623 ac_status=$?
62624 grep -v '^ *+' conftest.er1 >conftest.err
62625 rm -f conftest.er1
62626 cat conftest.err >&5
62627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62628 (exit $ac_status); } &&
62629 { ac_try='test -z "$ac_c_werror_flag"
62630 || test ! -s conftest.err'
62631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62632 (eval $ac_try) 2>&5
62633 ac_status=$?
62634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62635 (exit $ac_status); }; } &&
62636 { ac_try='test -s conftest$ac_exeext'
62637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62638 (eval $ac_try) 2>&5
62639 ac_status=$?
62640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62641 (exit $ac_status); }; }; then
62642 glibcxx_cv_func___builtin_cos_link=yes
62643 else
62644 echo "$as_me: failed program was:" >&5
62645 sed 's/^/| /' conftest.$ac_ext >&5
62647 glibcxx_cv_func___builtin_cos_link=no
62649 rm -f conftest.err conftest.$ac_objext \
62650 conftest$ac_exeext conftest.$ac_ext
62655 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
62656 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
62658 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
62660 cat >>confdefs.h <<\_ACEOF
62661 #define HAVE___BUILTIN_COS 1
62662 _ACEOF
62669 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
62670 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
62671 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
62672 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
62673 echo $ECHO_N "(cached) $ECHO_C" >&6
62674 else
62678 ac_ext=cc
62679 ac_cpp='$CXXCPP $CPPFLAGS'
62680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62684 cat >conftest.$ac_ext <<_ACEOF
62685 /* confdefs.h. */
62686 _ACEOF
62687 cat confdefs.h >>conftest.$ac_ext
62688 cat >>conftest.$ac_ext <<_ACEOF
62689 /* end confdefs.h. */
62690 #include <math.h>
62692 main ()
62694 __builtin_cosl(0);
62696 return 0;
62698 _ACEOF
62699 rm -f conftest.$ac_objext
62700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62701 (eval $ac_compile) 2>conftest.er1
62702 ac_status=$?
62703 grep -v '^ *+' conftest.er1 >conftest.err
62704 rm -f conftest.er1
62705 cat conftest.err >&5
62706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62707 (exit $ac_status); } &&
62708 { ac_try='test -z "$ac_cxx_werror_flag"
62709 || test ! -s conftest.err'
62710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62711 (eval $ac_try) 2>&5
62712 ac_status=$?
62713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62714 (exit $ac_status); }; } &&
62715 { ac_try='test -s conftest.$ac_objext'
62716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62717 (eval $ac_try) 2>&5
62718 ac_status=$?
62719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62720 (exit $ac_status); }; }; then
62721 glibcxx_cv_func___builtin_cosl_use=yes
62722 else
62723 echo "$as_me: failed program was:" >&5
62724 sed 's/^/| /' conftest.$ac_ext >&5
62726 glibcxx_cv_func___builtin_cosl_use=no
62728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62729 ac_ext=c
62730 ac_cpp='$CPP $CPPFLAGS'
62731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62739 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
62740 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
62741 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
62742 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
62743 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
62744 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
62745 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
62746 echo $ECHO_N "(cached) $ECHO_C" >&6
62747 else
62749 if test x$gcc_no_link = xyes; then
62750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62752 { (exit 1); exit 1; }; }
62754 cat >conftest.$ac_ext <<_ACEOF
62755 /* confdefs.h. */
62756 _ACEOF
62757 cat confdefs.h >>conftest.$ac_ext
62758 cat >>conftest.$ac_ext <<_ACEOF
62759 /* end confdefs.h. */
62760 #include <math.h>
62762 main ()
62764 __builtin_cosl(0);
62766 return 0;
62768 _ACEOF
62769 rm -f conftest.$ac_objext conftest$ac_exeext
62770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62771 (eval $ac_link) 2>conftest.er1
62772 ac_status=$?
62773 grep -v '^ *+' conftest.er1 >conftest.err
62774 rm -f conftest.er1
62775 cat conftest.err >&5
62776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62777 (exit $ac_status); } &&
62778 { ac_try='test -z "$ac_c_werror_flag"
62779 || test ! -s conftest.err'
62780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62781 (eval $ac_try) 2>&5
62782 ac_status=$?
62783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62784 (exit $ac_status); }; } &&
62785 { ac_try='test -s conftest$ac_exeext'
62786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62787 (eval $ac_try) 2>&5
62788 ac_status=$?
62789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62790 (exit $ac_status); }; }; then
62791 glibcxx_cv_func___builtin_cosl_link=yes
62792 else
62793 echo "$as_me: failed program was:" >&5
62794 sed 's/^/| /' conftest.$ac_ext >&5
62796 glibcxx_cv_func___builtin_cosl_link=no
62798 rm -f conftest.err conftest.$ac_objext \
62799 conftest$ac_exeext conftest.$ac_ext
62804 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
62805 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
62807 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
62809 cat >>confdefs.h <<\_ACEOF
62810 #define HAVE___BUILTIN_COSL 1
62811 _ACEOF
62820 echo "$as_me:$LINENO: checking for main in -lm" >&5
62821 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
62822 if test "${ac_cv_lib_m_main+set}" = set; then
62823 echo $ECHO_N "(cached) $ECHO_C" >&6
62824 else
62825 ac_check_lib_save_LIBS=$LIBS
62826 LIBS="-lm $LIBS"
62827 if test x$gcc_no_link = xyes; then
62828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62830 { (exit 1); exit 1; }; }
62832 cat >conftest.$ac_ext <<_ACEOF
62833 /* confdefs.h. */
62834 _ACEOF
62835 cat confdefs.h >>conftest.$ac_ext
62836 cat >>conftest.$ac_ext <<_ACEOF
62837 /* end confdefs.h. */
62841 main ()
62843 main ();
62845 return 0;
62847 _ACEOF
62848 rm -f conftest.$ac_objext conftest$ac_exeext
62849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62850 (eval $ac_link) 2>conftest.er1
62851 ac_status=$?
62852 grep -v '^ *+' conftest.er1 >conftest.err
62853 rm -f conftest.er1
62854 cat conftest.err >&5
62855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62856 (exit $ac_status); } &&
62857 { ac_try='test -z "$ac_c_werror_flag"
62858 || test ! -s conftest.err'
62859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62860 (eval $ac_try) 2>&5
62861 ac_status=$?
62862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62863 (exit $ac_status); }; } &&
62864 { ac_try='test -s conftest$ac_exeext'
62865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62866 (eval $ac_try) 2>&5
62867 ac_status=$?
62868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62869 (exit $ac_status); }; }; then
62870 ac_cv_lib_m_main=yes
62871 else
62872 echo "$as_me: failed program was:" >&5
62873 sed 's/^/| /' conftest.$ac_ext >&5
62875 ac_cv_lib_m_main=no
62877 rm -f conftest.err conftest.$ac_objext \
62878 conftest$ac_exeext conftest.$ac_ext
62879 LIBS=$ac_check_lib_save_LIBS
62881 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
62882 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
62883 if test $ac_cv_lib_m_main = yes; then
62884 cat >>confdefs.h <<_ACEOF
62885 #define HAVE_LIBM 1
62886 _ACEOF
62888 LIBS="-lm $LIBS"
62893 for ac_func in copysignf
62895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62896 echo "$as_me:$LINENO: checking for $ac_func" >&5
62897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62898 if eval "test \"\${$as_ac_var+set}\" = set"; then
62899 echo $ECHO_N "(cached) $ECHO_C" >&6
62900 else
62901 if test x$gcc_no_link = xyes; then
62902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62904 { (exit 1); exit 1; }; }
62906 cat >conftest.$ac_ext <<_ACEOF
62907 /* confdefs.h. */
62908 _ACEOF
62909 cat confdefs.h >>conftest.$ac_ext
62910 cat >>conftest.$ac_ext <<_ACEOF
62911 /* end confdefs.h. */
62912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62914 #define $ac_func innocuous_$ac_func
62916 /* System header to define __stub macros and hopefully few prototypes,
62917 which can conflict with char $ac_func (); below.
62918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62919 <limits.h> exists even on freestanding compilers. */
62921 #ifdef __STDC__
62922 # include <limits.h>
62923 #else
62924 # include <assert.h>
62925 #endif
62927 #undef $ac_func
62929 /* Override any gcc2 internal prototype to avoid an error. */
62930 #ifdef __cplusplus
62931 extern "C"
62933 #endif
62934 /* We use char because int might match the return type of a gcc2
62935 builtin and then its argument prototype would still apply. */
62936 char $ac_func ();
62937 /* The GNU C library defines this for functions which it implements
62938 to always fail with ENOSYS. Some functions are actually named
62939 something starting with __ and the normal name is an alias. */
62940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62941 choke me
62942 #else
62943 char (*f) () = $ac_func;
62944 #endif
62945 #ifdef __cplusplus
62947 #endif
62950 main ()
62952 return f != $ac_func;
62954 return 0;
62956 _ACEOF
62957 rm -f conftest.$ac_objext conftest$ac_exeext
62958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62959 (eval $ac_link) 2>conftest.er1
62960 ac_status=$?
62961 grep -v '^ *+' conftest.er1 >conftest.err
62962 rm -f conftest.er1
62963 cat conftest.err >&5
62964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62965 (exit $ac_status); } &&
62966 { ac_try='test -z "$ac_c_werror_flag"
62967 || test ! -s conftest.err'
62968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62969 (eval $ac_try) 2>&5
62970 ac_status=$?
62971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62972 (exit $ac_status); }; } &&
62973 { ac_try='test -s conftest$ac_exeext'
62974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62975 (eval $ac_try) 2>&5
62976 ac_status=$?
62977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62978 (exit $ac_status); }; }; then
62979 eval "$as_ac_var=yes"
62980 else
62981 echo "$as_me: failed program was:" >&5
62982 sed 's/^/| /' conftest.$ac_ext >&5
62984 eval "$as_ac_var=no"
62986 rm -f conftest.err conftest.$ac_objext \
62987 conftest$ac_exeext conftest.$ac_ext
62989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62991 if test `eval echo '${'$as_ac_var'}'` = yes; then
62992 cat >>confdefs.h <<_ACEOF
62993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62994 _ACEOF
62996 else
62997 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
62999 done
63003 for ac_func in __signbit
63005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63006 echo "$as_me:$LINENO: checking for $ac_func" >&5
63007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63008 if eval "test \"\${$as_ac_var+set}\" = set"; then
63009 echo $ECHO_N "(cached) $ECHO_C" >&6
63010 else
63011 if test x$gcc_no_link = xyes; then
63012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63014 { (exit 1); exit 1; }; }
63016 cat >conftest.$ac_ext <<_ACEOF
63017 /* confdefs.h. */
63018 _ACEOF
63019 cat confdefs.h >>conftest.$ac_ext
63020 cat >>conftest.$ac_ext <<_ACEOF
63021 /* end confdefs.h. */
63022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63024 #define $ac_func innocuous_$ac_func
63026 /* System header to define __stub macros and hopefully few prototypes,
63027 which can conflict with char $ac_func (); below.
63028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63029 <limits.h> exists even on freestanding compilers. */
63031 #ifdef __STDC__
63032 # include <limits.h>
63033 #else
63034 # include <assert.h>
63035 #endif
63037 #undef $ac_func
63039 /* Override any gcc2 internal prototype to avoid an error. */
63040 #ifdef __cplusplus
63041 extern "C"
63043 #endif
63044 /* We use char because int might match the return type of a gcc2
63045 builtin and then its argument prototype would still apply. */
63046 char $ac_func ();
63047 /* The GNU C library defines this for functions which it implements
63048 to always fail with ENOSYS. Some functions are actually named
63049 something starting with __ and the normal name is an alias. */
63050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63051 choke me
63052 #else
63053 char (*f) () = $ac_func;
63054 #endif
63055 #ifdef __cplusplus
63057 #endif
63060 main ()
63062 return f != $ac_func;
63064 return 0;
63066 _ACEOF
63067 rm -f conftest.$ac_objext conftest$ac_exeext
63068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63069 (eval $ac_link) 2>conftest.er1
63070 ac_status=$?
63071 grep -v '^ *+' conftest.er1 >conftest.err
63072 rm -f conftest.er1
63073 cat conftest.err >&5
63074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63075 (exit $ac_status); } &&
63076 { ac_try='test -z "$ac_c_werror_flag"
63077 || test ! -s conftest.err'
63078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63079 (eval $ac_try) 2>&5
63080 ac_status=$?
63081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63082 (exit $ac_status); }; } &&
63083 { ac_try='test -s conftest$ac_exeext'
63084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63085 (eval $ac_try) 2>&5
63086 ac_status=$?
63087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63088 (exit $ac_status); }; }; then
63089 eval "$as_ac_var=yes"
63090 else
63091 echo "$as_me: failed program was:" >&5
63092 sed 's/^/| /' conftest.$ac_ext >&5
63094 eval "$as_ac_var=no"
63096 rm -f conftest.err conftest.$ac_objext \
63097 conftest$ac_exeext conftest.$ac_ext
63099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63101 if test `eval echo '${'$as_ac_var'}'` = yes; then
63102 cat >>confdefs.h <<_ACEOF
63103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63104 _ACEOF
63106 else
63107 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
63109 done
63113 for ac_func in __signbitf
63115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63116 echo "$as_me:$LINENO: checking for $ac_func" >&5
63117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63118 if eval "test \"\${$as_ac_var+set}\" = set"; then
63119 echo $ECHO_N "(cached) $ECHO_C" >&6
63120 else
63121 if test x$gcc_no_link = xyes; then
63122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63124 { (exit 1); exit 1; }; }
63126 cat >conftest.$ac_ext <<_ACEOF
63127 /* confdefs.h. */
63128 _ACEOF
63129 cat confdefs.h >>conftest.$ac_ext
63130 cat >>conftest.$ac_ext <<_ACEOF
63131 /* end confdefs.h. */
63132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63134 #define $ac_func innocuous_$ac_func
63136 /* System header to define __stub macros and hopefully few prototypes,
63137 which can conflict with char $ac_func (); below.
63138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63139 <limits.h> exists even on freestanding compilers. */
63141 #ifdef __STDC__
63142 # include <limits.h>
63143 #else
63144 # include <assert.h>
63145 #endif
63147 #undef $ac_func
63149 /* Override any gcc2 internal prototype to avoid an error. */
63150 #ifdef __cplusplus
63151 extern "C"
63153 #endif
63154 /* We use char because int might match the return type of a gcc2
63155 builtin and then its argument prototype would still apply. */
63156 char $ac_func ();
63157 /* The GNU C library defines this for functions which it implements
63158 to always fail with ENOSYS. Some functions are actually named
63159 something starting with __ and the normal name is an alias. */
63160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63161 choke me
63162 #else
63163 char (*f) () = $ac_func;
63164 #endif
63165 #ifdef __cplusplus
63167 #endif
63170 main ()
63172 return f != $ac_func;
63174 return 0;
63176 _ACEOF
63177 rm -f conftest.$ac_objext conftest$ac_exeext
63178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63179 (eval $ac_link) 2>conftest.er1
63180 ac_status=$?
63181 grep -v '^ *+' conftest.er1 >conftest.err
63182 rm -f conftest.er1
63183 cat conftest.err >&5
63184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63185 (exit $ac_status); } &&
63186 { ac_try='test -z "$ac_c_werror_flag"
63187 || test ! -s conftest.err'
63188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63189 (eval $ac_try) 2>&5
63190 ac_status=$?
63191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63192 (exit $ac_status); }; } &&
63193 { ac_try='test -s conftest$ac_exeext'
63194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63195 (eval $ac_try) 2>&5
63196 ac_status=$?
63197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63198 (exit $ac_status); }; }; then
63199 eval "$as_ac_var=yes"
63200 else
63201 echo "$as_me: failed program was:" >&5
63202 sed 's/^/| /' conftest.$ac_ext >&5
63204 eval "$as_ac_var=no"
63206 rm -f conftest.err conftest.$ac_objext \
63207 conftest$ac_exeext conftest.$ac_ext
63209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63211 if test `eval echo '${'$as_ac_var'}'` = yes; then
63212 cat >>confdefs.h <<_ACEOF
63213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63214 _ACEOF
63216 else
63217 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
63219 done
63222 if test x$ac_cv_func_copysignl = x"yes"; then
63224 for ac_func in __signbitl
63226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63227 echo "$as_me:$LINENO: checking for $ac_func" >&5
63228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63229 if eval "test \"\${$as_ac_var+set}\" = set"; then
63230 echo $ECHO_N "(cached) $ECHO_C" >&6
63231 else
63232 if test x$gcc_no_link = xyes; then
63233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63235 { (exit 1); exit 1; }; }
63237 cat >conftest.$ac_ext <<_ACEOF
63238 /* confdefs.h. */
63239 _ACEOF
63240 cat confdefs.h >>conftest.$ac_ext
63241 cat >>conftest.$ac_ext <<_ACEOF
63242 /* end confdefs.h. */
63243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63245 #define $ac_func innocuous_$ac_func
63247 /* System header to define __stub macros and hopefully few prototypes,
63248 which can conflict with char $ac_func (); below.
63249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63250 <limits.h> exists even on freestanding compilers. */
63252 #ifdef __STDC__
63253 # include <limits.h>
63254 #else
63255 # include <assert.h>
63256 #endif
63258 #undef $ac_func
63260 /* Override any gcc2 internal prototype to avoid an error. */
63261 #ifdef __cplusplus
63262 extern "C"
63264 #endif
63265 /* We use char because int might match the return type of a gcc2
63266 builtin and then its argument prototype would still apply. */
63267 char $ac_func ();
63268 /* The GNU C library defines this for functions which it implements
63269 to always fail with ENOSYS. Some functions are actually named
63270 something starting with __ and the normal name is an alias. */
63271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63272 choke me
63273 #else
63274 char (*f) () = $ac_func;
63275 #endif
63276 #ifdef __cplusplus
63278 #endif
63281 main ()
63283 return f != $ac_func;
63285 return 0;
63287 _ACEOF
63288 rm -f conftest.$ac_objext conftest$ac_exeext
63289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63290 (eval $ac_link) 2>conftest.er1
63291 ac_status=$?
63292 grep -v '^ *+' conftest.er1 >conftest.err
63293 rm -f conftest.er1
63294 cat conftest.err >&5
63295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63296 (exit $ac_status); } &&
63297 { ac_try='test -z "$ac_c_werror_flag"
63298 || test ! -s conftest.err'
63299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63300 (eval $ac_try) 2>&5
63301 ac_status=$?
63302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63303 (exit $ac_status); }; } &&
63304 { ac_try='test -s conftest$ac_exeext'
63305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63306 (eval $ac_try) 2>&5
63307 ac_status=$?
63308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63309 (exit $ac_status); }; }; then
63310 eval "$as_ac_var=yes"
63311 else
63312 echo "$as_me: failed program was:" >&5
63313 sed 's/^/| /' conftest.$ac_ext >&5
63315 eval "$as_ac_var=no"
63317 rm -f conftest.err conftest.$ac_objext \
63318 conftest$ac_exeext conftest.$ac_ext
63320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63322 if test `eval echo '${'$as_ac_var'}'` = yes; then
63323 cat >>confdefs.h <<_ACEOF
63324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63325 _ACEOF
63327 else
63328 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63330 done
63334 # Used in libmath/Makefile.am.
63335 if test -n "$LIBMATHOBJS"; then
63336 need_libmath=yes
63341 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63342 ac_save_CXXFLAGS="$CXXFLAGS"
63343 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63346 echo "$as_me:$LINENO: checking for strtold declaration" >&5
63347 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
63348 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63349 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
63350 echo $ECHO_N "(cached) $ECHO_C" >&6
63351 else
63355 ac_ext=cc
63356 ac_cpp='$CXXCPP $CPPFLAGS'
63357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63361 cat >conftest.$ac_ext <<_ACEOF
63362 /* confdefs.h. */
63363 _ACEOF
63364 cat confdefs.h >>conftest.$ac_ext
63365 cat >>conftest.$ac_ext <<_ACEOF
63366 /* end confdefs.h. */
63367 #include <stdlib.h>
63369 main ()
63371 strtold(0, 0);
63373 return 0;
63375 _ACEOF
63376 rm -f conftest.$ac_objext
63377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63378 (eval $ac_compile) 2>conftest.er1
63379 ac_status=$?
63380 grep -v '^ *+' conftest.er1 >conftest.err
63381 rm -f conftest.er1
63382 cat conftest.err >&5
63383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63384 (exit $ac_status); } &&
63385 { ac_try='test -z "$ac_cxx_werror_flag"
63386 || test ! -s conftest.err'
63387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63388 (eval $ac_try) 2>&5
63389 ac_status=$?
63390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63391 (exit $ac_status); }; } &&
63392 { ac_try='test -s conftest.$ac_objext'
63393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63394 (eval $ac_try) 2>&5
63395 ac_status=$?
63396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63397 (exit $ac_status); }; }; then
63398 glibcxx_cv_func_strtold_use=yes
63399 else
63400 echo "$as_me: failed program was:" >&5
63401 sed 's/^/| /' conftest.$ac_ext >&5
63403 glibcxx_cv_func_strtold_use=no
63405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63406 ac_ext=c
63407 ac_cpp='$CPP $CPPFLAGS'
63408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63416 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
63417 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
63418 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63420 for ac_func in strtold
63422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63423 echo "$as_me:$LINENO: checking for $ac_func" >&5
63424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63425 if eval "test \"\${$as_ac_var+set}\" = set"; then
63426 echo $ECHO_N "(cached) $ECHO_C" >&6
63427 else
63428 if test x$gcc_no_link = xyes; then
63429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63431 { (exit 1); exit 1; }; }
63433 cat >conftest.$ac_ext <<_ACEOF
63434 /* confdefs.h. */
63435 _ACEOF
63436 cat confdefs.h >>conftest.$ac_ext
63437 cat >>conftest.$ac_ext <<_ACEOF
63438 /* end confdefs.h. */
63439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63441 #define $ac_func innocuous_$ac_func
63443 /* System header to define __stub macros and hopefully few prototypes,
63444 which can conflict with char $ac_func (); below.
63445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63446 <limits.h> exists even on freestanding compilers. */
63448 #ifdef __STDC__
63449 # include <limits.h>
63450 #else
63451 # include <assert.h>
63452 #endif
63454 #undef $ac_func
63456 /* Override any gcc2 internal prototype to avoid an error. */
63457 #ifdef __cplusplus
63458 extern "C"
63460 #endif
63461 /* We use char because int might match the return type of a gcc2
63462 builtin and then its argument prototype would still apply. */
63463 char $ac_func ();
63464 /* The GNU C library defines this for functions which it implements
63465 to always fail with ENOSYS. Some functions are actually named
63466 something starting with __ and the normal name is an alias. */
63467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63468 choke me
63469 #else
63470 char (*f) () = $ac_func;
63471 #endif
63472 #ifdef __cplusplus
63474 #endif
63477 main ()
63479 return f != $ac_func;
63481 return 0;
63483 _ACEOF
63484 rm -f conftest.$ac_objext conftest$ac_exeext
63485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63486 (eval $ac_link) 2>conftest.er1
63487 ac_status=$?
63488 grep -v '^ *+' conftest.er1 >conftest.err
63489 rm -f conftest.er1
63490 cat conftest.err >&5
63491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63492 (exit $ac_status); } &&
63493 { ac_try='test -z "$ac_c_werror_flag"
63494 || test ! -s conftest.err'
63495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63496 (eval $ac_try) 2>&5
63497 ac_status=$?
63498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63499 (exit $ac_status); }; } &&
63500 { ac_try='test -s conftest$ac_exeext'
63501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63502 (eval $ac_try) 2>&5
63503 ac_status=$?
63504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63505 (exit $ac_status); }; }; then
63506 eval "$as_ac_var=yes"
63507 else
63508 echo "$as_me: failed program was:" >&5
63509 sed 's/^/| /' conftest.$ac_ext >&5
63511 eval "$as_ac_var=no"
63513 rm -f conftest.err conftest.$ac_objext \
63514 conftest$ac_exeext conftest.$ac_ext
63516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63518 if test `eval echo '${'$as_ac_var'}'` = yes; then
63519 cat >>confdefs.h <<_ACEOF
63520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63521 _ACEOF
63524 done
63532 echo "$as_me:$LINENO: checking for strtof declaration" >&5
63533 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
63534 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63535 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
63536 echo $ECHO_N "(cached) $ECHO_C" >&6
63537 else
63541 ac_ext=cc
63542 ac_cpp='$CXXCPP $CPPFLAGS'
63543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63547 cat >conftest.$ac_ext <<_ACEOF
63548 /* confdefs.h. */
63549 _ACEOF
63550 cat confdefs.h >>conftest.$ac_ext
63551 cat >>conftest.$ac_ext <<_ACEOF
63552 /* end confdefs.h. */
63553 #include <stdlib.h>
63555 main ()
63557 strtof(0, 0);
63559 return 0;
63561 _ACEOF
63562 rm -f conftest.$ac_objext
63563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63564 (eval $ac_compile) 2>conftest.er1
63565 ac_status=$?
63566 grep -v '^ *+' conftest.er1 >conftest.err
63567 rm -f conftest.er1
63568 cat conftest.err >&5
63569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63570 (exit $ac_status); } &&
63571 { ac_try='test -z "$ac_cxx_werror_flag"
63572 || test ! -s conftest.err'
63573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63574 (eval $ac_try) 2>&5
63575 ac_status=$?
63576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63577 (exit $ac_status); }; } &&
63578 { ac_try='test -s conftest.$ac_objext'
63579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63580 (eval $ac_try) 2>&5
63581 ac_status=$?
63582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63583 (exit $ac_status); }; }; then
63584 glibcxx_cv_func_strtof_use=yes
63585 else
63586 echo "$as_me: failed program was:" >&5
63587 sed 's/^/| /' conftest.$ac_ext >&5
63589 glibcxx_cv_func_strtof_use=no
63591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63592 ac_ext=c
63593 ac_cpp='$CPP $CPPFLAGS'
63594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63602 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
63603 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
63604 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63606 for ac_func in strtof
63608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63609 echo "$as_me:$LINENO: checking for $ac_func" >&5
63610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63611 if eval "test \"\${$as_ac_var+set}\" = set"; then
63612 echo $ECHO_N "(cached) $ECHO_C" >&6
63613 else
63614 if test x$gcc_no_link = xyes; then
63615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63617 { (exit 1); exit 1; }; }
63619 cat >conftest.$ac_ext <<_ACEOF
63620 /* confdefs.h. */
63621 _ACEOF
63622 cat confdefs.h >>conftest.$ac_ext
63623 cat >>conftest.$ac_ext <<_ACEOF
63624 /* end confdefs.h. */
63625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63627 #define $ac_func innocuous_$ac_func
63629 /* System header to define __stub macros and hopefully few prototypes,
63630 which can conflict with char $ac_func (); below.
63631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63632 <limits.h> exists even on freestanding compilers. */
63634 #ifdef __STDC__
63635 # include <limits.h>
63636 #else
63637 # include <assert.h>
63638 #endif
63640 #undef $ac_func
63642 /* Override any gcc2 internal prototype to avoid an error. */
63643 #ifdef __cplusplus
63644 extern "C"
63646 #endif
63647 /* We use char because int might match the return type of a gcc2
63648 builtin and then its argument prototype would still apply. */
63649 char $ac_func ();
63650 /* The GNU C library defines this for functions which it implements
63651 to always fail with ENOSYS. Some functions are actually named
63652 something starting with __ and the normal name is an alias. */
63653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63654 choke me
63655 #else
63656 char (*f) () = $ac_func;
63657 #endif
63658 #ifdef __cplusplus
63660 #endif
63663 main ()
63665 return f != $ac_func;
63667 return 0;
63669 _ACEOF
63670 rm -f conftest.$ac_objext conftest$ac_exeext
63671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63672 (eval $ac_link) 2>conftest.er1
63673 ac_status=$?
63674 grep -v '^ *+' conftest.er1 >conftest.err
63675 rm -f conftest.er1
63676 cat conftest.err >&5
63677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63678 (exit $ac_status); } &&
63679 { ac_try='test -z "$ac_c_werror_flag"
63680 || test ! -s conftest.err'
63681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63682 (eval $ac_try) 2>&5
63683 ac_status=$?
63684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63685 (exit $ac_status); }; } &&
63686 { ac_try='test -s conftest$ac_exeext'
63687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63688 (eval $ac_try) 2>&5
63689 ac_status=$?
63690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63691 (exit $ac_status); }; }; then
63692 eval "$as_ac_var=yes"
63693 else
63694 echo "$as_me: failed program was:" >&5
63695 sed 's/^/| /' conftest.$ac_ext >&5
63697 eval "$as_ac_var=no"
63699 rm -f conftest.err conftest.$ac_objext \
63700 conftest$ac_exeext conftest.$ac_ext
63702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63704 if test `eval echo '${'$as_ac_var'}'` = yes; then
63705 cat >>confdefs.h <<_ACEOF
63706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63707 _ACEOF
63710 done
63718 CXXFLAGS="$ac_save_CXXFLAGS"
63721 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
63722 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
63723 if test "${glibcxx_cv_S_ISREG+set}" = set; then
63724 echo $ECHO_N "(cached) $ECHO_C" >&6
63725 else
63727 if test x$gcc_no_link = xyes; then
63728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63730 { (exit 1); exit 1; }; }
63732 cat >conftest.$ac_ext <<_ACEOF
63733 /* confdefs.h. */
63734 _ACEOF
63735 cat confdefs.h >>conftest.$ac_ext
63736 cat >>conftest.$ac_ext <<_ACEOF
63737 /* end confdefs.h. */
63738 #include <sys/stat.h>
63740 main ()
63742 struct stat buffer;
63743 fstat(0, &buffer);
63744 S_ISREG(buffer.st_mode);
63746 return 0;
63748 _ACEOF
63749 rm -f conftest.$ac_objext conftest$ac_exeext
63750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63751 (eval $ac_link) 2>conftest.er1
63752 ac_status=$?
63753 grep -v '^ *+' conftest.er1 >conftest.err
63754 rm -f conftest.er1
63755 cat conftest.err >&5
63756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63757 (exit $ac_status); } &&
63758 { ac_try='test -z "$ac_c_werror_flag"
63759 || test ! -s conftest.err'
63760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63761 (eval $ac_try) 2>&5
63762 ac_status=$?
63763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63764 (exit $ac_status); }; } &&
63765 { ac_try='test -s conftest$ac_exeext'
63766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63767 (eval $ac_try) 2>&5
63768 ac_status=$?
63769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63770 (exit $ac_status); }; }; then
63771 glibcxx_cv_S_ISREG=yes
63772 else
63773 echo "$as_me: failed program was:" >&5
63774 sed 's/^/| /' conftest.$ac_ext >&5
63776 glibcxx_cv_S_ISREG=no
63778 rm -f conftest.err conftest.$ac_objext \
63779 conftest$ac_exeext conftest.$ac_ext
63783 if test "${glibcxx_cv_S_IFREG+set}" = set; then
63784 echo $ECHO_N "(cached) $ECHO_C" >&6
63785 else
63787 if test x$gcc_no_link = xyes; then
63788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63790 { (exit 1); exit 1; }; }
63792 cat >conftest.$ac_ext <<_ACEOF
63793 /* confdefs.h. */
63794 _ACEOF
63795 cat confdefs.h >>conftest.$ac_ext
63796 cat >>conftest.$ac_ext <<_ACEOF
63797 /* end confdefs.h. */
63798 #include <sys/stat.h>
63800 main ()
63802 struct stat buffer;
63803 fstat(0, &buffer);
63804 S_IFREG & buffer.st_mode;
63806 return 0;
63808 _ACEOF
63809 rm -f conftest.$ac_objext conftest$ac_exeext
63810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63811 (eval $ac_link) 2>conftest.er1
63812 ac_status=$?
63813 grep -v '^ *+' conftest.er1 >conftest.err
63814 rm -f conftest.er1
63815 cat conftest.err >&5
63816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63817 (exit $ac_status); } &&
63818 { ac_try='test -z "$ac_c_werror_flag"
63819 || test ! -s conftest.err'
63820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63821 (eval $ac_try) 2>&5
63822 ac_status=$?
63823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63824 (exit $ac_status); }; } &&
63825 { ac_try='test -s conftest$ac_exeext'
63826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63827 (eval $ac_try) 2>&5
63828 ac_status=$?
63829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63830 (exit $ac_status); }; }; then
63831 glibcxx_cv_S_IFREG=yes
63832 else
63833 echo "$as_me: failed program was:" >&5
63834 sed 's/^/| /' conftest.$ac_ext >&5
63836 glibcxx_cv_S_IFREG=no
63838 rm -f conftest.err conftest.$ac_objext \
63839 conftest$ac_exeext conftest.$ac_ext
63843 res=no
63844 if test $glibcxx_cv_S_ISREG = yes; then
63846 cat >>confdefs.h <<\_ACEOF
63847 #define HAVE_S_ISREG 1
63848 _ACEOF
63850 res=S_ISREG
63851 elif test $glibcxx_cv_S_IFREG = yes; then
63853 cat >>confdefs.h <<\_ACEOF
63854 #define HAVE_S_IFREG 1
63855 _ACEOF
63857 res=S_IFREG
63859 echo "$as_me:$LINENO: result: $res" >&5
63860 echo "${ECHO_T}$res" >&6
63862 cat >>confdefs.h <<\_ACEOF
63863 #define HAVE_SIGSETJMP 1
63864 _ACEOF
63866 cat >>confdefs.h <<\_ACEOF
63867 #define HAVE_GETPAGESIZE 1
63868 _ACEOF
63870 cat >>confdefs.h <<\_ACEOF
63871 #define HAVE_WRITEV 1
63872 _ACEOF
63874 cat >>confdefs.h <<\_ACEOF
63875 #define HAVE_INT64_T 1
63876 _ACEOF
63879 cat >>confdefs.h <<\_ACEOF
63880 #define HAVE_LIBM 1
63881 _ACEOF
63883 cat >>confdefs.h <<\_ACEOF
63884 #define HAVE_COPYSIGN 1
63885 _ACEOF
63887 cat >>confdefs.h <<\_ACEOF
63888 #define HAVE_FINITE 1
63889 _ACEOF
63891 cat >>confdefs.h <<\_ACEOF
63892 #define HAVE_HYPOT 1
63893 _ACEOF
63895 cat >>confdefs.h <<\_ACEOF
63896 #define HAVE_ISNAN 1
63897 _ACEOF
63899 cat >>confdefs.h <<\_ACEOF
63900 #define HAVE_ISINF 1
63901 _ACEOF
63904 cat >>confdefs.h <<\_ACEOF
63905 #define HAVE_LDEXPF 1
63906 _ACEOF
63908 cat >>confdefs.h <<\_ACEOF
63909 #define HAVE_MODF 1
63910 _ACEOF
63912 cat >>confdefs.h <<\_ACEOF
63913 #define HAVE_SQRTF 1
63914 _ACEOF
63918 *-darwin*)
63919 # Darwin versions vary, but the linker should work in a cross environment,
63920 # so we just check for all the features here.
63921 # Check for available headers.
63935 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
63936 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
63937 sys/types.h
63939 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63941 echo "$as_me:$LINENO: checking for $ac_header" >&5
63942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63944 echo $ECHO_N "(cached) $ECHO_C" >&6
63946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63948 else
63949 # Is the header compilable?
63950 echo "$as_me:$LINENO: checking $ac_header usability" >&5
63951 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
63952 cat >conftest.$ac_ext <<_ACEOF
63953 /* confdefs.h. */
63954 _ACEOF
63955 cat confdefs.h >>conftest.$ac_ext
63956 cat >>conftest.$ac_ext <<_ACEOF
63957 /* end confdefs.h. */
63958 $ac_includes_default
63959 #include <$ac_header>
63960 _ACEOF
63961 rm -f conftest.$ac_objext
63962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63963 (eval $ac_compile) 2>conftest.er1
63964 ac_status=$?
63965 grep -v '^ *+' conftest.er1 >conftest.err
63966 rm -f conftest.er1
63967 cat conftest.err >&5
63968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63969 (exit $ac_status); } &&
63970 { ac_try='test -z "$ac_c_werror_flag"
63971 || test ! -s conftest.err'
63972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63973 (eval $ac_try) 2>&5
63974 ac_status=$?
63975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63976 (exit $ac_status); }; } &&
63977 { ac_try='test -s conftest.$ac_objext'
63978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63979 (eval $ac_try) 2>&5
63980 ac_status=$?
63981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63982 (exit $ac_status); }; }; then
63983 ac_header_compiler=yes
63984 else
63985 echo "$as_me: failed program was:" >&5
63986 sed 's/^/| /' conftest.$ac_ext >&5
63988 ac_header_compiler=no
63990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63992 echo "${ECHO_T}$ac_header_compiler" >&6
63994 # Is the header present?
63995 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63996 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63997 cat >conftest.$ac_ext <<_ACEOF
63998 /* confdefs.h. */
63999 _ACEOF
64000 cat confdefs.h >>conftest.$ac_ext
64001 cat >>conftest.$ac_ext <<_ACEOF
64002 /* end confdefs.h. */
64003 #include <$ac_header>
64004 _ACEOF
64005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64006 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64007 ac_status=$?
64008 grep -v '^ *+' conftest.er1 >conftest.err
64009 rm -f conftest.er1
64010 cat conftest.err >&5
64011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64012 (exit $ac_status); } >/dev/null; then
64013 if test -s conftest.err; then
64014 ac_cpp_err=$ac_c_preproc_warn_flag
64015 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64016 else
64017 ac_cpp_err=
64019 else
64020 ac_cpp_err=yes
64022 if test -z "$ac_cpp_err"; then
64023 ac_header_preproc=yes
64024 else
64025 echo "$as_me: failed program was:" >&5
64026 sed 's/^/| /' conftest.$ac_ext >&5
64028 ac_header_preproc=no
64030 rm -f conftest.err conftest.$ac_ext
64031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64032 echo "${ECHO_T}$ac_header_preproc" >&6
64034 # So? What about this header?
64035 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64036 yes:no: )
64037 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64038 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64040 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64041 ac_header_preproc=yes
64043 no:yes:* )
64044 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64045 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64046 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
64047 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
64048 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64049 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64050 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
64051 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
64052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64053 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64054 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64055 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64057 cat <<\_ASBOX
64058 ## ----------------------------------------- ##
64059 ## Report this to the package-unused lists. ##
64060 ## ----------------------------------------- ##
64061 _ASBOX
64063 sed "s/^/$as_me: WARNING: /" >&2
64065 esac
64066 echo "$as_me:$LINENO: checking for $ac_header" >&5
64067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64069 echo $ECHO_N "(cached) $ECHO_C" >&6
64070 else
64071 eval "$as_ac_Header=\$ac_header_preproc"
64073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64077 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64078 cat >>confdefs.h <<_ACEOF
64079 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
64080 _ACEOF
64084 done
64087 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
64089 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64090 ac_save_CXXFLAGS="$CXXFLAGS"
64091 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64093 echo "$as_me:$LINENO: checking for sin in -lm" >&5
64094 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
64095 if test "${ac_cv_lib_m_sin+set}" = set; then
64096 echo $ECHO_N "(cached) $ECHO_C" >&6
64097 else
64098 ac_check_lib_save_LIBS=$LIBS
64099 LIBS="-lm $LIBS"
64100 if test x$gcc_no_link = xyes; then
64101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64103 { (exit 1); exit 1; }; }
64105 cat >conftest.$ac_ext <<_ACEOF
64106 /* confdefs.h. */
64107 _ACEOF
64108 cat confdefs.h >>conftest.$ac_ext
64109 cat >>conftest.$ac_ext <<_ACEOF
64110 /* end confdefs.h. */
64112 /* Override any gcc2 internal prototype to avoid an error. */
64113 #ifdef __cplusplus
64114 extern "C"
64115 #endif
64116 /* We use char because int might match the return type of a gcc2
64117 builtin and then its argument prototype would still apply. */
64118 char sin ();
64120 main ()
64122 sin ();
64124 return 0;
64126 _ACEOF
64127 rm -f conftest.$ac_objext conftest$ac_exeext
64128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64129 (eval $ac_link) 2>conftest.er1
64130 ac_status=$?
64131 grep -v '^ *+' conftest.er1 >conftest.err
64132 rm -f conftest.er1
64133 cat conftest.err >&5
64134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64135 (exit $ac_status); } &&
64136 { ac_try='test -z "$ac_c_werror_flag"
64137 || test ! -s conftest.err'
64138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64139 (eval $ac_try) 2>&5
64140 ac_status=$?
64141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64142 (exit $ac_status); }; } &&
64143 { ac_try='test -s conftest$ac_exeext'
64144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64145 (eval $ac_try) 2>&5
64146 ac_status=$?
64147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64148 (exit $ac_status); }; }; then
64149 ac_cv_lib_m_sin=yes
64150 else
64151 echo "$as_me: failed program was:" >&5
64152 sed 's/^/| /' conftest.$ac_ext >&5
64154 ac_cv_lib_m_sin=no
64156 rm -f conftest.err conftest.$ac_objext \
64157 conftest$ac_exeext conftest.$ac_ext
64158 LIBS=$ac_check_lib_save_LIBS
64160 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
64161 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
64162 if test $ac_cv_lib_m_sin = yes; then
64163 libm="-lm"
64166 ac_save_LIBS="$LIBS"
64167 LIBS="$LIBS $libm"
64171 echo "$as_me:$LINENO: checking for isinf declaration" >&5
64172 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
64173 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64174 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
64175 echo $ECHO_N "(cached) $ECHO_C" >&6
64176 else
64180 ac_ext=cc
64181 ac_cpp='$CXXCPP $CPPFLAGS'
64182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64186 cat >conftest.$ac_ext <<_ACEOF
64187 /* confdefs.h. */
64188 _ACEOF
64189 cat confdefs.h >>conftest.$ac_ext
64190 cat >>conftest.$ac_ext <<_ACEOF
64191 /* end confdefs.h. */
64192 #include <math.h>
64193 #ifdef HAVE_IEEEFP_H
64194 #include <ieeefp.h>
64195 #endif
64198 main ()
64200 isinf(0);
64202 return 0;
64204 _ACEOF
64205 rm -f conftest.$ac_objext
64206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64207 (eval $ac_compile) 2>conftest.er1
64208 ac_status=$?
64209 grep -v '^ *+' conftest.er1 >conftest.err
64210 rm -f conftest.er1
64211 cat conftest.err >&5
64212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64213 (exit $ac_status); } &&
64214 { ac_try='test -z "$ac_cxx_werror_flag"
64215 || test ! -s conftest.err'
64216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64217 (eval $ac_try) 2>&5
64218 ac_status=$?
64219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64220 (exit $ac_status); }; } &&
64221 { ac_try='test -s conftest.$ac_objext'
64222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64223 (eval $ac_try) 2>&5
64224 ac_status=$?
64225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64226 (exit $ac_status); }; }; then
64227 glibcxx_cv_func_isinf_use=yes
64228 else
64229 echo "$as_me: failed program was:" >&5
64230 sed 's/^/| /' conftest.$ac_ext >&5
64232 glibcxx_cv_func_isinf_use=no
64234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64235 ac_ext=c
64236 ac_cpp='$CPP $CPPFLAGS'
64237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64245 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
64246 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
64248 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64250 for ac_func in isinf
64252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64253 echo "$as_me:$LINENO: checking for $ac_func" >&5
64254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64255 if eval "test \"\${$as_ac_var+set}\" = set"; then
64256 echo $ECHO_N "(cached) $ECHO_C" >&6
64257 else
64258 if test x$gcc_no_link = xyes; then
64259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64261 { (exit 1); exit 1; }; }
64263 cat >conftest.$ac_ext <<_ACEOF
64264 /* confdefs.h. */
64265 _ACEOF
64266 cat confdefs.h >>conftest.$ac_ext
64267 cat >>conftest.$ac_ext <<_ACEOF
64268 /* end confdefs.h. */
64269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64271 #define $ac_func innocuous_$ac_func
64273 /* System header to define __stub macros and hopefully few prototypes,
64274 which can conflict with char $ac_func (); below.
64275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64276 <limits.h> exists even on freestanding compilers. */
64278 #ifdef __STDC__
64279 # include <limits.h>
64280 #else
64281 # include <assert.h>
64282 #endif
64284 #undef $ac_func
64286 /* Override any gcc2 internal prototype to avoid an error. */
64287 #ifdef __cplusplus
64288 extern "C"
64290 #endif
64291 /* We use char because int might match the return type of a gcc2
64292 builtin and then its argument prototype would still apply. */
64293 char $ac_func ();
64294 /* The GNU C library defines this for functions which it implements
64295 to always fail with ENOSYS. Some functions are actually named
64296 something starting with __ and the normal name is an alias. */
64297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64298 choke me
64299 #else
64300 char (*f) () = $ac_func;
64301 #endif
64302 #ifdef __cplusplus
64304 #endif
64307 main ()
64309 return f != $ac_func;
64311 return 0;
64313 _ACEOF
64314 rm -f conftest.$ac_objext conftest$ac_exeext
64315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64316 (eval $ac_link) 2>conftest.er1
64317 ac_status=$?
64318 grep -v '^ *+' conftest.er1 >conftest.err
64319 rm -f conftest.er1
64320 cat conftest.err >&5
64321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64322 (exit $ac_status); } &&
64323 { ac_try='test -z "$ac_c_werror_flag"
64324 || test ! -s conftest.err'
64325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64326 (eval $ac_try) 2>&5
64327 ac_status=$?
64328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64329 (exit $ac_status); }; } &&
64330 { ac_try='test -s conftest$ac_exeext'
64331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64332 (eval $ac_try) 2>&5
64333 ac_status=$?
64334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64335 (exit $ac_status); }; }; then
64336 eval "$as_ac_var=yes"
64337 else
64338 echo "$as_me: failed program was:" >&5
64339 sed 's/^/| /' conftest.$ac_ext >&5
64341 eval "$as_ac_var=no"
64343 rm -f conftest.err conftest.$ac_objext \
64344 conftest$ac_exeext conftest.$ac_ext
64346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64348 if test `eval echo '${'$as_ac_var'}'` = yes; then
64349 cat >>confdefs.h <<_ACEOF
64350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64351 _ACEOF
64354 done
64356 else
64358 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
64359 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
64360 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64361 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
64362 echo $ECHO_N "(cached) $ECHO_C" >&6
64363 else
64367 ac_ext=cc
64368 ac_cpp='$CXXCPP $CPPFLAGS'
64369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64373 cat >conftest.$ac_ext <<_ACEOF
64374 /* confdefs.h. */
64375 _ACEOF
64376 cat confdefs.h >>conftest.$ac_ext
64377 cat >>conftest.$ac_ext <<_ACEOF
64378 /* end confdefs.h. */
64379 #include <math.h>
64380 #ifdef HAVE_IEEEFP_H
64381 #include <ieeefp.h>
64382 #endif
64385 main ()
64387 _isinf(0);
64389 return 0;
64391 _ACEOF
64392 rm -f conftest.$ac_objext
64393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64394 (eval $ac_compile) 2>conftest.er1
64395 ac_status=$?
64396 grep -v '^ *+' conftest.er1 >conftest.err
64397 rm -f conftest.er1
64398 cat conftest.err >&5
64399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64400 (exit $ac_status); } &&
64401 { ac_try='test -z "$ac_cxx_werror_flag"
64402 || test ! -s conftest.err'
64403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64404 (eval $ac_try) 2>&5
64405 ac_status=$?
64406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64407 (exit $ac_status); }; } &&
64408 { ac_try='test -s conftest.$ac_objext'
64409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64410 (eval $ac_try) 2>&5
64411 ac_status=$?
64412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64413 (exit $ac_status); }; }; then
64414 glibcxx_cv_func__isinf_use=yes
64415 else
64416 echo "$as_me: failed program was:" >&5
64417 sed 's/^/| /' conftest.$ac_ext >&5
64419 glibcxx_cv_func__isinf_use=no
64421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64422 ac_ext=c
64423 ac_cpp='$CPP $CPPFLAGS'
64424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64432 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
64433 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
64435 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64437 for ac_func in _isinf
64439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64440 echo "$as_me:$LINENO: checking for $ac_func" >&5
64441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64442 if eval "test \"\${$as_ac_var+set}\" = set"; then
64443 echo $ECHO_N "(cached) $ECHO_C" >&6
64444 else
64445 if test x$gcc_no_link = xyes; then
64446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64448 { (exit 1); exit 1; }; }
64450 cat >conftest.$ac_ext <<_ACEOF
64451 /* confdefs.h. */
64452 _ACEOF
64453 cat confdefs.h >>conftest.$ac_ext
64454 cat >>conftest.$ac_ext <<_ACEOF
64455 /* end confdefs.h. */
64456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64458 #define $ac_func innocuous_$ac_func
64460 /* System header to define __stub macros and hopefully few prototypes,
64461 which can conflict with char $ac_func (); below.
64462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64463 <limits.h> exists even on freestanding compilers. */
64465 #ifdef __STDC__
64466 # include <limits.h>
64467 #else
64468 # include <assert.h>
64469 #endif
64471 #undef $ac_func
64473 /* Override any gcc2 internal prototype to avoid an error. */
64474 #ifdef __cplusplus
64475 extern "C"
64477 #endif
64478 /* We use char because int might match the return type of a gcc2
64479 builtin and then its argument prototype would still apply. */
64480 char $ac_func ();
64481 /* The GNU C library defines this for functions which it implements
64482 to always fail with ENOSYS. Some functions are actually named
64483 something starting with __ and the normal name is an alias. */
64484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64485 choke me
64486 #else
64487 char (*f) () = $ac_func;
64488 #endif
64489 #ifdef __cplusplus
64491 #endif
64494 main ()
64496 return f != $ac_func;
64498 return 0;
64500 _ACEOF
64501 rm -f conftest.$ac_objext conftest$ac_exeext
64502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64503 (eval $ac_link) 2>conftest.er1
64504 ac_status=$?
64505 grep -v '^ *+' conftest.er1 >conftest.err
64506 rm -f conftest.er1
64507 cat conftest.err >&5
64508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64509 (exit $ac_status); } &&
64510 { ac_try='test -z "$ac_c_werror_flag"
64511 || test ! -s conftest.err'
64512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64513 (eval $ac_try) 2>&5
64514 ac_status=$?
64515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64516 (exit $ac_status); }; } &&
64517 { ac_try='test -s conftest$ac_exeext'
64518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64519 (eval $ac_try) 2>&5
64520 ac_status=$?
64521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64522 (exit $ac_status); }; }; then
64523 eval "$as_ac_var=yes"
64524 else
64525 echo "$as_me: failed program was:" >&5
64526 sed 's/^/| /' conftest.$ac_ext >&5
64528 eval "$as_ac_var=no"
64530 rm -f conftest.err conftest.$ac_objext \
64531 conftest$ac_exeext conftest.$ac_ext
64533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64535 if test `eval echo '${'$as_ac_var'}'` = yes; then
64536 cat >>confdefs.h <<_ACEOF
64537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64538 _ACEOF
64541 done
64551 echo "$as_me:$LINENO: checking for isnan declaration" >&5
64552 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
64553 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64554 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
64555 echo $ECHO_N "(cached) $ECHO_C" >&6
64556 else
64560 ac_ext=cc
64561 ac_cpp='$CXXCPP $CPPFLAGS'
64562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64566 cat >conftest.$ac_ext <<_ACEOF
64567 /* confdefs.h. */
64568 _ACEOF
64569 cat confdefs.h >>conftest.$ac_ext
64570 cat >>conftest.$ac_ext <<_ACEOF
64571 /* end confdefs.h. */
64572 #include <math.h>
64573 #ifdef HAVE_IEEEFP_H
64574 #include <ieeefp.h>
64575 #endif
64578 main ()
64580 isnan(0);
64582 return 0;
64584 _ACEOF
64585 rm -f conftest.$ac_objext
64586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64587 (eval $ac_compile) 2>conftest.er1
64588 ac_status=$?
64589 grep -v '^ *+' conftest.er1 >conftest.err
64590 rm -f conftest.er1
64591 cat conftest.err >&5
64592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64593 (exit $ac_status); } &&
64594 { ac_try='test -z "$ac_cxx_werror_flag"
64595 || test ! -s conftest.err'
64596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64597 (eval $ac_try) 2>&5
64598 ac_status=$?
64599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64600 (exit $ac_status); }; } &&
64601 { ac_try='test -s conftest.$ac_objext'
64602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64603 (eval $ac_try) 2>&5
64604 ac_status=$?
64605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64606 (exit $ac_status); }; }; then
64607 glibcxx_cv_func_isnan_use=yes
64608 else
64609 echo "$as_me: failed program was:" >&5
64610 sed 's/^/| /' conftest.$ac_ext >&5
64612 glibcxx_cv_func_isnan_use=no
64614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64615 ac_ext=c
64616 ac_cpp='$CPP $CPPFLAGS'
64617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64625 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
64626 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
64628 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64630 for ac_func in isnan
64632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64633 echo "$as_me:$LINENO: checking for $ac_func" >&5
64634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64635 if eval "test \"\${$as_ac_var+set}\" = set"; then
64636 echo $ECHO_N "(cached) $ECHO_C" >&6
64637 else
64638 if test x$gcc_no_link = xyes; then
64639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64641 { (exit 1); exit 1; }; }
64643 cat >conftest.$ac_ext <<_ACEOF
64644 /* confdefs.h. */
64645 _ACEOF
64646 cat confdefs.h >>conftest.$ac_ext
64647 cat >>conftest.$ac_ext <<_ACEOF
64648 /* end confdefs.h. */
64649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64651 #define $ac_func innocuous_$ac_func
64653 /* System header to define __stub macros and hopefully few prototypes,
64654 which can conflict with char $ac_func (); below.
64655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64656 <limits.h> exists even on freestanding compilers. */
64658 #ifdef __STDC__
64659 # include <limits.h>
64660 #else
64661 # include <assert.h>
64662 #endif
64664 #undef $ac_func
64666 /* Override any gcc2 internal prototype to avoid an error. */
64667 #ifdef __cplusplus
64668 extern "C"
64670 #endif
64671 /* We use char because int might match the return type of a gcc2
64672 builtin and then its argument prototype would still apply. */
64673 char $ac_func ();
64674 /* The GNU C library defines this for functions which it implements
64675 to always fail with ENOSYS. Some functions are actually named
64676 something starting with __ and the normal name is an alias. */
64677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64678 choke me
64679 #else
64680 char (*f) () = $ac_func;
64681 #endif
64682 #ifdef __cplusplus
64684 #endif
64687 main ()
64689 return f != $ac_func;
64691 return 0;
64693 _ACEOF
64694 rm -f conftest.$ac_objext conftest$ac_exeext
64695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64696 (eval $ac_link) 2>conftest.er1
64697 ac_status=$?
64698 grep -v '^ *+' conftest.er1 >conftest.err
64699 rm -f conftest.er1
64700 cat conftest.err >&5
64701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64702 (exit $ac_status); } &&
64703 { ac_try='test -z "$ac_c_werror_flag"
64704 || test ! -s conftest.err'
64705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64706 (eval $ac_try) 2>&5
64707 ac_status=$?
64708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64709 (exit $ac_status); }; } &&
64710 { ac_try='test -s conftest$ac_exeext'
64711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64712 (eval $ac_try) 2>&5
64713 ac_status=$?
64714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64715 (exit $ac_status); }; }; then
64716 eval "$as_ac_var=yes"
64717 else
64718 echo "$as_me: failed program was:" >&5
64719 sed 's/^/| /' conftest.$ac_ext >&5
64721 eval "$as_ac_var=no"
64723 rm -f conftest.err conftest.$ac_objext \
64724 conftest$ac_exeext conftest.$ac_ext
64726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64728 if test `eval echo '${'$as_ac_var'}'` = yes; then
64729 cat >>confdefs.h <<_ACEOF
64730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64731 _ACEOF
64734 done
64736 else
64738 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
64739 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
64740 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64741 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
64742 echo $ECHO_N "(cached) $ECHO_C" >&6
64743 else
64747 ac_ext=cc
64748 ac_cpp='$CXXCPP $CPPFLAGS'
64749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64753 cat >conftest.$ac_ext <<_ACEOF
64754 /* confdefs.h. */
64755 _ACEOF
64756 cat confdefs.h >>conftest.$ac_ext
64757 cat >>conftest.$ac_ext <<_ACEOF
64758 /* end confdefs.h. */
64759 #include <math.h>
64760 #ifdef HAVE_IEEEFP_H
64761 #include <ieeefp.h>
64762 #endif
64765 main ()
64767 _isnan(0);
64769 return 0;
64771 _ACEOF
64772 rm -f conftest.$ac_objext
64773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64774 (eval $ac_compile) 2>conftest.er1
64775 ac_status=$?
64776 grep -v '^ *+' conftest.er1 >conftest.err
64777 rm -f conftest.er1
64778 cat conftest.err >&5
64779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64780 (exit $ac_status); } &&
64781 { ac_try='test -z "$ac_cxx_werror_flag"
64782 || test ! -s conftest.err'
64783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64784 (eval $ac_try) 2>&5
64785 ac_status=$?
64786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64787 (exit $ac_status); }; } &&
64788 { ac_try='test -s conftest.$ac_objext'
64789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64790 (eval $ac_try) 2>&5
64791 ac_status=$?
64792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64793 (exit $ac_status); }; }; then
64794 glibcxx_cv_func__isnan_use=yes
64795 else
64796 echo "$as_me: failed program was:" >&5
64797 sed 's/^/| /' conftest.$ac_ext >&5
64799 glibcxx_cv_func__isnan_use=no
64801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64802 ac_ext=c
64803 ac_cpp='$CPP $CPPFLAGS'
64804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64812 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
64813 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
64815 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64817 for ac_func in _isnan
64819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64820 echo "$as_me:$LINENO: checking for $ac_func" >&5
64821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64822 if eval "test \"\${$as_ac_var+set}\" = set"; then
64823 echo $ECHO_N "(cached) $ECHO_C" >&6
64824 else
64825 if test x$gcc_no_link = xyes; then
64826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64828 { (exit 1); exit 1; }; }
64830 cat >conftest.$ac_ext <<_ACEOF
64831 /* confdefs.h. */
64832 _ACEOF
64833 cat confdefs.h >>conftest.$ac_ext
64834 cat >>conftest.$ac_ext <<_ACEOF
64835 /* end confdefs.h. */
64836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64838 #define $ac_func innocuous_$ac_func
64840 /* System header to define __stub macros and hopefully few prototypes,
64841 which can conflict with char $ac_func (); below.
64842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64843 <limits.h> exists even on freestanding compilers. */
64845 #ifdef __STDC__
64846 # include <limits.h>
64847 #else
64848 # include <assert.h>
64849 #endif
64851 #undef $ac_func
64853 /* Override any gcc2 internal prototype to avoid an error. */
64854 #ifdef __cplusplus
64855 extern "C"
64857 #endif
64858 /* We use char because int might match the return type of a gcc2
64859 builtin and then its argument prototype would still apply. */
64860 char $ac_func ();
64861 /* The GNU C library defines this for functions which it implements
64862 to always fail with ENOSYS. Some functions are actually named
64863 something starting with __ and the normal name is an alias. */
64864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64865 choke me
64866 #else
64867 char (*f) () = $ac_func;
64868 #endif
64869 #ifdef __cplusplus
64871 #endif
64874 main ()
64876 return f != $ac_func;
64878 return 0;
64880 _ACEOF
64881 rm -f conftest.$ac_objext conftest$ac_exeext
64882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64883 (eval $ac_link) 2>conftest.er1
64884 ac_status=$?
64885 grep -v '^ *+' conftest.er1 >conftest.err
64886 rm -f conftest.er1
64887 cat conftest.err >&5
64888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64889 (exit $ac_status); } &&
64890 { ac_try='test -z "$ac_c_werror_flag"
64891 || test ! -s conftest.err'
64892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64893 (eval $ac_try) 2>&5
64894 ac_status=$?
64895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64896 (exit $ac_status); }; } &&
64897 { ac_try='test -s conftest$ac_exeext'
64898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64899 (eval $ac_try) 2>&5
64900 ac_status=$?
64901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64902 (exit $ac_status); }; }; then
64903 eval "$as_ac_var=yes"
64904 else
64905 echo "$as_me: failed program was:" >&5
64906 sed 's/^/| /' conftest.$ac_ext >&5
64908 eval "$as_ac_var=no"
64910 rm -f conftest.err conftest.$ac_objext \
64911 conftest$ac_exeext conftest.$ac_ext
64913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64915 if test `eval echo '${'$as_ac_var'}'` = yes; then
64916 cat >>confdefs.h <<_ACEOF
64917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64918 _ACEOF
64921 done
64931 echo "$as_me:$LINENO: checking for finite declaration" >&5
64932 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
64933 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64934 if test "${glibcxx_cv_func_finite_use+set}" = set; then
64935 echo $ECHO_N "(cached) $ECHO_C" >&6
64936 else
64940 ac_ext=cc
64941 ac_cpp='$CXXCPP $CPPFLAGS'
64942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64946 cat >conftest.$ac_ext <<_ACEOF
64947 /* confdefs.h. */
64948 _ACEOF
64949 cat confdefs.h >>conftest.$ac_ext
64950 cat >>conftest.$ac_ext <<_ACEOF
64951 /* end confdefs.h. */
64952 #include <math.h>
64953 #ifdef HAVE_IEEEFP_H
64954 #include <ieeefp.h>
64955 #endif
64958 main ()
64960 finite(0);
64962 return 0;
64964 _ACEOF
64965 rm -f conftest.$ac_objext
64966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64967 (eval $ac_compile) 2>conftest.er1
64968 ac_status=$?
64969 grep -v '^ *+' conftest.er1 >conftest.err
64970 rm -f conftest.er1
64971 cat conftest.err >&5
64972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64973 (exit $ac_status); } &&
64974 { ac_try='test -z "$ac_cxx_werror_flag"
64975 || test ! -s conftest.err'
64976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64977 (eval $ac_try) 2>&5
64978 ac_status=$?
64979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64980 (exit $ac_status); }; } &&
64981 { ac_try='test -s conftest.$ac_objext'
64982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64983 (eval $ac_try) 2>&5
64984 ac_status=$?
64985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64986 (exit $ac_status); }; }; then
64987 glibcxx_cv_func_finite_use=yes
64988 else
64989 echo "$as_me: failed program was:" >&5
64990 sed 's/^/| /' conftest.$ac_ext >&5
64992 glibcxx_cv_func_finite_use=no
64994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64995 ac_ext=c
64996 ac_cpp='$CPP $CPPFLAGS'
64997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65005 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
65006 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
65008 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65010 for ac_func in finite
65012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65013 echo "$as_me:$LINENO: checking for $ac_func" >&5
65014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65015 if eval "test \"\${$as_ac_var+set}\" = set"; then
65016 echo $ECHO_N "(cached) $ECHO_C" >&6
65017 else
65018 if test x$gcc_no_link = xyes; then
65019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65021 { (exit 1); exit 1; }; }
65023 cat >conftest.$ac_ext <<_ACEOF
65024 /* confdefs.h. */
65025 _ACEOF
65026 cat confdefs.h >>conftest.$ac_ext
65027 cat >>conftest.$ac_ext <<_ACEOF
65028 /* end confdefs.h. */
65029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65031 #define $ac_func innocuous_$ac_func
65033 /* System header to define __stub macros and hopefully few prototypes,
65034 which can conflict with char $ac_func (); below.
65035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65036 <limits.h> exists even on freestanding compilers. */
65038 #ifdef __STDC__
65039 # include <limits.h>
65040 #else
65041 # include <assert.h>
65042 #endif
65044 #undef $ac_func
65046 /* Override any gcc2 internal prototype to avoid an error. */
65047 #ifdef __cplusplus
65048 extern "C"
65050 #endif
65051 /* We use char because int might match the return type of a gcc2
65052 builtin and then its argument prototype would still apply. */
65053 char $ac_func ();
65054 /* The GNU C library defines this for functions which it implements
65055 to always fail with ENOSYS. Some functions are actually named
65056 something starting with __ and the normal name is an alias. */
65057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65058 choke me
65059 #else
65060 char (*f) () = $ac_func;
65061 #endif
65062 #ifdef __cplusplus
65064 #endif
65067 main ()
65069 return f != $ac_func;
65071 return 0;
65073 _ACEOF
65074 rm -f conftest.$ac_objext conftest$ac_exeext
65075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65076 (eval $ac_link) 2>conftest.er1
65077 ac_status=$?
65078 grep -v '^ *+' conftest.er1 >conftest.err
65079 rm -f conftest.er1
65080 cat conftest.err >&5
65081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65082 (exit $ac_status); } &&
65083 { ac_try='test -z "$ac_c_werror_flag"
65084 || test ! -s conftest.err'
65085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65086 (eval $ac_try) 2>&5
65087 ac_status=$?
65088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65089 (exit $ac_status); }; } &&
65090 { ac_try='test -s conftest$ac_exeext'
65091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65092 (eval $ac_try) 2>&5
65093 ac_status=$?
65094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65095 (exit $ac_status); }; }; then
65096 eval "$as_ac_var=yes"
65097 else
65098 echo "$as_me: failed program was:" >&5
65099 sed 's/^/| /' conftest.$ac_ext >&5
65101 eval "$as_ac_var=no"
65103 rm -f conftest.err conftest.$ac_objext \
65104 conftest$ac_exeext conftest.$ac_ext
65106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65108 if test `eval echo '${'$as_ac_var'}'` = yes; then
65109 cat >>confdefs.h <<_ACEOF
65110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65111 _ACEOF
65114 done
65116 else
65118 echo "$as_me:$LINENO: checking for _finite declaration" >&5
65119 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
65120 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65121 if test "${glibcxx_cv_func__finite_use+set}" = set; then
65122 echo $ECHO_N "(cached) $ECHO_C" >&6
65123 else
65127 ac_ext=cc
65128 ac_cpp='$CXXCPP $CPPFLAGS'
65129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65133 cat >conftest.$ac_ext <<_ACEOF
65134 /* confdefs.h. */
65135 _ACEOF
65136 cat confdefs.h >>conftest.$ac_ext
65137 cat >>conftest.$ac_ext <<_ACEOF
65138 /* end confdefs.h. */
65139 #include <math.h>
65140 #ifdef HAVE_IEEEFP_H
65141 #include <ieeefp.h>
65142 #endif
65145 main ()
65147 _finite(0);
65149 return 0;
65151 _ACEOF
65152 rm -f conftest.$ac_objext
65153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65154 (eval $ac_compile) 2>conftest.er1
65155 ac_status=$?
65156 grep -v '^ *+' conftest.er1 >conftest.err
65157 rm -f conftest.er1
65158 cat conftest.err >&5
65159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65160 (exit $ac_status); } &&
65161 { ac_try='test -z "$ac_cxx_werror_flag"
65162 || test ! -s conftest.err'
65163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65164 (eval $ac_try) 2>&5
65165 ac_status=$?
65166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65167 (exit $ac_status); }; } &&
65168 { ac_try='test -s conftest.$ac_objext'
65169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65170 (eval $ac_try) 2>&5
65171 ac_status=$?
65172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65173 (exit $ac_status); }; }; then
65174 glibcxx_cv_func__finite_use=yes
65175 else
65176 echo "$as_me: failed program was:" >&5
65177 sed 's/^/| /' conftest.$ac_ext >&5
65179 glibcxx_cv_func__finite_use=no
65181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65182 ac_ext=c
65183 ac_cpp='$CPP $CPPFLAGS'
65184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65192 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
65193 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
65195 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65197 for ac_func in _finite
65199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65200 echo "$as_me:$LINENO: checking for $ac_func" >&5
65201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65202 if eval "test \"\${$as_ac_var+set}\" = set"; then
65203 echo $ECHO_N "(cached) $ECHO_C" >&6
65204 else
65205 if test x$gcc_no_link = xyes; then
65206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65208 { (exit 1); exit 1; }; }
65210 cat >conftest.$ac_ext <<_ACEOF
65211 /* confdefs.h. */
65212 _ACEOF
65213 cat confdefs.h >>conftest.$ac_ext
65214 cat >>conftest.$ac_ext <<_ACEOF
65215 /* end confdefs.h. */
65216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65218 #define $ac_func innocuous_$ac_func
65220 /* System header to define __stub macros and hopefully few prototypes,
65221 which can conflict with char $ac_func (); below.
65222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65223 <limits.h> exists even on freestanding compilers. */
65225 #ifdef __STDC__
65226 # include <limits.h>
65227 #else
65228 # include <assert.h>
65229 #endif
65231 #undef $ac_func
65233 /* Override any gcc2 internal prototype to avoid an error. */
65234 #ifdef __cplusplus
65235 extern "C"
65237 #endif
65238 /* We use char because int might match the return type of a gcc2
65239 builtin and then its argument prototype would still apply. */
65240 char $ac_func ();
65241 /* The GNU C library defines this for functions which it implements
65242 to always fail with ENOSYS. Some functions are actually named
65243 something starting with __ and the normal name is an alias. */
65244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65245 choke me
65246 #else
65247 char (*f) () = $ac_func;
65248 #endif
65249 #ifdef __cplusplus
65251 #endif
65254 main ()
65256 return f != $ac_func;
65258 return 0;
65260 _ACEOF
65261 rm -f conftest.$ac_objext conftest$ac_exeext
65262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65263 (eval $ac_link) 2>conftest.er1
65264 ac_status=$?
65265 grep -v '^ *+' conftest.er1 >conftest.err
65266 rm -f conftest.er1
65267 cat conftest.err >&5
65268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65269 (exit $ac_status); } &&
65270 { ac_try='test -z "$ac_c_werror_flag"
65271 || test ! -s conftest.err'
65272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65273 (eval $ac_try) 2>&5
65274 ac_status=$?
65275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65276 (exit $ac_status); }; } &&
65277 { ac_try='test -s conftest$ac_exeext'
65278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65279 (eval $ac_try) 2>&5
65280 ac_status=$?
65281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65282 (exit $ac_status); }; }; then
65283 eval "$as_ac_var=yes"
65284 else
65285 echo "$as_me: failed program was:" >&5
65286 sed 's/^/| /' conftest.$ac_ext >&5
65288 eval "$as_ac_var=no"
65290 rm -f conftest.err conftest.$ac_objext \
65291 conftest$ac_exeext conftest.$ac_ext
65293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65295 if test `eval echo '${'$as_ac_var'}'` = yes; then
65296 cat >>confdefs.h <<_ACEOF
65297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65298 _ACEOF
65301 done
65311 echo "$as_me:$LINENO: checking for copysign declaration" >&5
65312 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
65313 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
65314 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
65315 echo $ECHO_N "(cached) $ECHO_C" >&6
65316 else
65320 ac_ext=cc
65321 ac_cpp='$CXXCPP $CPPFLAGS'
65322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65326 cat >conftest.$ac_ext <<_ACEOF
65327 /* confdefs.h. */
65328 _ACEOF
65329 cat confdefs.h >>conftest.$ac_ext
65330 cat >>conftest.$ac_ext <<_ACEOF
65331 /* end confdefs.h. */
65332 #include <math.h>
65334 main ()
65336 copysign(0, 0);
65338 return 0;
65340 _ACEOF
65341 rm -f conftest.$ac_objext
65342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65343 (eval $ac_compile) 2>conftest.er1
65344 ac_status=$?
65345 grep -v '^ *+' conftest.er1 >conftest.err
65346 rm -f conftest.er1
65347 cat conftest.err >&5
65348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65349 (exit $ac_status); } &&
65350 { ac_try='test -z "$ac_cxx_werror_flag"
65351 || test ! -s conftest.err'
65352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65353 (eval $ac_try) 2>&5
65354 ac_status=$?
65355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65356 (exit $ac_status); }; } &&
65357 { ac_try='test -s conftest.$ac_objext'
65358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65359 (eval $ac_try) 2>&5
65360 ac_status=$?
65361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65362 (exit $ac_status); }; }; then
65363 glibcxx_cv_func_copysign_use=yes
65364 else
65365 echo "$as_me: failed program was:" >&5
65366 sed 's/^/| /' conftest.$ac_ext >&5
65368 glibcxx_cv_func_copysign_use=no
65370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65371 ac_ext=c
65372 ac_cpp='$CPP $CPPFLAGS'
65373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65381 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
65382 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
65384 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
65386 for ac_func in copysign
65388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65389 echo "$as_me:$LINENO: checking for $ac_func" >&5
65390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65391 if eval "test \"\${$as_ac_var+set}\" = set"; then
65392 echo $ECHO_N "(cached) $ECHO_C" >&6
65393 else
65394 if test x$gcc_no_link = xyes; then
65395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65397 { (exit 1); exit 1; }; }
65399 cat >conftest.$ac_ext <<_ACEOF
65400 /* confdefs.h. */
65401 _ACEOF
65402 cat confdefs.h >>conftest.$ac_ext
65403 cat >>conftest.$ac_ext <<_ACEOF
65404 /* end confdefs.h. */
65405 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65406 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65407 #define $ac_func innocuous_$ac_func
65409 /* System header to define __stub macros and hopefully few prototypes,
65410 which can conflict with char $ac_func (); below.
65411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65412 <limits.h> exists even on freestanding compilers. */
65414 #ifdef __STDC__
65415 # include <limits.h>
65416 #else
65417 # include <assert.h>
65418 #endif
65420 #undef $ac_func
65422 /* Override any gcc2 internal prototype to avoid an error. */
65423 #ifdef __cplusplus
65424 extern "C"
65426 #endif
65427 /* We use char because int might match the return type of a gcc2
65428 builtin and then its argument prototype would still apply. */
65429 char $ac_func ();
65430 /* The GNU C library defines this for functions which it implements
65431 to always fail with ENOSYS. Some functions are actually named
65432 something starting with __ and the normal name is an alias. */
65433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65434 choke me
65435 #else
65436 char (*f) () = $ac_func;
65437 #endif
65438 #ifdef __cplusplus
65440 #endif
65443 main ()
65445 return f != $ac_func;
65447 return 0;
65449 _ACEOF
65450 rm -f conftest.$ac_objext conftest$ac_exeext
65451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65452 (eval $ac_link) 2>conftest.er1
65453 ac_status=$?
65454 grep -v '^ *+' conftest.er1 >conftest.err
65455 rm -f conftest.er1
65456 cat conftest.err >&5
65457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65458 (exit $ac_status); } &&
65459 { ac_try='test -z "$ac_c_werror_flag"
65460 || test ! -s conftest.err'
65461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65462 (eval $ac_try) 2>&5
65463 ac_status=$?
65464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65465 (exit $ac_status); }; } &&
65466 { ac_try='test -s conftest$ac_exeext'
65467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65468 (eval $ac_try) 2>&5
65469 ac_status=$?
65470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65471 (exit $ac_status); }; }; then
65472 eval "$as_ac_var=yes"
65473 else
65474 echo "$as_me: failed program was:" >&5
65475 sed 's/^/| /' conftest.$ac_ext >&5
65477 eval "$as_ac_var=no"
65479 rm -f conftest.err conftest.$ac_objext \
65480 conftest$ac_exeext conftest.$ac_ext
65482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65483 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65484 if test `eval echo '${'$as_ac_var'}'` = yes; then
65485 cat >>confdefs.h <<_ACEOF
65486 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65487 _ACEOF
65490 done
65492 else
65494 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
65495 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
65496 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
65497 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
65498 echo $ECHO_N "(cached) $ECHO_C" >&6
65499 else
65503 ac_ext=cc
65504 ac_cpp='$CXXCPP $CPPFLAGS'
65505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65509 cat >conftest.$ac_ext <<_ACEOF
65510 /* confdefs.h. */
65511 _ACEOF
65512 cat confdefs.h >>conftest.$ac_ext
65513 cat >>conftest.$ac_ext <<_ACEOF
65514 /* end confdefs.h. */
65515 #include <math.h>
65517 main ()
65519 _copysign(0, 0);
65521 return 0;
65523 _ACEOF
65524 rm -f conftest.$ac_objext
65525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65526 (eval $ac_compile) 2>conftest.er1
65527 ac_status=$?
65528 grep -v '^ *+' conftest.er1 >conftest.err
65529 rm -f conftest.er1
65530 cat conftest.err >&5
65531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65532 (exit $ac_status); } &&
65533 { ac_try='test -z "$ac_cxx_werror_flag"
65534 || test ! -s conftest.err'
65535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65536 (eval $ac_try) 2>&5
65537 ac_status=$?
65538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65539 (exit $ac_status); }; } &&
65540 { ac_try='test -s conftest.$ac_objext'
65541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65542 (eval $ac_try) 2>&5
65543 ac_status=$?
65544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65545 (exit $ac_status); }; }; then
65546 glibcxx_cv_func__copysign_use=yes
65547 else
65548 echo "$as_me: failed program was:" >&5
65549 sed 's/^/| /' conftest.$ac_ext >&5
65551 glibcxx_cv_func__copysign_use=no
65553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65554 ac_ext=c
65555 ac_cpp='$CPP $CPPFLAGS'
65556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65564 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
65565 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
65567 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
65569 for ac_func in _copysign
65571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65572 echo "$as_me:$LINENO: checking for $ac_func" >&5
65573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65574 if eval "test \"\${$as_ac_var+set}\" = set"; then
65575 echo $ECHO_N "(cached) $ECHO_C" >&6
65576 else
65577 if test x$gcc_no_link = xyes; then
65578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65580 { (exit 1); exit 1; }; }
65582 cat >conftest.$ac_ext <<_ACEOF
65583 /* confdefs.h. */
65584 _ACEOF
65585 cat confdefs.h >>conftest.$ac_ext
65586 cat >>conftest.$ac_ext <<_ACEOF
65587 /* end confdefs.h. */
65588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65590 #define $ac_func innocuous_$ac_func
65592 /* System header to define __stub macros and hopefully few prototypes,
65593 which can conflict with char $ac_func (); below.
65594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65595 <limits.h> exists even on freestanding compilers. */
65597 #ifdef __STDC__
65598 # include <limits.h>
65599 #else
65600 # include <assert.h>
65601 #endif
65603 #undef $ac_func
65605 /* Override any gcc2 internal prototype to avoid an error. */
65606 #ifdef __cplusplus
65607 extern "C"
65609 #endif
65610 /* We use char because int might match the return type of a gcc2
65611 builtin and then its argument prototype would still apply. */
65612 char $ac_func ();
65613 /* The GNU C library defines this for functions which it implements
65614 to always fail with ENOSYS. Some functions are actually named
65615 something starting with __ and the normal name is an alias. */
65616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65617 choke me
65618 #else
65619 char (*f) () = $ac_func;
65620 #endif
65621 #ifdef __cplusplus
65623 #endif
65626 main ()
65628 return f != $ac_func;
65630 return 0;
65632 _ACEOF
65633 rm -f conftest.$ac_objext conftest$ac_exeext
65634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65635 (eval $ac_link) 2>conftest.er1
65636 ac_status=$?
65637 grep -v '^ *+' conftest.er1 >conftest.err
65638 rm -f conftest.er1
65639 cat conftest.err >&5
65640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65641 (exit $ac_status); } &&
65642 { ac_try='test -z "$ac_c_werror_flag"
65643 || test ! -s conftest.err'
65644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65645 (eval $ac_try) 2>&5
65646 ac_status=$?
65647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65648 (exit $ac_status); }; } &&
65649 { ac_try='test -s conftest$ac_exeext'
65650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65651 (eval $ac_try) 2>&5
65652 ac_status=$?
65653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65654 (exit $ac_status); }; }; then
65655 eval "$as_ac_var=yes"
65656 else
65657 echo "$as_me: failed program was:" >&5
65658 sed 's/^/| /' conftest.$ac_ext >&5
65660 eval "$as_ac_var=no"
65662 rm -f conftest.err conftest.$ac_objext \
65663 conftest$ac_exeext conftest.$ac_ext
65665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65667 if test `eval echo '${'$as_ac_var'}'` = yes; then
65668 cat >>confdefs.h <<_ACEOF
65669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65670 _ACEOF
65673 done
65683 echo "$as_me:$LINENO: checking for sincos declaration" >&5
65684 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
65685 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65686 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
65687 echo $ECHO_N "(cached) $ECHO_C" >&6
65688 else
65692 ac_ext=cc
65693 ac_cpp='$CXXCPP $CPPFLAGS'
65694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65698 cat >conftest.$ac_ext <<_ACEOF
65699 /* confdefs.h. */
65700 _ACEOF
65701 cat confdefs.h >>conftest.$ac_ext
65702 cat >>conftest.$ac_ext <<_ACEOF
65703 /* end confdefs.h. */
65704 #include <math.h>
65706 main ()
65708 sincos(0, 0, 0);
65710 return 0;
65712 _ACEOF
65713 rm -f conftest.$ac_objext
65714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65715 (eval $ac_compile) 2>conftest.er1
65716 ac_status=$?
65717 grep -v '^ *+' conftest.er1 >conftest.err
65718 rm -f conftest.er1
65719 cat conftest.err >&5
65720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65721 (exit $ac_status); } &&
65722 { ac_try='test -z "$ac_cxx_werror_flag"
65723 || test ! -s conftest.err'
65724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65725 (eval $ac_try) 2>&5
65726 ac_status=$?
65727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65728 (exit $ac_status); }; } &&
65729 { ac_try='test -s conftest.$ac_objext'
65730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65731 (eval $ac_try) 2>&5
65732 ac_status=$?
65733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65734 (exit $ac_status); }; }; then
65735 glibcxx_cv_func_sincos_use=yes
65736 else
65737 echo "$as_me: failed program was:" >&5
65738 sed 's/^/| /' conftest.$ac_ext >&5
65740 glibcxx_cv_func_sincos_use=no
65742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65743 ac_ext=c
65744 ac_cpp='$CPP $CPPFLAGS'
65745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65753 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
65754 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
65756 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65758 for ac_func in sincos
65760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65761 echo "$as_me:$LINENO: checking for $ac_func" >&5
65762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65763 if eval "test \"\${$as_ac_var+set}\" = set"; then
65764 echo $ECHO_N "(cached) $ECHO_C" >&6
65765 else
65766 if test x$gcc_no_link = xyes; then
65767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65769 { (exit 1); exit 1; }; }
65771 cat >conftest.$ac_ext <<_ACEOF
65772 /* confdefs.h. */
65773 _ACEOF
65774 cat confdefs.h >>conftest.$ac_ext
65775 cat >>conftest.$ac_ext <<_ACEOF
65776 /* end confdefs.h. */
65777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65779 #define $ac_func innocuous_$ac_func
65781 /* System header to define __stub macros and hopefully few prototypes,
65782 which can conflict with char $ac_func (); below.
65783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65784 <limits.h> exists even on freestanding compilers. */
65786 #ifdef __STDC__
65787 # include <limits.h>
65788 #else
65789 # include <assert.h>
65790 #endif
65792 #undef $ac_func
65794 /* Override any gcc2 internal prototype to avoid an error. */
65795 #ifdef __cplusplus
65796 extern "C"
65798 #endif
65799 /* We use char because int might match the return type of a gcc2
65800 builtin and then its argument prototype would still apply. */
65801 char $ac_func ();
65802 /* The GNU C library defines this for functions which it implements
65803 to always fail with ENOSYS. Some functions are actually named
65804 something starting with __ and the normal name is an alias. */
65805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65806 choke me
65807 #else
65808 char (*f) () = $ac_func;
65809 #endif
65810 #ifdef __cplusplus
65812 #endif
65815 main ()
65817 return f != $ac_func;
65819 return 0;
65821 _ACEOF
65822 rm -f conftest.$ac_objext conftest$ac_exeext
65823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65824 (eval $ac_link) 2>conftest.er1
65825 ac_status=$?
65826 grep -v '^ *+' conftest.er1 >conftest.err
65827 rm -f conftest.er1
65828 cat conftest.err >&5
65829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65830 (exit $ac_status); } &&
65831 { ac_try='test -z "$ac_c_werror_flag"
65832 || test ! -s conftest.err'
65833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65834 (eval $ac_try) 2>&5
65835 ac_status=$?
65836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65837 (exit $ac_status); }; } &&
65838 { ac_try='test -s conftest$ac_exeext'
65839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65840 (eval $ac_try) 2>&5
65841 ac_status=$?
65842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65843 (exit $ac_status); }; }; then
65844 eval "$as_ac_var=yes"
65845 else
65846 echo "$as_me: failed program was:" >&5
65847 sed 's/^/| /' conftest.$ac_ext >&5
65849 eval "$as_ac_var=no"
65851 rm -f conftest.err conftest.$ac_objext \
65852 conftest$ac_exeext conftest.$ac_ext
65854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65856 if test `eval echo '${'$as_ac_var'}'` = yes; then
65857 cat >>confdefs.h <<_ACEOF
65858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65859 _ACEOF
65862 done
65864 else
65866 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
65867 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
65868 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65869 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
65870 echo $ECHO_N "(cached) $ECHO_C" >&6
65871 else
65875 ac_ext=cc
65876 ac_cpp='$CXXCPP $CPPFLAGS'
65877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65881 cat >conftest.$ac_ext <<_ACEOF
65882 /* confdefs.h. */
65883 _ACEOF
65884 cat confdefs.h >>conftest.$ac_ext
65885 cat >>conftest.$ac_ext <<_ACEOF
65886 /* end confdefs.h. */
65887 #include <math.h>
65889 main ()
65891 _sincos(0, 0, 0);
65893 return 0;
65895 _ACEOF
65896 rm -f conftest.$ac_objext
65897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65898 (eval $ac_compile) 2>conftest.er1
65899 ac_status=$?
65900 grep -v '^ *+' conftest.er1 >conftest.err
65901 rm -f conftest.er1
65902 cat conftest.err >&5
65903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65904 (exit $ac_status); } &&
65905 { ac_try='test -z "$ac_cxx_werror_flag"
65906 || test ! -s conftest.err'
65907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65908 (eval $ac_try) 2>&5
65909 ac_status=$?
65910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65911 (exit $ac_status); }; } &&
65912 { ac_try='test -s conftest.$ac_objext'
65913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65914 (eval $ac_try) 2>&5
65915 ac_status=$?
65916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65917 (exit $ac_status); }; }; then
65918 glibcxx_cv_func__sincos_use=yes
65919 else
65920 echo "$as_me: failed program was:" >&5
65921 sed 's/^/| /' conftest.$ac_ext >&5
65923 glibcxx_cv_func__sincos_use=no
65925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65926 ac_ext=c
65927 ac_cpp='$CPP $CPPFLAGS'
65928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65936 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
65937 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
65939 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65941 for ac_func in _sincos
65943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65944 echo "$as_me:$LINENO: checking for $ac_func" >&5
65945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65946 if eval "test \"\${$as_ac_var+set}\" = set"; then
65947 echo $ECHO_N "(cached) $ECHO_C" >&6
65948 else
65949 if test x$gcc_no_link = xyes; then
65950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65952 { (exit 1); exit 1; }; }
65954 cat >conftest.$ac_ext <<_ACEOF
65955 /* confdefs.h. */
65956 _ACEOF
65957 cat confdefs.h >>conftest.$ac_ext
65958 cat >>conftest.$ac_ext <<_ACEOF
65959 /* end confdefs.h. */
65960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65962 #define $ac_func innocuous_$ac_func
65964 /* System header to define __stub macros and hopefully few prototypes,
65965 which can conflict with char $ac_func (); below.
65966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65967 <limits.h> exists even on freestanding compilers. */
65969 #ifdef __STDC__
65970 # include <limits.h>
65971 #else
65972 # include <assert.h>
65973 #endif
65975 #undef $ac_func
65977 /* Override any gcc2 internal prototype to avoid an error. */
65978 #ifdef __cplusplus
65979 extern "C"
65981 #endif
65982 /* We use char because int might match the return type of a gcc2
65983 builtin and then its argument prototype would still apply. */
65984 char $ac_func ();
65985 /* The GNU C library defines this for functions which it implements
65986 to always fail with ENOSYS. Some functions are actually named
65987 something starting with __ and the normal name is an alias. */
65988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65989 choke me
65990 #else
65991 char (*f) () = $ac_func;
65992 #endif
65993 #ifdef __cplusplus
65995 #endif
65998 main ()
66000 return f != $ac_func;
66002 return 0;
66004 _ACEOF
66005 rm -f conftest.$ac_objext conftest$ac_exeext
66006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66007 (eval $ac_link) 2>conftest.er1
66008 ac_status=$?
66009 grep -v '^ *+' conftest.er1 >conftest.err
66010 rm -f conftest.er1
66011 cat conftest.err >&5
66012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66013 (exit $ac_status); } &&
66014 { ac_try='test -z "$ac_c_werror_flag"
66015 || test ! -s conftest.err'
66016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66017 (eval $ac_try) 2>&5
66018 ac_status=$?
66019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66020 (exit $ac_status); }; } &&
66021 { ac_try='test -s conftest$ac_exeext'
66022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66023 (eval $ac_try) 2>&5
66024 ac_status=$?
66025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66026 (exit $ac_status); }; }; then
66027 eval "$as_ac_var=yes"
66028 else
66029 echo "$as_me: failed program was:" >&5
66030 sed 's/^/| /' conftest.$ac_ext >&5
66032 eval "$as_ac_var=no"
66034 rm -f conftest.err conftest.$ac_objext \
66035 conftest$ac_exeext conftest.$ac_ext
66037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66039 if test `eval echo '${'$as_ac_var'}'` = yes; then
66040 cat >>confdefs.h <<_ACEOF
66041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66042 _ACEOF
66045 done
66055 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
66056 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
66057 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66058 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
66059 echo $ECHO_N "(cached) $ECHO_C" >&6
66060 else
66064 ac_ext=cc
66065 ac_cpp='$CXXCPP $CPPFLAGS'
66066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66070 cat >conftest.$ac_ext <<_ACEOF
66071 /* confdefs.h. */
66072 _ACEOF
66073 cat confdefs.h >>conftest.$ac_ext
66074 cat >>conftest.$ac_ext <<_ACEOF
66075 /* end confdefs.h. */
66076 #include <math.h>
66077 #ifdef HAVE_IEEEFP_H
66078 #include <ieeefp.h>
66079 #endif
66082 main ()
66084 fpclass(0);
66086 return 0;
66088 _ACEOF
66089 rm -f conftest.$ac_objext
66090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66091 (eval $ac_compile) 2>conftest.er1
66092 ac_status=$?
66093 grep -v '^ *+' conftest.er1 >conftest.err
66094 rm -f conftest.er1
66095 cat conftest.err >&5
66096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66097 (exit $ac_status); } &&
66098 { ac_try='test -z "$ac_cxx_werror_flag"
66099 || test ! -s conftest.err'
66100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66101 (eval $ac_try) 2>&5
66102 ac_status=$?
66103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66104 (exit $ac_status); }; } &&
66105 { ac_try='test -s conftest.$ac_objext'
66106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66107 (eval $ac_try) 2>&5
66108 ac_status=$?
66109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66110 (exit $ac_status); }; }; then
66111 glibcxx_cv_func_fpclass_use=yes
66112 else
66113 echo "$as_me: failed program was:" >&5
66114 sed 's/^/| /' conftest.$ac_ext >&5
66116 glibcxx_cv_func_fpclass_use=no
66118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66119 ac_ext=c
66120 ac_cpp='$CPP $CPPFLAGS'
66121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66129 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
66130 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
66132 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66134 for ac_func in fpclass
66136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66137 echo "$as_me:$LINENO: checking for $ac_func" >&5
66138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66139 if eval "test \"\${$as_ac_var+set}\" = set"; then
66140 echo $ECHO_N "(cached) $ECHO_C" >&6
66141 else
66142 if test x$gcc_no_link = xyes; then
66143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66145 { (exit 1); exit 1; }; }
66147 cat >conftest.$ac_ext <<_ACEOF
66148 /* confdefs.h. */
66149 _ACEOF
66150 cat confdefs.h >>conftest.$ac_ext
66151 cat >>conftest.$ac_ext <<_ACEOF
66152 /* end confdefs.h. */
66153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66155 #define $ac_func innocuous_$ac_func
66157 /* System header to define __stub macros and hopefully few prototypes,
66158 which can conflict with char $ac_func (); below.
66159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66160 <limits.h> exists even on freestanding compilers. */
66162 #ifdef __STDC__
66163 # include <limits.h>
66164 #else
66165 # include <assert.h>
66166 #endif
66168 #undef $ac_func
66170 /* Override any gcc2 internal prototype to avoid an error. */
66171 #ifdef __cplusplus
66172 extern "C"
66174 #endif
66175 /* We use char because int might match the return type of a gcc2
66176 builtin and then its argument prototype would still apply. */
66177 char $ac_func ();
66178 /* The GNU C library defines this for functions which it implements
66179 to always fail with ENOSYS. Some functions are actually named
66180 something starting with __ and the normal name is an alias. */
66181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66182 choke me
66183 #else
66184 char (*f) () = $ac_func;
66185 #endif
66186 #ifdef __cplusplus
66188 #endif
66191 main ()
66193 return f != $ac_func;
66195 return 0;
66197 _ACEOF
66198 rm -f conftest.$ac_objext conftest$ac_exeext
66199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66200 (eval $ac_link) 2>conftest.er1
66201 ac_status=$?
66202 grep -v '^ *+' conftest.er1 >conftest.err
66203 rm -f conftest.er1
66204 cat conftest.err >&5
66205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66206 (exit $ac_status); } &&
66207 { ac_try='test -z "$ac_c_werror_flag"
66208 || test ! -s conftest.err'
66209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66210 (eval $ac_try) 2>&5
66211 ac_status=$?
66212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66213 (exit $ac_status); }; } &&
66214 { ac_try='test -s conftest$ac_exeext'
66215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66216 (eval $ac_try) 2>&5
66217 ac_status=$?
66218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66219 (exit $ac_status); }; }; then
66220 eval "$as_ac_var=yes"
66221 else
66222 echo "$as_me: failed program was:" >&5
66223 sed 's/^/| /' conftest.$ac_ext >&5
66225 eval "$as_ac_var=no"
66227 rm -f conftest.err conftest.$ac_objext \
66228 conftest$ac_exeext conftest.$ac_ext
66230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66232 if test `eval echo '${'$as_ac_var'}'` = yes; then
66233 cat >>confdefs.h <<_ACEOF
66234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66235 _ACEOF
66238 done
66240 else
66242 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
66243 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
66244 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66245 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
66246 echo $ECHO_N "(cached) $ECHO_C" >&6
66247 else
66251 ac_ext=cc
66252 ac_cpp='$CXXCPP $CPPFLAGS'
66253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66257 cat >conftest.$ac_ext <<_ACEOF
66258 /* confdefs.h. */
66259 _ACEOF
66260 cat confdefs.h >>conftest.$ac_ext
66261 cat >>conftest.$ac_ext <<_ACEOF
66262 /* end confdefs.h. */
66263 #include <math.h>
66264 #ifdef HAVE_IEEEFP_H
66265 #include <ieeefp.h>
66266 #endif
66269 main ()
66271 _fpclass(0);
66273 return 0;
66275 _ACEOF
66276 rm -f conftest.$ac_objext
66277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66278 (eval $ac_compile) 2>conftest.er1
66279 ac_status=$?
66280 grep -v '^ *+' conftest.er1 >conftest.err
66281 rm -f conftest.er1
66282 cat conftest.err >&5
66283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66284 (exit $ac_status); } &&
66285 { ac_try='test -z "$ac_cxx_werror_flag"
66286 || test ! -s conftest.err'
66287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66288 (eval $ac_try) 2>&5
66289 ac_status=$?
66290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66291 (exit $ac_status); }; } &&
66292 { ac_try='test -s conftest.$ac_objext'
66293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66294 (eval $ac_try) 2>&5
66295 ac_status=$?
66296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66297 (exit $ac_status); }; }; then
66298 glibcxx_cv_func__fpclass_use=yes
66299 else
66300 echo "$as_me: failed program was:" >&5
66301 sed 's/^/| /' conftest.$ac_ext >&5
66303 glibcxx_cv_func__fpclass_use=no
66305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66306 ac_ext=c
66307 ac_cpp='$CPP $CPPFLAGS'
66308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66316 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
66317 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
66319 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66321 for ac_func in _fpclass
66323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66324 echo "$as_me:$LINENO: checking for $ac_func" >&5
66325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66326 if eval "test \"\${$as_ac_var+set}\" = set"; then
66327 echo $ECHO_N "(cached) $ECHO_C" >&6
66328 else
66329 if test x$gcc_no_link = xyes; then
66330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66332 { (exit 1); exit 1; }; }
66334 cat >conftest.$ac_ext <<_ACEOF
66335 /* confdefs.h. */
66336 _ACEOF
66337 cat confdefs.h >>conftest.$ac_ext
66338 cat >>conftest.$ac_ext <<_ACEOF
66339 /* end confdefs.h. */
66340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66342 #define $ac_func innocuous_$ac_func
66344 /* System header to define __stub macros and hopefully few prototypes,
66345 which can conflict with char $ac_func (); below.
66346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66347 <limits.h> exists even on freestanding compilers. */
66349 #ifdef __STDC__
66350 # include <limits.h>
66351 #else
66352 # include <assert.h>
66353 #endif
66355 #undef $ac_func
66357 /* Override any gcc2 internal prototype to avoid an error. */
66358 #ifdef __cplusplus
66359 extern "C"
66361 #endif
66362 /* We use char because int might match the return type of a gcc2
66363 builtin and then its argument prototype would still apply. */
66364 char $ac_func ();
66365 /* The GNU C library defines this for functions which it implements
66366 to always fail with ENOSYS. Some functions are actually named
66367 something starting with __ and the normal name is an alias. */
66368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66369 choke me
66370 #else
66371 char (*f) () = $ac_func;
66372 #endif
66373 #ifdef __cplusplus
66375 #endif
66378 main ()
66380 return f != $ac_func;
66382 return 0;
66384 _ACEOF
66385 rm -f conftest.$ac_objext conftest$ac_exeext
66386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66387 (eval $ac_link) 2>conftest.er1
66388 ac_status=$?
66389 grep -v '^ *+' conftest.er1 >conftest.err
66390 rm -f conftest.er1
66391 cat conftest.err >&5
66392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66393 (exit $ac_status); } &&
66394 { ac_try='test -z "$ac_c_werror_flag"
66395 || test ! -s conftest.err'
66396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66397 (eval $ac_try) 2>&5
66398 ac_status=$?
66399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66400 (exit $ac_status); }; } &&
66401 { ac_try='test -s conftest$ac_exeext'
66402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66403 (eval $ac_try) 2>&5
66404 ac_status=$?
66405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66406 (exit $ac_status); }; }; then
66407 eval "$as_ac_var=yes"
66408 else
66409 echo "$as_me: failed program was:" >&5
66410 sed 's/^/| /' conftest.$ac_ext >&5
66412 eval "$as_ac_var=no"
66414 rm -f conftest.err conftest.$ac_objext \
66415 conftest$ac_exeext conftest.$ac_ext
66417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66419 if test `eval echo '${'$as_ac_var'}'` = yes; then
66420 cat >>confdefs.h <<_ACEOF
66421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66422 _ACEOF
66425 done
66435 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
66436 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
66437 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66438 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
66439 echo $ECHO_N "(cached) $ECHO_C" >&6
66440 else
66444 ac_ext=cc
66445 ac_cpp='$CXXCPP $CPPFLAGS'
66446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66450 cat >conftest.$ac_ext <<_ACEOF
66451 /* confdefs.h. */
66452 _ACEOF
66453 cat confdefs.h >>conftest.$ac_ext
66454 cat >>conftest.$ac_ext <<_ACEOF
66455 /* end confdefs.h. */
66456 #include <math.h>
66457 #ifdef HAVE_IEEEFP_H
66458 #include <ieeefp.h>
66459 #endif
66462 main ()
66464 qfpclass(0);
66466 return 0;
66468 _ACEOF
66469 rm -f conftest.$ac_objext
66470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66471 (eval $ac_compile) 2>conftest.er1
66472 ac_status=$?
66473 grep -v '^ *+' conftest.er1 >conftest.err
66474 rm -f conftest.er1
66475 cat conftest.err >&5
66476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66477 (exit $ac_status); } &&
66478 { ac_try='test -z "$ac_cxx_werror_flag"
66479 || test ! -s conftest.err'
66480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66481 (eval $ac_try) 2>&5
66482 ac_status=$?
66483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66484 (exit $ac_status); }; } &&
66485 { ac_try='test -s conftest.$ac_objext'
66486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66487 (eval $ac_try) 2>&5
66488 ac_status=$?
66489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66490 (exit $ac_status); }; }; then
66491 glibcxx_cv_func_qfpclass_use=yes
66492 else
66493 echo "$as_me: failed program was:" >&5
66494 sed 's/^/| /' conftest.$ac_ext >&5
66496 glibcxx_cv_func_qfpclass_use=no
66498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66499 ac_ext=c
66500 ac_cpp='$CPP $CPPFLAGS'
66501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66509 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
66510 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
66512 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66514 for ac_func in qfpclass
66516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66517 echo "$as_me:$LINENO: checking for $ac_func" >&5
66518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66519 if eval "test \"\${$as_ac_var+set}\" = set"; then
66520 echo $ECHO_N "(cached) $ECHO_C" >&6
66521 else
66522 if test x$gcc_no_link = xyes; then
66523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66525 { (exit 1); exit 1; }; }
66527 cat >conftest.$ac_ext <<_ACEOF
66528 /* confdefs.h. */
66529 _ACEOF
66530 cat confdefs.h >>conftest.$ac_ext
66531 cat >>conftest.$ac_ext <<_ACEOF
66532 /* end confdefs.h. */
66533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66535 #define $ac_func innocuous_$ac_func
66537 /* System header to define __stub macros and hopefully few prototypes,
66538 which can conflict with char $ac_func (); below.
66539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66540 <limits.h> exists even on freestanding compilers. */
66542 #ifdef __STDC__
66543 # include <limits.h>
66544 #else
66545 # include <assert.h>
66546 #endif
66548 #undef $ac_func
66550 /* Override any gcc2 internal prototype to avoid an error. */
66551 #ifdef __cplusplus
66552 extern "C"
66554 #endif
66555 /* We use char because int might match the return type of a gcc2
66556 builtin and then its argument prototype would still apply. */
66557 char $ac_func ();
66558 /* The GNU C library defines this for functions which it implements
66559 to always fail with ENOSYS. Some functions are actually named
66560 something starting with __ and the normal name is an alias. */
66561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66562 choke me
66563 #else
66564 char (*f) () = $ac_func;
66565 #endif
66566 #ifdef __cplusplus
66568 #endif
66571 main ()
66573 return f != $ac_func;
66575 return 0;
66577 _ACEOF
66578 rm -f conftest.$ac_objext conftest$ac_exeext
66579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66580 (eval $ac_link) 2>conftest.er1
66581 ac_status=$?
66582 grep -v '^ *+' conftest.er1 >conftest.err
66583 rm -f conftest.er1
66584 cat conftest.err >&5
66585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66586 (exit $ac_status); } &&
66587 { ac_try='test -z "$ac_c_werror_flag"
66588 || test ! -s conftest.err'
66589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66590 (eval $ac_try) 2>&5
66591 ac_status=$?
66592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66593 (exit $ac_status); }; } &&
66594 { ac_try='test -s conftest$ac_exeext'
66595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66596 (eval $ac_try) 2>&5
66597 ac_status=$?
66598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66599 (exit $ac_status); }; }; then
66600 eval "$as_ac_var=yes"
66601 else
66602 echo "$as_me: failed program was:" >&5
66603 sed 's/^/| /' conftest.$ac_ext >&5
66605 eval "$as_ac_var=no"
66607 rm -f conftest.err conftest.$ac_objext \
66608 conftest$ac_exeext conftest.$ac_ext
66610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66612 if test `eval echo '${'$as_ac_var'}'` = yes; then
66613 cat >>confdefs.h <<_ACEOF
66614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66615 _ACEOF
66618 done
66620 else
66622 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
66623 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
66624 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66625 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
66626 echo $ECHO_N "(cached) $ECHO_C" >&6
66627 else
66631 ac_ext=cc
66632 ac_cpp='$CXXCPP $CPPFLAGS'
66633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66637 cat >conftest.$ac_ext <<_ACEOF
66638 /* confdefs.h. */
66639 _ACEOF
66640 cat confdefs.h >>conftest.$ac_ext
66641 cat >>conftest.$ac_ext <<_ACEOF
66642 /* end confdefs.h. */
66643 #include <math.h>
66644 #ifdef HAVE_IEEEFP_H
66645 #include <ieeefp.h>
66646 #endif
66649 main ()
66651 _qfpclass(0);
66653 return 0;
66655 _ACEOF
66656 rm -f conftest.$ac_objext
66657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66658 (eval $ac_compile) 2>conftest.er1
66659 ac_status=$?
66660 grep -v '^ *+' conftest.er1 >conftest.err
66661 rm -f conftest.er1
66662 cat conftest.err >&5
66663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66664 (exit $ac_status); } &&
66665 { ac_try='test -z "$ac_cxx_werror_flag"
66666 || test ! -s conftest.err'
66667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66668 (eval $ac_try) 2>&5
66669 ac_status=$?
66670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66671 (exit $ac_status); }; } &&
66672 { ac_try='test -s conftest.$ac_objext'
66673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66674 (eval $ac_try) 2>&5
66675 ac_status=$?
66676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66677 (exit $ac_status); }; }; then
66678 glibcxx_cv_func__qfpclass_use=yes
66679 else
66680 echo "$as_me: failed program was:" >&5
66681 sed 's/^/| /' conftest.$ac_ext >&5
66683 glibcxx_cv_func__qfpclass_use=no
66685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66686 ac_ext=c
66687 ac_cpp='$CPP $CPPFLAGS'
66688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66696 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
66697 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
66699 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66701 for ac_func in _qfpclass
66703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66704 echo "$as_me:$LINENO: checking for $ac_func" >&5
66705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66706 if eval "test \"\${$as_ac_var+set}\" = set"; then
66707 echo $ECHO_N "(cached) $ECHO_C" >&6
66708 else
66709 if test x$gcc_no_link = xyes; then
66710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66712 { (exit 1); exit 1; }; }
66714 cat >conftest.$ac_ext <<_ACEOF
66715 /* confdefs.h. */
66716 _ACEOF
66717 cat confdefs.h >>conftest.$ac_ext
66718 cat >>conftest.$ac_ext <<_ACEOF
66719 /* end confdefs.h. */
66720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66722 #define $ac_func innocuous_$ac_func
66724 /* System header to define __stub macros and hopefully few prototypes,
66725 which can conflict with char $ac_func (); below.
66726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66727 <limits.h> exists even on freestanding compilers. */
66729 #ifdef __STDC__
66730 # include <limits.h>
66731 #else
66732 # include <assert.h>
66733 #endif
66735 #undef $ac_func
66737 /* Override any gcc2 internal prototype to avoid an error. */
66738 #ifdef __cplusplus
66739 extern "C"
66741 #endif
66742 /* We use char because int might match the return type of a gcc2
66743 builtin and then its argument prototype would still apply. */
66744 char $ac_func ();
66745 /* The GNU C library defines this for functions which it implements
66746 to always fail with ENOSYS. Some functions are actually named
66747 something starting with __ and the normal name is an alias. */
66748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66749 choke me
66750 #else
66751 char (*f) () = $ac_func;
66752 #endif
66753 #ifdef __cplusplus
66755 #endif
66758 main ()
66760 return f != $ac_func;
66762 return 0;
66764 _ACEOF
66765 rm -f conftest.$ac_objext conftest$ac_exeext
66766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66767 (eval $ac_link) 2>conftest.er1
66768 ac_status=$?
66769 grep -v '^ *+' conftest.er1 >conftest.err
66770 rm -f conftest.er1
66771 cat conftest.err >&5
66772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66773 (exit $ac_status); } &&
66774 { ac_try='test -z "$ac_c_werror_flag"
66775 || test ! -s conftest.err'
66776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66777 (eval $ac_try) 2>&5
66778 ac_status=$?
66779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66780 (exit $ac_status); }; } &&
66781 { ac_try='test -s conftest$ac_exeext'
66782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66783 (eval $ac_try) 2>&5
66784 ac_status=$?
66785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66786 (exit $ac_status); }; }; then
66787 eval "$as_ac_var=yes"
66788 else
66789 echo "$as_me: failed program was:" >&5
66790 sed 's/^/| /' conftest.$ac_ext >&5
66792 eval "$as_ac_var=no"
66794 rm -f conftest.err conftest.$ac_objext \
66795 conftest$ac_exeext conftest.$ac_ext
66797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66799 if test `eval echo '${'$as_ac_var'}'` = yes; then
66800 cat >>confdefs.h <<_ACEOF
66801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66802 _ACEOF
66805 done
66815 echo "$as_me:$LINENO: checking for hypot declaration" >&5
66816 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
66817 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66818 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
66819 echo $ECHO_N "(cached) $ECHO_C" >&6
66820 else
66824 ac_ext=cc
66825 ac_cpp='$CXXCPP $CPPFLAGS'
66826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66830 cat >conftest.$ac_ext <<_ACEOF
66831 /* confdefs.h. */
66832 _ACEOF
66833 cat confdefs.h >>conftest.$ac_ext
66834 cat >>conftest.$ac_ext <<_ACEOF
66835 /* end confdefs.h. */
66836 #include <math.h>
66838 main ()
66840 hypot(0, 0);
66842 return 0;
66844 _ACEOF
66845 rm -f conftest.$ac_objext
66846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66847 (eval $ac_compile) 2>conftest.er1
66848 ac_status=$?
66849 grep -v '^ *+' conftest.er1 >conftest.err
66850 rm -f conftest.er1
66851 cat conftest.err >&5
66852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66853 (exit $ac_status); } &&
66854 { ac_try='test -z "$ac_cxx_werror_flag"
66855 || test ! -s conftest.err'
66856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66857 (eval $ac_try) 2>&5
66858 ac_status=$?
66859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66860 (exit $ac_status); }; } &&
66861 { ac_try='test -s conftest.$ac_objext'
66862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66863 (eval $ac_try) 2>&5
66864 ac_status=$?
66865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66866 (exit $ac_status); }; }; then
66867 glibcxx_cv_func_hypot_use=yes
66868 else
66869 echo "$as_me: failed program was:" >&5
66870 sed 's/^/| /' conftest.$ac_ext >&5
66872 glibcxx_cv_func_hypot_use=no
66874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66875 ac_ext=c
66876 ac_cpp='$CPP $CPPFLAGS'
66877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66885 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
66886 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
66888 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66890 for ac_func in hypot
66892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66893 echo "$as_me:$LINENO: checking for $ac_func" >&5
66894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66895 if eval "test \"\${$as_ac_var+set}\" = set"; then
66896 echo $ECHO_N "(cached) $ECHO_C" >&6
66897 else
66898 if test x$gcc_no_link = xyes; then
66899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66901 { (exit 1); exit 1; }; }
66903 cat >conftest.$ac_ext <<_ACEOF
66904 /* confdefs.h. */
66905 _ACEOF
66906 cat confdefs.h >>conftest.$ac_ext
66907 cat >>conftest.$ac_ext <<_ACEOF
66908 /* end confdefs.h. */
66909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66911 #define $ac_func innocuous_$ac_func
66913 /* System header to define __stub macros and hopefully few prototypes,
66914 which can conflict with char $ac_func (); below.
66915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66916 <limits.h> exists even on freestanding compilers. */
66918 #ifdef __STDC__
66919 # include <limits.h>
66920 #else
66921 # include <assert.h>
66922 #endif
66924 #undef $ac_func
66926 /* Override any gcc2 internal prototype to avoid an error. */
66927 #ifdef __cplusplus
66928 extern "C"
66930 #endif
66931 /* We use char because int might match the return type of a gcc2
66932 builtin and then its argument prototype would still apply. */
66933 char $ac_func ();
66934 /* The GNU C library defines this for functions which it implements
66935 to always fail with ENOSYS. Some functions are actually named
66936 something starting with __ and the normal name is an alias. */
66937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66938 choke me
66939 #else
66940 char (*f) () = $ac_func;
66941 #endif
66942 #ifdef __cplusplus
66944 #endif
66947 main ()
66949 return f != $ac_func;
66951 return 0;
66953 _ACEOF
66954 rm -f conftest.$ac_objext conftest$ac_exeext
66955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66956 (eval $ac_link) 2>conftest.er1
66957 ac_status=$?
66958 grep -v '^ *+' conftest.er1 >conftest.err
66959 rm -f conftest.er1
66960 cat conftest.err >&5
66961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66962 (exit $ac_status); } &&
66963 { ac_try='test -z "$ac_c_werror_flag"
66964 || test ! -s conftest.err'
66965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66966 (eval $ac_try) 2>&5
66967 ac_status=$?
66968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66969 (exit $ac_status); }; } &&
66970 { ac_try='test -s conftest$ac_exeext'
66971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66972 (eval $ac_try) 2>&5
66973 ac_status=$?
66974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66975 (exit $ac_status); }; }; then
66976 eval "$as_ac_var=yes"
66977 else
66978 echo "$as_me: failed program was:" >&5
66979 sed 's/^/| /' conftest.$ac_ext >&5
66981 eval "$as_ac_var=no"
66983 rm -f conftest.err conftest.$ac_objext \
66984 conftest$ac_exeext conftest.$ac_ext
66986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66988 if test `eval echo '${'$as_ac_var'}'` = yes; then
66989 cat >>confdefs.h <<_ACEOF
66990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66991 _ACEOF
66994 done
66996 else
66998 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
66999 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
67000 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67001 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
67002 echo $ECHO_N "(cached) $ECHO_C" >&6
67003 else
67007 ac_ext=cc
67008 ac_cpp='$CXXCPP $CPPFLAGS'
67009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67013 cat >conftest.$ac_ext <<_ACEOF
67014 /* confdefs.h. */
67015 _ACEOF
67016 cat confdefs.h >>conftest.$ac_ext
67017 cat >>conftest.$ac_ext <<_ACEOF
67018 /* end confdefs.h. */
67019 #include <math.h>
67021 main ()
67023 _hypot(0, 0);
67025 return 0;
67027 _ACEOF
67028 rm -f conftest.$ac_objext
67029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67030 (eval $ac_compile) 2>conftest.er1
67031 ac_status=$?
67032 grep -v '^ *+' conftest.er1 >conftest.err
67033 rm -f conftest.er1
67034 cat conftest.err >&5
67035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67036 (exit $ac_status); } &&
67037 { ac_try='test -z "$ac_cxx_werror_flag"
67038 || test ! -s conftest.err'
67039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67040 (eval $ac_try) 2>&5
67041 ac_status=$?
67042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67043 (exit $ac_status); }; } &&
67044 { ac_try='test -s conftest.$ac_objext'
67045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67046 (eval $ac_try) 2>&5
67047 ac_status=$?
67048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67049 (exit $ac_status); }; }; then
67050 glibcxx_cv_func__hypot_use=yes
67051 else
67052 echo "$as_me: failed program was:" >&5
67053 sed 's/^/| /' conftest.$ac_ext >&5
67055 glibcxx_cv_func__hypot_use=no
67057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67058 ac_ext=c
67059 ac_cpp='$CPP $CPPFLAGS'
67060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67068 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
67069 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
67071 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67073 for ac_func in _hypot
67075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67076 echo "$as_me:$LINENO: checking for $ac_func" >&5
67077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67078 if eval "test \"\${$as_ac_var+set}\" = set"; then
67079 echo $ECHO_N "(cached) $ECHO_C" >&6
67080 else
67081 if test x$gcc_no_link = xyes; then
67082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67084 { (exit 1); exit 1; }; }
67086 cat >conftest.$ac_ext <<_ACEOF
67087 /* confdefs.h. */
67088 _ACEOF
67089 cat confdefs.h >>conftest.$ac_ext
67090 cat >>conftest.$ac_ext <<_ACEOF
67091 /* end confdefs.h. */
67092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67094 #define $ac_func innocuous_$ac_func
67096 /* System header to define __stub macros and hopefully few prototypes,
67097 which can conflict with char $ac_func (); below.
67098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67099 <limits.h> exists even on freestanding compilers. */
67101 #ifdef __STDC__
67102 # include <limits.h>
67103 #else
67104 # include <assert.h>
67105 #endif
67107 #undef $ac_func
67109 /* Override any gcc2 internal prototype to avoid an error. */
67110 #ifdef __cplusplus
67111 extern "C"
67113 #endif
67114 /* We use char because int might match the return type of a gcc2
67115 builtin and then its argument prototype would still apply. */
67116 char $ac_func ();
67117 /* The GNU C library defines this for functions which it implements
67118 to always fail with ENOSYS. Some functions are actually named
67119 something starting with __ and the normal name is an alias. */
67120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67121 choke me
67122 #else
67123 char (*f) () = $ac_func;
67124 #endif
67125 #ifdef __cplusplus
67127 #endif
67130 main ()
67132 return f != $ac_func;
67134 return 0;
67136 _ACEOF
67137 rm -f conftest.$ac_objext conftest$ac_exeext
67138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67139 (eval $ac_link) 2>conftest.er1
67140 ac_status=$?
67141 grep -v '^ *+' conftest.er1 >conftest.err
67142 rm -f conftest.er1
67143 cat conftest.err >&5
67144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67145 (exit $ac_status); } &&
67146 { ac_try='test -z "$ac_c_werror_flag"
67147 || test ! -s conftest.err'
67148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67149 (eval $ac_try) 2>&5
67150 ac_status=$?
67151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67152 (exit $ac_status); }; } &&
67153 { ac_try='test -s conftest$ac_exeext'
67154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67155 (eval $ac_try) 2>&5
67156 ac_status=$?
67157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67158 (exit $ac_status); }; }; then
67159 eval "$as_ac_var=yes"
67160 else
67161 echo "$as_me: failed program was:" >&5
67162 sed 's/^/| /' conftest.$ac_ext >&5
67164 eval "$as_ac_var=no"
67166 rm -f conftest.err conftest.$ac_objext \
67167 conftest$ac_exeext conftest.$ac_ext
67169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67171 if test `eval echo '${'$as_ac_var'}'` = yes; then
67172 cat >>confdefs.h <<_ACEOF
67173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67174 _ACEOF
67177 done
67187 echo "$as_me:$LINENO: checking for float trig functions" >&5
67188 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
67189 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
67190 echo $ECHO_N "(cached) $ECHO_C" >&6
67191 else
67195 ac_ext=cc
67196 ac_cpp='$CXXCPP $CPPFLAGS'
67197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67201 cat >conftest.$ac_ext <<_ACEOF
67202 /* confdefs.h. */
67203 _ACEOF
67204 cat confdefs.h >>conftest.$ac_ext
67205 cat >>conftest.$ac_ext <<_ACEOF
67206 /* end confdefs.h. */
67207 #include <math.h>
67209 main ()
67211 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67213 return 0;
67215 _ACEOF
67216 rm -f conftest.$ac_objext
67217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67218 (eval $ac_compile) 2>conftest.er1
67219 ac_status=$?
67220 grep -v '^ *+' conftest.er1 >conftest.err
67221 rm -f conftest.er1
67222 cat conftest.err >&5
67223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67224 (exit $ac_status); } &&
67225 { ac_try='test -z "$ac_cxx_werror_flag"
67226 || test ! -s conftest.err'
67227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67228 (eval $ac_try) 2>&5
67229 ac_status=$?
67230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67231 (exit $ac_status); }; } &&
67232 { ac_try='test -s conftest.$ac_objext'
67233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67234 (eval $ac_try) 2>&5
67235 ac_status=$?
67236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67237 (exit $ac_status); }; }; then
67238 glibcxx_cv_func_float_trig_use=yes
67239 else
67240 echo "$as_me: failed program was:" >&5
67241 sed 's/^/| /' conftest.$ac_ext >&5
67243 glibcxx_cv_func_float_trig_use=no
67245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67246 ac_ext=c
67247 ac_cpp='$CPP $CPPFLAGS'
67248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67254 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
67255 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
67256 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67266 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67269 echo "$as_me:$LINENO: checking for $ac_func" >&5
67270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67271 if eval "test \"\${$as_ac_var+set}\" = set"; then
67272 echo $ECHO_N "(cached) $ECHO_C" >&6
67273 else
67274 if test x$gcc_no_link = xyes; then
67275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67277 { (exit 1); exit 1; }; }
67279 cat >conftest.$ac_ext <<_ACEOF
67280 /* confdefs.h. */
67281 _ACEOF
67282 cat confdefs.h >>conftest.$ac_ext
67283 cat >>conftest.$ac_ext <<_ACEOF
67284 /* end confdefs.h. */
67285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67287 #define $ac_func innocuous_$ac_func
67289 /* System header to define __stub macros and hopefully few prototypes,
67290 which can conflict with char $ac_func (); below.
67291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67292 <limits.h> exists even on freestanding compilers. */
67294 #ifdef __STDC__
67295 # include <limits.h>
67296 #else
67297 # include <assert.h>
67298 #endif
67300 #undef $ac_func
67302 /* Override any gcc2 internal prototype to avoid an error. */
67303 #ifdef __cplusplus
67304 extern "C"
67306 #endif
67307 /* We use char because int might match the return type of a gcc2
67308 builtin and then its argument prototype would still apply. */
67309 char $ac_func ();
67310 /* The GNU C library defines this for functions which it implements
67311 to always fail with ENOSYS. Some functions are actually named
67312 something starting with __ and the normal name is an alias. */
67313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67314 choke me
67315 #else
67316 char (*f) () = $ac_func;
67317 #endif
67318 #ifdef __cplusplus
67320 #endif
67323 main ()
67325 return f != $ac_func;
67327 return 0;
67329 _ACEOF
67330 rm -f conftest.$ac_objext conftest$ac_exeext
67331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67332 (eval $ac_link) 2>conftest.er1
67333 ac_status=$?
67334 grep -v '^ *+' conftest.er1 >conftest.err
67335 rm -f conftest.er1
67336 cat conftest.err >&5
67337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67338 (exit $ac_status); } &&
67339 { ac_try='test -z "$ac_c_werror_flag"
67340 || test ! -s conftest.err'
67341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67342 (eval $ac_try) 2>&5
67343 ac_status=$?
67344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67345 (exit $ac_status); }; } &&
67346 { ac_try='test -s conftest$ac_exeext'
67347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67348 (eval $ac_try) 2>&5
67349 ac_status=$?
67350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67351 (exit $ac_status); }; }; then
67352 eval "$as_ac_var=yes"
67353 else
67354 echo "$as_me: failed program was:" >&5
67355 sed 's/^/| /' conftest.$ac_ext >&5
67357 eval "$as_ac_var=no"
67359 rm -f conftest.err conftest.$ac_objext \
67360 conftest$ac_exeext conftest.$ac_ext
67362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67364 if test `eval echo '${'$as_ac_var'}'` = yes; then
67365 cat >>confdefs.h <<_ACEOF
67366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67367 _ACEOF
67370 done
67372 else
67373 echo "$as_me:$LINENO: checking for _float trig functions" >&5
67374 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
67375 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
67376 echo $ECHO_N "(cached) $ECHO_C" >&6
67377 else
67381 ac_ext=cc
67382 ac_cpp='$CXXCPP $CPPFLAGS'
67383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67387 cat >conftest.$ac_ext <<_ACEOF
67388 /* confdefs.h. */
67389 _ACEOF
67390 cat confdefs.h >>conftest.$ac_ext
67391 cat >>conftest.$ac_ext <<_ACEOF
67392 /* end confdefs.h. */
67393 #include <math.h>
67395 main ()
67397 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67399 return 0;
67401 _ACEOF
67402 rm -f conftest.$ac_objext
67403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67404 (eval $ac_compile) 2>conftest.er1
67405 ac_status=$?
67406 grep -v '^ *+' conftest.er1 >conftest.err
67407 rm -f conftest.er1
67408 cat conftest.err >&5
67409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67410 (exit $ac_status); } &&
67411 { ac_try='test -z "$ac_cxx_werror_flag"
67412 || test ! -s conftest.err'
67413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67414 (eval $ac_try) 2>&5
67415 ac_status=$?
67416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67417 (exit $ac_status); }; } &&
67418 { ac_try='test -s conftest.$ac_objext'
67419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67420 (eval $ac_try) 2>&5
67421 ac_status=$?
67422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67423 (exit $ac_status); }; }; then
67424 glibcxx_cv_func__float_trig_use=yes
67425 else
67426 echo "$as_me: failed program was:" >&5
67427 sed 's/^/| /' conftest.$ac_ext >&5
67429 glibcxx_cv_func__float_trig_use=no
67431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67432 ac_ext=c
67433 ac_cpp='$CPP $CPPFLAGS'
67434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67440 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
67441 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
67442 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67452 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67455 echo "$as_me:$LINENO: checking for $ac_func" >&5
67456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67457 if eval "test \"\${$as_ac_var+set}\" = set"; then
67458 echo $ECHO_N "(cached) $ECHO_C" >&6
67459 else
67460 if test x$gcc_no_link = xyes; then
67461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67463 { (exit 1); exit 1; }; }
67465 cat >conftest.$ac_ext <<_ACEOF
67466 /* confdefs.h. */
67467 _ACEOF
67468 cat confdefs.h >>conftest.$ac_ext
67469 cat >>conftest.$ac_ext <<_ACEOF
67470 /* end confdefs.h. */
67471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67473 #define $ac_func innocuous_$ac_func
67475 /* System header to define __stub macros and hopefully few prototypes,
67476 which can conflict with char $ac_func (); below.
67477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67478 <limits.h> exists even on freestanding compilers. */
67480 #ifdef __STDC__
67481 # include <limits.h>
67482 #else
67483 # include <assert.h>
67484 #endif
67486 #undef $ac_func
67488 /* Override any gcc2 internal prototype to avoid an error. */
67489 #ifdef __cplusplus
67490 extern "C"
67492 #endif
67493 /* We use char because int might match the return type of a gcc2
67494 builtin and then its argument prototype would still apply. */
67495 char $ac_func ();
67496 /* The GNU C library defines this for functions which it implements
67497 to always fail with ENOSYS. Some functions are actually named
67498 something starting with __ and the normal name is an alias. */
67499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67500 choke me
67501 #else
67502 char (*f) () = $ac_func;
67503 #endif
67504 #ifdef __cplusplus
67506 #endif
67509 main ()
67511 return f != $ac_func;
67513 return 0;
67515 _ACEOF
67516 rm -f conftest.$ac_objext conftest$ac_exeext
67517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67518 (eval $ac_link) 2>conftest.er1
67519 ac_status=$?
67520 grep -v '^ *+' conftest.er1 >conftest.err
67521 rm -f conftest.er1
67522 cat conftest.err >&5
67523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67524 (exit $ac_status); } &&
67525 { ac_try='test -z "$ac_c_werror_flag"
67526 || test ! -s conftest.err'
67527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67528 (eval $ac_try) 2>&5
67529 ac_status=$?
67530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67531 (exit $ac_status); }; } &&
67532 { ac_try='test -s conftest$ac_exeext'
67533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67534 (eval $ac_try) 2>&5
67535 ac_status=$?
67536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67537 (exit $ac_status); }; }; then
67538 eval "$as_ac_var=yes"
67539 else
67540 echo "$as_me: failed program was:" >&5
67541 sed 's/^/| /' conftest.$ac_ext >&5
67543 eval "$as_ac_var=no"
67545 rm -f conftest.err conftest.$ac_objext \
67546 conftest$ac_exeext conftest.$ac_ext
67548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67550 if test `eval echo '${'$as_ac_var'}'` = yes; then
67551 cat >>confdefs.h <<_ACEOF
67552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67553 _ACEOF
67556 done
67574 echo "$as_me:$LINENO: checking for float round functions" >&5
67575 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
67576 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
67577 echo $ECHO_N "(cached) $ECHO_C" >&6
67578 else
67582 ac_ext=cc
67583 ac_cpp='$CXXCPP $CPPFLAGS'
67584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67588 cat >conftest.$ac_ext <<_ACEOF
67589 /* confdefs.h. */
67590 _ACEOF
67591 cat confdefs.h >>conftest.$ac_ext
67592 cat >>conftest.$ac_ext <<_ACEOF
67593 /* end confdefs.h. */
67594 #include <math.h>
67596 main ()
67598 ceilf (0); floorf (0);
67600 return 0;
67602 _ACEOF
67603 rm -f conftest.$ac_objext
67604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67605 (eval $ac_compile) 2>conftest.er1
67606 ac_status=$?
67607 grep -v '^ *+' conftest.er1 >conftest.err
67608 rm -f conftest.er1
67609 cat conftest.err >&5
67610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67611 (exit $ac_status); } &&
67612 { ac_try='test -z "$ac_cxx_werror_flag"
67613 || test ! -s conftest.err'
67614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67615 (eval $ac_try) 2>&5
67616 ac_status=$?
67617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67618 (exit $ac_status); }; } &&
67619 { ac_try='test -s conftest.$ac_objext'
67620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67621 (eval $ac_try) 2>&5
67622 ac_status=$?
67623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67624 (exit $ac_status); }; }; then
67625 glibcxx_cv_func_float_round_use=yes
67626 else
67627 echo "$as_me: failed program was:" >&5
67628 sed 's/^/| /' conftest.$ac_ext >&5
67630 glibcxx_cv_func_float_round_use=no
67632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67633 ac_ext=c
67634 ac_cpp='$CPP $CPPFLAGS'
67635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67641 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
67642 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
67643 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67646 for ac_func in ceilf floorf
67648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67649 echo "$as_me:$LINENO: checking for $ac_func" >&5
67650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67651 if eval "test \"\${$as_ac_var+set}\" = set"; then
67652 echo $ECHO_N "(cached) $ECHO_C" >&6
67653 else
67654 if test x$gcc_no_link = xyes; then
67655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67657 { (exit 1); exit 1; }; }
67659 cat >conftest.$ac_ext <<_ACEOF
67660 /* confdefs.h. */
67661 _ACEOF
67662 cat confdefs.h >>conftest.$ac_ext
67663 cat >>conftest.$ac_ext <<_ACEOF
67664 /* end confdefs.h. */
67665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67667 #define $ac_func innocuous_$ac_func
67669 /* System header to define __stub macros and hopefully few prototypes,
67670 which can conflict with char $ac_func (); below.
67671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67672 <limits.h> exists even on freestanding compilers. */
67674 #ifdef __STDC__
67675 # include <limits.h>
67676 #else
67677 # include <assert.h>
67678 #endif
67680 #undef $ac_func
67682 /* Override any gcc2 internal prototype to avoid an error. */
67683 #ifdef __cplusplus
67684 extern "C"
67686 #endif
67687 /* We use char because int might match the return type of a gcc2
67688 builtin and then its argument prototype would still apply. */
67689 char $ac_func ();
67690 /* The GNU C library defines this for functions which it implements
67691 to always fail with ENOSYS. Some functions are actually named
67692 something starting with __ and the normal name is an alias. */
67693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67694 choke me
67695 #else
67696 char (*f) () = $ac_func;
67697 #endif
67698 #ifdef __cplusplus
67700 #endif
67703 main ()
67705 return f != $ac_func;
67707 return 0;
67709 _ACEOF
67710 rm -f conftest.$ac_objext conftest$ac_exeext
67711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67712 (eval $ac_link) 2>conftest.er1
67713 ac_status=$?
67714 grep -v '^ *+' conftest.er1 >conftest.err
67715 rm -f conftest.er1
67716 cat conftest.err >&5
67717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67718 (exit $ac_status); } &&
67719 { ac_try='test -z "$ac_c_werror_flag"
67720 || test ! -s conftest.err'
67721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67722 (eval $ac_try) 2>&5
67723 ac_status=$?
67724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67725 (exit $ac_status); }; } &&
67726 { ac_try='test -s conftest$ac_exeext'
67727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67728 (eval $ac_try) 2>&5
67729 ac_status=$?
67730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67731 (exit $ac_status); }; }; then
67732 eval "$as_ac_var=yes"
67733 else
67734 echo "$as_me: failed program was:" >&5
67735 sed 's/^/| /' conftest.$ac_ext >&5
67737 eval "$as_ac_var=no"
67739 rm -f conftest.err conftest.$ac_objext \
67740 conftest$ac_exeext conftest.$ac_ext
67742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67744 if test `eval echo '${'$as_ac_var'}'` = yes; then
67745 cat >>confdefs.h <<_ACEOF
67746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67747 _ACEOF
67750 done
67752 else
67753 echo "$as_me:$LINENO: checking for _float round functions" >&5
67754 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
67755 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
67756 echo $ECHO_N "(cached) $ECHO_C" >&6
67757 else
67761 ac_ext=cc
67762 ac_cpp='$CXXCPP $CPPFLAGS'
67763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67767 cat >conftest.$ac_ext <<_ACEOF
67768 /* confdefs.h. */
67769 _ACEOF
67770 cat confdefs.h >>conftest.$ac_ext
67771 cat >>conftest.$ac_ext <<_ACEOF
67772 /* end confdefs.h. */
67773 #include <math.h>
67775 main ()
67777 _ceilf (0); _floorf (0);
67779 return 0;
67781 _ACEOF
67782 rm -f conftest.$ac_objext
67783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67784 (eval $ac_compile) 2>conftest.er1
67785 ac_status=$?
67786 grep -v '^ *+' conftest.er1 >conftest.err
67787 rm -f conftest.er1
67788 cat conftest.err >&5
67789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67790 (exit $ac_status); } &&
67791 { ac_try='test -z "$ac_cxx_werror_flag"
67792 || test ! -s conftest.err'
67793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67794 (eval $ac_try) 2>&5
67795 ac_status=$?
67796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67797 (exit $ac_status); }; } &&
67798 { ac_try='test -s conftest.$ac_objext'
67799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67800 (eval $ac_try) 2>&5
67801 ac_status=$?
67802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67803 (exit $ac_status); }; }; then
67804 glibcxx_cv_func__float_round_use=yes
67805 else
67806 echo "$as_me: failed program was:" >&5
67807 sed 's/^/| /' conftest.$ac_ext >&5
67809 glibcxx_cv_func__float_round_use=no
67811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67812 ac_ext=c
67813 ac_cpp='$CPP $CPPFLAGS'
67814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67820 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
67821 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
67822 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67825 for ac_func in _ceilf _floorf
67827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67828 echo "$as_me:$LINENO: checking for $ac_func" >&5
67829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67830 if eval "test \"\${$as_ac_var+set}\" = set"; then
67831 echo $ECHO_N "(cached) $ECHO_C" >&6
67832 else
67833 if test x$gcc_no_link = xyes; then
67834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67836 { (exit 1); exit 1; }; }
67838 cat >conftest.$ac_ext <<_ACEOF
67839 /* confdefs.h. */
67840 _ACEOF
67841 cat confdefs.h >>conftest.$ac_ext
67842 cat >>conftest.$ac_ext <<_ACEOF
67843 /* end confdefs.h. */
67844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67846 #define $ac_func innocuous_$ac_func
67848 /* System header to define __stub macros and hopefully few prototypes,
67849 which can conflict with char $ac_func (); below.
67850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67851 <limits.h> exists even on freestanding compilers. */
67853 #ifdef __STDC__
67854 # include <limits.h>
67855 #else
67856 # include <assert.h>
67857 #endif
67859 #undef $ac_func
67861 /* Override any gcc2 internal prototype to avoid an error. */
67862 #ifdef __cplusplus
67863 extern "C"
67865 #endif
67866 /* We use char because int might match the return type of a gcc2
67867 builtin and then its argument prototype would still apply. */
67868 char $ac_func ();
67869 /* The GNU C library defines this for functions which it implements
67870 to always fail with ENOSYS. Some functions are actually named
67871 something starting with __ and the normal name is an alias. */
67872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67873 choke me
67874 #else
67875 char (*f) () = $ac_func;
67876 #endif
67877 #ifdef __cplusplus
67879 #endif
67882 main ()
67884 return f != $ac_func;
67886 return 0;
67888 _ACEOF
67889 rm -f conftest.$ac_objext conftest$ac_exeext
67890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67891 (eval $ac_link) 2>conftest.er1
67892 ac_status=$?
67893 grep -v '^ *+' conftest.er1 >conftest.err
67894 rm -f conftest.er1
67895 cat conftest.err >&5
67896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67897 (exit $ac_status); } &&
67898 { ac_try='test -z "$ac_c_werror_flag"
67899 || test ! -s conftest.err'
67900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67901 (eval $ac_try) 2>&5
67902 ac_status=$?
67903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67904 (exit $ac_status); }; } &&
67905 { ac_try='test -s conftest$ac_exeext'
67906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67907 (eval $ac_try) 2>&5
67908 ac_status=$?
67909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67910 (exit $ac_status); }; }; then
67911 eval "$as_ac_var=yes"
67912 else
67913 echo "$as_me: failed program was:" >&5
67914 sed 's/^/| /' conftest.$ac_ext >&5
67916 eval "$as_ac_var=no"
67918 rm -f conftest.err conftest.$ac_objext \
67919 conftest$ac_exeext conftest.$ac_ext
67921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67923 if test `eval echo '${'$as_ac_var'}'` = yes; then
67924 cat >>confdefs.h <<_ACEOF
67925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67926 _ACEOF
67929 done
67941 echo "$as_me:$LINENO: checking for expf declaration" >&5
67942 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
67943 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67944 if test "${glibcxx_cv_func_expf_use+set}" = set; then
67945 echo $ECHO_N "(cached) $ECHO_C" >&6
67946 else
67950 ac_ext=cc
67951 ac_cpp='$CXXCPP $CPPFLAGS'
67952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67956 cat >conftest.$ac_ext <<_ACEOF
67957 /* confdefs.h. */
67958 _ACEOF
67959 cat confdefs.h >>conftest.$ac_ext
67960 cat >>conftest.$ac_ext <<_ACEOF
67961 /* end confdefs.h. */
67962 #include <math.h>
67963 #ifdef HAVE_IEEEFP_H
67964 #include <ieeefp.h>
67965 #endif
67968 main ()
67970 expf(0);
67972 return 0;
67974 _ACEOF
67975 rm -f conftest.$ac_objext
67976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67977 (eval $ac_compile) 2>conftest.er1
67978 ac_status=$?
67979 grep -v '^ *+' conftest.er1 >conftest.err
67980 rm -f conftest.er1
67981 cat conftest.err >&5
67982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67983 (exit $ac_status); } &&
67984 { ac_try='test -z "$ac_cxx_werror_flag"
67985 || test ! -s conftest.err'
67986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67987 (eval $ac_try) 2>&5
67988 ac_status=$?
67989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67990 (exit $ac_status); }; } &&
67991 { ac_try='test -s conftest.$ac_objext'
67992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67993 (eval $ac_try) 2>&5
67994 ac_status=$?
67995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67996 (exit $ac_status); }; }; then
67997 glibcxx_cv_func_expf_use=yes
67998 else
67999 echo "$as_me: failed program was:" >&5
68000 sed 's/^/| /' conftest.$ac_ext >&5
68002 glibcxx_cv_func_expf_use=no
68004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68005 ac_ext=c
68006 ac_cpp='$CPP $CPPFLAGS'
68007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68015 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
68016 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
68018 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68020 for ac_func in expf
68022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68023 echo "$as_me:$LINENO: checking for $ac_func" >&5
68024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68025 if eval "test \"\${$as_ac_var+set}\" = set"; then
68026 echo $ECHO_N "(cached) $ECHO_C" >&6
68027 else
68028 if test x$gcc_no_link = xyes; then
68029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68031 { (exit 1); exit 1; }; }
68033 cat >conftest.$ac_ext <<_ACEOF
68034 /* confdefs.h. */
68035 _ACEOF
68036 cat confdefs.h >>conftest.$ac_ext
68037 cat >>conftest.$ac_ext <<_ACEOF
68038 /* end confdefs.h. */
68039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68041 #define $ac_func innocuous_$ac_func
68043 /* System header to define __stub macros and hopefully few prototypes,
68044 which can conflict with char $ac_func (); below.
68045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68046 <limits.h> exists even on freestanding compilers. */
68048 #ifdef __STDC__
68049 # include <limits.h>
68050 #else
68051 # include <assert.h>
68052 #endif
68054 #undef $ac_func
68056 /* Override any gcc2 internal prototype to avoid an error. */
68057 #ifdef __cplusplus
68058 extern "C"
68060 #endif
68061 /* We use char because int might match the return type of a gcc2
68062 builtin and then its argument prototype would still apply. */
68063 char $ac_func ();
68064 /* The GNU C library defines this for functions which it implements
68065 to always fail with ENOSYS. Some functions are actually named
68066 something starting with __ and the normal name is an alias. */
68067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68068 choke me
68069 #else
68070 char (*f) () = $ac_func;
68071 #endif
68072 #ifdef __cplusplus
68074 #endif
68077 main ()
68079 return f != $ac_func;
68081 return 0;
68083 _ACEOF
68084 rm -f conftest.$ac_objext conftest$ac_exeext
68085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68086 (eval $ac_link) 2>conftest.er1
68087 ac_status=$?
68088 grep -v '^ *+' conftest.er1 >conftest.err
68089 rm -f conftest.er1
68090 cat conftest.err >&5
68091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68092 (exit $ac_status); } &&
68093 { ac_try='test -z "$ac_c_werror_flag"
68094 || test ! -s conftest.err'
68095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68096 (eval $ac_try) 2>&5
68097 ac_status=$?
68098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68099 (exit $ac_status); }; } &&
68100 { ac_try='test -s conftest$ac_exeext'
68101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68102 (eval $ac_try) 2>&5
68103 ac_status=$?
68104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68105 (exit $ac_status); }; }; then
68106 eval "$as_ac_var=yes"
68107 else
68108 echo "$as_me: failed program was:" >&5
68109 sed 's/^/| /' conftest.$ac_ext >&5
68111 eval "$as_ac_var=no"
68113 rm -f conftest.err conftest.$ac_objext \
68114 conftest$ac_exeext conftest.$ac_ext
68116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68118 if test `eval echo '${'$as_ac_var'}'` = yes; then
68119 cat >>confdefs.h <<_ACEOF
68120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68121 _ACEOF
68124 done
68126 else
68128 echo "$as_me:$LINENO: checking for _expf declaration" >&5
68129 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
68130 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68131 if test "${glibcxx_cv_func__expf_use+set}" = set; then
68132 echo $ECHO_N "(cached) $ECHO_C" >&6
68133 else
68137 ac_ext=cc
68138 ac_cpp='$CXXCPP $CPPFLAGS'
68139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68143 cat >conftest.$ac_ext <<_ACEOF
68144 /* confdefs.h. */
68145 _ACEOF
68146 cat confdefs.h >>conftest.$ac_ext
68147 cat >>conftest.$ac_ext <<_ACEOF
68148 /* end confdefs.h. */
68149 #include <math.h>
68150 #ifdef HAVE_IEEEFP_H
68151 #include <ieeefp.h>
68152 #endif
68155 main ()
68157 _expf(0);
68159 return 0;
68161 _ACEOF
68162 rm -f conftest.$ac_objext
68163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68164 (eval $ac_compile) 2>conftest.er1
68165 ac_status=$?
68166 grep -v '^ *+' conftest.er1 >conftest.err
68167 rm -f conftest.er1
68168 cat conftest.err >&5
68169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68170 (exit $ac_status); } &&
68171 { ac_try='test -z "$ac_cxx_werror_flag"
68172 || test ! -s conftest.err'
68173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68174 (eval $ac_try) 2>&5
68175 ac_status=$?
68176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68177 (exit $ac_status); }; } &&
68178 { ac_try='test -s conftest.$ac_objext'
68179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68180 (eval $ac_try) 2>&5
68181 ac_status=$?
68182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68183 (exit $ac_status); }; }; then
68184 glibcxx_cv_func__expf_use=yes
68185 else
68186 echo "$as_me: failed program was:" >&5
68187 sed 's/^/| /' conftest.$ac_ext >&5
68189 glibcxx_cv_func__expf_use=no
68191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68192 ac_ext=c
68193 ac_cpp='$CPP $CPPFLAGS'
68194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68202 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
68203 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
68205 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68207 for ac_func in _expf
68209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68210 echo "$as_me:$LINENO: checking for $ac_func" >&5
68211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68212 if eval "test \"\${$as_ac_var+set}\" = set"; then
68213 echo $ECHO_N "(cached) $ECHO_C" >&6
68214 else
68215 if test x$gcc_no_link = xyes; then
68216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68218 { (exit 1); exit 1; }; }
68220 cat >conftest.$ac_ext <<_ACEOF
68221 /* confdefs.h. */
68222 _ACEOF
68223 cat confdefs.h >>conftest.$ac_ext
68224 cat >>conftest.$ac_ext <<_ACEOF
68225 /* end confdefs.h. */
68226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68228 #define $ac_func innocuous_$ac_func
68230 /* System header to define __stub macros and hopefully few prototypes,
68231 which can conflict with char $ac_func (); below.
68232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68233 <limits.h> exists even on freestanding compilers. */
68235 #ifdef __STDC__
68236 # include <limits.h>
68237 #else
68238 # include <assert.h>
68239 #endif
68241 #undef $ac_func
68243 /* Override any gcc2 internal prototype to avoid an error. */
68244 #ifdef __cplusplus
68245 extern "C"
68247 #endif
68248 /* We use char because int might match the return type of a gcc2
68249 builtin and then its argument prototype would still apply. */
68250 char $ac_func ();
68251 /* The GNU C library defines this for functions which it implements
68252 to always fail with ENOSYS. Some functions are actually named
68253 something starting with __ and the normal name is an alias. */
68254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68255 choke me
68256 #else
68257 char (*f) () = $ac_func;
68258 #endif
68259 #ifdef __cplusplus
68261 #endif
68264 main ()
68266 return f != $ac_func;
68268 return 0;
68270 _ACEOF
68271 rm -f conftest.$ac_objext conftest$ac_exeext
68272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68273 (eval $ac_link) 2>conftest.er1
68274 ac_status=$?
68275 grep -v '^ *+' conftest.er1 >conftest.err
68276 rm -f conftest.er1
68277 cat conftest.err >&5
68278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68279 (exit $ac_status); } &&
68280 { ac_try='test -z "$ac_c_werror_flag"
68281 || test ! -s conftest.err'
68282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68283 (eval $ac_try) 2>&5
68284 ac_status=$?
68285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68286 (exit $ac_status); }; } &&
68287 { ac_try='test -s conftest$ac_exeext'
68288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68289 (eval $ac_try) 2>&5
68290 ac_status=$?
68291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68292 (exit $ac_status); }; }; then
68293 eval "$as_ac_var=yes"
68294 else
68295 echo "$as_me: failed program was:" >&5
68296 sed 's/^/| /' conftest.$ac_ext >&5
68298 eval "$as_ac_var=no"
68300 rm -f conftest.err conftest.$ac_objext \
68301 conftest$ac_exeext conftest.$ac_ext
68303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68305 if test `eval echo '${'$as_ac_var'}'` = yes; then
68306 cat >>confdefs.h <<_ACEOF
68307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68308 _ACEOF
68311 done
68321 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
68322 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
68323 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68324 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
68325 echo $ECHO_N "(cached) $ECHO_C" >&6
68326 else
68330 ac_ext=cc
68331 ac_cpp='$CXXCPP $CPPFLAGS'
68332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68336 cat >conftest.$ac_ext <<_ACEOF
68337 /* confdefs.h. */
68338 _ACEOF
68339 cat confdefs.h >>conftest.$ac_ext
68340 cat >>conftest.$ac_ext <<_ACEOF
68341 /* end confdefs.h. */
68342 #include <math.h>
68343 #ifdef HAVE_IEEEFP_H
68344 #include <ieeefp.h>
68345 #endif
68348 main ()
68350 isnanf(0);
68352 return 0;
68354 _ACEOF
68355 rm -f conftest.$ac_objext
68356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68357 (eval $ac_compile) 2>conftest.er1
68358 ac_status=$?
68359 grep -v '^ *+' conftest.er1 >conftest.err
68360 rm -f conftest.er1
68361 cat conftest.err >&5
68362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68363 (exit $ac_status); } &&
68364 { ac_try='test -z "$ac_cxx_werror_flag"
68365 || test ! -s conftest.err'
68366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68367 (eval $ac_try) 2>&5
68368 ac_status=$?
68369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68370 (exit $ac_status); }; } &&
68371 { ac_try='test -s conftest.$ac_objext'
68372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68373 (eval $ac_try) 2>&5
68374 ac_status=$?
68375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68376 (exit $ac_status); }; }; then
68377 glibcxx_cv_func_isnanf_use=yes
68378 else
68379 echo "$as_me: failed program was:" >&5
68380 sed 's/^/| /' conftest.$ac_ext >&5
68382 glibcxx_cv_func_isnanf_use=no
68384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68385 ac_ext=c
68386 ac_cpp='$CPP $CPPFLAGS'
68387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68395 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
68396 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
68398 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68400 for ac_func in isnanf
68402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68403 echo "$as_me:$LINENO: checking for $ac_func" >&5
68404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68405 if eval "test \"\${$as_ac_var+set}\" = set"; then
68406 echo $ECHO_N "(cached) $ECHO_C" >&6
68407 else
68408 if test x$gcc_no_link = xyes; then
68409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68411 { (exit 1); exit 1; }; }
68413 cat >conftest.$ac_ext <<_ACEOF
68414 /* confdefs.h. */
68415 _ACEOF
68416 cat confdefs.h >>conftest.$ac_ext
68417 cat >>conftest.$ac_ext <<_ACEOF
68418 /* end confdefs.h. */
68419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68421 #define $ac_func innocuous_$ac_func
68423 /* System header to define __stub macros and hopefully few prototypes,
68424 which can conflict with char $ac_func (); below.
68425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68426 <limits.h> exists even on freestanding compilers. */
68428 #ifdef __STDC__
68429 # include <limits.h>
68430 #else
68431 # include <assert.h>
68432 #endif
68434 #undef $ac_func
68436 /* Override any gcc2 internal prototype to avoid an error. */
68437 #ifdef __cplusplus
68438 extern "C"
68440 #endif
68441 /* We use char because int might match the return type of a gcc2
68442 builtin and then its argument prototype would still apply. */
68443 char $ac_func ();
68444 /* The GNU C library defines this for functions which it implements
68445 to always fail with ENOSYS. Some functions are actually named
68446 something starting with __ and the normal name is an alias. */
68447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68448 choke me
68449 #else
68450 char (*f) () = $ac_func;
68451 #endif
68452 #ifdef __cplusplus
68454 #endif
68457 main ()
68459 return f != $ac_func;
68461 return 0;
68463 _ACEOF
68464 rm -f conftest.$ac_objext conftest$ac_exeext
68465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68466 (eval $ac_link) 2>conftest.er1
68467 ac_status=$?
68468 grep -v '^ *+' conftest.er1 >conftest.err
68469 rm -f conftest.er1
68470 cat conftest.err >&5
68471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68472 (exit $ac_status); } &&
68473 { ac_try='test -z "$ac_c_werror_flag"
68474 || test ! -s conftest.err'
68475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68476 (eval $ac_try) 2>&5
68477 ac_status=$?
68478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68479 (exit $ac_status); }; } &&
68480 { ac_try='test -s conftest$ac_exeext'
68481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68482 (eval $ac_try) 2>&5
68483 ac_status=$?
68484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68485 (exit $ac_status); }; }; then
68486 eval "$as_ac_var=yes"
68487 else
68488 echo "$as_me: failed program was:" >&5
68489 sed 's/^/| /' conftest.$ac_ext >&5
68491 eval "$as_ac_var=no"
68493 rm -f conftest.err conftest.$ac_objext \
68494 conftest$ac_exeext conftest.$ac_ext
68496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68498 if test `eval echo '${'$as_ac_var'}'` = yes; then
68499 cat >>confdefs.h <<_ACEOF
68500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68501 _ACEOF
68504 done
68506 else
68508 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
68509 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
68510 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68511 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
68512 echo $ECHO_N "(cached) $ECHO_C" >&6
68513 else
68517 ac_ext=cc
68518 ac_cpp='$CXXCPP $CPPFLAGS'
68519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68523 cat >conftest.$ac_ext <<_ACEOF
68524 /* confdefs.h. */
68525 _ACEOF
68526 cat confdefs.h >>conftest.$ac_ext
68527 cat >>conftest.$ac_ext <<_ACEOF
68528 /* end confdefs.h. */
68529 #include <math.h>
68530 #ifdef HAVE_IEEEFP_H
68531 #include <ieeefp.h>
68532 #endif
68535 main ()
68537 _isnanf(0);
68539 return 0;
68541 _ACEOF
68542 rm -f conftest.$ac_objext
68543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68544 (eval $ac_compile) 2>conftest.er1
68545 ac_status=$?
68546 grep -v '^ *+' conftest.er1 >conftest.err
68547 rm -f conftest.er1
68548 cat conftest.err >&5
68549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68550 (exit $ac_status); } &&
68551 { ac_try='test -z "$ac_cxx_werror_flag"
68552 || test ! -s conftest.err'
68553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68554 (eval $ac_try) 2>&5
68555 ac_status=$?
68556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68557 (exit $ac_status); }; } &&
68558 { ac_try='test -s conftest.$ac_objext'
68559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68560 (eval $ac_try) 2>&5
68561 ac_status=$?
68562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68563 (exit $ac_status); }; }; then
68564 glibcxx_cv_func__isnanf_use=yes
68565 else
68566 echo "$as_me: failed program was:" >&5
68567 sed 's/^/| /' conftest.$ac_ext >&5
68569 glibcxx_cv_func__isnanf_use=no
68571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68572 ac_ext=c
68573 ac_cpp='$CPP $CPPFLAGS'
68574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68582 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
68583 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
68585 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68587 for ac_func in _isnanf
68589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68590 echo "$as_me:$LINENO: checking for $ac_func" >&5
68591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68592 if eval "test \"\${$as_ac_var+set}\" = set"; then
68593 echo $ECHO_N "(cached) $ECHO_C" >&6
68594 else
68595 if test x$gcc_no_link = xyes; then
68596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68598 { (exit 1); exit 1; }; }
68600 cat >conftest.$ac_ext <<_ACEOF
68601 /* confdefs.h. */
68602 _ACEOF
68603 cat confdefs.h >>conftest.$ac_ext
68604 cat >>conftest.$ac_ext <<_ACEOF
68605 /* end confdefs.h. */
68606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68608 #define $ac_func innocuous_$ac_func
68610 /* System header to define __stub macros and hopefully few prototypes,
68611 which can conflict with char $ac_func (); below.
68612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68613 <limits.h> exists even on freestanding compilers. */
68615 #ifdef __STDC__
68616 # include <limits.h>
68617 #else
68618 # include <assert.h>
68619 #endif
68621 #undef $ac_func
68623 /* Override any gcc2 internal prototype to avoid an error. */
68624 #ifdef __cplusplus
68625 extern "C"
68627 #endif
68628 /* We use char because int might match the return type of a gcc2
68629 builtin and then its argument prototype would still apply. */
68630 char $ac_func ();
68631 /* The GNU C library defines this for functions which it implements
68632 to always fail with ENOSYS. Some functions are actually named
68633 something starting with __ and the normal name is an alias. */
68634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68635 choke me
68636 #else
68637 char (*f) () = $ac_func;
68638 #endif
68639 #ifdef __cplusplus
68641 #endif
68644 main ()
68646 return f != $ac_func;
68648 return 0;
68650 _ACEOF
68651 rm -f conftest.$ac_objext conftest$ac_exeext
68652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68653 (eval $ac_link) 2>conftest.er1
68654 ac_status=$?
68655 grep -v '^ *+' conftest.er1 >conftest.err
68656 rm -f conftest.er1
68657 cat conftest.err >&5
68658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68659 (exit $ac_status); } &&
68660 { ac_try='test -z "$ac_c_werror_flag"
68661 || test ! -s conftest.err'
68662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68663 (eval $ac_try) 2>&5
68664 ac_status=$?
68665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68666 (exit $ac_status); }; } &&
68667 { ac_try='test -s conftest$ac_exeext'
68668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68669 (eval $ac_try) 2>&5
68670 ac_status=$?
68671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68672 (exit $ac_status); }; }; then
68673 eval "$as_ac_var=yes"
68674 else
68675 echo "$as_me: failed program was:" >&5
68676 sed 's/^/| /' conftest.$ac_ext >&5
68678 eval "$as_ac_var=no"
68680 rm -f conftest.err conftest.$ac_objext \
68681 conftest$ac_exeext conftest.$ac_ext
68683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68685 if test `eval echo '${'$as_ac_var'}'` = yes; then
68686 cat >>confdefs.h <<_ACEOF
68687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68688 _ACEOF
68691 done
68701 echo "$as_me:$LINENO: checking for isinff declaration" >&5
68702 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
68703 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68704 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
68705 echo $ECHO_N "(cached) $ECHO_C" >&6
68706 else
68710 ac_ext=cc
68711 ac_cpp='$CXXCPP $CPPFLAGS'
68712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68716 cat >conftest.$ac_ext <<_ACEOF
68717 /* confdefs.h. */
68718 _ACEOF
68719 cat confdefs.h >>conftest.$ac_ext
68720 cat >>conftest.$ac_ext <<_ACEOF
68721 /* end confdefs.h. */
68722 #include <math.h>
68723 #ifdef HAVE_IEEEFP_H
68724 #include <ieeefp.h>
68725 #endif
68728 main ()
68730 isinff(0);
68732 return 0;
68734 _ACEOF
68735 rm -f conftest.$ac_objext
68736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68737 (eval $ac_compile) 2>conftest.er1
68738 ac_status=$?
68739 grep -v '^ *+' conftest.er1 >conftest.err
68740 rm -f conftest.er1
68741 cat conftest.err >&5
68742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68743 (exit $ac_status); } &&
68744 { ac_try='test -z "$ac_cxx_werror_flag"
68745 || test ! -s conftest.err'
68746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68747 (eval $ac_try) 2>&5
68748 ac_status=$?
68749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68750 (exit $ac_status); }; } &&
68751 { ac_try='test -s conftest.$ac_objext'
68752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68753 (eval $ac_try) 2>&5
68754 ac_status=$?
68755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68756 (exit $ac_status); }; }; then
68757 glibcxx_cv_func_isinff_use=yes
68758 else
68759 echo "$as_me: failed program was:" >&5
68760 sed 's/^/| /' conftest.$ac_ext >&5
68762 glibcxx_cv_func_isinff_use=no
68764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68765 ac_ext=c
68766 ac_cpp='$CPP $CPPFLAGS'
68767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68775 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
68776 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
68778 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68780 for ac_func in isinff
68782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68783 echo "$as_me:$LINENO: checking for $ac_func" >&5
68784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68785 if eval "test \"\${$as_ac_var+set}\" = set"; then
68786 echo $ECHO_N "(cached) $ECHO_C" >&6
68787 else
68788 if test x$gcc_no_link = xyes; then
68789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68791 { (exit 1); exit 1; }; }
68793 cat >conftest.$ac_ext <<_ACEOF
68794 /* confdefs.h. */
68795 _ACEOF
68796 cat confdefs.h >>conftest.$ac_ext
68797 cat >>conftest.$ac_ext <<_ACEOF
68798 /* end confdefs.h. */
68799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68801 #define $ac_func innocuous_$ac_func
68803 /* System header to define __stub macros and hopefully few prototypes,
68804 which can conflict with char $ac_func (); below.
68805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68806 <limits.h> exists even on freestanding compilers. */
68808 #ifdef __STDC__
68809 # include <limits.h>
68810 #else
68811 # include <assert.h>
68812 #endif
68814 #undef $ac_func
68816 /* Override any gcc2 internal prototype to avoid an error. */
68817 #ifdef __cplusplus
68818 extern "C"
68820 #endif
68821 /* We use char because int might match the return type of a gcc2
68822 builtin and then its argument prototype would still apply. */
68823 char $ac_func ();
68824 /* The GNU C library defines this for functions which it implements
68825 to always fail with ENOSYS. Some functions are actually named
68826 something starting with __ and the normal name is an alias. */
68827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68828 choke me
68829 #else
68830 char (*f) () = $ac_func;
68831 #endif
68832 #ifdef __cplusplus
68834 #endif
68837 main ()
68839 return f != $ac_func;
68841 return 0;
68843 _ACEOF
68844 rm -f conftest.$ac_objext conftest$ac_exeext
68845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68846 (eval $ac_link) 2>conftest.er1
68847 ac_status=$?
68848 grep -v '^ *+' conftest.er1 >conftest.err
68849 rm -f conftest.er1
68850 cat conftest.err >&5
68851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68852 (exit $ac_status); } &&
68853 { ac_try='test -z "$ac_c_werror_flag"
68854 || test ! -s conftest.err'
68855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68856 (eval $ac_try) 2>&5
68857 ac_status=$?
68858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68859 (exit $ac_status); }; } &&
68860 { ac_try='test -s conftest$ac_exeext'
68861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68862 (eval $ac_try) 2>&5
68863 ac_status=$?
68864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68865 (exit $ac_status); }; }; then
68866 eval "$as_ac_var=yes"
68867 else
68868 echo "$as_me: failed program was:" >&5
68869 sed 's/^/| /' conftest.$ac_ext >&5
68871 eval "$as_ac_var=no"
68873 rm -f conftest.err conftest.$ac_objext \
68874 conftest$ac_exeext conftest.$ac_ext
68876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68878 if test `eval echo '${'$as_ac_var'}'` = yes; then
68879 cat >>confdefs.h <<_ACEOF
68880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68881 _ACEOF
68884 done
68886 else
68888 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
68889 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
68890 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68891 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
68892 echo $ECHO_N "(cached) $ECHO_C" >&6
68893 else
68897 ac_ext=cc
68898 ac_cpp='$CXXCPP $CPPFLAGS'
68899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68903 cat >conftest.$ac_ext <<_ACEOF
68904 /* confdefs.h. */
68905 _ACEOF
68906 cat confdefs.h >>conftest.$ac_ext
68907 cat >>conftest.$ac_ext <<_ACEOF
68908 /* end confdefs.h. */
68909 #include <math.h>
68910 #ifdef HAVE_IEEEFP_H
68911 #include <ieeefp.h>
68912 #endif
68915 main ()
68917 _isinff(0);
68919 return 0;
68921 _ACEOF
68922 rm -f conftest.$ac_objext
68923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68924 (eval $ac_compile) 2>conftest.er1
68925 ac_status=$?
68926 grep -v '^ *+' conftest.er1 >conftest.err
68927 rm -f conftest.er1
68928 cat conftest.err >&5
68929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68930 (exit $ac_status); } &&
68931 { ac_try='test -z "$ac_cxx_werror_flag"
68932 || test ! -s conftest.err'
68933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68934 (eval $ac_try) 2>&5
68935 ac_status=$?
68936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68937 (exit $ac_status); }; } &&
68938 { ac_try='test -s conftest.$ac_objext'
68939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68940 (eval $ac_try) 2>&5
68941 ac_status=$?
68942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68943 (exit $ac_status); }; }; then
68944 glibcxx_cv_func__isinff_use=yes
68945 else
68946 echo "$as_me: failed program was:" >&5
68947 sed 's/^/| /' conftest.$ac_ext >&5
68949 glibcxx_cv_func__isinff_use=no
68951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68952 ac_ext=c
68953 ac_cpp='$CPP $CPPFLAGS'
68954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68962 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
68963 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
68965 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68967 for ac_func in _isinff
68969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68970 echo "$as_me:$LINENO: checking for $ac_func" >&5
68971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68972 if eval "test \"\${$as_ac_var+set}\" = set"; then
68973 echo $ECHO_N "(cached) $ECHO_C" >&6
68974 else
68975 if test x$gcc_no_link = xyes; then
68976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68978 { (exit 1); exit 1; }; }
68980 cat >conftest.$ac_ext <<_ACEOF
68981 /* confdefs.h. */
68982 _ACEOF
68983 cat confdefs.h >>conftest.$ac_ext
68984 cat >>conftest.$ac_ext <<_ACEOF
68985 /* end confdefs.h. */
68986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68988 #define $ac_func innocuous_$ac_func
68990 /* System header to define __stub macros and hopefully few prototypes,
68991 which can conflict with char $ac_func (); below.
68992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68993 <limits.h> exists even on freestanding compilers. */
68995 #ifdef __STDC__
68996 # include <limits.h>
68997 #else
68998 # include <assert.h>
68999 #endif
69001 #undef $ac_func
69003 /* Override any gcc2 internal prototype to avoid an error. */
69004 #ifdef __cplusplus
69005 extern "C"
69007 #endif
69008 /* We use char because int might match the return type of a gcc2
69009 builtin and then its argument prototype would still apply. */
69010 char $ac_func ();
69011 /* The GNU C library defines this for functions which it implements
69012 to always fail with ENOSYS. Some functions are actually named
69013 something starting with __ and the normal name is an alias. */
69014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69015 choke me
69016 #else
69017 char (*f) () = $ac_func;
69018 #endif
69019 #ifdef __cplusplus
69021 #endif
69024 main ()
69026 return f != $ac_func;
69028 return 0;
69030 _ACEOF
69031 rm -f conftest.$ac_objext conftest$ac_exeext
69032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69033 (eval $ac_link) 2>conftest.er1
69034 ac_status=$?
69035 grep -v '^ *+' conftest.er1 >conftest.err
69036 rm -f conftest.er1
69037 cat conftest.err >&5
69038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69039 (exit $ac_status); } &&
69040 { ac_try='test -z "$ac_c_werror_flag"
69041 || test ! -s conftest.err'
69042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69043 (eval $ac_try) 2>&5
69044 ac_status=$?
69045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69046 (exit $ac_status); }; } &&
69047 { ac_try='test -s conftest$ac_exeext'
69048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69049 (eval $ac_try) 2>&5
69050 ac_status=$?
69051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69052 (exit $ac_status); }; }; then
69053 eval "$as_ac_var=yes"
69054 else
69055 echo "$as_me: failed program was:" >&5
69056 sed 's/^/| /' conftest.$ac_ext >&5
69058 eval "$as_ac_var=no"
69060 rm -f conftest.err conftest.$ac_objext \
69061 conftest$ac_exeext conftest.$ac_ext
69063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69065 if test `eval echo '${'$as_ac_var'}'` = yes; then
69066 cat >>confdefs.h <<_ACEOF
69067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69068 _ACEOF
69071 done
69081 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
69082 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
69083 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
69084 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
69085 echo $ECHO_N "(cached) $ECHO_C" >&6
69086 else
69090 ac_ext=cc
69091 ac_cpp='$CXXCPP $CPPFLAGS'
69092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69096 cat >conftest.$ac_ext <<_ACEOF
69097 /* confdefs.h. */
69098 _ACEOF
69099 cat confdefs.h >>conftest.$ac_ext
69100 cat >>conftest.$ac_ext <<_ACEOF
69101 /* end confdefs.h. */
69102 #include <math.h>
69104 main ()
69106 atan2f(0, 0);
69108 return 0;
69110 _ACEOF
69111 rm -f conftest.$ac_objext
69112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69113 (eval $ac_compile) 2>conftest.er1
69114 ac_status=$?
69115 grep -v '^ *+' conftest.er1 >conftest.err
69116 rm -f conftest.er1
69117 cat conftest.err >&5
69118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69119 (exit $ac_status); } &&
69120 { ac_try='test -z "$ac_cxx_werror_flag"
69121 || test ! -s conftest.err'
69122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69123 (eval $ac_try) 2>&5
69124 ac_status=$?
69125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69126 (exit $ac_status); }; } &&
69127 { ac_try='test -s conftest.$ac_objext'
69128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69129 (eval $ac_try) 2>&5
69130 ac_status=$?
69131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69132 (exit $ac_status); }; }; then
69133 glibcxx_cv_func_atan2f_use=yes
69134 else
69135 echo "$as_me: failed program was:" >&5
69136 sed 's/^/| /' conftest.$ac_ext >&5
69138 glibcxx_cv_func_atan2f_use=no
69140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69141 ac_ext=c
69142 ac_cpp='$CPP $CPPFLAGS'
69143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69151 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
69152 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
69154 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
69156 for ac_func in atan2f
69158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69159 echo "$as_me:$LINENO: checking for $ac_func" >&5
69160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69161 if eval "test \"\${$as_ac_var+set}\" = set"; then
69162 echo $ECHO_N "(cached) $ECHO_C" >&6
69163 else
69164 if test x$gcc_no_link = xyes; then
69165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69167 { (exit 1); exit 1; }; }
69169 cat >conftest.$ac_ext <<_ACEOF
69170 /* confdefs.h. */
69171 _ACEOF
69172 cat confdefs.h >>conftest.$ac_ext
69173 cat >>conftest.$ac_ext <<_ACEOF
69174 /* end confdefs.h. */
69175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69177 #define $ac_func innocuous_$ac_func
69179 /* System header to define __stub macros and hopefully few prototypes,
69180 which can conflict with char $ac_func (); below.
69181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69182 <limits.h> exists even on freestanding compilers. */
69184 #ifdef __STDC__
69185 # include <limits.h>
69186 #else
69187 # include <assert.h>
69188 #endif
69190 #undef $ac_func
69192 /* Override any gcc2 internal prototype to avoid an error. */
69193 #ifdef __cplusplus
69194 extern "C"
69196 #endif
69197 /* We use char because int might match the return type of a gcc2
69198 builtin and then its argument prototype would still apply. */
69199 char $ac_func ();
69200 /* The GNU C library defines this for functions which it implements
69201 to always fail with ENOSYS. Some functions are actually named
69202 something starting with __ and the normal name is an alias. */
69203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69204 choke me
69205 #else
69206 char (*f) () = $ac_func;
69207 #endif
69208 #ifdef __cplusplus
69210 #endif
69213 main ()
69215 return f != $ac_func;
69217 return 0;
69219 _ACEOF
69220 rm -f conftest.$ac_objext conftest$ac_exeext
69221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69222 (eval $ac_link) 2>conftest.er1
69223 ac_status=$?
69224 grep -v '^ *+' conftest.er1 >conftest.err
69225 rm -f conftest.er1
69226 cat conftest.err >&5
69227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69228 (exit $ac_status); } &&
69229 { ac_try='test -z "$ac_c_werror_flag"
69230 || test ! -s conftest.err'
69231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69232 (eval $ac_try) 2>&5
69233 ac_status=$?
69234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69235 (exit $ac_status); }; } &&
69236 { ac_try='test -s conftest$ac_exeext'
69237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69238 (eval $ac_try) 2>&5
69239 ac_status=$?
69240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69241 (exit $ac_status); }; }; then
69242 eval "$as_ac_var=yes"
69243 else
69244 echo "$as_me: failed program was:" >&5
69245 sed 's/^/| /' conftest.$ac_ext >&5
69247 eval "$as_ac_var=no"
69249 rm -f conftest.err conftest.$ac_objext \
69250 conftest$ac_exeext conftest.$ac_ext
69252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69254 if test `eval echo '${'$as_ac_var'}'` = yes; then
69255 cat >>confdefs.h <<_ACEOF
69256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69257 _ACEOF
69260 done
69262 else
69264 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
69265 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
69266 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
69267 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
69268 echo $ECHO_N "(cached) $ECHO_C" >&6
69269 else
69273 ac_ext=cc
69274 ac_cpp='$CXXCPP $CPPFLAGS'
69275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69279 cat >conftest.$ac_ext <<_ACEOF
69280 /* confdefs.h. */
69281 _ACEOF
69282 cat confdefs.h >>conftest.$ac_ext
69283 cat >>conftest.$ac_ext <<_ACEOF
69284 /* end confdefs.h. */
69285 #include <math.h>
69287 main ()
69289 _atan2f(0, 0);
69291 return 0;
69293 _ACEOF
69294 rm -f conftest.$ac_objext
69295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69296 (eval $ac_compile) 2>conftest.er1
69297 ac_status=$?
69298 grep -v '^ *+' conftest.er1 >conftest.err
69299 rm -f conftest.er1
69300 cat conftest.err >&5
69301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69302 (exit $ac_status); } &&
69303 { ac_try='test -z "$ac_cxx_werror_flag"
69304 || test ! -s conftest.err'
69305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69306 (eval $ac_try) 2>&5
69307 ac_status=$?
69308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69309 (exit $ac_status); }; } &&
69310 { ac_try='test -s conftest.$ac_objext'
69311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69312 (eval $ac_try) 2>&5
69313 ac_status=$?
69314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69315 (exit $ac_status); }; }; then
69316 glibcxx_cv_func__atan2f_use=yes
69317 else
69318 echo "$as_me: failed program was:" >&5
69319 sed 's/^/| /' conftest.$ac_ext >&5
69321 glibcxx_cv_func__atan2f_use=no
69323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69324 ac_ext=c
69325 ac_cpp='$CPP $CPPFLAGS'
69326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69334 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
69335 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
69337 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
69339 for ac_func in _atan2f
69341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69342 echo "$as_me:$LINENO: checking for $ac_func" >&5
69343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69344 if eval "test \"\${$as_ac_var+set}\" = set"; then
69345 echo $ECHO_N "(cached) $ECHO_C" >&6
69346 else
69347 if test x$gcc_no_link = xyes; then
69348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69350 { (exit 1); exit 1; }; }
69352 cat >conftest.$ac_ext <<_ACEOF
69353 /* confdefs.h. */
69354 _ACEOF
69355 cat confdefs.h >>conftest.$ac_ext
69356 cat >>conftest.$ac_ext <<_ACEOF
69357 /* end confdefs.h. */
69358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69360 #define $ac_func innocuous_$ac_func
69362 /* System header to define __stub macros and hopefully few prototypes,
69363 which can conflict with char $ac_func (); below.
69364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69365 <limits.h> exists even on freestanding compilers. */
69367 #ifdef __STDC__
69368 # include <limits.h>
69369 #else
69370 # include <assert.h>
69371 #endif
69373 #undef $ac_func
69375 /* Override any gcc2 internal prototype to avoid an error. */
69376 #ifdef __cplusplus
69377 extern "C"
69379 #endif
69380 /* We use char because int might match the return type of a gcc2
69381 builtin and then its argument prototype would still apply. */
69382 char $ac_func ();
69383 /* The GNU C library defines this for functions which it implements
69384 to always fail with ENOSYS. Some functions are actually named
69385 something starting with __ and the normal name is an alias. */
69386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69387 choke me
69388 #else
69389 char (*f) () = $ac_func;
69390 #endif
69391 #ifdef __cplusplus
69393 #endif
69396 main ()
69398 return f != $ac_func;
69400 return 0;
69402 _ACEOF
69403 rm -f conftest.$ac_objext conftest$ac_exeext
69404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69405 (eval $ac_link) 2>conftest.er1
69406 ac_status=$?
69407 grep -v '^ *+' conftest.er1 >conftest.err
69408 rm -f conftest.er1
69409 cat conftest.err >&5
69410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69411 (exit $ac_status); } &&
69412 { ac_try='test -z "$ac_c_werror_flag"
69413 || test ! -s conftest.err'
69414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69415 (eval $ac_try) 2>&5
69416 ac_status=$?
69417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69418 (exit $ac_status); }; } &&
69419 { ac_try='test -s conftest$ac_exeext'
69420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69421 (eval $ac_try) 2>&5
69422 ac_status=$?
69423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69424 (exit $ac_status); }; }; then
69425 eval "$as_ac_var=yes"
69426 else
69427 echo "$as_me: failed program was:" >&5
69428 sed 's/^/| /' conftest.$ac_ext >&5
69430 eval "$as_ac_var=no"
69432 rm -f conftest.err conftest.$ac_objext \
69433 conftest$ac_exeext conftest.$ac_ext
69435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69437 if test `eval echo '${'$as_ac_var'}'` = yes; then
69438 cat >>confdefs.h <<_ACEOF
69439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69440 _ACEOF
69443 done
69453 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
69454 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
69455 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
69456 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
69457 echo $ECHO_N "(cached) $ECHO_C" >&6
69458 else
69462 ac_ext=cc
69463 ac_cpp='$CXXCPP $CPPFLAGS'
69464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69468 cat >conftest.$ac_ext <<_ACEOF
69469 /* confdefs.h. */
69470 _ACEOF
69471 cat confdefs.h >>conftest.$ac_ext
69472 cat >>conftest.$ac_ext <<_ACEOF
69473 /* end confdefs.h. */
69474 #include <math.h>
69475 #ifdef HAVE_IEEEFP_H
69476 #include <ieeefp.h>
69477 #endif
69480 main ()
69482 fabsf(0);
69484 return 0;
69486 _ACEOF
69487 rm -f conftest.$ac_objext
69488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69489 (eval $ac_compile) 2>conftest.er1
69490 ac_status=$?
69491 grep -v '^ *+' conftest.er1 >conftest.err
69492 rm -f conftest.er1
69493 cat conftest.err >&5
69494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69495 (exit $ac_status); } &&
69496 { ac_try='test -z "$ac_cxx_werror_flag"
69497 || test ! -s conftest.err'
69498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69499 (eval $ac_try) 2>&5
69500 ac_status=$?
69501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69502 (exit $ac_status); }; } &&
69503 { ac_try='test -s conftest.$ac_objext'
69504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69505 (eval $ac_try) 2>&5
69506 ac_status=$?
69507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69508 (exit $ac_status); }; }; then
69509 glibcxx_cv_func_fabsf_use=yes
69510 else
69511 echo "$as_me: failed program was:" >&5
69512 sed 's/^/| /' conftest.$ac_ext >&5
69514 glibcxx_cv_func_fabsf_use=no
69516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69517 ac_ext=c
69518 ac_cpp='$CPP $CPPFLAGS'
69519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69527 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
69528 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
69530 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
69532 for ac_func in fabsf
69534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69535 echo "$as_me:$LINENO: checking for $ac_func" >&5
69536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69537 if eval "test \"\${$as_ac_var+set}\" = set"; then
69538 echo $ECHO_N "(cached) $ECHO_C" >&6
69539 else
69540 if test x$gcc_no_link = xyes; then
69541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69543 { (exit 1); exit 1; }; }
69545 cat >conftest.$ac_ext <<_ACEOF
69546 /* confdefs.h. */
69547 _ACEOF
69548 cat confdefs.h >>conftest.$ac_ext
69549 cat >>conftest.$ac_ext <<_ACEOF
69550 /* end confdefs.h. */
69551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69553 #define $ac_func innocuous_$ac_func
69555 /* System header to define __stub macros and hopefully few prototypes,
69556 which can conflict with char $ac_func (); below.
69557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69558 <limits.h> exists even on freestanding compilers. */
69560 #ifdef __STDC__
69561 # include <limits.h>
69562 #else
69563 # include <assert.h>
69564 #endif
69566 #undef $ac_func
69568 /* Override any gcc2 internal prototype to avoid an error. */
69569 #ifdef __cplusplus
69570 extern "C"
69572 #endif
69573 /* We use char because int might match the return type of a gcc2
69574 builtin and then its argument prototype would still apply. */
69575 char $ac_func ();
69576 /* The GNU C library defines this for functions which it implements
69577 to always fail with ENOSYS. Some functions are actually named
69578 something starting with __ and the normal name is an alias. */
69579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69580 choke me
69581 #else
69582 char (*f) () = $ac_func;
69583 #endif
69584 #ifdef __cplusplus
69586 #endif
69589 main ()
69591 return f != $ac_func;
69593 return 0;
69595 _ACEOF
69596 rm -f conftest.$ac_objext conftest$ac_exeext
69597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69598 (eval $ac_link) 2>conftest.er1
69599 ac_status=$?
69600 grep -v '^ *+' conftest.er1 >conftest.err
69601 rm -f conftest.er1
69602 cat conftest.err >&5
69603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69604 (exit $ac_status); } &&
69605 { ac_try='test -z "$ac_c_werror_flag"
69606 || test ! -s conftest.err'
69607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69608 (eval $ac_try) 2>&5
69609 ac_status=$?
69610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69611 (exit $ac_status); }; } &&
69612 { ac_try='test -s conftest$ac_exeext'
69613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69614 (eval $ac_try) 2>&5
69615 ac_status=$?
69616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69617 (exit $ac_status); }; }; then
69618 eval "$as_ac_var=yes"
69619 else
69620 echo "$as_me: failed program was:" >&5
69621 sed 's/^/| /' conftest.$ac_ext >&5
69623 eval "$as_ac_var=no"
69625 rm -f conftest.err conftest.$ac_objext \
69626 conftest$ac_exeext conftest.$ac_ext
69628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69630 if test `eval echo '${'$as_ac_var'}'` = yes; then
69631 cat >>confdefs.h <<_ACEOF
69632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69633 _ACEOF
69636 done
69638 else
69640 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
69641 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
69642 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
69643 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
69644 echo $ECHO_N "(cached) $ECHO_C" >&6
69645 else
69649 ac_ext=cc
69650 ac_cpp='$CXXCPP $CPPFLAGS'
69651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69655 cat >conftest.$ac_ext <<_ACEOF
69656 /* confdefs.h. */
69657 _ACEOF
69658 cat confdefs.h >>conftest.$ac_ext
69659 cat >>conftest.$ac_ext <<_ACEOF
69660 /* end confdefs.h. */
69661 #include <math.h>
69662 #ifdef HAVE_IEEEFP_H
69663 #include <ieeefp.h>
69664 #endif
69667 main ()
69669 _fabsf(0);
69671 return 0;
69673 _ACEOF
69674 rm -f conftest.$ac_objext
69675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69676 (eval $ac_compile) 2>conftest.er1
69677 ac_status=$?
69678 grep -v '^ *+' conftest.er1 >conftest.err
69679 rm -f conftest.er1
69680 cat conftest.err >&5
69681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69682 (exit $ac_status); } &&
69683 { ac_try='test -z "$ac_cxx_werror_flag"
69684 || test ! -s conftest.err'
69685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69686 (eval $ac_try) 2>&5
69687 ac_status=$?
69688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69689 (exit $ac_status); }; } &&
69690 { ac_try='test -s conftest.$ac_objext'
69691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69692 (eval $ac_try) 2>&5
69693 ac_status=$?
69694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69695 (exit $ac_status); }; }; then
69696 glibcxx_cv_func__fabsf_use=yes
69697 else
69698 echo "$as_me: failed program was:" >&5
69699 sed 's/^/| /' conftest.$ac_ext >&5
69701 glibcxx_cv_func__fabsf_use=no
69703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69704 ac_ext=c
69705 ac_cpp='$CPP $CPPFLAGS'
69706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69714 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
69715 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
69717 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
69719 for ac_func in _fabsf
69721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69722 echo "$as_me:$LINENO: checking for $ac_func" >&5
69723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69724 if eval "test \"\${$as_ac_var+set}\" = set"; then
69725 echo $ECHO_N "(cached) $ECHO_C" >&6
69726 else
69727 if test x$gcc_no_link = xyes; then
69728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69730 { (exit 1); exit 1; }; }
69732 cat >conftest.$ac_ext <<_ACEOF
69733 /* confdefs.h. */
69734 _ACEOF
69735 cat confdefs.h >>conftest.$ac_ext
69736 cat >>conftest.$ac_ext <<_ACEOF
69737 /* end confdefs.h. */
69738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69740 #define $ac_func innocuous_$ac_func
69742 /* System header to define __stub macros and hopefully few prototypes,
69743 which can conflict with char $ac_func (); below.
69744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69745 <limits.h> exists even on freestanding compilers. */
69747 #ifdef __STDC__
69748 # include <limits.h>
69749 #else
69750 # include <assert.h>
69751 #endif
69753 #undef $ac_func
69755 /* Override any gcc2 internal prototype to avoid an error. */
69756 #ifdef __cplusplus
69757 extern "C"
69759 #endif
69760 /* We use char because int might match the return type of a gcc2
69761 builtin and then its argument prototype would still apply. */
69762 char $ac_func ();
69763 /* The GNU C library defines this for functions which it implements
69764 to always fail with ENOSYS. Some functions are actually named
69765 something starting with __ and the normal name is an alias. */
69766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69767 choke me
69768 #else
69769 char (*f) () = $ac_func;
69770 #endif
69771 #ifdef __cplusplus
69773 #endif
69776 main ()
69778 return f != $ac_func;
69780 return 0;
69782 _ACEOF
69783 rm -f conftest.$ac_objext conftest$ac_exeext
69784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69785 (eval $ac_link) 2>conftest.er1
69786 ac_status=$?
69787 grep -v '^ *+' conftest.er1 >conftest.err
69788 rm -f conftest.er1
69789 cat conftest.err >&5
69790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69791 (exit $ac_status); } &&
69792 { ac_try='test -z "$ac_c_werror_flag"
69793 || test ! -s conftest.err'
69794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69795 (eval $ac_try) 2>&5
69796 ac_status=$?
69797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69798 (exit $ac_status); }; } &&
69799 { ac_try='test -s conftest$ac_exeext'
69800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69801 (eval $ac_try) 2>&5
69802 ac_status=$?
69803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69804 (exit $ac_status); }; }; then
69805 eval "$as_ac_var=yes"
69806 else
69807 echo "$as_me: failed program was:" >&5
69808 sed 's/^/| /' conftest.$ac_ext >&5
69810 eval "$as_ac_var=no"
69812 rm -f conftest.err conftest.$ac_objext \
69813 conftest$ac_exeext conftest.$ac_ext
69815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69817 if test `eval echo '${'$as_ac_var'}'` = yes; then
69818 cat >>confdefs.h <<_ACEOF
69819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69820 _ACEOF
69823 done
69833 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
69834 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
69835 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
69836 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
69837 echo $ECHO_N "(cached) $ECHO_C" >&6
69838 else
69842 ac_ext=cc
69843 ac_cpp='$CXXCPP $CPPFLAGS'
69844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69848 cat >conftest.$ac_ext <<_ACEOF
69849 /* confdefs.h. */
69850 _ACEOF
69851 cat confdefs.h >>conftest.$ac_ext
69852 cat >>conftest.$ac_ext <<_ACEOF
69853 /* end confdefs.h. */
69854 #include <math.h>
69856 main ()
69858 fmodf(0, 0);
69860 return 0;
69862 _ACEOF
69863 rm -f conftest.$ac_objext
69864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69865 (eval $ac_compile) 2>conftest.er1
69866 ac_status=$?
69867 grep -v '^ *+' conftest.er1 >conftest.err
69868 rm -f conftest.er1
69869 cat conftest.err >&5
69870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69871 (exit $ac_status); } &&
69872 { ac_try='test -z "$ac_cxx_werror_flag"
69873 || test ! -s conftest.err'
69874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69875 (eval $ac_try) 2>&5
69876 ac_status=$?
69877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69878 (exit $ac_status); }; } &&
69879 { ac_try='test -s conftest.$ac_objext'
69880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69881 (eval $ac_try) 2>&5
69882 ac_status=$?
69883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69884 (exit $ac_status); }; }; then
69885 glibcxx_cv_func_fmodf_use=yes
69886 else
69887 echo "$as_me: failed program was:" >&5
69888 sed 's/^/| /' conftest.$ac_ext >&5
69890 glibcxx_cv_func_fmodf_use=no
69892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69893 ac_ext=c
69894 ac_cpp='$CPP $CPPFLAGS'
69895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69903 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
69904 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
69906 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
69908 for ac_func in fmodf
69910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69911 echo "$as_me:$LINENO: checking for $ac_func" >&5
69912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69913 if eval "test \"\${$as_ac_var+set}\" = set"; then
69914 echo $ECHO_N "(cached) $ECHO_C" >&6
69915 else
69916 if test x$gcc_no_link = xyes; then
69917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69919 { (exit 1); exit 1; }; }
69921 cat >conftest.$ac_ext <<_ACEOF
69922 /* confdefs.h. */
69923 _ACEOF
69924 cat confdefs.h >>conftest.$ac_ext
69925 cat >>conftest.$ac_ext <<_ACEOF
69926 /* end confdefs.h. */
69927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69929 #define $ac_func innocuous_$ac_func
69931 /* System header to define __stub macros and hopefully few prototypes,
69932 which can conflict with char $ac_func (); below.
69933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69934 <limits.h> exists even on freestanding compilers. */
69936 #ifdef __STDC__
69937 # include <limits.h>
69938 #else
69939 # include <assert.h>
69940 #endif
69942 #undef $ac_func
69944 /* Override any gcc2 internal prototype to avoid an error. */
69945 #ifdef __cplusplus
69946 extern "C"
69948 #endif
69949 /* We use char because int might match the return type of a gcc2
69950 builtin and then its argument prototype would still apply. */
69951 char $ac_func ();
69952 /* The GNU C library defines this for functions which it implements
69953 to always fail with ENOSYS. Some functions are actually named
69954 something starting with __ and the normal name is an alias. */
69955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69956 choke me
69957 #else
69958 char (*f) () = $ac_func;
69959 #endif
69960 #ifdef __cplusplus
69962 #endif
69965 main ()
69967 return f != $ac_func;
69969 return 0;
69971 _ACEOF
69972 rm -f conftest.$ac_objext conftest$ac_exeext
69973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69974 (eval $ac_link) 2>conftest.er1
69975 ac_status=$?
69976 grep -v '^ *+' conftest.er1 >conftest.err
69977 rm -f conftest.er1
69978 cat conftest.err >&5
69979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69980 (exit $ac_status); } &&
69981 { ac_try='test -z "$ac_c_werror_flag"
69982 || test ! -s conftest.err'
69983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69984 (eval $ac_try) 2>&5
69985 ac_status=$?
69986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69987 (exit $ac_status); }; } &&
69988 { ac_try='test -s conftest$ac_exeext'
69989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69990 (eval $ac_try) 2>&5
69991 ac_status=$?
69992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69993 (exit $ac_status); }; }; then
69994 eval "$as_ac_var=yes"
69995 else
69996 echo "$as_me: failed program was:" >&5
69997 sed 's/^/| /' conftest.$ac_ext >&5
69999 eval "$as_ac_var=no"
70001 rm -f conftest.err conftest.$ac_objext \
70002 conftest$ac_exeext conftest.$ac_ext
70004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70006 if test `eval echo '${'$as_ac_var'}'` = yes; then
70007 cat >>confdefs.h <<_ACEOF
70008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70009 _ACEOF
70012 done
70014 else
70016 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
70017 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
70018 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
70019 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
70020 echo $ECHO_N "(cached) $ECHO_C" >&6
70021 else
70025 ac_ext=cc
70026 ac_cpp='$CXXCPP $CPPFLAGS'
70027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70031 cat >conftest.$ac_ext <<_ACEOF
70032 /* confdefs.h. */
70033 _ACEOF
70034 cat confdefs.h >>conftest.$ac_ext
70035 cat >>conftest.$ac_ext <<_ACEOF
70036 /* end confdefs.h. */
70037 #include <math.h>
70039 main ()
70041 _fmodf(0, 0);
70043 return 0;
70045 _ACEOF
70046 rm -f conftest.$ac_objext
70047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70048 (eval $ac_compile) 2>conftest.er1
70049 ac_status=$?
70050 grep -v '^ *+' conftest.er1 >conftest.err
70051 rm -f conftest.er1
70052 cat conftest.err >&5
70053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70054 (exit $ac_status); } &&
70055 { ac_try='test -z "$ac_cxx_werror_flag"
70056 || test ! -s conftest.err'
70057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70058 (eval $ac_try) 2>&5
70059 ac_status=$?
70060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70061 (exit $ac_status); }; } &&
70062 { ac_try='test -s conftest.$ac_objext'
70063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70064 (eval $ac_try) 2>&5
70065 ac_status=$?
70066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70067 (exit $ac_status); }; }; then
70068 glibcxx_cv_func__fmodf_use=yes
70069 else
70070 echo "$as_me: failed program was:" >&5
70071 sed 's/^/| /' conftest.$ac_ext >&5
70073 glibcxx_cv_func__fmodf_use=no
70075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70076 ac_ext=c
70077 ac_cpp='$CPP $CPPFLAGS'
70078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70086 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
70087 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
70089 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
70091 for ac_func in _fmodf
70093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70094 echo "$as_me:$LINENO: checking for $ac_func" >&5
70095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70096 if eval "test \"\${$as_ac_var+set}\" = set"; then
70097 echo $ECHO_N "(cached) $ECHO_C" >&6
70098 else
70099 if test x$gcc_no_link = xyes; then
70100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70102 { (exit 1); exit 1; }; }
70104 cat >conftest.$ac_ext <<_ACEOF
70105 /* confdefs.h. */
70106 _ACEOF
70107 cat confdefs.h >>conftest.$ac_ext
70108 cat >>conftest.$ac_ext <<_ACEOF
70109 /* end confdefs.h. */
70110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70111 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70112 #define $ac_func innocuous_$ac_func
70114 /* System header to define __stub macros and hopefully few prototypes,
70115 which can conflict with char $ac_func (); below.
70116 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70117 <limits.h> exists even on freestanding compilers. */
70119 #ifdef __STDC__
70120 # include <limits.h>
70121 #else
70122 # include <assert.h>
70123 #endif
70125 #undef $ac_func
70127 /* Override any gcc2 internal prototype to avoid an error. */
70128 #ifdef __cplusplus
70129 extern "C"
70131 #endif
70132 /* We use char because int might match the return type of a gcc2
70133 builtin and then its argument prototype would still apply. */
70134 char $ac_func ();
70135 /* The GNU C library defines this for functions which it implements
70136 to always fail with ENOSYS. Some functions are actually named
70137 something starting with __ and the normal name is an alias. */
70138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70139 choke me
70140 #else
70141 char (*f) () = $ac_func;
70142 #endif
70143 #ifdef __cplusplus
70145 #endif
70148 main ()
70150 return f != $ac_func;
70152 return 0;
70154 _ACEOF
70155 rm -f conftest.$ac_objext conftest$ac_exeext
70156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70157 (eval $ac_link) 2>conftest.er1
70158 ac_status=$?
70159 grep -v '^ *+' conftest.er1 >conftest.err
70160 rm -f conftest.er1
70161 cat conftest.err >&5
70162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70163 (exit $ac_status); } &&
70164 { ac_try='test -z "$ac_c_werror_flag"
70165 || test ! -s conftest.err'
70166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70167 (eval $ac_try) 2>&5
70168 ac_status=$?
70169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70170 (exit $ac_status); }; } &&
70171 { ac_try='test -s conftest$ac_exeext'
70172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70173 (eval $ac_try) 2>&5
70174 ac_status=$?
70175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70176 (exit $ac_status); }; }; then
70177 eval "$as_ac_var=yes"
70178 else
70179 echo "$as_me: failed program was:" >&5
70180 sed 's/^/| /' conftest.$ac_ext >&5
70182 eval "$as_ac_var=no"
70184 rm -f conftest.err conftest.$ac_objext \
70185 conftest$ac_exeext conftest.$ac_ext
70187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70189 if test `eval echo '${'$as_ac_var'}'` = yes; then
70190 cat >>confdefs.h <<_ACEOF
70191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70192 _ACEOF
70195 done
70205 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
70206 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
70207 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
70208 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
70209 echo $ECHO_N "(cached) $ECHO_C" >&6
70210 else
70214 ac_ext=cc
70215 ac_cpp='$CXXCPP $CPPFLAGS'
70216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70220 cat >conftest.$ac_ext <<_ACEOF
70221 /* confdefs.h. */
70222 _ACEOF
70223 cat confdefs.h >>conftest.$ac_ext
70224 cat >>conftest.$ac_ext <<_ACEOF
70225 /* end confdefs.h. */
70226 #include <math.h>
70228 main ()
70230 frexpf(0, 0);
70232 return 0;
70234 _ACEOF
70235 rm -f conftest.$ac_objext
70236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70237 (eval $ac_compile) 2>conftest.er1
70238 ac_status=$?
70239 grep -v '^ *+' conftest.er1 >conftest.err
70240 rm -f conftest.er1
70241 cat conftest.err >&5
70242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70243 (exit $ac_status); } &&
70244 { ac_try='test -z "$ac_cxx_werror_flag"
70245 || test ! -s conftest.err'
70246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70247 (eval $ac_try) 2>&5
70248 ac_status=$?
70249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70250 (exit $ac_status); }; } &&
70251 { ac_try='test -s conftest.$ac_objext'
70252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70253 (eval $ac_try) 2>&5
70254 ac_status=$?
70255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70256 (exit $ac_status); }; }; then
70257 glibcxx_cv_func_frexpf_use=yes
70258 else
70259 echo "$as_me: failed program was:" >&5
70260 sed 's/^/| /' conftest.$ac_ext >&5
70262 glibcxx_cv_func_frexpf_use=no
70264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70265 ac_ext=c
70266 ac_cpp='$CPP $CPPFLAGS'
70267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70275 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
70276 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
70278 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
70280 for ac_func in frexpf
70282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70283 echo "$as_me:$LINENO: checking for $ac_func" >&5
70284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70285 if eval "test \"\${$as_ac_var+set}\" = set"; then
70286 echo $ECHO_N "(cached) $ECHO_C" >&6
70287 else
70288 if test x$gcc_no_link = xyes; then
70289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70291 { (exit 1); exit 1; }; }
70293 cat >conftest.$ac_ext <<_ACEOF
70294 /* confdefs.h. */
70295 _ACEOF
70296 cat confdefs.h >>conftest.$ac_ext
70297 cat >>conftest.$ac_ext <<_ACEOF
70298 /* end confdefs.h. */
70299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70301 #define $ac_func innocuous_$ac_func
70303 /* System header to define __stub macros and hopefully few prototypes,
70304 which can conflict with char $ac_func (); below.
70305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70306 <limits.h> exists even on freestanding compilers. */
70308 #ifdef __STDC__
70309 # include <limits.h>
70310 #else
70311 # include <assert.h>
70312 #endif
70314 #undef $ac_func
70316 /* Override any gcc2 internal prototype to avoid an error. */
70317 #ifdef __cplusplus
70318 extern "C"
70320 #endif
70321 /* We use char because int might match the return type of a gcc2
70322 builtin and then its argument prototype would still apply. */
70323 char $ac_func ();
70324 /* The GNU C library defines this for functions which it implements
70325 to always fail with ENOSYS. Some functions are actually named
70326 something starting with __ and the normal name is an alias. */
70327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70328 choke me
70329 #else
70330 char (*f) () = $ac_func;
70331 #endif
70332 #ifdef __cplusplus
70334 #endif
70337 main ()
70339 return f != $ac_func;
70341 return 0;
70343 _ACEOF
70344 rm -f conftest.$ac_objext conftest$ac_exeext
70345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70346 (eval $ac_link) 2>conftest.er1
70347 ac_status=$?
70348 grep -v '^ *+' conftest.er1 >conftest.err
70349 rm -f conftest.er1
70350 cat conftest.err >&5
70351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70352 (exit $ac_status); } &&
70353 { ac_try='test -z "$ac_c_werror_flag"
70354 || test ! -s conftest.err'
70355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70356 (eval $ac_try) 2>&5
70357 ac_status=$?
70358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70359 (exit $ac_status); }; } &&
70360 { ac_try='test -s conftest$ac_exeext'
70361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70362 (eval $ac_try) 2>&5
70363 ac_status=$?
70364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70365 (exit $ac_status); }; }; then
70366 eval "$as_ac_var=yes"
70367 else
70368 echo "$as_me: failed program was:" >&5
70369 sed 's/^/| /' conftest.$ac_ext >&5
70371 eval "$as_ac_var=no"
70373 rm -f conftest.err conftest.$ac_objext \
70374 conftest$ac_exeext conftest.$ac_ext
70376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70378 if test `eval echo '${'$as_ac_var'}'` = yes; then
70379 cat >>confdefs.h <<_ACEOF
70380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70381 _ACEOF
70384 done
70386 else
70388 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
70389 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
70390 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
70391 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
70392 echo $ECHO_N "(cached) $ECHO_C" >&6
70393 else
70397 ac_ext=cc
70398 ac_cpp='$CXXCPP $CPPFLAGS'
70399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70403 cat >conftest.$ac_ext <<_ACEOF
70404 /* confdefs.h. */
70405 _ACEOF
70406 cat confdefs.h >>conftest.$ac_ext
70407 cat >>conftest.$ac_ext <<_ACEOF
70408 /* end confdefs.h. */
70409 #include <math.h>
70411 main ()
70413 _frexpf(0, 0);
70415 return 0;
70417 _ACEOF
70418 rm -f conftest.$ac_objext
70419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70420 (eval $ac_compile) 2>conftest.er1
70421 ac_status=$?
70422 grep -v '^ *+' conftest.er1 >conftest.err
70423 rm -f conftest.er1
70424 cat conftest.err >&5
70425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70426 (exit $ac_status); } &&
70427 { ac_try='test -z "$ac_cxx_werror_flag"
70428 || test ! -s conftest.err'
70429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70430 (eval $ac_try) 2>&5
70431 ac_status=$?
70432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70433 (exit $ac_status); }; } &&
70434 { ac_try='test -s conftest.$ac_objext'
70435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70436 (eval $ac_try) 2>&5
70437 ac_status=$?
70438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70439 (exit $ac_status); }; }; then
70440 glibcxx_cv_func__frexpf_use=yes
70441 else
70442 echo "$as_me: failed program was:" >&5
70443 sed 's/^/| /' conftest.$ac_ext >&5
70445 glibcxx_cv_func__frexpf_use=no
70447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70448 ac_ext=c
70449 ac_cpp='$CPP $CPPFLAGS'
70450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70458 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
70459 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
70461 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
70463 for ac_func in _frexpf
70465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70466 echo "$as_me:$LINENO: checking for $ac_func" >&5
70467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70468 if eval "test \"\${$as_ac_var+set}\" = set"; then
70469 echo $ECHO_N "(cached) $ECHO_C" >&6
70470 else
70471 if test x$gcc_no_link = xyes; then
70472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70474 { (exit 1); exit 1; }; }
70476 cat >conftest.$ac_ext <<_ACEOF
70477 /* confdefs.h. */
70478 _ACEOF
70479 cat confdefs.h >>conftest.$ac_ext
70480 cat >>conftest.$ac_ext <<_ACEOF
70481 /* end confdefs.h. */
70482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70484 #define $ac_func innocuous_$ac_func
70486 /* System header to define __stub macros and hopefully few prototypes,
70487 which can conflict with char $ac_func (); below.
70488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70489 <limits.h> exists even on freestanding compilers. */
70491 #ifdef __STDC__
70492 # include <limits.h>
70493 #else
70494 # include <assert.h>
70495 #endif
70497 #undef $ac_func
70499 /* Override any gcc2 internal prototype to avoid an error. */
70500 #ifdef __cplusplus
70501 extern "C"
70503 #endif
70504 /* We use char because int might match the return type of a gcc2
70505 builtin and then its argument prototype would still apply. */
70506 char $ac_func ();
70507 /* The GNU C library defines this for functions which it implements
70508 to always fail with ENOSYS. Some functions are actually named
70509 something starting with __ and the normal name is an alias. */
70510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70511 choke me
70512 #else
70513 char (*f) () = $ac_func;
70514 #endif
70515 #ifdef __cplusplus
70517 #endif
70520 main ()
70522 return f != $ac_func;
70524 return 0;
70526 _ACEOF
70527 rm -f conftest.$ac_objext conftest$ac_exeext
70528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70529 (eval $ac_link) 2>conftest.er1
70530 ac_status=$?
70531 grep -v '^ *+' conftest.er1 >conftest.err
70532 rm -f conftest.er1
70533 cat conftest.err >&5
70534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70535 (exit $ac_status); } &&
70536 { ac_try='test -z "$ac_c_werror_flag"
70537 || test ! -s conftest.err'
70538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70539 (eval $ac_try) 2>&5
70540 ac_status=$?
70541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70542 (exit $ac_status); }; } &&
70543 { ac_try='test -s conftest$ac_exeext'
70544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70545 (eval $ac_try) 2>&5
70546 ac_status=$?
70547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70548 (exit $ac_status); }; }; then
70549 eval "$as_ac_var=yes"
70550 else
70551 echo "$as_me: failed program was:" >&5
70552 sed 's/^/| /' conftest.$ac_ext >&5
70554 eval "$as_ac_var=no"
70556 rm -f conftest.err conftest.$ac_objext \
70557 conftest$ac_exeext conftest.$ac_ext
70559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70561 if test `eval echo '${'$as_ac_var'}'` = yes; then
70562 cat >>confdefs.h <<_ACEOF
70563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70564 _ACEOF
70567 done
70577 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
70578 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
70579 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
70580 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
70581 echo $ECHO_N "(cached) $ECHO_C" >&6
70582 else
70586 ac_ext=cc
70587 ac_cpp='$CXXCPP $CPPFLAGS'
70588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70592 cat >conftest.$ac_ext <<_ACEOF
70593 /* confdefs.h. */
70594 _ACEOF
70595 cat confdefs.h >>conftest.$ac_ext
70596 cat >>conftest.$ac_ext <<_ACEOF
70597 /* end confdefs.h. */
70598 #include <math.h>
70600 main ()
70602 hypotf(0, 0);
70604 return 0;
70606 _ACEOF
70607 rm -f conftest.$ac_objext
70608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70609 (eval $ac_compile) 2>conftest.er1
70610 ac_status=$?
70611 grep -v '^ *+' conftest.er1 >conftest.err
70612 rm -f conftest.er1
70613 cat conftest.err >&5
70614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70615 (exit $ac_status); } &&
70616 { ac_try='test -z "$ac_cxx_werror_flag"
70617 || test ! -s conftest.err'
70618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70619 (eval $ac_try) 2>&5
70620 ac_status=$?
70621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70622 (exit $ac_status); }; } &&
70623 { ac_try='test -s conftest.$ac_objext'
70624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70625 (eval $ac_try) 2>&5
70626 ac_status=$?
70627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70628 (exit $ac_status); }; }; then
70629 glibcxx_cv_func_hypotf_use=yes
70630 else
70631 echo "$as_me: failed program was:" >&5
70632 sed 's/^/| /' conftest.$ac_ext >&5
70634 glibcxx_cv_func_hypotf_use=no
70636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70637 ac_ext=c
70638 ac_cpp='$CPP $CPPFLAGS'
70639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70647 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
70648 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
70650 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
70652 for ac_func in hypotf
70654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70655 echo "$as_me:$LINENO: checking for $ac_func" >&5
70656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70657 if eval "test \"\${$as_ac_var+set}\" = set"; then
70658 echo $ECHO_N "(cached) $ECHO_C" >&6
70659 else
70660 if test x$gcc_no_link = xyes; then
70661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70663 { (exit 1); exit 1; }; }
70665 cat >conftest.$ac_ext <<_ACEOF
70666 /* confdefs.h. */
70667 _ACEOF
70668 cat confdefs.h >>conftest.$ac_ext
70669 cat >>conftest.$ac_ext <<_ACEOF
70670 /* end confdefs.h. */
70671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70673 #define $ac_func innocuous_$ac_func
70675 /* System header to define __stub macros and hopefully few prototypes,
70676 which can conflict with char $ac_func (); below.
70677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70678 <limits.h> exists even on freestanding compilers. */
70680 #ifdef __STDC__
70681 # include <limits.h>
70682 #else
70683 # include <assert.h>
70684 #endif
70686 #undef $ac_func
70688 /* Override any gcc2 internal prototype to avoid an error. */
70689 #ifdef __cplusplus
70690 extern "C"
70692 #endif
70693 /* We use char because int might match the return type of a gcc2
70694 builtin and then its argument prototype would still apply. */
70695 char $ac_func ();
70696 /* The GNU C library defines this for functions which it implements
70697 to always fail with ENOSYS. Some functions are actually named
70698 something starting with __ and the normal name is an alias. */
70699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70700 choke me
70701 #else
70702 char (*f) () = $ac_func;
70703 #endif
70704 #ifdef __cplusplus
70706 #endif
70709 main ()
70711 return f != $ac_func;
70713 return 0;
70715 _ACEOF
70716 rm -f conftest.$ac_objext conftest$ac_exeext
70717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70718 (eval $ac_link) 2>conftest.er1
70719 ac_status=$?
70720 grep -v '^ *+' conftest.er1 >conftest.err
70721 rm -f conftest.er1
70722 cat conftest.err >&5
70723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70724 (exit $ac_status); } &&
70725 { ac_try='test -z "$ac_c_werror_flag"
70726 || test ! -s conftest.err'
70727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70728 (eval $ac_try) 2>&5
70729 ac_status=$?
70730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70731 (exit $ac_status); }; } &&
70732 { ac_try='test -s conftest$ac_exeext'
70733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70734 (eval $ac_try) 2>&5
70735 ac_status=$?
70736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70737 (exit $ac_status); }; }; then
70738 eval "$as_ac_var=yes"
70739 else
70740 echo "$as_me: failed program was:" >&5
70741 sed 's/^/| /' conftest.$ac_ext >&5
70743 eval "$as_ac_var=no"
70745 rm -f conftest.err conftest.$ac_objext \
70746 conftest$ac_exeext conftest.$ac_ext
70748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70750 if test `eval echo '${'$as_ac_var'}'` = yes; then
70751 cat >>confdefs.h <<_ACEOF
70752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70753 _ACEOF
70756 done
70758 else
70760 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
70761 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
70762 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
70763 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
70764 echo $ECHO_N "(cached) $ECHO_C" >&6
70765 else
70769 ac_ext=cc
70770 ac_cpp='$CXXCPP $CPPFLAGS'
70771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70775 cat >conftest.$ac_ext <<_ACEOF
70776 /* confdefs.h. */
70777 _ACEOF
70778 cat confdefs.h >>conftest.$ac_ext
70779 cat >>conftest.$ac_ext <<_ACEOF
70780 /* end confdefs.h. */
70781 #include <math.h>
70783 main ()
70785 _hypotf(0, 0);
70787 return 0;
70789 _ACEOF
70790 rm -f conftest.$ac_objext
70791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70792 (eval $ac_compile) 2>conftest.er1
70793 ac_status=$?
70794 grep -v '^ *+' conftest.er1 >conftest.err
70795 rm -f conftest.er1
70796 cat conftest.err >&5
70797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70798 (exit $ac_status); } &&
70799 { ac_try='test -z "$ac_cxx_werror_flag"
70800 || test ! -s conftest.err'
70801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70802 (eval $ac_try) 2>&5
70803 ac_status=$?
70804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70805 (exit $ac_status); }; } &&
70806 { ac_try='test -s conftest.$ac_objext'
70807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70808 (eval $ac_try) 2>&5
70809 ac_status=$?
70810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70811 (exit $ac_status); }; }; then
70812 glibcxx_cv_func__hypotf_use=yes
70813 else
70814 echo "$as_me: failed program was:" >&5
70815 sed 's/^/| /' conftest.$ac_ext >&5
70817 glibcxx_cv_func__hypotf_use=no
70819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70820 ac_ext=c
70821 ac_cpp='$CPP $CPPFLAGS'
70822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70830 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
70831 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
70833 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
70835 for ac_func in _hypotf
70837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70838 echo "$as_me:$LINENO: checking for $ac_func" >&5
70839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70840 if eval "test \"\${$as_ac_var+set}\" = set"; then
70841 echo $ECHO_N "(cached) $ECHO_C" >&6
70842 else
70843 if test x$gcc_no_link = xyes; then
70844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70846 { (exit 1); exit 1; }; }
70848 cat >conftest.$ac_ext <<_ACEOF
70849 /* confdefs.h. */
70850 _ACEOF
70851 cat confdefs.h >>conftest.$ac_ext
70852 cat >>conftest.$ac_ext <<_ACEOF
70853 /* end confdefs.h. */
70854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70856 #define $ac_func innocuous_$ac_func
70858 /* System header to define __stub macros and hopefully few prototypes,
70859 which can conflict with char $ac_func (); below.
70860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70861 <limits.h> exists even on freestanding compilers. */
70863 #ifdef __STDC__
70864 # include <limits.h>
70865 #else
70866 # include <assert.h>
70867 #endif
70869 #undef $ac_func
70871 /* Override any gcc2 internal prototype to avoid an error. */
70872 #ifdef __cplusplus
70873 extern "C"
70875 #endif
70876 /* We use char because int might match the return type of a gcc2
70877 builtin and then its argument prototype would still apply. */
70878 char $ac_func ();
70879 /* The GNU C library defines this for functions which it implements
70880 to always fail with ENOSYS. Some functions are actually named
70881 something starting with __ and the normal name is an alias. */
70882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70883 choke me
70884 #else
70885 char (*f) () = $ac_func;
70886 #endif
70887 #ifdef __cplusplus
70889 #endif
70892 main ()
70894 return f != $ac_func;
70896 return 0;
70898 _ACEOF
70899 rm -f conftest.$ac_objext conftest$ac_exeext
70900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70901 (eval $ac_link) 2>conftest.er1
70902 ac_status=$?
70903 grep -v '^ *+' conftest.er1 >conftest.err
70904 rm -f conftest.er1
70905 cat conftest.err >&5
70906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70907 (exit $ac_status); } &&
70908 { ac_try='test -z "$ac_c_werror_flag"
70909 || test ! -s conftest.err'
70910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70911 (eval $ac_try) 2>&5
70912 ac_status=$?
70913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70914 (exit $ac_status); }; } &&
70915 { ac_try='test -s conftest$ac_exeext'
70916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70917 (eval $ac_try) 2>&5
70918 ac_status=$?
70919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70920 (exit $ac_status); }; }; then
70921 eval "$as_ac_var=yes"
70922 else
70923 echo "$as_me: failed program was:" >&5
70924 sed 's/^/| /' conftest.$ac_ext >&5
70926 eval "$as_ac_var=no"
70928 rm -f conftest.err conftest.$ac_objext \
70929 conftest$ac_exeext conftest.$ac_ext
70931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70933 if test `eval echo '${'$as_ac_var'}'` = yes; then
70934 cat >>confdefs.h <<_ACEOF
70935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70936 _ACEOF
70939 done
70949 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
70950 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
70951 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
70952 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
70953 echo $ECHO_N "(cached) $ECHO_C" >&6
70954 else
70958 ac_ext=cc
70959 ac_cpp='$CXXCPP $CPPFLAGS'
70960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70964 cat >conftest.$ac_ext <<_ACEOF
70965 /* confdefs.h. */
70966 _ACEOF
70967 cat confdefs.h >>conftest.$ac_ext
70968 cat >>conftest.$ac_ext <<_ACEOF
70969 /* end confdefs.h. */
70970 #include <math.h>
70972 main ()
70974 ldexpf(0, 0);
70976 return 0;
70978 _ACEOF
70979 rm -f conftest.$ac_objext
70980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70981 (eval $ac_compile) 2>conftest.er1
70982 ac_status=$?
70983 grep -v '^ *+' conftest.er1 >conftest.err
70984 rm -f conftest.er1
70985 cat conftest.err >&5
70986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70987 (exit $ac_status); } &&
70988 { ac_try='test -z "$ac_cxx_werror_flag"
70989 || test ! -s conftest.err'
70990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70991 (eval $ac_try) 2>&5
70992 ac_status=$?
70993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70994 (exit $ac_status); }; } &&
70995 { ac_try='test -s conftest.$ac_objext'
70996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70997 (eval $ac_try) 2>&5
70998 ac_status=$?
70999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71000 (exit $ac_status); }; }; then
71001 glibcxx_cv_func_ldexpf_use=yes
71002 else
71003 echo "$as_me: failed program was:" >&5
71004 sed 's/^/| /' conftest.$ac_ext >&5
71006 glibcxx_cv_func_ldexpf_use=no
71008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71009 ac_ext=c
71010 ac_cpp='$CPP $CPPFLAGS'
71011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71019 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
71020 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
71022 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
71024 for ac_func in ldexpf
71026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71027 echo "$as_me:$LINENO: checking for $ac_func" >&5
71028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71029 if eval "test \"\${$as_ac_var+set}\" = set"; then
71030 echo $ECHO_N "(cached) $ECHO_C" >&6
71031 else
71032 if test x$gcc_no_link = xyes; then
71033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71035 { (exit 1); exit 1; }; }
71037 cat >conftest.$ac_ext <<_ACEOF
71038 /* confdefs.h. */
71039 _ACEOF
71040 cat confdefs.h >>conftest.$ac_ext
71041 cat >>conftest.$ac_ext <<_ACEOF
71042 /* end confdefs.h. */
71043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71045 #define $ac_func innocuous_$ac_func
71047 /* System header to define __stub macros and hopefully few prototypes,
71048 which can conflict with char $ac_func (); below.
71049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71050 <limits.h> exists even on freestanding compilers. */
71052 #ifdef __STDC__
71053 # include <limits.h>
71054 #else
71055 # include <assert.h>
71056 #endif
71058 #undef $ac_func
71060 /* Override any gcc2 internal prototype to avoid an error. */
71061 #ifdef __cplusplus
71062 extern "C"
71064 #endif
71065 /* We use char because int might match the return type of a gcc2
71066 builtin and then its argument prototype would still apply. */
71067 char $ac_func ();
71068 /* The GNU C library defines this for functions which it implements
71069 to always fail with ENOSYS. Some functions are actually named
71070 something starting with __ and the normal name is an alias. */
71071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71072 choke me
71073 #else
71074 char (*f) () = $ac_func;
71075 #endif
71076 #ifdef __cplusplus
71078 #endif
71081 main ()
71083 return f != $ac_func;
71085 return 0;
71087 _ACEOF
71088 rm -f conftest.$ac_objext conftest$ac_exeext
71089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71090 (eval $ac_link) 2>conftest.er1
71091 ac_status=$?
71092 grep -v '^ *+' conftest.er1 >conftest.err
71093 rm -f conftest.er1
71094 cat conftest.err >&5
71095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71096 (exit $ac_status); } &&
71097 { ac_try='test -z "$ac_c_werror_flag"
71098 || test ! -s conftest.err'
71099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71100 (eval $ac_try) 2>&5
71101 ac_status=$?
71102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71103 (exit $ac_status); }; } &&
71104 { ac_try='test -s conftest$ac_exeext'
71105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71106 (eval $ac_try) 2>&5
71107 ac_status=$?
71108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71109 (exit $ac_status); }; }; then
71110 eval "$as_ac_var=yes"
71111 else
71112 echo "$as_me: failed program was:" >&5
71113 sed 's/^/| /' conftest.$ac_ext >&5
71115 eval "$as_ac_var=no"
71117 rm -f conftest.err conftest.$ac_objext \
71118 conftest$ac_exeext conftest.$ac_ext
71120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71122 if test `eval echo '${'$as_ac_var'}'` = yes; then
71123 cat >>confdefs.h <<_ACEOF
71124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71125 _ACEOF
71128 done
71130 else
71132 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
71133 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
71134 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
71135 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
71136 echo $ECHO_N "(cached) $ECHO_C" >&6
71137 else
71141 ac_ext=cc
71142 ac_cpp='$CXXCPP $CPPFLAGS'
71143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71147 cat >conftest.$ac_ext <<_ACEOF
71148 /* confdefs.h. */
71149 _ACEOF
71150 cat confdefs.h >>conftest.$ac_ext
71151 cat >>conftest.$ac_ext <<_ACEOF
71152 /* end confdefs.h. */
71153 #include <math.h>
71155 main ()
71157 _ldexpf(0, 0);
71159 return 0;
71161 _ACEOF
71162 rm -f conftest.$ac_objext
71163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71164 (eval $ac_compile) 2>conftest.er1
71165 ac_status=$?
71166 grep -v '^ *+' conftest.er1 >conftest.err
71167 rm -f conftest.er1
71168 cat conftest.err >&5
71169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71170 (exit $ac_status); } &&
71171 { ac_try='test -z "$ac_cxx_werror_flag"
71172 || test ! -s conftest.err'
71173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71174 (eval $ac_try) 2>&5
71175 ac_status=$?
71176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71177 (exit $ac_status); }; } &&
71178 { ac_try='test -s conftest.$ac_objext'
71179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71180 (eval $ac_try) 2>&5
71181 ac_status=$?
71182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71183 (exit $ac_status); }; }; then
71184 glibcxx_cv_func__ldexpf_use=yes
71185 else
71186 echo "$as_me: failed program was:" >&5
71187 sed 's/^/| /' conftest.$ac_ext >&5
71189 glibcxx_cv_func__ldexpf_use=no
71191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71192 ac_ext=c
71193 ac_cpp='$CPP $CPPFLAGS'
71194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71202 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
71203 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
71205 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
71207 for ac_func in _ldexpf
71209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71210 echo "$as_me:$LINENO: checking for $ac_func" >&5
71211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71212 if eval "test \"\${$as_ac_var+set}\" = set"; then
71213 echo $ECHO_N "(cached) $ECHO_C" >&6
71214 else
71215 if test x$gcc_no_link = xyes; then
71216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71218 { (exit 1); exit 1; }; }
71220 cat >conftest.$ac_ext <<_ACEOF
71221 /* confdefs.h. */
71222 _ACEOF
71223 cat confdefs.h >>conftest.$ac_ext
71224 cat >>conftest.$ac_ext <<_ACEOF
71225 /* end confdefs.h. */
71226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71228 #define $ac_func innocuous_$ac_func
71230 /* System header to define __stub macros and hopefully few prototypes,
71231 which can conflict with char $ac_func (); below.
71232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71233 <limits.h> exists even on freestanding compilers. */
71235 #ifdef __STDC__
71236 # include <limits.h>
71237 #else
71238 # include <assert.h>
71239 #endif
71241 #undef $ac_func
71243 /* Override any gcc2 internal prototype to avoid an error. */
71244 #ifdef __cplusplus
71245 extern "C"
71247 #endif
71248 /* We use char because int might match the return type of a gcc2
71249 builtin and then its argument prototype would still apply. */
71250 char $ac_func ();
71251 /* The GNU C library defines this for functions which it implements
71252 to always fail with ENOSYS. Some functions are actually named
71253 something starting with __ and the normal name is an alias. */
71254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71255 choke me
71256 #else
71257 char (*f) () = $ac_func;
71258 #endif
71259 #ifdef __cplusplus
71261 #endif
71264 main ()
71266 return f != $ac_func;
71268 return 0;
71270 _ACEOF
71271 rm -f conftest.$ac_objext conftest$ac_exeext
71272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71273 (eval $ac_link) 2>conftest.er1
71274 ac_status=$?
71275 grep -v '^ *+' conftest.er1 >conftest.err
71276 rm -f conftest.er1
71277 cat conftest.err >&5
71278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71279 (exit $ac_status); } &&
71280 { ac_try='test -z "$ac_c_werror_flag"
71281 || test ! -s conftest.err'
71282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71283 (eval $ac_try) 2>&5
71284 ac_status=$?
71285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71286 (exit $ac_status); }; } &&
71287 { ac_try='test -s conftest$ac_exeext'
71288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71289 (eval $ac_try) 2>&5
71290 ac_status=$?
71291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71292 (exit $ac_status); }; }; then
71293 eval "$as_ac_var=yes"
71294 else
71295 echo "$as_me: failed program was:" >&5
71296 sed 's/^/| /' conftest.$ac_ext >&5
71298 eval "$as_ac_var=no"
71300 rm -f conftest.err conftest.$ac_objext \
71301 conftest$ac_exeext conftest.$ac_ext
71303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71305 if test `eval echo '${'$as_ac_var'}'` = yes; then
71306 cat >>confdefs.h <<_ACEOF
71307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71308 _ACEOF
71311 done
71321 echo "$as_me:$LINENO: checking for logf declaration" >&5
71322 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
71323 if test x${glibcxx_cv_func_logf_use+set} != xset; then
71324 if test "${glibcxx_cv_func_logf_use+set}" = set; then
71325 echo $ECHO_N "(cached) $ECHO_C" >&6
71326 else
71330 ac_ext=cc
71331 ac_cpp='$CXXCPP $CPPFLAGS'
71332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71336 cat >conftest.$ac_ext <<_ACEOF
71337 /* confdefs.h. */
71338 _ACEOF
71339 cat confdefs.h >>conftest.$ac_ext
71340 cat >>conftest.$ac_ext <<_ACEOF
71341 /* end confdefs.h. */
71342 #include <math.h>
71343 #ifdef HAVE_IEEEFP_H
71344 #include <ieeefp.h>
71345 #endif
71348 main ()
71350 logf(0);
71352 return 0;
71354 _ACEOF
71355 rm -f conftest.$ac_objext
71356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71357 (eval $ac_compile) 2>conftest.er1
71358 ac_status=$?
71359 grep -v '^ *+' conftest.er1 >conftest.err
71360 rm -f conftest.er1
71361 cat conftest.err >&5
71362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71363 (exit $ac_status); } &&
71364 { ac_try='test -z "$ac_cxx_werror_flag"
71365 || test ! -s conftest.err'
71366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71367 (eval $ac_try) 2>&5
71368 ac_status=$?
71369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71370 (exit $ac_status); }; } &&
71371 { ac_try='test -s conftest.$ac_objext'
71372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71373 (eval $ac_try) 2>&5
71374 ac_status=$?
71375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71376 (exit $ac_status); }; }; then
71377 glibcxx_cv_func_logf_use=yes
71378 else
71379 echo "$as_me: failed program was:" >&5
71380 sed 's/^/| /' conftest.$ac_ext >&5
71382 glibcxx_cv_func_logf_use=no
71384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71385 ac_ext=c
71386 ac_cpp='$CPP $CPPFLAGS'
71387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71395 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
71396 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
71398 if test x$glibcxx_cv_func_logf_use = x"yes"; then
71400 for ac_func in logf
71402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71403 echo "$as_me:$LINENO: checking for $ac_func" >&5
71404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71405 if eval "test \"\${$as_ac_var+set}\" = set"; then
71406 echo $ECHO_N "(cached) $ECHO_C" >&6
71407 else
71408 if test x$gcc_no_link = xyes; then
71409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71411 { (exit 1); exit 1; }; }
71413 cat >conftest.$ac_ext <<_ACEOF
71414 /* confdefs.h. */
71415 _ACEOF
71416 cat confdefs.h >>conftest.$ac_ext
71417 cat >>conftest.$ac_ext <<_ACEOF
71418 /* end confdefs.h. */
71419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71420 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71421 #define $ac_func innocuous_$ac_func
71423 /* System header to define __stub macros and hopefully few prototypes,
71424 which can conflict with char $ac_func (); below.
71425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71426 <limits.h> exists even on freestanding compilers. */
71428 #ifdef __STDC__
71429 # include <limits.h>
71430 #else
71431 # include <assert.h>
71432 #endif
71434 #undef $ac_func
71436 /* Override any gcc2 internal prototype to avoid an error. */
71437 #ifdef __cplusplus
71438 extern "C"
71440 #endif
71441 /* We use char because int might match the return type of a gcc2
71442 builtin and then its argument prototype would still apply. */
71443 char $ac_func ();
71444 /* The GNU C library defines this for functions which it implements
71445 to always fail with ENOSYS. Some functions are actually named
71446 something starting with __ and the normal name is an alias. */
71447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71448 choke me
71449 #else
71450 char (*f) () = $ac_func;
71451 #endif
71452 #ifdef __cplusplus
71454 #endif
71457 main ()
71459 return f != $ac_func;
71461 return 0;
71463 _ACEOF
71464 rm -f conftest.$ac_objext conftest$ac_exeext
71465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71466 (eval $ac_link) 2>conftest.er1
71467 ac_status=$?
71468 grep -v '^ *+' conftest.er1 >conftest.err
71469 rm -f conftest.er1
71470 cat conftest.err >&5
71471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71472 (exit $ac_status); } &&
71473 { ac_try='test -z "$ac_c_werror_flag"
71474 || test ! -s conftest.err'
71475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71476 (eval $ac_try) 2>&5
71477 ac_status=$?
71478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71479 (exit $ac_status); }; } &&
71480 { ac_try='test -s conftest$ac_exeext'
71481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71482 (eval $ac_try) 2>&5
71483 ac_status=$?
71484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71485 (exit $ac_status); }; }; then
71486 eval "$as_ac_var=yes"
71487 else
71488 echo "$as_me: failed program was:" >&5
71489 sed 's/^/| /' conftest.$ac_ext >&5
71491 eval "$as_ac_var=no"
71493 rm -f conftest.err conftest.$ac_objext \
71494 conftest$ac_exeext conftest.$ac_ext
71496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71498 if test `eval echo '${'$as_ac_var'}'` = yes; then
71499 cat >>confdefs.h <<_ACEOF
71500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71501 _ACEOF
71504 done
71506 else
71508 echo "$as_me:$LINENO: checking for _logf declaration" >&5
71509 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
71510 if test x${glibcxx_cv_func__logf_use+set} != xset; then
71511 if test "${glibcxx_cv_func__logf_use+set}" = set; then
71512 echo $ECHO_N "(cached) $ECHO_C" >&6
71513 else
71517 ac_ext=cc
71518 ac_cpp='$CXXCPP $CPPFLAGS'
71519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71523 cat >conftest.$ac_ext <<_ACEOF
71524 /* confdefs.h. */
71525 _ACEOF
71526 cat confdefs.h >>conftest.$ac_ext
71527 cat >>conftest.$ac_ext <<_ACEOF
71528 /* end confdefs.h. */
71529 #include <math.h>
71530 #ifdef HAVE_IEEEFP_H
71531 #include <ieeefp.h>
71532 #endif
71535 main ()
71537 _logf(0);
71539 return 0;
71541 _ACEOF
71542 rm -f conftest.$ac_objext
71543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71544 (eval $ac_compile) 2>conftest.er1
71545 ac_status=$?
71546 grep -v '^ *+' conftest.er1 >conftest.err
71547 rm -f conftest.er1
71548 cat conftest.err >&5
71549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71550 (exit $ac_status); } &&
71551 { ac_try='test -z "$ac_cxx_werror_flag"
71552 || test ! -s conftest.err'
71553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71554 (eval $ac_try) 2>&5
71555 ac_status=$?
71556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71557 (exit $ac_status); }; } &&
71558 { ac_try='test -s conftest.$ac_objext'
71559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71560 (eval $ac_try) 2>&5
71561 ac_status=$?
71562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71563 (exit $ac_status); }; }; then
71564 glibcxx_cv_func__logf_use=yes
71565 else
71566 echo "$as_me: failed program was:" >&5
71567 sed 's/^/| /' conftest.$ac_ext >&5
71569 glibcxx_cv_func__logf_use=no
71571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71572 ac_ext=c
71573 ac_cpp='$CPP $CPPFLAGS'
71574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71582 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
71583 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
71585 if test x$glibcxx_cv_func__logf_use = x"yes"; then
71587 for ac_func in _logf
71589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71590 echo "$as_me:$LINENO: checking for $ac_func" >&5
71591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71592 if eval "test \"\${$as_ac_var+set}\" = set"; then
71593 echo $ECHO_N "(cached) $ECHO_C" >&6
71594 else
71595 if test x$gcc_no_link = xyes; then
71596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71598 { (exit 1); exit 1; }; }
71600 cat >conftest.$ac_ext <<_ACEOF
71601 /* confdefs.h. */
71602 _ACEOF
71603 cat confdefs.h >>conftest.$ac_ext
71604 cat >>conftest.$ac_ext <<_ACEOF
71605 /* end confdefs.h. */
71606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71608 #define $ac_func innocuous_$ac_func
71610 /* System header to define __stub macros and hopefully few prototypes,
71611 which can conflict with char $ac_func (); below.
71612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71613 <limits.h> exists even on freestanding compilers. */
71615 #ifdef __STDC__
71616 # include <limits.h>
71617 #else
71618 # include <assert.h>
71619 #endif
71621 #undef $ac_func
71623 /* Override any gcc2 internal prototype to avoid an error. */
71624 #ifdef __cplusplus
71625 extern "C"
71627 #endif
71628 /* We use char because int might match the return type of a gcc2
71629 builtin and then its argument prototype would still apply. */
71630 char $ac_func ();
71631 /* The GNU C library defines this for functions which it implements
71632 to always fail with ENOSYS. Some functions are actually named
71633 something starting with __ and the normal name is an alias. */
71634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71635 choke me
71636 #else
71637 char (*f) () = $ac_func;
71638 #endif
71639 #ifdef __cplusplus
71641 #endif
71644 main ()
71646 return f != $ac_func;
71648 return 0;
71650 _ACEOF
71651 rm -f conftest.$ac_objext conftest$ac_exeext
71652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71653 (eval $ac_link) 2>conftest.er1
71654 ac_status=$?
71655 grep -v '^ *+' conftest.er1 >conftest.err
71656 rm -f conftest.er1
71657 cat conftest.err >&5
71658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71659 (exit $ac_status); } &&
71660 { ac_try='test -z "$ac_c_werror_flag"
71661 || test ! -s conftest.err'
71662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71663 (eval $ac_try) 2>&5
71664 ac_status=$?
71665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71666 (exit $ac_status); }; } &&
71667 { ac_try='test -s conftest$ac_exeext'
71668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71669 (eval $ac_try) 2>&5
71670 ac_status=$?
71671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71672 (exit $ac_status); }; }; then
71673 eval "$as_ac_var=yes"
71674 else
71675 echo "$as_me: failed program was:" >&5
71676 sed 's/^/| /' conftest.$ac_ext >&5
71678 eval "$as_ac_var=no"
71680 rm -f conftest.err conftest.$ac_objext \
71681 conftest$ac_exeext conftest.$ac_ext
71683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71685 if test `eval echo '${'$as_ac_var'}'` = yes; then
71686 cat >>confdefs.h <<_ACEOF
71687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71688 _ACEOF
71691 done
71701 echo "$as_me:$LINENO: checking for log10f declaration" >&5
71702 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
71703 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
71704 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
71705 echo $ECHO_N "(cached) $ECHO_C" >&6
71706 else
71710 ac_ext=cc
71711 ac_cpp='$CXXCPP $CPPFLAGS'
71712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71716 cat >conftest.$ac_ext <<_ACEOF
71717 /* confdefs.h. */
71718 _ACEOF
71719 cat confdefs.h >>conftest.$ac_ext
71720 cat >>conftest.$ac_ext <<_ACEOF
71721 /* end confdefs.h. */
71722 #include <math.h>
71723 #ifdef HAVE_IEEEFP_H
71724 #include <ieeefp.h>
71725 #endif
71728 main ()
71730 log10f(0);
71732 return 0;
71734 _ACEOF
71735 rm -f conftest.$ac_objext
71736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71737 (eval $ac_compile) 2>conftest.er1
71738 ac_status=$?
71739 grep -v '^ *+' conftest.er1 >conftest.err
71740 rm -f conftest.er1
71741 cat conftest.err >&5
71742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71743 (exit $ac_status); } &&
71744 { ac_try='test -z "$ac_cxx_werror_flag"
71745 || test ! -s conftest.err'
71746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71747 (eval $ac_try) 2>&5
71748 ac_status=$?
71749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71750 (exit $ac_status); }; } &&
71751 { ac_try='test -s conftest.$ac_objext'
71752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71753 (eval $ac_try) 2>&5
71754 ac_status=$?
71755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71756 (exit $ac_status); }; }; then
71757 glibcxx_cv_func_log10f_use=yes
71758 else
71759 echo "$as_me: failed program was:" >&5
71760 sed 's/^/| /' conftest.$ac_ext >&5
71762 glibcxx_cv_func_log10f_use=no
71764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71765 ac_ext=c
71766 ac_cpp='$CPP $CPPFLAGS'
71767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71775 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
71776 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
71778 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
71780 for ac_func in log10f
71782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71783 echo "$as_me:$LINENO: checking for $ac_func" >&5
71784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71785 if eval "test \"\${$as_ac_var+set}\" = set"; then
71786 echo $ECHO_N "(cached) $ECHO_C" >&6
71787 else
71788 if test x$gcc_no_link = xyes; then
71789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71791 { (exit 1); exit 1; }; }
71793 cat >conftest.$ac_ext <<_ACEOF
71794 /* confdefs.h. */
71795 _ACEOF
71796 cat confdefs.h >>conftest.$ac_ext
71797 cat >>conftest.$ac_ext <<_ACEOF
71798 /* end confdefs.h. */
71799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71801 #define $ac_func innocuous_$ac_func
71803 /* System header to define __stub macros and hopefully few prototypes,
71804 which can conflict with char $ac_func (); below.
71805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71806 <limits.h> exists even on freestanding compilers. */
71808 #ifdef __STDC__
71809 # include <limits.h>
71810 #else
71811 # include <assert.h>
71812 #endif
71814 #undef $ac_func
71816 /* Override any gcc2 internal prototype to avoid an error. */
71817 #ifdef __cplusplus
71818 extern "C"
71820 #endif
71821 /* We use char because int might match the return type of a gcc2
71822 builtin and then its argument prototype would still apply. */
71823 char $ac_func ();
71824 /* The GNU C library defines this for functions which it implements
71825 to always fail with ENOSYS. Some functions are actually named
71826 something starting with __ and the normal name is an alias. */
71827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71828 choke me
71829 #else
71830 char (*f) () = $ac_func;
71831 #endif
71832 #ifdef __cplusplus
71834 #endif
71837 main ()
71839 return f != $ac_func;
71841 return 0;
71843 _ACEOF
71844 rm -f conftest.$ac_objext conftest$ac_exeext
71845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71846 (eval $ac_link) 2>conftest.er1
71847 ac_status=$?
71848 grep -v '^ *+' conftest.er1 >conftest.err
71849 rm -f conftest.er1
71850 cat conftest.err >&5
71851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71852 (exit $ac_status); } &&
71853 { ac_try='test -z "$ac_c_werror_flag"
71854 || test ! -s conftest.err'
71855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71856 (eval $ac_try) 2>&5
71857 ac_status=$?
71858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71859 (exit $ac_status); }; } &&
71860 { ac_try='test -s conftest$ac_exeext'
71861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71862 (eval $ac_try) 2>&5
71863 ac_status=$?
71864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71865 (exit $ac_status); }; }; then
71866 eval "$as_ac_var=yes"
71867 else
71868 echo "$as_me: failed program was:" >&5
71869 sed 's/^/| /' conftest.$ac_ext >&5
71871 eval "$as_ac_var=no"
71873 rm -f conftest.err conftest.$ac_objext \
71874 conftest$ac_exeext conftest.$ac_ext
71876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71878 if test `eval echo '${'$as_ac_var'}'` = yes; then
71879 cat >>confdefs.h <<_ACEOF
71880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71881 _ACEOF
71884 done
71886 else
71888 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
71889 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
71890 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
71891 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
71892 echo $ECHO_N "(cached) $ECHO_C" >&6
71893 else
71897 ac_ext=cc
71898 ac_cpp='$CXXCPP $CPPFLAGS'
71899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71903 cat >conftest.$ac_ext <<_ACEOF
71904 /* confdefs.h. */
71905 _ACEOF
71906 cat confdefs.h >>conftest.$ac_ext
71907 cat >>conftest.$ac_ext <<_ACEOF
71908 /* end confdefs.h. */
71909 #include <math.h>
71910 #ifdef HAVE_IEEEFP_H
71911 #include <ieeefp.h>
71912 #endif
71915 main ()
71917 _log10f(0);
71919 return 0;
71921 _ACEOF
71922 rm -f conftest.$ac_objext
71923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71924 (eval $ac_compile) 2>conftest.er1
71925 ac_status=$?
71926 grep -v '^ *+' conftest.er1 >conftest.err
71927 rm -f conftest.er1
71928 cat conftest.err >&5
71929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71930 (exit $ac_status); } &&
71931 { ac_try='test -z "$ac_cxx_werror_flag"
71932 || test ! -s conftest.err'
71933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71934 (eval $ac_try) 2>&5
71935 ac_status=$?
71936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71937 (exit $ac_status); }; } &&
71938 { ac_try='test -s conftest.$ac_objext'
71939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71940 (eval $ac_try) 2>&5
71941 ac_status=$?
71942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71943 (exit $ac_status); }; }; then
71944 glibcxx_cv_func__log10f_use=yes
71945 else
71946 echo "$as_me: failed program was:" >&5
71947 sed 's/^/| /' conftest.$ac_ext >&5
71949 glibcxx_cv_func__log10f_use=no
71951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71952 ac_ext=c
71953 ac_cpp='$CPP $CPPFLAGS'
71954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71962 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
71963 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
71965 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
71967 for ac_func in _log10f
71969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71970 echo "$as_me:$LINENO: checking for $ac_func" >&5
71971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71972 if eval "test \"\${$as_ac_var+set}\" = set"; then
71973 echo $ECHO_N "(cached) $ECHO_C" >&6
71974 else
71975 if test x$gcc_no_link = xyes; then
71976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71978 { (exit 1); exit 1; }; }
71980 cat >conftest.$ac_ext <<_ACEOF
71981 /* confdefs.h. */
71982 _ACEOF
71983 cat confdefs.h >>conftest.$ac_ext
71984 cat >>conftest.$ac_ext <<_ACEOF
71985 /* end confdefs.h. */
71986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71988 #define $ac_func innocuous_$ac_func
71990 /* System header to define __stub macros and hopefully few prototypes,
71991 which can conflict with char $ac_func (); below.
71992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71993 <limits.h> exists even on freestanding compilers. */
71995 #ifdef __STDC__
71996 # include <limits.h>
71997 #else
71998 # include <assert.h>
71999 #endif
72001 #undef $ac_func
72003 /* Override any gcc2 internal prototype to avoid an error. */
72004 #ifdef __cplusplus
72005 extern "C"
72007 #endif
72008 /* We use char because int might match the return type of a gcc2
72009 builtin and then its argument prototype would still apply. */
72010 char $ac_func ();
72011 /* The GNU C library defines this for functions which it implements
72012 to always fail with ENOSYS. Some functions are actually named
72013 something starting with __ and the normal name is an alias. */
72014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72015 choke me
72016 #else
72017 char (*f) () = $ac_func;
72018 #endif
72019 #ifdef __cplusplus
72021 #endif
72024 main ()
72026 return f != $ac_func;
72028 return 0;
72030 _ACEOF
72031 rm -f conftest.$ac_objext conftest$ac_exeext
72032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72033 (eval $ac_link) 2>conftest.er1
72034 ac_status=$?
72035 grep -v '^ *+' conftest.er1 >conftest.err
72036 rm -f conftest.er1
72037 cat conftest.err >&5
72038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72039 (exit $ac_status); } &&
72040 { ac_try='test -z "$ac_c_werror_flag"
72041 || test ! -s conftest.err'
72042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72043 (eval $ac_try) 2>&5
72044 ac_status=$?
72045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72046 (exit $ac_status); }; } &&
72047 { ac_try='test -s conftest$ac_exeext'
72048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72049 (eval $ac_try) 2>&5
72050 ac_status=$?
72051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72052 (exit $ac_status); }; }; then
72053 eval "$as_ac_var=yes"
72054 else
72055 echo "$as_me: failed program was:" >&5
72056 sed 's/^/| /' conftest.$ac_ext >&5
72058 eval "$as_ac_var=no"
72060 rm -f conftest.err conftest.$ac_objext \
72061 conftest$ac_exeext conftest.$ac_ext
72063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72065 if test `eval echo '${'$as_ac_var'}'` = yes; then
72066 cat >>confdefs.h <<_ACEOF
72067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72068 _ACEOF
72071 done
72081 echo "$as_me:$LINENO: checking for modff declaration" >&5
72082 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
72083 if test x${glibcxx_cv_func_modff_use+set} != xset; then
72084 if test "${glibcxx_cv_func_modff_use+set}" = set; then
72085 echo $ECHO_N "(cached) $ECHO_C" >&6
72086 else
72090 ac_ext=cc
72091 ac_cpp='$CXXCPP $CPPFLAGS'
72092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72096 cat >conftest.$ac_ext <<_ACEOF
72097 /* confdefs.h. */
72098 _ACEOF
72099 cat confdefs.h >>conftest.$ac_ext
72100 cat >>conftest.$ac_ext <<_ACEOF
72101 /* end confdefs.h. */
72102 #include <math.h>
72104 main ()
72106 modff(0, 0);
72108 return 0;
72110 _ACEOF
72111 rm -f conftest.$ac_objext
72112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72113 (eval $ac_compile) 2>conftest.er1
72114 ac_status=$?
72115 grep -v '^ *+' conftest.er1 >conftest.err
72116 rm -f conftest.er1
72117 cat conftest.err >&5
72118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72119 (exit $ac_status); } &&
72120 { ac_try='test -z "$ac_cxx_werror_flag"
72121 || test ! -s conftest.err'
72122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72123 (eval $ac_try) 2>&5
72124 ac_status=$?
72125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72126 (exit $ac_status); }; } &&
72127 { ac_try='test -s conftest.$ac_objext'
72128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72129 (eval $ac_try) 2>&5
72130 ac_status=$?
72131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72132 (exit $ac_status); }; }; then
72133 glibcxx_cv_func_modff_use=yes
72134 else
72135 echo "$as_me: failed program was:" >&5
72136 sed 's/^/| /' conftest.$ac_ext >&5
72138 glibcxx_cv_func_modff_use=no
72140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72141 ac_ext=c
72142 ac_cpp='$CPP $CPPFLAGS'
72143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72151 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
72152 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
72154 if test x$glibcxx_cv_func_modff_use = x"yes"; then
72156 for ac_func in modff
72158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72159 echo "$as_me:$LINENO: checking for $ac_func" >&5
72160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72161 if eval "test \"\${$as_ac_var+set}\" = set"; then
72162 echo $ECHO_N "(cached) $ECHO_C" >&6
72163 else
72164 if test x$gcc_no_link = xyes; then
72165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72167 { (exit 1); exit 1; }; }
72169 cat >conftest.$ac_ext <<_ACEOF
72170 /* confdefs.h. */
72171 _ACEOF
72172 cat confdefs.h >>conftest.$ac_ext
72173 cat >>conftest.$ac_ext <<_ACEOF
72174 /* end confdefs.h. */
72175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72177 #define $ac_func innocuous_$ac_func
72179 /* System header to define __stub macros and hopefully few prototypes,
72180 which can conflict with char $ac_func (); below.
72181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72182 <limits.h> exists even on freestanding compilers. */
72184 #ifdef __STDC__
72185 # include <limits.h>
72186 #else
72187 # include <assert.h>
72188 #endif
72190 #undef $ac_func
72192 /* Override any gcc2 internal prototype to avoid an error. */
72193 #ifdef __cplusplus
72194 extern "C"
72196 #endif
72197 /* We use char because int might match the return type of a gcc2
72198 builtin and then its argument prototype would still apply. */
72199 char $ac_func ();
72200 /* The GNU C library defines this for functions which it implements
72201 to always fail with ENOSYS. Some functions are actually named
72202 something starting with __ and the normal name is an alias. */
72203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72204 choke me
72205 #else
72206 char (*f) () = $ac_func;
72207 #endif
72208 #ifdef __cplusplus
72210 #endif
72213 main ()
72215 return f != $ac_func;
72217 return 0;
72219 _ACEOF
72220 rm -f conftest.$ac_objext conftest$ac_exeext
72221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72222 (eval $ac_link) 2>conftest.er1
72223 ac_status=$?
72224 grep -v '^ *+' conftest.er1 >conftest.err
72225 rm -f conftest.er1
72226 cat conftest.err >&5
72227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72228 (exit $ac_status); } &&
72229 { ac_try='test -z "$ac_c_werror_flag"
72230 || test ! -s conftest.err'
72231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72232 (eval $ac_try) 2>&5
72233 ac_status=$?
72234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72235 (exit $ac_status); }; } &&
72236 { ac_try='test -s conftest$ac_exeext'
72237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72238 (eval $ac_try) 2>&5
72239 ac_status=$?
72240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72241 (exit $ac_status); }; }; then
72242 eval "$as_ac_var=yes"
72243 else
72244 echo "$as_me: failed program was:" >&5
72245 sed 's/^/| /' conftest.$ac_ext >&5
72247 eval "$as_ac_var=no"
72249 rm -f conftest.err conftest.$ac_objext \
72250 conftest$ac_exeext conftest.$ac_ext
72252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72254 if test `eval echo '${'$as_ac_var'}'` = yes; then
72255 cat >>confdefs.h <<_ACEOF
72256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72257 _ACEOF
72260 done
72262 else
72264 echo "$as_me:$LINENO: checking for _modff declaration" >&5
72265 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
72266 if test x${glibcxx_cv_func__modff_use+set} != xset; then
72267 if test "${glibcxx_cv_func__modff_use+set}" = set; then
72268 echo $ECHO_N "(cached) $ECHO_C" >&6
72269 else
72273 ac_ext=cc
72274 ac_cpp='$CXXCPP $CPPFLAGS'
72275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72279 cat >conftest.$ac_ext <<_ACEOF
72280 /* confdefs.h. */
72281 _ACEOF
72282 cat confdefs.h >>conftest.$ac_ext
72283 cat >>conftest.$ac_ext <<_ACEOF
72284 /* end confdefs.h. */
72285 #include <math.h>
72287 main ()
72289 _modff(0, 0);
72291 return 0;
72293 _ACEOF
72294 rm -f conftest.$ac_objext
72295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72296 (eval $ac_compile) 2>conftest.er1
72297 ac_status=$?
72298 grep -v '^ *+' conftest.er1 >conftest.err
72299 rm -f conftest.er1
72300 cat conftest.err >&5
72301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72302 (exit $ac_status); } &&
72303 { ac_try='test -z "$ac_cxx_werror_flag"
72304 || test ! -s conftest.err'
72305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72306 (eval $ac_try) 2>&5
72307 ac_status=$?
72308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72309 (exit $ac_status); }; } &&
72310 { ac_try='test -s conftest.$ac_objext'
72311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72312 (eval $ac_try) 2>&5
72313 ac_status=$?
72314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72315 (exit $ac_status); }; }; then
72316 glibcxx_cv_func__modff_use=yes
72317 else
72318 echo "$as_me: failed program was:" >&5
72319 sed 's/^/| /' conftest.$ac_ext >&5
72321 glibcxx_cv_func__modff_use=no
72323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72324 ac_ext=c
72325 ac_cpp='$CPP $CPPFLAGS'
72326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72334 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
72335 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
72337 if test x$glibcxx_cv_func__modff_use = x"yes"; then
72339 for ac_func in _modff
72341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72342 echo "$as_me:$LINENO: checking for $ac_func" >&5
72343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72344 if eval "test \"\${$as_ac_var+set}\" = set"; then
72345 echo $ECHO_N "(cached) $ECHO_C" >&6
72346 else
72347 if test x$gcc_no_link = xyes; then
72348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72350 { (exit 1); exit 1; }; }
72352 cat >conftest.$ac_ext <<_ACEOF
72353 /* confdefs.h. */
72354 _ACEOF
72355 cat confdefs.h >>conftest.$ac_ext
72356 cat >>conftest.$ac_ext <<_ACEOF
72357 /* end confdefs.h. */
72358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72360 #define $ac_func innocuous_$ac_func
72362 /* System header to define __stub macros and hopefully few prototypes,
72363 which can conflict with char $ac_func (); below.
72364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72365 <limits.h> exists even on freestanding compilers. */
72367 #ifdef __STDC__
72368 # include <limits.h>
72369 #else
72370 # include <assert.h>
72371 #endif
72373 #undef $ac_func
72375 /* Override any gcc2 internal prototype to avoid an error. */
72376 #ifdef __cplusplus
72377 extern "C"
72379 #endif
72380 /* We use char because int might match the return type of a gcc2
72381 builtin and then its argument prototype would still apply. */
72382 char $ac_func ();
72383 /* The GNU C library defines this for functions which it implements
72384 to always fail with ENOSYS. Some functions are actually named
72385 something starting with __ and the normal name is an alias. */
72386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72387 choke me
72388 #else
72389 char (*f) () = $ac_func;
72390 #endif
72391 #ifdef __cplusplus
72393 #endif
72396 main ()
72398 return f != $ac_func;
72400 return 0;
72402 _ACEOF
72403 rm -f conftest.$ac_objext conftest$ac_exeext
72404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72405 (eval $ac_link) 2>conftest.er1
72406 ac_status=$?
72407 grep -v '^ *+' conftest.er1 >conftest.err
72408 rm -f conftest.er1
72409 cat conftest.err >&5
72410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72411 (exit $ac_status); } &&
72412 { ac_try='test -z "$ac_c_werror_flag"
72413 || test ! -s conftest.err'
72414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72415 (eval $ac_try) 2>&5
72416 ac_status=$?
72417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72418 (exit $ac_status); }; } &&
72419 { ac_try='test -s conftest$ac_exeext'
72420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72421 (eval $ac_try) 2>&5
72422 ac_status=$?
72423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72424 (exit $ac_status); }; }; then
72425 eval "$as_ac_var=yes"
72426 else
72427 echo "$as_me: failed program was:" >&5
72428 sed 's/^/| /' conftest.$ac_ext >&5
72430 eval "$as_ac_var=no"
72432 rm -f conftest.err conftest.$ac_objext \
72433 conftest$ac_exeext conftest.$ac_ext
72435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72437 if test `eval echo '${'$as_ac_var'}'` = yes; then
72438 cat >>confdefs.h <<_ACEOF
72439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72440 _ACEOF
72443 done
72453 echo "$as_me:$LINENO: checking for modf declaration" >&5
72454 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
72455 if test x${glibcxx_cv_func_modf_use+set} != xset; then
72456 if test "${glibcxx_cv_func_modf_use+set}" = set; then
72457 echo $ECHO_N "(cached) $ECHO_C" >&6
72458 else
72462 ac_ext=cc
72463 ac_cpp='$CXXCPP $CPPFLAGS'
72464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72468 cat >conftest.$ac_ext <<_ACEOF
72469 /* confdefs.h. */
72470 _ACEOF
72471 cat confdefs.h >>conftest.$ac_ext
72472 cat >>conftest.$ac_ext <<_ACEOF
72473 /* end confdefs.h. */
72474 #include <math.h>
72476 main ()
72478 modf(0, 0);
72480 return 0;
72482 _ACEOF
72483 rm -f conftest.$ac_objext
72484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72485 (eval $ac_compile) 2>conftest.er1
72486 ac_status=$?
72487 grep -v '^ *+' conftest.er1 >conftest.err
72488 rm -f conftest.er1
72489 cat conftest.err >&5
72490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72491 (exit $ac_status); } &&
72492 { ac_try='test -z "$ac_cxx_werror_flag"
72493 || test ! -s conftest.err'
72494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72495 (eval $ac_try) 2>&5
72496 ac_status=$?
72497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72498 (exit $ac_status); }; } &&
72499 { ac_try='test -s conftest.$ac_objext'
72500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72501 (eval $ac_try) 2>&5
72502 ac_status=$?
72503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72504 (exit $ac_status); }; }; then
72505 glibcxx_cv_func_modf_use=yes
72506 else
72507 echo "$as_me: failed program was:" >&5
72508 sed 's/^/| /' conftest.$ac_ext >&5
72510 glibcxx_cv_func_modf_use=no
72512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72513 ac_ext=c
72514 ac_cpp='$CPP $CPPFLAGS'
72515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72523 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
72524 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
72526 if test x$glibcxx_cv_func_modf_use = x"yes"; then
72528 for ac_func in modf
72530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72531 echo "$as_me:$LINENO: checking for $ac_func" >&5
72532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72533 if eval "test \"\${$as_ac_var+set}\" = set"; then
72534 echo $ECHO_N "(cached) $ECHO_C" >&6
72535 else
72536 if test x$gcc_no_link = xyes; then
72537 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72539 { (exit 1); exit 1; }; }
72541 cat >conftest.$ac_ext <<_ACEOF
72542 /* confdefs.h. */
72543 _ACEOF
72544 cat confdefs.h >>conftest.$ac_ext
72545 cat >>conftest.$ac_ext <<_ACEOF
72546 /* end confdefs.h. */
72547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72549 #define $ac_func innocuous_$ac_func
72551 /* System header to define __stub macros and hopefully few prototypes,
72552 which can conflict with char $ac_func (); below.
72553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72554 <limits.h> exists even on freestanding compilers. */
72556 #ifdef __STDC__
72557 # include <limits.h>
72558 #else
72559 # include <assert.h>
72560 #endif
72562 #undef $ac_func
72564 /* Override any gcc2 internal prototype to avoid an error. */
72565 #ifdef __cplusplus
72566 extern "C"
72568 #endif
72569 /* We use char because int might match the return type of a gcc2
72570 builtin and then its argument prototype would still apply. */
72571 char $ac_func ();
72572 /* The GNU C library defines this for functions which it implements
72573 to always fail with ENOSYS. Some functions are actually named
72574 something starting with __ and the normal name is an alias. */
72575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72576 choke me
72577 #else
72578 char (*f) () = $ac_func;
72579 #endif
72580 #ifdef __cplusplus
72582 #endif
72585 main ()
72587 return f != $ac_func;
72589 return 0;
72591 _ACEOF
72592 rm -f conftest.$ac_objext conftest$ac_exeext
72593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72594 (eval $ac_link) 2>conftest.er1
72595 ac_status=$?
72596 grep -v '^ *+' conftest.er1 >conftest.err
72597 rm -f conftest.er1
72598 cat conftest.err >&5
72599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72600 (exit $ac_status); } &&
72601 { ac_try='test -z "$ac_c_werror_flag"
72602 || test ! -s conftest.err'
72603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72604 (eval $ac_try) 2>&5
72605 ac_status=$?
72606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72607 (exit $ac_status); }; } &&
72608 { ac_try='test -s conftest$ac_exeext'
72609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72610 (eval $ac_try) 2>&5
72611 ac_status=$?
72612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72613 (exit $ac_status); }; }; then
72614 eval "$as_ac_var=yes"
72615 else
72616 echo "$as_me: failed program was:" >&5
72617 sed 's/^/| /' conftest.$ac_ext >&5
72619 eval "$as_ac_var=no"
72621 rm -f conftest.err conftest.$ac_objext \
72622 conftest$ac_exeext conftest.$ac_ext
72624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72626 if test `eval echo '${'$as_ac_var'}'` = yes; then
72627 cat >>confdefs.h <<_ACEOF
72628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72629 _ACEOF
72632 done
72634 else
72636 echo "$as_me:$LINENO: checking for _modf declaration" >&5
72637 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
72638 if test x${glibcxx_cv_func__modf_use+set} != xset; then
72639 if test "${glibcxx_cv_func__modf_use+set}" = set; then
72640 echo $ECHO_N "(cached) $ECHO_C" >&6
72641 else
72645 ac_ext=cc
72646 ac_cpp='$CXXCPP $CPPFLAGS'
72647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72651 cat >conftest.$ac_ext <<_ACEOF
72652 /* confdefs.h. */
72653 _ACEOF
72654 cat confdefs.h >>conftest.$ac_ext
72655 cat >>conftest.$ac_ext <<_ACEOF
72656 /* end confdefs.h. */
72657 #include <math.h>
72659 main ()
72661 _modf(0, 0);
72663 return 0;
72665 _ACEOF
72666 rm -f conftest.$ac_objext
72667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72668 (eval $ac_compile) 2>conftest.er1
72669 ac_status=$?
72670 grep -v '^ *+' conftest.er1 >conftest.err
72671 rm -f conftest.er1
72672 cat conftest.err >&5
72673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72674 (exit $ac_status); } &&
72675 { ac_try='test -z "$ac_cxx_werror_flag"
72676 || test ! -s conftest.err'
72677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72678 (eval $ac_try) 2>&5
72679 ac_status=$?
72680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72681 (exit $ac_status); }; } &&
72682 { ac_try='test -s conftest.$ac_objext'
72683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72684 (eval $ac_try) 2>&5
72685 ac_status=$?
72686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72687 (exit $ac_status); }; }; then
72688 glibcxx_cv_func__modf_use=yes
72689 else
72690 echo "$as_me: failed program was:" >&5
72691 sed 's/^/| /' conftest.$ac_ext >&5
72693 glibcxx_cv_func__modf_use=no
72695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72696 ac_ext=c
72697 ac_cpp='$CPP $CPPFLAGS'
72698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72706 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
72707 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
72709 if test x$glibcxx_cv_func__modf_use = x"yes"; then
72711 for ac_func in _modf
72713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72714 echo "$as_me:$LINENO: checking for $ac_func" >&5
72715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72716 if eval "test \"\${$as_ac_var+set}\" = set"; then
72717 echo $ECHO_N "(cached) $ECHO_C" >&6
72718 else
72719 if test x$gcc_no_link = xyes; then
72720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72722 { (exit 1); exit 1; }; }
72724 cat >conftest.$ac_ext <<_ACEOF
72725 /* confdefs.h. */
72726 _ACEOF
72727 cat confdefs.h >>conftest.$ac_ext
72728 cat >>conftest.$ac_ext <<_ACEOF
72729 /* end confdefs.h. */
72730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72732 #define $ac_func innocuous_$ac_func
72734 /* System header to define __stub macros and hopefully few prototypes,
72735 which can conflict with char $ac_func (); below.
72736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72737 <limits.h> exists even on freestanding compilers. */
72739 #ifdef __STDC__
72740 # include <limits.h>
72741 #else
72742 # include <assert.h>
72743 #endif
72745 #undef $ac_func
72747 /* Override any gcc2 internal prototype to avoid an error. */
72748 #ifdef __cplusplus
72749 extern "C"
72751 #endif
72752 /* We use char because int might match the return type of a gcc2
72753 builtin and then its argument prototype would still apply. */
72754 char $ac_func ();
72755 /* The GNU C library defines this for functions which it implements
72756 to always fail with ENOSYS. Some functions are actually named
72757 something starting with __ and the normal name is an alias. */
72758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72759 choke me
72760 #else
72761 char (*f) () = $ac_func;
72762 #endif
72763 #ifdef __cplusplus
72765 #endif
72768 main ()
72770 return f != $ac_func;
72772 return 0;
72774 _ACEOF
72775 rm -f conftest.$ac_objext conftest$ac_exeext
72776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72777 (eval $ac_link) 2>conftest.er1
72778 ac_status=$?
72779 grep -v '^ *+' conftest.er1 >conftest.err
72780 rm -f conftest.er1
72781 cat conftest.err >&5
72782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72783 (exit $ac_status); } &&
72784 { ac_try='test -z "$ac_c_werror_flag"
72785 || test ! -s conftest.err'
72786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72787 (eval $ac_try) 2>&5
72788 ac_status=$?
72789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72790 (exit $ac_status); }; } &&
72791 { ac_try='test -s conftest$ac_exeext'
72792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72793 (eval $ac_try) 2>&5
72794 ac_status=$?
72795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72796 (exit $ac_status); }; }; then
72797 eval "$as_ac_var=yes"
72798 else
72799 echo "$as_me: failed program was:" >&5
72800 sed 's/^/| /' conftest.$ac_ext >&5
72802 eval "$as_ac_var=no"
72804 rm -f conftest.err conftest.$ac_objext \
72805 conftest$ac_exeext conftest.$ac_ext
72807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72809 if test `eval echo '${'$as_ac_var'}'` = yes; then
72810 cat >>confdefs.h <<_ACEOF
72811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72812 _ACEOF
72815 done
72825 echo "$as_me:$LINENO: checking for powf declaration" >&5
72826 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
72827 if test x${glibcxx_cv_func_powf_use+set} != xset; then
72828 if test "${glibcxx_cv_func_powf_use+set}" = set; then
72829 echo $ECHO_N "(cached) $ECHO_C" >&6
72830 else
72834 ac_ext=cc
72835 ac_cpp='$CXXCPP $CPPFLAGS'
72836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72840 cat >conftest.$ac_ext <<_ACEOF
72841 /* confdefs.h. */
72842 _ACEOF
72843 cat confdefs.h >>conftest.$ac_ext
72844 cat >>conftest.$ac_ext <<_ACEOF
72845 /* end confdefs.h. */
72846 #include <math.h>
72848 main ()
72850 powf(0, 0);
72852 return 0;
72854 _ACEOF
72855 rm -f conftest.$ac_objext
72856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72857 (eval $ac_compile) 2>conftest.er1
72858 ac_status=$?
72859 grep -v '^ *+' conftest.er1 >conftest.err
72860 rm -f conftest.er1
72861 cat conftest.err >&5
72862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72863 (exit $ac_status); } &&
72864 { ac_try='test -z "$ac_cxx_werror_flag"
72865 || test ! -s conftest.err'
72866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72867 (eval $ac_try) 2>&5
72868 ac_status=$?
72869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72870 (exit $ac_status); }; } &&
72871 { ac_try='test -s conftest.$ac_objext'
72872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72873 (eval $ac_try) 2>&5
72874 ac_status=$?
72875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72876 (exit $ac_status); }; }; then
72877 glibcxx_cv_func_powf_use=yes
72878 else
72879 echo "$as_me: failed program was:" >&5
72880 sed 's/^/| /' conftest.$ac_ext >&5
72882 glibcxx_cv_func_powf_use=no
72884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72885 ac_ext=c
72886 ac_cpp='$CPP $CPPFLAGS'
72887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72895 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
72896 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
72898 if test x$glibcxx_cv_func_powf_use = x"yes"; then
72900 for ac_func in powf
72902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72903 echo "$as_me:$LINENO: checking for $ac_func" >&5
72904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72905 if eval "test \"\${$as_ac_var+set}\" = set"; then
72906 echo $ECHO_N "(cached) $ECHO_C" >&6
72907 else
72908 if test x$gcc_no_link = xyes; then
72909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72911 { (exit 1); exit 1; }; }
72913 cat >conftest.$ac_ext <<_ACEOF
72914 /* confdefs.h. */
72915 _ACEOF
72916 cat confdefs.h >>conftest.$ac_ext
72917 cat >>conftest.$ac_ext <<_ACEOF
72918 /* end confdefs.h. */
72919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72921 #define $ac_func innocuous_$ac_func
72923 /* System header to define __stub macros and hopefully few prototypes,
72924 which can conflict with char $ac_func (); below.
72925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72926 <limits.h> exists even on freestanding compilers. */
72928 #ifdef __STDC__
72929 # include <limits.h>
72930 #else
72931 # include <assert.h>
72932 #endif
72934 #undef $ac_func
72936 /* Override any gcc2 internal prototype to avoid an error. */
72937 #ifdef __cplusplus
72938 extern "C"
72940 #endif
72941 /* We use char because int might match the return type of a gcc2
72942 builtin and then its argument prototype would still apply. */
72943 char $ac_func ();
72944 /* The GNU C library defines this for functions which it implements
72945 to always fail with ENOSYS. Some functions are actually named
72946 something starting with __ and the normal name is an alias. */
72947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72948 choke me
72949 #else
72950 char (*f) () = $ac_func;
72951 #endif
72952 #ifdef __cplusplus
72954 #endif
72957 main ()
72959 return f != $ac_func;
72961 return 0;
72963 _ACEOF
72964 rm -f conftest.$ac_objext conftest$ac_exeext
72965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72966 (eval $ac_link) 2>conftest.er1
72967 ac_status=$?
72968 grep -v '^ *+' conftest.er1 >conftest.err
72969 rm -f conftest.er1
72970 cat conftest.err >&5
72971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72972 (exit $ac_status); } &&
72973 { ac_try='test -z "$ac_c_werror_flag"
72974 || test ! -s conftest.err'
72975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72976 (eval $ac_try) 2>&5
72977 ac_status=$?
72978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72979 (exit $ac_status); }; } &&
72980 { ac_try='test -s conftest$ac_exeext'
72981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72982 (eval $ac_try) 2>&5
72983 ac_status=$?
72984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72985 (exit $ac_status); }; }; then
72986 eval "$as_ac_var=yes"
72987 else
72988 echo "$as_me: failed program was:" >&5
72989 sed 's/^/| /' conftest.$ac_ext >&5
72991 eval "$as_ac_var=no"
72993 rm -f conftest.err conftest.$ac_objext \
72994 conftest$ac_exeext conftest.$ac_ext
72996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72998 if test `eval echo '${'$as_ac_var'}'` = yes; then
72999 cat >>confdefs.h <<_ACEOF
73000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73001 _ACEOF
73004 done
73006 else
73008 echo "$as_me:$LINENO: checking for _powf declaration" >&5
73009 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
73010 if test x${glibcxx_cv_func__powf_use+set} != xset; then
73011 if test "${glibcxx_cv_func__powf_use+set}" = set; then
73012 echo $ECHO_N "(cached) $ECHO_C" >&6
73013 else
73017 ac_ext=cc
73018 ac_cpp='$CXXCPP $CPPFLAGS'
73019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73023 cat >conftest.$ac_ext <<_ACEOF
73024 /* confdefs.h. */
73025 _ACEOF
73026 cat confdefs.h >>conftest.$ac_ext
73027 cat >>conftest.$ac_ext <<_ACEOF
73028 /* end confdefs.h. */
73029 #include <math.h>
73031 main ()
73033 _powf(0, 0);
73035 return 0;
73037 _ACEOF
73038 rm -f conftest.$ac_objext
73039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73040 (eval $ac_compile) 2>conftest.er1
73041 ac_status=$?
73042 grep -v '^ *+' conftest.er1 >conftest.err
73043 rm -f conftest.er1
73044 cat conftest.err >&5
73045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73046 (exit $ac_status); } &&
73047 { ac_try='test -z "$ac_cxx_werror_flag"
73048 || test ! -s conftest.err'
73049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73050 (eval $ac_try) 2>&5
73051 ac_status=$?
73052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73053 (exit $ac_status); }; } &&
73054 { ac_try='test -s conftest.$ac_objext'
73055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73056 (eval $ac_try) 2>&5
73057 ac_status=$?
73058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73059 (exit $ac_status); }; }; then
73060 glibcxx_cv_func__powf_use=yes
73061 else
73062 echo "$as_me: failed program was:" >&5
73063 sed 's/^/| /' conftest.$ac_ext >&5
73065 glibcxx_cv_func__powf_use=no
73067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73068 ac_ext=c
73069 ac_cpp='$CPP $CPPFLAGS'
73070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73078 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
73079 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
73081 if test x$glibcxx_cv_func__powf_use = x"yes"; then
73083 for ac_func in _powf
73085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73086 echo "$as_me:$LINENO: checking for $ac_func" >&5
73087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73088 if eval "test \"\${$as_ac_var+set}\" = set"; then
73089 echo $ECHO_N "(cached) $ECHO_C" >&6
73090 else
73091 if test x$gcc_no_link = xyes; then
73092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73094 { (exit 1); exit 1; }; }
73096 cat >conftest.$ac_ext <<_ACEOF
73097 /* confdefs.h. */
73098 _ACEOF
73099 cat confdefs.h >>conftest.$ac_ext
73100 cat >>conftest.$ac_ext <<_ACEOF
73101 /* end confdefs.h. */
73102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73104 #define $ac_func innocuous_$ac_func
73106 /* System header to define __stub macros and hopefully few prototypes,
73107 which can conflict with char $ac_func (); below.
73108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73109 <limits.h> exists even on freestanding compilers. */
73111 #ifdef __STDC__
73112 # include <limits.h>
73113 #else
73114 # include <assert.h>
73115 #endif
73117 #undef $ac_func
73119 /* Override any gcc2 internal prototype to avoid an error. */
73120 #ifdef __cplusplus
73121 extern "C"
73123 #endif
73124 /* We use char because int might match the return type of a gcc2
73125 builtin and then its argument prototype would still apply. */
73126 char $ac_func ();
73127 /* The GNU C library defines this for functions which it implements
73128 to always fail with ENOSYS. Some functions are actually named
73129 something starting with __ and the normal name is an alias. */
73130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73131 choke me
73132 #else
73133 char (*f) () = $ac_func;
73134 #endif
73135 #ifdef __cplusplus
73137 #endif
73140 main ()
73142 return f != $ac_func;
73144 return 0;
73146 _ACEOF
73147 rm -f conftest.$ac_objext conftest$ac_exeext
73148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73149 (eval $ac_link) 2>conftest.er1
73150 ac_status=$?
73151 grep -v '^ *+' conftest.er1 >conftest.err
73152 rm -f conftest.er1
73153 cat conftest.err >&5
73154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73155 (exit $ac_status); } &&
73156 { ac_try='test -z "$ac_c_werror_flag"
73157 || test ! -s conftest.err'
73158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73159 (eval $ac_try) 2>&5
73160 ac_status=$?
73161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73162 (exit $ac_status); }; } &&
73163 { ac_try='test -s conftest$ac_exeext'
73164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73165 (eval $ac_try) 2>&5
73166 ac_status=$?
73167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73168 (exit $ac_status); }; }; then
73169 eval "$as_ac_var=yes"
73170 else
73171 echo "$as_me: failed program was:" >&5
73172 sed 's/^/| /' conftest.$ac_ext >&5
73174 eval "$as_ac_var=no"
73176 rm -f conftest.err conftest.$ac_objext \
73177 conftest$ac_exeext conftest.$ac_ext
73179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73181 if test `eval echo '${'$as_ac_var'}'` = yes; then
73182 cat >>confdefs.h <<_ACEOF
73183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73184 _ACEOF
73187 done
73197 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
73198 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
73199 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
73200 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
73201 echo $ECHO_N "(cached) $ECHO_C" >&6
73202 else
73206 ac_ext=cc
73207 ac_cpp='$CXXCPP $CPPFLAGS'
73208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73212 cat >conftest.$ac_ext <<_ACEOF
73213 /* confdefs.h. */
73214 _ACEOF
73215 cat confdefs.h >>conftest.$ac_ext
73216 cat >>conftest.$ac_ext <<_ACEOF
73217 /* end confdefs.h. */
73218 #include <math.h>
73219 #ifdef HAVE_IEEEFP_H
73220 #include <ieeefp.h>
73221 #endif
73224 main ()
73226 sqrtf(0);
73228 return 0;
73230 _ACEOF
73231 rm -f conftest.$ac_objext
73232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73233 (eval $ac_compile) 2>conftest.er1
73234 ac_status=$?
73235 grep -v '^ *+' conftest.er1 >conftest.err
73236 rm -f conftest.er1
73237 cat conftest.err >&5
73238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73239 (exit $ac_status); } &&
73240 { ac_try='test -z "$ac_cxx_werror_flag"
73241 || test ! -s conftest.err'
73242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73243 (eval $ac_try) 2>&5
73244 ac_status=$?
73245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73246 (exit $ac_status); }; } &&
73247 { ac_try='test -s conftest.$ac_objext'
73248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73249 (eval $ac_try) 2>&5
73250 ac_status=$?
73251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73252 (exit $ac_status); }; }; then
73253 glibcxx_cv_func_sqrtf_use=yes
73254 else
73255 echo "$as_me: failed program was:" >&5
73256 sed 's/^/| /' conftest.$ac_ext >&5
73258 glibcxx_cv_func_sqrtf_use=no
73260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73261 ac_ext=c
73262 ac_cpp='$CPP $CPPFLAGS'
73263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73271 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
73272 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
73274 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
73276 for ac_func in sqrtf
73278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73279 echo "$as_me:$LINENO: checking for $ac_func" >&5
73280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73281 if eval "test \"\${$as_ac_var+set}\" = set"; then
73282 echo $ECHO_N "(cached) $ECHO_C" >&6
73283 else
73284 if test x$gcc_no_link = xyes; then
73285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73287 { (exit 1); exit 1; }; }
73289 cat >conftest.$ac_ext <<_ACEOF
73290 /* confdefs.h. */
73291 _ACEOF
73292 cat confdefs.h >>conftest.$ac_ext
73293 cat >>conftest.$ac_ext <<_ACEOF
73294 /* end confdefs.h. */
73295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73297 #define $ac_func innocuous_$ac_func
73299 /* System header to define __stub macros and hopefully few prototypes,
73300 which can conflict with char $ac_func (); below.
73301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73302 <limits.h> exists even on freestanding compilers. */
73304 #ifdef __STDC__
73305 # include <limits.h>
73306 #else
73307 # include <assert.h>
73308 #endif
73310 #undef $ac_func
73312 /* Override any gcc2 internal prototype to avoid an error. */
73313 #ifdef __cplusplus
73314 extern "C"
73316 #endif
73317 /* We use char because int might match the return type of a gcc2
73318 builtin and then its argument prototype would still apply. */
73319 char $ac_func ();
73320 /* The GNU C library defines this for functions which it implements
73321 to always fail with ENOSYS. Some functions are actually named
73322 something starting with __ and the normal name is an alias. */
73323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73324 choke me
73325 #else
73326 char (*f) () = $ac_func;
73327 #endif
73328 #ifdef __cplusplus
73330 #endif
73333 main ()
73335 return f != $ac_func;
73337 return 0;
73339 _ACEOF
73340 rm -f conftest.$ac_objext conftest$ac_exeext
73341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73342 (eval $ac_link) 2>conftest.er1
73343 ac_status=$?
73344 grep -v '^ *+' conftest.er1 >conftest.err
73345 rm -f conftest.er1
73346 cat conftest.err >&5
73347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73348 (exit $ac_status); } &&
73349 { ac_try='test -z "$ac_c_werror_flag"
73350 || test ! -s conftest.err'
73351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73352 (eval $ac_try) 2>&5
73353 ac_status=$?
73354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73355 (exit $ac_status); }; } &&
73356 { ac_try='test -s conftest$ac_exeext'
73357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73358 (eval $ac_try) 2>&5
73359 ac_status=$?
73360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73361 (exit $ac_status); }; }; then
73362 eval "$as_ac_var=yes"
73363 else
73364 echo "$as_me: failed program was:" >&5
73365 sed 's/^/| /' conftest.$ac_ext >&5
73367 eval "$as_ac_var=no"
73369 rm -f conftest.err conftest.$ac_objext \
73370 conftest$ac_exeext conftest.$ac_ext
73372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73374 if test `eval echo '${'$as_ac_var'}'` = yes; then
73375 cat >>confdefs.h <<_ACEOF
73376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73377 _ACEOF
73380 done
73382 else
73384 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
73385 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
73386 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
73387 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
73388 echo $ECHO_N "(cached) $ECHO_C" >&6
73389 else
73393 ac_ext=cc
73394 ac_cpp='$CXXCPP $CPPFLAGS'
73395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73399 cat >conftest.$ac_ext <<_ACEOF
73400 /* confdefs.h. */
73401 _ACEOF
73402 cat confdefs.h >>conftest.$ac_ext
73403 cat >>conftest.$ac_ext <<_ACEOF
73404 /* end confdefs.h. */
73405 #include <math.h>
73406 #ifdef HAVE_IEEEFP_H
73407 #include <ieeefp.h>
73408 #endif
73411 main ()
73413 _sqrtf(0);
73415 return 0;
73417 _ACEOF
73418 rm -f conftest.$ac_objext
73419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73420 (eval $ac_compile) 2>conftest.er1
73421 ac_status=$?
73422 grep -v '^ *+' conftest.er1 >conftest.err
73423 rm -f conftest.er1
73424 cat conftest.err >&5
73425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73426 (exit $ac_status); } &&
73427 { ac_try='test -z "$ac_cxx_werror_flag"
73428 || test ! -s conftest.err'
73429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73430 (eval $ac_try) 2>&5
73431 ac_status=$?
73432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73433 (exit $ac_status); }; } &&
73434 { ac_try='test -s conftest.$ac_objext'
73435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73436 (eval $ac_try) 2>&5
73437 ac_status=$?
73438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73439 (exit $ac_status); }; }; then
73440 glibcxx_cv_func__sqrtf_use=yes
73441 else
73442 echo "$as_me: failed program was:" >&5
73443 sed 's/^/| /' conftest.$ac_ext >&5
73445 glibcxx_cv_func__sqrtf_use=no
73447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73448 ac_ext=c
73449 ac_cpp='$CPP $CPPFLAGS'
73450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73458 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
73459 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
73461 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
73463 for ac_func in _sqrtf
73465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73466 echo "$as_me:$LINENO: checking for $ac_func" >&5
73467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73468 if eval "test \"\${$as_ac_var+set}\" = set"; then
73469 echo $ECHO_N "(cached) $ECHO_C" >&6
73470 else
73471 if test x$gcc_no_link = xyes; then
73472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73474 { (exit 1); exit 1; }; }
73476 cat >conftest.$ac_ext <<_ACEOF
73477 /* confdefs.h. */
73478 _ACEOF
73479 cat confdefs.h >>conftest.$ac_ext
73480 cat >>conftest.$ac_ext <<_ACEOF
73481 /* end confdefs.h. */
73482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73484 #define $ac_func innocuous_$ac_func
73486 /* System header to define __stub macros and hopefully few prototypes,
73487 which can conflict with char $ac_func (); below.
73488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73489 <limits.h> exists even on freestanding compilers. */
73491 #ifdef __STDC__
73492 # include <limits.h>
73493 #else
73494 # include <assert.h>
73495 #endif
73497 #undef $ac_func
73499 /* Override any gcc2 internal prototype to avoid an error. */
73500 #ifdef __cplusplus
73501 extern "C"
73503 #endif
73504 /* We use char because int might match the return type of a gcc2
73505 builtin and then its argument prototype would still apply. */
73506 char $ac_func ();
73507 /* The GNU C library defines this for functions which it implements
73508 to always fail with ENOSYS. Some functions are actually named
73509 something starting with __ and the normal name is an alias. */
73510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73511 choke me
73512 #else
73513 char (*f) () = $ac_func;
73514 #endif
73515 #ifdef __cplusplus
73517 #endif
73520 main ()
73522 return f != $ac_func;
73524 return 0;
73526 _ACEOF
73527 rm -f conftest.$ac_objext conftest$ac_exeext
73528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73529 (eval $ac_link) 2>conftest.er1
73530 ac_status=$?
73531 grep -v '^ *+' conftest.er1 >conftest.err
73532 rm -f conftest.er1
73533 cat conftest.err >&5
73534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73535 (exit $ac_status); } &&
73536 { ac_try='test -z "$ac_c_werror_flag"
73537 || test ! -s conftest.err'
73538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73539 (eval $ac_try) 2>&5
73540 ac_status=$?
73541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73542 (exit $ac_status); }; } &&
73543 { ac_try='test -s conftest$ac_exeext'
73544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73545 (eval $ac_try) 2>&5
73546 ac_status=$?
73547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73548 (exit $ac_status); }; }; then
73549 eval "$as_ac_var=yes"
73550 else
73551 echo "$as_me: failed program was:" >&5
73552 sed 's/^/| /' conftest.$ac_ext >&5
73554 eval "$as_ac_var=no"
73556 rm -f conftest.err conftest.$ac_objext \
73557 conftest$ac_exeext conftest.$ac_ext
73559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73561 if test `eval echo '${'$as_ac_var'}'` = yes; then
73562 cat >>confdefs.h <<_ACEOF
73563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73564 _ACEOF
73567 done
73577 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
73578 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
73579 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
73580 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
73581 echo $ECHO_N "(cached) $ECHO_C" >&6
73582 else
73586 ac_ext=cc
73587 ac_cpp='$CXXCPP $CPPFLAGS'
73588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73592 cat >conftest.$ac_ext <<_ACEOF
73593 /* confdefs.h. */
73594 _ACEOF
73595 cat confdefs.h >>conftest.$ac_ext
73596 cat >>conftest.$ac_ext <<_ACEOF
73597 /* end confdefs.h. */
73598 #include <math.h>
73600 main ()
73602 sincosf(0, 0, 0);
73604 return 0;
73606 _ACEOF
73607 rm -f conftest.$ac_objext
73608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73609 (eval $ac_compile) 2>conftest.er1
73610 ac_status=$?
73611 grep -v '^ *+' conftest.er1 >conftest.err
73612 rm -f conftest.er1
73613 cat conftest.err >&5
73614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73615 (exit $ac_status); } &&
73616 { ac_try='test -z "$ac_cxx_werror_flag"
73617 || test ! -s conftest.err'
73618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73619 (eval $ac_try) 2>&5
73620 ac_status=$?
73621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73622 (exit $ac_status); }; } &&
73623 { ac_try='test -s conftest.$ac_objext'
73624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73625 (eval $ac_try) 2>&5
73626 ac_status=$?
73627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73628 (exit $ac_status); }; }; then
73629 glibcxx_cv_func_sincosf_use=yes
73630 else
73631 echo "$as_me: failed program was:" >&5
73632 sed 's/^/| /' conftest.$ac_ext >&5
73634 glibcxx_cv_func_sincosf_use=no
73636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73637 ac_ext=c
73638 ac_cpp='$CPP $CPPFLAGS'
73639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73647 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
73648 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
73650 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
73652 for ac_func in sincosf
73654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73655 echo "$as_me:$LINENO: checking for $ac_func" >&5
73656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73657 if eval "test \"\${$as_ac_var+set}\" = set"; then
73658 echo $ECHO_N "(cached) $ECHO_C" >&6
73659 else
73660 if test x$gcc_no_link = xyes; then
73661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73663 { (exit 1); exit 1; }; }
73665 cat >conftest.$ac_ext <<_ACEOF
73666 /* confdefs.h. */
73667 _ACEOF
73668 cat confdefs.h >>conftest.$ac_ext
73669 cat >>conftest.$ac_ext <<_ACEOF
73670 /* end confdefs.h. */
73671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73673 #define $ac_func innocuous_$ac_func
73675 /* System header to define __stub macros and hopefully few prototypes,
73676 which can conflict with char $ac_func (); below.
73677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73678 <limits.h> exists even on freestanding compilers. */
73680 #ifdef __STDC__
73681 # include <limits.h>
73682 #else
73683 # include <assert.h>
73684 #endif
73686 #undef $ac_func
73688 /* Override any gcc2 internal prototype to avoid an error. */
73689 #ifdef __cplusplus
73690 extern "C"
73692 #endif
73693 /* We use char because int might match the return type of a gcc2
73694 builtin and then its argument prototype would still apply. */
73695 char $ac_func ();
73696 /* The GNU C library defines this for functions which it implements
73697 to always fail with ENOSYS. Some functions are actually named
73698 something starting with __ and the normal name is an alias. */
73699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73700 choke me
73701 #else
73702 char (*f) () = $ac_func;
73703 #endif
73704 #ifdef __cplusplus
73706 #endif
73709 main ()
73711 return f != $ac_func;
73713 return 0;
73715 _ACEOF
73716 rm -f conftest.$ac_objext conftest$ac_exeext
73717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73718 (eval $ac_link) 2>conftest.er1
73719 ac_status=$?
73720 grep -v '^ *+' conftest.er1 >conftest.err
73721 rm -f conftest.er1
73722 cat conftest.err >&5
73723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73724 (exit $ac_status); } &&
73725 { ac_try='test -z "$ac_c_werror_flag"
73726 || test ! -s conftest.err'
73727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73728 (eval $ac_try) 2>&5
73729 ac_status=$?
73730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73731 (exit $ac_status); }; } &&
73732 { ac_try='test -s conftest$ac_exeext'
73733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73734 (eval $ac_try) 2>&5
73735 ac_status=$?
73736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73737 (exit $ac_status); }; }; then
73738 eval "$as_ac_var=yes"
73739 else
73740 echo "$as_me: failed program was:" >&5
73741 sed 's/^/| /' conftest.$ac_ext >&5
73743 eval "$as_ac_var=no"
73745 rm -f conftest.err conftest.$ac_objext \
73746 conftest$ac_exeext conftest.$ac_ext
73748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73750 if test `eval echo '${'$as_ac_var'}'` = yes; then
73751 cat >>confdefs.h <<_ACEOF
73752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73753 _ACEOF
73756 done
73758 else
73760 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
73761 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
73762 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
73763 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
73764 echo $ECHO_N "(cached) $ECHO_C" >&6
73765 else
73769 ac_ext=cc
73770 ac_cpp='$CXXCPP $CPPFLAGS'
73771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73775 cat >conftest.$ac_ext <<_ACEOF
73776 /* confdefs.h. */
73777 _ACEOF
73778 cat confdefs.h >>conftest.$ac_ext
73779 cat >>conftest.$ac_ext <<_ACEOF
73780 /* end confdefs.h. */
73781 #include <math.h>
73783 main ()
73785 _sincosf(0, 0, 0);
73787 return 0;
73789 _ACEOF
73790 rm -f conftest.$ac_objext
73791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73792 (eval $ac_compile) 2>conftest.er1
73793 ac_status=$?
73794 grep -v '^ *+' conftest.er1 >conftest.err
73795 rm -f conftest.er1
73796 cat conftest.err >&5
73797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73798 (exit $ac_status); } &&
73799 { ac_try='test -z "$ac_cxx_werror_flag"
73800 || test ! -s conftest.err'
73801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73802 (eval $ac_try) 2>&5
73803 ac_status=$?
73804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73805 (exit $ac_status); }; } &&
73806 { ac_try='test -s conftest.$ac_objext'
73807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73808 (eval $ac_try) 2>&5
73809 ac_status=$?
73810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73811 (exit $ac_status); }; }; then
73812 glibcxx_cv_func__sincosf_use=yes
73813 else
73814 echo "$as_me: failed program was:" >&5
73815 sed 's/^/| /' conftest.$ac_ext >&5
73817 glibcxx_cv_func__sincosf_use=no
73819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73820 ac_ext=c
73821 ac_cpp='$CPP $CPPFLAGS'
73822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73830 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
73831 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
73833 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
73835 for ac_func in _sincosf
73837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73838 echo "$as_me:$LINENO: checking for $ac_func" >&5
73839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73840 if eval "test \"\${$as_ac_var+set}\" = set"; then
73841 echo $ECHO_N "(cached) $ECHO_C" >&6
73842 else
73843 if test x$gcc_no_link = xyes; then
73844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73846 { (exit 1); exit 1; }; }
73848 cat >conftest.$ac_ext <<_ACEOF
73849 /* confdefs.h. */
73850 _ACEOF
73851 cat confdefs.h >>conftest.$ac_ext
73852 cat >>conftest.$ac_ext <<_ACEOF
73853 /* end confdefs.h. */
73854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73856 #define $ac_func innocuous_$ac_func
73858 /* System header to define __stub macros and hopefully few prototypes,
73859 which can conflict with char $ac_func (); below.
73860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73861 <limits.h> exists even on freestanding compilers. */
73863 #ifdef __STDC__
73864 # include <limits.h>
73865 #else
73866 # include <assert.h>
73867 #endif
73869 #undef $ac_func
73871 /* Override any gcc2 internal prototype to avoid an error. */
73872 #ifdef __cplusplus
73873 extern "C"
73875 #endif
73876 /* We use char because int might match the return type of a gcc2
73877 builtin and then its argument prototype would still apply. */
73878 char $ac_func ();
73879 /* The GNU C library defines this for functions which it implements
73880 to always fail with ENOSYS. Some functions are actually named
73881 something starting with __ and the normal name is an alias. */
73882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73883 choke me
73884 #else
73885 char (*f) () = $ac_func;
73886 #endif
73887 #ifdef __cplusplus
73889 #endif
73892 main ()
73894 return f != $ac_func;
73896 return 0;
73898 _ACEOF
73899 rm -f conftest.$ac_objext conftest$ac_exeext
73900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73901 (eval $ac_link) 2>conftest.er1
73902 ac_status=$?
73903 grep -v '^ *+' conftest.er1 >conftest.err
73904 rm -f conftest.er1
73905 cat conftest.err >&5
73906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73907 (exit $ac_status); } &&
73908 { ac_try='test -z "$ac_c_werror_flag"
73909 || test ! -s conftest.err'
73910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73911 (eval $ac_try) 2>&5
73912 ac_status=$?
73913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73914 (exit $ac_status); }; } &&
73915 { ac_try='test -s conftest$ac_exeext'
73916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73917 (eval $ac_try) 2>&5
73918 ac_status=$?
73919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73920 (exit $ac_status); }; }; then
73921 eval "$as_ac_var=yes"
73922 else
73923 echo "$as_me: failed program was:" >&5
73924 sed 's/^/| /' conftest.$ac_ext >&5
73926 eval "$as_ac_var=no"
73928 rm -f conftest.err conftest.$ac_objext \
73929 conftest$ac_exeext conftest.$ac_ext
73931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73933 if test `eval echo '${'$as_ac_var'}'` = yes; then
73934 cat >>confdefs.h <<_ACEOF
73935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73936 _ACEOF
73939 done
73949 echo "$as_me:$LINENO: checking for finitef declaration" >&5
73950 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
73951 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
73952 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
73953 echo $ECHO_N "(cached) $ECHO_C" >&6
73954 else
73958 ac_ext=cc
73959 ac_cpp='$CXXCPP $CPPFLAGS'
73960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73964 cat >conftest.$ac_ext <<_ACEOF
73965 /* confdefs.h. */
73966 _ACEOF
73967 cat confdefs.h >>conftest.$ac_ext
73968 cat >>conftest.$ac_ext <<_ACEOF
73969 /* end confdefs.h. */
73970 #include <math.h>
73971 #ifdef HAVE_IEEEFP_H
73972 #include <ieeefp.h>
73973 #endif
73976 main ()
73978 finitef(0);
73980 return 0;
73982 _ACEOF
73983 rm -f conftest.$ac_objext
73984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73985 (eval $ac_compile) 2>conftest.er1
73986 ac_status=$?
73987 grep -v '^ *+' conftest.er1 >conftest.err
73988 rm -f conftest.er1
73989 cat conftest.err >&5
73990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73991 (exit $ac_status); } &&
73992 { ac_try='test -z "$ac_cxx_werror_flag"
73993 || test ! -s conftest.err'
73994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73995 (eval $ac_try) 2>&5
73996 ac_status=$?
73997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73998 (exit $ac_status); }; } &&
73999 { ac_try='test -s conftest.$ac_objext'
74000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74001 (eval $ac_try) 2>&5
74002 ac_status=$?
74003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74004 (exit $ac_status); }; }; then
74005 glibcxx_cv_func_finitef_use=yes
74006 else
74007 echo "$as_me: failed program was:" >&5
74008 sed 's/^/| /' conftest.$ac_ext >&5
74010 glibcxx_cv_func_finitef_use=no
74012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74013 ac_ext=c
74014 ac_cpp='$CPP $CPPFLAGS'
74015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74023 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
74024 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
74026 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74028 for ac_func in finitef
74030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74031 echo "$as_me:$LINENO: checking for $ac_func" >&5
74032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74033 if eval "test \"\${$as_ac_var+set}\" = set"; then
74034 echo $ECHO_N "(cached) $ECHO_C" >&6
74035 else
74036 if test x$gcc_no_link = xyes; then
74037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74039 { (exit 1); exit 1; }; }
74041 cat >conftest.$ac_ext <<_ACEOF
74042 /* confdefs.h. */
74043 _ACEOF
74044 cat confdefs.h >>conftest.$ac_ext
74045 cat >>conftest.$ac_ext <<_ACEOF
74046 /* end confdefs.h. */
74047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74048 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74049 #define $ac_func innocuous_$ac_func
74051 /* System header to define __stub macros and hopefully few prototypes,
74052 which can conflict with char $ac_func (); below.
74053 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74054 <limits.h> exists even on freestanding compilers. */
74056 #ifdef __STDC__
74057 # include <limits.h>
74058 #else
74059 # include <assert.h>
74060 #endif
74062 #undef $ac_func
74064 /* Override any gcc2 internal prototype to avoid an error. */
74065 #ifdef __cplusplus
74066 extern "C"
74068 #endif
74069 /* We use char because int might match the return type of a gcc2
74070 builtin and then its argument prototype would still apply. */
74071 char $ac_func ();
74072 /* The GNU C library defines this for functions which it implements
74073 to always fail with ENOSYS. Some functions are actually named
74074 something starting with __ and the normal name is an alias. */
74075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74076 choke me
74077 #else
74078 char (*f) () = $ac_func;
74079 #endif
74080 #ifdef __cplusplus
74082 #endif
74085 main ()
74087 return f != $ac_func;
74089 return 0;
74091 _ACEOF
74092 rm -f conftest.$ac_objext conftest$ac_exeext
74093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74094 (eval $ac_link) 2>conftest.er1
74095 ac_status=$?
74096 grep -v '^ *+' conftest.er1 >conftest.err
74097 rm -f conftest.er1
74098 cat conftest.err >&5
74099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74100 (exit $ac_status); } &&
74101 { ac_try='test -z "$ac_c_werror_flag"
74102 || test ! -s conftest.err'
74103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74104 (eval $ac_try) 2>&5
74105 ac_status=$?
74106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74107 (exit $ac_status); }; } &&
74108 { ac_try='test -s conftest$ac_exeext'
74109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74110 (eval $ac_try) 2>&5
74111 ac_status=$?
74112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74113 (exit $ac_status); }; }; then
74114 eval "$as_ac_var=yes"
74115 else
74116 echo "$as_me: failed program was:" >&5
74117 sed 's/^/| /' conftest.$ac_ext >&5
74119 eval "$as_ac_var=no"
74121 rm -f conftest.err conftest.$ac_objext \
74122 conftest$ac_exeext conftest.$ac_ext
74124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74125 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74126 if test `eval echo '${'$as_ac_var'}'` = yes; then
74127 cat >>confdefs.h <<_ACEOF
74128 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74129 _ACEOF
74132 done
74134 else
74136 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
74137 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
74138 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74139 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
74140 echo $ECHO_N "(cached) $ECHO_C" >&6
74141 else
74145 ac_ext=cc
74146 ac_cpp='$CXXCPP $CPPFLAGS'
74147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74151 cat >conftest.$ac_ext <<_ACEOF
74152 /* confdefs.h. */
74153 _ACEOF
74154 cat confdefs.h >>conftest.$ac_ext
74155 cat >>conftest.$ac_ext <<_ACEOF
74156 /* end confdefs.h. */
74157 #include <math.h>
74158 #ifdef HAVE_IEEEFP_H
74159 #include <ieeefp.h>
74160 #endif
74163 main ()
74165 _finitef(0);
74167 return 0;
74169 _ACEOF
74170 rm -f conftest.$ac_objext
74171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74172 (eval $ac_compile) 2>conftest.er1
74173 ac_status=$?
74174 grep -v '^ *+' conftest.er1 >conftest.err
74175 rm -f conftest.er1
74176 cat conftest.err >&5
74177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74178 (exit $ac_status); } &&
74179 { ac_try='test -z "$ac_cxx_werror_flag"
74180 || test ! -s conftest.err'
74181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74182 (eval $ac_try) 2>&5
74183 ac_status=$?
74184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74185 (exit $ac_status); }; } &&
74186 { ac_try='test -s conftest.$ac_objext'
74187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74188 (eval $ac_try) 2>&5
74189 ac_status=$?
74190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74191 (exit $ac_status); }; }; then
74192 glibcxx_cv_func__finitef_use=yes
74193 else
74194 echo "$as_me: failed program was:" >&5
74195 sed 's/^/| /' conftest.$ac_ext >&5
74197 glibcxx_cv_func__finitef_use=no
74199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74200 ac_ext=c
74201 ac_cpp='$CPP $CPPFLAGS'
74202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74210 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
74211 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
74213 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74215 for ac_func in _finitef
74217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74218 echo "$as_me:$LINENO: checking for $ac_func" >&5
74219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74220 if eval "test \"\${$as_ac_var+set}\" = set"; then
74221 echo $ECHO_N "(cached) $ECHO_C" >&6
74222 else
74223 if test x$gcc_no_link = xyes; then
74224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74226 { (exit 1); exit 1; }; }
74228 cat >conftest.$ac_ext <<_ACEOF
74229 /* confdefs.h. */
74230 _ACEOF
74231 cat confdefs.h >>conftest.$ac_ext
74232 cat >>conftest.$ac_ext <<_ACEOF
74233 /* end confdefs.h. */
74234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74236 #define $ac_func innocuous_$ac_func
74238 /* System header to define __stub macros and hopefully few prototypes,
74239 which can conflict with char $ac_func (); below.
74240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74241 <limits.h> exists even on freestanding compilers. */
74243 #ifdef __STDC__
74244 # include <limits.h>
74245 #else
74246 # include <assert.h>
74247 #endif
74249 #undef $ac_func
74251 /* Override any gcc2 internal prototype to avoid an error. */
74252 #ifdef __cplusplus
74253 extern "C"
74255 #endif
74256 /* We use char because int might match the return type of a gcc2
74257 builtin and then its argument prototype would still apply. */
74258 char $ac_func ();
74259 /* The GNU C library defines this for functions which it implements
74260 to always fail with ENOSYS. Some functions are actually named
74261 something starting with __ and the normal name is an alias. */
74262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74263 choke me
74264 #else
74265 char (*f) () = $ac_func;
74266 #endif
74267 #ifdef __cplusplus
74269 #endif
74272 main ()
74274 return f != $ac_func;
74276 return 0;
74278 _ACEOF
74279 rm -f conftest.$ac_objext conftest$ac_exeext
74280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74281 (eval $ac_link) 2>conftest.er1
74282 ac_status=$?
74283 grep -v '^ *+' conftest.er1 >conftest.err
74284 rm -f conftest.er1
74285 cat conftest.err >&5
74286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74287 (exit $ac_status); } &&
74288 { ac_try='test -z "$ac_c_werror_flag"
74289 || test ! -s conftest.err'
74290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74291 (eval $ac_try) 2>&5
74292 ac_status=$?
74293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74294 (exit $ac_status); }; } &&
74295 { ac_try='test -s conftest$ac_exeext'
74296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74297 (eval $ac_try) 2>&5
74298 ac_status=$?
74299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74300 (exit $ac_status); }; }; then
74301 eval "$as_ac_var=yes"
74302 else
74303 echo "$as_me: failed program was:" >&5
74304 sed 's/^/| /' conftest.$ac_ext >&5
74306 eval "$as_ac_var=no"
74308 rm -f conftest.err conftest.$ac_objext \
74309 conftest$ac_exeext conftest.$ac_ext
74311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74313 if test `eval echo '${'$as_ac_var'}'` = yes; then
74314 cat >>confdefs.h <<_ACEOF
74315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74316 _ACEOF
74319 done
74329 echo "$as_me:$LINENO: checking for long double trig functions" >&5
74330 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
74331 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
74332 echo $ECHO_N "(cached) $ECHO_C" >&6
74333 else
74337 ac_ext=cc
74338 ac_cpp='$CXXCPP $CPPFLAGS'
74339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74343 cat >conftest.$ac_ext <<_ACEOF
74344 /* confdefs.h. */
74345 _ACEOF
74346 cat confdefs.h >>conftest.$ac_ext
74347 cat >>conftest.$ac_ext <<_ACEOF
74348 /* end confdefs.h. */
74349 #include <math.h>
74351 main ()
74353 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74355 return 0;
74357 _ACEOF
74358 rm -f conftest.$ac_objext
74359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74360 (eval $ac_compile) 2>conftest.er1
74361 ac_status=$?
74362 grep -v '^ *+' conftest.er1 >conftest.err
74363 rm -f conftest.er1
74364 cat conftest.err >&5
74365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74366 (exit $ac_status); } &&
74367 { ac_try='test -z "$ac_cxx_werror_flag"
74368 || test ! -s conftest.err'
74369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74370 (eval $ac_try) 2>&5
74371 ac_status=$?
74372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74373 (exit $ac_status); }; } &&
74374 { ac_try='test -s conftest.$ac_objext'
74375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74376 (eval $ac_try) 2>&5
74377 ac_status=$?
74378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74379 (exit $ac_status); }; }; then
74380 glibcxx_cv_func_long_double_trig_use=yes
74381 else
74382 echo "$as_me: failed program was:" >&5
74383 sed 's/^/| /' conftest.$ac_ext >&5
74385 glibcxx_cv_func_long_double_trig_use=no
74387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74388 ac_ext=c
74389 ac_cpp='$CPP $CPPFLAGS'
74390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74396 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
74397 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
74398 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74408 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74411 echo "$as_me:$LINENO: checking for $ac_func" >&5
74412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74413 if eval "test \"\${$as_ac_var+set}\" = set"; then
74414 echo $ECHO_N "(cached) $ECHO_C" >&6
74415 else
74416 if test x$gcc_no_link = xyes; then
74417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74419 { (exit 1); exit 1; }; }
74421 cat >conftest.$ac_ext <<_ACEOF
74422 /* confdefs.h. */
74423 _ACEOF
74424 cat confdefs.h >>conftest.$ac_ext
74425 cat >>conftest.$ac_ext <<_ACEOF
74426 /* end confdefs.h. */
74427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74429 #define $ac_func innocuous_$ac_func
74431 /* System header to define __stub macros and hopefully few prototypes,
74432 which can conflict with char $ac_func (); below.
74433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74434 <limits.h> exists even on freestanding compilers. */
74436 #ifdef __STDC__
74437 # include <limits.h>
74438 #else
74439 # include <assert.h>
74440 #endif
74442 #undef $ac_func
74444 /* Override any gcc2 internal prototype to avoid an error. */
74445 #ifdef __cplusplus
74446 extern "C"
74448 #endif
74449 /* We use char because int might match the return type of a gcc2
74450 builtin and then its argument prototype would still apply. */
74451 char $ac_func ();
74452 /* The GNU C library defines this for functions which it implements
74453 to always fail with ENOSYS. Some functions are actually named
74454 something starting with __ and the normal name is an alias. */
74455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74456 choke me
74457 #else
74458 char (*f) () = $ac_func;
74459 #endif
74460 #ifdef __cplusplus
74462 #endif
74465 main ()
74467 return f != $ac_func;
74469 return 0;
74471 _ACEOF
74472 rm -f conftest.$ac_objext conftest$ac_exeext
74473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74474 (eval $ac_link) 2>conftest.er1
74475 ac_status=$?
74476 grep -v '^ *+' conftest.er1 >conftest.err
74477 rm -f conftest.er1
74478 cat conftest.err >&5
74479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74480 (exit $ac_status); } &&
74481 { ac_try='test -z "$ac_c_werror_flag"
74482 || test ! -s conftest.err'
74483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74484 (eval $ac_try) 2>&5
74485 ac_status=$?
74486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74487 (exit $ac_status); }; } &&
74488 { ac_try='test -s conftest$ac_exeext'
74489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74490 (eval $ac_try) 2>&5
74491 ac_status=$?
74492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74493 (exit $ac_status); }; }; then
74494 eval "$as_ac_var=yes"
74495 else
74496 echo "$as_me: failed program was:" >&5
74497 sed 's/^/| /' conftest.$ac_ext >&5
74499 eval "$as_ac_var=no"
74501 rm -f conftest.err conftest.$ac_objext \
74502 conftest$ac_exeext conftest.$ac_ext
74504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74506 if test `eval echo '${'$as_ac_var'}'` = yes; then
74507 cat >>confdefs.h <<_ACEOF
74508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74509 _ACEOF
74512 done
74514 else
74515 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
74516 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
74517 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
74518 echo $ECHO_N "(cached) $ECHO_C" >&6
74519 else
74523 ac_ext=cc
74524 ac_cpp='$CXXCPP $CPPFLAGS'
74525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74529 cat >conftest.$ac_ext <<_ACEOF
74530 /* confdefs.h. */
74531 _ACEOF
74532 cat confdefs.h >>conftest.$ac_ext
74533 cat >>conftest.$ac_ext <<_ACEOF
74534 /* end confdefs.h. */
74535 #include <math.h>
74537 main ()
74539 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74541 return 0;
74543 _ACEOF
74544 rm -f conftest.$ac_objext
74545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74546 (eval $ac_compile) 2>conftest.er1
74547 ac_status=$?
74548 grep -v '^ *+' conftest.er1 >conftest.err
74549 rm -f conftest.er1
74550 cat conftest.err >&5
74551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74552 (exit $ac_status); } &&
74553 { ac_try='test -z "$ac_cxx_werror_flag"
74554 || test ! -s conftest.err'
74555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74556 (eval $ac_try) 2>&5
74557 ac_status=$?
74558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74559 (exit $ac_status); }; } &&
74560 { ac_try='test -s conftest.$ac_objext'
74561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74562 (eval $ac_try) 2>&5
74563 ac_status=$?
74564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74565 (exit $ac_status); }; }; then
74566 glibcxx_cv_func__long_double_trig_use=yes
74567 else
74568 echo "$as_me: failed program was:" >&5
74569 sed 's/^/| /' conftest.$ac_ext >&5
74571 glibcxx_cv_func__long_double_trig_use=no
74573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74574 ac_ext=c
74575 ac_cpp='$CPP $CPPFLAGS'
74576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74582 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
74583 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
74584 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74594 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74597 echo "$as_me:$LINENO: checking for $ac_func" >&5
74598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74599 if eval "test \"\${$as_ac_var+set}\" = set"; then
74600 echo $ECHO_N "(cached) $ECHO_C" >&6
74601 else
74602 if test x$gcc_no_link = xyes; then
74603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74605 { (exit 1); exit 1; }; }
74607 cat >conftest.$ac_ext <<_ACEOF
74608 /* confdefs.h. */
74609 _ACEOF
74610 cat confdefs.h >>conftest.$ac_ext
74611 cat >>conftest.$ac_ext <<_ACEOF
74612 /* end confdefs.h. */
74613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74615 #define $ac_func innocuous_$ac_func
74617 /* System header to define __stub macros and hopefully few prototypes,
74618 which can conflict with char $ac_func (); below.
74619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74620 <limits.h> exists even on freestanding compilers. */
74622 #ifdef __STDC__
74623 # include <limits.h>
74624 #else
74625 # include <assert.h>
74626 #endif
74628 #undef $ac_func
74630 /* Override any gcc2 internal prototype to avoid an error. */
74631 #ifdef __cplusplus
74632 extern "C"
74634 #endif
74635 /* We use char because int might match the return type of a gcc2
74636 builtin and then its argument prototype would still apply. */
74637 char $ac_func ();
74638 /* The GNU C library defines this for functions which it implements
74639 to always fail with ENOSYS. Some functions are actually named
74640 something starting with __ and the normal name is an alias. */
74641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74642 choke me
74643 #else
74644 char (*f) () = $ac_func;
74645 #endif
74646 #ifdef __cplusplus
74648 #endif
74651 main ()
74653 return f != $ac_func;
74655 return 0;
74657 _ACEOF
74658 rm -f conftest.$ac_objext conftest$ac_exeext
74659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74660 (eval $ac_link) 2>conftest.er1
74661 ac_status=$?
74662 grep -v '^ *+' conftest.er1 >conftest.err
74663 rm -f conftest.er1
74664 cat conftest.err >&5
74665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74666 (exit $ac_status); } &&
74667 { ac_try='test -z "$ac_c_werror_flag"
74668 || test ! -s conftest.err'
74669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74670 (eval $ac_try) 2>&5
74671 ac_status=$?
74672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74673 (exit $ac_status); }; } &&
74674 { ac_try='test -s conftest$ac_exeext'
74675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74676 (eval $ac_try) 2>&5
74677 ac_status=$?
74678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74679 (exit $ac_status); }; }; then
74680 eval "$as_ac_var=yes"
74681 else
74682 echo "$as_me: failed program was:" >&5
74683 sed 's/^/| /' conftest.$ac_ext >&5
74685 eval "$as_ac_var=no"
74687 rm -f conftest.err conftest.$ac_objext \
74688 conftest$ac_exeext conftest.$ac_ext
74690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74692 if test `eval echo '${'$as_ac_var'}'` = yes; then
74693 cat >>confdefs.h <<_ACEOF
74694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74695 _ACEOF
74698 done
74716 echo "$as_me:$LINENO: checking for long double round functions" >&5
74717 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
74718 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
74719 echo $ECHO_N "(cached) $ECHO_C" >&6
74720 else
74724 ac_ext=cc
74725 ac_cpp='$CXXCPP $CPPFLAGS'
74726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74730 cat >conftest.$ac_ext <<_ACEOF
74731 /* confdefs.h. */
74732 _ACEOF
74733 cat confdefs.h >>conftest.$ac_ext
74734 cat >>conftest.$ac_ext <<_ACEOF
74735 /* end confdefs.h. */
74736 #include <math.h>
74738 main ()
74740 ceill (0); floorl (0);
74742 return 0;
74744 _ACEOF
74745 rm -f conftest.$ac_objext
74746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74747 (eval $ac_compile) 2>conftest.er1
74748 ac_status=$?
74749 grep -v '^ *+' conftest.er1 >conftest.err
74750 rm -f conftest.er1
74751 cat conftest.err >&5
74752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74753 (exit $ac_status); } &&
74754 { ac_try='test -z "$ac_cxx_werror_flag"
74755 || test ! -s conftest.err'
74756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74757 (eval $ac_try) 2>&5
74758 ac_status=$?
74759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74760 (exit $ac_status); }; } &&
74761 { ac_try='test -s conftest.$ac_objext'
74762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74763 (eval $ac_try) 2>&5
74764 ac_status=$?
74765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74766 (exit $ac_status); }; }; then
74767 glibcxx_cv_func_long_double_round_use=yes
74768 else
74769 echo "$as_me: failed program was:" >&5
74770 sed 's/^/| /' conftest.$ac_ext >&5
74772 glibcxx_cv_func_long_double_round_use=no
74774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74775 ac_ext=c
74776 ac_cpp='$CPP $CPPFLAGS'
74777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74783 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
74784 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
74785 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74788 for ac_func in ceill floorl
74790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74791 echo "$as_me:$LINENO: checking for $ac_func" >&5
74792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74793 if eval "test \"\${$as_ac_var+set}\" = set"; then
74794 echo $ECHO_N "(cached) $ECHO_C" >&6
74795 else
74796 if test x$gcc_no_link = xyes; then
74797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74799 { (exit 1); exit 1; }; }
74801 cat >conftest.$ac_ext <<_ACEOF
74802 /* confdefs.h. */
74803 _ACEOF
74804 cat confdefs.h >>conftest.$ac_ext
74805 cat >>conftest.$ac_ext <<_ACEOF
74806 /* end confdefs.h. */
74807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74809 #define $ac_func innocuous_$ac_func
74811 /* System header to define __stub macros and hopefully few prototypes,
74812 which can conflict with char $ac_func (); below.
74813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74814 <limits.h> exists even on freestanding compilers. */
74816 #ifdef __STDC__
74817 # include <limits.h>
74818 #else
74819 # include <assert.h>
74820 #endif
74822 #undef $ac_func
74824 /* Override any gcc2 internal prototype to avoid an error. */
74825 #ifdef __cplusplus
74826 extern "C"
74828 #endif
74829 /* We use char because int might match the return type of a gcc2
74830 builtin and then its argument prototype would still apply. */
74831 char $ac_func ();
74832 /* The GNU C library defines this for functions which it implements
74833 to always fail with ENOSYS. Some functions are actually named
74834 something starting with __ and the normal name is an alias. */
74835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74836 choke me
74837 #else
74838 char (*f) () = $ac_func;
74839 #endif
74840 #ifdef __cplusplus
74842 #endif
74845 main ()
74847 return f != $ac_func;
74849 return 0;
74851 _ACEOF
74852 rm -f conftest.$ac_objext conftest$ac_exeext
74853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74854 (eval $ac_link) 2>conftest.er1
74855 ac_status=$?
74856 grep -v '^ *+' conftest.er1 >conftest.err
74857 rm -f conftest.er1
74858 cat conftest.err >&5
74859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74860 (exit $ac_status); } &&
74861 { ac_try='test -z "$ac_c_werror_flag"
74862 || test ! -s conftest.err'
74863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74864 (eval $ac_try) 2>&5
74865 ac_status=$?
74866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74867 (exit $ac_status); }; } &&
74868 { ac_try='test -s conftest$ac_exeext'
74869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74870 (eval $ac_try) 2>&5
74871 ac_status=$?
74872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74873 (exit $ac_status); }; }; then
74874 eval "$as_ac_var=yes"
74875 else
74876 echo "$as_me: failed program was:" >&5
74877 sed 's/^/| /' conftest.$ac_ext >&5
74879 eval "$as_ac_var=no"
74881 rm -f conftest.err conftest.$ac_objext \
74882 conftest$ac_exeext conftest.$ac_ext
74884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74886 if test `eval echo '${'$as_ac_var'}'` = yes; then
74887 cat >>confdefs.h <<_ACEOF
74888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74889 _ACEOF
74892 done
74894 else
74895 echo "$as_me:$LINENO: checking for _long double round functions" >&5
74896 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
74897 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
74898 echo $ECHO_N "(cached) $ECHO_C" >&6
74899 else
74903 ac_ext=cc
74904 ac_cpp='$CXXCPP $CPPFLAGS'
74905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74909 cat >conftest.$ac_ext <<_ACEOF
74910 /* confdefs.h. */
74911 _ACEOF
74912 cat confdefs.h >>conftest.$ac_ext
74913 cat >>conftest.$ac_ext <<_ACEOF
74914 /* end confdefs.h. */
74915 #include <math.h>
74917 main ()
74919 _ceill (0); _floorl (0);
74921 return 0;
74923 _ACEOF
74924 rm -f conftest.$ac_objext
74925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74926 (eval $ac_compile) 2>conftest.er1
74927 ac_status=$?
74928 grep -v '^ *+' conftest.er1 >conftest.err
74929 rm -f conftest.er1
74930 cat conftest.err >&5
74931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74932 (exit $ac_status); } &&
74933 { ac_try='test -z "$ac_cxx_werror_flag"
74934 || test ! -s conftest.err'
74935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74936 (eval $ac_try) 2>&5
74937 ac_status=$?
74938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74939 (exit $ac_status); }; } &&
74940 { ac_try='test -s conftest.$ac_objext'
74941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74942 (eval $ac_try) 2>&5
74943 ac_status=$?
74944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74945 (exit $ac_status); }; }; then
74946 glibcxx_cv_func__long_double_round_use=yes
74947 else
74948 echo "$as_me: failed program was:" >&5
74949 sed 's/^/| /' conftest.$ac_ext >&5
74951 glibcxx_cv_func__long_double_round_use=no
74953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74954 ac_ext=c
74955 ac_cpp='$CPP $CPPFLAGS'
74956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74962 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
74963 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
74964 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74967 for ac_func in _ceill _floorl
74969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74970 echo "$as_me:$LINENO: checking for $ac_func" >&5
74971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74972 if eval "test \"\${$as_ac_var+set}\" = set"; then
74973 echo $ECHO_N "(cached) $ECHO_C" >&6
74974 else
74975 if test x$gcc_no_link = xyes; then
74976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74978 { (exit 1); exit 1; }; }
74980 cat >conftest.$ac_ext <<_ACEOF
74981 /* confdefs.h. */
74982 _ACEOF
74983 cat confdefs.h >>conftest.$ac_ext
74984 cat >>conftest.$ac_ext <<_ACEOF
74985 /* end confdefs.h. */
74986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74988 #define $ac_func innocuous_$ac_func
74990 /* System header to define __stub macros and hopefully few prototypes,
74991 which can conflict with char $ac_func (); below.
74992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74993 <limits.h> exists even on freestanding compilers. */
74995 #ifdef __STDC__
74996 # include <limits.h>
74997 #else
74998 # include <assert.h>
74999 #endif
75001 #undef $ac_func
75003 /* Override any gcc2 internal prototype to avoid an error. */
75004 #ifdef __cplusplus
75005 extern "C"
75007 #endif
75008 /* We use char because int might match the return type of a gcc2
75009 builtin and then its argument prototype would still apply. */
75010 char $ac_func ();
75011 /* The GNU C library defines this for functions which it implements
75012 to always fail with ENOSYS. Some functions are actually named
75013 something starting with __ and the normal name is an alias. */
75014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75015 choke me
75016 #else
75017 char (*f) () = $ac_func;
75018 #endif
75019 #ifdef __cplusplus
75021 #endif
75024 main ()
75026 return f != $ac_func;
75028 return 0;
75030 _ACEOF
75031 rm -f conftest.$ac_objext conftest$ac_exeext
75032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75033 (eval $ac_link) 2>conftest.er1
75034 ac_status=$?
75035 grep -v '^ *+' conftest.er1 >conftest.err
75036 rm -f conftest.er1
75037 cat conftest.err >&5
75038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75039 (exit $ac_status); } &&
75040 { ac_try='test -z "$ac_c_werror_flag"
75041 || test ! -s conftest.err'
75042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75043 (eval $ac_try) 2>&5
75044 ac_status=$?
75045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75046 (exit $ac_status); }; } &&
75047 { ac_try='test -s conftest$ac_exeext'
75048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75049 (eval $ac_try) 2>&5
75050 ac_status=$?
75051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75052 (exit $ac_status); }; }; then
75053 eval "$as_ac_var=yes"
75054 else
75055 echo "$as_me: failed program was:" >&5
75056 sed 's/^/| /' conftest.$ac_ext >&5
75058 eval "$as_ac_var=no"
75060 rm -f conftest.err conftest.$ac_objext \
75061 conftest$ac_exeext conftest.$ac_ext
75063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75065 if test `eval echo '${'$as_ac_var'}'` = yes; then
75066 cat >>confdefs.h <<_ACEOF
75067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75068 _ACEOF
75071 done
75083 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
75084 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
75085 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75086 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
75087 echo $ECHO_N "(cached) $ECHO_C" >&6
75088 else
75092 ac_ext=cc
75093 ac_cpp='$CXXCPP $CPPFLAGS'
75094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75098 cat >conftest.$ac_ext <<_ACEOF
75099 /* confdefs.h. */
75100 _ACEOF
75101 cat confdefs.h >>conftest.$ac_ext
75102 cat >>conftest.$ac_ext <<_ACEOF
75103 /* end confdefs.h. */
75104 #include <math.h>
75105 #ifdef HAVE_IEEEFP_H
75106 #include <ieeefp.h>
75107 #endif
75110 main ()
75112 isnanl(0);
75114 return 0;
75116 _ACEOF
75117 rm -f conftest.$ac_objext
75118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75119 (eval $ac_compile) 2>conftest.er1
75120 ac_status=$?
75121 grep -v '^ *+' conftest.er1 >conftest.err
75122 rm -f conftest.er1
75123 cat conftest.err >&5
75124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75125 (exit $ac_status); } &&
75126 { ac_try='test -z "$ac_cxx_werror_flag"
75127 || test ! -s conftest.err'
75128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75129 (eval $ac_try) 2>&5
75130 ac_status=$?
75131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75132 (exit $ac_status); }; } &&
75133 { ac_try='test -s conftest.$ac_objext'
75134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75135 (eval $ac_try) 2>&5
75136 ac_status=$?
75137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75138 (exit $ac_status); }; }; then
75139 glibcxx_cv_func_isnanl_use=yes
75140 else
75141 echo "$as_me: failed program was:" >&5
75142 sed 's/^/| /' conftest.$ac_ext >&5
75144 glibcxx_cv_func_isnanl_use=no
75146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75147 ac_ext=c
75148 ac_cpp='$CPP $CPPFLAGS'
75149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75157 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
75158 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
75160 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75162 for ac_func in isnanl
75164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75165 echo "$as_me:$LINENO: checking for $ac_func" >&5
75166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75167 if eval "test \"\${$as_ac_var+set}\" = set"; then
75168 echo $ECHO_N "(cached) $ECHO_C" >&6
75169 else
75170 if test x$gcc_no_link = xyes; then
75171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75173 { (exit 1); exit 1; }; }
75175 cat >conftest.$ac_ext <<_ACEOF
75176 /* confdefs.h. */
75177 _ACEOF
75178 cat confdefs.h >>conftest.$ac_ext
75179 cat >>conftest.$ac_ext <<_ACEOF
75180 /* end confdefs.h. */
75181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75183 #define $ac_func innocuous_$ac_func
75185 /* System header to define __stub macros and hopefully few prototypes,
75186 which can conflict with char $ac_func (); below.
75187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75188 <limits.h> exists even on freestanding compilers. */
75190 #ifdef __STDC__
75191 # include <limits.h>
75192 #else
75193 # include <assert.h>
75194 #endif
75196 #undef $ac_func
75198 /* Override any gcc2 internal prototype to avoid an error. */
75199 #ifdef __cplusplus
75200 extern "C"
75202 #endif
75203 /* We use char because int might match the return type of a gcc2
75204 builtin and then its argument prototype would still apply. */
75205 char $ac_func ();
75206 /* The GNU C library defines this for functions which it implements
75207 to always fail with ENOSYS. Some functions are actually named
75208 something starting with __ and the normal name is an alias. */
75209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75210 choke me
75211 #else
75212 char (*f) () = $ac_func;
75213 #endif
75214 #ifdef __cplusplus
75216 #endif
75219 main ()
75221 return f != $ac_func;
75223 return 0;
75225 _ACEOF
75226 rm -f conftest.$ac_objext conftest$ac_exeext
75227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75228 (eval $ac_link) 2>conftest.er1
75229 ac_status=$?
75230 grep -v '^ *+' conftest.er1 >conftest.err
75231 rm -f conftest.er1
75232 cat conftest.err >&5
75233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75234 (exit $ac_status); } &&
75235 { ac_try='test -z "$ac_c_werror_flag"
75236 || test ! -s conftest.err'
75237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75238 (eval $ac_try) 2>&5
75239 ac_status=$?
75240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75241 (exit $ac_status); }; } &&
75242 { ac_try='test -s conftest$ac_exeext'
75243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75244 (eval $ac_try) 2>&5
75245 ac_status=$?
75246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75247 (exit $ac_status); }; }; then
75248 eval "$as_ac_var=yes"
75249 else
75250 echo "$as_me: failed program was:" >&5
75251 sed 's/^/| /' conftest.$ac_ext >&5
75253 eval "$as_ac_var=no"
75255 rm -f conftest.err conftest.$ac_objext \
75256 conftest$ac_exeext conftest.$ac_ext
75258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75260 if test `eval echo '${'$as_ac_var'}'` = yes; then
75261 cat >>confdefs.h <<_ACEOF
75262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75263 _ACEOF
75266 done
75268 else
75270 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
75271 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
75272 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75273 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
75274 echo $ECHO_N "(cached) $ECHO_C" >&6
75275 else
75279 ac_ext=cc
75280 ac_cpp='$CXXCPP $CPPFLAGS'
75281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75285 cat >conftest.$ac_ext <<_ACEOF
75286 /* confdefs.h. */
75287 _ACEOF
75288 cat confdefs.h >>conftest.$ac_ext
75289 cat >>conftest.$ac_ext <<_ACEOF
75290 /* end confdefs.h. */
75291 #include <math.h>
75292 #ifdef HAVE_IEEEFP_H
75293 #include <ieeefp.h>
75294 #endif
75297 main ()
75299 _isnanl(0);
75301 return 0;
75303 _ACEOF
75304 rm -f conftest.$ac_objext
75305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75306 (eval $ac_compile) 2>conftest.er1
75307 ac_status=$?
75308 grep -v '^ *+' conftest.er1 >conftest.err
75309 rm -f conftest.er1
75310 cat conftest.err >&5
75311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75312 (exit $ac_status); } &&
75313 { ac_try='test -z "$ac_cxx_werror_flag"
75314 || test ! -s conftest.err'
75315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75316 (eval $ac_try) 2>&5
75317 ac_status=$?
75318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75319 (exit $ac_status); }; } &&
75320 { ac_try='test -s conftest.$ac_objext'
75321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75322 (eval $ac_try) 2>&5
75323 ac_status=$?
75324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75325 (exit $ac_status); }; }; then
75326 glibcxx_cv_func__isnanl_use=yes
75327 else
75328 echo "$as_me: failed program was:" >&5
75329 sed 's/^/| /' conftest.$ac_ext >&5
75331 glibcxx_cv_func__isnanl_use=no
75333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75334 ac_ext=c
75335 ac_cpp='$CPP $CPPFLAGS'
75336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75344 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
75345 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
75347 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75349 for ac_func in _isnanl
75351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75352 echo "$as_me:$LINENO: checking for $ac_func" >&5
75353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75354 if eval "test \"\${$as_ac_var+set}\" = set"; then
75355 echo $ECHO_N "(cached) $ECHO_C" >&6
75356 else
75357 if test x$gcc_no_link = xyes; then
75358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75360 { (exit 1); exit 1; }; }
75362 cat >conftest.$ac_ext <<_ACEOF
75363 /* confdefs.h. */
75364 _ACEOF
75365 cat confdefs.h >>conftest.$ac_ext
75366 cat >>conftest.$ac_ext <<_ACEOF
75367 /* end confdefs.h. */
75368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75370 #define $ac_func innocuous_$ac_func
75372 /* System header to define __stub macros and hopefully few prototypes,
75373 which can conflict with char $ac_func (); below.
75374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75375 <limits.h> exists even on freestanding compilers. */
75377 #ifdef __STDC__
75378 # include <limits.h>
75379 #else
75380 # include <assert.h>
75381 #endif
75383 #undef $ac_func
75385 /* Override any gcc2 internal prototype to avoid an error. */
75386 #ifdef __cplusplus
75387 extern "C"
75389 #endif
75390 /* We use char because int might match the return type of a gcc2
75391 builtin and then its argument prototype would still apply. */
75392 char $ac_func ();
75393 /* The GNU C library defines this for functions which it implements
75394 to always fail with ENOSYS. Some functions are actually named
75395 something starting with __ and the normal name is an alias. */
75396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75397 choke me
75398 #else
75399 char (*f) () = $ac_func;
75400 #endif
75401 #ifdef __cplusplus
75403 #endif
75406 main ()
75408 return f != $ac_func;
75410 return 0;
75412 _ACEOF
75413 rm -f conftest.$ac_objext conftest$ac_exeext
75414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75415 (eval $ac_link) 2>conftest.er1
75416 ac_status=$?
75417 grep -v '^ *+' conftest.er1 >conftest.err
75418 rm -f conftest.er1
75419 cat conftest.err >&5
75420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75421 (exit $ac_status); } &&
75422 { ac_try='test -z "$ac_c_werror_flag"
75423 || test ! -s conftest.err'
75424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75425 (eval $ac_try) 2>&5
75426 ac_status=$?
75427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75428 (exit $ac_status); }; } &&
75429 { ac_try='test -s conftest$ac_exeext'
75430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75431 (eval $ac_try) 2>&5
75432 ac_status=$?
75433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75434 (exit $ac_status); }; }; then
75435 eval "$as_ac_var=yes"
75436 else
75437 echo "$as_me: failed program was:" >&5
75438 sed 's/^/| /' conftest.$ac_ext >&5
75440 eval "$as_ac_var=no"
75442 rm -f conftest.err conftest.$ac_objext \
75443 conftest$ac_exeext conftest.$ac_ext
75445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75447 if test `eval echo '${'$as_ac_var'}'` = yes; then
75448 cat >>confdefs.h <<_ACEOF
75449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75450 _ACEOF
75453 done
75463 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
75464 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
75465 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75466 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
75467 echo $ECHO_N "(cached) $ECHO_C" >&6
75468 else
75472 ac_ext=cc
75473 ac_cpp='$CXXCPP $CPPFLAGS'
75474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75478 cat >conftest.$ac_ext <<_ACEOF
75479 /* confdefs.h. */
75480 _ACEOF
75481 cat confdefs.h >>conftest.$ac_ext
75482 cat >>conftest.$ac_ext <<_ACEOF
75483 /* end confdefs.h. */
75484 #include <math.h>
75485 #ifdef HAVE_IEEEFP_H
75486 #include <ieeefp.h>
75487 #endif
75490 main ()
75492 isinfl(0);
75494 return 0;
75496 _ACEOF
75497 rm -f conftest.$ac_objext
75498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75499 (eval $ac_compile) 2>conftest.er1
75500 ac_status=$?
75501 grep -v '^ *+' conftest.er1 >conftest.err
75502 rm -f conftest.er1
75503 cat conftest.err >&5
75504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75505 (exit $ac_status); } &&
75506 { ac_try='test -z "$ac_cxx_werror_flag"
75507 || test ! -s conftest.err'
75508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75509 (eval $ac_try) 2>&5
75510 ac_status=$?
75511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75512 (exit $ac_status); }; } &&
75513 { ac_try='test -s conftest.$ac_objext'
75514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75515 (eval $ac_try) 2>&5
75516 ac_status=$?
75517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75518 (exit $ac_status); }; }; then
75519 glibcxx_cv_func_isinfl_use=yes
75520 else
75521 echo "$as_me: failed program was:" >&5
75522 sed 's/^/| /' conftest.$ac_ext >&5
75524 glibcxx_cv_func_isinfl_use=no
75526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75527 ac_ext=c
75528 ac_cpp='$CPP $CPPFLAGS'
75529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75537 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
75538 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
75540 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75542 for ac_func in isinfl
75544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75545 echo "$as_me:$LINENO: checking for $ac_func" >&5
75546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75547 if eval "test \"\${$as_ac_var+set}\" = set"; then
75548 echo $ECHO_N "(cached) $ECHO_C" >&6
75549 else
75550 if test x$gcc_no_link = xyes; then
75551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75553 { (exit 1); exit 1; }; }
75555 cat >conftest.$ac_ext <<_ACEOF
75556 /* confdefs.h. */
75557 _ACEOF
75558 cat confdefs.h >>conftest.$ac_ext
75559 cat >>conftest.$ac_ext <<_ACEOF
75560 /* end confdefs.h. */
75561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75563 #define $ac_func innocuous_$ac_func
75565 /* System header to define __stub macros and hopefully few prototypes,
75566 which can conflict with char $ac_func (); below.
75567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75568 <limits.h> exists even on freestanding compilers. */
75570 #ifdef __STDC__
75571 # include <limits.h>
75572 #else
75573 # include <assert.h>
75574 #endif
75576 #undef $ac_func
75578 /* Override any gcc2 internal prototype to avoid an error. */
75579 #ifdef __cplusplus
75580 extern "C"
75582 #endif
75583 /* We use char because int might match the return type of a gcc2
75584 builtin and then its argument prototype would still apply. */
75585 char $ac_func ();
75586 /* The GNU C library defines this for functions which it implements
75587 to always fail with ENOSYS. Some functions are actually named
75588 something starting with __ and the normal name is an alias. */
75589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75590 choke me
75591 #else
75592 char (*f) () = $ac_func;
75593 #endif
75594 #ifdef __cplusplus
75596 #endif
75599 main ()
75601 return f != $ac_func;
75603 return 0;
75605 _ACEOF
75606 rm -f conftest.$ac_objext conftest$ac_exeext
75607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75608 (eval $ac_link) 2>conftest.er1
75609 ac_status=$?
75610 grep -v '^ *+' conftest.er1 >conftest.err
75611 rm -f conftest.er1
75612 cat conftest.err >&5
75613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75614 (exit $ac_status); } &&
75615 { ac_try='test -z "$ac_c_werror_flag"
75616 || test ! -s conftest.err'
75617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75618 (eval $ac_try) 2>&5
75619 ac_status=$?
75620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75621 (exit $ac_status); }; } &&
75622 { ac_try='test -s conftest$ac_exeext'
75623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75624 (eval $ac_try) 2>&5
75625 ac_status=$?
75626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75627 (exit $ac_status); }; }; then
75628 eval "$as_ac_var=yes"
75629 else
75630 echo "$as_me: failed program was:" >&5
75631 sed 's/^/| /' conftest.$ac_ext >&5
75633 eval "$as_ac_var=no"
75635 rm -f conftest.err conftest.$ac_objext \
75636 conftest$ac_exeext conftest.$ac_ext
75638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75640 if test `eval echo '${'$as_ac_var'}'` = yes; then
75641 cat >>confdefs.h <<_ACEOF
75642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75643 _ACEOF
75646 done
75648 else
75650 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
75651 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
75652 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75653 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
75654 echo $ECHO_N "(cached) $ECHO_C" >&6
75655 else
75659 ac_ext=cc
75660 ac_cpp='$CXXCPP $CPPFLAGS'
75661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75665 cat >conftest.$ac_ext <<_ACEOF
75666 /* confdefs.h. */
75667 _ACEOF
75668 cat confdefs.h >>conftest.$ac_ext
75669 cat >>conftest.$ac_ext <<_ACEOF
75670 /* end confdefs.h. */
75671 #include <math.h>
75672 #ifdef HAVE_IEEEFP_H
75673 #include <ieeefp.h>
75674 #endif
75677 main ()
75679 _isinfl(0);
75681 return 0;
75683 _ACEOF
75684 rm -f conftest.$ac_objext
75685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75686 (eval $ac_compile) 2>conftest.er1
75687 ac_status=$?
75688 grep -v '^ *+' conftest.er1 >conftest.err
75689 rm -f conftest.er1
75690 cat conftest.err >&5
75691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75692 (exit $ac_status); } &&
75693 { ac_try='test -z "$ac_cxx_werror_flag"
75694 || test ! -s conftest.err'
75695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75696 (eval $ac_try) 2>&5
75697 ac_status=$?
75698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75699 (exit $ac_status); }; } &&
75700 { ac_try='test -s conftest.$ac_objext'
75701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75702 (eval $ac_try) 2>&5
75703 ac_status=$?
75704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75705 (exit $ac_status); }; }; then
75706 glibcxx_cv_func__isinfl_use=yes
75707 else
75708 echo "$as_me: failed program was:" >&5
75709 sed 's/^/| /' conftest.$ac_ext >&5
75711 glibcxx_cv_func__isinfl_use=no
75713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75714 ac_ext=c
75715 ac_cpp='$CPP $CPPFLAGS'
75716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75724 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
75725 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
75727 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75729 for ac_func in _isinfl
75731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75732 echo "$as_me:$LINENO: checking for $ac_func" >&5
75733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75734 if eval "test \"\${$as_ac_var+set}\" = set"; then
75735 echo $ECHO_N "(cached) $ECHO_C" >&6
75736 else
75737 if test x$gcc_no_link = xyes; then
75738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75740 { (exit 1); exit 1; }; }
75742 cat >conftest.$ac_ext <<_ACEOF
75743 /* confdefs.h. */
75744 _ACEOF
75745 cat confdefs.h >>conftest.$ac_ext
75746 cat >>conftest.$ac_ext <<_ACEOF
75747 /* end confdefs.h. */
75748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75750 #define $ac_func innocuous_$ac_func
75752 /* System header to define __stub macros and hopefully few prototypes,
75753 which can conflict with char $ac_func (); below.
75754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75755 <limits.h> exists even on freestanding compilers. */
75757 #ifdef __STDC__
75758 # include <limits.h>
75759 #else
75760 # include <assert.h>
75761 #endif
75763 #undef $ac_func
75765 /* Override any gcc2 internal prototype to avoid an error. */
75766 #ifdef __cplusplus
75767 extern "C"
75769 #endif
75770 /* We use char because int might match the return type of a gcc2
75771 builtin and then its argument prototype would still apply. */
75772 char $ac_func ();
75773 /* The GNU C library defines this for functions which it implements
75774 to always fail with ENOSYS. Some functions are actually named
75775 something starting with __ and the normal name is an alias. */
75776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75777 choke me
75778 #else
75779 char (*f) () = $ac_func;
75780 #endif
75781 #ifdef __cplusplus
75783 #endif
75786 main ()
75788 return f != $ac_func;
75790 return 0;
75792 _ACEOF
75793 rm -f conftest.$ac_objext conftest$ac_exeext
75794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75795 (eval $ac_link) 2>conftest.er1
75796 ac_status=$?
75797 grep -v '^ *+' conftest.er1 >conftest.err
75798 rm -f conftest.er1
75799 cat conftest.err >&5
75800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75801 (exit $ac_status); } &&
75802 { ac_try='test -z "$ac_c_werror_flag"
75803 || test ! -s conftest.err'
75804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75805 (eval $ac_try) 2>&5
75806 ac_status=$?
75807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75808 (exit $ac_status); }; } &&
75809 { ac_try='test -s conftest$ac_exeext'
75810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75811 (eval $ac_try) 2>&5
75812 ac_status=$?
75813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75814 (exit $ac_status); }; }; then
75815 eval "$as_ac_var=yes"
75816 else
75817 echo "$as_me: failed program was:" >&5
75818 sed 's/^/| /' conftest.$ac_ext >&5
75820 eval "$as_ac_var=no"
75822 rm -f conftest.err conftest.$ac_objext \
75823 conftest$ac_exeext conftest.$ac_ext
75825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75827 if test `eval echo '${'$as_ac_var'}'` = yes; then
75828 cat >>confdefs.h <<_ACEOF
75829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75830 _ACEOF
75833 done
75843 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
75844 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
75845 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
75846 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
75847 echo $ECHO_N "(cached) $ECHO_C" >&6
75848 else
75852 ac_ext=cc
75853 ac_cpp='$CXXCPP $CPPFLAGS'
75854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75858 cat >conftest.$ac_ext <<_ACEOF
75859 /* confdefs.h. */
75860 _ACEOF
75861 cat confdefs.h >>conftest.$ac_ext
75862 cat >>conftest.$ac_ext <<_ACEOF
75863 /* end confdefs.h. */
75864 #include <math.h>
75866 main ()
75868 copysignl(0, 0);
75870 return 0;
75872 _ACEOF
75873 rm -f conftest.$ac_objext
75874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75875 (eval $ac_compile) 2>conftest.er1
75876 ac_status=$?
75877 grep -v '^ *+' conftest.er1 >conftest.err
75878 rm -f conftest.er1
75879 cat conftest.err >&5
75880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75881 (exit $ac_status); } &&
75882 { ac_try='test -z "$ac_cxx_werror_flag"
75883 || test ! -s conftest.err'
75884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75885 (eval $ac_try) 2>&5
75886 ac_status=$?
75887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75888 (exit $ac_status); }; } &&
75889 { ac_try='test -s conftest.$ac_objext'
75890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75891 (eval $ac_try) 2>&5
75892 ac_status=$?
75893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75894 (exit $ac_status); }; }; then
75895 glibcxx_cv_func_copysignl_use=yes
75896 else
75897 echo "$as_me: failed program was:" >&5
75898 sed 's/^/| /' conftest.$ac_ext >&5
75900 glibcxx_cv_func_copysignl_use=no
75902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75903 ac_ext=c
75904 ac_cpp='$CPP $CPPFLAGS'
75905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75913 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
75914 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
75916 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
75918 for ac_func in copysignl
75920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75921 echo "$as_me:$LINENO: checking for $ac_func" >&5
75922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75923 if eval "test \"\${$as_ac_var+set}\" = set"; then
75924 echo $ECHO_N "(cached) $ECHO_C" >&6
75925 else
75926 if test x$gcc_no_link = xyes; then
75927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75929 { (exit 1); exit 1; }; }
75931 cat >conftest.$ac_ext <<_ACEOF
75932 /* confdefs.h. */
75933 _ACEOF
75934 cat confdefs.h >>conftest.$ac_ext
75935 cat >>conftest.$ac_ext <<_ACEOF
75936 /* end confdefs.h. */
75937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75939 #define $ac_func innocuous_$ac_func
75941 /* System header to define __stub macros and hopefully few prototypes,
75942 which can conflict with char $ac_func (); below.
75943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75944 <limits.h> exists even on freestanding compilers. */
75946 #ifdef __STDC__
75947 # include <limits.h>
75948 #else
75949 # include <assert.h>
75950 #endif
75952 #undef $ac_func
75954 /* Override any gcc2 internal prototype to avoid an error. */
75955 #ifdef __cplusplus
75956 extern "C"
75958 #endif
75959 /* We use char because int might match the return type of a gcc2
75960 builtin and then its argument prototype would still apply. */
75961 char $ac_func ();
75962 /* The GNU C library defines this for functions which it implements
75963 to always fail with ENOSYS. Some functions are actually named
75964 something starting with __ and the normal name is an alias. */
75965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75966 choke me
75967 #else
75968 char (*f) () = $ac_func;
75969 #endif
75970 #ifdef __cplusplus
75972 #endif
75975 main ()
75977 return f != $ac_func;
75979 return 0;
75981 _ACEOF
75982 rm -f conftest.$ac_objext conftest$ac_exeext
75983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75984 (eval $ac_link) 2>conftest.er1
75985 ac_status=$?
75986 grep -v '^ *+' conftest.er1 >conftest.err
75987 rm -f conftest.er1
75988 cat conftest.err >&5
75989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75990 (exit $ac_status); } &&
75991 { ac_try='test -z "$ac_c_werror_flag"
75992 || test ! -s conftest.err'
75993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75994 (eval $ac_try) 2>&5
75995 ac_status=$?
75996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75997 (exit $ac_status); }; } &&
75998 { ac_try='test -s conftest$ac_exeext'
75999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76000 (eval $ac_try) 2>&5
76001 ac_status=$?
76002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76003 (exit $ac_status); }; }; then
76004 eval "$as_ac_var=yes"
76005 else
76006 echo "$as_me: failed program was:" >&5
76007 sed 's/^/| /' conftest.$ac_ext >&5
76009 eval "$as_ac_var=no"
76011 rm -f conftest.err conftest.$ac_objext \
76012 conftest$ac_exeext conftest.$ac_ext
76014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76016 if test `eval echo '${'$as_ac_var'}'` = yes; then
76017 cat >>confdefs.h <<_ACEOF
76018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76019 _ACEOF
76022 done
76024 else
76026 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
76027 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
76028 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
76029 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
76030 echo $ECHO_N "(cached) $ECHO_C" >&6
76031 else
76035 ac_ext=cc
76036 ac_cpp='$CXXCPP $CPPFLAGS'
76037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76041 cat >conftest.$ac_ext <<_ACEOF
76042 /* confdefs.h. */
76043 _ACEOF
76044 cat confdefs.h >>conftest.$ac_ext
76045 cat >>conftest.$ac_ext <<_ACEOF
76046 /* end confdefs.h. */
76047 #include <math.h>
76049 main ()
76051 _copysignl(0, 0);
76053 return 0;
76055 _ACEOF
76056 rm -f conftest.$ac_objext
76057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76058 (eval $ac_compile) 2>conftest.er1
76059 ac_status=$?
76060 grep -v '^ *+' conftest.er1 >conftest.err
76061 rm -f conftest.er1
76062 cat conftest.err >&5
76063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76064 (exit $ac_status); } &&
76065 { ac_try='test -z "$ac_cxx_werror_flag"
76066 || test ! -s conftest.err'
76067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76068 (eval $ac_try) 2>&5
76069 ac_status=$?
76070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76071 (exit $ac_status); }; } &&
76072 { ac_try='test -s conftest.$ac_objext'
76073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76074 (eval $ac_try) 2>&5
76075 ac_status=$?
76076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76077 (exit $ac_status); }; }; then
76078 glibcxx_cv_func__copysignl_use=yes
76079 else
76080 echo "$as_me: failed program was:" >&5
76081 sed 's/^/| /' conftest.$ac_ext >&5
76083 glibcxx_cv_func__copysignl_use=no
76085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76086 ac_ext=c
76087 ac_cpp='$CPP $CPPFLAGS'
76088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76096 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
76097 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
76099 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
76101 for ac_func in _copysignl
76103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76104 echo "$as_me:$LINENO: checking for $ac_func" >&5
76105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76106 if eval "test \"\${$as_ac_var+set}\" = set"; then
76107 echo $ECHO_N "(cached) $ECHO_C" >&6
76108 else
76109 if test x$gcc_no_link = xyes; then
76110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76112 { (exit 1); exit 1; }; }
76114 cat >conftest.$ac_ext <<_ACEOF
76115 /* confdefs.h. */
76116 _ACEOF
76117 cat confdefs.h >>conftest.$ac_ext
76118 cat >>conftest.$ac_ext <<_ACEOF
76119 /* end confdefs.h. */
76120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76122 #define $ac_func innocuous_$ac_func
76124 /* System header to define __stub macros and hopefully few prototypes,
76125 which can conflict with char $ac_func (); below.
76126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76127 <limits.h> exists even on freestanding compilers. */
76129 #ifdef __STDC__
76130 # include <limits.h>
76131 #else
76132 # include <assert.h>
76133 #endif
76135 #undef $ac_func
76137 /* Override any gcc2 internal prototype to avoid an error. */
76138 #ifdef __cplusplus
76139 extern "C"
76141 #endif
76142 /* We use char because int might match the return type of a gcc2
76143 builtin and then its argument prototype would still apply. */
76144 char $ac_func ();
76145 /* The GNU C library defines this for functions which it implements
76146 to always fail with ENOSYS. Some functions are actually named
76147 something starting with __ and the normal name is an alias. */
76148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76149 choke me
76150 #else
76151 char (*f) () = $ac_func;
76152 #endif
76153 #ifdef __cplusplus
76155 #endif
76158 main ()
76160 return f != $ac_func;
76162 return 0;
76164 _ACEOF
76165 rm -f conftest.$ac_objext conftest$ac_exeext
76166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76167 (eval $ac_link) 2>conftest.er1
76168 ac_status=$?
76169 grep -v '^ *+' conftest.er1 >conftest.err
76170 rm -f conftest.er1
76171 cat conftest.err >&5
76172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76173 (exit $ac_status); } &&
76174 { ac_try='test -z "$ac_c_werror_flag"
76175 || test ! -s conftest.err'
76176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76177 (eval $ac_try) 2>&5
76178 ac_status=$?
76179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76180 (exit $ac_status); }; } &&
76181 { ac_try='test -s conftest$ac_exeext'
76182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76183 (eval $ac_try) 2>&5
76184 ac_status=$?
76185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76186 (exit $ac_status); }; }; then
76187 eval "$as_ac_var=yes"
76188 else
76189 echo "$as_me: failed program was:" >&5
76190 sed 's/^/| /' conftest.$ac_ext >&5
76192 eval "$as_ac_var=no"
76194 rm -f conftest.err conftest.$ac_objext \
76195 conftest$ac_exeext conftest.$ac_ext
76197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76199 if test `eval echo '${'$as_ac_var'}'` = yes; then
76200 cat >>confdefs.h <<_ACEOF
76201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76202 _ACEOF
76205 done
76215 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
76216 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
76217 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76218 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
76219 echo $ECHO_N "(cached) $ECHO_C" >&6
76220 else
76224 ac_ext=cc
76225 ac_cpp='$CXXCPP $CPPFLAGS'
76226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76230 cat >conftest.$ac_ext <<_ACEOF
76231 /* confdefs.h. */
76232 _ACEOF
76233 cat confdefs.h >>conftest.$ac_ext
76234 cat >>conftest.$ac_ext <<_ACEOF
76235 /* end confdefs.h. */
76236 #include <math.h>
76238 main ()
76240 atan2l(0, 0);
76242 return 0;
76244 _ACEOF
76245 rm -f conftest.$ac_objext
76246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76247 (eval $ac_compile) 2>conftest.er1
76248 ac_status=$?
76249 grep -v '^ *+' conftest.er1 >conftest.err
76250 rm -f conftest.er1
76251 cat conftest.err >&5
76252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76253 (exit $ac_status); } &&
76254 { ac_try='test -z "$ac_cxx_werror_flag"
76255 || test ! -s conftest.err'
76256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76257 (eval $ac_try) 2>&5
76258 ac_status=$?
76259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76260 (exit $ac_status); }; } &&
76261 { ac_try='test -s conftest.$ac_objext'
76262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76263 (eval $ac_try) 2>&5
76264 ac_status=$?
76265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76266 (exit $ac_status); }; }; then
76267 glibcxx_cv_func_atan2l_use=yes
76268 else
76269 echo "$as_me: failed program was:" >&5
76270 sed 's/^/| /' conftest.$ac_ext >&5
76272 glibcxx_cv_func_atan2l_use=no
76274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76275 ac_ext=c
76276 ac_cpp='$CPP $CPPFLAGS'
76277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76285 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
76286 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
76288 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76290 for ac_func in atan2l
76292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76293 echo "$as_me:$LINENO: checking for $ac_func" >&5
76294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76295 if eval "test \"\${$as_ac_var+set}\" = set"; then
76296 echo $ECHO_N "(cached) $ECHO_C" >&6
76297 else
76298 if test x$gcc_no_link = xyes; then
76299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76301 { (exit 1); exit 1; }; }
76303 cat >conftest.$ac_ext <<_ACEOF
76304 /* confdefs.h. */
76305 _ACEOF
76306 cat confdefs.h >>conftest.$ac_ext
76307 cat >>conftest.$ac_ext <<_ACEOF
76308 /* end confdefs.h. */
76309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76311 #define $ac_func innocuous_$ac_func
76313 /* System header to define __stub macros and hopefully few prototypes,
76314 which can conflict with char $ac_func (); below.
76315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76316 <limits.h> exists even on freestanding compilers. */
76318 #ifdef __STDC__
76319 # include <limits.h>
76320 #else
76321 # include <assert.h>
76322 #endif
76324 #undef $ac_func
76326 /* Override any gcc2 internal prototype to avoid an error. */
76327 #ifdef __cplusplus
76328 extern "C"
76330 #endif
76331 /* We use char because int might match the return type of a gcc2
76332 builtin and then its argument prototype would still apply. */
76333 char $ac_func ();
76334 /* The GNU C library defines this for functions which it implements
76335 to always fail with ENOSYS. Some functions are actually named
76336 something starting with __ and the normal name is an alias. */
76337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76338 choke me
76339 #else
76340 char (*f) () = $ac_func;
76341 #endif
76342 #ifdef __cplusplus
76344 #endif
76347 main ()
76349 return f != $ac_func;
76351 return 0;
76353 _ACEOF
76354 rm -f conftest.$ac_objext conftest$ac_exeext
76355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76356 (eval $ac_link) 2>conftest.er1
76357 ac_status=$?
76358 grep -v '^ *+' conftest.er1 >conftest.err
76359 rm -f conftest.er1
76360 cat conftest.err >&5
76361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76362 (exit $ac_status); } &&
76363 { ac_try='test -z "$ac_c_werror_flag"
76364 || test ! -s conftest.err'
76365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76366 (eval $ac_try) 2>&5
76367 ac_status=$?
76368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76369 (exit $ac_status); }; } &&
76370 { ac_try='test -s conftest$ac_exeext'
76371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76372 (eval $ac_try) 2>&5
76373 ac_status=$?
76374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76375 (exit $ac_status); }; }; then
76376 eval "$as_ac_var=yes"
76377 else
76378 echo "$as_me: failed program was:" >&5
76379 sed 's/^/| /' conftest.$ac_ext >&5
76381 eval "$as_ac_var=no"
76383 rm -f conftest.err conftest.$ac_objext \
76384 conftest$ac_exeext conftest.$ac_ext
76386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76388 if test `eval echo '${'$as_ac_var'}'` = yes; then
76389 cat >>confdefs.h <<_ACEOF
76390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76391 _ACEOF
76394 done
76396 else
76398 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
76399 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
76400 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76401 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
76402 echo $ECHO_N "(cached) $ECHO_C" >&6
76403 else
76407 ac_ext=cc
76408 ac_cpp='$CXXCPP $CPPFLAGS'
76409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76413 cat >conftest.$ac_ext <<_ACEOF
76414 /* confdefs.h. */
76415 _ACEOF
76416 cat confdefs.h >>conftest.$ac_ext
76417 cat >>conftest.$ac_ext <<_ACEOF
76418 /* end confdefs.h. */
76419 #include <math.h>
76421 main ()
76423 _atan2l(0, 0);
76425 return 0;
76427 _ACEOF
76428 rm -f conftest.$ac_objext
76429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76430 (eval $ac_compile) 2>conftest.er1
76431 ac_status=$?
76432 grep -v '^ *+' conftest.er1 >conftest.err
76433 rm -f conftest.er1
76434 cat conftest.err >&5
76435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76436 (exit $ac_status); } &&
76437 { ac_try='test -z "$ac_cxx_werror_flag"
76438 || test ! -s conftest.err'
76439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76440 (eval $ac_try) 2>&5
76441 ac_status=$?
76442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76443 (exit $ac_status); }; } &&
76444 { ac_try='test -s conftest.$ac_objext'
76445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76446 (eval $ac_try) 2>&5
76447 ac_status=$?
76448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76449 (exit $ac_status); }; }; then
76450 glibcxx_cv_func__atan2l_use=yes
76451 else
76452 echo "$as_me: failed program was:" >&5
76453 sed 's/^/| /' conftest.$ac_ext >&5
76455 glibcxx_cv_func__atan2l_use=no
76457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76458 ac_ext=c
76459 ac_cpp='$CPP $CPPFLAGS'
76460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76468 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
76469 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
76471 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76473 for ac_func in _atan2l
76475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76476 echo "$as_me:$LINENO: checking for $ac_func" >&5
76477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76478 if eval "test \"\${$as_ac_var+set}\" = set"; then
76479 echo $ECHO_N "(cached) $ECHO_C" >&6
76480 else
76481 if test x$gcc_no_link = xyes; then
76482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76484 { (exit 1); exit 1; }; }
76486 cat >conftest.$ac_ext <<_ACEOF
76487 /* confdefs.h. */
76488 _ACEOF
76489 cat confdefs.h >>conftest.$ac_ext
76490 cat >>conftest.$ac_ext <<_ACEOF
76491 /* end confdefs.h. */
76492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76494 #define $ac_func innocuous_$ac_func
76496 /* System header to define __stub macros and hopefully few prototypes,
76497 which can conflict with char $ac_func (); below.
76498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76499 <limits.h> exists even on freestanding compilers. */
76501 #ifdef __STDC__
76502 # include <limits.h>
76503 #else
76504 # include <assert.h>
76505 #endif
76507 #undef $ac_func
76509 /* Override any gcc2 internal prototype to avoid an error. */
76510 #ifdef __cplusplus
76511 extern "C"
76513 #endif
76514 /* We use char because int might match the return type of a gcc2
76515 builtin and then its argument prototype would still apply. */
76516 char $ac_func ();
76517 /* The GNU C library defines this for functions which it implements
76518 to always fail with ENOSYS. Some functions are actually named
76519 something starting with __ and the normal name is an alias. */
76520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76521 choke me
76522 #else
76523 char (*f) () = $ac_func;
76524 #endif
76525 #ifdef __cplusplus
76527 #endif
76530 main ()
76532 return f != $ac_func;
76534 return 0;
76536 _ACEOF
76537 rm -f conftest.$ac_objext conftest$ac_exeext
76538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76539 (eval $ac_link) 2>conftest.er1
76540 ac_status=$?
76541 grep -v '^ *+' conftest.er1 >conftest.err
76542 rm -f conftest.er1
76543 cat conftest.err >&5
76544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76545 (exit $ac_status); } &&
76546 { ac_try='test -z "$ac_c_werror_flag"
76547 || test ! -s conftest.err'
76548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76549 (eval $ac_try) 2>&5
76550 ac_status=$?
76551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76552 (exit $ac_status); }; } &&
76553 { ac_try='test -s conftest$ac_exeext'
76554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76555 (eval $ac_try) 2>&5
76556 ac_status=$?
76557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76558 (exit $ac_status); }; }; then
76559 eval "$as_ac_var=yes"
76560 else
76561 echo "$as_me: failed program was:" >&5
76562 sed 's/^/| /' conftest.$ac_ext >&5
76564 eval "$as_ac_var=no"
76566 rm -f conftest.err conftest.$ac_objext \
76567 conftest$ac_exeext conftest.$ac_ext
76569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76571 if test `eval echo '${'$as_ac_var'}'` = yes; then
76572 cat >>confdefs.h <<_ACEOF
76573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76574 _ACEOF
76577 done
76587 echo "$as_me:$LINENO: checking for expl declaration" >&5
76588 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
76589 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76590 if test "${glibcxx_cv_func_expl_use+set}" = set; then
76591 echo $ECHO_N "(cached) $ECHO_C" >&6
76592 else
76596 ac_ext=cc
76597 ac_cpp='$CXXCPP $CPPFLAGS'
76598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76602 cat >conftest.$ac_ext <<_ACEOF
76603 /* confdefs.h. */
76604 _ACEOF
76605 cat confdefs.h >>conftest.$ac_ext
76606 cat >>conftest.$ac_ext <<_ACEOF
76607 /* end confdefs.h. */
76608 #include <math.h>
76609 #ifdef HAVE_IEEEFP_H
76610 #include <ieeefp.h>
76611 #endif
76614 main ()
76616 expl(0);
76618 return 0;
76620 _ACEOF
76621 rm -f conftest.$ac_objext
76622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76623 (eval $ac_compile) 2>conftest.er1
76624 ac_status=$?
76625 grep -v '^ *+' conftest.er1 >conftest.err
76626 rm -f conftest.er1
76627 cat conftest.err >&5
76628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76629 (exit $ac_status); } &&
76630 { ac_try='test -z "$ac_cxx_werror_flag"
76631 || test ! -s conftest.err'
76632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76633 (eval $ac_try) 2>&5
76634 ac_status=$?
76635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76636 (exit $ac_status); }; } &&
76637 { ac_try='test -s conftest.$ac_objext'
76638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76639 (eval $ac_try) 2>&5
76640 ac_status=$?
76641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76642 (exit $ac_status); }; }; then
76643 glibcxx_cv_func_expl_use=yes
76644 else
76645 echo "$as_me: failed program was:" >&5
76646 sed 's/^/| /' conftest.$ac_ext >&5
76648 glibcxx_cv_func_expl_use=no
76650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76651 ac_ext=c
76652 ac_cpp='$CPP $CPPFLAGS'
76653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76661 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
76662 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
76664 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76666 for ac_func in expl
76668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76669 echo "$as_me:$LINENO: checking for $ac_func" >&5
76670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76671 if eval "test \"\${$as_ac_var+set}\" = set"; then
76672 echo $ECHO_N "(cached) $ECHO_C" >&6
76673 else
76674 if test x$gcc_no_link = xyes; then
76675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76677 { (exit 1); exit 1; }; }
76679 cat >conftest.$ac_ext <<_ACEOF
76680 /* confdefs.h. */
76681 _ACEOF
76682 cat confdefs.h >>conftest.$ac_ext
76683 cat >>conftest.$ac_ext <<_ACEOF
76684 /* end confdefs.h. */
76685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76687 #define $ac_func innocuous_$ac_func
76689 /* System header to define __stub macros and hopefully few prototypes,
76690 which can conflict with char $ac_func (); below.
76691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76692 <limits.h> exists even on freestanding compilers. */
76694 #ifdef __STDC__
76695 # include <limits.h>
76696 #else
76697 # include <assert.h>
76698 #endif
76700 #undef $ac_func
76702 /* Override any gcc2 internal prototype to avoid an error. */
76703 #ifdef __cplusplus
76704 extern "C"
76706 #endif
76707 /* We use char because int might match the return type of a gcc2
76708 builtin and then its argument prototype would still apply. */
76709 char $ac_func ();
76710 /* The GNU C library defines this for functions which it implements
76711 to always fail with ENOSYS. Some functions are actually named
76712 something starting with __ and the normal name is an alias. */
76713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76714 choke me
76715 #else
76716 char (*f) () = $ac_func;
76717 #endif
76718 #ifdef __cplusplus
76720 #endif
76723 main ()
76725 return f != $ac_func;
76727 return 0;
76729 _ACEOF
76730 rm -f conftest.$ac_objext conftest$ac_exeext
76731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76732 (eval $ac_link) 2>conftest.er1
76733 ac_status=$?
76734 grep -v '^ *+' conftest.er1 >conftest.err
76735 rm -f conftest.er1
76736 cat conftest.err >&5
76737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76738 (exit $ac_status); } &&
76739 { ac_try='test -z "$ac_c_werror_flag"
76740 || test ! -s conftest.err'
76741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76742 (eval $ac_try) 2>&5
76743 ac_status=$?
76744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76745 (exit $ac_status); }; } &&
76746 { ac_try='test -s conftest$ac_exeext'
76747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76748 (eval $ac_try) 2>&5
76749 ac_status=$?
76750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76751 (exit $ac_status); }; }; then
76752 eval "$as_ac_var=yes"
76753 else
76754 echo "$as_me: failed program was:" >&5
76755 sed 's/^/| /' conftest.$ac_ext >&5
76757 eval "$as_ac_var=no"
76759 rm -f conftest.err conftest.$ac_objext \
76760 conftest$ac_exeext conftest.$ac_ext
76762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76764 if test `eval echo '${'$as_ac_var'}'` = yes; then
76765 cat >>confdefs.h <<_ACEOF
76766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76767 _ACEOF
76770 done
76772 else
76774 echo "$as_me:$LINENO: checking for _expl declaration" >&5
76775 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
76776 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76777 if test "${glibcxx_cv_func__expl_use+set}" = set; then
76778 echo $ECHO_N "(cached) $ECHO_C" >&6
76779 else
76783 ac_ext=cc
76784 ac_cpp='$CXXCPP $CPPFLAGS'
76785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76789 cat >conftest.$ac_ext <<_ACEOF
76790 /* confdefs.h. */
76791 _ACEOF
76792 cat confdefs.h >>conftest.$ac_ext
76793 cat >>conftest.$ac_ext <<_ACEOF
76794 /* end confdefs.h. */
76795 #include <math.h>
76796 #ifdef HAVE_IEEEFP_H
76797 #include <ieeefp.h>
76798 #endif
76801 main ()
76803 _expl(0);
76805 return 0;
76807 _ACEOF
76808 rm -f conftest.$ac_objext
76809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76810 (eval $ac_compile) 2>conftest.er1
76811 ac_status=$?
76812 grep -v '^ *+' conftest.er1 >conftest.err
76813 rm -f conftest.er1
76814 cat conftest.err >&5
76815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76816 (exit $ac_status); } &&
76817 { ac_try='test -z "$ac_cxx_werror_flag"
76818 || test ! -s conftest.err'
76819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76820 (eval $ac_try) 2>&5
76821 ac_status=$?
76822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76823 (exit $ac_status); }; } &&
76824 { ac_try='test -s conftest.$ac_objext'
76825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76826 (eval $ac_try) 2>&5
76827 ac_status=$?
76828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76829 (exit $ac_status); }; }; then
76830 glibcxx_cv_func__expl_use=yes
76831 else
76832 echo "$as_me: failed program was:" >&5
76833 sed 's/^/| /' conftest.$ac_ext >&5
76835 glibcxx_cv_func__expl_use=no
76837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76838 ac_ext=c
76839 ac_cpp='$CPP $CPPFLAGS'
76840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76848 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
76849 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
76851 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76853 for ac_func in _expl
76855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76856 echo "$as_me:$LINENO: checking for $ac_func" >&5
76857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76858 if eval "test \"\${$as_ac_var+set}\" = set"; then
76859 echo $ECHO_N "(cached) $ECHO_C" >&6
76860 else
76861 if test x$gcc_no_link = xyes; then
76862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76864 { (exit 1); exit 1; }; }
76866 cat >conftest.$ac_ext <<_ACEOF
76867 /* confdefs.h. */
76868 _ACEOF
76869 cat confdefs.h >>conftest.$ac_ext
76870 cat >>conftest.$ac_ext <<_ACEOF
76871 /* end confdefs.h. */
76872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76874 #define $ac_func innocuous_$ac_func
76876 /* System header to define __stub macros and hopefully few prototypes,
76877 which can conflict with char $ac_func (); below.
76878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76879 <limits.h> exists even on freestanding compilers. */
76881 #ifdef __STDC__
76882 # include <limits.h>
76883 #else
76884 # include <assert.h>
76885 #endif
76887 #undef $ac_func
76889 /* Override any gcc2 internal prototype to avoid an error. */
76890 #ifdef __cplusplus
76891 extern "C"
76893 #endif
76894 /* We use char because int might match the return type of a gcc2
76895 builtin and then its argument prototype would still apply. */
76896 char $ac_func ();
76897 /* The GNU C library defines this for functions which it implements
76898 to always fail with ENOSYS. Some functions are actually named
76899 something starting with __ and the normal name is an alias. */
76900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76901 choke me
76902 #else
76903 char (*f) () = $ac_func;
76904 #endif
76905 #ifdef __cplusplus
76907 #endif
76910 main ()
76912 return f != $ac_func;
76914 return 0;
76916 _ACEOF
76917 rm -f conftest.$ac_objext conftest$ac_exeext
76918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76919 (eval $ac_link) 2>conftest.er1
76920 ac_status=$?
76921 grep -v '^ *+' conftest.er1 >conftest.err
76922 rm -f conftest.er1
76923 cat conftest.err >&5
76924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76925 (exit $ac_status); } &&
76926 { ac_try='test -z "$ac_c_werror_flag"
76927 || test ! -s conftest.err'
76928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76929 (eval $ac_try) 2>&5
76930 ac_status=$?
76931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76932 (exit $ac_status); }; } &&
76933 { ac_try='test -s conftest$ac_exeext'
76934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76935 (eval $ac_try) 2>&5
76936 ac_status=$?
76937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76938 (exit $ac_status); }; }; then
76939 eval "$as_ac_var=yes"
76940 else
76941 echo "$as_me: failed program was:" >&5
76942 sed 's/^/| /' conftest.$ac_ext >&5
76944 eval "$as_ac_var=no"
76946 rm -f conftest.err conftest.$ac_objext \
76947 conftest$ac_exeext conftest.$ac_ext
76949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76951 if test `eval echo '${'$as_ac_var'}'` = yes; then
76952 cat >>confdefs.h <<_ACEOF
76953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76954 _ACEOF
76957 done
76967 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
76968 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
76969 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76970 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
76971 echo $ECHO_N "(cached) $ECHO_C" >&6
76972 else
76976 ac_ext=cc
76977 ac_cpp='$CXXCPP $CPPFLAGS'
76978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76982 cat >conftest.$ac_ext <<_ACEOF
76983 /* confdefs.h. */
76984 _ACEOF
76985 cat confdefs.h >>conftest.$ac_ext
76986 cat >>conftest.$ac_ext <<_ACEOF
76987 /* end confdefs.h. */
76988 #include <math.h>
76989 #ifdef HAVE_IEEEFP_H
76990 #include <ieeefp.h>
76991 #endif
76994 main ()
76996 fabsl(0);
76998 return 0;
77000 _ACEOF
77001 rm -f conftest.$ac_objext
77002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77003 (eval $ac_compile) 2>conftest.er1
77004 ac_status=$?
77005 grep -v '^ *+' conftest.er1 >conftest.err
77006 rm -f conftest.er1
77007 cat conftest.err >&5
77008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77009 (exit $ac_status); } &&
77010 { ac_try='test -z "$ac_cxx_werror_flag"
77011 || test ! -s conftest.err'
77012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77013 (eval $ac_try) 2>&5
77014 ac_status=$?
77015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77016 (exit $ac_status); }; } &&
77017 { ac_try='test -s conftest.$ac_objext'
77018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77019 (eval $ac_try) 2>&5
77020 ac_status=$?
77021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77022 (exit $ac_status); }; }; then
77023 glibcxx_cv_func_fabsl_use=yes
77024 else
77025 echo "$as_me: failed program was:" >&5
77026 sed 's/^/| /' conftest.$ac_ext >&5
77028 glibcxx_cv_func_fabsl_use=no
77030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77031 ac_ext=c
77032 ac_cpp='$CPP $CPPFLAGS'
77033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77041 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
77042 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
77044 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
77046 for ac_func in fabsl
77048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77049 echo "$as_me:$LINENO: checking for $ac_func" >&5
77050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77051 if eval "test \"\${$as_ac_var+set}\" = set"; then
77052 echo $ECHO_N "(cached) $ECHO_C" >&6
77053 else
77054 if test x$gcc_no_link = xyes; then
77055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77057 { (exit 1); exit 1; }; }
77059 cat >conftest.$ac_ext <<_ACEOF
77060 /* confdefs.h. */
77061 _ACEOF
77062 cat confdefs.h >>conftest.$ac_ext
77063 cat >>conftest.$ac_ext <<_ACEOF
77064 /* end confdefs.h. */
77065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77067 #define $ac_func innocuous_$ac_func
77069 /* System header to define __stub macros and hopefully few prototypes,
77070 which can conflict with char $ac_func (); below.
77071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77072 <limits.h> exists even on freestanding compilers. */
77074 #ifdef __STDC__
77075 # include <limits.h>
77076 #else
77077 # include <assert.h>
77078 #endif
77080 #undef $ac_func
77082 /* Override any gcc2 internal prototype to avoid an error. */
77083 #ifdef __cplusplus
77084 extern "C"
77086 #endif
77087 /* We use char because int might match the return type of a gcc2
77088 builtin and then its argument prototype would still apply. */
77089 char $ac_func ();
77090 /* The GNU C library defines this for functions which it implements
77091 to always fail with ENOSYS. Some functions are actually named
77092 something starting with __ and the normal name is an alias. */
77093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77094 choke me
77095 #else
77096 char (*f) () = $ac_func;
77097 #endif
77098 #ifdef __cplusplus
77100 #endif
77103 main ()
77105 return f != $ac_func;
77107 return 0;
77109 _ACEOF
77110 rm -f conftest.$ac_objext conftest$ac_exeext
77111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77112 (eval $ac_link) 2>conftest.er1
77113 ac_status=$?
77114 grep -v '^ *+' conftest.er1 >conftest.err
77115 rm -f conftest.er1
77116 cat conftest.err >&5
77117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77118 (exit $ac_status); } &&
77119 { ac_try='test -z "$ac_c_werror_flag"
77120 || test ! -s conftest.err'
77121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77122 (eval $ac_try) 2>&5
77123 ac_status=$?
77124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77125 (exit $ac_status); }; } &&
77126 { ac_try='test -s conftest$ac_exeext'
77127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77128 (eval $ac_try) 2>&5
77129 ac_status=$?
77130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77131 (exit $ac_status); }; }; then
77132 eval "$as_ac_var=yes"
77133 else
77134 echo "$as_me: failed program was:" >&5
77135 sed 's/^/| /' conftest.$ac_ext >&5
77137 eval "$as_ac_var=no"
77139 rm -f conftest.err conftest.$ac_objext \
77140 conftest$ac_exeext conftest.$ac_ext
77142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77144 if test `eval echo '${'$as_ac_var'}'` = yes; then
77145 cat >>confdefs.h <<_ACEOF
77146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77147 _ACEOF
77150 done
77152 else
77154 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
77155 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
77156 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
77157 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
77158 echo $ECHO_N "(cached) $ECHO_C" >&6
77159 else
77163 ac_ext=cc
77164 ac_cpp='$CXXCPP $CPPFLAGS'
77165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77169 cat >conftest.$ac_ext <<_ACEOF
77170 /* confdefs.h. */
77171 _ACEOF
77172 cat confdefs.h >>conftest.$ac_ext
77173 cat >>conftest.$ac_ext <<_ACEOF
77174 /* end confdefs.h. */
77175 #include <math.h>
77176 #ifdef HAVE_IEEEFP_H
77177 #include <ieeefp.h>
77178 #endif
77181 main ()
77183 _fabsl(0);
77185 return 0;
77187 _ACEOF
77188 rm -f conftest.$ac_objext
77189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77190 (eval $ac_compile) 2>conftest.er1
77191 ac_status=$?
77192 grep -v '^ *+' conftest.er1 >conftest.err
77193 rm -f conftest.er1
77194 cat conftest.err >&5
77195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77196 (exit $ac_status); } &&
77197 { ac_try='test -z "$ac_cxx_werror_flag"
77198 || test ! -s conftest.err'
77199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77200 (eval $ac_try) 2>&5
77201 ac_status=$?
77202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77203 (exit $ac_status); }; } &&
77204 { ac_try='test -s conftest.$ac_objext'
77205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77206 (eval $ac_try) 2>&5
77207 ac_status=$?
77208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77209 (exit $ac_status); }; }; then
77210 glibcxx_cv_func__fabsl_use=yes
77211 else
77212 echo "$as_me: failed program was:" >&5
77213 sed 's/^/| /' conftest.$ac_ext >&5
77215 glibcxx_cv_func__fabsl_use=no
77217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77218 ac_ext=c
77219 ac_cpp='$CPP $CPPFLAGS'
77220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77228 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
77229 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
77231 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
77233 for ac_func in _fabsl
77235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77236 echo "$as_me:$LINENO: checking for $ac_func" >&5
77237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77238 if eval "test \"\${$as_ac_var+set}\" = set"; then
77239 echo $ECHO_N "(cached) $ECHO_C" >&6
77240 else
77241 if test x$gcc_no_link = xyes; then
77242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77244 { (exit 1); exit 1; }; }
77246 cat >conftest.$ac_ext <<_ACEOF
77247 /* confdefs.h. */
77248 _ACEOF
77249 cat confdefs.h >>conftest.$ac_ext
77250 cat >>conftest.$ac_ext <<_ACEOF
77251 /* end confdefs.h. */
77252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77254 #define $ac_func innocuous_$ac_func
77256 /* System header to define __stub macros and hopefully few prototypes,
77257 which can conflict with char $ac_func (); below.
77258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77259 <limits.h> exists even on freestanding compilers. */
77261 #ifdef __STDC__
77262 # include <limits.h>
77263 #else
77264 # include <assert.h>
77265 #endif
77267 #undef $ac_func
77269 /* Override any gcc2 internal prototype to avoid an error. */
77270 #ifdef __cplusplus
77271 extern "C"
77273 #endif
77274 /* We use char because int might match the return type of a gcc2
77275 builtin and then its argument prototype would still apply. */
77276 char $ac_func ();
77277 /* The GNU C library defines this for functions which it implements
77278 to always fail with ENOSYS. Some functions are actually named
77279 something starting with __ and the normal name is an alias. */
77280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77281 choke me
77282 #else
77283 char (*f) () = $ac_func;
77284 #endif
77285 #ifdef __cplusplus
77287 #endif
77290 main ()
77292 return f != $ac_func;
77294 return 0;
77296 _ACEOF
77297 rm -f conftest.$ac_objext conftest$ac_exeext
77298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77299 (eval $ac_link) 2>conftest.er1
77300 ac_status=$?
77301 grep -v '^ *+' conftest.er1 >conftest.err
77302 rm -f conftest.er1
77303 cat conftest.err >&5
77304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77305 (exit $ac_status); } &&
77306 { ac_try='test -z "$ac_c_werror_flag"
77307 || test ! -s conftest.err'
77308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77309 (eval $ac_try) 2>&5
77310 ac_status=$?
77311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77312 (exit $ac_status); }; } &&
77313 { ac_try='test -s conftest$ac_exeext'
77314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77315 (eval $ac_try) 2>&5
77316 ac_status=$?
77317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77318 (exit $ac_status); }; }; then
77319 eval "$as_ac_var=yes"
77320 else
77321 echo "$as_me: failed program was:" >&5
77322 sed 's/^/| /' conftest.$ac_ext >&5
77324 eval "$as_ac_var=no"
77326 rm -f conftest.err conftest.$ac_objext \
77327 conftest$ac_exeext conftest.$ac_ext
77329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77331 if test `eval echo '${'$as_ac_var'}'` = yes; then
77332 cat >>confdefs.h <<_ACEOF
77333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77334 _ACEOF
77337 done
77347 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
77348 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
77349 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
77350 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
77351 echo $ECHO_N "(cached) $ECHO_C" >&6
77352 else
77356 ac_ext=cc
77357 ac_cpp='$CXXCPP $CPPFLAGS'
77358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77362 cat >conftest.$ac_ext <<_ACEOF
77363 /* confdefs.h. */
77364 _ACEOF
77365 cat confdefs.h >>conftest.$ac_ext
77366 cat >>conftest.$ac_ext <<_ACEOF
77367 /* end confdefs.h. */
77368 #include <math.h>
77370 main ()
77372 fmodl(0, 0);
77374 return 0;
77376 _ACEOF
77377 rm -f conftest.$ac_objext
77378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77379 (eval $ac_compile) 2>conftest.er1
77380 ac_status=$?
77381 grep -v '^ *+' conftest.er1 >conftest.err
77382 rm -f conftest.er1
77383 cat conftest.err >&5
77384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77385 (exit $ac_status); } &&
77386 { ac_try='test -z "$ac_cxx_werror_flag"
77387 || test ! -s conftest.err'
77388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77389 (eval $ac_try) 2>&5
77390 ac_status=$?
77391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77392 (exit $ac_status); }; } &&
77393 { ac_try='test -s conftest.$ac_objext'
77394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77395 (eval $ac_try) 2>&5
77396 ac_status=$?
77397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77398 (exit $ac_status); }; }; then
77399 glibcxx_cv_func_fmodl_use=yes
77400 else
77401 echo "$as_me: failed program was:" >&5
77402 sed 's/^/| /' conftest.$ac_ext >&5
77404 glibcxx_cv_func_fmodl_use=no
77406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77407 ac_ext=c
77408 ac_cpp='$CPP $CPPFLAGS'
77409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77417 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
77418 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
77420 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
77422 for ac_func in fmodl
77424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77425 echo "$as_me:$LINENO: checking for $ac_func" >&5
77426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77427 if eval "test \"\${$as_ac_var+set}\" = set"; then
77428 echo $ECHO_N "(cached) $ECHO_C" >&6
77429 else
77430 if test x$gcc_no_link = xyes; then
77431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77433 { (exit 1); exit 1; }; }
77435 cat >conftest.$ac_ext <<_ACEOF
77436 /* confdefs.h. */
77437 _ACEOF
77438 cat confdefs.h >>conftest.$ac_ext
77439 cat >>conftest.$ac_ext <<_ACEOF
77440 /* end confdefs.h. */
77441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77443 #define $ac_func innocuous_$ac_func
77445 /* System header to define __stub macros and hopefully few prototypes,
77446 which can conflict with char $ac_func (); below.
77447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77448 <limits.h> exists even on freestanding compilers. */
77450 #ifdef __STDC__
77451 # include <limits.h>
77452 #else
77453 # include <assert.h>
77454 #endif
77456 #undef $ac_func
77458 /* Override any gcc2 internal prototype to avoid an error. */
77459 #ifdef __cplusplus
77460 extern "C"
77462 #endif
77463 /* We use char because int might match the return type of a gcc2
77464 builtin and then its argument prototype would still apply. */
77465 char $ac_func ();
77466 /* The GNU C library defines this for functions which it implements
77467 to always fail with ENOSYS. Some functions are actually named
77468 something starting with __ and the normal name is an alias. */
77469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77470 choke me
77471 #else
77472 char (*f) () = $ac_func;
77473 #endif
77474 #ifdef __cplusplus
77476 #endif
77479 main ()
77481 return f != $ac_func;
77483 return 0;
77485 _ACEOF
77486 rm -f conftest.$ac_objext conftest$ac_exeext
77487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77488 (eval $ac_link) 2>conftest.er1
77489 ac_status=$?
77490 grep -v '^ *+' conftest.er1 >conftest.err
77491 rm -f conftest.er1
77492 cat conftest.err >&5
77493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77494 (exit $ac_status); } &&
77495 { ac_try='test -z "$ac_c_werror_flag"
77496 || test ! -s conftest.err'
77497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77498 (eval $ac_try) 2>&5
77499 ac_status=$?
77500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77501 (exit $ac_status); }; } &&
77502 { ac_try='test -s conftest$ac_exeext'
77503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77504 (eval $ac_try) 2>&5
77505 ac_status=$?
77506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77507 (exit $ac_status); }; }; then
77508 eval "$as_ac_var=yes"
77509 else
77510 echo "$as_me: failed program was:" >&5
77511 sed 's/^/| /' conftest.$ac_ext >&5
77513 eval "$as_ac_var=no"
77515 rm -f conftest.err conftest.$ac_objext \
77516 conftest$ac_exeext conftest.$ac_ext
77518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77520 if test `eval echo '${'$as_ac_var'}'` = yes; then
77521 cat >>confdefs.h <<_ACEOF
77522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77523 _ACEOF
77526 done
77528 else
77530 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
77531 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
77532 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
77533 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
77534 echo $ECHO_N "(cached) $ECHO_C" >&6
77535 else
77539 ac_ext=cc
77540 ac_cpp='$CXXCPP $CPPFLAGS'
77541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77545 cat >conftest.$ac_ext <<_ACEOF
77546 /* confdefs.h. */
77547 _ACEOF
77548 cat confdefs.h >>conftest.$ac_ext
77549 cat >>conftest.$ac_ext <<_ACEOF
77550 /* end confdefs.h. */
77551 #include <math.h>
77553 main ()
77555 _fmodl(0, 0);
77557 return 0;
77559 _ACEOF
77560 rm -f conftest.$ac_objext
77561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77562 (eval $ac_compile) 2>conftest.er1
77563 ac_status=$?
77564 grep -v '^ *+' conftest.er1 >conftest.err
77565 rm -f conftest.er1
77566 cat conftest.err >&5
77567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77568 (exit $ac_status); } &&
77569 { ac_try='test -z "$ac_cxx_werror_flag"
77570 || test ! -s conftest.err'
77571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77572 (eval $ac_try) 2>&5
77573 ac_status=$?
77574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77575 (exit $ac_status); }; } &&
77576 { ac_try='test -s conftest.$ac_objext'
77577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77578 (eval $ac_try) 2>&5
77579 ac_status=$?
77580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77581 (exit $ac_status); }; }; then
77582 glibcxx_cv_func__fmodl_use=yes
77583 else
77584 echo "$as_me: failed program was:" >&5
77585 sed 's/^/| /' conftest.$ac_ext >&5
77587 glibcxx_cv_func__fmodl_use=no
77589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77590 ac_ext=c
77591 ac_cpp='$CPP $CPPFLAGS'
77592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77600 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
77601 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
77603 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
77605 for ac_func in _fmodl
77607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77608 echo "$as_me:$LINENO: checking for $ac_func" >&5
77609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77610 if eval "test \"\${$as_ac_var+set}\" = set"; then
77611 echo $ECHO_N "(cached) $ECHO_C" >&6
77612 else
77613 if test x$gcc_no_link = xyes; then
77614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77616 { (exit 1); exit 1; }; }
77618 cat >conftest.$ac_ext <<_ACEOF
77619 /* confdefs.h. */
77620 _ACEOF
77621 cat confdefs.h >>conftest.$ac_ext
77622 cat >>conftest.$ac_ext <<_ACEOF
77623 /* end confdefs.h. */
77624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77626 #define $ac_func innocuous_$ac_func
77628 /* System header to define __stub macros and hopefully few prototypes,
77629 which can conflict with char $ac_func (); below.
77630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77631 <limits.h> exists even on freestanding compilers. */
77633 #ifdef __STDC__
77634 # include <limits.h>
77635 #else
77636 # include <assert.h>
77637 #endif
77639 #undef $ac_func
77641 /* Override any gcc2 internal prototype to avoid an error. */
77642 #ifdef __cplusplus
77643 extern "C"
77645 #endif
77646 /* We use char because int might match the return type of a gcc2
77647 builtin and then its argument prototype would still apply. */
77648 char $ac_func ();
77649 /* The GNU C library defines this for functions which it implements
77650 to always fail with ENOSYS. Some functions are actually named
77651 something starting with __ and the normal name is an alias. */
77652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77653 choke me
77654 #else
77655 char (*f) () = $ac_func;
77656 #endif
77657 #ifdef __cplusplus
77659 #endif
77662 main ()
77664 return f != $ac_func;
77666 return 0;
77668 _ACEOF
77669 rm -f conftest.$ac_objext conftest$ac_exeext
77670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77671 (eval $ac_link) 2>conftest.er1
77672 ac_status=$?
77673 grep -v '^ *+' conftest.er1 >conftest.err
77674 rm -f conftest.er1
77675 cat conftest.err >&5
77676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77677 (exit $ac_status); } &&
77678 { ac_try='test -z "$ac_c_werror_flag"
77679 || test ! -s conftest.err'
77680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77681 (eval $ac_try) 2>&5
77682 ac_status=$?
77683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77684 (exit $ac_status); }; } &&
77685 { ac_try='test -s conftest$ac_exeext'
77686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77687 (eval $ac_try) 2>&5
77688 ac_status=$?
77689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77690 (exit $ac_status); }; }; then
77691 eval "$as_ac_var=yes"
77692 else
77693 echo "$as_me: failed program was:" >&5
77694 sed 's/^/| /' conftest.$ac_ext >&5
77696 eval "$as_ac_var=no"
77698 rm -f conftest.err conftest.$ac_objext \
77699 conftest$ac_exeext conftest.$ac_ext
77701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77703 if test `eval echo '${'$as_ac_var'}'` = yes; then
77704 cat >>confdefs.h <<_ACEOF
77705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77706 _ACEOF
77709 done
77719 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
77720 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
77721 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
77722 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
77723 echo $ECHO_N "(cached) $ECHO_C" >&6
77724 else
77728 ac_ext=cc
77729 ac_cpp='$CXXCPP $CPPFLAGS'
77730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77734 cat >conftest.$ac_ext <<_ACEOF
77735 /* confdefs.h. */
77736 _ACEOF
77737 cat confdefs.h >>conftest.$ac_ext
77738 cat >>conftest.$ac_ext <<_ACEOF
77739 /* end confdefs.h. */
77740 #include <math.h>
77742 main ()
77744 frexpl(0, 0);
77746 return 0;
77748 _ACEOF
77749 rm -f conftest.$ac_objext
77750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77751 (eval $ac_compile) 2>conftest.er1
77752 ac_status=$?
77753 grep -v '^ *+' conftest.er1 >conftest.err
77754 rm -f conftest.er1
77755 cat conftest.err >&5
77756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77757 (exit $ac_status); } &&
77758 { ac_try='test -z "$ac_cxx_werror_flag"
77759 || test ! -s conftest.err'
77760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77761 (eval $ac_try) 2>&5
77762 ac_status=$?
77763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77764 (exit $ac_status); }; } &&
77765 { ac_try='test -s conftest.$ac_objext'
77766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77767 (eval $ac_try) 2>&5
77768 ac_status=$?
77769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77770 (exit $ac_status); }; }; then
77771 glibcxx_cv_func_frexpl_use=yes
77772 else
77773 echo "$as_me: failed program was:" >&5
77774 sed 's/^/| /' conftest.$ac_ext >&5
77776 glibcxx_cv_func_frexpl_use=no
77778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77779 ac_ext=c
77780 ac_cpp='$CPP $CPPFLAGS'
77781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77789 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
77790 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
77792 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77794 for ac_func in frexpl
77796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77797 echo "$as_me:$LINENO: checking for $ac_func" >&5
77798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77799 if eval "test \"\${$as_ac_var+set}\" = set"; then
77800 echo $ECHO_N "(cached) $ECHO_C" >&6
77801 else
77802 if test x$gcc_no_link = xyes; then
77803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77805 { (exit 1); exit 1; }; }
77807 cat >conftest.$ac_ext <<_ACEOF
77808 /* confdefs.h. */
77809 _ACEOF
77810 cat confdefs.h >>conftest.$ac_ext
77811 cat >>conftest.$ac_ext <<_ACEOF
77812 /* end confdefs.h. */
77813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77815 #define $ac_func innocuous_$ac_func
77817 /* System header to define __stub macros and hopefully few prototypes,
77818 which can conflict with char $ac_func (); below.
77819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77820 <limits.h> exists even on freestanding compilers. */
77822 #ifdef __STDC__
77823 # include <limits.h>
77824 #else
77825 # include <assert.h>
77826 #endif
77828 #undef $ac_func
77830 /* Override any gcc2 internal prototype to avoid an error. */
77831 #ifdef __cplusplus
77832 extern "C"
77834 #endif
77835 /* We use char because int might match the return type of a gcc2
77836 builtin and then its argument prototype would still apply. */
77837 char $ac_func ();
77838 /* The GNU C library defines this for functions which it implements
77839 to always fail with ENOSYS. Some functions are actually named
77840 something starting with __ and the normal name is an alias. */
77841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77842 choke me
77843 #else
77844 char (*f) () = $ac_func;
77845 #endif
77846 #ifdef __cplusplus
77848 #endif
77851 main ()
77853 return f != $ac_func;
77855 return 0;
77857 _ACEOF
77858 rm -f conftest.$ac_objext conftest$ac_exeext
77859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77860 (eval $ac_link) 2>conftest.er1
77861 ac_status=$?
77862 grep -v '^ *+' conftest.er1 >conftest.err
77863 rm -f conftest.er1
77864 cat conftest.err >&5
77865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77866 (exit $ac_status); } &&
77867 { ac_try='test -z "$ac_c_werror_flag"
77868 || test ! -s conftest.err'
77869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77870 (eval $ac_try) 2>&5
77871 ac_status=$?
77872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77873 (exit $ac_status); }; } &&
77874 { ac_try='test -s conftest$ac_exeext'
77875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77876 (eval $ac_try) 2>&5
77877 ac_status=$?
77878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77879 (exit $ac_status); }; }; then
77880 eval "$as_ac_var=yes"
77881 else
77882 echo "$as_me: failed program was:" >&5
77883 sed 's/^/| /' conftest.$ac_ext >&5
77885 eval "$as_ac_var=no"
77887 rm -f conftest.err conftest.$ac_objext \
77888 conftest$ac_exeext conftest.$ac_ext
77890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77892 if test `eval echo '${'$as_ac_var'}'` = yes; then
77893 cat >>confdefs.h <<_ACEOF
77894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77895 _ACEOF
77898 done
77900 else
77902 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
77903 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
77904 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
77905 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
77906 echo $ECHO_N "(cached) $ECHO_C" >&6
77907 else
77911 ac_ext=cc
77912 ac_cpp='$CXXCPP $CPPFLAGS'
77913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77917 cat >conftest.$ac_ext <<_ACEOF
77918 /* confdefs.h. */
77919 _ACEOF
77920 cat confdefs.h >>conftest.$ac_ext
77921 cat >>conftest.$ac_ext <<_ACEOF
77922 /* end confdefs.h. */
77923 #include <math.h>
77925 main ()
77927 _frexpl(0, 0);
77929 return 0;
77931 _ACEOF
77932 rm -f conftest.$ac_objext
77933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77934 (eval $ac_compile) 2>conftest.er1
77935 ac_status=$?
77936 grep -v '^ *+' conftest.er1 >conftest.err
77937 rm -f conftest.er1
77938 cat conftest.err >&5
77939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77940 (exit $ac_status); } &&
77941 { ac_try='test -z "$ac_cxx_werror_flag"
77942 || test ! -s conftest.err'
77943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77944 (eval $ac_try) 2>&5
77945 ac_status=$?
77946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77947 (exit $ac_status); }; } &&
77948 { ac_try='test -s conftest.$ac_objext'
77949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77950 (eval $ac_try) 2>&5
77951 ac_status=$?
77952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77953 (exit $ac_status); }; }; then
77954 glibcxx_cv_func__frexpl_use=yes
77955 else
77956 echo "$as_me: failed program was:" >&5
77957 sed 's/^/| /' conftest.$ac_ext >&5
77959 glibcxx_cv_func__frexpl_use=no
77961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77962 ac_ext=c
77963 ac_cpp='$CPP $CPPFLAGS'
77964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77972 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
77973 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
77975 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
77977 for ac_func in _frexpl
77979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77980 echo "$as_me:$LINENO: checking for $ac_func" >&5
77981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77982 if eval "test \"\${$as_ac_var+set}\" = set"; then
77983 echo $ECHO_N "(cached) $ECHO_C" >&6
77984 else
77985 if test x$gcc_no_link = xyes; then
77986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77988 { (exit 1); exit 1; }; }
77990 cat >conftest.$ac_ext <<_ACEOF
77991 /* confdefs.h. */
77992 _ACEOF
77993 cat confdefs.h >>conftest.$ac_ext
77994 cat >>conftest.$ac_ext <<_ACEOF
77995 /* end confdefs.h. */
77996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77998 #define $ac_func innocuous_$ac_func
78000 /* System header to define __stub macros and hopefully few prototypes,
78001 which can conflict with char $ac_func (); below.
78002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78003 <limits.h> exists even on freestanding compilers. */
78005 #ifdef __STDC__
78006 # include <limits.h>
78007 #else
78008 # include <assert.h>
78009 #endif
78011 #undef $ac_func
78013 /* Override any gcc2 internal prototype to avoid an error. */
78014 #ifdef __cplusplus
78015 extern "C"
78017 #endif
78018 /* We use char because int might match the return type of a gcc2
78019 builtin and then its argument prototype would still apply. */
78020 char $ac_func ();
78021 /* The GNU C library defines this for functions which it implements
78022 to always fail with ENOSYS. Some functions are actually named
78023 something starting with __ and the normal name is an alias. */
78024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78025 choke me
78026 #else
78027 char (*f) () = $ac_func;
78028 #endif
78029 #ifdef __cplusplus
78031 #endif
78034 main ()
78036 return f != $ac_func;
78038 return 0;
78040 _ACEOF
78041 rm -f conftest.$ac_objext conftest$ac_exeext
78042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78043 (eval $ac_link) 2>conftest.er1
78044 ac_status=$?
78045 grep -v '^ *+' conftest.er1 >conftest.err
78046 rm -f conftest.er1
78047 cat conftest.err >&5
78048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78049 (exit $ac_status); } &&
78050 { ac_try='test -z "$ac_c_werror_flag"
78051 || test ! -s conftest.err'
78052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78053 (eval $ac_try) 2>&5
78054 ac_status=$?
78055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78056 (exit $ac_status); }; } &&
78057 { ac_try='test -s conftest$ac_exeext'
78058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78059 (eval $ac_try) 2>&5
78060 ac_status=$?
78061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78062 (exit $ac_status); }; }; then
78063 eval "$as_ac_var=yes"
78064 else
78065 echo "$as_me: failed program was:" >&5
78066 sed 's/^/| /' conftest.$ac_ext >&5
78068 eval "$as_ac_var=no"
78070 rm -f conftest.err conftest.$ac_objext \
78071 conftest$ac_exeext conftest.$ac_ext
78073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78075 if test `eval echo '${'$as_ac_var'}'` = yes; then
78076 cat >>confdefs.h <<_ACEOF
78077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78078 _ACEOF
78081 done
78091 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
78092 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
78093 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
78094 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
78095 echo $ECHO_N "(cached) $ECHO_C" >&6
78096 else
78100 ac_ext=cc
78101 ac_cpp='$CXXCPP $CPPFLAGS'
78102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78106 cat >conftest.$ac_ext <<_ACEOF
78107 /* confdefs.h. */
78108 _ACEOF
78109 cat confdefs.h >>conftest.$ac_ext
78110 cat >>conftest.$ac_ext <<_ACEOF
78111 /* end confdefs.h. */
78112 #include <math.h>
78114 main ()
78116 hypotl(0, 0);
78118 return 0;
78120 _ACEOF
78121 rm -f conftest.$ac_objext
78122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78123 (eval $ac_compile) 2>conftest.er1
78124 ac_status=$?
78125 grep -v '^ *+' conftest.er1 >conftest.err
78126 rm -f conftest.er1
78127 cat conftest.err >&5
78128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78129 (exit $ac_status); } &&
78130 { ac_try='test -z "$ac_cxx_werror_flag"
78131 || test ! -s conftest.err'
78132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78133 (eval $ac_try) 2>&5
78134 ac_status=$?
78135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78136 (exit $ac_status); }; } &&
78137 { ac_try='test -s conftest.$ac_objext'
78138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78139 (eval $ac_try) 2>&5
78140 ac_status=$?
78141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78142 (exit $ac_status); }; }; then
78143 glibcxx_cv_func_hypotl_use=yes
78144 else
78145 echo "$as_me: failed program was:" >&5
78146 sed 's/^/| /' conftest.$ac_ext >&5
78148 glibcxx_cv_func_hypotl_use=no
78150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78151 ac_ext=c
78152 ac_cpp='$CPP $CPPFLAGS'
78153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78161 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
78162 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
78164 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
78166 for ac_func in hypotl
78168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78169 echo "$as_me:$LINENO: checking for $ac_func" >&5
78170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78171 if eval "test \"\${$as_ac_var+set}\" = set"; then
78172 echo $ECHO_N "(cached) $ECHO_C" >&6
78173 else
78174 if test x$gcc_no_link = xyes; then
78175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78177 { (exit 1); exit 1; }; }
78179 cat >conftest.$ac_ext <<_ACEOF
78180 /* confdefs.h. */
78181 _ACEOF
78182 cat confdefs.h >>conftest.$ac_ext
78183 cat >>conftest.$ac_ext <<_ACEOF
78184 /* end confdefs.h. */
78185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78187 #define $ac_func innocuous_$ac_func
78189 /* System header to define __stub macros and hopefully few prototypes,
78190 which can conflict with char $ac_func (); below.
78191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78192 <limits.h> exists even on freestanding compilers. */
78194 #ifdef __STDC__
78195 # include <limits.h>
78196 #else
78197 # include <assert.h>
78198 #endif
78200 #undef $ac_func
78202 /* Override any gcc2 internal prototype to avoid an error. */
78203 #ifdef __cplusplus
78204 extern "C"
78206 #endif
78207 /* We use char because int might match the return type of a gcc2
78208 builtin and then its argument prototype would still apply. */
78209 char $ac_func ();
78210 /* The GNU C library defines this for functions which it implements
78211 to always fail with ENOSYS. Some functions are actually named
78212 something starting with __ and the normal name is an alias. */
78213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78214 choke me
78215 #else
78216 char (*f) () = $ac_func;
78217 #endif
78218 #ifdef __cplusplus
78220 #endif
78223 main ()
78225 return f != $ac_func;
78227 return 0;
78229 _ACEOF
78230 rm -f conftest.$ac_objext conftest$ac_exeext
78231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78232 (eval $ac_link) 2>conftest.er1
78233 ac_status=$?
78234 grep -v '^ *+' conftest.er1 >conftest.err
78235 rm -f conftest.er1
78236 cat conftest.err >&5
78237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78238 (exit $ac_status); } &&
78239 { ac_try='test -z "$ac_c_werror_flag"
78240 || test ! -s conftest.err'
78241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78242 (eval $ac_try) 2>&5
78243 ac_status=$?
78244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78245 (exit $ac_status); }; } &&
78246 { ac_try='test -s conftest$ac_exeext'
78247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78248 (eval $ac_try) 2>&5
78249 ac_status=$?
78250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78251 (exit $ac_status); }; }; then
78252 eval "$as_ac_var=yes"
78253 else
78254 echo "$as_me: failed program was:" >&5
78255 sed 's/^/| /' conftest.$ac_ext >&5
78257 eval "$as_ac_var=no"
78259 rm -f conftest.err conftest.$ac_objext \
78260 conftest$ac_exeext conftest.$ac_ext
78262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78264 if test `eval echo '${'$as_ac_var'}'` = yes; then
78265 cat >>confdefs.h <<_ACEOF
78266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78267 _ACEOF
78270 done
78272 else
78274 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
78275 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
78276 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
78277 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
78278 echo $ECHO_N "(cached) $ECHO_C" >&6
78279 else
78283 ac_ext=cc
78284 ac_cpp='$CXXCPP $CPPFLAGS'
78285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78289 cat >conftest.$ac_ext <<_ACEOF
78290 /* confdefs.h. */
78291 _ACEOF
78292 cat confdefs.h >>conftest.$ac_ext
78293 cat >>conftest.$ac_ext <<_ACEOF
78294 /* end confdefs.h. */
78295 #include <math.h>
78297 main ()
78299 _hypotl(0, 0);
78301 return 0;
78303 _ACEOF
78304 rm -f conftest.$ac_objext
78305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78306 (eval $ac_compile) 2>conftest.er1
78307 ac_status=$?
78308 grep -v '^ *+' conftest.er1 >conftest.err
78309 rm -f conftest.er1
78310 cat conftest.err >&5
78311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78312 (exit $ac_status); } &&
78313 { ac_try='test -z "$ac_cxx_werror_flag"
78314 || test ! -s conftest.err'
78315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78316 (eval $ac_try) 2>&5
78317 ac_status=$?
78318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78319 (exit $ac_status); }; } &&
78320 { ac_try='test -s conftest.$ac_objext'
78321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78322 (eval $ac_try) 2>&5
78323 ac_status=$?
78324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78325 (exit $ac_status); }; }; then
78326 glibcxx_cv_func__hypotl_use=yes
78327 else
78328 echo "$as_me: failed program was:" >&5
78329 sed 's/^/| /' conftest.$ac_ext >&5
78331 glibcxx_cv_func__hypotl_use=no
78333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78334 ac_ext=c
78335 ac_cpp='$CPP $CPPFLAGS'
78336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78344 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
78345 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
78347 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
78349 for ac_func in _hypotl
78351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78352 echo "$as_me:$LINENO: checking for $ac_func" >&5
78353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78354 if eval "test \"\${$as_ac_var+set}\" = set"; then
78355 echo $ECHO_N "(cached) $ECHO_C" >&6
78356 else
78357 if test x$gcc_no_link = xyes; then
78358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78360 { (exit 1); exit 1; }; }
78362 cat >conftest.$ac_ext <<_ACEOF
78363 /* confdefs.h. */
78364 _ACEOF
78365 cat confdefs.h >>conftest.$ac_ext
78366 cat >>conftest.$ac_ext <<_ACEOF
78367 /* end confdefs.h. */
78368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78370 #define $ac_func innocuous_$ac_func
78372 /* System header to define __stub macros and hopefully few prototypes,
78373 which can conflict with char $ac_func (); below.
78374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78375 <limits.h> exists even on freestanding compilers. */
78377 #ifdef __STDC__
78378 # include <limits.h>
78379 #else
78380 # include <assert.h>
78381 #endif
78383 #undef $ac_func
78385 /* Override any gcc2 internal prototype to avoid an error. */
78386 #ifdef __cplusplus
78387 extern "C"
78389 #endif
78390 /* We use char because int might match the return type of a gcc2
78391 builtin and then its argument prototype would still apply. */
78392 char $ac_func ();
78393 /* The GNU C library defines this for functions which it implements
78394 to always fail with ENOSYS. Some functions are actually named
78395 something starting with __ and the normal name is an alias. */
78396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78397 choke me
78398 #else
78399 char (*f) () = $ac_func;
78400 #endif
78401 #ifdef __cplusplus
78403 #endif
78406 main ()
78408 return f != $ac_func;
78410 return 0;
78412 _ACEOF
78413 rm -f conftest.$ac_objext conftest$ac_exeext
78414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78415 (eval $ac_link) 2>conftest.er1
78416 ac_status=$?
78417 grep -v '^ *+' conftest.er1 >conftest.err
78418 rm -f conftest.er1
78419 cat conftest.err >&5
78420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78421 (exit $ac_status); } &&
78422 { ac_try='test -z "$ac_c_werror_flag"
78423 || test ! -s conftest.err'
78424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78425 (eval $ac_try) 2>&5
78426 ac_status=$?
78427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78428 (exit $ac_status); }; } &&
78429 { ac_try='test -s conftest$ac_exeext'
78430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78431 (eval $ac_try) 2>&5
78432 ac_status=$?
78433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78434 (exit $ac_status); }; }; then
78435 eval "$as_ac_var=yes"
78436 else
78437 echo "$as_me: failed program was:" >&5
78438 sed 's/^/| /' conftest.$ac_ext >&5
78440 eval "$as_ac_var=no"
78442 rm -f conftest.err conftest.$ac_objext \
78443 conftest$ac_exeext conftest.$ac_ext
78445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78447 if test `eval echo '${'$as_ac_var'}'` = yes; then
78448 cat >>confdefs.h <<_ACEOF
78449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78450 _ACEOF
78453 done
78463 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
78464 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
78465 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
78466 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
78467 echo $ECHO_N "(cached) $ECHO_C" >&6
78468 else
78472 ac_ext=cc
78473 ac_cpp='$CXXCPP $CPPFLAGS'
78474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78478 cat >conftest.$ac_ext <<_ACEOF
78479 /* confdefs.h. */
78480 _ACEOF
78481 cat confdefs.h >>conftest.$ac_ext
78482 cat >>conftest.$ac_ext <<_ACEOF
78483 /* end confdefs.h. */
78484 #include <math.h>
78486 main ()
78488 ldexpl(0, 0);
78490 return 0;
78492 _ACEOF
78493 rm -f conftest.$ac_objext
78494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78495 (eval $ac_compile) 2>conftest.er1
78496 ac_status=$?
78497 grep -v '^ *+' conftest.er1 >conftest.err
78498 rm -f conftest.er1
78499 cat conftest.err >&5
78500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78501 (exit $ac_status); } &&
78502 { ac_try='test -z "$ac_cxx_werror_flag"
78503 || test ! -s conftest.err'
78504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78505 (eval $ac_try) 2>&5
78506 ac_status=$?
78507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78508 (exit $ac_status); }; } &&
78509 { ac_try='test -s conftest.$ac_objext'
78510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78511 (eval $ac_try) 2>&5
78512 ac_status=$?
78513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78514 (exit $ac_status); }; }; then
78515 glibcxx_cv_func_ldexpl_use=yes
78516 else
78517 echo "$as_me: failed program was:" >&5
78518 sed 's/^/| /' conftest.$ac_ext >&5
78520 glibcxx_cv_func_ldexpl_use=no
78522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78523 ac_ext=c
78524 ac_cpp='$CPP $CPPFLAGS'
78525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78533 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
78534 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
78536 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
78538 for ac_func in ldexpl
78540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78541 echo "$as_me:$LINENO: checking for $ac_func" >&5
78542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78543 if eval "test \"\${$as_ac_var+set}\" = set"; then
78544 echo $ECHO_N "(cached) $ECHO_C" >&6
78545 else
78546 if test x$gcc_no_link = xyes; then
78547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78549 { (exit 1); exit 1; }; }
78551 cat >conftest.$ac_ext <<_ACEOF
78552 /* confdefs.h. */
78553 _ACEOF
78554 cat confdefs.h >>conftest.$ac_ext
78555 cat >>conftest.$ac_ext <<_ACEOF
78556 /* end confdefs.h. */
78557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78559 #define $ac_func innocuous_$ac_func
78561 /* System header to define __stub macros and hopefully few prototypes,
78562 which can conflict with char $ac_func (); below.
78563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78564 <limits.h> exists even on freestanding compilers. */
78566 #ifdef __STDC__
78567 # include <limits.h>
78568 #else
78569 # include <assert.h>
78570 #endif
78572 #undef $ac_func
78574 /* Override any gcc2 internal prototype to avoid an error. */
78575 #ifdef __cplusplus
78576 extern "C"
78578 #endif
78579 /* We use char because int might match the return type of a gcc2
78580 builtin and then its argument prototype would still apply. */
78581 char $ac_func ();
78582 /* The GNU C library defines this for functions which it implements
78583 to always fail with ENOSYS. Some functions are actually named
78584 something starting with __ and the normal name is an alias. */
78585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78586 choke me
78587 #else
78588 char (*f) () = $ac_func;
78589 #endif
78590 #ifdef __cplusplus
78592 #endif
78595 main ()
78597 return f != $ac_func;
78599 return 0;
78601 _ACEOF
78602 rm -f conftest.$ac_objext conftest$ac_exeext
78603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78604 (eval $ac_link) 2>conftest.er1
78605 ac_status=$?
78606 grep -v '^ *+' conftest.er1 >conftest.err
78607 rm -f conftest.er1
78608 cat conftest.err >&5
78609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78610 (exit $ac_status); } &&
78611 { ac_try='test -z "$ac_c_werror_flag"
78612 || test ! -s conftest.err'
78613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78614 (eval $ac_try) 2>&5
78615 ac_status=$?
78616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78617 (exit $ac_status); }; } &&
78618 { ac_try='test -s conftest$ac_exeext'
78619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78620 (eval $ac_try) 2>&5
78621 ac_status=$?
78622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78623 (exit $ac_status); }; }; then
78624 eval "$as_ac_var=yes"
78625 else
78626 echo "$as_me: failed program was:" >&5
78627 sed 's/^/| /' conftest.$ac_ext >&5
78629 eval "$as_ac_var=no"
78631 rm -f conftest.err conftest.$ac_objext \
78632 conftest$ac_exeext conftest.$ac_ext
78634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78636 if test `eval echo '${'$as_ac_var'}'` = yes; then
78637 cat >>confdefs.h <<_ACEOF
78638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78639 _ACEOF
78642 done
78644 else
78646 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
78647 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
78648 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
78649 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
78650 echo $ECHO_N "(cached) $ECHO_C" >&6
78651 else
78655 ac_ext=cc
78656 ac_cpp='$CXXCPP $CPPFLAGS'
78657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78661 cat >conftest.$ac_ext <<_ACEOF
78662 /* confdefs.h. */
78663 _ACEOF
78664 cat confdefs.h >>conftest.$ac_ext
78665 cat >>conftest.$ac_ext <<_ACEOF
78666 /* end confdefs.h. */
78667 #include <math.h>
78669 main ()
78671 _ldexpl(0, 0);
78673 return 0;
78675 _ACEOF
78676 rm -f conftest.$ac_objext
78677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78678 (eval $ac_compile) 2>conftest.er1
78679 ac_status=$?
78680 grep -v '^ *+' conftest.er1 >conftest.err
78681 rm -f conftest.er1
78682 cat conftest.err >&5
78683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78684 (exit $ac_status); } &&
78685 { ac_try='test -z "$ac_cxx_werror_flag"
78686 || test ! -s conftest.err'
78687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78688 (eval $ac_try) 2>&5
78689 ac_status=$?
78690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78691 (exit $ac_status); }; } &&
78692 { ac_try='test -s conftest.$ac_objext'
78693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78694 (eval $ac_try) 2>&5
78695 ac_status=$?
78696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78697 (exit $ac_status); }; }; then
78698 glibcxx_cv_func__ldexpl_use=yes
78699 else
78700 echo "$as_me: failed program was:" >&5
78701 sed 's/^/| /' conftest.$ac_ext >&5
78703 glibcxx_cv_func__ldexpl_use=no
78705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78706 ac_ext=c
78707 ac_cpp='$CPP $CPPFLAGS'
78708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78716 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
78717 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
78719 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
78721 for ac_func in _ldexpl
78723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78724 echo "$as_me:$LINENO: checking for $ac_func" >&5
78725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78726 if eval "test \"\${$as_ac_var+set}\" = set"; then
78727 echo $ECHO_N "(cached) $ECHO_C" >&6
78728 else
78729 if test x$gcc_no_link = xyes; then
78730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78732 { (exit 1); exit 1; }; }
78734 cat >conftest.$ac_ext <<_ACEOF
78735 /* confdefs.h. */
78736 _ACEOF
78737 cat confdefs.h >>conftest.$ac_ext
78738 cat >>conftest.$ac_ext <<_ACEOF
78739 /* end confdefs.h. */
78740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78742 #define $ac_func innocuous_$ac_func
78744 /* System header to define __stub macros and hopefully few prototypes,
78745 which can conflict with char $ac_func (); below.
78746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78747 <limits.h> exists even on freestanding compilers. */
78749 #ifdef __STDC__
78750 # include <limits.h>
78751 #else
78752 # include <assert.h>
78753 #endif
78755 #undef $ac_func
78757 /* Override any gcc2 internal prototype to avoid an error. */
78758 #ifdef __cplusplus
78759 extern "C"
78761 #endif
78762 /* We use char because int might match the return type of a gcc2
78763 builtin and then its argument prototype would still apply. */
78764 char $ac_func ();
78765 /* The GNU C library defines this for functions which it implements
78766 to always fail with ENOSYS. Some functions are actually named
78767 something starting with __ and the normal name is an alias. */
78768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78769 choke me
78770 #else
78771 char (*f) () = $ac_func;
78772 #endif
78773 #ifdef __cplusplus
78775 #endif
78778 main ()
78780 return f != $ac_func;
78782 return 0;
78784 _ACEOF
78785 rm -f conftest.$ac_objext conftest$ac_exeext
78786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78787 (eval $ac_link) 2>conftest.er1
78788 ac_status=$?
78789 grep -v '^ *+' conftest.er1 >conftest.err
78790 rm -f conftest.er1
78791 cat conftest.err >&5
78792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78793 (exit $ac_status); } &&
78794 { ac_try='test -z "$ac_c_werror_flag"
78795 || test ! -s conftest.err'
78796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78797 (eval $ac_try) 2>&5
78798 ac_status=$?
78799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78800 (exit $ac_status); }; } &&
78801 { ac_try='test -s conftest$ac_exeext'
78802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78803 (eval $ac_try) 2>&5
78804 ac_status=$?
78805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78806 (exit $ac_status); }; }; then
78807 eval "$as_ac_var=yes"
78808 else
78809 echo "$as_me: failed program was:" >&5
78810 sed 's/^/| /' conftest.$ac_ext >&5
78812 eval "$as_ac_var=no"
78814 rm -f conftest.err conftest.$ac_objext \
78815 conftest$ac_exeext conftest.$ac_ext
78817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78819 if test `eval echo '${'$as_ac_var'}'` = yes; then
78820 cat >>confdefs.h <<_ACEOF
78821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78822 _ACEOF
78825 done
78835 echo "$as_me:$LINENO: checking for logl declaration" >&5
78836 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
78837 if test x${glibcxx_cv_func_logl_use+set} != xset; then
78838 if test "${glibcxx_cv_func_logl_use+set}" = set; then
78839 echo $ECHO_N "(cached) $ECHO_C" >&6
78840 else
78844 ac_ext=cc
78845 ac_cpp='$CXXCPP $CPPFLAGS'
78846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78850 cat >conftest.$ac_ext <<_ACEOF
78851 /* confdefs.h. */
78852 _ACEOF
78853 cat confdefs.h >>conftest.$ac_ext
78854 cat >>conftest.$ac_ext <<_ACEOF
78855 /* end confdefs.h. */
78856 #include <math.h>
78857 #ifdef HAVE_IEEEFP_H
78858 #include <ieeefp.h>
78859 #endif
78862 main ()
78864 logl(0);
78866 return 0;
78868 _ACEOF
78869 rm -f conftest.$ac_objext
78870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78871 (eval $ac_compile) 2>conftest.er1
78872 ac_status=$?
78873 grep -v '^ *+' conftest.er1 >conftest.err
78874 rm -f conftest.er1
78875 cat conftest.err >&5
78876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78877 (exit $ac_status); } &&
78878 { ac_try='test -z "$ac_cxx_werror_flag"
78879 || test ! -s conftest.err'
78880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78881 (eval $ac_try) 2>&5
78882 ac_status=$?
78883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78884 (exit $ac_status); }; } &&
78885 { ac_try='test -s conftest.$ac_objext'
78886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78887 (eval $ac_try) 2>&5
78888 ac_status=$?
78889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78890 (exit $ac_status); }; }; then
78891 glibcxx_cv_func_logl_use=yes
78892 else
78893 echo "$as_me: failed program was:" >&5
78894 sed 's/^/| /' conftest.$ac_ext >&5
78896 glibcxx_cv_func_logl_use=no
78898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78899 ac_ext=c
78900 ac_cpp='$CPP $CPPFLAGS'
78901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78909 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
78910 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
78912 if test x$glibcxx_cv_func_logl_use = x"yes"; then
78914 for ac_func in logl
78916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78917 echo "$as_me:$LINENO: checking for $ac_func" >&5
78918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78919 if eval "test \"\${$as_ac_var+set}\" = set"; then
78920 echo $ECHO_N "(cached) $ECHO_C" >&6
78921 else
78922 if test x$gcc_no_link = xyes; then
78923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78925 { (exit 1); exit 1; }; }
78927 cat >conftest.$ac_ext <<_ACEOF
78928 /* confdefs.h. */
78929 _ACEOF
78930 cat confdefs.h >>conftest.$ac_ext
78931 cat >>conftest.$ac_ext <<_ACEOF
78932 /* end confdefs.h. */
78933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78935 #define $ac_func innocuous_$ac_func
78937 /* System header to define __stub macros and hopefully few prototypes,
78938 which can conflict with char $ac_func (); below.
78939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78940 <limits.h> exists even on freestanding compilers. */
78942 #ifdef __STDC__
78943 # include <limits.h>
78944 #else
78945 # include <assert.h>
78946 #endif
78948 #undef $ac_func
78950 /* Override any gcc2 internal prototype to avoid an error. */
78951 #ifdef __cplusplus
78952 extern "C"
78954 #endif
78955 /* We use char because int might match the return type of a gcc2
78956 builtin and then its argument prototype would still apply. */
78957 char $ac_func ();
78958 /* The GNU C library defines this for functions which it implements
78959 to always fail with ENOSYS. Some functions are actually named
78960 something starting with __ and the normal name is an alias. */
78961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78962 choke me
78963 #else
78964 char (*f) () = $ac_func;
78965 #endif
78966 #ifdef __cplusplus
78968 #endif
78971 main ()
78973 return f != $ac_func;
78975 return 0;
78977 _ACEOF
78978 rm -f conftest.$ac_objext conftest$ac_exeext
78979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78980 (eval $ac_link) 2>conftest.er1
78981 ac_status=$?
78982 grep -v '^ *+' conftest.er1 >conftest.err
78983 rm -f conftest.er1
78984 cat conftest.err >&5
78985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78986 (exit $ac_status); } &&
78987 { ac_try='test -z "$ac_c_werror_flag"
78988 || test ! -s conftest.err'
78989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78990 (eval $ac_try) 2>&5
78991 ac_status=$?
78992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78993 (exit $ac_status); }; } &&
78994 { ac_try='test -s conftest$ac_exeext'
78995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78996 (eval $ac_try) 2>&5
78997 ac_status=$?
78998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78999 (exit $ac_status); }; }; then
79000 eval "$as_ac_var=yes"
79001 else
79002 echo "$as_me: failed program was:" >&5
79003 sed 's/^/| /' conftest.$ac_ext >&5
79005 eval "$as_ac_var=no"
79007 rm -f conftest.err conftest.$ac_objext \
79008 conftest$ac_exeext conftest.$ac_ext
79010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79012 if test `eval echo '${'$as_ac_var'}'` = yes; then
79013 cat >>confdefs.h <<_ACEOF
79014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79015 _ACEOF
79018 done
79020 else
79022 echo "$as_me:$LINENO: checking for _logl declaration" >&5
79023 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
79024 if test x${glibcxx_cv_func__logl_use+set} != xset; then
79025 if test "${glibcxx_cv_func__logl_use+set}" = set; then
79026 echo $ECHO_N "(cached) $ECHO_C" >&6
79027 else
79031 ac_ext=cc
79032 ac_cpp='$CXXCPP $CPPFLAGS'
79033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79037 cat >conftest.$ac_ext <<_ACEOF
79038 /* confdefs.h. */
79039 _ACEOF
79040 cat confdefs.h >>conftest.$ac_ext
79041 cat >>conftest.$ac_ext <<_ACEOF
79042 /* end confdefs.h. */
79043 #include <math.h>
79044 #ifdef HAVE_IEEEFP_H
79045 #include <ieeefp.h>
79046 #endif
79049 main ()
79051 _logl(0);
79053 return 0;
79055 _ACEOF
79056 rm -f conftest.$ac_objext
79057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79058 (eval $ac_compile) 2>conftest.er1
79059 ac_status=$?
79060 grep -v '^ *+' conftest.er1 >conftest.err
79061 rm -f conftest.er1
79062 cat conftest.err >&5
79063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79064 (exit $ac_status); } &&
79065 { ac_try='test -z "$ac_cxx_werror_flag"
79066 || test ! -s conftest.err'
79067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79068 (eval $ac_try) 2>&5
79069 ac_status=$?
79070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79071 (exit $ac_status); }; } &&
79072 { ac_try='test -s conftest.$ac_objext'
79073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79074 (eval $ac_try) 2>&5
79075 ac_status=$?
79076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79077 (exit $ac_status); }; }; then
79078 glibcxx_cv_func__logl_use=yes
79079 else
79080 echo "$as_me: failed program was:" >&5
79081 sed 's/^/| /' conftest.$ac_ext >&5
79083 glibcxx_cv_func__logl_use=no
79085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79086 ac_ext=c
79087 ac_cpp='$CPP $CPPFLAGS'
79088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79096 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
79097 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
79099 if test x$glibcxx_cv_func__logl_use = x"yes"; then
79101 for ac_func in _logl
79103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79104 echo "$as_me:$LINENO: checking for $ac_func" >&5
79105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79106 if eval "test \"\${$as_ac_var+set}\" = set"; then
79107 echo $ECHO_N "(cached) $ECHO_C" >&6
79108 else
79109 if test x$gcc_no_link = xyes; then
79110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79112 { (exit 1); exit 1; }; }
79114 cat >conftest.$ac_ext <<_ACEOF
79115 /* confdefs.h. */
79116 _ACEOF
79117 cat confdefs.h >>conftest.$ac_ext
79118 cat >>conftest.$ac_ext <<_ACEOF
79119 /* end confdefs.h. */
79120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79122 #define $ac_func innocuous_$ac_func
79124 /* System header to define __stub macros and hopefully few prototypes,
79125 which can conflict with char $ac_func (); below.
79126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79127 <limits.h> exists even on freestanding compilers. */
79129 #ifdef __STDC__
79130 # include <limits.h>
79131 #else
79132 # include <assert.h>
79133 #endif
79135 #undef $ac_func
79137 /* Override any gcc2 internal prototype to avoid an error. */
79138 #ifdef __cplusplus
79139 extern "C"
79141 #endif
79142 /* We use char because int might match the return type of a gcc2
79143 builtin and then its argument prototype would still apply. */
79144 char $ac_func ();
79145 /* The GNU C library defines this for functions which it implements
79146 to always fail with ENOSYS. Some functions are actually named
79147 something starting with __ and the normal name is an alias. */
79148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79149 choke me
79150 #else
79151 char (*f) () = $ac_func;
79152 #endif
79153 #ifdef __cplusplus
79155 #endif
79158 main ()
79160 return f != $ac_func;
79162 return 0;
79164 _ACEOF
79165 rm -f conftest.$ac_objext conftest$ac_exeext
79166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79167 (eval $ac_link) 2>conftest.er1
79168 ac_status=$?
79169 grep -v '^ *+' conftest.er1 >conftest.err
79170 rm -f conftest.er1
79171 cat conftest.err >&5
79172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79173 (exit $ac_status); } &&
79174 { ac_try='test -z "$ac_c_werror_flag"
79175 || test ! -s conftest.err'
79176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79177 (eval $ac_try) 2>&5
79178 ac_status=$?
79179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79180 (exit $ac_status); }; } &&
79181 { ac_try='test -s conftest$ac_exeext'
79182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79183 (eval $ac_try) 2>&5
79184 ac_status=$?
79185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79186 (exit $ac_status); }; }; then
79187 eval "$as_ac_var=yes"
79188 else
79189 echo "$as_me: failed program was:" >&5
79190 sed 's/^/| /' conftest.$ac_ext >&5
79192 eval "$as_ac_var=no"
79194 rm -f conftest.err conftest.$ac_objext \
79195 conftest$ac_exeext conftest.$ac_ext
79197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79199 if test `eval echo '${'$as_ac_var'}'` = yes; then
79200 cat >>confdefs.h <<_ACEOF
79201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79202 _ACEOF
79205 done
79215 echo "$as_me:$LINENO: checking for log10l declaration" >&5
79216 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
79217 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
79218 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
79219 echo $ECHO_N "(cached) $ECHO_C" >&6
79220 else
79224 ac_ext=cc
79225 ac_cpp='$CXXCPP $CPPFLAGS'
79226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79230 cat >conftest.$ac_ext <<_ACEOF
79231 /* confdefs.h. */
79232 _ACEOF
79233 cat confdefs.h >>conftest.$ac_ext
79234 cat >>conftest.$ac_ext <<_ACEOF
79235 /* end confdefs.h. */
79236 #include <math.h>
79237 #ifdef HAVE_IEEEFP_H
79238 #include <ieeefp.h>
79239 #endif
79242 main ()
79244 log10l(0);
79246 return 0;
79248 _ACEOF
79249 rm -f conftest.$ac_objext
79250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79251 (eval $ac_compile) 2>conftest.er1
79252 ac_status=$?
79253 grep -v '^ *+' conftest.er1 >conftest.err
79254 rm -f conftest.er1
79255 cat conftest.err >&5
79256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79257 (exit $ac_status); } &&
79258 { ac_try='test -z "$ac_cxx_werror_flag"
79259 || test ! -s conftest.err'
79260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79261 (eval $ac_try) 2>&5
79262 ac_status=$?
79263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79264 (exit $ac_status); }; } &&
79265 { ac_try='test -s conftest.$ac_objext'
79266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79267 (eval $ac_try) 2>&5
79268 ac_status=$?
79269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79270 (exit $ac_status); }; }; then
79271 glibcxx_cv_func_log10l_use=yes
79272 else
79273 echo "$as_me: failed program was:" >&5
79274 sed 's/^/| /' conftest.$ac_ext >&5
79276 glibcxx_cv_func_log10l_use=no
79278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79279 ac_ext=c
79280 ac_cpp='$CPP $CPPFLAGS'
79281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79289 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
79290 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
79292 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
79294 for ac_func in log10l
79296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79297 echo "$as_me:$LINENO: checking for $ac_func" >&5
79298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79299 if eval "test \"\${$as_ac_var+set}\" = set"; then
79300 echo $ECHO_N "(cached) $ECHO_C" >&6
79301 else
79302 if test x$gcc_no_link = xyes; then
79303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79305 { (exit 1); exit 1; }; }
79307 cat >conftest.$ac_ext <<_ACEOF
79308 /* confdefs.h. */
79309 _ACEOF
79310 cat confdefs.h >>conftest.$ac_ext
79311 cat >>conftest.$ac_ext <<_ACEOF
79312 /* end confdefs.h. */
79313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79315 #define $ac_func innocuous_$ac_func
79317 /* System header to define __stub macros and hopefully few prototypes,
79318 which can conflict with char $ac_func (); below.
79319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79320 <limits.h> exists even on freestanding compilers. */
79322 #ifdef __STDC__
79323 # include <limits.h>
79324 #else
79325 # include <assert.h>
79326 #endif
79328 #undef $ac_func
79330 /* Override any gcc2 internal prototype to avoid an error. */
79331 #ifdef __cplusplus
79332 extern "C"
79334 #endif
79335 /* We use char because int might match the return type of a gcc2
79336 builtin and then its argument prototype would still apply. */
79337 char $ac_func ();
79338 /* The GNU C library defines this for functions which it implements
79339 to always fail with ENOSYS. Some functions are actually named
79340 something starting with __ and the normal name is an alias. */
79341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79342 choke me
79343 #else
79344 char (*f) () = $ac_func;
79345 #endif
79346 #ifdef __cplusplus
79348 #endif
79351 main ()
79353 return f != $ac_func;
79355 return 0;
79357 _ACEOF
79358 rm -f conftest.$ac_objext conftest$ac_exeext
79359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79360 (eval $ac_link) 2>conftest.er1
79361 ac_status=$?
79362 grep -v '^ *+' conftest.er1 >conftest.err
79363 rm -f conftest.er1
79364 cat conftest.err >&5
79365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79366 (exit $ac_status); } &&
79367 { ac_try='test -z "$ac_c_werror_flag"
79368 || test ! -s conftest.err'
79369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79370 (eval $ac_try) 2>&5
79371 ac_status=$?
79372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79373 (exit $ac_status); }; } &&
79374 { ac_try='test -s conftest$ac_exeext'
79375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79376 (eval $ac_try) 2>&5
79377 ac_status=$?
79378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79379 (exit $ac_status); }; }; then
79380 eval "$as_ac_var=yes"
79381 else
79382 echo "$as_me: failed program was:" >&5
79383 sed 's/^/| /' conftest.$ac_ext >&5
79385 eval "$as_ac_var=no"
79387 rm -f conftest.err conftest.$ac_objext \
79388 conftest$ac_exeext conftest.$ac_ext
79390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79392 if test `eval echo '${'$as_ac_var'}'` = yes; then
79393 cat >>confdefs.h <<_ACEOF
79394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79395 _ACEOF
79398 done
79400 else
79402 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
79403 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
79404 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
79405 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
79406 echo $ECHO_N "(cached) $ECHO_C" >&6
79407 else
79411 ac_ext=cc
79412 ac_cpp='$CXXCPP $CPPFLAGS'
79413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79417 cat >conftest.$ac_ext <<_ACEOF
79418 /* confdefs.h. */
79419 _ACEOF
79420 cat confdefs.h >>conftest.$ac_ext
79421 cat >>conftest.$ac_ext <<_ACEOF
79422 /* end confdefs.h. */
79423 #include <math.h>
79424 #ifdef HAVE_IEEEFP_H
79425 #include <ieeefp.h>
79426 #endif
79429 main ()
79431 _log10l(0);
79433 return 0;
79435 _ACEOF
79436 rm -f conftest.$ac_objext
79437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79438 (eval $ac_compile) 2>conftest.er1
79439 ac_status=$?
79440 grep -v '^ *+' conftest.er1 >conftest.err
79441 rm -f conftest.er1
79442 cat conftest.err >&5
79443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79444 (exit $ac_status); } &&
79445 { ac_try='test -z "$ac_cxx_werror_flag"
79446 || test ! -s conftest.err'
79447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79448 (eval $ac_try) 2>&5
79449 ac_status=$?
79450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79451 (exit $ac_status); }; } &&
79452 { ac_try='test -s conftest.$ac_objext'
79453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79454 (eval $ac_try) 2>&5
79455 ac_status=$?
79456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79457 (exit $ac_status); }; }; then
79458 glibcxx_cv_func__log10l_use=yes
79459 else
79460 echo "$as_me: failed program was:" >&5
79461 sed 's/^/| /' conftest.$ac_ext >&5
79463 glibcxx_cv_func__log10l_use=no
79465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79466 ac_ext=c
79467 ac_cpp='$CPP $CPPFLAGS'
79468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79476 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
79477 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
79479 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
79481 for ac_func in _log10l
79483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79484 echo "$as_me:$LINENO: checking for $ac_func" >&5
79485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79486 if eval "test \"\${$as_ac_var+set}\" = set"; then
79487 echo $ECHO_N "(cached) $ECHO_C" >&6
79488 else
79489 if test x$gcc_no_link = xyes; then
79490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79492 { (exit 1); exit 1; }; }
79494 cat >conftest.$ac_ext <<_ACEOF
79495 /* confdefs.h. */
79496 _ACEOF
79497 cat confdefs.h >>conftest.$ac_ext
79498 cat >>conftest.$ac_ext <<_ACEOF
79499 /* end confdefs.h. */
79500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79502 #define $ac_func innocuous_$ac_func
79504 /* System header to define __stub macros and hopefully few prototypes,
79505 which can conflict with char $ac_func (); below.
79506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79507 <limits.h> exists even on freestanding compilers. */
79509 #ifdef __STDC__
79510 # include <limits.h>
79511 #else
79512 # include <assert.h>
79513 #endif
79515 #undef $ac_func
79517 /* Override any gcc2 internal prototype to avoid an error. */
79518 #ifdef __cplusplus
79519 extern "C"
79521 #endif
79522 /* We use char because int might match the return type of a gcc2
79523 builtin and then its argument prototype would still apply. */
79524 char $ac_func ();
79525 /* The GNU C library defines this for functions which it implements
79526 to always fail with ENOSYS. Some functions are actually named
79527 something starting with __ and the normal name is an alias. */
79528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79529 choke me
79530 #else
79531 char (*f) () = $ac_func;
79532 #endif
79533 #ifdef __cplusplus
79535 #endif
79538 main ()
79540 return f != $ac_func;
79542 return 0;
79544 _ACEOF
79545 rm -f conftest.$ac_objext conftest$ac_exeext
79546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79547 (eval $ac_link) 2>conftest.er1
79548 ac_status=$?
79549 grep -v '^ *+' conftest.er1 >conftest.err
79550 rm -f conftest.er1
79551 cat conftest.err >&5
79552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79553 (exit $ac_status); } &&
79554 { ac_try='test -z "$ac_c_werror_flag"
79555 || test ! -s conftest.err'
79556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79557 (eval $ac_try) 2>&5
79558 ac_status=$?
79559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79560 (exit $ac_status); }; } &&
79561 { ac_try='test -s conftest$ac_exeext'
79562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79563 (eval $ac_try) 2>&5
79564 ac_status=$?
79565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79566 (exit $ac_status); }; }; then
79567 eval "$as_ac_var=yes"
79568 else
79569 echo "$as_me: failed program was:" >&5
79570 sed 's/^/| /' conftest.$ac_ext >&5
79572 eval "$as_ac_var=no"
79574 rm -f conftest.err conftest.$ac_objext \
79575 conftest$ac_exeext conftest.$ac_ext
79577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79579 if test `eval echo '${'$as_ac_var'}'` = yes; then
79580 cat >>confdefs.h <<_ACEOF
79581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79582 _ACEOF
79585 done
79595 echo "$as_me:$LINENO: checking for modfl declaration" >&5
79596 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
79597 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
79598 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
79599 echo $ECHO_N "(cached) $ECHO_C" >&6
79600 else
79604 ac_ext=cc
79605 ac_cpp='$CXXCPP $CPPFLAGS'
79606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79610 cat >conftest.$ac_ext <<_ACEOF
79611 /* confdefs.h. */
79612 _ACEOF
79613 cat confdefs.h >>conftest.$ac_ext
79614 cat >>conftest.$ac_ext <<_ACEOF
79615 /* end confdefs.h. */
79616 #include <math.h>
79618 main ()
79620 modfl(0, 0);
79622 return 0;
79624 _ACEOF
79625 rm -f conftest.$ac_objext
79626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79627 (eval $ac_compile) 2>conftest.er1
79628 ac_status=$?
79629 grep -v '^ *+' conftest.er1 >conftest.err
79630 rm -f conftest.er1
79631 cat conftest.err >&5
79632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79633 (exit $ac_status); } &&
79634 { ac_try='test -z "$ac_cxx_werror_flag"
79635 || test ! -s conftest.err'
79636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79637 (eval $ac_try) 2>&5
79638 ac_status=$?
79639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79640 (exit $ac_status); }; } &&
79641 { ac_try='test -s conftest.$ac_objext'
79642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79643 (eval $ac_try) 2>&5
79644 ac_status=$?
79645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79646 (exit $ac_status); }; }; then
79647 glibcxx_cv_func_modfl_use=yes
79648 else
79649 echo "$as_me: failed program was:" >&5
79650 sed 's/^/| /' conftest.$ac_ext >&5
79652 glibcxx_cv_func_modfl_use=no
79654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79655 ac_ext=c
79656 ac_cpp='$CPP $CPPFLAGS'
79657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79665 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
79666 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
79668 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
79670 for ac_func in modfl
79672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79673 echo "$as_me:$LINENO: checking for $ac_func" >&5
79674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79675 if eval "test \"\${$as_ac_var+set}\" = set"; then
79676 echo $ECHO_N "(cached) $ECHO_C" >&6
79677 else
79678 if test x$gcc_no_link = xyes; then
79679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79681 { (exit 1); exit 1; }; }
79683 cat >conftest.$ac_ext <<_ACEOF
79684 /* confdefs.h. */
79685 _ACEOF
79686 cat confdefs.h >>conftest.$ac_ext
79687 cat >>conftest.$ac_ext <<_ACEOF
79688 /* end confdefs.h. */
79689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79691 #define $ac_func innocuous_$ac_func
79693 /* System header to define __stub macros and hopefully few prototypes,
79694 which can conflict with char $ac_func (); below.
79695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79696 <limits.h> exists even on freestanding compilers. */
79698 #ifdef __STDC__
79699 # include <limits.h>
79700 #else
79701 # include <assert.h>
79702 #endif
79704 #undef $ac_func
79706 /* Override any gcc2 internal prototype to avoid an error. */
79707 #ifdef __cplusplus
79708 extern "C"
79710 #endif
79711 /* We use char because int might match the return type of a gcc2
79712 builtin and then its argument prototype would still apply. */
79713 char $ac_func ();
79714 /* The GNU C library defines this for functions which it implements
79715 to always fail with ENOSYS. Some functions are actually named
79716 something starting with __ and the normal name is an alias. */
79717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79718 choke me
79719 #else
79720 char (*f) () = $ac_func;
79721 #endif
79722 #ifdef __cplusplus
79724 #endif
79727 main ()
79729 return f != $ac_func;
79731 return 0;
79733 _ACEOF
79734 rm -f conftest.$ac_objext conftest$ac_exeext
79735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79736 (eval $ac_link) 2>conftest.er1
79737 ac_status=$?
79738 grep -v '^ *+' conftest.er1 >conftest.err
79739 rm -f conftest.er1
79740 cat conftest.err >&5
79741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79742 (exit $ac_status); } &&
79743 { ac_try='test -z "$ac_c_werror_flag"
79744 || test ! -s conftest.err'
79745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79746 (eval $ac_try) 2>&5
79747 ac_status=$?
79748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79749 (exit $ac_status); }; } &&
79750 { ac_try='test -s conftest$ac_exeext'
79751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79752 (eval $ac_try) 2>&5
79753 ac_status=$?
79754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79755 (exit $ac_status); }; }; then
79756 eval "$as_ac_var=yes"
79757 else
79758 echo "$as_me: failed program was:" >&5
79759 sed 's/^/| /' conftest.$ac_ext >&5
79761 eval "$as_ac_var=no"
79763 rm -f conftest.err conftest.$ac_objext \
79764 conftest$ac_exeext conftest.$ac_ext
79766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79768 if test `eval echo '${'$as_ac_var'}'` = yes; then
79769 cat >>confdefs.h <<_ACEOF
79770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79771 _ACEOF
79774 done
79776 else
79778 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
79779 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
79780 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
79781 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
79782 echo $ECHO_N "(cached) $ECHO_C" >&6
79783 else
79787 ac_ext=cc
79788 ac_cpp='$CXXCPP $CPPFLAGS'
79789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79793 cat >conftest.$ac_ext <<_ACEOF
79794 /* confdefs.h. */
79795 _ACEOF
79796 cat confdefs.h >>conftest.$ac_ext
79797 cat >>conftest.$ac_ext <<_ACEOF
79798 /* end confdefs.h. */
79799 #include <math.h>
79801 main ()
79803 _modfl(0, 0);
79805 return 0;
79807 _ACEOF
79808 rm -f conftest.$ac_objext
79809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79810 (eval $ac_compile) 2>conftest.er1
79811 ac_status=$?
79812 grep -v '^ *+' conftest.er1 >conftest.err
79813 rm -f conftest.er1
79814 cat conftest.err >&5
79815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79816 (exit $ac_status); } &&
79817 { ac_try='test -z "$ac_cxx_werror_flag"
79818 || test ! -s conftest.err'
79819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79820 (eval $ac_try) 2>&5
79821 ac_status=$?
79822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79823 (exit $ac_status); }; } &&
79824 { ac_try='test -s conftest.$ac_objext'
79825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79826 (eval $ac_try) 2>&5
79827 ac_status=$?
79828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79829 (exit $ac_status); }; }; then
79830 glibcxx_cv_func__modfl_use=yes
79831 else
79832 echo "$as_me: failed program was:" >&5
79833 sed 's/^/| /' conftest.$ac_ext >&5
79835 glibcxx_cv_func__modfl_use=no
79837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79838 ac_ext=c
79839 ac_cpp='$CPP $CPPFLAGS'
79840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79848 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
79849 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
79851 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
79853 for ac_func in _modfl
79855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79856 echo "$as_me:$LINENO: checking for $ac_func" >&5
79857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79858 if eval "test \"\${$as_ac_var+set}\" = set"; then
79859 echo $ECHO_N "(cached) $ECHO_C" >&6
79860 else
79861 if test x$gcc_no_link = xyes; then
79862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79864 { (exit 1); exit 1; }; }
79866 cat >conftest.$ac_ext <<_ACEOF
79867 /* confdefs.h. */
79868 _ACEOF
79869 cat confdefs.h >>conftest.$ac_ext
79870 cat >>conftest.$ac_ext <<_ACEOF
79871 /* end confdefs.h. */
79872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79874 #define $ac_func innocuous_$ac_func
79876 /* System header to define __stub macros and hopefully few prototypes,
79877 which can conflict with char $ac_func (); below.
79878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79879 <limits.h> exists even on freestanding compilers. */
79881 #ifdef __STDC__
79882 # include <limits.h>
79883 #else
79884 # include <assert.h>
79885 #endif
79887 #undef $ac_func
79889 /* Override any gcc2 internal prototype to avoid an error. */
79890 #ifdef __cplusplus
79891 extern "C"
79893 #endif
79894 /* We use char because int might match the return type of a gcc2
79895 builtin and then its argument prototype would still apply. */
79896 char $ac_func ();
79897 /* The GNU C library defines this for functions which it implements
79898 to always fail with ENOSYS. Some functions are actually named
79899 something starting with __ and the normal name is an alias. */
79900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79901 choke me
79902 #else
79903 char (*f) () = $ac_func;
79904 #endif
79905 #ifdef __cplusplus
79907 #endif
79910 main ()
79912 return f != $ac_func;
79914 return 0;
79916 _ACEOF
79917 rm -f conftest.$ac_objext conftest$ac_exeext
79918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79919 (eval $ac_link) 2>conftest.er1
79920 ac_status=$?
79921 grep -v '^ *+' conftest.er1 >conftest.err
79922 rm -f conftest.er1
79923 cat conftest.err >&5
79924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79925 (exit $ac_status); } &&
79926 { ac_try='test -z "$ac_c_werror_flag"
79927 || test ! -s conftest.err'
79928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79929 (eval $ac_try) 2>&5
79930 ac_status=$?
79931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79932 (exit $ac_status); }; } &&
79933 { ac_try='test -s conftest$ac_exeext'
79934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79935 (eval $ac_try) 2>&5
79936 ac_status=$?
79937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79938 (exit $ac_status); }; }; then
79939 eval "$as_ac_var=yes"
79940 else
79941 echo "$as_me: failed program was:" >&5
79942 sed 's/^/| /' conftest.$ac_ext >&5
79944 eval "$as_ac_var=no"
79946 rm -f conftest.err conftest.$ac_objext \
79947 conftest$ac_exeext conftest.$ac_ext
79949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79951 if test `eval echo '${'$as_ac_var'}'` = yes; then
79952 cat >>confdefs.h <<_ACEOF
79953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79954 _ACEOF
79957 done
79967 echo "$as_me:$LINENO: checking for powl declaration" >&5
79968 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
79969 if test x${glibcxx_cv_func_powl_use+set} != xset; then
79970 if test "${glibcxx_cv_func_powl_use+set}" = set; then
79971 echo $ECHO_N "(cached) $ECHO_C" >&6
79972 else
79976 ac_ext=cc
79977 ac_cpp='$CXXCPP $CPPFLAGS'
79978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79982 cat >conftest.$ac_ext <<_ACEOF
79983 /* confdefs.h. */
79984 _ACEOF
79985 cat confdefs.h >>conftest.$ac_ext
79986 cat >>conftest.$ac_ext <<_ACEOF
79987 /* end confdefs.h. */
79988 #include <math.h>
79990 main ()
79992 powl(0, 0);
79994 return 0;
79996 _ACEOF
79997 rm -f conftest.$ac_objext
79998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79999 (eval $ac_compile) 2>conftest.er1
80000 ac_status=$?
80001 grep -v '^ *+' conftest.er1 >conftest.err
80002 rm -f conftest.er1
80003 cat conftest.err >&5
80004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80005 (exit $ac_status); } &&
80006 { ac_try='test -z "$ac_cxx_werror_flag"
80007 || test ! -s conftest.err'
80008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80009 (eval $ac_try) 2>&5
80010 ac_status=$?
80011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80012 (exit $ac_status); }; } &&
80013 { ac_try='test -s conftest.$ac_objext'
80014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80015 (eval $ac_try) 2>&5
80016 ac_status=$?
80017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80018 (exit $ac_status); }; }; then
80019 glibcxx_cv_func_powl_use=yes
80020 else
80021 echo "$as_me: failed program was:" >&5
80022 sed 's/^/| /' conftest.$ac_ext >&5
80024 glibcxx_cv_func_powl_use=no
80026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80027 ac_ext=c
80028 ac_cpp='$CPP $CPPFLAGS'
80029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80037 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
80038 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
80040 if test x$glibcxx_cv_func_powl_use = x"yes"; then
80042 for ac_func in powl
80044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80045 echo "$as_me:$LINENO: checking for $ac_func" >&5
80046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80047 if eval "test \"\${$as_ac_var+set}\" = set"; then
80048 echo $ECHO_N "(cached) $ECHO_C" >&6
80049 else
80050 if test x$gcc_no_link = xyes; then
80051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80053 { (exit 1); exit 1; }; }
80055 cat >conftest.$ac_ext <<_ACEOF
80056 /* confdefs.h. */
80057 _ACEOF
80058 cat confdefs.h >>conftest.$ac_ext
80059 cat >>conftest.$ac_ext <<_ACEOF
80060 /* end confdefs.h. */
80061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80063 #define $ac_func innocuous_$ac_func
80065 /* System header to define __stub macros and hopefully few prototypes,
80066 which can conflict with char $ac_func (); below.
80067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80068 <limits.h> exists even on freestanding compilers. */
80070 #ifdef __STDC__
80071 # include <limits.h>
80072 #else
80073 # include <assert.h>
80074 #endif
80076 #undef $ac_func
80078 /* Override any gcc2 internal prototype to avoid an error. */
80079 #ifdef __cplusplus
80080 extern "C"
80082 #endif
80083 /* We use char because int might match the return type of a gcc2
80084 builtin and then its argument prototype would still apply. */
80085 char $ac_func ();
80086 /* The GNU C library defines this for functions which it implements
80087 to always fail with ENOSYS. Some functions are actually named
80088 something starting with __ and the normal name is an alias. */
80089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80090 choke me
80091 #else
80092 char (*f) () = $ac_func;
80093 #endif
80094 #ifdef __cplusplus
80096 #endif
80099 main ()
80101 return f != $ac_func;
80103 return 0;
80105 _ACEOF
80106 rm -f conftest.$ac_objext conftest$ac_exeext
80107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80108 (eval $ac_link) 2>conftest.er1
80109 ac_status=$?
80110 grep -v '^ *+' conftest.er1 >conftest.err
80111 rm -f conftest.er1
80112 cat conftest.err >&5
80113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80114 (exit $ac_status); } &&
80115 { ac_try='test -z "$ac_c_werror_flag"
80116 || test ! -s conftest.err'
80117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80118 (eval $ac_try) 2>&5
80119 ac_status=$?
80120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80121 (exit $ac_status); }; } &&
80122 { ac_try='test -s conftest$ac_exeext'
80123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80124 (eval $ac_try) 2>&5
80125 ac_status=$?
80126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80127 (exit $ac_status); }; }; then
80128 eval "$as_ac_var=yes"
80129 else
80130 echo "$as_me: failed program was:" >&5
80131 sed 's/^/| /' conftest.$ac_ext >&5
80133 eval "$as_ac_var=no"
80135 rm -f conftest.err conftest.$ac_objext \
80136 conftest$ac_exeext conftest.$ac_ext
80138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80140 if test `eval echo '${'$as_ac_var'}'` = yes; then
80141 cat >>confdefs.h <<_ACEOF
80142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80143 _ACEOF
80146 done
80148 else
80150 echo "$as_me:$LINENO: checking for _powl declaration" >&5
80151 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
80152 if test x${glibcxx_cv_func__powl_use+set} != xset; then
80153 if test "${glibcxx_cv_func__powl_use+set}" = set; then
80154 echo $ECHO_N "(cached) $ECHO_C" >&6
80155 else
80159 ac_ext=cc
80160 ac_cpp='$CXXCPP $CPPFLAGS'
80161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80165 cat >conftest.$ac_ext <<_ACEOF
80166 /* confdefs.h. */
80167 _ACEOF
80168 cat confdefs.h >>conftest.$ac_ext
80169 cat >>conftest.$ac_ext <<_ACEOF
80170 /* end confdefs.h. */
80171 #include <math.h>
80173 main ()
80175 _powl(0, 0);
80177 return 0;
80179 _ACEOF
80180 rm -f conftest.$ac_objext
80181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80182 (eval $ac_compile) 2>conftest.er1
80183 ac_status=$?
80184 grep -v '^ *+' conftest.er1 >conftest.err
80185 rm -f conftest.er1
80186 cat conftest.err >&5
80187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80188 (exit $ac_status); } &&
80189 { ac_try='test -z "$ac_cxx_werror_flag"
80190 || test ! -s conftest.err'
80191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80192 (eval $ac_try) 2>&5
80193 ac_status=$?
80194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80195 (exit $ac_status); }; } &&
80196 { ac_try='test -s conftest.$ac_objext'
80197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80198 (eval $ac_try) 2>&5
80199 ac_status=$?
80200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80201 (exit $ac_status); }; }; then
80202 glibcxx_cv_func__powl_use=yes
80203 else
80204 echo "$as_me: failed program was:" >&5
80205 sed 's/^/| /' conftest.$ac_ext >&5
80207 glibcxx_cv_func__powl_use=no
80209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80210 ac_ext=c
80211 ac_cpp='$CPP $CPPFLAGS'
80212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80220 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
80221 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
80223 if test x$glibcxx_cv_func__powl_use = x"yes"; then
80225 for ac_func in _powl
80227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80228 echo "$as_me:$LINENO: checking for $ac_func" >&5
80229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80230 if eval "test \"\${$as_ac_var+set}\" = set"; then
80231 echo $ECHO_N "(cached) $ECHO_C" >&6
80232 else
80233 if test x$gcc_no_link = xyes; then
80234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80236 { (exit 1); exit 1; }; }
80238 cat >conftest.$ac_ext <<_ACEOF
80239 /* confdefs.h. */
80240 _ACEOF
80241 cat confdefs.h >>conftest.$ac_ext
80242 cat >>conftest.$ac_ext <<_ACEOF
80243 /* end confdefs.h. */
80244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80246 #define $ac_func innocuous_$ac_func
80248 /* System header to define __stub macros and hopefully few prototypes,
80249 which can conflict with char $ac_func (); below.
80250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80251 <limits.h> exists even on freestanding compilers. */
80253 #ifdef __STDC__
80254 # include <limits.h>
80255 #else
80256 # include <assert.h>
80257 #endif
80259 #undef $ac_func
80261 /* Override any gcc2 internal prototype to avoid an error. */
80262 #ifdef __cplusplus
80263 extern "C"
80265 #endif
80266 /* We use char because int might match the return type of a gcc2
80267 builtin and then its argument prototype would still apply. */
80268 char $ac_func ();
80269 /* The GNU C library defines this for functions which it implements
80270 to always fail with ENOSYS. Some functions are actually named
80271 something starting with __ and the normal name is an alias. */
80272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80273 choke me
80274 #else
80275 char (*f) () = $ac_func;
80276 #endif
80277 #ifdef __cplusplus
80279 #endif
80282 main ()
80284 return f != $ac_func;
80286 return 0;
80288 _ACEOF
80289 rm -f conftest.$ac_objext conftest$ac_exeext
80290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80291 (eval $ac_link) 2>conftest.er1
80292 ac_status=$?
80293 grep -v '^ *+' conftest.er1 >conftest.err
80294 rm -f conftest.er1
80295 cat conftest.err >&5
80296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80297 (exit $ac_status); } &&
80298 { ac_try='test -z "$ac_c_werror_flag"
80299 || test ! -s conftest.err'
80300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80301 (eval $ac_try) 2>&5
80302 ac_status=$?
80303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80304 (exit $ac_status); }; } &&
80305 { ac_try='test -s conftest$ac_exeext'
80306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80307 (eval $ac_try) 2>&5
80308 ac_status=$?
80309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80310 (exit $ac_status); }; }; then
80311 eval "$as_ac_var=yes"
80312 else
80313 echo "$as_me: failed program was:" >&5
80314 sed 's/^/| /' conftest.$ac_ext >&5
80316 eval "$as_ac_var=no"
80318 rm -f conftest.err conftest.$ac_objext \
80319 conftest$ac_exeext conftest.$ac_ext
80321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80323 if test `eval echo '${'$as_ac_var'}'` = yes; then
80324 cat >>confdefs.h <<_ACEOF
80325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80326 _ACEOF
80329 done
80339 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
80340 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
80341 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
80342 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
80343 echo $ECHO_N "(cached) $ECHO_C" >&6
80344 else
80348 ac_ext=cc
80349 ac_cpp='$CXXCPP $CPPFLAGS'
80350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80354 cat >conftest.$ac_ext <<_ACEOF
80355 /* confdefs.h. */
80356 _ACEOF
80357 cat confdefs.h >>conftest.$ac_ext
80358 cat >>conftest.$ac_ext <<_ACEOF
80359 /* end confdefs.h. */
80360 #include <math.h>
80361 #ifdef HAVE_IEEEFP_H
80362 #include <ieeefp.h>
80363 #endif
80366 main ()
80368 sqrtl(0);
80370 return 0;
80372 _ACEOF
80373 rm -f conftest.$ac_objext
80374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80375 (eval $ac_compile) 2>conftest.er1
80376 ac_status=$?
80377 grep -v '^ *+' conftest.er1 >conftest.err
80378 rm -f conftest.er1
80379 cat conftest.err >&5
80380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80381 (exit $ac_status); } &&
80382 { ac_try='test -z "$ac_cxx_werror_flag"
80383 || test ! -s conftest.err'
80384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80385 (eval $ac_try) 2>&5
80386 ac_status=$?
80387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80388 (exit $ac_status); }; } &&
80389 { ac_try='test -s conftest.$ac_objext'
80390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80391 (eval $ac_try) 2>&5
80392 ac_status=$?
80393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80394 (exit $ac_status); }; }; then
80395 glibcxx_cv_func_sqrtl_use=yes
80396 else
80397 echo "$as_me: failed program was:" >&5
80398 sed 's/^/| /' conftest.$ac_ext >&5
80400 glibcxx_cv_func_sqrtl_use=no
80402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80403 ac_ext=c
80404 ac_cpp='$CPP $CPPFLAGS'
80405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80413 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
80414 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
80416 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
80418 for ac_func in sqrtl
80420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80421 echo "$as_me:$LINENO: checking for $ac_func" >&5
80422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80423 if eval "test \"\${$as_ac_var+set}\" = set"; then
80424 echo $ECHO_N "(cached) $ECHO_C" >&6
80425 else
80426 if test x$gcc_no_link = xyes; then
80427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80429 { (exit 1); exit 1; }; }
80431 cat >conftest.$ac_ext <<_ACEOF
80432 /* confdefs.h. */
80433 _ACEOF
80434 cat confdefs.h >>conftest.$ac_ext
80435 cat >>conftest.$ac_ext <<_ACEOF
80436 /* end confdefs.h. */
80437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80439 #define $ac_func innocuous_$ac_func
80441 /* System header to define __stub macros and hopefully few prototypes,
80442 which can conflict with char $ac_func (); below.
80443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80444 <limits.h> exists even on freestanding compilers. */
80446 #ifdef __STDC__
80447 # include <limits.h>
80448 #else
80449 # include <assert.h>
80450 #endif
80452 #undef $ac_func
80454 /* Override any gcc2 internal prototype to avoid an error. */
80455 #ifdef __cplusplus
80456 extern "C"
80458 #endif
80459 /* We use char because int might match the return type of a gcc2
80460 builtin and then its argument prototype would still apply. */
80461 char $ac_func ();
80462 /* The GNU C library defines this for functions which it implements
80463 to always fail with ENOSYS. Some functions are actually named
80464 something starting with __ and the normal name is an alias. */
80465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80466 choke me
80467 #else
80468 char (*f) () = $ac_func;
80469 #endif
80470 #ifdef __cplusplus
80472 #endif
80475 main ()
80477 return f != $ac_func;
80479 return 0;
80481 _ACEOF
80482 rm -f conftest.$ac_objext conftest$ac_exeext
80483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80484 (eval $ac_link) 2>conftest.er1
80485 ac_status=$?
80486 grep -v '^ *+' conftest.er1 >conftest.err
80487 rm -f conftest.er1
80488 cat conftest.err >&5
80489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80490 (exit $ac_status); } &&
80491 { ac_try='test -z "$ac_c_werror_flag"
80492 || test ! -s conftest.err'
80493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80494 (eval $ac_try) 2>&5
80495 ac_status=$?
80496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80497 (exit $ac_status); }; } &&
80498 { ac_try='test -s conftest$ac_exeext'
80499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80500 (eval $ac_try) 2>&5
80501 ac_status=$?
80502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80503 (exit $ac_status); }; }; then
80504 eval "$as_ac_var=yes"
80505 else
80506 echo "$as_me: failed program was:" >&5
80507 sed 's/^/| /' conftest.$ac_ext >&5
80509 eval "$as_ac_var=no"
80511 rm -f conftest.err conftest.$ac_objext \
80512 conftest$ac_exeext conftest.$ac_ext
80514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80516 if test `eval echo '${'$as_ac_var'}'` = yes; then
80517 cat >>confdefs.h <<_ACEOF
80518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80519 _ACEOF
80522 done
80524 else
80526 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
80527 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
80528 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
80529 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
80530 echo $ECHO_N "(cached) $ECHO_C" >&6
80531 else
80535 ac_ext=cc
80536 ac_cpp='$CXXCPP $CPPFLAGS'
80537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80541 cat >conftest.$ac_ext <<_ACEOF
80542 /* confdefs.h. */
80543 _ACEOF
80544 cat confdefs.h >>conftest.$ac_ext
80545 cat >>conftest.$ac_ext <<_ACEOF
80546 /* end confdefs.h. */
80547 #include <math.h>
80548 #ifdef HAVE_IEEEFP_H
80549 #include <ieeefp.h>
80550 #endif
80553 main ()
80555 _sqrtl(0);
80557 return 0;
80559 _ACEOF
80560 rm -f conftest.$ac_objext
80561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80562 (eval $ac_compile) 2>conftest.er1
80563 ac_status=$?
80564 grep -v '^ *+' conftest.er1 >conftest.err
80565 rm -f conftest.er1
80566 cat conftest.err >&5
80567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80568 (exit $ac_status); } &&
80569 { ac_try='test -z "$ac_cxx_werror_flag"
80570 || test ! -s conftest.err'
80571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80572 (eval $ac_try) 2>&5
80573 ac_status=$?
80574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80575 (exit $ac_status); }; } &&
80576 { ac_try='test -s conftest.$ac_objext'
80577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80578 (eval $ac_try) 2>&5
80579 ac_status=$?
80580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80581 (exit $ac_status); }; }; then
80582 glibcxx_cv_func__sqrtl_use=yes
80583 else
80584 echo "$as_me: failed program was:" >&5
80585 sed 's/^/| /' conftest.$ac_ext >&5
80587 glibcxx_cv_func__sqrtl_use=no
80589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80590 ac_ext=c
80591 ac_cpp='$CPP $CPPFLAGS'
80592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80600 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
80601 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
80603 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
80605 for ac_func in _sqrtl
80607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80608 echo "$as_me:$LINENO: checking for $ac_func" >&5
80609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80610 if eval "test \"\${$as_ac_var+set}\" = set"; then
80611 echo $ECHO_N "(cached) $ECHO_C" >&6
80612 else
80613 if test x$gcc_no_link = xyes; then
80614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80616 { (exit 1); exit 1; }; }
80618 cat >conftest.$ac_ext <<_ACEOF
80619 /* confdefs.h. */
80620 _ACEOF
80621 cat confdefs.h >>conftest.$ac_ext
80622 cat >>conftest.$ac_ext <<_ACEOF
80623 /* end confdefs.h. */
80624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80626 #define $ac_func innocuous_$ac_func
80628 /* System header to define __stub macros and hopefully few prototypes,
80629 which can conflict with char $ac_func (); below.
80630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80631 <limits.h> exists even on freestanding compilers. */
80633 #ifdef __STDC__
80634 # include <limits.h>
80635 #else
80636 # include <assert.h>
80637 #endif
80639 #undef $ac_func
80641 /* Override any gcc2 internal prototype to avoid an error. */
80642 #ifdef __cplusplus
80643 extern "C"
80645 #endif
80646 /* We use char because int might match the return type of a gcc2
80647 builtin and then its argument prototype would still apply. */
80648 char $ac_func ();
80649 /* The GNU C library defines this for functions which it implements
80650 to always fail with ENOSYS. Some functions are actually named
80651 something starting with __ and the normal name is an alias. */
80652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80653 choke me
80654 #else
80655 char (*f) () = $ac_func;
80656 #endif
80657 #ifdef __cplusplus
80659 #endif
80662 main ()
80664 return f != $ac_func;
80666 return 0;
80668 _ACEOF
80669 rm -f conftest.$ac_objext conftest$ac_exeext
80670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80671 (eval $ac_link) 2>conftest.er1
80672 ac_status=$?
80673 grep -v '^ *+' conftest.er1 >conftest.err
80674 rm -f conftest.er1
80675 cat conftest.err >&5
80676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80677 (exit $ac_status); } &&
80678 { ac_try='test -z "$ac_c_werror_flag"
80679 || test ! -s conftest.err'
80680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80681 (eval $ac_try) 2>&5
80682 ac_status=$?
80683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80684 (exit $ac_status); }; } &&
80685 { ac_try='test -s conftest$ac_exeext'
80686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80687 (eval $ac_try) 2>&5
80688 ac_status=$?
80689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80690 (exit $ac_status); }; }; then
80691 eval "$as_ac_var=yes"
80692 else
80693 echo "$as_me: failed program was:" >&5
80694 sed 's/^/| /' conftest.$ac_ext >&5
80696 eval "$as_ac_var=no"
80698 rm -f conftest.err conftest.$ac_objext \
80699 conftest$ac_exeext conftest.$ac_ext
80701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80703 if test `eval echo '${'$as_ac_var'}'` = yes; then
80704 cat >>confdefs.h <<_ACEOF
80705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80706 _ACEOF
80709 done
80719 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
80720 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
80721 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
80722 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
80723 echo $ECHO_N "(cached) $ECHO_C" >&6
80724 else
80728 ac_ext=cc
80729 ac_cpp='$CXXCPP $CPPFLAGS'
80730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80734 cat >conftest.$ac_ext <<_ACEOF
80735 /* confdefs.h. */
80736 _ACEOF
80737 cat confdefs.h >>conftest.$ac_ext
80738 cat >>conftest.$ac_ext <<_ACEOF
80739 /* end confdefs.h. */
80740 #include <math.h>
80742 main ()
80744 sincosl(0, 0, 0);
80746 return 0;
80748 _ACEOF
80749 rm -f conftest.$ac_objext
80750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80751 (eval $ac_compile) 2>conftest.er1
80752 ac_status=$?
80753 grep -v '^ *+' conftest.er1 >conftest.err
80754 rm -f conftest.er1
80755 cat conftest.err >&5
80756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80757 (exit $ac_status); } &&
80758 { ac_try='test -z "$ac_cxx_werror_flag"
80759 || test ! -s conftest.err'
80760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80761 (eval $ac_try) 2>&5
80762 ac_status=$?
80763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80764 (exit $ac_status); }; } &&
80765 { ac_try='test -s conftest.$ac_objext'
80766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80767 (eval $ac_try) 2>&5
80768 ac_status=$?
80769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80770 (exit $ac_status); }; }; then
80771 glibcxx_cv_func_sincosl_use=yes
80772 else
80773 echo "$as_me: failed program was:" >&5
80774 sed 's/^/| /' conftest.$ac_ext >&5
80776 glibcxx_cv_func_sincosl_use=no
80778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80779 ac_ext=c
80780 ac_cpp='$CPP $CPPFLAGS'
80781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80789 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
80790 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
80792 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
80794 for ac_func in sincosl
80796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80797 echo "$as_me:$LINENO: checking for $ac_func" >&5
80798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80799 if eval "test \"\${$as_ac_var+set}\" = set"; then
80800 echo $ECHO_N "(cached) $ECHO_C" >&6
80801 else
80802 if test x$gcc_no_link = xyes; then
80803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80805 { (exit 1); exit 1; }; }
80807 cat >conftest.$ac_ext <<_ACEOF
80808 /* confdefs.h. */
80809 _ACEOF
80810 cat confdefs.h >>conftest.$ac_ext
80811 cat >>conftest.$ac_ext <<_ACEOF
80812 /* end confdefs.h. */
80813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80815 #define $ac_func innocuous_$ac_func
80817 /* System header to define __stub macros and hopefully few prototypes,
80818 which can conflict with char $ac_func (); below.
80819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80820 <limits.h> exists even on freestanding compilers. */
80822 #ifdef __STDC__
80823 # include <limits.h>
80824 #else
80825 # include <assert.h>
80826 #endif
80828 #undef $ac_func
80830 /* Override any gcc2 internal prototype to avoid an error. */
80831 #ifdef __cplusplus
80832 extern "C"
80834 #endif
80835 /* We use char because int might match the return type of a gcc2
80836 builtin and then its argument prototype would still apply. */
80837 char $ac_func ();
80838 /* The GNU C library defines this for functions which it implements
80839 to always fail with ENOSYS. Some functions are actually named
80840 something starting with __ and the normal name is an alias. */
80841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80842 choke me
80843 #else
80844 char (*f) () = $ac_func;
80845 #endif
80846 #ifdef __cplusplus
80848 #endif
80851 main ()
80853 return f != $ac_func;
80855 return 0;
80857 _ACEOF
80858 rm -f conftest.$ac_objext conftest$ac_exeext
80859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80860 (eval $ac_link) 2>conftest.er1
80861 ac_status=$?
80862 grep -v '^ *+' conftest.er1 >conftest.err
80863 rm -f conftest.er1
80864 cat conftest.err >&5
80865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80866 (exit $ac_status); } &&
80867 { ac_try='test -z "$ac_c_werror_flag"
80868 || test ! -s conftest.err'
80869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80870 (eval $ac_try) 2>&5
80871 ac_status=$?
80872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80873 (exit $ac_status); }; } &&
80874 { ac_try='test -s conftest$ac_exeext'
80875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80876 (eval $ac_try) 2>&5
80877 ac_status=$?
80878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80879 (exit $ac_status); }; }; then
80880 eval "$as_ac_var=yes"
80881 else
80882 echo "$as_me: failed program was:" >&5
80883 sed 's/^/| /' conftest.$ac_ext >&5
80885 eval "$as_ac_var=no"
80887 rm -f conftest.err conftest.$ac_objext \
80888 conftest$ac_exeext conftest.$ac_ext
80890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80892 if test `eval echo '${'$as_ac_var'}'` = yes; then
80893 cat >>confdefs.h <<_ACEOF
80894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80895 _ACEOF
80898 done
80900 else
80902 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
80903 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
80904 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
80905 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
80906 echo $ECHO_N "(cached) $ECHO_C" >&6
80907 else
80911 ac_ext=cc
80912 ac_cpp='$CXXCPP $CPPFLAGS'
80913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80917 cat >conftest.$ac_ext <<_ACEOF
80918 /* confdefs.h. */
80919 _ACEOF
80920 cat confdefs.h >>conftest.$ac_ext
80921 cat >>conftest.$ac_ext <<_ACEOF
80922 /* end confdefs.h. */
80923 #include <math.h>
80925 main ()
80927 _sincosl(0, 0, 0);
80929 return 0;
80931 _ACEOF
80932 rm -f conftest.$ac_objext
80933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80934 (eval $ac_compile) 2>conftest.er1
80935 ac_status=$?
80936 grep -v '^ *+' conftest.er1 >conftest.err
80937 rm -f conftest.er1
80938 cat conftest.err >&5
80939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80940 (exit $ac_status); } &&
80941 { ac_try='test -z "$ac_cxx_werror_flag"
80942 || test ! -s conftest.err'
80943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80944 (eval $ac_try) 2>&5
80945 ac_status=$?
80946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80947 (exit $ac_status); }; } &&
80948 { ac_try='test -s conftest.$ac_objext'
80949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80950 (eval $ac_try) 2>&5
80951 ac_status=$?
80952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80953 (exit $ac_status); }; }; then
80954 glibcxx_cv_func__sincosl_use=yes
80955 else
80956 echo "$as_me: failed program was:" >&5
80957 sed 's/^/| /' conftest.$ac_ext >&5
80959 glibcxx_cv_func__sincosl_use=no
80961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80962 ac_ext=c
80963 ac_cpp='$CPP $CPPFLAGS'
80964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80972 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
80973 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
80975 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
80977 for ac_func in _sincosl
80979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80980 echo "$as_me:$LINENO: checking for $ac_func" >&5
80981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80982 if eval "test \"\${$as_ac_var+set}\" = set"; then
80983 echo $ECHO_N "(cached) $ECHO_C" >&6
80984 else
80985 if test x$gcc_no_link = xyes; then
80986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80988 { (exit 1); exit 1; }; }
80990 cat >conftest.$ac_ext <<_ACEOF
80991 /* confdefs.h. */
80992 _ACEOF
80993 cat confdefs.h >>conftest.$ac_ext
80994 cat >>conftest.$ac_ext <<_ACEOF
80995 /* end confdefs.h. */
80996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80998 #define $ac_func innocuous_$ac_func
81000 /* System header to define __stub macros and hopefully few prototypes,
81001 which can conflict with char $ac_func (); below.
81002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81003 <limits.h> exists even on freestanding compilers. */
81005 #ifdef __STDC__
81006 # include <limits.h>
81007 #else
81008 # include <assert.h>
81009 #endif
81011 #undef $ac_func
81013 /* Override any gcc2 internal prototype to avoid an error. */
81014 #ifdef __cplusplus
81015 extern "C"
81017 #endif
81018 /* We use char because int might match the return type of a gcc2
81019 builtin and then its argument prototype would still apply. */
81020 char $ac_func ();
81021 /* The GNU C library defines this for functions which it implements
81022 to always fail with ENOSYS. Some functions are actually named
81023 something starting with __ and the normal name is an alias. */
81024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81025 choke me
81026 #else
81027 char (*f) () = $ac_func;
81028 #endif
81029 #ifdef __cplusplus
81031 #endif
81034 main ()
81036 return f != $ac_func;
81038 return 0;
81040 _ACEOF
81041 rm -f conftest.$ac_objext conftest$ac_exeext
81042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81043 (eval $ac_link) 2>conftest.er1
81044 ac_status=$?
81045 grep -v '^ *+' conftest.er1 >conftest.err
81046 rm -f conftest.er1
81047 cat conftest.err >&5
81048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81049 (exit $ac_status); } &&
81050 { ac_try='test -z "$ac_c_werror_flag"
81051 || test ! -s conftest.err'
81052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81053 (eval $ac_try) 2>&5
81054 ac_status=$?
81055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81056 (exit $ac_status); }; } &&
81057 { ac_try='test -s conftest$ac_exeext'
81058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81059 (eval $ac_try) 2>&5
81060 ac_status=$?
81061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81062 (exit $ac_status); }; }; then
81063 eval "$as_ac_var=yes"
81064 else
81065 echo "$as_me: failed program was:" >&5
81066 sed 's/^/| /' conftest.$ac_ext >&5
81068 eval "$as_ac_var=no"
81070 rm -f conftest.err conftest.$ac_objext \
81071 conftest$ac_exeext conftest.$ac_ext
81073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81075 if test `eval echo '${'$as_ac_var'}'` = yes; then
81076 cat >>confdefs.h <<_ACEOF
81077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81078 _ACEOF
81081 done
81091 echo "$as_me:$LINENO: checking for finitel declaration" >&5
81092 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
81093 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
81094 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
81095 echo $ECHO_N "(cached) $ECHO_C" >&6
81096 else
81100 ac_ext=cc
81101 ac_cpp='$CXXCPP $CPPFLAGS'
81102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81106 cat >conftest.$ac_ext <<_ACEOF
81107 /* confdefs.h. */
81108 _ACEOF
81109 cat confdefs.h >>conftest.$ac_ext
81110 cat >>conftest.$ac_ext <<_ACEOF
81111 /* end confdefs.h. */
81112 #include <math.h>
81113 #ifdef HAVE_IEEEFP_H
81114 #include <ieeefp.h>
81115 #endif
81118 main ()
81120 finitel(0);
81122 return 0;
81124 _ACEOF
81125 rm -f conftest.$ac_objext
81126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81127 (eval $ac_compile) 2>conftest.er1
81128 ac_status=$?
81129 grep -v '^ *+' conftest.er1 >conftest.err
81130 rm -f conftest.er1
81131 cat conftest.err >&5
81132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81133 (exit $ac_status); } &&
81134 { ac_try='test -z "$ac_cxx_werror_flag"
81135 || test ! -s conftest.err'
81136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81137 (eval $ac_try) 2>&5
81138 ac_status=$?
81139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81140 (exit $ac_status); }; } &&
81141 { ac_try='test -s conftest.$ac_objext'
81142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81143 (eval $ac_try) 2>&5
81144 ac_status=$?
81145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81146 (exit $ac_status); }; }; then
81147 glibcxx_cv_func_finitel_use=yes
81148 else
81149 echo "$as_me: failed program was:" >&5
81150 sed 's/^/| /' conftest.$ac_ext >&5
81152 glibcxx_cv_func_finitel_use=no
81154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81155 ac_ext=c
81156 ac_cpp='$CPP $CPPFLAGS'
81157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81165 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
81166 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
81168 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
81170 for ac_func in finitel
81172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81173 echo "$as_me:$LINENO: checking for $ac_func" >&5
81174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81175 if eval "test \"\${$as_ac_var+set}\" = set"; then
81176 echo $ECHO_N "(cached) $ECHO_C" >&6
81177 else
81178 if test x$gcc_no_link = xyes; then
81179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81181 { (exit 1); exit 1; }; }
81183 cat >conftest.$ac_ext <<_ACEOF
81184 /* confdefs.h. */
81185 _ACEOF
81186 cat confdefs.h >>conftest.$ac_ext
81187 cat >>conftest.$ac_ext <<_ACEOF
81188 /* end confdefs.h. */
81189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81191 #define $ac_func innocuous_$ac_func
81193 /* System header to define __stub macros and hopefully few prototypes,
81194 which can conflict with char $ac_func (); below.
81195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81196 <limits.h> exists even on freestanding compilers. */
81198 #ifdef __STDC__
81199 # include <limits.h>
81200 #else
81201 # include <assert.h>
81202 #endif
81204 #undef $ac_func
81206 /* Override any gcc2 internal prototype to avoid an error. */
81207 #ifdef __cplusplus
81208 extern "C"
81210 #endif
81211 /* We use char because int might match the return type of a gcc2
81212 builtin and then its argument prototype would still apply. */
81213 char $ac_func ();
81214 /* The GNU C library defines this for functions which it implements
81215 to always fail with ENOSYS. Some functions are actually named
81216 something starting with __ and the normal name is an alias. */
81217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81218 choke me
81219 #else
81220 char (*f) () = $ac_func;
81221 #endif
81222 #ifdef __cplusplus
81224 #endif
81227 main ()
81229 return f != $ac_func;
81231 return 0;
81233 _ACEOF
81234 rm -f conftest.$ac_objext conftest$ac_exeext
81235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81236 (eval $ac_link) 2>conftest.er1
81237 ac_status=$?
81238 grep -v '^ *+' conftest.er1 >conftest.err
81239 rm -f conftest.er1
81240 cat conftest.err >&5
81241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81242 (exit $ac_status); } &&
81243 { ac_try='test -z "$ac_c_werror_flag"
81244 || test ! -s conftest.err'
81245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81246 (eval $ac_try) 2>&5
81247 ac_status=$?
81248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81249 (exit $ac_status); }; } &&
81250 { ac_try='test -s conftest$ac_exeext'
81251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81252 (eval $ac_try) 2>&5
81253 ac_status=$?
81254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81255 (exit $ac_status); }; }; then
81256 eval "$as_ac_var=yes"
81257 else
81258 echo "$as_me: failed program was:" >&5
81259 sed 's/^/| /' conftest.$ac_ext >&5
81261 eval "$as_ac_var=no"
81263 rm -f conftest.err conftest.$ac_objext \
81264 conftest$ac_exeext conftest.$ac_ext
81266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81268 if test `eval echo '${'$as_ac_var'}'` = yes; then
81269 cat >>confdefs.h <<_ACEOF
81270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81271 _ACEOF
81274 done
81276 else
81278 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
81279 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
81280 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
81281 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
81282 echo $ECHO_N "(cached) $ECHO_C" >&6
81283 else
81287 ac_ext=cc
81288 ac_cpp='$CXXCPP $CPPFLAGS'
81289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81293 cat >conftest.$ac_ext <<_ACEOF
81294 /* confdefs.h. */
81295 _ACEOF
81296 cat confdefs.h >>conftest.$ac_ext
81297 cat >>conftest.$ac_ext <<_ACEOF
81298 /* end confdefs.h. */
81299 #include <math.h>
81300 #ifdef HAVE_IEEEFP_H
81301 #include <ieeefp.h>
81302 #endif
81305 main ()
81307 _finitel(0);
81309 return 0;
81311 _ACEOF
81312 rm -f conftest.$ac_objext
81313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81314 (eval $ac_compile) 2>conftest.er1
81315 ac_status=$?
81316 grep -v '^ *+' conftest.er1 >conftest.err
81317 rm -f conftest.er1
81318 cat conftest.err >&5
81319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81320 (exit $ac_status); } &&
81321 { ac_try='test -z "$ac_cxx_werror_flag"
81322 || test ! -s conftest.err'
81323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81324 (eval $ac_try) 2>&5
81325 ac_status=$?
81326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81327 (exit $ac_status); }; } &&
81328 { ac_try='test -s conftest.$ac_objext'
81329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81330 (eval $ac_try) 2>&5
81331 ac_status=$?
81332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81333 (exit $ac_status); }; }; then
81334 glibcxx_cv_func__finitel_use=yes
81335 else
81336 echo "$as_me: failed program was:" >&5
81337 sed 's/^/| /' conftest.$ac_ext >&5
81339 glibcxx_cv_func__finitel_use=no
81341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81342 ac_ext=c
81343 ac_cpp='$CPP $CPPFLAGS'
81344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81352 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
81353 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
81355 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
81357 for ac_func in _finitel
81359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81360 echo "$as_me:$LINENO: checking for $ac_func" >&5
81361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81362 if eval "test \"\${$as_ac_var+set}\" = set"; then
81363 echo $ECHO_N "(cached) $ECHO_C" >&6
81364 else
81365 if test x$gcc_no_link = xyes; then
81366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81368 { (exit 1); exit 1; }; }
81370 cat >conftest.$ac_ext <<_ACEOF
81371 /* confdefs.h. */
81372 _ACEOF
81373 cat confdefs.h >>conftest.$ac_ext
81374 cat >>conftest.$ac_ext <<_ACEOF
81375 /* end confdefs.h. */
81376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81378 #define $ac_func innocuous_$ac_func
81380 /* System header to define __stub macros and hopefully few prototypes,
81381 which can conflict with char $ac_func (); below.
81382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81383 <limits.h> exists even on freestanding compilers. */
81385 #ifdef __STDC__
81386 # include <limits.h>
81387 #else
81388 # include <assert.h>
81389 #endif
81391 #undef $ac_func
81393 /* Override any gcc2 internal prototype to avoid an error. */
81394 #ifdef __cplusplus
81395 extern "C"
81397 #endif
81398 /* We use char because int might match the return type of a gcc2
81399 builtin and then its argument prototype would still apply. */
81400 char $ac_func ();
81401 /* The GNU C library defines this for functions which it implements
81402 to always fail with ENOSYS. Some functions are actually named
81403 something starting with __ and the normal name is an alias. */
81404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81405 choke me
81406 #else
81407 char (*f) () = $ac_func;
81408 #endif
81409 #ifdef __cplusplus
81411 #endif
81414 main ()
81416 return f != $ac_func;
81418 return 0;
81420 _ACEOF
81421 rm -f conftest.$ac_objext conftest$ac_exeext
81422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81423 (eval $ac_link) 2>conftest.er1
81424 ac_status=$?
81425 grep -v '^ *+' conftest.er1 >conftest.err
81426 rm -f conftest.er1
81427 cat conftest.err >&5
81428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81429 (exit $ac_status); } &&
81430 { ac_try='test -z "$ac_c_werror_flag"
81431 || test ! -s conftest.err'
81432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81433 (eval $ac_try) 2>&5
81434 ac_status=$?
81435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81436 (exit $ac_status); }; } &&
81437 { ac_try='test -s conftest$ac_exeext'
81438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81439 (eval $ac_try) 2>&5
81440 ac_status=$?
81441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81442 (exit $ac_status); }; }; then
81443 eval "$as_ac_var=yes"
81444 else
81445 echo "$as_me: failed program was:" >&5
81446 sed 's/^/| /' conftest.$ac_ext >&5
81448 eval "$as_ac_var=no"
81450 rm -f conftest.err conftest.$ac_objext \
81451 conftest$ac_exeext conftest.$ac_ext
81453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81455 if test `eval echo '${'$as_ac_var'}'` = yes; then
81456 cat >>confdefs.h <<_ACEOF
81457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81458 _ACEOF
81461 done
81470 LIBS="$ac_save_LIBS"
81471 CXXFLAGS="$ac_save_CXXFLAGS"
81475 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
81476 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
81477 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
81478 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
81479 echo $ECHO_N "(cached) $ECHO_C" >&6
81480 else
81484 ac_ext=cc
81485 ac_cpp='$CXXCPP $CPPFLAGS'
81486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81490 cat >conftest.$ac_ext <<_ACEOF
81491 /* confdefs.h. */
81492 _ACEOF
81493 cat confdefs.h >>conftest.$ac_ext
81494 cat >>conftest.$ac_ext <<_ACEOF
81495 /* end confdefs.h. */
81496 #include <math.h>
81498 main ()
81500 __builtin_abs(0);
81502 return 0;
81504 _ACEOF
81505 rm -f conftest.$ac_objext
81506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81507 (eval $ac_compile) 2>conftest.er1
81508 ac_status=$?
81509 grep -v '^ *+' conftest.er1 >conftest.err
81510 rm -f conftest.er1
81511 cat conftest.err >&5
81512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81513 (exit $ac_status); } &&
81514 { ac_try='test -z "$ac_cxx_werror_flag"
81515 || test ! -s conftest.err'
81516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81517 (eval $ac_try) 2>&5
81518 ac_status=$?
81519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81520 (exit $ac_status); }; } &&
81521 { ac_try='test -s conftest.$ac_objext'
81522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81523 (eval $ac_try) 2>&5
81524 ac_status=$?
81525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81526 (exit $ac_status); }; }; then
81527 glibcxx_cv_func___builtin_abs_use=yes
81528 else
81529 echo "$as_me: failed program was:" >&5
81530 sed 's/^/| /' conftest.$ac_ext >&5
81532 glibcxx_cv_func___builtin_abs_use=no
81534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81535 ac_ext=c
81536 ac_cpp='$CPP $CPPFLAGS'
81537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81545 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
81546 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
81547 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
81548 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
81549 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
81550 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
81551 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
81552 echo $ECHO_N "(cached) $ECHO_C" >&6
81553 else
81555 if test x$gcc_no_link = xyes; then
81556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81558 { (exit 1); exit 1; }; }
81560 cat >conftest.$ac_ext <<_ACEOF
81561 /* confdefs.h. */
81562 _ACEOF
81563 cat confdefs.h >>conftest.$ac_ext
81564 cat >>conftest.$ac_ext <<_ACEOF
81565 /* end confdefs.h. */
81566 #include <math.h>
81568 main ()
81570 __builtin_abs(0);
81572 return 0;
81574 _ACEOF
81575 rm -f conftest.$ac_objext conftest$ac_exeext
81576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81577 (eval $ac_link) 2>conftest.er1
81578 ac_status=$?
81579 grep -v '^ *+' conftest.er1 >conftest.err
81580 rm -f conftest.er1
81581 cat conftest.err >&5
81582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81583 (exit $ac_status); } &&
81584 { ac_try='test -z "$ac_c_werror_flag"
81585 || test ! -s conftest.err'
81586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81587 (eval $ac_try) 2>&5
81588 ac_status=$?
81589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81590 (exit $ac_status); }; } &&
81591 { ac_try='test -s conftest$ac_exeext'
81592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81593 (eval $ac_try) 2>&5
81594 ac_status=$?
81595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81596 (exit $ac_status); }; }; then
81597 glibcxx_cv_func___builtin_abs_link=yes
81598 else
81599 echo "$as_me: failed program was:" >&5
81600 sed 's/^/| /' conftest.$ac_ext >&5
81602 glibcxx_cv_func___builtin_abs_link=no
81604 rm -f conftest.err conftest.$ac_objext \
81605 conftest$ac_exeext conftest.$ac_ext
81610 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
81611 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
81613 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
81615 cat >>confdefs.h <<\_ACEOF
81616 #define HAVE___BUILTIN_ABS 1
81617 _ACEOF
81624 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
81625 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
81626 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
81627 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
81628 echo $ECHO_N "(cached) $ECHO_C" >&6
81629 else
81633 ac_ext=cc
81634 ac_cpp='$CXXCPP $CPPFLAGS'
81635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81639 cat >conftest.$ac_ext <<_ACEOF
81640 /* confdefs.h. */
81641 _ACEOF
81642 cat confdefs.h >>conftest.$ac_ext
81643 cat >>conftest.$ac_ext <<_ACEOF
81644 /* end confdefs.h. */
81645 #include <math.h>
81647 main ()
81649 __builtin_fabsf(0);
81651 return 0;
81653 _ACEOF
81654 rm -f conftest.$ac_objext
81655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81656 (eval $ac_compile) 2>conftest.er1
81657 ac_status=$?
81658 grep -v '^ *+' conftest.er1 >conftest.err
81659 rm -f conftest.er1
81660 cat conftest.err >&5
81661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81662 (exit $ac_status); } &&
81663 { ac_try='test -z "$ac_cxx_werror_flag"
81664 || test ! -s conftest.err'
81665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81666 (eval $ac_try) 2>&5
81667 ac_status=$?
81668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81669 (exit $ac_status); }; } &&
81670 { ac_try='test -s conftest.$ac_objext'
81671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81672 (eval $ac_try) 2>&5
81673 ac_status=$?
81674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81675 (exit $ac_status); }; }; then
81676 glibcxx_cv_func___builtin_fabsf_use=yes
81677 else
81678 echo "$as_me: failed program was:" >&5
81679 sed 's/^/| /' conftest.$ac_ext >&5
81681 glibcxx_cv_func___builtin_fabsf_use=no
81683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81684 ac_ext=c
81685 ac_cpp='$CPP $CPPFLAGS'
81686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81694 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
81695 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
81696 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
81697 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
81698 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
81699 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
81700 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
81701 echo $ECHO_N "(cached) $ECHO_C" >&6
81702 else
81704 if test x$gcc_no_link = xyes; then
81705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81707 { (exit 1); exit 1; }; }
81709 cat >conftest.$ac_ext <<_ACEOF
81710 /* confdefs.h. */
81711 _ACEOF
81712 cat confdefs.h >>conftest.$ac_ext
81713 cat >>conftest.$ac_ext <<_ACEOF
81714 /* end confdefs.h. */
81715 #include <math.h>
81717 main ()
81719 __builtin_fabsf(0);
81721 return 0;
81723 _ACEOF
81724 rm -f conftest.$ac_objext conftest$ac_exeext
81725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81726 (eval $ac_link) 2>conftest.er1
81727 ac_status=$?
81728 grep -v '^ *+' conftest.er1 >conftest.err
81729 rm -f conftest.er1
81730 cat conftest.err >&5
81731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81732 (exit $ac_status); } &&
81733 { ac_try='test -z "$ac_c_werror_flag"
81734 || test ! -s conftest.err'
81735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81736 (eval $ac_try) 2>&5
81737 ac_status=$?
81738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81739 (exit $ac_status); }; } &&
81740 { ac_try='test -s conftest$ac_exeext'
81741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81742 (eval $ac_try) 2>&5
81743 ac_status=$?
81744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81745 (exit $ac_status); }; }; then
81746 glibcxx_cv_func___builtin_fabsf_link=yes
81747 else
81748 echo "$as_me: failed program was:" >&5
81749 sed 's/^/| /' conftest.$ac_ext >&5
81751 glibcxx_cv_func___builtin_fabsf_link=no
81753 rm -f conftest.err conftest.$ac_objext \
81754 conftest$ac_exeext conftest.$ac_ext
81759 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
81760 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
81762 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
81764 cat >>confdefs.h <<\_ACEOF
81765 #define HAVE___BUILTIN_FABSF 1
81766 _ACEOF
81773 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
81774 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
81775 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
81776 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
81777 echo $ECHO_N "(cached) $ECHO_C" >&6
81778 else
81782 ac_ext=cc
81783 ac_cpp='$CXXCPP $CPPFLAGS'
81784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81788 cat >conftest.$ac_ext <<_ACEOF
81789 /* confdefs.h. */
81790 _ACEOF
81791 cat confdefs.h >>conftest.$ac_ext
81792 cat >>conftest.$ac_ext <<_ACEOF
81793 /* end confdefs.h. */
81794 #include <math.h>
81796 main ()
81798 __builtin_fabs(0);
81800 return 0;
81802 _ACEOF
81803 rm -f conftest.$ac_objext
81804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81805 (eval $ac_compile) 2>conftest.er1
81806 ac_status=$?
81807 grep -v '^ *+' conftest.er1 >conftest.err
81808 rm -f conftest.er1
81809 cat conftest.err >&5
81810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81811 (exit $ac_status); } &&
81812 { ac_try='test -z "$ac_cxx_werror_flag"
81813 || test ! -s conftest.err'
81814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81815 (eval $ac_try) 2>&5
81816 ac_status=$?
81817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81818 (exit $ac_status); }; } &&
81819 { ac_try='test -s conftest.$ac_objext'
81820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81821 (eval $ac_try) 2>&5
81822 ac_status=$?
81823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81824 (exit $ac_status); }; }; then
81825 glibcxx_cv_func___builtin_fabs_use=yes
81826 else
81827 echo "$as_me: failed program was:" >&5
81828 sed 's/^/| /' conftest.$ac_ext >&5
81830 glibcxx_cv_func___builtin_fabs_use=no
81832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81833 ac_ext=c
81834 ac_cpp='$CPP $CPPFLAGS'
81835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81843 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
81844 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
81845 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
81846 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
81847 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
81848 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
81849 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
81850 echo $ECHO_N "(cached) $ECHO_C" >&6
81851 else
81853 if test x$gcc_no_link = xyes; then
81854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81856 { (exit 1); exit 1; }; }
81858 cat >conftest.$ac_ext <<_ACEOF
81859 /* confdefs.h. */
81860 _ACEOF
81861 cat confdefs.h >>conftest.$ac_ext
81862 cat >>conftest.$ac_ext <<_ACEOF
81863 /* end confdefs.h. */
81864 #include <math.h>
81866 main ()
81868 __builtin_fabs(0);
81870 return 0;
81872 _ACEOF
81873 rm -f conftest.$ac_objext conftest$ac_exeext
81874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81875 (eval $ac_link) 2>conftest.er1
81876 ac_status=$?
81877 grep -v '^ *+' conftest.er1 >conftest.err
81878 rm -f conftest.er1
81879 cat conftest.err >&5
81880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81881 (exit $ac_status); } &&
81882 { ac_try='test -z "$ac_c_werror_flag"
81883 || test ! -s conftest.err'
81884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81885 (eval $ac_try) 2>&5
81886 ac_status=$?
81887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81888 (exit $ac_status); }; } &&
81889 { ac_try='test -s conftest$ac_exeext'
81890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81891 (eval $ac_try) 2>&5
81892 ac_status=$?
81893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81894 (exit $ac_status); }; }; then
81895 glibcxx_cv_func___builtin_fabs_link=yes
81896 else
81897 echo "$as_me: failed program was:" >&5
81898 sed 's/^/| /' conftest.$ac_ext >&5
81900 glibcxx_cv_func___builtin_fabs_link=no
81902 rm -f conftest.err conftest.$ac_objext \
81903 conftest$ac_exeext conftest.$ac_ext
81908 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
81909 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
81911 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
81913 cat >>confdefs.h <<\_ACEOF
81914 #define HAVE___BUILTIN_FABS 1
81915 _ACEOF
81922 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
81923 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
81924 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
81925 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
81926 echo $ECHO_N "(cached) $ECHO_C" >&6
81927 else
81931 ac_ext=cc
81932 ac_cpp='$CXXCPP $CPPFLAGS'
81933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81937 cat >conftest.$ac_ext <<_ACEOF
81938 /* confdefs.h. */
81939 _ACEOF
81940 cat confdefs.h >>conftest.$ac_ext
81941 cat >>conftest.$ac_ext <<_ACEOF
81942 /* end confdefs.h. */
81943 #include <math.h>
81945 main ()
81947 __builtin_fabsl(0);
81949 return 0;
81951 _ACEOF
81952 rm -f conftest.$ac_objext
81953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81954 (eval $ac_compile) 2>conftest.er1
81955 ac_status=$?
81956 grep -v '^ *+' conftest.er1 >conftest.err
81957 rm -f conftest.er1
81958 cat conftest.err >&5
81959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81960 (exit $ac_status); } &&
81961 { ac_try='test -z "$ac_cxx_werror_flag"
81962 || test ! -s conftest.err'
81963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81964 (eval $ac_try) 2>&5
81965 ac_status=$?
81966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81967 (exit $ac_status); }; } &&
81968 { ac_try='test -s conftest.$ac_objext'
81969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81970 (eval $ac_try) 2>&5
81971 ac_status=$?
81972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81973 (exit $ac_status); }; }; then
81974 glibcxx_cv_func___builtin_fabsl_use=yes
81975 else
81976 echo "$as_me: failed program was:" >&5
81977 sed 's/^/| /' conftest.$ac_ext >&5
81979 glibcxx_cv_func___builtin_fabsl_use=no
81981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81982 ac_ext=c
81983 ac_cpp='$CPP $CPPFLAGS'
81984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81992 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
81993 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
81994 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
81995 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
81996 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
81997 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
81998 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
81999 echo $ECHO_N "(cached) $ECHO_C" >&6
82000 else
82002 if test x$gcc_no_link = xyes; then
82003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82005 { (exit 1); exit 1; }; }
82007 cat >conftest.$ac_ext <<_ACEOF
82008 /* confdefs.h. */
82009 _ACEOF
82010 cat confdefs.h >>conftest.$ac_ext
82011 cat >>conftest.$ac_ext <<_ACEOF
82012 /* end confdefs.h. */
82013 #include <math.h>
82015 main ()
82017 __builtin_fabsl(0);
82019 return 0;
82021 _ACEOF
82022 rm -f conftest.$ac_objext conftest$ac_exeext
82023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82024 (eval $ac_link) 2>conftest.er1
82025 ac_status=$?
82026 grep -v '^ *+' conftest.er1 >conftest.err
82027 rm -f conftest.er1
82028 cat conftest.err >&5
82029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82030 (exit $ac_status); } &&
82031 { ac_try='test -z "$ac_c_werror_flag"
82032 || test ! -s conftest.err'
82033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82034 (eval $ac_try) 2>&5
82035 ac_status=$?
82036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82037 (exit $ac_status); }; } &&
82038 { ac_try='test -s conftest$ac_exeext'
82039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82040 (eval $ac_try) 2>&5
82041 ac_status=$?
82042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82043 (exit $ac_status); }; }; then
82044 glibcxx_cv_func___builtin_fabsl_link=yes
82045 else
82046 echo "$as_me: failed program was:" >&5
82047 sed 's/^/| /' conftest.$ac_ext >&5
82049 glibcxx_cv_func___builtin_fabsl_link=no
82051 rm -f conftest.err conftest.$ac_objext \
82052 conftest$ac_exeext conftest.$ac_ext
82057 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
82058 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
82060 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
82062 cat >>confdefs.h <<\_ACEOF
82063 #define HAVE___BUILTIN_FABSL 1
82064 _ACEOF
82071 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
82072 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
82073 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
82074 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
82075 echo $ECHO_N "(cached) $ECHO_C" >&6
82076 else
82080 ac_ext=cc
82081 ac_cpp='$CXXCPP $CPPFLAGS'
82082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82086 cat >conftest.$ac_ext <<_ACEOF
82087 /* confdefs.h. */
82088 _ACEOF
82089 cat confdefs.h >>conftest.$ac_ext
82090 cat >>conftest.$ac_ext <<_ACEOF
82091 /* end confdefs.h. */
82092 #include <math.h>
82094 main ()
82096 __builtin_labs(0);
82098 return 0;
82100 _ACEOF
82101 rm -f conftest.$ac_objext
82102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82103 (eval $ac_compile) 2>conftest.er1
82104 ac_status=$?
82105 grep -v '^ *+' conftest.er1 >conftest.err
82106 rm -f conftest.er1
82107 cat conftest.err >&5
82108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82109 (exit $ac_status); } &&
82110 { ac_try='test -z "$ac_cxx_werror_flag"
82111 || test ! -s conftest.err'
82112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82113 (eval $ac_try) 2>&5
82114 ac_status=$?
82115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82116 (exit $ac_status); }; } &&
82117 { ac_try='test -s conftest.$ac_objext'
82118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82119 (eval $ac_try) 2>&5
82120 ac_status=$?
82121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82122 (exit $ac_status); }; }; then
82123 glibcxx_cv_func___builtin_labs_use=yes
82124 else
82125 echo "$as_me: failed program was:" >&5
82126 sed 's/^/| /' conftest.$ac_ext >&5
82128 glibcxx_cv_func___builtin_labs_use=no
82130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82131 ac_ext=c
82132 ac_cpp='$CPP $CPPFLAGS'
82133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82141 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
82142 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
82143 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
82144 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
82145 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
82146 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
82147 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
82148 echo $ECHO_N "(cached) $ECHO_C" >&6
82149 else
82151 if test x$gcc_no_link = xyes; then
82152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82154 { (exit 1); exit 1; }; }
82156 cat >conftest.$ac_ext <<_ACEOF
82157 /* confdefs.h. */
82158 _ACEOF
82159 cat confdefs.h >>conftest.$ac_ext
82160 cat >>conftest.$ac_ext <<_ACEOF
82161 /* end confdefs.h. */
82162 #include <math.h>
82164 main ()
82166 __builtin_labs(0);
82168 return 0;
82170 _ACEOF
82171 rm -f conftest.$ac_objext conftest$ac_exeext
82172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82173 (eval $ac_link) 2>conftest.er1
82174 ac_status=$?
82175 grep -v '^ *+' conftest.er1 >conftest.err
82176 rm -f conftest.er1
82177 cat conftest.err >&5
82178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82179 (exit $ac_status); } &&
82180 { ac_try='test -z "$ac_c_werror_flag"
82181 || test ! -s conftest.err'
82182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82183 (eval $ac_try) 2>&5
82184 ac_status=$?
82185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82186 (exit $ac_status); }; } &&
82187 { ac_try='test -s conftest$ac_exeext'
82188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82189 (eval $ac_try) 2>&5
82190 ac_status=$?
82191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82192 (exit $ac_status); }; }; then
82193 glibcxx_cv_func___builtin_labs_link=yes
82194 else
82195 echo "$as_me: failed program was:" >&5
82196 sed 's/^/| /' conftest.$ac_ext >&5
82198 glibcxx_cv_func___builtin_labs_link=no
82200 rm -f conftest.err conftest.$ac_objext \
82201 conftest$ac_exeext conftest.$ac_ext
82206 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
82207 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
82209 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
82211 cat >>confdefs.h <<\_ACEOF
82212 #define HAVE___BUILTIN_LABS 1
82213 _ACEOF
82221 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
82222 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
82223 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
82224 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
82225 echo $ECHO_N "(cached) $ECHO_C" >&6
82226 else
82230 ac_ext=cc
82231 ac_cpp='$CXXCPP $CPPFLAGS'
82232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82236 cat >conftest.$ac_ext <<_ACEOF
82237 /* confdefs.h. */
82238 _ACEOF
82239 cat confdefs.h >>conftest.$ac_ext
82240 cat >>conftest.$ac_ext <<_ACEOF
82241 /* end confdefs.h. */
82242 #include <math.h>
82244 main ()
82246 __builtin_sqrtf(0);
82248 return 0;
82250 _ACEOF
82251 rm -f conftest.$ac_objext
82252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82253 (eval $ac_compile) 2>conftest.er1
82254 ac_status=$?
82255 grep -v '^ *+' conftest.er1 >conftest.err
82256 rm -f conftest.er1
82257 cat conftest.err >&5
82258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82259 (exit $ac_status); } &&
82260 { ac_try='test -z "$ac_cxx_werror_flag"
82261 || test ! -s conftest.err'
82262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82263 (eval $ac_try) 2>&5
82264 ac_status=$?
82265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82266 (exit $ac_status); }; } &&
82267 { ac_try='test -s conftest.$ac_objext'
82268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82269 (eval $ac_try) 2>&5
82270 ac_status=$?
82271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82272 (exit $ac_status); }; }; then
82273 glibcxx_cv_func___builtin_sqrtf_use=yes
82274 else
82275 echo "$as_me: failed program was:" >&5
82276 sed 's/^/| /' conftest.$ac_ext >&5
82278 glibcxx_cv_func___builtin_sqrtf_use=no
82280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82281 ac_ext=c
82282 ac_cpp='$CPP $CPPFLAGS'
82283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82291 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
82292 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
82293 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
82294 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
82295 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
82296 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
82297 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
82298 echo $ECHO_N "(cached) $ECHO_C" >&6
82299 else
82301 if test x$gcc_no_link = xyes; then
82302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82304 { (exit 1); exit 1; }; }
82306 cat >conftest.$ac_ext <<_ACEOF
82307 /* confdefs.h. */
82308 _ACEOF
82309 cat confdefs.h >>conftest.$ac_ext
82310 cat >>conftest.$ac_ext <<_ACEOF
82311 /* end confdefs.h. */
82312 #include <math.h>
82314 main ()
82316 __builtin_sqrtf(0);
82318 return 0;
82320 _ACEOF
82321 rm -f conftest.$ac_objext conftest$ac_exeext
82322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82323 (eval $ac_link) 2>conftest.er1
82324 ac_status=$?
82325 grep -v '^ *+' conftest.er1 >conftest.err
82326 rm -f conftest.er1
82327 cat conftest.err >&5
82328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82329 (exit $ac_status); } &&
82330 { ac_try='test -z "$ac_c_werror_flag"
82331 || test ! -s conftest.err'
82332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82333 (eval $ac_try) 2>&5
82334 ac_status=$?
82335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82336 (exit $ac_status); }; } &&
82337 { ac_try='test -s conftest$ac_exeext'
82338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82339 (eval $ac_try) 2>&5
82340 ac_status=$?
82341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82342 (exit $ac_status); }; }; then
82343 glibcxx_cv_func___builtin_sqrtf_link=yes
82344 else
82345 echo "$as_me: failed program was:" >&5
82346 sed 's/^/| /' conftest.$ac_ext >&5
82348 glibcxx_cv_func___builtin_sqrtf_link=no
82350 rm -f conftest.err conftest.$ac_objext \
82351 conftest$ac_exeext conftest.$ac_ext
82356 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
82357 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
82359 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
82361 cat >>confdefs.h <<\_ACEOF
82362 #define HAVE___BUILTIN_SQRTF 1
82363 _ACEOF
82370 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
82371 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
82372 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
82373 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
82374 echo $ECHO_N "(cached) $ECHO_C" >&6
82375 else
82379 ac_ext=cc
82380 ac_cpp='$CXXCPP $CPPFLAGS'
82381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82385 cat >conftest.$ac_ext <<_ACEOF
82386 /* confdefs.h. */
82387 _ACEOF
82388 cat confdefs.h >>conftest.$ac_ext
82389 cat >>conftest.$ac_ext <<_ACEOF
82390 /* end confdefs.h. */
82391 #include <math.h>
82393 main ()
82395 __builtin_sqrt(0);
82397 return 0;
82399 _ACEOF
82400 rm -f conftest.$ac_objext
82401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82402 (eval $ac_compile) 2>conftest.er1
82403 ac_status=$?
82404 grep -v '^ *+' conftest.er1 >conftest.err
82405 rm -f conftest.er1
82406 cat conftest.err >&5
82407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82408 (exit $ac_status); } &&
82409 { ac_try='test -z "$ac_cxx_werror_flag"
82410 || test ! -s conftest.err'
82411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82412 (eval $ac_try) 2>&5
82413 ac_status=$?
82414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82415 (exit $ac_status); }; } &&
82416 { ac_try='test -s conftest.$ac_objext'
82417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82418 (eval $ac_try) 2>&5
82419 ac_status=$?
82420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82421 (exit $ac_status); }; }; then
82422 glibcxx_cv_func___builtin_sqrt_use=yes
82423 else
82424 echo "$as_me: failed program was:" >&5
82425 sed 's/^/| /' conftest.$ac_ext >&5
82427 glibcxx_cv_func___builtin_sqrt_use=no
82429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82430 ac_ext=c
82431 ac_cpp='$CPP $CPPFLAGS'
82432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82440 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
82441 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
82442 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
82443 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
82444 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
82445 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
82446 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
82447 echo $ECHO_N "(cached) $ECHO_C" >&6
82448 else
82450 if test x$gcc_no_link = xyes; then
82451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82453 { (exit 1); exit 1; }; }
82455 cat >conftest.$ac_ext <<_ACEOF
82456 /* confdefs.h. */
82457 _ACEOF
82458 cat confdefs.h >>conftest.$ac_ext
82459 cat >>conftest.$ac_ext <<_ACEOF
82460 /* end confdefs.h. */
82461 #include <math.h>
82463 main ()
82465 __builtin_sqrt(0);
82467 return 0;
82469 _ACEOF
82470 rm -f conftest.$ac_objext conftest$ac_exeext
82471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82472 (eval $ac_link) 2>conftest.er1
82473 ac_status=$?
82474 grep -v '^ *+' conftest.er1 >conftest.err
82475 rm -f conftest.er1
82476 cat conftest.err >&5
82477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82478 (exit $ac_status); } &&
82479 { ac_try='test -z "$ac_c_werror_flag"
82480 || test ! -s conftest.err'
82481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82482 (eval $ac_try) 2>&5
82483 ac_status=$?
82484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82485 (exit $ac_status); }; } &&
82486 { ac_try='test -s conftest$ac_exeext'
82487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82488 (eval $ac_try) 2>&5
82489 ac_status=$?
82490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82491 (exit $ac_status); }; }; then
82492 glibcxx_cv_func___builtin_sqrt_link=yes
82493 else
82494 echo "$as_me: failed program was:" >&5
82495 sed 's/^/| /' conftest.$ac_ext >&5
82497 glibcxx_cv_func___builtin_sqrt_link=no
82499 rm -f conftest.err conftest.$ac_objext \
82500 conftest$ac_exeext conftest.$ac_ext
82505 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
82506 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
82508 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
82510 cat >>confdefs.h <<\_ACEOF
82511 #define HAVE___BUILTIN_SQRT 1
82512 _ACEOF
82519 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
82520 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
82521 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
82522 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
82523 echo $ECHO_N "(cached) $ECHO_C" >&6
82524 else
82528 ac_ext=cc
82529 ac_cpp='$CXXCPP $CPPFLAGS'
82530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82534 cat >conftest.$ac_ext <<_ACEOF
82535 /* confdefs.h. */
82536 _ACEOF
82537 cat confdefs.h >>conftest.$ac_ext
82538 cat >>conftest.$ac_ext <<_ACEOF
82539 /* end confdefs.h. */
82540 #include <math.h>
82542 main ()
82544 __builtin_sqrtl(0);
82546 return 0;
82548 _ACEOF
82549 rm -f conftest.$ac_objext
82550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82551 (eval $ac_compile) 2>conftest.er1
82552 ac_status=$?
82553 grep -v '^ *+' conftest.er1 >conftest.err
82554 rm -f conftest.er1
82555 cat conftest.err >&5
82556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82557 (exit $ac_status); } &&
82558 { ac_try='test -z "$ac_cxx_werror_flag"
82559 || test ! -s conftest.err'
82560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82561 (eval $ac_try) 2>&5
82562 ac_status=$?
82563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82564 (exit $ac_status); }; } &&
82565 { ac_try='test -s conftest.$ac_objext'
82566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82567 (eval $ac_try) 2>&5
82568 ac_status=$?
82569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82570 (exit $ac_status); }; }; then
82571 glibcxx_cv_func___builtin_sqrtl_use=yes
82572 else
82573 echo "$as_me: failed program was:" >&5
82574 sed 's/^/| /' conftest.$ac_ext >&5
82576 glibcxx_cv_func___builtin_sqrtl_use=no
82578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82579 ac_ext=c
82580 ac_cpp='$CPP $CPPFLAGS'
82581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82589 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
82590 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
82591 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
82592 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
82593 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
82594 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
82595 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
82596 echo $ECHO_N "(cached) $ECHO_C" >&6
82597 else
82599 if test x$gcc_no_link = xyes; then
82600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82602 { (exit 1); exit 1; }; }
82604 cat >conftest.$ac_ext <<_ACEOF
82605 /* confdefs.h. */
82606 _ACEOF
82607 cat confdefs.h >>conftest.$ac_ext
82608 cat >>conftest.$ac_ext <<_ACEOF
82609 /* end confdefs.h. */
82610 #include <math.h>
82612 main ()
82614 __builtin_sqrtl(0);
82616 return 0;
82618 _ACEOF
82619 rm -f conftest.$ac_objext conftest$ac_exeext
82620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82621 (eval $ac_link) 2>conftest.er1
82622 ac_status=$?
82623 grep -v '^ *+' conftest.er1 >conftest.err
82624 rm -f conftest.er1
82625 cat conftest.err >&5
82626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82627 (exit $ac_status); } &&
82628 { ac_try='test -z "$ac_c_werror_flag"
82629 || test ! -s conftest.err'
82630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82631 (eval $ac_try) 2>&5
82632 ac_status=$?
82633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82634 (exit $ac_status); }; } &&
82635 { ac_try='test -s conftest$ac_exeext'
82636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82637 (eval $ac_try) 2>&5
82638 ac_status=$?
82639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82640 (exit $ac_status); }; }; then
82641 glibcxx_cv_func___builtin_sqrtl_link=yes
82642 else
82643 echo "$as_me: failed program was:" >&5
82644 sed 's/^/| /' conftest.$ac_ext >&5
82646 glibcxx_cv_func___builtin_sqrtl_link=no
82648 rm -f conftest.err conftest.$ac_objext \
82649 conftest$ac_exeext conftest.$ac_ext
82654 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
82655 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
82657 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
82659 cat >>confdefs.h <<\_ACEOF
82660 #define HAVE___BUILTIN_SQRTL 1
82661 _ACEOF
82669 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
82670 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
82671 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
82672 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
82673 echo $ECHO_N "(cached) $ECHO_C" >&6
82674 else
82678 ac_ext=cc
82679 ac_cpp='$CXXCPP $CPPFLAGS'
82680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82684 cat >conftest.$ac_ext <<_ACEOF
82685 /* confdefs.h. */
82686 _ACEOF
82687 cat confdefs.h >>conftest.$ac_ext
82688 cat >>conftest.$ac_ext <<_ACEOF
82689 /* end confdefs.h. */
82690 #include <math.h>
82692 main ()
82694 __builtin_sinf(0);
82696 return 0;
82698 _ACEOF
82699 rm -f conftest.$ac_objext
82700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82701 (eval $ac_compile) 2>conftest.er1
82702 ac_status=$?
82703 grep -v '^ *+' conftest.er1 >conftest.err
82704 rm -f conftest.er1
82705 cat conftest.err >&5
82706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82707 (exit $ac_status); } &&
82708 { ac_try='test -z "$ac_cxx_werror_flag"
82709 || test ! -s conftest.err'
82710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82711 (eval $ac_try) 2>&5
82712 ac_status=$?
82713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82714 (exit $ac_status); }; } &&
82715 { ac_try='test -s conftest.$ac_objext'
82716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82717 (eval $ac_try) 2>&5
82718 ac_status=$?
82719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82720 (exit $ac_status); }; }; then
82721 glibcxx_cv_func___builtin_sinf_use=yes
82722 else
82723 echo "$as_me: failed program was:" >&5
82724 sed 's/^/| /' conftest.$ac_ext >&5
82726 glibcxx_cv_func___builtin_sinf_use=no
82728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82729 ac_ext=c
82730 ac_cpp='$CPP $CPPFLAGS'
82731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82739 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
82740 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
82741 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
82742 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
82743 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
82744 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
82745 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
82746 echo $ECHO_N "(cached) $ECHO_C" >&6
82747 else
82749 if test x$gcc_no_link = xyes; then
82750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82752 { (exit 1); exit 1; }; }
82754 cat >conftest.$ac_ext <<_ACEOF
82755 /* confdefs.h. */
82756 _ACEOF
82757 cat confdefs.h >>conftest.$ac_ext
82758 cat >>conftest.$ac_ext <<_ACEOF
82759 /* end confdefs.h. */
82760 #include <math.h>
82762 main ()
82764 __builtin_sinf(0);
82766 return 0;
82768 _ACEOF
82769 rm -f conftest.$ac_objext conftest$ac_exeext
82770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82771 (eval $ac_link) 2>conftest.er1
82772 ac_status=$?
82773 grep -v '^ *+' conftest.er1 >conftest.err
82774 rm -f conftest.er1
82775 cat conftest.err >&5
82776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82777 (exit $ac_status); } &&
82778 { ac_try='test -z "$ac_c_werror_flag"
82779 || test ! -s conftest.err'
82780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82781 (eval $ac_try) 2>&5
82782 ac_status=$?
82783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82784 (exit $ac_status); }; } &&
82785 { ac_try='test -s conftest$ac_exeext'
82786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82787 (eval $ac_try) 2>&5
82788 ac_status=$?
82789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82790 (exit $ac_status); }; }; then
82791 glibcxx_cv_func___builtin_sinf_link=yes
82792 else
82793 echo "$as_me: failed program was:" >&5
82794 sed 's/^/| /' conftest.$ac_ext >&5
82796 glibcxx_cv_func___builtin_sinf_link=no
82798 rm -f conftest.err conftest.$ac_objext \
82799 conftest$ac_exeext conftest.$ac_ext
82804 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
82805 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
82807 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
82809 cat >>confdefs.h <<\_ACEOF
82810 #define HAVE___BUILTIN_SINF 1
82811 _ACEOF
82818 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
82819 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
82820 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
82821 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
82822 echo $ECHO_N "(cached) $ECHO_C" >&6
82823 else
82827 ac_ext=cc
82828 ac_cpp='$CXXCPP $CPPFLAGS'
82829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82833 cat >conftest.$ac_ext <<_ACEOF
82834 /* confdefs.h. */
82835 _ACEOF
82836 cat confdefs.h >>conftest.$ac_ext
82837 cat >>conftest.$ac_ext <<_ACEOF
82838 /* end confdefs.h. */
82839 #include <math.h>
82841 main ()
82843 __builtin_sin(0);
82845 return 0;
82847 _ACEOF
82848 rm -f conftest.$ac_objext
82849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82850 (eval $ac_compile) 2>conftest.er1
82851 ac_status=$?
82852 grep -v '^ *+' conftest.er1 >conftest.err
82853 rm -f conftest.er1
82854 cat conftest.err >&5
82855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82856 (exit $ac_status); } &&
82857 { ac_try='test -z "$ac_cxx_werror_flag"
82858 || test ! -s conftest.err'
82859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82860 (eval $ac_try) 2>&5
82861 ac_status=$?
82862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82863 (exit $ac_status); }; } &&
82864 { ac_try='test -s conftest.$ac_objext'
82865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82866 (eval $ac_try) 2>&5
82867 ac_status=$?
82868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82869 (exit $ac_status); }; }; then
82870 glibcxx_cv_func___builtin_sin_use=yes
82871 else
82872 echo "$as_me: failed program was:" >&5
82873 sed 's/^/| /' conftest.$ac_ext >&5
82875 glibcxx_cv_func___builtin_sin_use=no
82877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82878 ac_ext=c
82879 ac_cpp='$CPP $CPPFLAGS'
82880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82888 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
82889 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
82890 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
82891 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
82892 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
82893 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
82894 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
82895 echo $ECHO_N "(cached) $ECHO_C" >&6
82896 else
82898 if test x$gcc_no_link = xyes; then
82899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82901 { (exit 1); exit 1; }; }
82903 cat >conftest.$ac_ext <<_ACEOF
82904 /* confdefs.h. */
82905 _ACEOF
82906 cat confdefs.h >>conftest.$ac_ext
82907 cat >>conftest.$ac_ext <<_ACEOF
82908 /* end confdefs.h. */
82909 #include <math.h>
82911 main ()
82913 __builtin_sin(0);
82915 return 0;
82917 _ACEOF
82918 rm -f conftest.$ac_objext conftest$ac_exeext
82919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82920 (eval $ac_link) 2>conftest.er1
82921 ac_status=$?
82922 grep -v '^ *+' conftest.er1 >conftest.err
82923 rm -f conftest.er1
82924 cat conftest.err >&5
82925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82926 (exit $ac_status); } &&
82927 { ac_try='test -z "$ac_c_werror_flag"
82928 || test ! -s conftest.err'
82929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82930 (eval $ac_try) 2>&5
82931 ac_status=$?
82932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82933 (exit $ac_status); }; } &&
82934 { ac_try='test -s conftest$ac_exeext'
82935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82936 (eval $ac_try) 2>&5
82937 ac_status=$?
82938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82939 (exit $ac_status); }; }; then
82940 glibcxx_cv_func___builtin_sin_link=yes
82941 else
82942 echo "$as_me: failed program was:" >&5
82943 sed 's/^/| /' conftest.$ac_ext >&5
82945 glibcxx_cv_func___builtin_sin_link=no
82947 rm -f conftest.err conftest.$ac_objext \
82948 conftest$ac_exeext conftest.$ac_ext
82953 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
82954 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
82956 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
82958 cat >>confdefs.h <<\_ACEOF
82959 #define HAVE___BUILTIN_SIN 1
82960 _ACEOF
82967 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
82968 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
82969 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
82970 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
82971 echo $ECHO_N "(cached) $ECHO_C" >&6
82972 else
82976 ac_ext=cc
82977 ac_cpp='$CXXCPP $CPPFLAGS'
82978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82982 cat >conftest.$ac_ext <<_ACEOF
82983 /* confdefs.h. */
82984 _ACEOF
82985 cat confdefs.h >>conftest.$ac_ext
82986 cat >>conftest.$ac_ext <<_ACEOF
82987 /* end confdefs.h. */
82988 #include <math.h>
82990 main ()
82992 __builtin_sinl(0);
82994 return 0;
82996 _ACEOF
82997 rm -f conftest.$ac_objext
82998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82999 (eval $ac_compile) 2>conftest.er1
83000 ac_status=$?
83001 grep -v '^ *+' conftest.er1 >conftest.err
83002 rm -f conftest.er1
83003 cat conftest.err >&5
83004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83005 (exit $ac_status); } &&
83006 { ac_try='test -z "$ac_cxx_werror_flag"
83007 || test ! -s conftest.err'
83008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83009 (eval $ac_try) 2>&5
83010 ac_status=$?
83011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83012 (exit $ac_status); }; } &&
83013 { ac_try='test -s conftest.$ac_objext'
83014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83015 (eval $ac_try) 2>&5
83016 ac_status=$?
83017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83018 (exit $ac_status); }; }; then
83019 glibcxx_cv_func___builtin_sinl_use=yes
83020 else
83021 echo "$as_me: failed program was:" >&5
83022 sed 's/^/| /' conftest.$ac_ext >&5
83024 glibcxx_cv_func___builtin_sinl_use=no
83026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83027 ac_ext=c
83028 ac_cpp='$CPP $CPPFLAGS'
83029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83037 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
83038 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
83039 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
83040 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
83041 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
83042 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
83043 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
83044 echo $ECHO_N "(cached) $ECHO_C" >&6
83045 else
83047 if test x$gcc_no_link = xyes; then
83048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83050 { (exit 1); exit 1; }; }
83052 cat >conftest.$ac_ext <<_ACEOF
83053 /* confdefs.h. */
83054 _ACEOF
83055 cat confdefs.h >>conftest.$ac_ext
83056 cat >>conftest.$ac_ext <<_ACEOF
83057 /* end confdefs.h. */
83058 #include <math.h>
83060 main ()
83062 __builtin_sinl(0);
83064 return 0;
83066 _ACEOF
83067 rm -f conftest.$ac_objext conftest$ac_exeext
83068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83069 (eval $ac_link) 2>conftest.er1
83070 ac_status=$?
83071 grep -v '^ *+' conftest.er1 >conftest.err
83072 rm -f conftest.er1
83073 cat conftest.err >&5
83074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83075 (exit $ac_status); } &&
83076 { ac_try='test -z "$ac_c_werror_flag"
83077 || test ! -s conftest.err'
83078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83079 (eval $ac_try) 2>&5
83080 ac_status=$?
83081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83082 (exit $ac_status); }; } &&
83083 { ac_try='test -s conftest$ac_exeext'
83084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83085 (eval $ac_try) 2>&5
83086 ac_status=$?
83087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83088 (exit $ac_status); }; }; then
83089 glibcxx_cv_func___builtin_sinl_link=yes
83090 else
83091 echo "$as_me: failed program was:" >&5
83092 sed 's/^/| /' conftest.$ac_ext >&5
83094 glibcxx_cv_func___builtin_sinl_link=no
83096 rm -f conftest.err conftest.$ac_objext \
83097 conftest$ac_exeext conftest.$ac_ext
83102 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
83103 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
83105 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
83107 cat >>confdefs.h <<\_ACEOF
83108 #define HAVE___BUILTIN_SINL 1
83109 _ACEOF
83117 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
83118 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
83119 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
83120 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
83121 echo $ECHO_N "(cached) $ECHO_C" >&6
83122 else
83126 ac_ext=cc
83127 ac_cpp='$CXXCPP $CPPFLAGS'
83128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83132 cat >conftest.$ac_ext <<_ACEOF
83133 /* confdefs.h. */
83134 _ACEOF
83135 cat confdefs.h >>conftest.$ac_ext
83136 cat >>conftest.$ac_ext <<_ACEOF
83137 /* end confdefs.h. */
83138 #include <math.h>
83140 main ()
83142 __builtin_cosf(0);
83144 return 0;
83146 _ACEOF
83147 rm -f conftest.$ac_objext
83148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83149 (eval $ac_compile) 2>conftest.er1
83150 ac_status=$?
83151 grep -v '^ *+' conftest.er1 >conftest.err
83152 rm -f conftest.er1
83153 cat conftest.err >&5
83154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83155 (exit $ac_status); } &&
83156 { ac_try='test -z "$ac_cxx_werror_flag"
83157 || test ! -s conftest.err'
83158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83159 (eval $ac_try) 2>&5
83160 ac_status=$?
83161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83162 (exit $ac_status); }; } &&
83163 { ac_try='test -s conftest.$ac_objext'
83164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83165 (eval $ac_try) 2>&5
83166 ac_status=$?
83167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83168 (exit $ac_status); }; }; then
83169 glibcxx_cv_func___builtin_cosf_use=yes
83170 else
83171 echo "$as_me: failed program was:" >&5
83172 sed 's/^/| /' conftest.$ac_ext >&5
83174 glibcxx_cv_func___builtin_cosf_use=no
83176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83177 ac_ext=c
83178 ac_cpp='$CPP $CPPFLAGS'
83179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83187 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
83188 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
83189 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
83190 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
83191 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
83192 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
83193 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
83194 echo $ECHO_N "(cached) $ECHO_C" >&6
83195 else
83197 if test x$gcc_no_link = xyes; then
83198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83200 { (exit 1); exit 1; }; }
83202 cat >conftest.$ac_ext <<_ACEOF
83203 /* confdefs.h. */
83204 _ACEOF
83205 cat confdefs.h >>conftest.$ac_ext
83206 cat >>conftest.$ac_ext <<_ACEOF
83207 /* end confdefs.h. */
83208 #include <math.h>
83210 main ()
83212 __builtin_cosf(0);
83214 return 0;
83216 _ACEOF
83217 rm -f conftest.$ac_objext conftest$ac_exeext
83218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83219 (eval $ac_link) 2>conftest.er1
83220 ac_status=$?
83221 grep -v '^ *+' conftest.er1 >conftest.err
83222 rm -f conftest.er1
83223 cat conftest.err >&5
83224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83225 (exit $ac_status); } &&
83226 { ac_try='test -z "$ac_c_werror_flag"
83227 || test ! -s conftest.err'
83228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83229 (eval $ac_try) 2>&5
83230 ac_status=$?
83231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83232 (exit $ac_status); }; } &&
83233 { ac_try='test -s conftest$ac_exeext'
83234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83235 (eval $ac_try) 2>&5
83236 ac_status=$?
83237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83238 (exit $ac_status); }; }; then
83239 glibcxx_cv_func___builtin_cosf_link=yes
83240 else
83241 echo "$as_me: failed program was:" >&5
83242 sed 's/^/| /' conftest.$ac_ext >&5
83244 glibcxx_cv_func___builtin_cosf_link=no
83246 rm -f conftest.err conftest.$ac_objext \
83247 conftest$ac_exeext conftest.$ac_ext
83252 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
83253 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
83255 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
83257 cat >>confdefs.h <<\_ACEOF
83258 #define HAVE___BUILTIN_COSF 1
83259 _ACEOF
83266 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
83267 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
83268 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
83269 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
83270 echo $ECHO_N "(cached) $ECHO_C" >&6
83271 else
83275 ac_ext=cc
83276 ac_cpp='$CXXCPP $CPPFLAGS'
83277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83281 cat >conftest.$ac_ext <<_ACEOF
83282 /* confdefs.h. */
83283 _ACEOF
83284 cat confdefs.h >>conftest.$ac_ext
83285 cat >>conftest.$ac_ext <<_ACEOF
83286 /* end confdefs.h. */
83287 #include <math.h>
83289 main ()
83291 __builtin_cos(0);
83293 return 0;
83295 _ACEOF
83296 rm -f conftest.$ac_objext
83297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83298 (eval $ac_compile) 2>conftest.er1
83299 ac_status=$?
83300 grep -v '^ *+' conftest.er1 >conftest.err
83301 rm -f conftest.er1
83302 cat conftest.err >&5
83303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83304 (exit $ac_status); } &&
83305 { ac_try='test -z "$ac_cxx_werror_flag"
83306 || test ! -s conftest.err'
83307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83308 (eval $ac_try) 2>&5
83309 ac_status=$?
83310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83311 (exit $ac_status); }; } &&
83312 { ac_try='test -s conftest.$ac_objext'
83313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83314 (eval $ac_try) 2>&5
83315 ac_status=$?
83316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83317 (exit $ac_status); }; }; then
83318 glibcxx_cv_func___builtin_cos_use=yes
83319 else
83320 echo "$as_me: failed program was:" >&5
83321 sed 's/^/| /' conftest.$ac_ext >&5
83323 glibcxx_cv_func___builtin_cos_use=no
83325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83326 ac_ext=c
83327 ac_cpp='$CPP $CPPFLAGS'
83328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83336 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
83337 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
83338 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
83339 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
83340 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
83341 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
83342 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
83343 echo $ECHO_N "(cached) $ECHO_C" >&6
83344 else
83346 if test x$gcc_no_link = xyes; then
83347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83349 { (exit 1); exit 1; }; }
83351 cat >conftest.$ac_ext <<_ACEOF
83352 /* confdefs.h. */
83353 _ACEOF
83354 cat confdefs.h >>conftest.$ac_ext
83355 cat >>conftest.$ac_ext <<_ACEOF
83356 /* end confdefs.h. */
83357 #include <math.h>
83359 main ()
83361 __builtin_cos(0);
83363 return 0;
83365 _ACEOF
83366 rm -f conftest.$ac_objext conftest$ac_exeext
83367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83368 (eval $ac_link) 2>conftest.er1
83369 ac_status=$?
83370 grep -v '^ *+' conftest.er1 >conftest.err
83371 rm -f conftest.er1
83372 cat conftest.err >&5
83373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83374 (exit $ac_status); } &&
83375 { ac_try='test -z "$ac_c_werror_flag"
83376 || test ! -s conftest.err'
83377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83378 (eval $ac_try) 2>&5
83379 ac_status=$?
83380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83381 (exit $ac_status); }; } &&
83382 { ac_try='test -s conftest$ac_exeext'
83383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83384 (eval $ac_try) 2>&5
83385 ac_status=$?
83386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83387 (exit $ac_status); }; }; then
83388 glibcxx_cv_func___builtin_cos_link=yes
83389 else
83390 echo "$as_me: failed program was:" >&5
83391 sed 's/^/| /' conftest.$ac_ext >&5
83393 glibcxx_cv_func___builtin_cos_link=no
83395 rm -f conftest.err conftest.$ac_objext \
83396 conftest$ac_exeext conftest.$ac_ext
83401 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
83402 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
83404 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
83406 cat >>confdefs.h <<\_ACEOF
83407 #define HAVE___BUILTIN_COS 1
83408 _ACEOF
83415 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
83416 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
83417 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
83418 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
83419 echo $ECHO_N "(cached) $ECHO_C" >&6
83420 else
83424 ac_ext=cc
83425 ac_cpp='$CXXCPP $CPPFLAGS'
83426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83430 cat >conftest.$ac_ext <<_ACEOF
83431 /* confdefs.h. */
83432 _ACEOF
83433 cat confdefs.h >>conftest.$ac_ext
83434 cat >>conftest.$ac_ext <<_ACEOF
83435 /* end confdefs.h. */
83436 #include <math.h>
83438 main ()
83440 __builtin_cosl(0);
83442 return 0;
83444 _ACEOF
83445 rm -f conftest.$ac_objext
83446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83447 (eval $ac_compile) 2>conftest.er1
83448 ac_status=$?
83449 grep -v '^ *+' conftest.er1 >conftest.err
83450 rm -f conftest.er1
83451 cat conftest.err >&5
83452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83453 (exit $ac_status); } &&
83454 { ac_try='test -z "$ac_cxx_werror_flag"
83455 || test ! -s conftest.err'
83456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83457 (eval $ac_try) 2>&5
83458 ac_status=$?
83459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83460 (exit $ac_status); }; } &&
83461 { ac_try='test -s conftest.$ac_objext'
83462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83463 (eval $ac_try) 2>&5
83464 ac_status=$?
83465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83466 (exit $ac_status); }; }; then
83467 glibcxx_cv_func___builtin_cosl_use=yes
83468 else
83469 echo "$as_me: failed program was:" >&5
83470 sed 's/^/| /' conftest.$ac_ext >&5
83472 glibcxx_cv_func___builtin_cosl_use=no
83474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83475 ac_ext=c
83476 ac_cpp='$CPP $CPPFLAGS'
83477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83485 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
83486 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
83487 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
83488 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
83489 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
83490 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
83491 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
83492 echo $ECHO_N "(cached) $ECHO_C" >&6
83493 else
83495 if test x$gcc_no_link = xyes; then
83496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83498 { (exit 1); exit 1; }; }
83500 cat >conftest.$ac_ext <<_ACEOF
83501 /* confdefs.h. */
83502 _ACEOF
83503 cat confdefs.h >>conftest.$ac_ext
83504 cat >>conftest.$ac_ext <<_ACEOF
83505 /* end confdefs.h. */
83506 #include <math.h>
83508 main ()
83510 __builtin_cosl(0);
83512 return 0;
83514 _ACEOF
83515 rm -f conftest.$ac_objext conftest$ac_exeext
83516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83517 (eval $ac_link) 2>conftest.er1
83518 ac_status=$?
83519 grep -v '^ *+' conftest.er1 >conftest.err
83520 rm -f conftest.er1
83521 cat conftest.err >&5
83522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83523 (exit $ac_status); } &&
83524 { ac_try='test -z "$ac_c_werror_flag"
83525 || test ! -s conftest.err'
83526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83527 (eval $ac_try) 2>&5
83528 ac_status=$?
83529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83530 (exit $ac_status); }; } &&
83531 { ac_try='test -s conftest$ac_exeext'
83532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83533 (eval $ac_try) 2>&5
83534 ac_status=$?
83535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83536 (exit $ac_status); }; }; then
83537 glibcxx_cv_func___builtin_cosl_link=yes
83538 else
83539 echo "$as_me: failed program was:" >&5
83540 sed 's/^/| /' conftest.$ac_ext >&5
83542 glibcxx_cv_func___builtin_cosl_link=no
83544 rm -f conftest.err conftest.$ac_objext \
83545 conftest$ac_exeext conftest.$ac_ext
83550 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
83551 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
83553 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
83555 cat >>confdefs.h <<\_ACEOF
83556 #define HAVE___BUILTIN_COSL 1
83557 _ACEOF
83566 echo "$as_me:$LINENO: checking for main in -lm" >&5
83567 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83568 if test "${ac_cv_lib_m_main+set}" = set; then
83569 echo $ECHO_N "(cached) $ECHO_C" >&6
83570 else
83571 ac_check_lib_save_LIBS=$LIBS
83572 LIBS="-lm $LIBS"
83573 if test x$gcc_no_link = xyes; then
83574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83576 { (exit 1); exit 1; }; }
83578 cat >conftest.$ac_ext <<_ACEOF
83579 /* confdefs.h. */
83580 _ACEOF
83581 cat confdefs.h >>conftest.$ac_ext
83582 cat >>conftest.$ac_ext <<_ACEOF
83583 /* end confdefs.h. */
83587 main ()
83589 main ();
83591 return 0;
83593 _ACEOF
83594 rm -f conftest.$ac_objext conftest$ac_exeext
83595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83596 (eval $ac_link) 2>conftest.er1
83597 ac_status=$?
83598 grep -v '^ *+' conftest.er1 >conftest.err
83599 rm -f conftest.er1
83600 cat conftest.err >&5
83601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83602 (exit $ac_status); } &&
83603 { ac_try='test -z "$ac_c_werror_flag"
83604 || test ! -s conftest.err'
83605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83606 (eval $ac_try) 2>&5
83607 ac_status=$?
83608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83609 (exit $ac_status); }; } &&
83610 { ac_try='test -s conftest$ac_exeext'
83611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83612 (eval $ac_try) 2>&5
83613 ac_status=$?
83614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83615 (exit $ac_status); }; }; then
83616 ac_cv_lib_m_main=yes
83617 else
83618 echo "$as_me: failed program was:" >&5
83619 sed 's/^/| /' conftest.$ac_ext >&5
83621 ac_cv_lib_m_main=no
83623 rm -f conftest.err conftest.$ac_objext \
83624 conftest$ac_exeext conftest.$ac_ext
83625 LIBS=$ac_check_lib_save_LIBS
83627 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83628 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83629 if test $ac_cv_lib_m_main = yes; then
83630 cat >>confdefs.h <<_ACEOF
83631 #define HAVE_LIBM 1
83632 _ACEOF
83634 LIBS="-lm $LIBS"
83639 for ac_func in copysignf
83641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83642 echo "$as_me:$LINENO: checking for $ac_func" >&5
83643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83644 if eval "test \"\${$as_ac_var+set}\" = set"; then
83645 echo $ECHO_N "(cached) $ECHO_C" >&6
83646 else
83647 if test x$gcc_no_link = xyes; then
83648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83650 { (exit 1); exit 1; }; }
83652 cat >conftest.$ac_ext <<_ACEOF
83653 /* confdefs.h. */
83654 _ACEOF
83655 cat confdefs.h >>conftest.$ac_ext
83656 cat >>conftest.$ac_ext <<_ACEOF
83657 /* end confdefs.h. */
83658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83660 #define $ac_func innocuous_$ac_func
83662 /* System header to define __stub macros and hopefully few prototypes,
83663 which can conflict with char $ac_func (); below.
83664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83665 <limits.h> exists even on freestanding compilers. */
83667 #ifdef __STDC__
83668 # include <limits.h>
83669 #else
83670 # include <assert.h>
83671 #endif
83673 #undef $ac_func
83675 /* Override any gcc2 internal prototype to avoid an error. */
83676 #ifdef __cplusplus
83677 extern "C"
83679 #endif
83680 /* We use char because int might match the return type of a gcc2
83681 builtin and then its argument prototype would still apply. */
83682 char $ac_func ();
83683 /* The GNU C library defines this for functions which it implements
83684 to always fail with ENOSYS. Some functions are actually named
83685 something starting with __ and the normal name is an alias. */
83686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83687 choke me
83688 #else
83689 char (*f) () = $ac_func;
83690 #endif
83691 #ifdef __cplusplus
83693 #endif
83696 main ()
83698 return f != $ac_func;
83700 return 0;
83702 _ACEOF
83703 rm -f conftest.$ac_objext conftest$ac_exeext
83704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83705 (eval $ac_link) 2>conftest.er1
83706 ac_status=$?
83707 grep -v '^ *+' conftest.er1 >conftest.err
83708 rm -f conftest.er1
83709 cat conftest.err >&5
83710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83711 (exit $ac_status); } &&
83712 { ac_try='test -z "$ac_c_werror_flag"
83713 || test ! -s conftest.err'
83714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83715 (eval $ac_try) 2>&5
83716 ac_status=$?
83717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83718 (exit $ac_status); }; } &&
83719 { ac_try='test -s conftest$ac_exeext'
83720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83721 (eval $ac_try) 2>&5
83722 ac_status=$?
83723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83724 (exit $ac_status); }; }; then
83725 eval "$as_ac_var=yes"
83726 else
83727 echo "$as_me: failed program was:" >&5
83728 sed 's/^/| /' conftest.$ac_ext >&5
83730 eval "$as_ac_var=no"
83732 rm -f conftest.err conftest.$ac_objext \
83733 conftest$ac_exeext conftest.$ac_ext
83735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83737 if test `eval echo '${'$as_ac_var'}'` = yes; then
83738 cat >>confdefs.h <<_ACEOF
83739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83740 _ACEOF
83742 else
83743 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83745 done
83749 for ac_func in __signbit
83751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83752 echo "$as_me:$LINENO: checking for $ac_func" >&5
83753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83754 if eval "test \"\${$as_ac_var+set}\" = set"; then
83755 echo $ECHO_N "(cached) $ECHO_C" >&6
83756 else
83757 if test x$gcc_no_link = xyes; then
83758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83760 { (exit 1); exit 1; }; }
83762 cat >conftest.$ac_ext <<_ACEOF
83763 /* confdefs.h. */
83764 _ACEOF
83765 cat confdefs.h >>conftest.$ac_ext
83766 cat >>conftest.$ac_ext <<_ACEOF
83767 /* end confdefs.h. */
83768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83770 #define $ac_func innocuous_$ac_func
83772 /* System header to define __stub macros and hopefully few prototypes,
83773 which can conflict with char $ac_func (); below.
83774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83775 <limits.h> exists even on freestanding compilers. */
83777 #ifdef __STDC__
83778 # include <limits.h>
83779 #else
83780 # include <assert.h>
83781 #endif
83783 #undef $ac_func
83785 /* Override any gcc2 internal prototype to avoid an error. */
83786 #ifdef __cplusplus
83787 extern "C"
83789 #endif
83790 /* We use char because int might match the return type of a gcc2
83791 builtin and then its argument prototype would still apply. */
83792 char $ac_func ();
83793 /* The GNU C library defines this for functions which it implements
83794 to always fail with ENOSYS. Some functions are actually named
83795 something starting with __ and the normal name is an alias. */
83796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83797 choke me
83798 #else
83799 char (*f) () = $ac_func;
83800 #endif
83801 #ifdef __cplusplus
83803 #endif
83806 main ()
83808 return f != $ac_func;
83810 return 0;
83812 _ACEOF
83813 rm -f conftest.$ac_objext conftest$ac_exeext
83814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83815 (eval $ac_link) 2>conftest.er1
83816 ac_status=$?
83817 grep -v '^ *+' conftest.er1 >conftest.err
83818 rm -f conftest.er1
83819 cat conftest.err >&5
83820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83821 (exit $ac_status); } &&
83822 { ac_try='test -z "$ac_c_werror_flag"
83823 || test ! -s conftest.err'
83824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83825 (eval $ac_try) 2>&5
83826 ac_status=$?
83827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83828 (exit $ac_status); }; } &&
83829 { ac_try='test -s conftest$ac_exeext'
83830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83831 (eval $ac_try) 2>&5
83832 ac_status=$?
83833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83834 (exit $ac_status); }; }; then
83835 eval "$as_ac_var=yes"
83836 else
83837 echo "$as_me: failed program was:" >&5
83838 sed 's/^/| /' conftest.$ac_ext >&5
83840 eval "$as_ac_var=no"
83842 rm -f conftest.err conftest.$ac_objext \
83843 conftest$ac_exeext conftest.$ac_ext
83845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83847 if test `eval echo '${'$as_ac_var'}'` = yes; then
83848 cat >>confdefs.h <<_ACEOF
83849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83850 _ACEOF
83852 else
83853 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83855 done
83859 for ac_func in __signbitf
83861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83862 echo "$as_me:$LINENO: checking for $ac_func" >&5
83863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83864 if eval "test \"\${$as_ac_var+set}\" = set"; then
83865 echo $ECHO_N "(cached) $ECHO_C" >&6
83866 else
83867 if test x$gcc_no_link = xyes; then
83868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83870 { (exit 1); exit 1; }; }
83872 cat >conftest.$ac_ext <<_ACEOF
83873 /* confdefs.h. */
83874 _ACEOF
83875 cat confdefs.h >>conftest.$ac_ext
83876 cat >>conftest.$ac_ext <<_ACEOF
83877 /* end confdefs.h. */
83878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83880 #define $ac_func innocuous_$ac_func
83882 /* System header to define __stub macros and hopefully few prototypes,
83883 which can conflict with char $ac_func (); below.
83884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83885 <limits.h> exists even on freestanding compilers. */
83887 #ifdef __STDC__
83888 # include <limits.h>
83889 #else
83890 # include <assert.h>
83891 #endif
83893 #undef $ac_func
83895 /* Override any gcc2 internal prototype to avoid an error. */
83896 #ifdef __cplusplus
83897 extern "C"
83899 #endif
83900 /* We use char because int might match the return type of a gcc2
83901 builtin and then its argument prototype would still apply. */
83902 char $ac_func ();
83903 /* The GNU C library defines this for functions which it implements
83904 to always fail with ENOSYS. Some functions are actually named
83905 something starting with __ and the normal name is an alias. */
83906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83907 choke me
83908 #else
83909 char (*f) () = $ac_func;
83910 #endif
83911 #ifdef __cplusplus
83913 #endif
83916 main ()
83918 return f != $ac_func;
83920 return 0;
83922 _ACEOF
83923 rm -f conftest.$ac_objext conftest$ac_exeext
83924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83925 (eval $ac_link) 2>conftest.er1
83926 ac_status=$?
83927 grep -v '^ *+' conftest.er1 >conftest.err
83928 rm -f conftest.er1
83929 cat conftest.err >&5
83930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83931 (exit $ac_status); } &&
83932 { ac_try='test -z "$ac_c_werror_flag"
83933 || test ! -s conftest.err'
83934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83935 (eval $ac_try) 2>&5
83936 ac_status=$?
83937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83938 (exit $ac_status); }; } &&
83939 { ac_try='test -s conftest$ac_exeext'
83940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83941 (eval $ac_try) 2>&5
83942 ac_status=$?
83943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83944 (exit $ac_status); }; }; then
83945 eval "$as_ac_var=yes"
83946 else
83947 echo "$as_me: failed program was:" >&5
83948 sed 's/^/| /' conftest.$ac_ext >&5
83950 eval "$as_ac_var=no"
83952 rm -f conftest.err conftest.$ac_objext \
83953 conftest$ac_exeext conftest.$ac_ext
83955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83957 if test `eval echo '${'$as_ac_var'}'` = yes; then
83958 cat >>confdefs.h <<_ACEOF
83959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83960 _ACEOF
83962 else
83963 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83965 done
83968 if test x$ac_cv_func_copysignl = x"yes"; then
83970 for ac_func in __signbitl
83972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83973 echo "$as_me:$LINENO: checking for $ac_func" >&5
83974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83975 if eval "test \"\${$as_ac_var+set}\" = set"; then
83976 echo $ECHO_N "(cached) $ECHO_C" >&6
83977 else
83978 if test x$gcc_no_link = xyes; then
83979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83981 { (exit 1); exit 1; }; }
83983 cat >conftest.$ac_ext <<_ACEOF
83984 /* confdefs.h. */
83985 _ACEOF
83986 cat confdefs.h >>conftest.$ac_ext
83987 cat >>conftest.$ac_ext <<_ACEOF
83988 /* end confdefs.h. */
83989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83991 #define $ac_func innocuous_$ac_func
83993 /* System header to define __stub macros and hopefully few prototypes,
83994 which can conflict with char $ac_func (); below.
83995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83996 <limits.h> exists even on freestanding compilers. */
83998 #ifdef __STDC__
83999 # include <limits.h>
84000 #else
84001 # include <assert.h>
84002 #endif
84004 #undef $ac_func
84006 /* Override any gcc2 internal prototype to avoid an error. */
84007 #ifdef __cplusplus
84008 extern "C"
84010 #endif
84011 /* We use char because int might match the return type of a gcc2
84012 builtin and then its argument prototype would still apply. */
84013 char $ac_func ();
84014 /* The GNU C library defines this for functions which it implements
84015 to always fail with ENOSYS. Some functions are actually named
84016 something starting with __ and the normal name is an alias. */
84017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84018 choke me
84019 #else
84020 char (*f) () = $ac_func;
84021 #endif
84022 #ifdef __cplusplus
84024 #endif
84027 main ()
84029 return f != $ac_func;
84031 return 0;
84033 _ACEOF
84034 rm -f conftest.$ac_objext conftest$ac_exeext
84035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84036 (eval $ac_link) 2>conftest.er1
84037 ac_status=$?
84038 grep -v '^ *+' conftest.er1 >conftest.err
84039 rm -f conftest.er1
84040 cat conftest.err >&5
84041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84042 (exit $ac_status); } &&
84043 { ac_try='test -z "$ac_c_werror_flag"
84044 || test ! -s conftest.err'
84045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84046 (eval $ac_try) 2>&5
84047 ac_status=$?
84048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84049 (exit $ac_status); }; } &&
84050 { ac_try='test -s conftest$ac_exeext'
84051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84052 (eval $ac_try) 2>&5
84053 ac_status=$?
84054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84055 (exit $ac_status); }; }; then
84056 eval "$as_ac_var=yes"
84057 else
84058 echo "$as_me: failed program was:" >&5
84059 sed 's/^/| /' conftest.$ac_ext >&5
84061 eval "$as_ac_var=no"
84063 rm -f conftest.err conftest.$ac_objext \
84064 conftest$ac_exeext conftest.$ac_ext
84066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84068 if test `eval echo '${'$as_ac_var'}'` = yes; then
84069 cat >>confdefs.h <<_ACEOF
84070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84071 _ACEOF
84073 else
84074 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84076 done
84080 # Used in libmath/Makefile.am.
84081 if test -n "$LIBMATHOBJS"; then
84082 need_libmath=yes
84087 ac_test_CXXFLAGS="${CXXFLAGS+set}"
84088 ac_save_CXXFLAGS="$CXXFLAGS"
84089 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
84092 echo "$as_me:$LINENO: checking for strtold declaration" >&5
84093 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
84094 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
84095 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
84096 echo $ECHO_N "(cached) $ECHO_C" >&6
84097 else
84101 ac_ext=cc
84102 ac_cpp='$CXXCPP $CPPFLAGS'
84103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84107 cat >conftest.$ac_ext <<_ACEOF
84108 /* confdefs.h. */
84109 _ACEOF
84110 cat confdefs.h >>conftest.$ac_ext
84111 cat >>conftest.$ac_ext <<_ACEOF
84112 /* end confdefs.h. */
84113 #include <stdlib.h>
84115 main ()
84117 strtold(0, 0);
84119 return 0;
84121 _ACEOF
84122 rm -f conftest.$ac_objext
84123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84124 (eval $ac_compile) 2>conftest.er1
84125 ac_status=$?
84126 grep -v '^ *+' conftest.er1 >conftest.err
84127 rm -f conftest.er1
84128 cat conftest.err >&5
84129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84130 (exit $ac_status); } &&
84131 { ac_try='test -z "$ac_cxx_werror_flag"
84132 || test ! -s conftest.err'
84133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84134 (eval $ac_try) 2>&5
84135 ac_status=$?
84136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84137 (exit $ac_status); }; } &&
84138 { ac_try='test -s conftest.$ac_objext'
84139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84140 (eval $ac_try) 2>&5
84141 ac_status=$?
84142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84143 (exit $ac_status); }; }; then
84144 glibcxx_cv_func_strtold_use=yes
84145 else
84146 echo "$as_me: failed program was:" >&5
84147 sed 's/^/| /' conftest.$ac_ext >&5
84149 glibcxx_cv_func_strtold_use=no
84151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84152 ac_ext=c
84153 ac_cpp='$CPP $CPPFLAGS'
84154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84162 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
84163 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
84164 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
84166 for ac_func in strtold
84168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84169 echo "$as_me:$LINENO: checking for $ac_func" >&5
84170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84171 if eval "test \"\${$as_ac_var+set}\" = set"; then
84172 echo $ECHO_N "(cached) $ECHO_C" >&6
84173 else
84174 if test x$gcc_no_link = xyes; then
84175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84177 { (exit 1); exit 1; }; }
84179 cat >conftest.$ac_ext <<_ACEOF
84180 /* confdefs.h. */
84181 _ACEOF
84182 cat confdefs.h >>conftest.$ac_ext
84183 cat >>conftest.$ac_ext <<_ACEOF
84184 /* end confdefs.h. */
84185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84187 #define $ac_func innocuous_$ac_func
84189 /* System header to define __stub macros and hopefully few prototypes,
84190 which can conflict with char $ac_func (); below.
84191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84192 <limits.h> exists even on freestanding compilers. */
84194 #ifdef __STDC__
84195 # include <limits.h>
84196 #else
84197 # include <assert.h>
84198 #endif
84200 #undef $ac_func
84202 /* Override any gcc2 internal prototype to avoid an error. */
84203 #ifdef __cplusplus
84204 extern "C"
84206 #endif
84207 /* We use char because int might match the return type of a gcc2
84208 builtin and then its argument prototype would still apply. */
84209 char $ac_func ();
84210 /* The GNU C library defines this for functions which it implements
84211 to always fail with ENOSYS. Some functions are actually named
84212 something starting with __ and the normal name is an alias. */
84213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84214 choke me
84215 #else
84216 char (*f) () = $ac_func;
84217 #endif
84218 #ifdef __cplusplus
84220 #endif
84223 main ()
84225 return f != $ac_func;
84227 return 0;
84229 _ACEOF
84230 rm -f conftest.$ac_objext conftest$ac_exeext
84231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84232 (eval $ac_link) 2>conftest.er1
84233 ac_status=$?
84234 grep -v '^ *+' conftest.er1 >conftest.err
84235 rm -f conftest.er1
84236 cat conftest.err >&5
84237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84238 (exit $ac_status); } &&
84239 { ac_try='test -z "$ac_c_werror_flag"
84240 || test ! -s conftest.err'
84241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84242 (eval $ac_try) 2>&5
84243 ac_status=$?
84244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84245 (exit $ac_status); }; } &&
84246 { ac_try='test -s conftest$ac_exeext'
84247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84248 (eval $ac_try) 2>&5
84249 ac_status=$?
84250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84251 (exit $ac_status); }; }; then
84252 eval "$as_ac_var=yes"
84253 else
84254 echo "$as_me: failed program was:" >&5
84255 sed 's/^/| /' conftest.$ac_ext >&5
84257 eval "$as_ac_var=no"
84259 rm -f conftest.err conftest.$ac_objext \
84260 conftest$ac_exeext conftest.$ac_ext
84262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84264 if test `eval echo '${'$as_ac_var'}'` = yes; then
84265 cat >>confdefs.h <<_ACEOF
84266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84267 _ACEOF
84270 done
84278 echo "$as_me:$LINENO: checking for strtof declaration" >&5
84279 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
84280 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
84281 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
84282 echo $ECHO_N "(cached) $ECHO_C" >&6
84283 else
84287 ac_ext=cc
84288 ac_cpp='$CXXCPP $CPPFLAGS'
84289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84293 cat >conftest.$ac_ext <<_ACEOF
84294 /* confdefs.h. */
84295 _ACEOF
84296 cat confdefs.h >>conftest.$ac_ext
84297 cat >>conftest.$ac_ext <<_ACEOF
84298 /* end confdefs.h. */
84299 #include <stdlib.h>
84301 main ()
84303 strtof(0, 0);
84305 return 0;
84307 _ACEOF
84308 rm -f conftest.$ac_objext
84309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84310 (eval $ac_compile) 2>conftest.er1
84311 ac_status=$?
84312 grep -v '^ *+' conftest.er1 >conftest.err
84313 rm -f conftest.er1
84314 cat conftest.err >&5
84315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84316 (exit $ac_status); } &&
84317 { ac_try='test -z "$ac_cxx_werror_flag"
84318 || test ! -s conftest.err'
84319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84320 (eval $ac_try) 2>&5
84321 ac_status=$?
84322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84323 (exit $ac_status); }; } &&
84324 { ac_try='test -s conftest.$ac_objext'
84325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84326 (eval $ac_try) 2>&5
84327 ac_status=$?
84328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84329 (exit $ac_status); }; }; then
84330 glibcxx_cv_func_strtof_use=yes
84331 else
84332 echo "$as_me: failed program was:" >&5
84333 sed 's/^/| /' conftest.$ac_ext >&5
84335 glibcxx_cv_func_strtof_use=no
84337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84338 ac_ext=c
84339 ac_cpp='$CPP $CPPFLAGS'
84340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84348 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
84349 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
84350 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
84352 for ac_func in strtof
84354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84355 echo "$as_me:$LINENO: checking for $ac_func" >&5
84356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84357 if eval "test \"\${$as_ac_var+set}\" = set"; then
84358 echo $ECHO_N "(cached) $ECHO_C" >&6
84359 else
84360 if test x$gcc_no_link = xyes; then
84361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84363 { (exit 1); exit 1; }; }
84365 cat >conftest.$ac_ext <<_ACEOF
84366 /* confdefs.h. */
84367 _ACEOF
84368 cat confdefs.h >>conftest.$ac_ext
84369 cat >>conftest.$ac_ext <<_ACEOF
84370 /* end confdefs.h. */
84371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84373 #define $ac_func innocuous_$ac_func
84375 /* System header to define __stub macros and hopefully few prototypes,
84376 which can conflict with char $ac_func (); below.
84377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84378 <limits.h> exists even on freestanding compilers. */
84380 #ifdef __STDC__
84381 # include <limits.h>
84382 #else
84383 # include <assert.h>
84384 #endif
84386 #undef $ac_func
84388 /* Override any gcc2 internal prototype to avoid an error. */
84389 #ifdef __cplusplus
84390 extern "C"
84392 #endif
84393 /* We use char because int might match the return type of a gcc2
84394 builtin and then its argument prototype would still apply. */
84395 char $ac_func ();
84396 /* The GNU C library defines this for functions which it implements
84397 to always fail with ENOSYS. Some functions are actually named
84398 something starting with __ and the normal name is an alias. */
84399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84400 choke me
84401 #else
84402 char (*f) () = $ac_func;
84403 #endif
84404 #ifdef __cplusplus
84406 #endif
84409 main ()
84411 return f != $ac_func;
84413 return 0;
84415 _ACEOF
84416 rm -f conftest.$ac_objext conftest$ac_exeext
84417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84418 (eval $ac_link) 2>conftest.er1
84419 ac_status=$?
84420 grep -v '^ *+' conftest.er1 >conftest.err
84421 rm -f conftest.er1
84422 cat conftest.err >&5
84423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84424 (exit $ac_status); } &&
84425 { ac_try='test -z "$ac_c_werror_flag"
84426 || test ! -s conftest.err'
84427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84428 (eval $ac_try) 2>&5
84429 ac_status=$?
84430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84431 (exit $ac_status); }; } &&
84432 { ac_try='test -s conftest$ac_exeext'
84433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84434 (eval $ac_try) 2>&5
84435 ac_status=$?
84436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84437 (exit $ac_status); }; }; then
84438 eval "$as_ac_var=yes"
84439 else
84440 echo "$as_me: failed program was:" >&5
84441 sed 's/^/| /' conftest.$ac_ext >&5
84443 eval "$as_ac_var=no"
84445 rm -f conftest.err conftest.$ac_objext \
84446 conftest$ac_exeext conftest.$ac_ext
84448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84450 if test `eval echo '${'$as_ac_var'}'` = yes; then
84451 cat >>confdefs.h <<_ACEOF
84452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84453 _ACEOF
84456 done
84464 CXXFLAGS="$ac_save_CXXFLAGS"
84467 # For showmanyc_helper().
84470 for ac_header in sys/ioctl.h sys/filio.h
84472 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84474 echo "$as_me:$LINENO: checking for $ac_header" >&5
84475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84477 echo $ECHO_N "(cached) $ECHO_C" >&6
84479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84481 else
84482 # Is the header compilable?
84483 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84484 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84485 cat >conftest.$ac_ext <<_ACEOF
84486 /* confdefs.h. */
84487 _ACEOF
84488 cat confdefs.h >>conftest.$ac_ext
84489 cat >>conftest.$ac_ext <<_ACEOF
84490 /* end confdefs.h. */
84491 $ac_includes_default
84492 #include <$ac_header>
84493 _ACEOF
84494 rm -f conftest.$ac_objext
84495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84496 (eval $ac_compile) 2>conftest.er1
84497 ac_status=$?
84498 grep -v '^ *+' conftest.er1 >conftest.err
84499 rm -f conftest.er1
84500 cat conftest.err >&5
84501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84502 (exit $ac_status); } &&
84503 { ac_try='test -z "$ac_c_werror_flag"
84504 || test ! -s conftest.err'
84505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84506 (eval $ac_try) 2>&5
84507 ac_status=$?
84508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84509 (exit $ac_status); }; } &&
84510 { ac_try='test -s conftest.$ac_objext'
84511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84512 (eval $ac_try) 2>&5
84513 ac_status=$?
84514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84515 (exit $ac_status); }; }; then
84516 ac_header_compiler=yes
84517 else
84518 echo "$as_me: failed program was:" >&5
84519 sed 's/^/| /' conftest.$ac_ext >&5
84521 ac_header_compiler=no
84523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84524 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84525 echo "${ECHO_T}$ac_header_compiler" >&6
84527 # Is the header present?
84528 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84529 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84530 cat >conftest.$ac_ext <<_ACEOF
84531 /* confdefs.h. */
84532 _ACEOF
84533 cat confdefs.h >>conftest.$ac_ext
84534 cat >>conftest.$ac_ext <<_ACEOF
84535 /* end confdefs.h. */
84536 #include <$ac_header>
84537 _ACEOF
84538 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84539 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84540 ac_status=$?
84541 grep -v '^ *+' conftest.er1 >conftest.err
84542 rm -f conftest.er1
84543 cat conftest.err >&5
84544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84545 (exit $ac_status); } >/dev/null; then
84546 if test -s conftest.err; then
84547 ac_cpp_err=$ac_c_preproc_warn_flag
84548 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84549 else
84550 ac_cpp_err=
84552 else
84553 ac_cpp_err=yes
84555 if test -z "$ac_cpp_err"; then
84556 ac_header_preproc=yes
84557 else
84558 echo "$as_me: failed program was:" >&5
84559 sed 's/^/| /' conftest.$ac_ext >&5
84561 ac_header_preproc=no
84563 rm -f conftest.err conftest.$ac_ext
84564 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84565 echo "${ECHO_T}$ac_header_preproc" >&6
84567 # So? What about this header?
84568 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84569 yes:no: )
84570 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84571 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84573 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84574 ac_header_preproc=yes
84576 no:yes:* )
84577 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84578 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84579 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84580 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84581 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84582 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84583 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84584 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84586 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84587 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84588 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84590 cat <<\_ASBOX
84591 ## ----------------------------------------- ##
84592 ## Report this to the package-unused lists. ##
84593 ## ----------------------------------------- ##
84594 _ASBOX
84596 sed "s/^/$as_me: WARNING: /" >&2
84598 esac
84599 echo "$as_me:$LINENO: checking for $ac_header" >&5
84600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84602 echo $ECHO_N "(cached) $ECHO_C" >&6
84603 else
84604 eval "$as_ac_Header=\$ac_header_preproc"
84606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84607 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84610 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84611 cat >>confdefs.h <<_ACEOF
84612 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84613 _ACEOF
84617 done
84620 echo "$as_me:$LINENO: checking for poll" >&5
84621 echo $ECHO_N "checking for poll... $ECHO_C" >&6
84622 if test "${glibcxx_cv_POLL+set}" = set; then
84623 echo $ECHO_N "(cached) $ECHO_C" >&6
84624 else
84626 if test x$gcc_no_link = xyes; then
84627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84629 { (exit 1); exit 1; }; }
84631 cat >conftest.$ac_ext <<_ACEOF
84632 /* confdefs.h. */
84633 _ACEOF
84634 cat confdefs.h >>conftest.$ac_ext
84635 cat >>conftest.$ac_ext <<_ACEOF
84636 /* end confdefs.h. */
84637 #include <poll.h>
84639 main ()
84641 struct pollfd pfd[1];
84642 pfd[0].events = POLLIN;
84643 poll(pfd, 1, 0);
84645 return 0;
84647 _ACEOF
84648 rm -f conftest.$ac_objext conftest$ac_exeext
84649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84650 (eval $ac_link) 2>conftest.er1
84651 ac_status=$?
84652 grep -v '^ *+' conftest.er1 >conftest.err
84653 rm -f conftest.er1
84654 cat conftest.err >&5
84655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84656 (exit $ac_status); } &&
84657 { ac_try='test -z "$ac_c_werror_flag"
84658 || test ! -s conftest.err'
84659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84660 (eval $ac_try) 2>&5
84661 ac_status=$?
84662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84663 (exit $ac_status); }; } &&
84664 { ac_try='test -s conftest$ac_exeext'
84665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84666 (eval $ac_try) 2>&5
84667 ac_status=$?
84668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84669 (exit $ac_status); }; }; then
84670 glibcxx_cv_POLL=yes
84671 else
84672 echo "$as_me: failed program was:" >&5
84673 sed 's/^/| /' conftest.$ac_ext >&5
84675 glibcxx_cv_POLL=no
84677 rm -f conftest.err conftest.$ac_objext \
84678 conftest$ac_exeext conftest.$ac_ext
84682 if test $glibcxx_cv_POLL = yes; then
84684 cat >>confdefs.h <<\_ACEOF
84685 #define HAVE_POLL 1
84686 _ACEOF
84689 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
84690 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
84693 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
84694 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
84695 if test "${glibcxx_cv_S_ISREG+set}" = set; then
84696 echo $ECHO_N "(cached) $ECHO_C" >&6
84697 else
84699 if test x$gcc_no_link = xyes; then
84700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84702 { (exit 1); exit 1; }; }
84704 cat >conftest.$ac_ext <<_ACEOF
84705 /* confdefs.h. */
84706 _ACEOF
84707 cat confdefs.h >>conftest.$ac_ext
84708 cat >>conftest.$ac_ext <<_ACEOF
84709 /* end confdefs.h. */
84710 #include <sys/stat.h>
84712 main ()
84714 struct stat buffer;
84715 fstat(0, &buffer);
84716 S_ISREG(buffer.st_mode);
84718 return 0;
84720 _ACEOF
84721 rm -f conftest.$ac_objext conftest$ac_exeext
84722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84723 (eval $ac_link) 2>conftest.er1
84724 ac_status=$?
84725 grep -v '^ *+' conftest.er1 >conftest.err
84726 rm -f conftest.er1
84727 cat conftest.err >&5
84728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84729 (exit $ac_status); } &&
84730 { ac_try='test -z "$ac_c_werror_flag"
84731 || test ! -s conftest.err'
84732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84733 (eval $ac_try) 2>&5
84734 ac_status=$?
84735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84736 (exit $ac_status); }; } &&
84737 { ac_try='test -s conftest$ac_exeext'
84738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84739 (eval $ac_try) 2>&5
84740 ac_status=$?
84741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84742 (exit $ac_status); }; }; then
84743 glibcxx_cv_S_ISREG=yes
84744 else
84745 echo "$as_me: failed program was:" >&5
84746 sed 's/^/| /' conftest.$ac_ext >&5
84748 glibcxx_cv_S_ISREG=no
84750 rm -f conftest.err conftest.$ac_objext \
84751 conftest$ac_exeext conftest.$ac_ext
84755 if test "${glibcxx_cv_S_IFREG+set}" = set; then
84756 echo $ECHO_N "(cached) $ECHO_C" >&6
84757 else
84759 if test x$gcc_no_link = xyes; then
84760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84762 { (exit 1); exit 1; }; }
84764 cat >conftest.$ac_ext <<_ACEOF
84765 /* confdefs.h. */
84766 _ACEOF
84767 cat confdefs.h >>conftest.$ac_ext
84768 cat >>conftest.$ac_ext <<_ACEOF
84769 /* end confdefs.h. */
84770 #include <sys/stat.h>
84772 main ()
84774 struct stat buffer;
84775 fstat(0, &buffer);
84776 S_IFREG & buffer.st_mode;
84778 return 0;
84780 _ACEOF
84781 rm -f conftest.$ac_objext conftest$ac_exeext
84782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84783 (eval $ac_link) 2>conftest.er1
84784 ac_status=$?
84785 grep -v '^ *+' conftest.er1 >conftest.err
84786 rm -f conftest.er1
84787 cat conftest.err >&5
84788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84789 (exit $ac_status); } &&
84790 { ac_try='test -z "$ac_c_werror_flag"
84791 || test ! -s conftest.err'
84792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84793 (eval $ac_try) 2>&5
84794 ac_status=$?
84795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84796 (exit $ac_status); }; } &&
84797 { ac_try='test -s conftest$ac_exeext'
84798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84799 (eval $ac_try) 2>&5
84800 ac_status=$?
84801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84802 (exit $ac_status); }; }; then
84803 glibcxx_cv_S_IFREG=yes
84804 else
84805 echo "$as_me: failed program was:" >&5
84806 sed 's/^/| /' conftest.$ac_ext >&5
84808 glibcxx_cv_S_IFREG=no
84810 rm -f conftest.err conftest.$ac_objext \
84811 conftest$ac_exeext conftest.$ac_ext
84815 res=no
84816 if test $glibcxx_cv_S_ISREG = yes; then
84818 cat >>confdefs.h <<\_ACEOF
84819 #define HAVE_S_ISREG 1
84820 _ACEOF
84822 res=S_ISREG
84823 elif test $glibcxx_cv_S_IFREG = yes; then
84825 cat >>confdefs.h <<\_ACEOF
84826 #define HAVE_S_IFREG 1
84827 _ACEOF
84829 res=S_IFREG
84831 echo "$as_me:$LINENO: result: $res" >&5
84832 echo "${ECHO_T}$res" >&6
84835 # For xsputn_2().
84837 for ac_header in sys/uio.h
84839 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84841 echo "$as_me:$LINENO: checking for $ac_header" >&5
84842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84844 echo $ECHO_N "(cached) $ECHO_C" >&6
84846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84848 else
84849 # Is the header compilable?
84850 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84851 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84852 cat >conftest.$ac_ext <<_ACEOF
84853 /* confdefs.h. */
84854 _ACEOF
84855 cat confdefs.h >>conftest.$ac_ext
84856 cat >>conftest.$ac_ext <<_ACEOF
84857 /* end confdefs.h. */
84858 $ac_includes_default
84859 #include <$ac_header>
84860 _ACEOF
84861 rm -f conftest.$ac_objext
84862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84863 (eval $ac_compile) 2>conftest.er1
84864 ac_status=$?
84865 grep -v '^ *+' conftest.er1 >conftest.err
84866 rm -f conftest.er1
84867 cat conftest.err >&5
84868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84869 (exit $ac_status); } &&
84870 { ac_try='test -z "$ac_c_werror_flag"
84871 || test ! -s conftest.err'
84872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84873 (eval $ac_try) 2>&5
84874 ac_status=$?
84875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84876 (exit $ac_status); }; } &&
84877 { ac_try='test -s conftest.$ac_objext'
84878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84879 (eval $ac_try) 2>&5
84880 ac_status=$?
84881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84882 (exit $ac_status); }; }; then
84883 ac_header_compiler=yes
84884 else
84885 echo "$as_me: failed program was:" >&5
84886 sed 's/^/| /' conftest.$ac_ext >&5
84888 ac_header_compiler=no
84890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84891 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84892 echo "${ECHO_T}$ac_header_compiler" >&6
84894 # Is the header present?
84895 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84896 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84897 cat >conftest.$ac_ext <<_ACEOF
84898 /* confdefs.h. */
84899 _ACEOF
84900 cat confdefs.h >>conftest.$ac_ext
84901 cat >>conftest.$ac_ext <<_ACEOF
84902 /* end confdefs.h. */
84903 #include <$ac_header>
84904 _ACEOF
84905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84906 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84907 ac_status=$?
84908 grep -v '^ *+' conftest.er1 >conftest.err
84909 rm -f conftest.er1
84910 cat conftest.err >&5
84911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84912 (exit $ac_status); } >/dev/null; then
84913 if test -s conftest.err; then
84914 ac_cpp_err=$ac_c_preproc_warn_flag
84915 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84916 else
84917 ac_cpp_err=
84919 else
84920 ac_cpp_err=yes
84922 if test -z "$ac_cpp_err"; then
84923 ac_header_preproc=yes
84924 else
84925 echo "$as_me: failed program was:" >&5
84926 sed 's/^/| /' conftest.$ac_ext >&5
84928 ac_header_preproc=no
84930 rm -f conftest.err conftest.$ac_ext
84931 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84932 echo "${ECHO_T}$ac_header_preproc" >&6
84934 # So? What about this header?
84935 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84936 yes:no: )
84937 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84938 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84940 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84941 ac_header_preproc=yes
84943 no:yes:* )
84944 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84945 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84946 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84947 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84948 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84949 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84950 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84951 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84952 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84953 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84954 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84955 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84957 cat <<\_ASBOX
84958 ## ----------------------------------------- ##
84959 ## Report this to the package-unused lists. ##
84960 ## ----------------------------------------- ##
84961 _ASBOX
84963 sed "s/^/$as_me: WARNING: /" >&2
84965 esac
84966 echo "$as_me:$LINENO: checking for $ac_header" >&5
84967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84969 echo $ECHO_N "(cached) $ECHO_C" >&6
84970 else
84971 eval "$as_ac_Header=\$ac_header_preproc"
84973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84977 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84978 cat >>confdefs.h <<_ACEOF
84979 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84980 _ACEOF
84984 done
84987 echo "$as_me:$LINENO: checking for writev" >&5
84988 echo $ECHO_N "checking for writev... $ECHO_C" >&6
84989 if test "${glibcxx_cv_WRITEV+set}" = set; then
84990 echo $ECHO_N "(cached) $ECHO_C" >&6
84991 else
84993 if test x$gcc_no_link = xyes; then
84994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84996 { (exit 1); exit 1; }; }
84998 cat >conftest.$ac_ext <<_ACEOF
84999 /* confdefs.h. */
85000 _ACEOF
85001 cat confdefs.h >>conftest.$ac_ext
85002 cat >>conftest.$ac_ext <<_ACEOF
85003 /* end confdefs.h. */
85004 #include <sys/uio.h>
85006 main ()
85008 struct iovec iov[2];
85009 writev(0, iov, 0);
85011 return 0;
85013 _ACEOF
85014 rm -f conftest.$ac_objext conftest$ac_exeext
85015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85016 (eval $ac_link) 2>conftest.er1
85017 ac_status=$?
85018 grep -v '^ *+' conftest.er1 >conftest.err
85019 rm -f conftest.er1
85020 cat conftest.err >&5
85021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85022 (exit $ac_status); } &&
85023 { ac_try='test -z "$ac_c_werror_flag"
85024 || test ! -s conftest.err'
85025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85026 (eval $ac_try) 2>&5
85027 ac_status=$?
85028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85029 (exit $ac_status); }; } &&
85030 { ac_try='test -s conftest$ac_exeext'
85031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85032 (eval $ac_try) 2>&5
85033 ac_status=$?
85034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85035 (exit $ac_status); }; }; then
85036 glibcxx_cv_WRITEV=yes
85037 else
85038 echo "$as_me: failed program was:" >&5
85039 sed 's/^/| /' conftest.$ac_ext >&5
85041 glibcxx_cv_WRITEV=no
85043 rm -f conftest.err conftest.$ac_objext \
85044 conftest$ac_exeext conftest.$ac_ext
85048 if test $glibcxx_cv_WRITEV = yes; then
85050 cat >>confdefs.h <<\_ACEOF
85051 #define HAVE_WRITEV 1
85052 _ACEOF
85055 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
85056 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
85059 cat >>confdefs.h <<\_ACEOF
85060 #define HAVE_LC_MESSAGES 1
85061 _ACEOF
85064 cat >conftest.$ac_ext <<_ACEOF
85065 /* confdefs.h. */
85066 _ACEOF
85067 cat confdefs.h >>conftest.$ac_ext
85068 cat >>conftest.$ac_ext <<_ACEOF
85069 /* end confdefs.h. */
85070 #include <setjmp.h>
85072 main ()
85074 sigjmp_buf env;
85075 while (! sigsetjmp (env, 1))
85076 siglongjmp (env, 1);
85079 return 0;
85081 _ACEOF
85082 rm -f conftest.$ac_objext
85083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85084 (eval $ac_compile) 2>conftest.er1
85085 ac_status=$?
85086 grep -v '^ *+' conftest.er1 >conftest.err
85087 rm -f conftest.er1
85088 cat conftest.err >&5
85089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85090 (exit $ac_status); } &&
85091 { ac_try='test -z "$ac_c_werror_flag"
85092 || test ! -s conftest.err'
85093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85094 (eval $ac_try) 2>&5
85095 ac_status=$?
85096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85097 (exit $ac_status); }; } &&
85098 { ac_try='test -s conftest.$ac_objext'
85099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85100 (eval $ac_try) 2>&5
85101 ac_status=$?
85102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85103 (exit $ac_status); }; }; then
85105 cat >>confdefs.h <<\_ACEOF
85106 #define HAVE_SIGSETJMP 1
85107 _ACEOF
85109 else
85110 echo "$as_me: failed program was:" >&5
85111 sed 's/^/| /' conftest.$ac_ext >&5
85114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85116 cat >>confdefs.h <<\_ACEOF
85117 #define HAVE_MMAP 1
85118 _ACEOF
85122 *djgpp)
85143 for ac_header in float.h ieeefp.h inttypes.h locale.h \
85144 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
85145 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
85146 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
85148 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85150 echo "$as_me:$LINENO: checking for $ac_header" >&5
85151 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85153 echo $ECHO_N "(cached) $ECHO_C" >&6
85155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85156 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85157 else
85158 # Is the header compilable?
85159 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85160 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85161 cat >conftest.$ac_ext <<_ACEOF
85162 /* confdefs.h. */
85163 _ACEOF
85164 cat confdefs.h >>conftest.$ac_ext
85165 cat >>conftest.$ac_ext <<_ACEOF
85166 /* end confdefs.h. */
85167 $ac_includes_default
85168 #include <$ac_header>
85169 _ACEOF
85170 rm -f conftest.$ac_objext
85171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85172 (eval $ac_compile) 2>conftest.er1
85173 ac_status=$?
85174 grep -v '^ *+' conftest.er1 >conftest.err
85175 rm -f conftest.er1
85176 cat conftest.err >&5
85177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85178 (exit $ac_status); } &&
85179 { ac_try='test -z "$ac_c_werror_flag"
85180 || test ! -s conftest.err'
85181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85182 (eval $ac_try) 2>&5
85183 ac_status=$?
85184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85185 (exit $ac_status); }; } &&
85186 { ac_try='test -s conftest.$ac_objext'
85187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85188 (eval $ac_try) 2>&5
85189 ac_status=$?
85190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85191 (exit $ac_status); }; }; then
85192 ac_header_compiler=yes
85193 else
85194 echo "$as_me: failed program was:" >&5
85195 sed 's/^/| /' conftest.$ac_ext >&5
85197 ac_header_compiler=no
85199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85200 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85201 echo "${ECHO_T}$ac_header_compiler" >&6
85203 # Is the header present?
85204 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85205 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85206 cat >conftest.$ac_ext <<_ACEOF
85207 /* confdefs.h. */
85208 _ACEOF
85209 cat confdefs.h >>conftest.$ac_ext
85210 cat >>conftest.$ac_ext <<_ACEOF
85211 /* end confdefs.h. */
85212 #include <$ac_header>
85213 _ACEOF
85214 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85215 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85216 ac_status=$?
85217 grep -v '^ *+' conftest.er1 >conftest.err
85218 rm -f conftest.er1
85219 cat conftest.err >&5
85220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85221 (exit $ac_status); } >/dev/null; then
85222 if test -s conftest.err; then
85223 ac_cpp_err=$ac_c_preproc_warn_flag
85224 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85225 else
85226 ac_cpp_err=
85228 else
85229 ac_cpp_err=yes
85231 if test -z "$ac_cpp_err"; then
85232 ac_header_preproc=yes
85233 else
85234 echo "$as_me: failed program was:" >&5
85235 sed 's/^/| /' conftest.$ac_ext >&5
85237 ac_header_preproc=no
85239 rm -f conftest.err conftest.$ac_ext
85240 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85241 echo "${ECHO_T}$ac_header_preproc" >&6
85243 # So? What about this header?
85244 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85245 yes:no: )
85246 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85247 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85249 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85250 ac_header_preproc=yes
85252 no:yes:* )
85253 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85254 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85255 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85256 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85257 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85258 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85259 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85260 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85262 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85263 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85264 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85266 cat <<\_ASBOX
85267 ## ----------------------------------------- ##
85268 ## Report this to the package-unused lists. ##
85269 ## ----------------------------------------- ##
85270 _ASBOX
85272 sed "s/^/$as_me: WARNING: /" >&2
85274 esac
85275 echo "$as_me:$LINENO: checking for $ac_header" >&5
85276 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85277 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85278 echo $ECHO_N "(cached) $ECHO_C" >&6
85279 else
85280 eval "$as_ac_Header=\$ac_header_preproc"
85282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85283 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85287 cat >>confdefs.h <<_ACEOF
85288 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85289 _ACEOF
85293 done
85295 # GLIBCXX_CHECK_MATH_SUPPORT
85296 cat >>confdefs.h <<\_ACEOF
85297 #define HAVE_LIBM 1
85298 _ACEOF
85300 cat >>confdefs.h <<\_ACEOF
85301 #define HAVE_ISINF 1
85302 _ACEOF
85304 cat >>confdefs.h <<\_ACEOF
85305 #define HAVE_ISNAN 1
85306 _ACEOF
85308 cat >>confdefs.h <<\_ACEOF
85309 #define HAVE_FINITE 1
85310 _ACEOF
85312 cat >>confdefs.h <<\_ACEOF
85313 #define HAVE_COPYSIGN 1
85314 _ACEOF
85316 cat >>confdefs.h <<\_ACEOF
85317 #define HAVE_SINCOS 1
85318 _ACEOF
85320 cat >>confdefs.h <<\_ACEOF
85321 #define HAVE_HYPOT 1
85322 _ACEOF
85324 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
85325 cat >>confdefs.h <<\_ACEOF
85326 #define HAVE___BUILTIN_ABS 1
85327 _ACEOF
85329 cat >>confdefs.h <<\_ACEOF
85330 #define HAVE___BUILTIN_FABSF 1
85331 _ACEOF
85333 cat >>confdefs.h <<\_ACEOF
85334 #define HAVE___BUILTIN_FABS 1
85335 _ACEOF
85337 cat >>confdefs.h <<\_ACEOF
85338 #define HAVE___BUILTIN_FABSL 1
85339 _ACEOF
85341 cat >>confdefs.h <<\_ACEOF
85342 #define HAVE___BUILTIN_LABS 1
85343 _ACEOF
85345 cat >>confdefs.h <<\_ACEOF
85346 #define HAVE___BUILTIN_SQRTF 1
85347 _ACEOF
85349 cat >>confdefs.h <<\_ACEOF
85350 #define HAVE___BUILTIN_SQRT 1
85351 _ACEOF
85353 cat >>confdefs.h <<\_ACEOF
85354 #define HAVE___BUILTIN_SQRTL 1
85355 _ACEOF
85357 cat >>confdefs.h <<\_ACEOF
85358 #define HAVE___BUILTIN_SINF 1
85359 _ACEOF
85361 cat >>confdefs.h <<\_ACEOF
85362 #define HAVE___BUILTIN_SIN 1
85363 _ACEOF
85365 cat >>confdefs.h <<\_ACEOF
85366 #define HAVE___BUILTIN_SINL 1
85367 _ACEOF
85369 cat >>confdefs.h <<\_ACEOF
85370 #define HAVE___BUILTIN_COSF 1
85371 _ACEOF
85373 cat >>confdefs.h <<\_ACEOF
85374 #define HAVE___BUILTIN_COS 1
85375 _ACEOF
85377 cat >>confdefs.h <<\_ACEOF
85378 #define HAVE___BUILTIN_COSL 1
85379 _ACEOF
85381 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
85382 # GLIBCXX_CHECK_STDLIB_SUPPORT
85383 cat >>confdefs.h <<\_ACEOF
85384 #define HAVE_COPYSIGN 1
85385 _ACEOF
85387 cat >>confdefs.h <<\_ACEOF
85388 #define HAVE_COPYSIGNF 1
85389 _ACEOF
85391 # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
85392 cat >>confdefs.h <<\_ACEOF
85393 #define HAVE_S_ISREG 1
85394 _ACEOF
85396 cat >>confdefs.h <<\_ACEOF
85397 #define HAVE_S_IFREG 1
85398 _ACEOF
85400 cat >>confdefs.h <<\_ACEOF
85401 #define HAVE_WRITEV 1
85402 _ACEOF
85406 *-freebsd*)
85423 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
85424 machine/endian.h machine/param.h sys/machine.h sys/types.h \
85425 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
85426 sys/time.h unistd.h
85428 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85430 echo "$as_me:$LINENO: checking for $ac_header" >&5
85431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85433 echo $ECHO_N "(cached) $ECHO_C" >&6
85435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85436 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85437 else
85438 # Is the header compilable?
85439 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85440 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85441 cat >conftest.$ac_ext <<_ACEOF
85442 /* confdefs.h. */
85443 _ACEOF
85444 cat confdefs.h >>conftest.$ac_ext
85445 cat >>conftest.$ac_ext <<_ACEOF
85446 /* end confdefs.h. */
85447 $ac_includes_default
85448 #include <$ac_header>
85449 _ACEOF
85450 rm -f conftest.$ac_objext
85451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85452 (eval $ac_compile) 2>conftest.er1
85453 ac_status=$?
85454 grep -v '^ *+' conftest.er1 >conftest.err
85455 rm -f conftest.er1
85456 cat conftest.err >&5
85457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85458 (exit $ac_status); } &&
85459 { ac_try='test -z "$ac_c_werror_flag"
85460 || test ! -s conftest.err'
85461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85462 (eval $ac_try) 2>&5
85463 ac_status=$?
85464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85465 (exit $ac_status); }; } &&
85466 { ac_try='test -s conftest.$ac_objext'
85467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85468 (eval $ac_try) 2>&5
85469 ac_status=$?
85470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85471 (exit $ac_status); }; }; then
85472 ac_header_compiler=yes
85473 else
85474 echo "$as_me: failed program was:" >&5
85475 sed 's/^/| /' conftest.$ac_ext >&5
85477 ac_header_compiler=no
85479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85481 echo "${ECHO_T}$ac_header_compiler" >&6
85483 # Is the header present?
85484 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85485 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85486 cat >conftest.$ac_ext <<_ACEOF
85487 /* confdefs.h. */
85488 _ACEOF
85489 cat confdefs.h >>conftest.$ac_ext
85490 cat >>conftest.$ac_ext <<_ACEOF
85491 /* end confdefs.h. */
85492 #include <$ac_header>
85493 _ACEOF
85494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85496 ac_status=$?
85497 grep -v '^ *+' conftest.er1 >conftest.err
85498 rm -f conftest.er1
85499 cat conftest.err >&5
85500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85501 (exit $ac_status); } >/dev/null; then
85502 if test -s conftest.err; then
85503 ac_cpp_err=$ac_c_preproc_warn_flag
85504 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85505 else
85506 ac_cpp_err=
85508 else
85509 ac_cpp_err=yes
85511 if test -z "$ac_cpp_err"; then
85512 ac_header_preproc=yes
85513 else
85514 echo "$as_me: failed program was:" >&5
85515 sed 's/^/| /' conftest.$ac_ext >&5
85517 ac_header_preproc=no
85519 rm -f conftest.err conftest.$ac_ext
85520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85521 echo "${ECHO_T}$ac_header_preproc" >&6
85523 # So? What about this header?
85524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85525 yes:no: )
85526 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85527 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85529 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85530 ac_header_preproc=yes
85532 no:yes:* )
85533 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85534 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85535 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85536 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85537 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85538 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85539 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85540 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85543 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85544 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85546 cat <<\_ASBOX
85547 ## ----------------------------------------- ##
85548 ## Report this to the package-unused lists. ##
85549 ## ----------------------------------------- ##
85550 _ASBOX
85552 sed "s/^/$as_me: WARNING: /" >&2
85554 esac
85555 echo "$as_me:$LINENO: checking for $ac_header" >&5
85556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85558 echo $ECHO_N "(cached) $ECHO_C" >&6
85559 else
85560 eval "$as_ac_Header=\$ac_header_preproc"
85562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85567 cat >>confdefs.h <<_ACEOF
85568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85569 _ACEOF
85573 done
85575 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85578 # If we're not using GNU ld, then there's no point in even trying these
85579 # tests. Check for that first. We should have already tested for gld
85580 # by now (in libtool), but require it now just to be safe...
85581 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85582 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85586 # The name set by libtool depends on the version of libtool. Shame on us
85587 # for depending on an impl detail, but c'est la vie. Older versions used
85588 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85589 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85590 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85591 # set (hence we're using an older libtool), then set it.
85592 if test x${with_gnu_ld+set} != xset; then
85593 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85594 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85595 with_gnu_ld=no
85596 else
85597 with_gnu_ld=$ac_cv_prog_gnu_ld
85601 # Start by getting the version number. I think the libtool test already
85602 # does some of this, but throws away the result.
85603 glibcxx_ld_is_gold=no
85604 if test x"$with_gnu_ld" = x"yes"; then
85605 echo "$as_me:$LINENO: checking for ld version" >&5
85606 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
85608 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
85609 glibcxx_ld_is_gold=yes
85611 ldver=`$LD --version 2>/dev/null | head -1 | \
85612 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
85614 glibcxx_gnu_ld_version=`echo $ldver | \
85615 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85616 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
85617 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
85620 # Set --gc-sections.
85621 glibcxx_have_gc_sections=no
85622 if test "$glibcxx_ld_is_gold" = "yes"; then
85623 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
85624 glibcxx_have_gc_sections=yes
85626 else
85627 glibcxx_gcsections_min_ld=21602
85628 if test x"$with_gnu_ld" = x"yes" &&
85629 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
85630 glibcxx_have_gc_sections=yes
85633 if test "$glibcxx_have_gc_sections" = "yes"; then
85634 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
85635 # NB: This flag only works reliably after 2.16.1. Configure tests
85636 # for this are difficult, so hard wire a value that should work.
85638 ac_test_CFLAGS="${CFLAGS+set}"
85639 ac_save_CFLAGS="$CFLAGS"
85640 CFLAGS='-Wl,--gc-sections'
85642 # Check for -Wl,--gc-sections
85643 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85644 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85645 if test x$gcc_no_link = xyes; then
85646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85648 { (exit 1); exit 1; }; }
85650 cat >conftest.$ac_ext <<_ACEOF
85651 /* confdefs.h. */
85652 _ACEOF
85653 cat confdefs.h >>conftest.$ac_ext
85654 cat >>conftest.$ac_ext <<_ACEOF
85655 /* end confdefs.h. */
85656 int one(void) { return 1; }
85657 int two(void) { return 2; }
85660 main ()
85662 two();
85664 return 0;
85666 _ACEOF
85667 rm -f conftest.$ac_objext conftest$ac_exeext
85668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85669 (eval $ac_link) 2>conftest.er1
85670 ac_status=$?
85671 grep -v '^ *+' conftest.er1 >conftest.err
85672 rm -f conftest.er1
85673 cat conftest.err >&5
85674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85675 (exit $ac_status); } &&
85676 { ac_try='test -z "$ac_c_werror_flag"
85677 || test ! -s conftest.err'
85678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85679 (eval $ac_try) 2>&5
85680 ac_status=$?
85681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85682 (exit $ac_status); }; } &&
85683 { ac_try='test -s conftest$ac_exeext'
85684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85685 (eval $ac_try) 2>&5
85686 ac_status=$?
85687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85688 (exit $ac_status); }; }; then
85689 ac_gcsections=yes
85690 else
85691 echo "$as_me: failed program was:" >&5
85692 sed 's/^/| /' conftest.$ac_ext >&5
85694 ac_gcsections=no
85696 rm -f conftest.err conftest.$ac_objext \
85697 conftest$ac_exeext conftest.$ac_ext
85698 if test "$ac_gcsections" = "yes"; then
85699 rm -f conftest.c
85700 touch conftest.c
85701 if $CC -c conftest.c; then
85702 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
85703 grep "Warning: gc-sections option ignored" > /dev/null; then
85704 ac_gcsections=no
85707 rm -f conftest.c conftest.o conftest
85709 if test "$ac_gcsections" = "yes"; then
85710 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85712 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
85713 echo "${ECHO_T}$ac_gcsections" >&6
85715 if test "$ac_test_CFLAGS" = set; then
85716 CFLAGS="$ac_save_CFLAGS"
85717 else
85718 # this is the suspicious part
85719 CFLAGS=''
85723 # Set -z,relro.
85724 # Note this is only for shared objects.
85725 ac_ld_relro=no
85726 if test x"$with_gnu_ld" = x"yes"; then
85727 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
85728 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
85729 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
85730 if test -n "$cxx_z_relo"; then
85731 OPT_LDFLAGS="-Wl,-z,relro"
85732 ac_ld_relro=yes
85734 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
85735 echo "${ECHO_T}$ac_ld_relro" >&6
85738 # Set linker optimization flags.
85739 if test x"$with_gnu_ld" = x"yes"; then
85740 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85748 echo "$as_me:$LINENO: checking for main in -lm" >&5
85749 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85750 if test "${ac_cv_lib_m_main+set}" = set; then
85751 echo $ECHO_N "(cached) $ECHO_C" >&6
85752 else
85753 ac_check_lib_save_LIBS=$LIBS
85754 LIBS="-lm $LIBS"
85755 if test x$gcc_no_link = xyes; then
85756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85758 { (exit 1); exit 1; }; }
85760 cat >conftest.$ac_ext <<_ACEOF
85761 /* confdefs.h. */
85762 _ACEOF
85763 cat confdefs.h >>conftest.$ac_ext
85764 cat >>conftest.$ac_ext <<_ACEOF
85765 /* end confdefs.h. */
85769 main ()
85771 main ();
85773 return 0;
85775 _ACEOF
85776 rm -f conftest.$ac_objext conftest$ac_exeext
85777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85778 (eval $ac_link) 2>conftest.er1
85779 ac_status=$?
85780 grep -v '^ *+' conftest.er1 >conftest.err
85781 rm -f conftest.er1
85782 cat conftest.err >&5
85783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85784 (exit $ac_status); } &&
85785 { ac_try='test -z "$ac_c_werror_flag"
85786 || test ! -s conftest.err'
85787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85788 (eval $ac_try) 2>&5
85789 ac_status=$?
85790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85791 (exit $ac_status); }; } &&
85792 { ac_try='test -s conftest$ac_exeext'
85793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85794 (eval $ac_try) 2>&5
85795 ac_status=$?
85796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85797 (exit $ac_status); }; }; then
85798 ac_cv_lib_m_main=yes
85799 else
85800 echo "$as_me: failed program was:" >&5
85801 sed 's/^/| /' conftest.$ac_ext >&5
85803 ac_cv_lib_m_main=no
85805 rm -f conftest.err conftest.$ac_objext \
85806 conftest$ac_exeext conftest.$ac_ext
85807 LIBS=$ac_check_lib_save_LIBS
85809 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85810 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85811 if test $ac_cv_lib_m_main = yes; then
85812 cat >>confdefs.h <<_ACEOF
85813 #define HAVE_LIBM 1
85814 _ACEOF
85816 LIBS="-lm $LIBS"
85821 for ac_func in copysignf
85823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85824 echo "$as_me:$LINENO: checking for $ac_func" >&5
85825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85826 if eval "test \"\${$as_ac_var+set}\" = set"; then
85827 echo $ECHO_N "(cached) $ECHO_C" >&6
85828 else
85829 if test x$gcc_no_link = xyes; then
85830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85832 { (exit 1); exit 1; }; }
85834 cat >conftest.$ac_ext <<_ACEOF
85835 /* confdefs.h. */
85836 _ACEOF
85837 cat confdefs.h >>conftest.$ac_ext
85838 cat >>conftest.$ac_ext <<_ACEOF
85839 /* end confdefs.h. */
85840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85842 #define $ac_func innocuous_$ac_func
85844 /* System header to define __stub macros and hopefully few prototypes,
85845 which can conflict with char $ac_func (); below.
85846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85847 <limits.h> exists even on freestanding compilers. */
85849 #ifdef __STDC__
85850 # include <limits.h>
85851 #else
85852 # include <assert.h>
85853 #endif
85855 #undef $ac_func
85857 /* Override any gcc2 internal prototype to avoid an error. */
85858 #ifdef __cplusplus
85859 extern "C"
85861 #endif
85862 /* We use char because int might match the return type of a gcc2
85863 builtin and then its argument prototype would still apply. */
85864 char $ac_func ();
85865 /* The GNU C library defines this for functions which it implements
85866 to always fail with ENOSYS. Some functions are actually named
85867 something starting with __ and the normal name is an alias. */
85868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85869 choke me
85870 #else
85871 char (*f) () = $ac_func;
85872 #endif
85873 #ifdef __cplusplus
85875 #endif
85878 main ()
85880 return f != $ac_func;
85882 return 0;
85884 _ACEOF
85885 rm -f conftest.$ac_objext conftest$ac_exeext
85886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85887 (eval $ac_link) 2>conftest.er1
85888 ac_status=$?
85889 grep -v '^ *+' conftest.er1 >conftest.err
85890 rm -f conftest.er1
85891 cat conftest.err >&5
85892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85893 (exit $ac_status); } &&
85894 { ac_try='test -z "$ac_c_werror_flag"
85895 || test ! -s conftest.err'
85896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85897 (eval $ac_try) 2>&5
85898 ac_status=$?
85899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85900 (exit $ac_status); }; } &&
85901 { ac_try='test -s conftest$ac_exeext'
85902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85903 (eval $ac_try) 2>&5
85904 ac_status=$?
85905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85906 (exit $ac_status); }; }; then
85907 eval "$as_ac_var=yes"
85908 else
85909 echo "$as_me: failed program was:" >&5
85910 sed 's/^/| /' conftest.$ac_ext >&5
85912 eval "$as_ac_var=no"
85914 rm -f conftest.err conftest.$ac_objext \
85915 conftest$ac_exeext conftest.$ac_ext
85917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85919 if test `eval echo '${'$as_ac_var'}'` = yes; then
85920 cat >>confdefs.h <<_ACEOF
85921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85922 _ACEOF
85924 else
85925 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85927 done
85931 for ac_func in __signbit
85933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85934 echo "$as_me:$LINENO: checking for $ac_func" >&5
85935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85936 if eval "test \"\${$as_ac_var+set}\" = set"; then
85937 echo $ECHO_N "(cached) $ECHO_C" >&6
85938 else
85939 if test x$gcc_no_link = xyes; then
85940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85942 { (exit 1); exit 1; }; }
85944 cat >conftest.$ac_ext <<_ACEOF
85945 /* confdefs.h. */
85946 _ACEOF
85947 cat confdefs.h >>conftest.$ac_ext
85948 cat >>conftest.$ac_ext <<_ACEOF
85949 /* end confdefs.h. */
85950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85952 #define $ac_func innocuous_$ac_func
85954 /* System header to define __stub macros and hopefully few prototypes,
85955 which can conflict with char $ac_func (); below.
85956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85957 <limits.h> exists even on freestanding compilers. */
85959 #ifdef __STDC__
85960 # include <limits.h>
85961 #else
85962 # include <assert.h>
85963 #endif
85965 #undef $ac_func
85967 /* Override any gcc2 internal prototype to avoid an error. */
85968 #ifdef __cplusplus
85969 extern "C"
85971 #endif
85972 /* We use char because int might match the return type of a gcc2
85973 builtin and then its argument prototype would still apply. */
85974 char $ac_func ();
85975 /* The GNU C library defines this for functions which it implements
85976 to always fail with ENOSYS. Some functions are actually named
85977 something starting with __ and the normal name is an alias. */
85978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85979 choke me
85980 #else
85981 char (*f) () = $ac_func;
85982 #endif
85983 #ifdef __cplusplus
85985 #endif
85988 main ()
85990 return f != $ac_func;
85992 return 0;
85994 _ACEOF
85995 rm -f conftest.$ac_objext conftest$ac_exeext
85996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85997 (eval $ac_link) 2>conftest.er1
85998 ac_status=$?
85999 grep -v '^ *+' conftest.er1 >conftest.err
86000 rm -f conftest.er1
86001 cat conftest.err >&5
86002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86003 (exit $ac_status); } &&
86004 { ac_try='test -z "$ac_c_werror_flag"
86005 || test ! -s conftest.err'
86006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86007 (eval $ac_try) 2>&5
86008 ac_status=$?
86009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86010 (exit $ac_status); }; } &&
86011 { ac_try='test -s conftest$ac_exeext'
86012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86013 (eval $ac_try) 2>&5
86014 ac_status=$?
86015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86016 (exit $ac_status); }; }; then
86017 eval "$as_ac_var=yes"
86018 else
86019 echo "$as_me: failed program was:" >&5
86020 sed 's/^/| /' conftest.$ac_ext >&5
86022 eval "$as_ac_var=no"
86024 rm -f conftest.err conftest.$ac_objext \
86025 conftest$ac_exeext conftest.$ac_ext
86027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86029 if test `eval echo '${'$as_ac_var'}'` = yes; then
86030 cat >>confdefs.h <<_ACEOF
86031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86032 _ACEOF
86034 else
86035 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86037 done
86041 for ac_func in __signbitf
86043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86044 echo "$as_me:$LINENO: checking for $ac_func" >&5
86045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86046 if eval "test \"\${$as_ac_var+set}\" = set"; then
86047 echo $ECHO_N "(cached) $ECHO_C" >&6
86048 else
86049 if test x$gcc_no_link = xyes; then
86050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86052 { (exit 1); exit 1; }; }
86054 cat >conftest.$ac_ext <<_ACEOF
86055 /* confdefs.h. */
86056 _ACEOF
86057 cat confdefs.h >>conftest.$ac_ext
86058 cat >>conftest.$ac_ext <<_ACEOF
86059 /* end confdefs.h. */
86060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86062 #define $ac_func innocuous_$ac_func
86064 /* System header to define __stub macros and hopefully few prototypes,
86065 which can conflict with char $ac_func (); below.
86066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86067 <limits.h> exists even on freestanding compilers. */
86069 #ifdef __STDC__
86070 # include <limits.h>
86071 #else
86072 # include <assert.h>
86073 #endif
86075 #undef $ac_func
86077 /* Override any gcc2 internal prototype to avoid an error. */
86078 #ifdef __cplusplus
86079 extern "C"
86081 #endif
86082 /* We use char because int might match the return type of a gcc2
86083 builtin and then its argument prototype would still apply. */
86084 char $ac_func ();
86085 /* The GNU C library defines this for functions which it implements
86086 to always fail with ENOSYS. Some functions are actually named
86087 something starting with __ and the normal name is an alias. */
86088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86089 choke me
86090 #else
86091 char (*f) () = $ac_func;
86092 #endif
86093 #ifdef __cplusplus
86095 #endif
86098 main ()
86100 return f != $ac_func;
86102 return 0;
86104 _ACEOF
86105 rm -f conftest.$ac_objext conftest$ac_exeext
86106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86107 (eval $ac_link) 2>conftest.er1
86108 ac_status=$?
86109 grep -v '^ *+' conftest.er1 >conftest.err
86110 rm -f conftest.er1
86111 cat conftest.err >&5
86112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86113 (exit $ac_status); } &&
86114 { ac_try='test -z "$ac_c_werror_flag"
86115 || test ! -s conftest.err'
86116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86117 (eval $ac_try) 2>&5
86118 ac_status=$?
86119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86120 (exit $ac_status); }; } &&
86121 { ac_try='test -s conftest$ac_exeext'
86122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86123 (eval $ac_try) 2>&5
86124 ac_status=$?
86125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86126 (exit $ac_status); }; }; then
86127 eval "$as_ac_var=yes"
86128 else
86129 echo "$as_me: failed program was:" >&5
86130 sed 's/^/| /' conftest.$ac_ext >&5
86132 eval "$as_ac_var=no"
86134 rm -f conftest.err conftest.$ac_objext \
86135 conftest$ac_exeext conftest.$ac_ext
86137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86139 if test `eval echo '${'$as_ac_var'}'` = yes; then
86140 cat >>confdefs.h <<_ACEOF
86141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86142 _ACEOF
86144 else
86145 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86147 done
86150 if test x$ac_cv_func_copysignl = x"yes"; then
86152 for ac_func in __signbitl
86154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86155 echo "$as_me:$LINENO: checking for $ac_func" >&5
86156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86157 if eval "test \"\${$as_ac_var+set}\" = set"; then
86158 echo $ECHO_N "(cached) $ECHO_C" >&6
86159 else
86160 if test x$gcc_no_link = xyes; then
86161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86163 { (exit 1); exit 1; }; }
86165 cat >conftest.$ac_ext <<_ACEOF
86166 /* confdefs.h. */
86167 _ACEOF
86168 cat confdefs.h >>conftest.$ac_ext
86169 cat >>conftest.$ac_ext <<_ACEOF
86170 /* end confdefs.h. */
86171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86173 #define $ac_func innocuous_$ac_func
86175 /* System header to define __stub macros and hopefully few prototypes,
86176 which can conflict with char $ac_func (); below.
86177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86178 <limits.h> exists even on freestanding compilers. */
86180 #ifdef __STDC__
86181 # include <limits.h>
86182 #else
86183 # include <assert.h>
86184 #endif
86186 #undef $ac_func
86188 /* Override any gcc2 internal prototype to avoid an error. */
86189 #ifdef __cplusplus
86190 extern "C"
86192 #endif
86193 /* We use char because int might match the return type of a gcc2
86194 builtin and then its argument prototype would still apply. */
86195 char $ac_func ();
86196 /* The GNU C library defines this for functions which it implements
86197 to always fail with ENOSYS. Some functions are actually named
86198 something starting with __ and the normal name is an alias. */
86199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86200 choke me
86201 #else
86202 char (*f) () = $ac_func;
86203 #endif
86204 #ifdef __cplusplus
86206 #endif
86209 main ()
86211 return f != $ac_func;
86213 return 0;
86215 _ACEOF
86216 rm -f conftest.$ac_objext conftest$ac_exeext
86217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86218 (eval $ac_link) 2>conftest.er1
86219 ac_status=$?
86220 grep -v '^ *+' conftest.er1 >conftest.err
86221 rm -f conftest.er1
86222 cat conftest.err >&5
86223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86224 (exit $ac_status); } &&
86225 { ac_try='test -z "$ac_c_werror_flag"
86226 || test ! -s conftest.err'
86227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86228 (eval $ac_try) 2>&5
86229 ac_status=$?
86230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86231 (exit $ac_status); }; } &&
86232 { ac_try='test -s conftest$ac_exeext'
86233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86234 (eval $ac_try) 2>&5
86235 ac_status=$?
86236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86237 (exit $ac_status); }; }; then
86238 eval "$as_ac_var=yes"
86239 else
86240 echo "$as_me: failed program was:" >&5
86241 sed 's/^/| /' conftest.$ac_ext >&5
86243 eval "$as_ac_var=no"
86245 rm -f conftest.err conftest.$ac_objext \
86246 conftest$ac_exeext conftest.$ac_ext
86248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86250 if test `eval echo '${'$as_ac_var'}'` = yes; then
86251 cat >>confdefs.h <<_ACEOF
86252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86253 _ACEOF
86255 else
86256 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86258 done
86262 # Used in libmath/Makefile.am.
86263 if test -n "$LIBMATHOBJS"; then
86264 need_libmath=yes
86268 cat >>confdefs.h <<\_ACEOF
86269 #define HAVE_LC_MESSAGES 1
86270 _ACEOF
86272 cat >>confdefs.h <<\_ACEOF
86273 #define HAVE_GETPAGESIZE 1
86274 _ACEOF
86276 cat >>confdefs.h <<\_ACEOF
86277 #define HAVE_SETENV 1
86278 _ACEOF
86280 cat >>confdefs.h <<\_ACEOF
86281 #define HAVE_SIGSETJMP 1
86282 _ACEOF
86284 cat >>confdefs.h <<\_ACEOF
86285 #define HAVE_COPYSIGN 1
86286 _ACEOF
86288 cat >>confdefs.h <<\_ACEOF
86289 #define HAVE_COPYSIGNF 1
86290 _ACEOF
86292 cat >>confdefs.h <<\_ACEOF
86293 #define HAVE_FINITEF 1
86294 _ACEOF
86296 cat >>confdefs.h <<\_ACEOF
86297 #define HAVE_FINITE 1
86298 _ACEOF
86300 cat >>confdefs.h <<\_ACEOF
86301 #define HAVE_FREXPF 1
86302 _ACEOF
86304 cat >>confdefs.h <<\_ACEOF
86305 #define HAVE_HYPOT 1
86306 _ACEOF
86308 cat >>confdefs.h <<\_ACEOF
86309 #define HAVE_HYPOTF 1
86310 _ACEOF
86312 cat >>confdefs.h <<\_ACEOF
86313 #define HAVE_ISINF 1
86314 _ACEOF
86316 cat >>confdefs.h <<\_ACEOF
86317 #define HAVE_ISNAN 1
86318 _ACEOF
86320 cat >>confdefs.h <<\_ACEOF
86321 #define HAVE_ISNANF 1
86322 _ACEOF
86325 cat >>confdefs.h <<\_ACEOF
86326 #define HAVE_MMAP 1
86327 _ACEOF
86329 cat >>confdefs.h <<\_ACEOF
86330 #define HAVE_ACOSF 1
86331 _ACEOF
86333 cat >>confdefs.h <<\_ACEOF
86334 #define HAVE_ASINF 1
86335 _ACEOF
86337 cat >>confdefs.h <<\_ACEOF
86338 #define HAVE_ATAN2F 1
86339 _ACEOF
86341 cat >>confdefs.h <<\_ACEOF
86342 #define HAVE_ATANF 1
86343 _ACEOF
86345 cat >>confdefs.h <<\_ACEOF
86346 #define HAVE_CEILF 1
86347 _ACEOF
86349 cat >>confdefs.h <<\_ACEOF
86350 #define HAVE_COPYSIGN 1
86351 _ACEOF
86353 cat >>confdefs.h <<\_ACEOF
86354 #define HAVE_COPYSIGNF 1
86355 _ACEOF
86357 cat >>confdefs.h <<\_ACEOF
86358 #define HAVE_COSF 1
86359 _ACEOF
86361 cat >>confdefs.h <<\_ACEOF
86362 #define HAVE_COSHF 1
86363 _ACEOF
86365 cat >>confdefs.h <<\_ACEOF
86366 #define HAVE_EXPF 1
86367 _ACEOF
86369 cat >>confdefs.h <<\_ACEOF
86370 #define HAVE_FABSF 1
86371 _ACEOF
86373 cat >>confdefs.h <<\_ACEOF
86374 #define HAVE_FLOORF 1
86375 _ACEOF
86377 cat >>confdefs.h <<\_ACEOF
86378 #define HAVE_FMODF 1
86379 _ACEOF
86381 cat >>confdefs.h <<\_ACEOF
86382 #define HAVE_FREXPF 1
86383 _ACEOF
86385 cat >>confdefs.h <<\_ACEOF
86386 #define HAVE_LDEXPF 1
86387 _ACEOF
86389 cat >>confdefs.h <<\_ACEOF
86390 #define HAVE_LOG10F 1
86391 _ACEOF
86393 cat >>confdefs.h <<\_ACEOF
86394 #define HAVE_LOGF 1
86395 _ACEOF
86397 cat >>confdefs.h <<\_ACEOF
86398 #define HAVE_MODFF 1
86399 _ACEOF
86401 cat >>confdefs.h <<\_ACEOF
86402 #define HAVE_POWF 1
86403 _ACEOF
86405 cat >>confdefs.h <<\_ACEOF
86406 #define HAVE_SINF 1
86407 _ACEOF
86409 cat >>confdefs.h <<\_ACEOF
86410 #define HAVE_SINHF 1
86411 _ACEOF
86413 cat >>confdefs.h <<\_ACEOF
86414 #define HAVE_SQRTF 1
86415 _ACEOF
86417 cat >>confdefs.h <<\_ACEOF
86418 #define HAVE_TANF 1
86419 _ACEOF
86421 cat >>confdefs.h <<\_ACEOF
86422 #define HAVE_TANHF 1
86423 _ACEOF
86425 if test x"long_double_math_on_this_cpu" = x"yes"; then
86426 cat >>confdefs.h <<\_ACEOF
86427 #define HAVE_FINITEL 1
86428 _ACEOF
86430 cat >>confdefs.h <<\_ACEOF
86431 #define HAVE_ISINFL 1
86432 _ACEOF
86434 cat >>confdefs.h <<\_ACEOF
86435 #define HAVE_ISNANL 1
86436 _ACEOF
86440 *-hpux*)
86453 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86454 machine/endian.h machine/param.h sys/machine.h sys/types.h \
86455 fp.h locale.h float.h inttypes.h
86457 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86459 echo "$as_me:$LINENO: checking for $ac_header" >&5
86460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86462 echo $ECHO_N "(cached) $ECHO_C" >&6
86464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86466 else
86467 # Is the header compilable?
86468 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86469 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86470 cat >conftest.$ac_ext <<_ACEOF
86471 /* confdefs.h. */
86472 _ACEOF
86473 cat confdefs.h >>conftest.$ac_ext
86474 cat >>conftest.$ac_ext <<_ACEOF
86475 /* end confdefs.h. */
86476 $ac_includes_default
86477 #include <$ac_header>
86478 _ACEOF
86479 rm -f conftest.$ac_objext
86480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86481 (eval $ac_compile) 2>conftest.er1
86482 ac_status=$?
86483 grep -v '^ *+' conftest.er1 >conftest.err
86484 rm -f conftest.er1
86485 cat conftest.err >&5
86486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86487 (exit $ac_status); } &&
86488 { ac_try='test -z "$ac_c_werror_flag"
86489 || test ! -s conftest.err'
86490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86491 (eval $ac_try) 2>&5
86492 ac_status=$?
86493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86494 (exit $ac_status); }; } &&
86495 { ac_try='test -s conftest.$ac_objext'
86496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86497 (eval $ac_try) 2>&5
86498 ac_status=$?
86499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86500 (exit $ac_status); }; }; then
86501 ac_header_compiler=yes
86502 else
86503 echo "$as_me: failed program was:" >&5
86504 sed 's/^/| /' conftest.$ac_ext >&5
86506 ac_header_compiler=no
86508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86509 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86510 echo "${ECHO_T}$ac_header_compiler" >&6
86512 # Is the header present?
86513 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86514 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86515 cat >conftest.$ac_ext <<_ACEOF
86516 /* confdefs.h. */
86517 _ACEOF
86518 cat confdefs.h >>conftest.$ac_ext
86519 cat >>conftest.$ac_ext <<_ACEOF
86520 /* end confdefs.h. */
86521 #include <$ac_header>
86522 _ACEOF
86523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86524 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86525 ac_status=$?
86526 grep -v '^ *+' conftest.er1 >conftest.err
86527 rm -f conftest.er1
86528 cat conftest.err >&5
86529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86530 (exit $ac_status); } >/dev/null; then
86531 if test -s conftest.err; then
86532 ac_cpp_err=$ac_c_preproc_warn_flag
86533 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86534 else
86535 ac_cpp_err=
86537 else
86538 ac_cpp_err=yes
86540 if test -z "$ac_cpp_err"; then
86541 ac_header_preproc=yes
86542 else
86543 echo "$as_me: failed program was:" >&5
86544 sed 's/^/| /' conftest.$ac_ext >&5
86546 ac_header_preproc=no
86548 rm -f conftest.err conftest.$ac_ext
86549 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86550 echo "${ECHO_T}$ac_header_preproc" >&6
86552 # So? What about this header?
86553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86554 yes:no: )
86555 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86556 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86558 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86559 ac_header_preproc=yes
86561 no:yes:* )
86562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86565 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86566 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86567 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86568 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86569 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86571 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86572 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86573 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86575 cat <<\_ASBOX
86576 ## ----------------------------------------- ##
86577 ## Report this to the package-unused lists. ##
86578 ## ----------------------------------------- ##
86579 _ASBOX
86581 sed "s/^/$as_me: WARNING: /" >&2
86583 esac
86584 echo "$as_me:$LINENO: checking for $ac_header" >&5
86585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86587 echo $ECHO_N "(cached) $ECHO_C" >&6
86588 else
86589 eval "$as_ac_Header=\$ac_header_preproc"
86591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86596 cat >>confdefs.h <<_ACEOF
86597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86598 _ACEOF
86602 done
86604 SECTION_FLAGS='-ffunction-sections -fdata-sections'
86607 # If we're not using GNU ld, then there's no point in even trying these
86608 # tests. Check for that first. We should have already tested for gld
86609 # by now (in libtool), but require it now just to be safe...
86610 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86611 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86615 # The name set by libtool depends on the version of libtool. Shame on us
86616 # for depending on an impl detail, but c'est la vie. Older versions used
86617 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86618 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86619 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86620 # set (hence we're using an older libtool), then set it.
86621 if test x${with_gnu_ld+set} != xset; then
86622 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86623 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86624 with_gnu_ld=no
86625 else
86626 with_gnu_ld=$ac_cv_prog_gnu_ld
86630 # Start by getting the version number. I think the libtool test already
86631 # does some of this, but throws away the result.
86632 glibcxx_ld_is_gold=no
86633 if test x"$with_gnu_ld" = x"yes"; then
86634 echo "$as_me:$LINENO: checking for ld version" >&5
86635 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86637 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
86638 glibcxx_ld_is_gold=yes
86640 ldver=`$LD --version 2>/dev/null | head -1 | \
86641 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
86643 glibcxx_gnu_ld_version=`echo $ldver | \
86644 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86645 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86646 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86649 # Set --gc-sections.
86650 glibcxx_have_gc_sections=no
86651 if test "$glibcxx_ld_is_gold" = "yes"; then
86652 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
86653 glibcxx_have_gc_sections=yes
86655 else
86656 glibcxx_gcsections_min_ld=21602
86657 if test x"$with_gnu_ld" = x"yes" &&
86658 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86659 glibcxx_have_gc_sections=yes
86662 if test "$glibcxx_have_gc_sections" = "yes"; then
86663 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
86664 # NB: This flag only works reliably after 2.16.1. Configure tests
86665 # for this are difficult, so hard wire a value that should work.
86667 ac_test_CFLAGS="${CFLAGS+set}"
86668 ac_save_CFLAGS="$CFLAGS"
86669 CFLAGS='-Wl,--gc-sections'
86671 # Check for -Wl,--gc-sections
86672 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86673 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86674 if test x$gcc_no_link = xyes; then
86675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86677 { (exit 1); exit 1; }; }
86679 cat >conftest.$ac_ext <<_ACEOF
86680 /* confdefs.h. */
86681 _ACEOF
86682 cat confdefs.h >>conftest.$ac_ext
86683 cat >>conftest.$ac_ext <<_ACEOF
86684 /* end confdefs.h. */
86685 int one(void) { return 1; }
86686 int two(void) { return 2; }
86689 main ()
86691 two();
86693 return 0;
86695 _ACEOF
86696 rm -f conftest.$ac_objext conftest$ac_exeext
86697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86698 (eval $ac_link) 2>conftest.er1
86699 ac_status=$?
86700 grep -v '^ *+' conftest.er1 >conftest.err
86701 rm -f conftest.er1
86702 cat conftest.err >&5
86703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86704 (exit $ac_status); } &&
86705 { ac_try='test -z "$ac_c_werror_flag"
86706 || test ! -s conftest.err'
86707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86708 (eval $ac_try) 2>&5
86709 ac_status=$?
86710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86711 (exit $ac_status); }; } &&
86712 { ac_try='test -s conftest$ac_exeext'
86713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86714 (eval $ac_try) 2>&5
86715 ac_status=$?
86716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86717 (exit $ac_status); }; }; then
86718 ac_gcsections=yes
86719 else
86720 echo "$as_me: failed program was:" >&5
86721 sed 's/^/| /' conftest.$ac_ext >&5
86723 ac_gcsections=no
86725 rm -f conftest.err conftest.$ac_objext \
86726 conftest$ac_exeext conftest.$ac_ext
86727 if test "$ac_gcsections" = "yes"; then
86728 rm -f conftest.c
86729 touch conftest.c
86730 if $CC -c conftest.c; then
86731 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86732 grep "Warning: gc-sections option ignored" > /dev/null; then
86733 ac_gcsections=no
86736 rm -f conftest.c conftest.o conftest
86738 if test "$ac_gcsections" = "yes"; then
86739 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86741 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86742 echo "${ECHO_T}$ac_gcsections" >&6
86744 if test "$ac_test_CFLAGS" = set; then
86745 CFLAGS="$ac_save_CFLAGS"
86746 else
86747 # this is the suspicious part
86748 CFLAGS=''
86752 # Set -z,relro.
86753 # Note this is only for shared objects.
86754 ac_ld_relro=no
86755 if test x"$with_gnu_ld" = x"yes"; then
86756 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86757 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86758 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86759 if test -n "$cxx_z_relo"; then
86760 OPT_LDFLAGS="-Wl,-z,relro"
86761 ac_ld_relro=yes
86763 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86764 echo "${ECHO_T}$ac_ld_relro" >&6
86767 # Set linker optimization flags.
86768 if test x"$with_gnu_ld" = x"yes"; then
86769 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86777 echo "$as_me:$LINENO: checking for main in -lm" >&5
86778 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86779 if test "${ac_cv_lib_m_main+set}" = set; then
86780 echo $ECHO_N "(cached) $ECHO_C" >&6
86781 else
86782 ac_check_lib_save_LIBS=$LIBS
86783 LIBS="-lm $LIBS"
86784 if test x$gcc_no_link = xyes; then
86785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86787 { (exit 1); exit 1; }; }
86789 cat >conftest.$ac_ext <<_ACEOF
86790 /* confdefs.h. */
86791 _ACEOF
86792 cat confdefs.h >>conftest.$ac_ext
86793 cat >>conftest.$ac_ext <<_ACEOF
86794 /* end confdefs.h. */
86798 main ()
86800 main ();
86802 return 0;
86804 _ACEOF
86805 rm -f conftest.$ac_objext conftest$ac_exeext
86806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86807 (eval $ac_link) 2>conftest.er1
86808 ac_status=$?
86809 grep -v '^ *+' conftest.er1 >conftest.err
86810 rm -f conftest.er1
86811 cat conftest.err >&5
86812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86813 (exit $ac_status); } &&
86814 { ac_try='test -z "$ac_c_werror_flag"
86815 || test ! -s conftest.err'
86816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86817 (eval $ac_try) 2>&5
86818 ac_status=$?
86819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86820 (exit $ac_status); }; } &&
86821 { ac_try='test -s conftest$ac_exeext'
86822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86823 (eval $ac_try) 2>&5
86824 ac_status=$?
86825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86826 (exit $ac_status); }; }; then
86827 ac_cv_lib_m_main=yes
86828 else
86829 echo "$as_me: failed program was:" >&5
86830 sed 's/^/| /' conftest.$ac_ext >&5
86832 ac_cv_lib_m_main=no
86834 rm -f conftest.err conftest.$ac_objext \
86835 conftest$ac_exeext conftest.$ac_ext
86836 LIBS=$ac_check_lib_save_LIBS
86838 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86839 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86840 if test $ac_cv_lib_m_main = yes; then
86841 cat >>confdefs.h <<_ACEOF
86842 #define HAVE_LIBM 1
86843 _ACEOF
86845 LIBS="-lm $LIBS"
86850 for ac_func in copysignf
86852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86853 echo "$as_me:$LINENO: checking for $ac_func" >&5
86854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86855 if eval "test \"\${$as_ac_var+set}\" = set"; then
86856 echo $ECHO_N "(cached) $ECHO_C" >&6
86857 else
86858 if test x$gcc_no_link = xyes; then
86859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86861 { (exit 1); exit 1; }; }
86863 cat >conftest.$ac_ext <<_ACEOF
86864 /* confdefs.h. */
86865 _ACEOF
86866 cat confdefs.h >>conftest.$ac_ext
86867 cat >>conftest.$ac_ext <<_ACEOF
86868 /* end confdefs.h. */
86869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86871 #define $ac_func innocuous_$ac_func
86873 /* System header to define __stub macros and hopefully few prototypes,
86874 which can conflict with char $ac_func (); below.
86875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86876 <limits.h> exists even on freestanding compilers. */
86878 #ifdef __STDC__
86879 # include <limits.h>
86880 #else
86881 # include <assert.h>
86882 #endif
86884 #undef $ac_func
86886 /* Override any gcc2 internal prototype to avoid an error. */
86887 #ifdef __cplusplus
86888 extern "C"
86890 #endif
86891 /* We use char because int might match the return type of a gcc2
86892 builtin and then its argument prototype would still apply. */
86893 char $ac_func ();
86894 /* The GNU C library defines this for functions which it implements
86895 to always fail with ENOSYS. Some functions are actually named
86896 something starting with __ and the normal name is an alias. */
86897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86898 choke me
86899 #else
86900 char (*f) () = $ac_func;
86901 #endif
86902 #ifdef __cplusplus
86904 #endif
86907 main ()
86909 return f != $ac_func;
86911 return 0;
86913 _ACEOF
86914 rm -f conftest.$ac_objext conftest$ac_exeext
86915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86916 (eval $ac_link) 2>conftest.er1
86917 ac_status=$?
86918 grep -v '^ *+' conftest.er1 >conftest.err
86919 rm -f conftest.er1
86920 cat conftest.err >&5
86921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86922 (exit $ac_status); } &&
86923 { ac_try='test -z "$ac_c_werror_flag"
86924 || test ! -s conftest.err'
86925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86926 (eval $ac_try) 2>&5
86927 ac_status=$?
86928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86929 (exit $ac_status); }; } &&
86930 { ac_try='test -s conftest$ac_exeext'
86931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86932 (eval $ac_try) 2>&5
86933 ac_status=$?
86934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86935 (exit $ac_status); }; }; then
86936 eval "$as_ac_var=yes"
86937 else
86938 echo "$as_me: failed program was:" >&5
86939 sed 's/^/| /' conftest.$ac_ext >&5
86941 eval "$as_ac_var=no"
86943 rm -f conftest.err conftest.$ac_objext \
86944 conftest$ac_exeext conftest.$ac_ext
86946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86948 if test `eval echo '${'$as_ac_var'}'` = yes; then
86949 cat >>confdefs.h <<_ACEOF
86950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86951 _ACEOF
86953 else
86954 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86956 done
86960 for ac_func in __signbit
86962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86963 echo "$as_me:$LINENO: checking for $ac_func" >&5
86964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86965 if eval "test \"\${$as_ac_var+set}\" = set"; then
86966 echo $ECHO_N "(cached) $ECHO_C" >&6
86967 else
86968 if test x$gcc_no_link = xyes; then
86969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86971 { (exit 1); exit 1; }; }
86973 cat >conftest.$ac_ext <<_ACEOF
86974 /* confdefs.h. */
86975 _ACEOF
86976 cat confdefs.h >>conftest.$ac_ext
86977 cat >>conftest.$ac_ext <<_ACEOF
86978 /* end confdefs.h. */
86979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86981 #define $ac_func innocuous_$ac_func
86983 /* System header to define __stub macros and hopefully few prototypes,
86984 which can conflict with char $ac_func (); below.
86985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86986 <limits.h> exists even on freestanding compilers. */
86988 #ifdef __STDC__
86989 # include <limits.h>
86990 #else
86991 # include <assert.h>
86992 #endif
86994 #undef $ac_func
86996 /* Override any gcc2 internal prototype to avoid an error. */
86997 #ifdef __cplusplus
86998 extern "C"
87000 #endif
87001 /* We use char because int might match the return type of a gcc2
87002 builtin and then its argument prototype would still apply. */
87003 char $ac_func ();
87004 /* The GNU C library defines this for functions which it implements
87005 to always fail with ENOSYS. Some functions are actually named
87006 something starting with __ and the normal name is an alias. */
87007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87008 choke me
87009 #else
87010 char (*f) () = $ac_func;
87011 #endif
87012 #ifdef __cplusplus
87014 #endif
87017 main ()
87019 return f != $ac_func;
87021 return 0;
87023 _ACEOF
87024 rm -f conftest.$ac_objext conftest$ac_exeext
87025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87026 (eval $ac_link) 2>conftest.er1
87027 ac_status=$?
87028 grep -v '^ *+' conftest.er1 >conftest.err
87029 rm -f conftest.er1
87030 cat conftest.err >&5
87031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87032 (exit $ac_status); } &&
87033 { ac_try='test -z "$ac_c_werror_flag"
87034 || test ! -s conftest.err'
87035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87036 (eval $ac_try) 2>&5
87037 ac_status=$?
87038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87039 (exit $ac_status); }; } &&
87040 { ac_try='test -s conftest$ac_exeext'
87041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87042 (eval $ac_try) 2>&5
87043 ac_status=$?
87044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87045 (exit $ac_status); }; }; then
87046 eval "$as_ac_var=yes"
87047 else
87048 echo "$as_me: failed program was:" >&5
87049 sed 's/^/| /' conftest.$ac_ext >&5
87051 eval "$as_ac_var=no"
87053 rm -f conftest.err conftest.$ac_objext \
87054 conftest$ac_exeext conftest.$ac_ext
87056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87058 if test `eval echo '${'$as_ac_var'}'` = yes; then
87059 cat >>confdefs.h <<_ACEOF
87060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87061 _ACEOF
87063 else
87064 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87066 done
87070 for ac_func in __signbitf
87072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87073 echo "$as_me:$LINENO: checking for $ac_func" >&5
87074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87075 if eval "test \"\${$as_ac_var+set}\" = set"; then
87076 echo $ECHO_N "(cached) $ECHO_C" >&6
87077 else
87078 if test x$gcc_no_link = xyes; then
87079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87081 { (exit 1); exit 1; }; }
87083 cat >conftest.$ac_ext <<_ACEOF
87084 /* confdefs.h. */
87085 _ACEOF
87086 cat confdefs.h >>conftest.$ac_ext
87087 cat >>conftest.$ac_ext <<_ACEOF
87088 /* end confdefs.h. */
87089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87091 #define $ac_func innocuous_$ac_func
87093 /* System header to define __stub macros and hopefully few prototypes,
87094 which can conflict with char $ac_func (); below.
87095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87096 <limits.h> exists even on freestanding compilers. */
87098 #ifdef __STDC__
87099 # include <limits.h>
87100 #else
87101 # include <assert.h>
87102 #endif
87104 #undef $ac_func
87106 /* Override any gcc2 internal prototype to avoid an error. */
87107 #ifdef __cplusplus
87108 extern "C"
87110 #endif
87111 /* We use char because int might match the return type of a gcc2
87112 builtin and then its argument prototype would still apply. */
87113 char $ac_func ();
87114 /* The GNU C library defines this for functions which it implements
87115 to always fail with ENOSYS. Some functions are actually named
87116 something starting with __ and the normal name is an alias. */
87117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87118 choke me
87119 #else
87120 char (*f) () = $ac_func;
87121 #endif
87122 #ifdef __cplusplus
87124 #endif
87127 main ()
87129 return f != $ac_func;
87131 return 0;
87133 _ACEOF
87134 rm -f conftest.$ac_objext conftest$ac_exeext
87135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87136 (eval $ac_link) 2>conftest.er1
87137 ac_status=$?
87138 grep -v '^ *+' conftest.er1 >conftest.err
87139 rm -f conftest.er1
87140 cat conftest.err >&5
87141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87142 (exit $ac_status); } &&
87143 { ac_try='test -z "$ac_c_werror_flag"
87144 || test ! -s conftest.err'
87145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87146 (eval $ac_try) 2>&5
87147 ac_status=$?
87148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87149 (exit $ac_status); }; } &&
87150 { ac_try='test -s conftest$ac_exeext'
87151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87152 (eval $ac_try) 2>&5
87153 ac_status=$?
87154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87155 (exit $ac_status); }; }; then
87156 eval "$as_ac_var=yes"
87157 else
87158 echo "$as_me: failed program was:" >&5
87159 sed 's/^/| /' conftest.$ac_ext >&5
87161 eval "$as_ac_var=no"
87163 rm -f conftest.err conftest.$ac_objext \
87164 conftest$ac_exeext conftest.$ac_ext
87166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87168 if test `eval echo '${'$as_ac_var'}'` = yes; then
87169 cat >>confdefs.h <<_ACEOF
87170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87171 _ACEOF
87173 else
87174 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87176 done
87179 if test x$ac_cv_func_copysignl = x"yes"; then
87181 for ac_func in __signbitl
87183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87184 echo "$as_me:$LINENO: checking for $ac_func" >&5
87185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87186 if eval "test \"\${$as_ac_var+set}\" = set"; then
87187 echo $ECHO_N "(cached) $ECHO_C" >&6
87188 else
87189 if test x$gcc_no_link = xyes; then
87190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87192 { (exit 1); exit 1; }; }
87194 cat >conftest.$ac_ext <<_ACEOF
87195 /* confdefs.h. */
87196 _ACEOF
87197 cat confdefs.h >>conftest.$ac_ext
87198 cat >>conftest.$ac_ext <<_ACEOF
87199 /* end confdefs.h. */
87200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87202 #define $ac_func innocuous_$ac_func
87204 /* System header to define __stub macros and hopefully few prototypes,
87205 which can conflict with char $ac_func (); below.
87206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87207 <limits.h> exists even on freestanding compilers. */
87209 #ifdef __STDC__
87210 # include <limits.h>
87211 #else
87212 # include <assert.h>
87213 #endif
87215 #undef $ac_func
87217 /* Override any gcc2 internal prototype to avoid an error. */
87218 #ifdef __cplusplus
87219 extern "C"
87221 #endif
87222 /* We use char because int might match the return type of a gcc2
87223 builtin and then its argument prototype would still apply. */
87224 char $ac_func ();
87225 /* The GNU C library defines this for functions which it implements
87226 to always fail with ENOSYS. Some functions are actually named
87227 something starting with __ and the normal name is an alias. */
87228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87229 choke me
87230 #else
87231 char (*f) () = $ac_func;
87232 #endif
87233 #ifdef __cplusplus
87235 #endif
87238 main ()
87240 return f != $ac_func;
87242 return 0;
87244 _ACEOF
87245 rm -f conftest.$ac_objext conftest$ac_exeext
87246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87247 (eval $ac_link) 2>conftest.er1
87248 ac_status=$?
87249 grep -v '^ *+' conftest.er1 >conftest.err
87250 rm -f conftest.er1
87251 cat conftest.err >&5
87252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87253 (exit $ac_status); } &&
87254 { ac_try='test -z "$ac_c_werror_flag"
87255 || test ! -s conftest.err'
87256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87257 (eval $ac_try) 2>&5
87258 ac_status=$?
87259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87260 (exit $ac_status); }; } &&
87261 { ac_try='test -s conftest$ac_exeext'
87262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87263 (eval $ac_try) 2>&5
87264 ac_status=$?
87265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87266 (exit $ac_status); }; }; then
87267 eval "$as_ac_var=yes"
87268 else
87269 echo "$as_me: failed program was:" >&5
87270 sed 's/^/| /' conftest.$ac_ext >&5
87272 eval "$as_ac_var=no"
87274 rm -f conftest.err conftest.$ac_objext \
87275 conftest$ac_exeext conftest.$ac_ext
87277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87279 if test `eval echo '${'$as_ac_var'}'` = yes; then
87280 cat >>confdefs.h <<_ACEOF
87281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87282 _ACEOF
87284 else
87285 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87287 done
87291 # Used in libmath/Makefile.am.
87292 if test -n "$LIBMATHOBJS"; then
87293 need_libmath=yes
87297 cat >>confdefs.h <<\_ACEOF
87298 #define HAVE_COPYSIGN 1
87299 _ACEOF
87301 cat >>confdefs.h <<\_ACEOF
87302 #define HAVE_COPYSIGNF 1
87303 _ACEOF
87305 cat >>confdefs.h <<\_ACEOF
87306 #define HAVE_FREXPF 1
87307 _ACEOF
87309 cat >>confdefs.h <<\_ACEOF
87310 #define HAVE_HYPOT 1
87311 _ACEOF
87313 case "$target" in
87314 *-hpux10*)
87315 cat >>confdefs.h <<\_ACEOF
87316 #define HAVE_FINITE 1
87317 _ACEOF
87319 cat >>confdefs.h <<\_ACEOF
87320 #define HAVE_FINITEF 1
87321 _ACEOF
87323 cat >>confdefs.h <<\_ACEOF
87324 #define HAVE_ISINF 1
87325 _ACEOF
87327 cat >>confdefs.h <<\_ACEOF
87328 #define HAVE_ISINFF 1
87329 _ACEOF
87331 cat >>confdefs.h <<\_ACEOF
87332 #define HAVE_ISNAN 1
87333 _ACEOF
87335 cat >>confdefs.h <<\_ACEOF
87336 #define HAVE_ISNANF 1
87337 _ACEOF
87340 esac
87342 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
87361 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87362 machine/endian.h machine/param.h sys/machine.h sys/types.h \
87363 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h \
87364 sys/ipc.h sys/sem.h gconf.h
87366 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87368 echo "$as_me:$LINENO: checking for $ac_header" >&5
87369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87371 echo $ECHO_N "(cached) $ECHO_C" >&6
87373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87374 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87375 else
87376 # Is the header compilable?
87377 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87378 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87379 cat >conftest.$ac_ext <<_ACEOF
87380 /* confdefs.h. */
87381 _ACEOF
87382 cat confdefs.h >>conftest.$ac_ext
87383 cat >>conftest.$ac_ext <<_ACEOF
87384 /* end confdefs.h. */
87385 $ac_includes_default
87386 #include <$ac_header>
87387 _ACEOF
87388 rm -f conftest.$ac_objext
87389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87390 (eval $ac_compile) 2>conftest.er1
87391 ac_status=$?
87392 grep -v '^ *+' conftest.er1 >conftest.err
87393 rm -f conftest.er1
87394 cat conftest.err >&5
87395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87396 (exit $ac_status); } &&
87397 { ac_try='test -z "$ac_c_werror_flag"
87398 || test ! -s conftest.err'
87399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87400 (eval $ac_try) 2>&5
87401 ac_status=$?
87402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87403 (exit $ac_status); }; } &&
87404 { ac_try='test -s conftest.$ac_objext'
87405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87406 (eval $ac_try) 2>&5
87407 ac_status=$?
87408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87409 (exit $ac_status); }; }; then
87410 ac_header_compiler=yes
87411 else
87412 echo "$as_me: failed program was:" >&5
87413 sed 's/^/| /' conftest.$ac_ext >&5
87415 ac_header_compiler=no
87417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87418 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87419 echo "${ECHO_T}$ac_header_compiler" >&6
87421 # Is the header present?
87422 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87423 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87424 cat >conftest.$ac_ext <<_ACEOF
87425 /* confdefs.h. */
87426 _ACEOF
87427 cat confdefs.h >>conftest.$ac_ext
87428 cat >>conftest.$ac_ext <<_ACEOF
87429 /* end confdefs.h. */
87430 #include <$ac_header>
87431 _ACEOF
87432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87433 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87434 ac_status=$?
87435 grep -v '^ *+' conftest.er1 >conftest.err
87436 rm -f conftest.er1
87437 cat conftest.err >&5
87438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87439 (exit $ac_status); } >/dev/null; then
87440 if test -s conftest.err; then
87441 ac_cpp_err=$ac_c_preproc_warn_flag
87442 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87443 else
87444 ac_cpp_err=
87446 else
87447 ac_cpp_err=yes
87449 if test -z "$ac_cpp_err"; then
87450 ac_header_preproc=yes
87451 else
87452 echo "$as_me: failed program was:" >&5
87453 sed 's/^/| /' conftest.$ac_ext >&5
87455 ac_header_preproc=no
87457 rm -f conftest.err conftest.$ac_ext
87458 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87459 echo "${ECHO_T}$ac_header_preproc" >&6
87461 # So? What about this header?
87462 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87463 yes:no: )
87464 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87465 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87466 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87467 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87468 ac_header_preproc=yes
87470 no:yes:* )
87471 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87472 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87473 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87474 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87475 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87476 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87477 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87478 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87479 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87480 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87481 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87482 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87484 cat <<\_ASBOX
87485 ## ----------------------------------------- ##
87486 ## Report this to the package-unused lists. ##
87487 ## ----------------------------------------- ##
87488 _ASBOX
87490 sed "s/^/$as_me: WARNING: /" >&2
87492 esac
87493 echo "$as_me:$LINENO: checking for $ac_header" >&5
87494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87496 echo $ECHO_N "(cached) $ECHO_C" >&6
87497 else
87498 eval "$as_ac_Header=\$ac_header_preproc"
87500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87505 cat >>confdefs.h <<_ACEOF
87506 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87507 _ACEOF
87511 done
87513 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87516 # All these tests are for C++; save the language and the compiler flags.
87517 # The CXXFLAGS thing is suspicious, but based on similar bits previously
87518 # found in GLIBCXX_CONFIGURE.
87521 ac_ext=cc
87522 ac_cpp='$CXXCPP $CPPFLAGS'
87523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87527 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87528 ac_save_CXXFLAGS="$CXXFLAGS"
87530 # Check for maintainer-mode bits.
87531 if test x"$USE_MAINTAINER_MODE" = xno; then
87532 WERROR=''
87533 else
87534 WERROR='-Werror'
87537 # Check for -ffunction-sections -fdata-sections
87538 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
87539 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
87540 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
87541 cat >conftest.$ac_ext <<_ACEOF
87542 /* confdefs.h. */
87543 _ACEOF
87544 cat confdefs.h >>conftest.$ac_ext
87545 cat >>conftest.$ac_ext <<_ACEOF
87546 /* end confdefs.h. */
87547 int foo; void bar() { };
87549 main ()
87553 return 0;
87555 _ACEOF
87556 rm -f conftest.$ac_objext
87557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87558 (eval $ac_compile) 2>conftest.er1
87559 ac_status=$?
87560 grep -v '^ *+' conftest.er1 >conftest.err
87561 rm -f conftest.er1
87562 cat conftest.err >&5
87563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87564 (exit $ac_status); } &&
87565 { ac_try='test -z "$ac_cxx_werror_flag"
87566 || test ! -s conftest.err'
87567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87568 (eval $ac_try) 2>&5
87569 ac_status=$?
87570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87571 (exit $ac_status); }; } &&
87572 { ac_try='test -s conftest.$ac_objext'
87573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87574 (eval $ac_try) 2>&5
87575 ac_status=$?
87576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87577 (exit $ac_status); }; }; then
87578 ac_fdsections=yes
87579 else
87580 echo "$as_me: failed program was:" >&5
87581 sed 's/^/| /' conftest.$ac_ext >&5
87583 ac_fdsections=no
87585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87586 if test "$ac_test_CXXFLAGS" = set; then
87587 CXXFLAGS="$ac_save_CXXFLAGS"
87588 else
87589 # this is the suspicious part
87590 CXXFLAGS=''
87592 if test x"$ac_fdsections" = x"yes"; then
87593 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87595 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
87596 echo "${ECHO_T}$ac_fdsections" >&6
87598 ac_ext=c
87599 ac_cpp='$CPP $CPPFLAGS'
87600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87608 # If we're not using GNU ld, then there's no point in even trying these
87609 # tests. Check for that first. We should have already tested for gld
87610 # by now (in libtool), but require it now just to be safe...
87611 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87612 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87616 # The name set by libtool depends on the version of libtool. Shame on us
87617 # for depending on an impl detail, but c'est la vie. Older versions used
87618 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87619 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87620 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87621 # set (hence we're using an older libtool), then set it.
87622 if test x${with_gnu_ld+set} != xset; then
87623 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87624 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87625 with_gnu_ld=no
87626 else
87627 with_gnu_ld=$ac_cv_prog_gnu_ld
87631 # Start by getting the version number. I think the libtool test already
87632 # does some of this, but throws away the result.
87633 glibcxx_ld_is_gold=no
87634 if test x"$with_gnu_ld" = x"yes"; then
87635 echo "$as_me:$LINENO: checking for ld version" >&5
87636 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87638 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
87639 glibcxx_ld_is_gold=yes
87641 ldver=`$LD --version 2>/dev/null | head -1 | \
87642 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
87644 glibcxx_gnu_ld_version=`echo $ldver | \
87645 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87646 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87647 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87650 # Set --gc-sections.
87651 glibcxx_have_gc_sections=no
87652 if test "$glibcxx_ld_is_gold" = "yes"; then
87653 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
87654 glibcxx_have_gc_sections=yes
87656 else
87657 glibcxx_gcsections_min_ld=21602
87658 if test x"$with_gnu_ld" = x"yes" &&
87659 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87660 glibcxx_have_gc_sections=yes
87663 if test "$glibcxx_have_gc_sections" = "yes"; then
87664 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
87665 # NB: This flag only works reliably after 2.16.1. Configure tests
87666 # for this are difficult, so hard wire a value that should work.
87668 ac_test_CFLAGS="${CFLAGS+set}"
87669 ac_save_CFLAGS="$CFLAGS"
87670 CFLAGS='-Wl,--gc-sections'
87672 # Check for -Wl,--gc-sections
87673 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87674 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87675 if test x$gcc_no_link = xyes; then
87676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87678 { (exit 1); exit 1; }; }
87680 cat >conftest.$ac_ext <<_ACEOF
87681 /* confdefs.h. */
87682 _ACEOF
87683 cat confdefs.h >>conftest.$ac_ext
87684 cat >>conftest.$ac_ext <<_ACEOF
87685 /* end confdefs.h. */
87686 int one(void) { return 1; }
87687 int two(void) { return 2; }
87690 main ()
87692 two();
87694 return 0;
87696 _ACEOF
87697 rm -f conftest.$ac_objext conftest$ac_exeext
87698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87699 (eval $ac_link) 2>conftest.er1
87700 ac_status=$?
87701 grep -v '^ *+' conftest.er1 >conftest.err
87702 rm -f conftest.er1
87703 cat conftest.err >&5
87704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87705 (exit $ac_status); } &&
87706 { ac_try='test -z "$ac_c_werror_flag"
87707 || test ! -s conftest.err'
87708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87709 (eval $ac_try) 2>&5
87710 ac_status=$?
87711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87712 (exit $ac_status); }; } &&
87713 { ac_try='test -s conftest$ac_exeext'
87714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87715 (eval $ac_try) 2>&5
87716 ac_status=$?
87717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87718 (exit $ac_status); }; }; then
87719 ac_gcsections=yes
87720 else
87721 echo "$as_me: failed program was:" >&5
87722 sed 's/^/| /' conftest.$ac_ext >&5
87724 ac_gcsections=no
87726 rm -f conftest.err conftest.$ac_objext \
87727 conftest$ac_exeext conftest.$ac_ext
87728 if test "$ac_gcsections" = "yes"; then
87729 rm -f conftest.c
87730 touch conftest.c
87731 if $CC -c conftest.c; then
87732 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87733 grep "Warning: gc-sections option ignored" > /dev/null; then
87734 ac_gcsections=no
87737 rm -f conftest.c conftest.o conftest
87739 if test "$ac_gcsections" = "yes"; then
87740 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87742 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87743 echo "${ECHO_T}$ac_gcsections" >&6
87745 if test "$ac_test_CFLAGS" = set; then
87746 CFLAGS="$ac_save_CFLAGS"
87747 else
87748 # this is the suspicious part
87749 CFLAGS=''
87753 # Set -z,relro.
87754 # Note this is only for shared objects.
87755 ac_ld_relro=no
87756 if test x"$with_gnu_ld" = x"yes"; then
87757 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87758 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87759 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87760 if test -n "$cxx_z_relo"; then
87761 OPT_LDFLAGS="-Wl,-z,relro"
87762 ac_ld_relro=yes
87764 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87765 echo "${ECHO_T}$ac_ld_relro" >&6
87768 # Set linker optimization flags.
87769 if test x"$with_gnu_ld" = x"yes"; then
87770 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87777 ac_test_CXXFLAGS="${CXXFLAGS+set}"
87778 ac_save_CXXFLAGS="$CXXFLAGS"
87779 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
87781 echo "$as_me:$LINENO: checking for sin in -lm" >&5
87782 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
87783 if test "${ac_cv_lib_m_sin+set}" = set; then
87784 echo $ECHO_N "(cached) $ECHO_C" >&6
87785 else
87786 ac_check_lib_save_LIBS=$LIBS
87787 LIBS="-lm $LIBS"
87788 if test x$gcc_no_link = xyes; then
87789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87791 { (exit 1); exit 1; }; }
87793 cat >conftest.$ac_ext <<_ACEOF
87794 /* confdefs.h. */
87795 _ACEOF
87796 cat confdefs.h >>conftest.$ac_ext
87797 cat >>conftest.$ac_ext <<_ACEOF
87798 /* end confdefs.h. */
87800 /* Override any gcc2 internal prototype to avoid an error. */
87801 #ifdef __cplusplus
87802 extern "C"
87803 #endif
87804 /* We use char because int might match the return type of a gcc2
87805 builtin and then its argument prototype would still apply. */
87806 char sin ();
87808 main ()
87810 sin ();
87812 return 0;
87814 _ACEOF
87815 rm -f conftest.$ac_objext conftest$ac_exeext
87816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87817 (eval $ac_link) 2>conftest.er1
87818 ac_status=$?
87819 grep -v '^ *+' conftest.er1 >conftest.err
87820 rm -f conftest.er1
87821 cat conftest.err >&5
87822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87823 (exit $ac_status); } &&
87824 { ac_try='test -z "$ac_c_werror_flag"
87825 || test ! -s conftest.err'
87826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87827 (eval $ac_try) 2>&5
87828 ac_status=$?
87829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87830 (exit $ac_status); }; } &&
87831 { ac_try='test -s conftest$ac_exeext'
87832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87833 (eval $ac_try) 2>&5
87834 ac_status=$?
87835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87836 (exit $ac_status); }; }; then
87837 ac_cv_lib_m_sin=yes
87838 else
87839 echo "$as_me: failed program was:" >&5
87840 sed 's/^/| /' conftest.$ac_ext >&5
87842 ac_cv_lib_m_sin=no
87844 rm -f conftest.err conftest.$ac_objext \
87845 conftest$ac_exeext conftest.$ac_ext
87846 LIBS=$ac_check_lib_save_LIBS
87848 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
87849 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
87850 if test $ac_cv_lib_m_sin = yes; then
87851 libm="-lm"
87854 ac_save_LIBS="$LIBS"
87855 LIBS="$LIBS $libm"
87859 echo "$as_me:$LINENO: checking for isinf declaration" >&5
87860 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
87861 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
87862 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
87863 echo $ECHO_N "(cached) $ECHO_C" >&6
87864 else
87868 ac_ext=cc
87869 ac_cpp='$CXXCPP $CPPFLAGS'
87870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87874 cat >conftest.$ac_ext <<_ACEOF
87875 /* confdefs.h. */
87876 _ACEOF
87877 cat confdefs.h >>conftest.$ac_ext
87878 cat >>conftest.$ac_ext <<_ACEOF
87879 /* end confdefs.h. */
87880 #include <math.h>
87881 #ifdef HAVE_IEEEFP_H
87882 #include <ieeefp.h>
87883 #endif
87886 main ()
87888 isinf(0);
87890 return 0;
87892 _ACEOF
87893 rm -f conftest.$ac_objext
87894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87895 (eval $ac_compile) 2>conftest.er1
87896 ac_status=$?
87897 grep -v '^ *+' conftest.er1 >conftest.err
87898 rm -f conftest.er1
87899 cat conftest.err >&5
87900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87901 (exit $ac_status); } &&
87902 { ac_try='test -z "$ac_cxx_werror_flag"
87903 || test ! -s conftest.err'
87904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87905 (eval $ac_try) 2>&5
87906 ac_status=$?
87907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87908 (exit $ac_status); }; } &&
87909 { ac_try='test -s conftest.$ac_objext'
87910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87911 (eval $ac_try) 2>&5
87912 ac_status=$?
87913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87914 (exit $ac_status); }; }; then
87915 glibcxx_cv_func_isinf_use=yes
87916 else
87917 echo "$as_me: failed program was:" >&5
87918 sed 's/^/| /' conftest.$ac_ext >&5
87920 glibcxx_cv_func_isinf_use=no
87922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87923 ac_ext=c
87924 ac_cpp='$CPP $CPPFLAGS'
87925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87933 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
87934 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
87936 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
87938 for ac_func in isinf
87940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87941 echo "$as_me:$LINENO: checking for $ac_func" >&5
87942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87943 if eval "test \"\${$as_ac_var+set}\" = set"; then
87944 echo $ECHO_N "(cached) $ECHO_C" >&6
87945 else
87946 if test x$gcc_no_link = xyes; then
87947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87949 { (exit 1); exit 1; }; }
87951 cat >conftest.$ac_ext <<_ACEOF
87952 /* confdefs.h. */
87953 _ACEOF
87954 cat confdefs.h >>conftest.$ac_ext
87955 cat >>conftest.$ac_ext <<_ACEOF
87956 /* end confdefs.h. */
87957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87959 #define $ac_func innocuous_$ac_func
87961 /* System header to define __stub macros and hopefully few prototypes,
87962 which can conflict with char $ac_func (); below.
87963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87964 <limits.h> exists even on freestanding compilers. */
87966 #ifdef __STDC__
87967 # include <limits.h>
87968 #else
87969 # include <assert.h>
87970 #endif
87972 #undef $ac_func
87974 /* Override any gcc2 internal prototype to avoid an error. */
87975 #ifdef __cplusplus
87976 extern "C"
87978 #endif
87979 /* We use char because int might match the return type of a gcc2
87980 builtin and then its argument prototype would still apply. */
87981 char $ac_func ();
87982 /* The GNU C library defines this for functions which it implements
87983 to always fail with ENOSYS. Some functions are actually named
87984 something starting with __ and the normal name is an alias. */
87985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87986 choke me
87987 #else
87988 char (*f) () = $ac_func;
87989 #endif
87990 #ifdef __cplusplus
87992 #endif
87995 main ()
87997 return f != $ac_func;
87999 return 0;
88001 _ACEOF
88002 rm -f conftest.$ac_objext conftest$ac_exeext
88003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88004 (eval $ac_link) 2>conftest.er1
88005 ac_status=$?
88006 grep -v '^ *+' conftest.er1 >conftest.err
88007 rm -f conftest.er1
88008 cat conftest.err >&5
88009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88010 (exit $ac_status); } &&
88011 { ac_try='test -z "$ac_c_werror_flag"
88012 || test ! -s conftest.err'
88013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88014 (eval $ac_try) 2>&5
88015 ac_status=$?
88016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88017 (exit $ac_status); }; } &&
88018 { ac_try='test -s conftest$ac_exeext'
88019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88020 (eval $ac_try) 2>&5
88021 ac_status=$?
88022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88023 (exit $ac_status); }; }; then
88024 eval "$as_ac_var=yes"
88025 else
88026 echo "$as_me: failed program was:" >&5
88027 sed 's/^/| /' conftest.$ac_ext >&5
88029 eval "$as_ac_var=no"
88031 rm -f conftest.err conftest.$ac_objext \
88032 conftest$ac_exeext conftest.$ac_ext
88034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88036 if test `eval echo '${'$as_ac_var'}'` = yes; then
88037 cat >>confdefs.h <<_ACEOF
88038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88039 _ACEOF
88042 done
88044 else
88046 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
88047 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
88048 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
88049 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
88050 echo $ECHO_N "(cached) $ECHO_C" >&6
88051 else
88055 ac_ext=cc
88056 ac_cpp='$CXXCPP $CPPFLAGS'
88057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88061 cat >conftest.$ac_ext <<_ACEOF
88062 /* confdefs.h. */
88063 _ACEOF
88064 cat confdefs.h >>conftest.$ac_ext
88065 cat >>conftest.$ac_ext <<_ACEOF
88066 /* end confdefs.h. */
88067 #include <math.h>
88068 #ifdef HAVE_IEEEFP_H
88069 #include <ieeefp.h>
88070 #endif
88073 main ()
88075 _isinf(0);
88077 return 0;
88079 _ACEOF
88080 rm -f conftest.$ac_objext
88081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88082 (eval $ac_compile) 2>conftest.er1
88083 ac_status=$?
88084 grep -v '^ *+' conftest.er1 >conftest.err
88085 rm -f conftest.er1
88086 cat conftest.err >&5
88087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88088 (exit $ac_status); } &&
88089 { ac_try='test -z "$ac_cxx_werror_flag"
88090 || test ! -s conftest.err'
88091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88092 (eval $ac_try) 2>&5
88093 ac_status=$?
88094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88095 (exit $ac_status); }; } &&
88096 { ac_try='test -s conftest.$ac_objext'
88097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88098 (eval $ac_try) 2>&5
88099 ac_status=$?
88100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88101 (exit $ac_status); }; }; then
88102 glibcxx_cv_func__isinf_use=yes
88103 else
88104 echo "$as_me: failed program was:" >&5
88105 sed 's/^/| /' conftest.$ac_ext >&5
88107 glibcxx_cv_func__isinf_use=no
88109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88110 ac_ext=c
88111 ac_cpp='$CPP $CPPFLAGS'
88112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88120 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
88121 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
88123 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
88125 for ac_func in _isinf
88127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88128 echo "$as_me:$LINENO: checking for $ac_func" >&5
88129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88130 if eval "test \"\${$as_ac_var+set}\" = set"; then
88131 echo $ECHO_N "(cached) $ECHO_C" >&6
88132 else
88133 if test x$gcc_no_link = xyes; then
88134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88136 { (exit 1); exit 1; }; }
88138 cat >conftest.$ac_ext <<_ACEOF
88139 /* confdefs.h. */
88140 _ACEOF
88141 cat confdefs.h >>conftest.$ac_ext
88142 cat >>conftest.$ac_ext <<_ACEOF
88143 /* end confdefs.h. */
88144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88146 #define $ac_func innocuous_$ac_func
88148 /* System header to define __stub macros and hopefully few prototypes,
88149 which can conflict with char $ac_func (); below.
88150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88151 <limits.h> exists even on freestanding compilers. */
88153 #ifdef __STDC__
88154 # include <limits.h>
88155 #else
88156 # include <assert.h>
88157 #endif
88159 #undef $ac_func
88161 /* Override any gcc2 internal prototype to avoid an error. */
88162 #ifdef __cplusplus
88163 extern "C"
88165 #endif
88166 /* We use char because int might match the return type of a gcc2
88167 builtin and then its argument prototype would still apply. */
88168 char $ac_func ();
88169 /* The GNU C library defines this for functions which it implements
88170 to always fail with ENOSYS. Some functions are actually named
88171 something starting with __ and the normal name is an alias. */
88172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88173 choke me
88174 #else
88175 char (*f) () = $ac_func;
88176 #endif
88177 #ifdef __cplusplus
88179 #endif
88182 main ()
88184 return f != $ac_func;
88186 return 0;
88188 _ACEOF
88189 rm -f conftest.$ac_objext conftest$ac_exeext
88190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88191 (eval $ac_link) 2>conftest.er1
88192 ac_status=$?
88193 grep -v '^ *+' conftest.er1 >conftest.err
88194 rm -f conftest.er1
88195 cat conftest.err >&5
88196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88197 (exit $ac_status); } &&
88198 { ac_try='test -z "$ac_c_werror_flag"
88199 || test ! -s conftest.err'
88200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88201 (eval $ac_try) 2>&5
88202 ac_status=$?
88203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88204 (exit $ac_status); }; } &&
88205 { ac_try='test -s conftest$ac_exeext'
88206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88207 (eval $ac_try) 2>&5
88208 ac_status=$?
88209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88210 (exit $ac_status); }; }; then
88211 eval "$as_ac_var=yes"
88212 else
88213 echo "$as_me: failed program was:" >&5
88214 sed 's/^/| /' conftest.$ac_ext >&5
88216 eval "$as_ac_var=no"
88218 rm -f conftest.err conftest.$ac_objext \
88219 conftest$ac_exeext conftest.$ac_ext
88221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88223 if test `eval echo '${'$as_ac_var'}'` = yes; then
88224 cat >>confdefs.h <<_ACEOF
88225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88226 _ACEOF
88229 done
88239 echo "$as_me:$LINENO: checking for isnan declaration" >&5
88240 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
88241 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
88242 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
88243 echo $ECHO_N "(cached) $ECHO_C" >&6
88244 else
88248 ac_ext=cc
88249 ac_cpp='$CXXCPP $CPPFLAGS'
88250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88254 cat >conftest.$ac_ext <<_ACEOF
88255 /* confdefs.h. */
88256 _ACEOF
88257 cat confdefs.h >>conftest.$ac_ext
88258 cat >>conftest.$ac_ext <<_ACEOF
88259 /* end confdefs.h. */
88260 #include <math.h>
88261 #ifdef HAVE_IEEEFP_H
88262 #include <ieeefp.h>
88263 #endif
88266 main ()
88268 isnan(0);
88270 return 0;
88272 _ACEOF
88273 rm -f conftest.$ac_objext
88274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88275 (eval $ac_compile) 2>conftest.er1
88276 ac_status=$?
88277 grep -v '^ *+' conftest.er1 >conftest.err
88278 rm -f conftest.er1
88279 cat conftest.err >&5
88280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88281 (exit $ac_status); } &&
88282 { ac_try='test -z "$ac_cxx_werror_flag"
88283 || test ! -s conftest.err'
88284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88285 (eval $ac_try) 2>&5
88286 ac_status=$?
88287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88288 (exit $ac_status); }; } &&
88289 { ac_try='test -s conftest.$ac_objext'
88290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88291 (eval $ac_try) 2>&5
88292 ac_status=$?
88293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88294 (exit $ac_status); }; }; then
88295 glibcxx_cv_func_isnan_use=yes
88296 else
88297 echo "$as_me: failed program was:" >&5
88298 sed 's/^/| /' conftest.$ac_ext >&5
88300 glibcxx_cv_func_isnan_use=no
88302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88303 ac_ext=c
88304 ac_cpp='$CPP $CPPFLAGS'
88305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88313 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
88314 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
88316 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
88318 for ac_func in isnan
88320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88321 echo "$as_me:$LINENO: checking for $ac_func" >&5
88322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88323 if eval "test \"\${$as_ac_var+set}\" = set"; then
88324 echo $ECHO_N "(cached) $ECHO_C" >&6
88325 else
88326 if test x$gcc_no_link = xyes; then
88327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88329 { (exit 1); exit 1; }; }
88331 cat >conftest.$ac_ext <<_ACEOF
88332 /* confdefs.h. */
88333 _ACEOF
88334 cat confdefs.h >>conftest.$ac_ext
88335 cat >>conftest.$ac_ext <<_ACEOF
88336 /* end confdefs.h. */
88337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88339 #define $ac_func innocuous_$ac_func
88341 /* System header to define __stub macros and hopefully few prototypes,
88342 which can conflict with char $ac_func (); below.
88343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88344 <limits.h> exists even on freestanding compilers. */
88346 #ifdef __STDC__
88347 # include <limits.h>
88348 #else
88349 # include <assert.h>
88350 #endif
88352 #undef $ac_func
88354 /* Override any gcc2 internal prototype to avoid an error. */
88355 #ifdef __cplusplus
88356 extern "C"
88358 #endif
88359 /* We use char because int might match the return type of a gcc2
88360 builtin and then its argument prototype would still apply. */
88361 char $ac_func ();
88362 /* The GNU C library defines this for functions which it implements
88363 to always fail with ENOSYS. Some functions are actually named
88364 something starting with __ and the normal name is an alias. */
88365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88366 choke me
88367 #else
88368 char (*f) () = $ac_func;
88369 #endif
88370 #ifdef __cplusplus
88372 #endif
88375 main ()
88377 return f != $ac_func;
88379 return 0;
88381 _ACEOF
88382 rm -f conftest.$ac_objext conftest$ac_exeext
88383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88384 (eval $ac_link) 2>conftest.er1
88385 ac_status=$?
88386 grep -v '^ *+' conftest.er1 >conftest.err
88387 rm -f conftest.er1
88388 cat conftest.err >&5
88389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88390 (exit $ac_status); } &&
88391 { ac_try='test -z "$ac_c_werror_flag"
88392 || test ! -s conftest.err'
88393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88394 (eval $ac_try) 2>&5
88395 ac_status=$?
88396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88397 (exit $ac_status); }; } &&
88398 { ac_try='test -s conftest$ac_exeext'
88399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88400 (eval $ac_try) 2>&5
88401 ac_status=$?
88402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88403 (exit $ac_status); }; }; then
88404 eval "$as_ac_var=yes"
88405 else
88406 echo "$as_me: failed program was:" >&5
88407 sed 's/^/| /' conftest.$ac_ext >&5
88409 eval "$as_ac_var=no"
88411 rm -f conftest.err conftest.$ac_objext \
88412 conftest$ac_exeext conftest.$ac_ext
88414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88416 if test `eval echo '${'$as_ac_var'}'` = yes; then
88417 cat >>confdefs.h <<_ACEOF
88418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88419 _ACEOF
88422 done
88424 else
88426 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
88427 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
88428 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
88429 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
88430 echo $ECHO_N "(cached) $ECHO_C" >&6
88431 else
88435 ac_ext=cc
88436 ac_cpp='$CXXCPP $CPPFLAGS'
88437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88441 cat >conftest.$ac_ext <<_ACEOF
88442 /* confdefs.h. */
88443 _ACEOF
88444 cat confdefs.h >>conftest.$ac_ext
88445 cat >>conftest.$ac_ext <<_ACEOF
88446 /* end confdefs.h. */
88447 #include <math.h>
88448 #ifdef HAVE_IEEEFP_H
88449 #include <ieeefp.h>
88450 #endif
88453 main ()
88455 _isnan(0);
88457 return 0;
88459 _ACEOF
88460 rm -f conftest.$ac_objext
88461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88462 (eval $ac_compile) 2>conftest.er1
88463 ac_status=$?
88464 grep -v '^ *+' conftest.er1 >conftest.err
88465 rm -f conftest.er1
88466 cat conftest.err >&5
88467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88468 (exit $ac_status); } &&
88469 { ac_try='test -z "$ac_cxx_werror_flag"
88470 || test ! -s conftest.err'
88471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88472 (eval $ac_try) 2>&5
88473 ac_status=$?
88474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88475 (exit $ac_status); }; } &&
88476 { ac_try='test -s conftest.$ac_objext'
88477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88478 (eval $ac_try) 2>&5
88479 ac_status=$?
88480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88481 (exit $ac_status); }; }; then
88482 glibcxx_cv_func__isnan_use=yes
88483 else
88484 echo "$as_me: failed program was:" >&5
88485 sed 's/^/| /' conftest.$ac_ext >&5
88487 glibcxx_cv_func__isnan_use=no
88489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88490 ac_ext=c
88491 ac_cpp='$CPP $CPPFLAGS'
88492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88500 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
88501 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
88503 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
88505 for ac_func in _isnan
88507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88508 echo "$as_me:$LINENO: checking for $ac_func" >&5
88509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88510 if eval "test \"\${$as_ac_var+set}\" = set"; then
88511 echo $ECHO_N "(cached) $ECHO_C" >&6
88512 else
88513 if test x$gcc_no_link = xyes; then
88514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88516 { (exit 1); exit 1; }; }
88518 cat >conftest.$ac_ext <<_ACEOF
88519 /* confdefs.h. */
88520 _ACEOF
88521 cat confdefs.h >>conftest.$ac_ext
88522 cat >>conftest.$ac_ext <<_ACEOF
88523 /* end confdefs.h. */
88524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88526 #define $ac_func innocuous_$ac_func
88528 /* System header to define __stub macros and hopefully few prototypes,
88529 which can conflict with char $ac_func (); below.
88530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88531 <limits.h> exists even on freestanding compilers. */
88533 #ifdef __STDC__
88534 # include <limits.h>
88535 #else
88536 # include <assert.h>
88537 #endif
88539 #undef $ac_func
88541 /* Override any gcc2 internal prototype to avoid an error. */
88542 #ifdef __cplusplus
88543 extern "C"
88545 #endif
88546 /* We use char because int might match the return type of a gcc2
88547 builtin and then its argument prototype would still apply. */
88548 char $ac_func ();
88549 /* The GNU C library defines this for functions which it implements
88550 to always fail with ENOSYS. Some functions are actually named
88551 something starting with __ and the normal name is an alias. */
88552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88553 choke me
88554 #else
88555 char (*f) () = $ac_func;
88556 #endif
88557 #ifdef __cplusplus
88559 #endif
88562 main ()
88564 return f != $ac_func;
88566 return 0;
88568 _ACEOF
88569 rm -f conftest.$ac_objext conftest$ac_exeext
88570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88571 (eval $ac_link) 2>conftest.er1
88572 ac_status=$?
88573 grep -v '^ *+' conftest.er1 >conftest.err
88574 rm -f conftest.er1
88575 cat conftest.err >&5
88576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88577 (exit $ac_status); } &&
88578 { ac_try='test -z "$ac_c_werror_flag"
88579 || test ! -s conftest.err'
88580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88581 (eval $ac_try) 2>&5
88582 ac_status=$?
88583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88584 (exit $ac_status); }; } &&
88585 { ac_try='test -s conftest$ac_exeext'
88586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88587 (eval $ac_try) 2>&5
88588 ac_status=$?
88589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88590 (exit $ac_status); }; }; then
88591 eval "$as_ac_var=yes"
88592 else
88593 echo "$as_me: failed program was:" >&5
88594 sed 's/^/| /' conftest.$ac_ext >&5
88596 eval "$as_ac_var=no"
88598 rm -f conftest.err conftest.$ac_objext \
88599 conftest$ac_exeext conftest.$ac_ext
88601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88603 if test `eval echo '${'$as_ac_var'}'` = yes; then
88604 cat >>confdefs.h <<_ACEOF
88605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88606 _ACEOF
88609 done
88619 echo "$as_me:$LINENO: checking for finite declaration" >&5
88620 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
88621 if test x${glibcxx_cv_func_finite_use+set} != xset; then
88622 if test "${glibcxx_cv_func_finite_use+set}" = set; then
88623 echo $ECHO_N "(cached) $ECHO_C" >&6
88624 else
88628 ac_ext=cc
88629 ac_cpp='$CXXCPP $CPPFLAGS'
88630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88634 cat >conftest.$ac_ext <<_ACEOF
88635 /* confdefs.h. */
88636 _ACEOF
88637 cat confdefs.h >>conftest.$ac_ext
88638 cat >>conftest.$ac_ext <<_ACEOF
88639 /* end confdefs.h. */
88640 #include <math.h>
88641 #ifdef HAVE_IEEEFP_H
88642 #include <ieeefp.h>
88643 #endif
88646 main ()
88648 finite(0);
88650 return 0;
88652 _ACEOF
88653 rm -f conftest.$ac_objext
88654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88655 (eval $ac_compile) 2>conftest.er1
88656 ac_status=$?
88657 grep -v '^ *+' conftest.er1 >conftest.err
88658 rm -f conftest.er1
88659 cat conftest.err >&5
88660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88661 (exit $ac_status); } &&
88662 { ac_try='test -z "$ac_cxx_werror_flag"
88663 || test ! -s conftest.err'
88664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88665 (eval $ac_try) 2>&5
88666 ac_status=$?
88667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88668 (exit $ac_status); }; } &&
88669 { ac_try='test -s conftest.$ac_objext'
88670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88671 (eval $ac_try) 2>&5
88672 ac_status=$?
88673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88674 (exit $ac_status); }; }; then
88675 glibcxx_cv_func_finite_use=yes
88676 else
88677 echo "$as_me: failed program was:" >&5
88678 sed 's/^/| /' conftest.$ac_ext >&5
88680 glibcxx_cv_func_finite_use=no
88682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88683 ac_ext=c
88684 ac_cpp='$CPP $CPPFLAGS'
88685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88693 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
88694 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
88696 if test x$glibcxx_cv_func_finite_use = x"yes"; then
88698 for ac_func in finite
88700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88701 echo "$as_me:$LINENO: checking for $ac_func" >&5
88702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88703 if eval "test \"\${$as_ac_var+set}\" = set"; then
88704 echo $ECHO_N "(cached) $ECHO_C" >&6
88705 else
88706 if test x$gcc_no_link = xyes; then
88707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88709 { (exit 1); exit 1; }; }
88711 cat >conftest.$ac_ext <<_ACEOF
88712 /* confdefs.h. */
88713 _ACEOF
88714 cat confdefs.h >>conftest.$ac_ext
88715 cat >>conftest.$ac_ext <<_ACEOF
88716 /* end confdefs.h. */
88717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88719 #define $ac_func innocuous_$ac_func
88721 /* System header to define __stub macros and hopefully few prototypes,
88722 which can conflict with char $ac_func (); below.
88723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88724 <limits.h> exists even on freestanding compilers. */
88726 #ifdef __STDC__
88727 # include <limits.h>
88728 #else
88729 # include <assert.h>
88730 #endif
88732 #undef $ac_func
88734 /* Override any gcc2 internal prototype to avoid an error. */
88735 #ifdef __cplusplus
88736 extern "C"
88738 #endif
88739 /* We use char because int might match the return type of a gcc2
88740 builtin and then its argument prototype would still apply. */
88741 char $ac_func ();
88742 /* The GNU C library defines this for functions which it implements
88743 to always fail with ENOSYS. Some functions are actually named
88744 something starting with __ and the normal name is an alias. */
88745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88746 choke me
88747 #else
88748 char (*f) () = $ac_func;
88749 #endif
88750 #ifdef __cplusplus
88752 #endif
88755 main ()
88757 return f != $ac_func;
88759 return 0;
88761 _ACEOF
88762 rm -f conftest.$ac_objext conftest$ac_exeext
88763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88764 (eval $ac_link) 2>conftest.er1
88765 ac_status=$?
88766 grep -v '^ *+' conftest.er1 >conftest.err
88767 rm -f conftest.er1
88768 cat conftest.err >&5
88769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88770 (exit $ac_status); } &&
88771 { ac_try='test -z "$ac_c_werror_flag"
88772 || test ! -s conftest.err'
88773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88774 (eval $ac_try) 2>&5
88775 ac_status=$?
88776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88777 (exit $ac_status); }; } &&
88778 { ac_try='test -s conftest$ac_exeext'
88779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88780 (eval $ac_try) 2>&5
88781 ac_status=$?
88782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88783 (exit $ac_status); }; }; then
88784 eval "$as_ac_var=yes"
88785 else
88786 echo "$as_me: failed program was:" >&5
88787 sed 's/^/| /' conftest.$ac_ext >&5
88789 eval "$as_ac_var=no"
88791 rm -f conftest.err conftest.$ac_objext \
88792 conftest$ac_exeext conftest.$ac_ext
88794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88796 if test `eval echo '${'$as_ac_var'}'` = yes; then
88797 cat >>confdefs.h <<_ACEOF
88798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88799 _ACEOF
88802 done
88804 else
88806 echo "$as_me:$LINENO: checking for _finite declaration" >&5
88807 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
88808 if test x${glibcxx_cv_func__finite_use+set} != xset; then
88809 if test "${glibcxx_cv_func__finite_use+set}" = set; then
88810 echo $ECHO_N "(cached) $ECHO_C" >&6
88811 else
88815 ac_ext=cc
88816 ac_cpp='$CXXCPP $CPPFLAGS'
88817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88821 cat >conftest.$ac_ext <<_ACEOF
88822 /* confdefs.h. */
88823 _ACEOF
88824 cat confdefs.h >>conftest.$ac_ext
88825 cat >>conftest.$ac_ext <<_ACEOF
88826 /* end confdefs.h. */
88827 #include <math.h>
88828 #ifdef HAVE_IEEEFP_H
88829 #include <ieeefp.h>
88830 #endif
88833 main ()
88835 _finite(0);
88837 return 0;
88839 _ACEOF
88840 rm -f conftest.$ac_objext
88841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88842 (eval $ac_compile) 2>conftest.er1
88843 ac_status=$?
88844 grep -v '^ *+' conftest.er1 >conftest.err
88845 rm -f conftest.er1
88846 cat conftest.err >&5
88847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88848 (exit $ac_status); } &&
88849 { ac_try='test -z "$ac_cxx_werror_flag"
88850 || test ! -s conftest.err'
88851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88852 (eval $ac_try) 2>&5
88853 ac_status=$?
88854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88855 (exit $ac_status); }; } &&
88856 { ac_try='test -s conftest.$ac_objext'
88857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88858 (eval $ac_try) 2>&5
88859 ac_status=$?
88860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88861 (exit $ac_status); }; }; then
88862 glibcxx_cv_func__finite_use=yes
88863 else
88864 echo "$as_me: failed program was:" >&5
88865 sed 's/^/| /' conftest.$ac_ext >&5
88867 glibcxx_cv_func__finite_use=no
88869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88870 ac_ext=c
88871 ac_cpp='$CPP $CPPFLAGS'
88872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88880 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
88881 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
88883 if test x$glibcxx_cv_func__finite_use = x"yes"; then
88885 for ac_func in _finite
88887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88888 echo "$as_me:$LINENO: checking for $ac_func" >&5
88889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88890 if eval "test \"\${$as_ac_var+set}\" = set"; then
88891 echo $ECHO_N "(cached) $ECHO_C" >&6
88892 else
88893 if test x$gcc_no_link = xyes; then
88894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88896 { (exit 1); exit 1; }; }
88898 cat >conftest.$ac_ext <<_ACEOF
88899 /* confdefs.h. */
88900 _ACEOF
88901 cat confdefs.h >>conftest.$ac_ext
88902 cat >>conftest.$ac_ext <<_ACEOF
88903 /* end confdefs.h. */
88904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88906 #define $ac_func innocuous_$ac_func
88908 /* System header to define __stub macros and hopefully few prototypes,
88909 which can conflict with char $ac_func (); below.
88910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88911 <limits.h> exists even on freestanding compilers. */
88913 #ifdef __STDC__
88914 # include <limits.h>
88915 #else
88916 # include <assert.h>
88917 #endif
88919 #undef $ac_func
88921 /* Override any gcc2 internal prototype to avoid an error. */
88922 #ifdef __cplusplus
88923 extern "C"
88925 #endif
88926 /* We use char because int might match the return type of a gcc2
88927 builtin and then its argument prototype would still apply. */
88928 char $ac_func ();
88929 /* The GNU C library defines this for functions which it implements
88930 to always fail with ENOSYS. Some functions are actually named
88931 something starting with __ and the normal name is an alias. */
88932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88933 choke me
88934 #else
88935 char (*f) () = $ac_func;
88936 #endif
88937 #ifdef __cplusplus
88939 #endif
88942 main ()
88944 return f != $ac_func;
88946 return 0;
88948 _ACEOF
88949 rm -f conftest.$ac_objext conftest$ac_exeext
88950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88951 (eval $ac_link) 2>conftest.er1
88952 ac_status=$?
88953 grep -v '^ *+' conftest.er1 >conftest.err
88954 rm -f conftest.er1
88955 cat conftest.err >&5
88956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88957 (exit $ac_status); } &&
88958 { ac_try='test -z "$ac_c_werror_flag"
88959 || test ! -s conftest.err'
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); }; } &&
88965 { ac_try='test -s conftest$ac_exeext'
88966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88967 (eval $ac_try) 2>&5
88968 ac_status=$?
88969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88970 (exit $ac_status); }; }; then
88971 eval "$as_ac_var=yes"
88972 else
88973 echo "$as_me: failed program was:" >&5
88974 sed 's/^/| /' conftest.$ac_ext >&5
88976 eval "$as_ac_var=no"
88978 rm -f conftest.err conftest.$ac_objext \
88979 conftest$ac_exeext conftest.$ac_ext
88981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88983 if test `eval echo '${'$as_ac_var'}'` = yes; then
88984 cat >>confdefs.h <<_ACEOF
88985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88986 _ACEOF
88989 done
88999 echo "$as_me:$LINENO: checking for copysign declaration" >&5
89000 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
89001 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
89002 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
89003 echo $ECHO_N "(cached) $ECHO_C" >&6
89004 else
89008 ac_ext=cc
89009 ac_cpp='$CXXCPP $CPPFLAGS'
89010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89014 cat >conftest.$ac_ext <<_ACEOF
89015 /* confdefs.h. */
89016 _ACEOF
89017 cat confdefs.h >>conftest.$ac_ext
89018 cat >>conftest.$ac_ext <<_ACEOF
89019 /* end confdefs.h. */
89020 #include <math.h>
89022 main ()
89024 copysign(0, 0);
89026 return 0;
89028 _ACEOF
89029 rm -f conftest.$ac_objext
89030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89031 (eval $ac_compile) 2>conftest.er1
89032 ac_status=$?
89033 grep -v '^ *+' conftest.er1 >conftest.err
89034 rm -f conftest.er1
89035 cat conftest.err >&5
89036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89037 (exit $ac_status); } &&
89038 { ac_try='test -z "$ac_cxx_werror_flag"
89039 || test ! -s conftest.err'
89040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89041 (eval $ac_try) 2>&5
89042 ac_status=$?
89043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89044 (exit $ac_status); }; } &&
89045 { ac_try='test -s conftest.$ac_objext'
89046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89047 (eval $ac_try) 2>&5
89048 ac_status=$?
89049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89050 (exit $ac_status); }; }; then
89051 glibcxx_cv_func_copysign_use=yes
89052 else
89053 echo "$as_me: failed program was:" >&5
89054 sed 's/^/| /' conftest.$ac_ext >&5
89056 glibcxx_cv_func_copysign_use=no
89058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89059 ac_ext=c
89060 ac_cpp='$CPP $CPPFLAGS'
89061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89069 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
89070 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
89072 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
89074 for ac_func in copysign
89076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89077 echo "$as_me:$LINENO: checking for $ac_func" >&5
89078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89079 if eval "test \"\${$as_ac_var+set}\" = set"; then
89080 echo $ECHO_N "(cached) $ECHO_C" >&6
89081 else
89082 if test x$gcc_no_link = xyes; then
89083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89085 { (exit 1); exit 1; }; }
89087 cat >conftest.$ac_ext <<_ACEOF
89088 /* confdefs.h. */
89089 _ACEOF
89090 cat confdefs.h >>conftest.$ac_ext
89091 cat >>conftest.$ac_ext <<_ACEOF
89092 /* end confdefs.h. */
89093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89095 #define $ac_func innocuous_$ac_func
89097 /* System header to define __stub macros and hopefully few prototypes,
89098 which can conflict with char $ac_func (); below.
89099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89100 <limits.h> exists even on freestanding compilers. */
89102 #ifdef __STDC__
89103 # include <limits.h>
89104 #else
89105 # include <assert.h>
89106 #endif
89108 #undef $ac_func
89110 /* Override any gcc2 internal prototype to avoid an error. */
89111 #ifdef __cplusplus
89112 extern "C"
89114 #endif
89115 /* We use char because int might match the return type of a gcc2
89116 builtin and then its argument prototype would still apply. */
89117 char $ac_func ();
89118 /* The GNU C library defines this for functions which it implements
89119 to always fail with ENOSYS. Some functions are actually named
89120 something starting with __ and the normal name is an alias. */
89121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89122 choke me
89123 #else
89124 char (*f) () = $ac_func;
89125 #endif
89126 #ifdef __cplusplus
89128 #endif
89131 main ()
89133 return f != $ac_func;
89135 return 0;
89137 _ACEOF
89138 rm -f conftest.$ac_objext conftest$ac_exeext
89139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89140 (eval $ac_link) 2>conftest.er1
89141 ac_status=$?
89142 grep -v '^ *+' conftest.er1 >conftest.err
89143 rm -f conftest.er1
89144 cat conftest.err >&5
89145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89146 (exit $ac_status); } &&
89147 { ac_try='test -z "$ac_c_werror_flag"
89148 || test ! -s conftest.err'
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); }; } &&
89154 { ac_try='test -s conftest$ac_exeext'
89155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89156 (eval $ac_try) 2>&5
89157 ac_status=$?
89158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89159 (exit $ac_status); }; }; then
89160 eval "$as_ac_var=yes"
89161 else
89162 echo "$as_me: failed program was:" >&5
89163 sed 's/^/| /' conftest.$ac_ext >&5
89165 eval "$as_ac_var=no"
89167 rm -f conftest.err conftest.$ac_objext \
89168 conftest$ac_exeext conftest.$ac_ext
89170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89172 if test `eval echo '${'$as_ac_var'}'` = yes; then
89173 cat >>confdefs.h <<_ACEOF
89174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89175 _ACEOF
89178 done
89180 else
89182 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
89183 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
89184 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
89185 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
89186 echo $ECHO_N "(cached) $ECHO_C" >&6
89187 else
89191 ac_ext=cc
89192 ac_cpp='$CXXCPP $CPPFLAGS'
89193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89197 cat >conftest.$ac_ext <<_ACEOF
89198 /* confdefs.h. */
89199 _ACEOF
89200 cat confdefs.h >>conftest.$ac_ext
89201 cat >>conftest.$ac_ext <<_ACEOF
89202 /* end confdefs.h. */
89203 #include <math.h>
89205 main ()
89207 _copysign(0, 0);
89209 return 0;
89211 _ACEOF
89212 rm -f conftest.$ac_objext
89213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89214 (eval $ac_compile) 2>conftest.er1
89215 ac_status=$?
89216 grep -v '^ *+' conftest.er1 >conftest.err
89217 rm -f conftest.er1
89218 cat conftest.err >&5
89219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89220 (exit $ac_status); } &&
89221 { ac_try='test -z "$ac_cxx_werror_flag"
89222 || test ! -s conftest.err'
89223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89224 (eval $ac_try) 2>&5
89225 ac_status=$?
89226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89227 (exit $ac_status); }; } &&
89228 { ac_try='test -s conftest.$ac_objext'
89229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89230 (eval $ac_try) 2>&5
89231 ac_status=$?
89232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89233 (exit $ac_status); }; }; then
89234 glibcxx_cv_func__copysign_use=yes
89235 else
89236 echo "$as_me: failed program was:" >&5
89237 sed 's/^/| /' conftest.$ac_ext >&5
89239 glibcxx_cv_func__copysign_use=no
89241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89242 ac_ext=c
89243 ac_cpp='$CPP $CPPFLAGS'
89244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89252 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
89253 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
89255 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
89257 for ac_func in _copysign
89259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89260 echo "$as_me:$LINENO: checking for $ac_func" >&5
89261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89262 if eval "test \"\${$as_ac_var+set}\" = set"; then
89263 echo $ECHO_N "(cached) $ECHO_C" >&6
89264 else
89265 if test x$gcc_no_link = xyes; then
89266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89268 { (exit 1); exit 1; }; }
89270 cat >conftest.$ac_ext <<_ACEOF
89271 /* confdefs.h. */
89272 _ACEOF
89273 cat confdefs.h >>conftest.$ac_ext
89274 cat >>conftest.$ac_ext <<_ACEOF
89275 /* end confdefs.h. */
89276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89278 #define $ac_func innocuous_$ac_func
89280 /* System header to define __stub macros and hopefully few prototypes,
89281 which can conflict with char $ac_func (); below.
89282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89283 <limits.h> exists even on freestanding compilers. */
89285 #ifdef __STDC__
89286 # include <limits.h>
89287 #else
89288 # include <assert.h>
89289 #endif
89291 #undef $ac_func
89293 /* Override any gcc2 internal prototype to avoid an error. */
89294 #ifdef __cplusplus
89295 extern "C"
89297 #endif
89298 /* We use char because int might match the return type of a gcc2
89299 builtin and then its argument prototype would still apply. */
89300 char $ac_func ();
89301 /* The GNU C library defines this for functions which it implements
89302 to always fail with ENOSYS. Some functions are actually named
89303 something starting with __ and the normal name is an alias. */
89304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89305 choke me
89306 #else
89307 char (*f) () = $ac_func;
89308 #endif
89309 #ifdef __cplusplus
89311 #endif
89314 main ()
89316 return f != $ac_func;
89318 return 0;
89320 _ACEOF
89321 rm -f conftest.$ac_objext conftest$ac_exeext
89322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89323 (eval $ac_link) 2>conftest.er1
89324 ac_status=$?
89325 grep -v '^ *+' conftest.er1 >conftest.err
89326 rm -f conftest.er1
89327 cat conftest.err >&5
89328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89329 (exit $ac_status); } &&
89330 { ac_try='test -z "$ac_c_werror_flag"
89331 || test ! -s conftest.err'
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); }; } &&
89337 { ac_try='test -s conftest$ac_exeext'
89338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89339 (eval $ac_try) 2>&5
89340 ac_status=$?
89341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89342 (exit $ac_status); }; }; then
89343 eval "$as_ac_var=yes"
89344 else
89345 echo "$as_me: failed program was:" >&5
89346 sed 's/^/| /' conftest.$ac_ext >&5
89348 eval "$as_ac_var=no"
89350 rm -f conftest.err conftest.$ac_objext \
89351 conftest$ac_exeext conftest.$ac_ext
89353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89355 if test `eval echo '${'$as_ac_var'}'` = yes; then
89356 cat >>confdefs.h <<_ACEOF
89357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89358 _ACEOF
89361 done
89371 echo "$as_me:$LINENO: checking for sincos declaration" >&5
89372 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
89373 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
89374 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
89375 echo $ECHO_N "(cached) $ECHO_C" >&6
89376 else
89380 ac_ext=cc
89381 ac_cpp='$CXXCPP $CPPFLAGS'
89382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89386 cat >conftest.$ac_ext <<_ACEOF
89387 /* confdefs.h. */
89388 _ACEOF
89389 cat confdefs.h >>conftest.$ac_ext
89390 cat >>conftest.$ac_ext <<_ACEOF
89391 /* end confdefs.h. */
89392 #include <math.h>
89394 main ()
89396 sincos(0, 0, 0);
89398 return 0;
89400 _ACEOF
89401 rm -f conftest.$ac_objext
89402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89403 (eval $ac_compile) 2>conftest.er1
89404 ac_status=$?
89405 grep -v '^ *+' conftest.er1 >conftest.err
89406 rm -f conftest.er1
89407 cat conftest.err >&5
89408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89409 (exit $ac_status); } &&
89410 { ac_try='test -z "$ac_cxx_werror_flag"
89411 || test ! -s conftest.err'
89412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89413 (eval $ac_try) 2>&5
89414 ac_status=$?
89415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89416 (exit $ac_status); }; } &&
89417 { ac_try='test -s conftest.$ac_objext'
89418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89419 (eval $ac_try) 2>&5
89420 ac_status=$?
89421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89422 (exit $ac_status); }; }; then
89423 glibcxx_cv_func_sincos_use=yes
89424 else
89425 echo "$as_me: failed program was:" >&5
89426 sed 's/^/| /' conftest.$ac_ext >&5
89428 glibcxx_cv_func_sincos_use=no
89430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89431 ac_ext=c
89432 ac_cpp='$CPP $CPPFLAGS'
89433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89441 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
89442 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
89444 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
89446 for ac_func in sincos
89448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89449 echo "$as_me:$LINENO: checking for $ac_func" >&5
89450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89451 if eval "test \"\${$as_ac_var+set}\" = set"; then
89452 echo $ECHO_N "(cached) $ECHO_C" >&6
89453 else
89454 if test x$gcc_no_link = xyes; then
89455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89457 { (exit 1); exit 1; }; }
89459 cat >conftest.$ac_ext <<_ACEOF
89460 /* confdefs.h. */
89461 _ACEOF
89462 cat confdefs.h >>conftest.$ac_ext
89463 cat >>conftest.$ac_ext <<_ACEOF
89464 /* end confdefs.h. */
89465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89467 #define $ac_func innocuous_$ac_func
89469 /* System header to define __stub macros and hopefully few prototypes,
89470 which can conflict with char $ac_func (); below.
89471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89472 <limits.h> exists even on freestanding compilers. */
89474 #ifdef __STDC__
89475 # include <limits.h>
89476 #else
89477 # include <assert.h>
89478 #endif
89480 #undef $ac_func
89482 /* Override any gcc2 internal prototype to avoid an error. */
89483 #ifdef __cplusplus
89484 extern "C"
89486 #endif
89487 /* We use char because int might match the return type of a gcc2
89488 builtin and then its argument prototype would still apply. */
89489 char $ac_func ();
89490 /* The GNU C library defines this for functions which it implements
89491 to always fail with ENOSYS. Some functions are actually named
89492 something starting with __ and the normal name is an alias. */
89493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89494 choke me
89495 #else
89496 char (*f) () = $ac_func;
89497 #endif
89498 #ifdef __cplusplus
89500 #endif
89503 main ()
89505 return f != $ac_func;
89507 return 0;
89509 _ACEOF
89510 rm -f conftest.$ac_objext conftest$ac_exeext
89511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89512 (eval $ac_link) 2>conftest.er1
89513 ac_status=$?
89514 grep -v '^ *+' conftest.er1 >conftest.err
89515 rm -f conftest.er1
89516 cat conftest.err >&5
89517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89518 (exit $ac_status); } &&
89519 { ac_try='test -z "$ac_c_werror_flag"
89520 || test ! -s conftest.err'
89521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89522 (eval $ac_try) 2>&5
89523 ac_status=$?
89524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89525 (exit $ac_status); }; } &&
89526 { ac_try='test -s conftest$ac_exeext'
89527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89528 (eval $ac_try) 2>&5
89529 ac_status=$?
89530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89531 (exit $ac_status); }; }; then
89532 eval "$as_ac_var=yes"
89533 else
89534 echo "$as_me: failed program was:" >&5
89535 sed 's/^/| /' conftest.$ac_ext >&5
89537 eval "$as_ac_var=no"
89539 rm -f conftest.err conftest.$ac_objext \
89540 conftest$ac_exeext conftest.$ac_ext
89542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89544 if test `eval echo '${'$as_ac_var'}'` = yes; then
89545 cat >>confdefs.h <<_ACEOF
89546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89547 _ACEOF
89550 done
89552 else
89554 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
89555 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
89556 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
89557 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
89558 echo $ECHO_N "(cached) $ECHO_C" >&6
89559 else
89563 ac_ext=cc
89564 ac_cpp='$CXXCPP $CPPFLAGS'
89565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89569 cat >conftest.$ac_ext <<_ACEOF
89570 /* confdefs.h. */
89571 _ACEOF
89572 cat confdefs.h >>conftest.$ac_ext
89573 cat >>conftest.$ac_ext <<_ACEOF
89574 /* end confdefs.h. */
89575 #include <math.h>
89577 main ()
89579 _sincos(0, 0, 0);
89581 return 0;
89583 _ACEOF
89584 rm -f conftest.$ac_objext
89585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89586 (eval $ac_compile) 2>conftest.er1
89587 ac_status=$?
89588 grep -v '^ *+' conftest.er1 >conftest.err
89589 rm -f conftest.er1
89590 cat conftest.err >&5
89591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89592 (exit $ac_status); } &&
89593 { ac_try='test -z "$ac_cxx_werror_flag"
89594 || test ! -s conftest.err'
89595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89596 (eval $ac_try) 2>&5
89597 ac_status=$?
89598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89599 (exit $ac_status); }; } &&
89600 { ac_try='test -s conftest.$ac_objext'
89601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89602 (eval $ac_try) 2>&5
89603 ac_status=$?
89604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89605 (exit $ac_status); }; }; then
89606 glibcxx_cv_func__sincos_use=yes
89607 else
89608 echo "$as_me: failed program was:" >&5
89609 sed 's/^/| /' conftest.$ac_ext >&5
89611 glibcxx_cv_func__sincos_use=no
89613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89614 ac_ext=c
89615 ac_cpp='$CPP $CPPFLAGS'
89616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89624 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
89625 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
89627 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
89629 for ac_func in _sincos
89631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89632 echo "$as_me:$LINENO: checking for $ac_func" >&5
89633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89634 if eval "test \"\${$as_ac_var+set}\" = set"; then
89635 echo $ECHO_N "(cached) $ECHO_C" >&6
89636 else
89637 if test x$gcc_no_link = xyes; then
89638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89640 { (exit 1); exit 1; }; }
89642 cat >conftest.$ac_ext <<_ACEOF
89643 /* confdefs.h. */
89644 _ACEOF
89645 cat confdefs.h >>conftest.$ac_ext
89646 cat >>conftest.$ac_ext <<_ACEOF
89647 /* end confdefs.h. */
89648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89650 #define $ac_func innocuous_$ac_func
89652 /* System header to define __stub macros and hopefully few prototypes,
89653 which can conflict with char $ac_func (); below.
89654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89655 <limits.h> exists even on freestanding compilers. */
89657 #ifdef __STDC__
89658 # include <limits.h>
89659 #else
89660 # include <assert.h>
89661 #endif
89663 #undef $ac_func
89665 /* Override any gcc2 internal prototype to avoid an error. */
89666 #ifdef __cplusplus
89667 extern "C"
89669 #endif
89670 /* We use char because int might match the return type of a gcc2
89671 builtin and then its argument prototype would still apply. */
89672 char $ac_func ();
89673 /* The GNU C library defines this for functions which it implements
89674 to always fail with ENOSYS. Some functions are actually named
89675 something starting with __ and the normal name is an alias. */
89676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89677 choke me
89678 #else
89679 char (*f) () = $ac_func;
89680 #endif
89681 #ifdef __cplusplus
89683 #endif
89686 main ()
89688 return f != $ac_func;
89690 return 0;
89692 _ACEOF
89693 rm -f conftest.$ac_objext conftest$ac_exeext
89694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89695 (eval $ac_link) 2>conftest.er1
89696 ac_status=$?
89697 grep -v '^ *+' conftest.er1 >conftest.err
89698 rm -f conftest.er1
89699 cat conftest.err >&5
89700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89701 (exit $ac_status); } &&
89702 { ac_try='test -z "$ac_c_werror_flag"
89703 || test ! -s conftest.err'
89704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89705 (eval $ac_try) 2>&5
89706 ac_status=$?
89707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89708 (exit $ac_status); }; } &&
89709 { ac_try='test -s conftest$ac_exeext'
89710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89711 (eval $ac_try) 2>&5
89712 ac_status=$?
89713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89714 (exit $ac_status); }; }; then
89715 eval "$as_ac_var=yes"
89716 else
89717 echo "$as_me: failed program was:" >&5
89718 sed 's/^/| /' conftest.$ac_ext >&5
89720 eval "$as_ac_var=no"
89722 rm -f conftest.err conftest.$ac_objext \
89723 conftest$ac_exeext conftest.$ac_ext
89725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89727 if test `eval echo '${'$as_ac_var'}'` = yes; then
89728 cat >>confdefs.h <<_ACEOF
89729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89730 _ACEOF
89733 done
89743 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
89744 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
89745 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
89746 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
89747 echo $ECHO_N "(cached) $ECHO_C" >&6
89748 else
89752 ac_ext=cc
89753 ac_cpp='$CXXCPP $CPPFLAGS'
89754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89758 cat >conftest.$ac_ext <<_ACEOF
89759 /* confdefs.h. */
89760 _ACEOF
89761 cat confdefs.h >>conftest.$ac_ext
89762 cat >>conftest.$ac_ext <<_ACEOF
89763 /* end confdefs.h. */
89764 #include <math.h>
89765 #ifdef HAVE_IEEEFP_H
89766 #include <ieeefp.h>
89767 #endif
89770 main ()
89772 fpclass(0);
89774 return 0;
89776 _ACEOF
89777 rm -f conftest.$ac_objext
89778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89779 (eval $ac_compile) 2>conftest.er1
89780 ac_status=$?
89781 grep -v '^ *+' conftest.er1 >conftest.err
89782 rm -f conftest.er1
89783 cat conftest.err >&5
89784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89785 (exit $ac_status); } &&
89786 { ac_try='test -z "$ac_cxx_werror_flag"
89787 || test ! -s conftest.err'
89788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89789 (eval $ac_try) 2>&5
89790 ac_status=$?
89791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89792 (exit $ac_status); }; } &&
89793 { ac_try='test -s conftest.$ac_objext'
89794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89795 (eval $ac_try) 2>&5
89796 ac_status=$?
89797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89798 (exit $ac_status); }; }; then
89799 glibcxx_cv_func_fpclass_use=yes
89800 else
89801 echo "$as_me: failed program was:" >&5
89802 sed 's/^/| /' conftest.$ac_ext >&5
89804 glibcxx_cv_func_fpclass_use=no
89806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89807 ac_ext=c
89808 ac_cpp='$CPP $CPPFLAGS'
89809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89817 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
89818 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
89820 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
89822 for ac_func in fpclass
89824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89825 echo "$as_me:$LINENO: checking for $ac_func" >&5
89826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89827 if eval "test \"\${$as_ac_var+set}\" = set"; then
89828 echo $ECHO_N "(cached) $ECHO_C" >&6
89829 else
89830 if test x$gcc_no_link = xyes; then
89831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89833 { (exit 1); exit 1; }; }
89835 cat >conftest.$ac_ext <<_ACEOF
89836 /* confdefs.h. */
89837 _ACEOF
89838 cat confdefs.h >>conftest.$ac_ext
89839 cat >>conftest.$ac_ext <<_ACEOF
89840 /* end confdefs.h. */
89841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89843 #define $ac_func innocuous_$ac_func
89845 /* System header to define __stub macros and hopefully few prototypes,
89846 which can conflict with char $ac_func (); below.
89847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89848 <limits.h> exists even on freestanding compilers. */
89850 #ifdef __STDC__
89851 # include <limits.h>
89852 #else
89853 # include <assert.h>
89854 #endif
89856 #undef $ac_func
89858 /* Override any gcc2 internal prototype to avoid an error. */
89859 #ifdef __cplusplus
89860 extern "C"
89862 #endif
89863 /* We use char because int might match the return type of a gcc2
89864 builtin and then its argument prototype would still apply. */
89865 char $ac_func ();
89866 /* The GNU C library defines this for functions which it implements
89867 to always fail with ENOSYS. Some functions are actually named
89868 something starting with __ and the normal name is an alias. */
89869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89870 choke me
89871 #else
89872 char (*f) () = $ac_func;
89873 #endif
89874 #ifdef __cplusplus
89876 #endif
89879 main ()
89881 return f != $ac_func;
89883 return 0;
89885 _ACEOF
89886 rm -f conftest.$ac_objext conftest$ac_exeext
89887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89888 (eval $ac_link) 2>conftest.er1
89889 ac_status=$?
89890 grep -v '^ *+' conftest.er1 >conftest.err
89891 rm -f conftest.er1
89892 cat conftest.err >&5
89893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89894 (exit $ac_status); } &&
89895 { ac_try='test -z "$ac_c_werror_flag"
89896 || test ! -s conftest.err'
89897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89898 (eval $ac_try) 2>&5
89899 ac_status=$?
89900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89901 (exit $ac_status); }; } &&
89902 { ac_try='test -s conftest$ac_exeext'
89903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89904 (eval $ac_try) 2>&5
89905 ac_status=$?
89906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89907 (exit $ac_status); }; }; then
89908 eval "$as_ac_var=yes"
89909 else
89910 echo "$as_me: failed program was:" >&5
89911 sed 's/^/| /' conftest.$ac_ext >&5
89913 eval "$as_ac_var=no"
89915 rm -f conftest.err conftest.$ac_objext \
89916 conftest$ac_exeext conftest.$ac_ext
89918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89920 if test `eval echo '${'$as_ac_var'}'` = yes; then
89921 cat >>confdefs.h <<_ACEOF
89922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89923 _ACEOF
89926 done
89928 else
89930 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
89931 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
89932 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
89933 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
89934 echo $ECHO_N "(cached) $ECHO_C" >&6
89935 else
89939 ac_ext=cc
89940 ac_cpp='$CXXCPP $CPPFLAGS'
89941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89945 cat >conftest.$ac_ext <<_ACEOF
89946 /* confdefs.h. */
89947 _ACEOF
89948 cat confdefs.h >>conftest.$ac_ext
89949 cat >>conftest.$ac_ext <<_ACEOF
89950 /* end confdefs.h. */
89951 #include <math.h>
89952 #ifdef HAVE_IEEEFP_H
89953 #include <ieeefp.h>
89954 #endif
89957 main ()
89959 _fpclass(0);
89961 return 0;
89963 _ACEOF
89964 rm -f conftest.$ac_objext
89965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89966 (eval $ac_compile) 2>conftest.er1
89967 ac_status=$?
89968 grep -v '^ *+' conftest.er1 >conftest.err
89969 rm -f conftest.er1
89970 cat conftest.err >&5
89971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89972 (exit $ac_status); } &&
89973 { ac_try='test -z "$ac_cxx_werror_flag"
89974 || test ! -s conftest.err'
89975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89976 (eval $ac_try) 2>&5
89977 ac_status=$?
89978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89979 (exit $ac_status); }; } &&
89980 { ac_try='test -s conftest.$ac_objext'
89981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89982 (eval $ac_try) 2>&5
89983 ac_status=$?
89984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89985 (exit $ac_status); }; }; then
89986 glibcxx_cv_func__fpclass_use=yes
89987 else
89988 echo "$as_me: failed program was:" >&5
89989 sed 's/^/| /' conftest.$ac_ext >&5
89991 glibcxx_cv_func__fpclass_use=no
89993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89994 ac_ext=c
89995 ac_cpp='$CPP $CPPFLAGS'
89996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90004 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
90005 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
90007 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
90009 for ac_func in _fpclass
90011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90012 echo "$as_me:$LINENO: checking for $ac_func" >&5
90013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90014 if eval "test \"\${$as_ac_var+set}\" = set"; then
90015 echo $ECHO_N "(cached) $ECHO_C" >&6
90016 else
90017 if test x$gcc_no_link = xyes; then
90018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90020 { (exit 1); exit 1; }; }
90022 cat >conftest.$ac_ext <<_ACEOF
90023 /* confdefs.h. */
90024 _ACEOF
90025 cat confdefs.h >>conftest.$ac_ext
90026 cat >>conftest.$ac_ext <<_ACEOF
90027 /* end confdefs.h. */
90028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90030 #define $ac_func innocuous_$ac_func
90032 /* System header to define __stub macros and hopefully few prototypes,
90033 which can conflict with char $ac_func (); below.
90034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90035 <limits.h> exists even on freestanding compilers. */
90037 #ifdef __STDC__
90038 # include <limits.h>
90039 #else
90040 # include <assert.h>
90041 #endif
90043 #undef $ac_func
90045 /* Override any gcc2 internal prototype to avoid an error. */
90046 #ifdef __cplusplus
90047 extern "C"
90049 #endif
90050 /* We use char because int might match the return type of a gcc2
90051 builtin and then its argument prototype would still apply. */
90052 char $ac_func ();
90053 /* The GNU C library defines this for functions which it implements
90054 to always fail with ENOSYS. Some functions are actually named
90055 something starting with __ and the normal name is an alias. */
90056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90057 choke me
90058 #else
90059 char (*f) () = $ac_func;
90060 #endif
90061 #ifdef __cplusplus
90063 #endif
90066 main ()
90068 return f != $ac_func;
90070 return 0;
90072 _ACEOF
90073 rm -f conftest.$ac_objext conftest$ac_exeext
90074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90075 (eval $ac_link) 2>conftest.er1
90076 ac_status=$?
90077 grep -v '^ *+' conftest.er1 >conftest.err
90078 rm -f conftest.er1
90079 cat conftest.err >&5
90080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90081 (exit $ac_status); } &&
90082 { ac_try='test -z "$ac_c_werror_flag"
90083 || test ! -s conftest.err'
90084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90085 (eval $ac_try) 2>&5
90086 ac_status=$?
90087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90088 (exit $ac_status); }; } &&
90089 { ac_try='test -s conftest$ac_exeext'
90090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90091 (eval $ac_try) 2>&5
90092 ac_status=$?
90093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90094 (exit $ac_status); }; }; then
90095 eval "$as_ac_var=yes"
90096 else
90097 echo "$as_me: failed program was:" >&5
90098 sed 's/^/| /' conftest.$ac_ext >&5
90100 eval "$as_ac_var=no"
90102 rm -f conftest.err conftest.$ac_objext \
90103 conftest$ac_exeext conftest.$ac_ext
90105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90107 if test `eval echo '${'$as_ac_var'}'` = yes; then
90108 cat >>confdefs.h <<_ACEOF
90109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90110 _ACEOF
90113 done
90123 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
90124 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
90125 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
90126 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
90127 echo $ECHO_N "(cached) $ECHO_C" >&6
90128 else
90132 ac_ext=cc
90133 ac_cpp='$CXXCPP $CPPFLAGS'
90134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90138 cat >conftest.$ac_ext <<_ACEOF
90139 /* confdefs.h. */
90140 _ACEOF
90141 cat confdefs.h >>conftest.$ac_ext
90142 cat >>conftest.$ac_ext <<_ACEOF
90143 /* end confdefs.h. */
90144 #include <math.h>
90145 #ifdef HAVE_IEEEFP_H
90146 #include <ieeefp.h>
90147 #endif
90150 main ()
90152 qfpclass(0);
90154 return 0;
90156 _ACEOF
90157 rm -f conftest.$ac_objext
90158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90159 (eval $ac_compile) 2>conftest.er1
90160 ac_status=$?
90161 grep -v '^ *+' conftest.er1 >conftest.err
90162 rm -f conftest.er1
90163 cat conftest.err >&5
90164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90165 (exit $ac_status); } &&
90166 { ac_try='test -z "$ac_cxx_werror_flag"
90167 || test ! -s conftest.err'
90168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90169 (eval $ac_try) 2>&5
90170 ac_status=$?
90171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90172 (exit $ac_status); }; } &&
90173 { ac_try='test -s conftest.$ac_objext'
90174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90175 (eval $ac_try) 2>&5
90176 ac_status=$?
90177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90178 (exit $ac_status); }; }; then
90179 glibcxx_cv_func_qfpclass_use=yes
90180 else
90181 echo "$as_me: failed program was:" >&5
90182 sed 's/^/| /' conftest.$ac_ext >&5
90184 glibcxx_cv_func_qfpclass_use=no
90186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90187 ac_ext=c
90188 ac_cpp='$CPP $CPPFLAGS'
90189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90197 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
90198 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
90200 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
90202 for ac_func in qfpclass
90204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90205 echo "$as_me:$LINENO: checking for $ac_func" >&5
90206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90207 if eval "test \"\${$as_ac_var+set}\" = set"; then
90208 echo $ECHO_N "(cached) $ECHO_C" >&6
90209 else
90210 if test x$gcc_no_link = xyes; then
90211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90213 { (exit 1); exit 1; }; }
90215 cat >conftest.$ac_ext <<_ACEOF
90216 /* confdefs.h. */
90217 _ACEOF
90218 cat confdefs.h >>conftest.$ac_ext
90219 cat >>conftest.$ac_ext <<_ACEOF
90220 /* end confdefs.h. */
90221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90223 #define $ac_func innocuous_$ac_func
90225 /* System header to define __stub macros and hopefully few prototypes,
90226 which can conflict with char $ac_func (); below.
90227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90228 <limits.h> exists even on freestanding compilers. */
90230 #ifdef __STDC__
90231 # include <limits.h>
90232 #else
90233 # include <assert.h>
90234 #endif
90236 #undef $ac_func
90238 /* Override any gcc2 internal prototype to avoid an error. */
90239 #ifdef __cplusplus
90240 extern "C"
90242 #endif
90243 /* We use char because int might match the return type of a gcc2
90244 builtin and then its argument prototype would still apply. */
90245 char $ac_func ();
90246 /* The GNU C library defines this for functions which it implements
90247 to always fail with ENOSYS. Some functions are actually named
90248 something starting with __ and the normal name is an alias. */
90249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90250 choke me
90251 #else
90252 char (*f) () = $ac_func;
90253 #endif
90254 #ifdef __cplusplus
90256 #endif
90259 main ()
90261 return f != $ac_func;
90263 return 0;
90265 _ACEOF
90266 rm -f conftest.$ac_objext conftest$ac_exeext
90267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90268 (eval $ac_link) 2>conftest.er1
90269 ac_status=$?
90270 grep -v '^ *+' conftest.er1 >conftest.err
90271 rm -f conftest.er1
90272 cat conftest.err >&5
90273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90274 (exit $ac_status); } &&
90275 { ac_try='test -z "$ac_c_werror_flag"
90276 || test ! -s conftest.err'
90277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90278 (eval $ac_try) 2>&5
90279 ac_status=$?
90280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90281 (exit $ac_status); }; } &&
90282 { ac_try='test -s conftest$ac_exeext'
90283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90284 (eval $ac_try) 2>&5
90285 ac_status=$?
90286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90287 (exit $ac_status); }; }; then
90288 eval "$as_ac_var=yes"
90289 else
90290 echo "$as_me: failed program was:" >&5
90291 sed 's/^/| /' conftest.$ac_ext >&5
90293 eval "$as_ac_var=no"
90295 rm -f conftest.err conftest.$ac_objext \
90296 conftest$ac_exeext conftest.$ac_ext
90298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90300 if test `eval echo '${'$as_ac_var'}'` = yes; then
90301 cat >>confdefs.h <<_ACEOF
90302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90303 _ACEOF
90306 done
90308 else
90310 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
90311 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
90312 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
90313 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
90314 echo $ECHO_N "(cached) $ECHO_C" >&6
90315 else
90319 ac_ext=cc
90320 ac_cpp='$CXXCPP $CPPFLAGS'
90321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90325 cat >conftest.$ac_ext <<_ACEOF
90326 /* confdefs.h. */
90327 _ACEOF
90328 cat confdefs.h >>conftest.$ac_ext
90329 cat >>conftest.$ac_ext <<_ACEOF
90330 /* end confdefs.h. */
90331 #include <math.h>
90332 #ifdef HAVE_IEEEFP_H
90333 #include <ieeefp.h>
90334 #endif
90337 main ()
90339 _qfpclass(0);
90341 return 0;
90343 _ACEOF
90344 rm -f conftest.$ac_objext
90345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90346 (eval $ac_compile) 2>conftest.er1
90347 ac_status=$?
90348 grep -v '^ *+' conftest.er1 >conftest.err
90349 rm -f conftest.er1
90350 cat conftest.err >&5
90351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90352 (exit $ac_status); } &&
90353 { ac_try='test -z "$ac_cxx_werror_flag"
90354 || test ! -s conftest.err'
90355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90356 (eval $ac_try) 2>&5
90357 ac_status=$?
90358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90359 (exit $ac_status); }; } &&
90360 { ac_try='test -s conftest.$ac_objext'
90361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90362 (eval $ac_try) 2>&5
90363 ac_status=$?
90364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90365 (exit $ac_status); }; }; then
90366 glibcxx_cv_func__qfpclass_use=yes
90367 else
90368 echo "$as_me: failed program was:" >&5
90369 sed 's/^/| /' conftest.$ac_ext >&5
90371 glibcxx_cv_func__qfpclass_use=no
90373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90374 ac_ext=c
90375 ac_cpp='$CPP $CPPFLAGS'
90376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90384 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
90385 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
90387 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
90389 for ac_func in _qfpclass
90391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90392 echo "$as_me:$LINENO: checking for $ac_func" >&5
90393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90394 if eval "test \"\${$as_ac_var+set}\" = set"; then
90395 echo $ECHO_N "(cached) $ECHO_C" >&6
90396 else
90397 if test x$gcc_no_link = xyes; then
90398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90400 { (exit 1); exit 1; }; }
90402 cat >conftest.$ac_ext <<_ACEOF
90403 /* confdefs.h. */
90404 _ACEOF
90405 cat confdefs.h >>conftest.$ac_ext
90406 cat >>conftest.$ac_ext <<_ACEOF
90407 /* end confdefs.h. */
90408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90410 #define $ac_func innocuous_$ac_func
90412 /* System header to define __stub macros and hopefully few prototypes,
90413 which can conflict with char $ac_func (); below.
90414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90415 <limits.h> exists even on freestanding compilers. */
90417 #ifdef __STDC__
90418 # include <limits.h>
90419 #else
90420 # include <assert.h>
90421 #endif
90423 #undef $ac_func
90425 /* Override any gcc2 internal prototype to avoid an error. */
90426 #ifdef __cplusplus
90427 extern "C"
90429 #endif
90430 /* We use char because int might match the return type of a gcc2
90431 builtin and then its argument prototype would still apply. */
90432 char $ac_func ();
90433 /* The GNU C library defines this for functions which it implements
90434 to always fail with ENOSYS. Some functions are actually named
90435 something starting with __ and the normal name is an alias. */
90436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90437 choke me
90438 #else
90439 char (*f) () = $ac_func;
90440 #endif
90441 #ifdef __cplusplus
90443 #endif
90446 main ()
90448 return f != $ac_func;
90450 return 0;
90452 _ACEOF
90453 rm -f conftest.$ac_objext conftest$ac_exeext
90454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90455 (eval $ac_link) 2>conftest.er1
90456 ac_status=$?
90457 grep -v '^ *+' conftest.er1 >conftest.err
90458 rm -f conftest.er1
90459 cat conftest.err >&5
90460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90461 (exit $ac_status); } &&
90462 { ac_try='test -z "$ac_c_werror_flag"
90463 || test ! -s conftest.err'
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); }; } &&
90469 { ac_try='test -s conftest$ac_exeext'
90470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90471 (eval $ac_try) 2>&5
90472 ac_status=$?
90473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90474 (exit $ac_status); }; }; then
90475 eval "$as_ac_var=yes"
90476 else
90477 echo "$as_me: failed program was:" >&5
90478 sed 's/^/| /' conftest.$ac_ext >&5
90480 eval "$as_ac_var=no"
90482 rm -f conftest.err conftest.$ac_objext \
90483 conftest$ac_exeext conftest.$ac_ext
90485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90487 if test `eval echo '${'$as_ac_var'}'` = yes; then
90488 cat >>confdefs.h <<_ACEOF
90489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90490 _ACEOF
90493 done
90503 echo "$as_me:$LINENO: checking for hypot declaration" >&5
90504 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
90505 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
90506 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
90507 echo $ECHO_N "(cached) $ECHO_C" >&6
90508 else
90512 ac_ext=cc
90513 ac_cpp='$CXXCPP $CPPFLAGS'
90514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90518 cat >conftest.$ac_ext <<_ACEOF
90519 /* confdefs.h. */
90520 _ACEOF
90521 cat confdefs.h >>conftest.$ac_ext
90522 cat >>conftest.$ac_ext <<_ACEOF
90523 /* end confdefs.h. */
90524 #include <math.h>
90526 main ()
90528 hypot(0, 0);
90530 return 0;
90532 _ACEOF
90533 rm -f conftest.$ac_objext
90534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90535 (eval $ac_compile) 2>conftest.er1
90536 ac_status=$?
90537 grep -v '^ *+' conftest.er1 >conftest.err
90538 rm -f conftest.er1
90539 cat conftest.err >&5
90540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90541 (exit $ac_status); } &&
90542 { ac_try='test -z "$ac_cxx_werror_flag"
90543 || test ! -s conftest.err'
90544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90545 (eval $ac_try) 2>&5
90546 ac_status=$?
90547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90548 (exit $ac_status); }; } &&
90549 { ac_try='test -s conftest.$ac_objext'
90550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90551 (eval $ac_try) 2>&5
90552 ac_status=$?
90553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90554 (exit $ac_status); }; }; then
90555 glibcxx_cv_func_hypot_use=yes
90556 else
90557 echo "$as_me: failed program was:" >&5
90558 sed 's/^/| /' conftest.$ac_ext >&5
90560 glibcxx_cv_func_hypot_use=no
90562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90563 ac_ext=c
90564 ac_cpp='$CPP $CPPFLAGS'
90565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90573 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
90574 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
90576 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
90578 for ac_func in hypot
90580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90581 echo "$as_me:$LINENO: checking for $ac_func" >&5
90582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90583 if eval "test \"\${$as_ac_var+set}\" = set"; then
90584 echo $ECHO_N "(cached) $ECHO_C" >&6
90585 else
90586 if test x$gcc_no_link = xyes; then
90587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90589 { (exit 1); exit 1; }; }
90591 cat >conftest.$ac_ext <<_ACEOF
90592 /* confdefs.h. */
90593 _ACEOF
90594 cat confdefs.h >>conftest.$ac_ext
90595 cat >>conftest.$ac_ext <<_ACEOF
90596 /* end confdefs.h. */
90597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90599 #define $ac_func innocuous_$ac_func
90601 /* System header to define __stub macros and hopefully few prototypes,
90602 which can conflict with char $ac_func (); below.
90603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90604 <limits.h> exists even on freestanding compilers. */
90606 #ifdef __STDC__
90607 # include <limits.h>
90608 #else
90609 # include <assert.h>
90610 #endif
90612 #undef $ac_func
90614 /* Override any gcc2 internal prototype to avoid an error. */
90615 #ifdef __cplusplus
90616 extern "C"
90618 #endif
90619 /* We use char because int might match the return type of a gcc2
90620 builtin and then its argument prototype would still apply. */
90621 char $ac_func ();
90622 /* The GNU C library defines this for functions which it implements
90623 to always fail with ENOSYS. Some functions are actually named
90624 something starting with __ and the normal name is an alias. */
90625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90626 choke me
90627 #else
90628 char (*f) () = $ac_func;
90629 #endif
90630 #ifdef __cplusplus
90632 #endif
90635 main ()
90637 return f != $ac_func;
90639 return 0;
90641 _ACEOF
90642 rm -f conftest.$ac_objext conftest$ac_exeext
90643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90644 (eval $ac_link) 2>conftest.er1
90645 ac_status=$?
90646 grep -v '^ *+' conftest.er1 >conftest.err
90647 rm -f conftest.er1
90648 cat conftest.err >&5
90649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90650 (exit $ac_status); } &&
90651 { ac_try='test -z "$ac_c_werror_flag"
90652 || test ! -s conftest.err'
90653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90654 (eval $ac_try) 2>&5
90655 ac_status=$?
90656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90657 (exit $ac_status); }; } &&
90658 { ac_try='test -s conftest$ac_exeext'
90659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90660 (eval $ac_try) 2>&5
90661 ac_status=$?
90662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90663 (exit $ac_status); }; }; then
90664 eval "$as_ac_var=yes"
90665 else
90666 echo "$as_me: failed program was:" >&5
90667 sed 's/^/| /' conftest.$ac_ext >&5
90669 eval "$as_ac_var=no"
90671 rm -f conftest.err conftest.$ac_objext \
90672 conftest$ac_exeext conftest.$ac_ext
90674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90676 if test `eval echo '${'$as_ac_var'}'` = yes; then
90677 cat >>confdefs.h <<_ACEOF
90678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90679 _ACEOF
90682 done
90684 else
90686 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
90687 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
90688 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
90689 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
90690 echo $ECHO_N "(cached) $ECHO_C" >&6
90691 else
90695 ac_ext=cc
90696 ac_cpp='$CXXCPP $CPPFLAGS'
90697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90701 cat >conftest.$ac_ext <<_ACEOF
90702 /* confdefs.h. */
90703 _ACEOF
90704 cat confdefs.h >>conftest.$ac_ext
90705 cat >>conftest.$ac_ext <<_ACEOF
90706 /* end confdefs.h. */
90707 #include <math.h>
90709 main ()
90711 _hypot(0, 0);
90713 return 0;
90715 _ACEOF
90716 rm -f conftest.$ac_objext
90717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90718 (eval $ac_compile) 2>conftest.er1
90719 ac_status=$?
90720 grep -v '^ *+' conftest.er1 >conftest.err
90721 rm -f conftest.er1
90722 cat conftest.err >&5
90723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90724 (exit $ac_status); } &&
90725 { ac_try='test -z "$ac_cxx_werror_flag"
90726 || test ! -s conftest.err'
90727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90728 (eval $ac_try) 2>&5
90729 ac_status=$?
90730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90731 (exit $ac_status); }; } &&
90732 { ac_try='test -s conftest.$ac_objext'
90733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90734 (eval $ac_try) 2>&5
90735 ac_status=$?
90736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90737 (exit $ac_status); }; }; then
90738 glibcxx_cv_func__hypot_use=yes
90739 else
90740 echo "$as_me: failed program was:" >&5
90741 sed 's/^/| /' conftest.$ac_ext >&5
90743 glibcxx_cv_func__hypot_use=no
90745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90746 ac_ext=c
90747 ac_cpp='$CPP $CPPFLAGS'
90748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90756 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
90757 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
90759 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
90761 for ac_func in _hypot
90763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90764 echo "$as_me:$LINENO: checking for $ac_func" >&5
90765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90766 if eval "test \"\${$as_ac_var+set}\" = set"; then
90767 echo $ECHO_N "(cached) $ECHO_C" >&6
90768 else
90769 if test x$gcc_no_link = xyes; then
90770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90772 { (exit 1); exit 1; }; }
90774 cat >conftest.$ac_ext <<_ACEOF
90775 /* confdefs.h. */
90776 _ACEOF
90777 cat confdefs.h >>conftest.$ac_ext
90778 cat >>conftest.$ac_ext <<_ACEOF
90779 /* end confdefs.h. */
90780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90782 #define $ac_func innocuous_$ac_func
90784 /* System header to define __stub macros and hopefully few prototypes,
90785 which can conflict with char $ac_func (); below.
90786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90787 <limits.h> exists even on freestanding compilers. */
90789 #ifdef __STDC__
90790 # include <limits.h>
90791 #else
90792 # include <assert.h>
90793 #endif
90795 #undef $ac_func
90797 /* Override any gcc2 internal prototype to avoid an error. */
90798 #ifdef __cplusplus
90799 extern "C"
90801 #endif
90802 /* We use char because int might match the return type of a gcc2
90803 builtin and then its argument prototype would still apply. */
90804 char $ac_func ();
90805 /* The GNU C library defines this for functions which it implements
90806 to always fail with ENOSYS. Some functions are actually named
90807 something starting with __ and the normal name is an alias. */
90808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90809 choke me
90810 #else
90811 char (*f) () = $ac_func;
90812 #endif
90813 #ifdef __cplusplus
90815 #endif
90818 main ()
90820 return f != $ac_func;
90822 return 0;
90824 _ACEOF
90825 rm -f conftest.$ac_objext conftest$ac_exeext
90826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90827 (eval $ac_link) 2>conftest.er1
90828 ac_status=$?
90829 grep -v '^ *+' conftest.er1 >conftest.err
90830 rm -f conftest.er1
90831 cat conftest.err >&5
90832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90833 (exit $ac_status); } &&
90834 { ac_try='test -z "$ac_c_werror_flag"
90835 || test ! -s conftest.err'
90836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90837 (eval $ac_try) 2>&5
90838 ac_status=$?
90839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90840 (exit $ac_status); }; } &&
90841 { ac_try='test -s conftest$ac_exeext'
90842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90843 (eval $ac_try) 2>&5
90844 ac_status=$?
90845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90846 (exit $ac_status); }; }; then
90847 eval "$as_ac_var=yes"
90848 else
90849 echo "$as_me: failed program was:" >&5
90850 sed 's/^/| /' conftest.$ac_ext >&5
90852 eval "$as_ac_var=no"
90854 rm -f conftest.err conftest.$ac_objext \
90855 conftest$ac_exeext conftest.$ac_ext
90857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90859 if test `eval echo '${'$as_ac_var'}'` = yes; then
90860 cat >>confdefs.h <<_ACEOF
90861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90862 _ACEOF
90865 done
90875 echo "$as_me:$LINENO: checking for float trig functions" >&5
90876 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
90877 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
90878 echo $ECHO_N "(cached) $ECHO_C" >&6
90879 else
90883 ac_ext=cc
90884 ac_cpp='$CXXCPP $CPPFLAGS'
90885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90889 cat >conftest.$ac_ext <<_ACEOF
90890 /* confdefs.h. */
90891 _ACEOF
90892 cat confdefs.h >>conftest.$ac_ext
90893 cat >>conftest.$ac_ext <<_ACEOF
90894 /* end confdefs.h. */
90895 #include <math.h>
90897 main ()
90899 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
90901 return 0;
90903 _ACEOF
90904 rm -f conftest.$ac_objext
90905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90906 (eval $ac_compile) 2>conftest.er1
90907 ac_status=$?
90908 grep -v '^ *+' conftest.er1 >conftest.err
90909 rm -f conftest.er1
90910 cat conftest.err >&5
90911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90912 (exit $ac_status); } &&
90913 { ac_try='test -z "$ac_cxx_werror_flag"
90914 || test ! -s conftest.err'
90915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90916 (eval $ac_try) 2>&5
90917 ac_status=$?
90918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90919 (exit $ac_status); }; } &&
90920 { ac_try='test -s conftest.$ac_objext'
90921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90922 (eval $ac_try) 2>&5
90923 ac_status=$?
90924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90925 (exit $ac_status); }; }; then
90926 glibcxx_cv_func_float_trig_use=yes
90927 else
90928 echo "$as_me: failed program was:" >&5
90929 sed 's/^/| /' conftest.$ac_ext >&5
90931 glibcxx_cv_func_float_trig_use=no
90933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90934 ac_ext=c
90935 ac_cpp='$CPP $CPPFLAGS'
90936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90942 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
90943 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
90944 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
90954 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
90956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90957 echo "$as_me:$LINENO: checking for $ac_func" >&5
90958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90959 if eval "test \"\${$as_ac_var+set}\" = set"; then
90960 echo $ECHO_N "(cached) $ECHO_C" >&6
90961 else
90962 if test x$gcc_no_link = xyes; then
90963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90965 { (exit 1); exit 1; }; }
90967 cat >conftest.$ac_ext <<_ACEOF
90968 /* confdefs.h. */
90969 _ACEOF
90970 cat confdefs.h >>conftest.$ac_ext
90971 cat >>conftest.$ac_ext <<_ACEOF
90972 /* end confdefs.h. */
90973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90975 #define $ac_func innocuous_$ac_func
90977 /* System header to define __stub macros and hopefully few prototypes,
90978 which can conflict with char $ac_func (); below.
90979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90980 <limits.h> exists even on freestanding compilers. */
90982 #ifdef __STDC__
90983 # include <limits.h>
90984 #else
90985 # include <assert.h>
90986 #endif
90988 #undef $ac_func
90990 /* Override any gcc2 internal prototype to avoid an error. */
90991 #ifdef __cplusplus
90992 extern "C"
90994 #endif
90995 /* We use char because int might match the return type of a gcc2
90996 builtin and then its argument prototype would still apply. */
90997 char $ac_func ();
90998 /* The GNU C library defines this for functions which it implements
90999 to always fail with ENOSYS. Some functions are actually named
91000 something starting with __ and the normal name is an alias. */
91001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91002 choke me
91003 #else
91004 char (*f) () = $ac_func;
91005 #endif
91006 #ifdef __cplusplus
91008 #endif
91011 main ()
91013 return f != $ac_func;
91015 return 0;
91017 _ACEOF
91018 rm -f conftest.$ac_objext conftest$ac_exeext
91019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91020 (eval $ac_link) 2>conftest.er1
91021 ac_status=$?
91022 grep -v '^ *+' conftest.er1 >conftest.err
91023 rm -f conftest.er1
91024 cat conftest.err >&5
91025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91026 (exit $ac_status); } &&
91027 { ac_try='test -z "$ac_c_werror_flag"
91028 || test ! -s conftest.err'
91029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91030 (eval $ac_try) 2>&5
91031 ac_status=$?
91032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91033 (exit $ac_status); }; } &&
91034 { ac_try='test -s conftest$ac_exeext'
91035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91036 (eval $ac_try) 2>&5
91037 ac_status=$?
91038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91039 (exit $ac_status); }; }; then
91040 eval "$as_ac_var=yes"
91041 else
91042 echo "$as_me: failed program was:" >&5
91043 sed 's/^/| /' conftest.$ac_ext >&5
91045 eval "$as_ac_var=no"
91047 rm -f conftest.err conftest.$ac_objext \
91048 conftest$ac_exeext conftest.$ac_ext
91050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91052 if test `eval echo '${'$as_ac_var'}'` = yes; then
91053 cat >>confdefs.h <<_ACEOF
91054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91055 _ACEOF
91058 done
91060 else
91061 echo "$as_me:$LINENO: checking for _float trig functions" >&5
91062 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
91063 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
91064 echo $ECHO_N "(cached) $ECHO_C" >&6
91065 else
91069 ac_ext=cc
91070 ac_cpp='$CXXCPP $CPPFLAGS'
91071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91075 cat >conftest.$ac_ext <<_ACEOF
91076 /* confdefs.h. */
91077 _ACEOF
91078 cat confdefs.h >>conftest.$ac_ext
91079 cat >>conftest.$ac_ext <<_ACEOF
91080 /* end confdefs.h. */
91081 #include <math.h>
91083 main ()
91085 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
91087 return 0;
91089 _ACEOF
91090 rm -f conftest.$ac_objext
91091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91092 (eval $ac_compile) 2>conftest.er1
91093 ac_status=$?
91094 grep -v '^ *+' conftest.er1 >conftest.err
91095 rm -f conftest.er1
91096 cat conftest.err >&5
91097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91098 (exit $ac_status); } &&
91099 { ac_try='test -z "$ac_cxx_werror_flag"
91100 || test ! -s conftest.err'
91101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91102 (eval $ac_try) 2>&5
91103 ac_status=$?
91104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91105 (exit $ac_status); }; } &&
91106 { ac_try='test -s conftest.$ac_objext'
91107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91108 (eval $ac_try) 2>&5
91109 ac_status=$?
91110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91111 (exit $ac_status); }; }; then
91112 glibcxx_cv_func__float_trig_use=yes
91113 else
91114 echo "$as_me: failed program was:" >&5
91115 sed 's/^/| /' conftest.$ac_ext >&5
91117 glibcxx_cv_func__float_trig_use=no
91119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91120 ac_ext=c
91121 ac_cpp='$CPP $CPPFLAGS'
91122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91128 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
91129 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
91130 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
91140 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
91142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91143 echo "$as_me:$LINENO: checking for $ac_func" >&5
91144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91145 if eval "test \"\${$as_ac_var+set}\" = set"; then
91146 echo $ECHO_N "(cached) $ECHO_C" >&6
91147 else
91148 if test x$gcc_no_link = xyes; then
91149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91151 { (exit 1); exit 1; }; }
91153 cat >conftest.$ac_ext <<_ACEOF
91154 /* confdefs.h. */
91155 _ACEOF
91156 cat confdefs.h >>conftest.$ac_ext
91157 cat >>conftest.$ac_ext <<_ACEOF
91158 /* end confdefs.h. */
91159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91161 #define $ac_func innocuous_$ac_func
91163 /* System header to define __stub macros and hopefully few prototypes,
91164 which can conflict with char $ac_func (); below.
91165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91166 <limits.h> exists even on freestanding compilers. */
91168 #ifdef __STDC__
91169 # include <limits.h>
91170 #else
91171 # include <assert.h>
91172 #endif
91174 #undef $ac_func
91176 /* Override any gcc2 internal prototype to avoid an error. */
91177 #ifdef __cplusplus
91178 extern "C"
91180 #endif
91181 /* We use char because int might match the return type of a gcc2
91182 builtin and then its argument prototype would still apply. */
91183 char $ac_func ();
91184 /* The GNU C library defines this for functions which it implements
91185 to always fail with ENOSYS. Some functions are actually named
91186 something starting with __ and the normal name is an alias. */
91187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91188 choke me
91189 #else
91190 char (*f) () = $ac_func;
91191 #endif
91192 #ifdef __cplusplus
91194 #endif
91197 main ()
91199 return f != $ac_func;
91201 return 0;
91203 _ACEOF
91204 rm -f conftest.$ac_objext conftest$ac_exeext
91205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91206 (eval $ac_link) 2>conftest.er1
91207 ac_status=$?
91208 grep -v '^ *+' conftest.er1 >conftest.err
91209 rm -f conftest.er1
91210 cat conftest.err >&5
91211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91212 (exit $ac_status); } &&
91213 { ac_try='test -z "$ac_c_werror_flag"
91214 || test ! -s conftest.err'
91215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91216 (eval $ac_try) 2>&5
91217 ac_status=$?
91218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91219 (exit $ac_status); }; } &&
91220 { ac_try='test -s conftest$ac_exeext'
91221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91222 (eval $ac_try) 2>&5
91223 ac_status=$?
91224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91225 (exit $ac_status); }; }; then
91226 eval "$as_ac_var=yes"
91227 else
91228 echo "$as_me: failed program was:" >&5
91229 sed 's/^/| /' conftest.$ac_ext >&5
91231 eval "$as_ac_var=no"
91233 rm -f conftest.err conftest.$ac_objext \
91234 conftest$ac_exeext conftest.$ac_ext
91236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91238 if test `eval echo '${'$as_ac_var'}'` = yes; then
91239 cat >>confdefs.h <<_ACEOF
91240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91241 _ACEOF
91244 done
91262 echo "$as_me:$LINENO: checking for float round functions" >&5
91263 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
91264 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
91265 echo $ECHO_N "(cached) $ECHO_C" >&6
91266 else
91270 ac_ext=cc
91271 ac_cpp='$CXXCPP $CPPFLAGS'
91272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91276 cat >conftest.$ac_ext <<_ACEOF
91277 /* confdefs.h. */
91278 _ACEOF
91279 cat confdefs.h >>conftest.$ac_ext
91280 cat >>conftest.$ac_ext <<_ACEOF
91281 /* end confdefs.h. */
91282 #include <math.h>
91284 main ()
91286 ceilf (0); floorf (0);
91288 return 0;
91290 _ACEOF
91291 rm -f conftest.$ac_objext
91292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91293 (eval $ac_compile) 2>conftest.er1
91294 ac_status=$?
91295 grep -v '^ *+' conftest.er1 >conftest.err
91296 rm -f conftest.er1
91297 cat conftest.err >&5
91298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91299 (exit $ac_status); } &&
91300 { ac_try='test -z "$ac_cxx_werror_flag"
91301 || test ! -s conftest.err'
91302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91303 (eval $ac_try) 2>&5
91304 ac_status=$?
91305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91306 (exit $ac_status); }; } &&
91307 { ac_try='test -s conftest.$ac_objext'
91308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91309 (eval $ac_try) 2>&5
91310 ac_status=$?
91311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91312 (exit $ac_status); }; }; then
91313 glibcxx_cv_func_float_round_use=yes
91314 else
91315 echo "$as_me: failed program was:" >&5
91316 sed 's/^/| /' conftest.$ac_ext >&5
91318 glibcxx_cv_func_float_round_use=no
91320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91321 ac_ext=c
91322 ac_cpp='$CPP $CPPFLAGS'
91323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91329 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
91330 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
91331 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
91334 for ac_func in ceilf floorf
91336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91337 echo "$as_me:$LINENO: checking for $ac_func" >&5
91338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91339 if eval "test \"\${$as_ac_var+set}\" = set"; then
91340 echo $ECHO_N "(cached) $ECHO_C" >&6
91341 else
91342 if test x$gcc_no_link = xyes; then
91343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91345 { (exit 1); exit 1; }; }
91347 cat >conftest.$ac_ext <<_ACEOF
91348 /* confdefs.h. */
91349 _ACEOF
91350 cat confdefs.h >>conftest.$ac_ext
91351 cat >>conftest.$ac_ext <<_ACEOF
91352 /* end confdefs.h. */
91353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91355 #define $ac_func innocuous_$ac_func
91357 /* System header to define __stub macros and hopefully few prototypes,
91358 which can conflict with char $ac_func (); below.
91359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91360 <limits.h> exists even on freestanding compilers. */
91362 #ifdef __STDC__
91363 # include <limits.h>
91364 #else
91365 # include <assert.h>
91366 #endif
91368 #undef $ac_func
91370 /* Override any gcc2 internal prototype to avoid an error. */
91371 #ifdef __cplusplus
91372 extern "C"
91374 #endif
91375 /* We use char because int might match the return type of a gcc2
91376 builtin and then its argument prototype would still apply. */
91377 char $ac_func ();
91378 /* The GNU C library defines this for functions which it implements
91379 to always fail with ENOSYS. Some functions are actually named
91380 something starting with __ and the normal name is an alias. */
91381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91382 choke me
91383 #else
91384 char (*f) () = $ac_func;
91385 #endif
91386 #ifdef __cplusplus
91388 #endif
91391 main ()
91393 return f != $ac_func;
91395 return 0;
91397 _ACEOF
91398 rm -f conftest.$ac_objext conftest$ac_exeext
91399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91400 (eval $ac_link) 2>conftest.er1
91401 ac_status=$?
91402 grep -v '^ *+' conftest.er1 >conftest.err
91403 rm -f conftest.er1
91404 cat conftest.err >&5
91405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91406 (exit $ac_status); } &&
91407 { ac_try='test -z "$ac_c_werror_flag"
91408 || test ! -s conftest.err'
91409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91410 (eval $ac_try) 2>&5
91411 ac_status=$?
91412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91413 (exit $ac_status); }; } &&
91414 { ac_try='test -s conftest$ac_exeext'
91415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91416 (eval $ac_try) 2>&5
91417 ac_status=$?
91418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91419 (exit $ac_status); }; }; then
91420 eval "$as_ac_var=yes"
91421 else
91422 echo "$as_me: failed program was:" >&5
91423 sed 's/^/| /' conftest.$ac_ext >&5
91425 eval "$as_ac_var=no"
91427 rm -f conftest.err conftest.$ac_objext \
91428 conftest$ac_exeext conftest.$ac_ext
91430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91432 if test `eval echo '${'$as_ac_var'}'` = yes; then
91433 cat >>confdefs.h <<_ACEOF
91434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91435 _ACEOF
91438 done
91440 else
91441 echo "$as_me:$LINENO: checking for _float round functions" >&5
91442 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
91443 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
91444 echo $ECHO_N "(cached) $ECHO_C" >&6
91445 else
91449 ac_ext=cc
91450 ac_cpp='$CXXCPP $CPPFLAGS'
91451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91455 cat >conftest.$ac_ext <<_ACEOF
91456 /* confdefs.h. */
91457 _ACEOF
91458 cat confdefs.h >>conftest.$ac_ext
91459 cat >>conftest.$ac_ext <<_ACEOF
91460 /* end confdefs.h. */
91461 #include <math.h>
91463 main ()
91465 _ceilf (0); _floorf (0);
91467 return 0;
91469 _ACEOF
91470 rm -f conftest.$ac_objext
91471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91472 (eval $ac_compile) 2>conftest.er1
91473 ac_status=$?
91474 grep -v '^ *+' conftest.er1 >conftest.err
91475 rm -f conftest.er1
91476 cat conftest.err >&5
91477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91478 (exit $ac_status); } &&
91479 { ac_try='test -z "$ac_cxx_werror_flag"
91480 || test ! -s conftest.err'
91481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91482 (eval $ac_try) 2>&5
91483 ac_status=$?
91484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91485 (exit $ac_status); }; } &&
91486 { ac_try='test -s conftest.$ac_objext'
91487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91488 (eval $ac_try) 2>&5
91489 ac_status=$?
91490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91491 (exit $ac_status); }; }; then
91492 glibcxx_cv_func__float_round_use=yes
91493 else
91494 echo "$as_me: failed program was:" >&5
91495 sed 's/^/| /' conftest.$ac_ext >&5
91497 glibcxx_cv_func__float_round_use=no
91499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91500 ac_ext=c
91501 ac_cpp='$CPP $CPPFLAGS'
91502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91508 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
91509 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
91510 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
91513 for ac_func in _ceilf _floorf
91515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91516 echo "$as_me:$LINENO: checking for $ac_func" >&5
91517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91518 if eval "test \"\${$as_ac_var+set}\" = set"; then
91519 echo $ECHO_N "(cached) $ECHO_C" >&6
91520 else
91521 if test x$gcc_no_link = xyes; then
91522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91524 { (exit 1); exit 1; }; }
91526 cat >conftest.$ac_ext <<_ACEOF
91527 /* confdefs.h. */
91528 _ACEOF
91529 cat confdefs.h >>conftest.$ac_ext
91530 cat >>conftest.$ac_ext <<_ACEOF
91531 /* end confdefs.h. */
91532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91534 #define $ac_func innocuous_$ac_func
91536 /* System header to define __stub macros and hopefully few prototypes,
91537 which can conflict with char $ac_func (); below.
91538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91539 <limits.h> exists even on freestanding compilers. */
91541 #ifdef __STDC__
91542 # include <limits.h>
91543 #else
91544 # include <assert.h>
91545 #endif
91547 #undef $ac_func
91549 /* Override any gcc2 internal prototype to avoid an error. */
91550 #ifdef __cplusplus
91551 extern "C"
91553 #endif
91554 /* We use char because int might match the return type of a gcc2
91555 builtin and then its argument prototype would still apply. */
91556 char $ac_func ();
91557 /* The GNU C library defines this for functions which it implements
91558 to always fail with ENOSYS. Some functions are actually named
91559 something starting with __ and the normal name is an alias. */
91560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91561 choke me
91562 #else
91563 char (*f) () = $ac_func;
91564 #endif
91565 #ifdef __cplusplus
91567 #endif
91570 main ()
91572 return f != $ac_func;
91574 return 0;
91576 _ACEOF
91577 rm -f conftest.$ac_objext conftest$ac_exeext
91578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91579 (eval $ac_link) 2>conftest.er1
91580 ac_status=$?
91581 grep -v '^ *+' conftest.er1 >conftest.err
91582 rm -f conftest.er1
91583 cat conftest.err >&5
91584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91585 (exit $ac_status); } &&
91586 { ac_try='test -z "$ac_c_werror_flag"
91587 || test ! -s conftest.err'
91588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91589 (eval $ac_try) 2>&5
91590 ac_status=$?
91591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91592 (exit $ac_status); }; } &&
91593 { ac_try='test -s conftest$ac_exeext'
91594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91595 (eval $ac_try) 2>&5
91596 ac_status=$?
91597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91598 (exit $ac_status); }; }; then
91599 eval "$as_ac_var=yes"
91600 else
91601 echo "$as_me: failed program was:" >&5
91602 sed 's/^/| /' conftest.$ac_ext >&5
91604 eval "$as_ac_var=no"
91606 rm -f conftest.err conftest.$ac_objext \
91607 conftest$ac_exeext conftest.$ac_ext
91609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91611 if test `eval echo '${'$as_ac_var'}'` = yes; then
91612 cat >>confdefs.h <<_ACEOF
91613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91614 _ACEOF
91617 done
91629 echo "$as_me:$LINENO: checking for expf declaration" >&5
91630 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
91631 if test x${glibcxx_cv_func_expf_use+set} != xset; then
91632 if test "${glibcxx_cv_func_expf_use+set}" = set; then
91633 echo $ECHO_N "(cached) $ECHO_C" >&6
91634 else
91638 ac_ext=cc
91639 ac_cpp='$CXXCPP $CPPFLAGS'
91640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91644 cat >conftest.$ac_ext <<_ACEOF
91645 /* confdefs.h. */
91646 _ACEOF
91647 cat confdefs.h >>conftest.$ac_ext
91648 cat >>conftest.$ac_ext <<_ACEOF
91649 /* end confdefs.h. */
91650 #include <math.h>
91651 #ifdef HAVE_IEEEFP_H
91652 #include <ieeefp.h>
91653 #endif
91656 main ()
91658 expf(0);
91660 return 0;
91662 _ACEOF
91663 rm -f conftest.$ac_objext
91664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91665 (eval $ac_compile) 2>conftest.er1
91666 ac_status=$?
91667 grep -v '^ *+' conftest.er1 >conftest.err
91668 rm -f conftest.er1
91669 cat conftest.err >&5
91670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91671 (exit $ac_status); } &&
91672 { ac_try='test -z "$ac_cxx_werror_flag"
91673 || test ! -s conftest.err'
91674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91675 (eval $ac_try) 2>&5
91676 ac_status=$?
91677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91678 (exit $ac_status); }; } &&
91679 { ac_try='test -s conftest.$ac_objext'
91680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91681 (eval $ac_try) 2>&5
91682 ac_status=$?
91683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91684 (exit $ac_status); }; }; then
91685 glibcxx_cv_func_expf_use=yes
91686 else
91687 echo "$as_me: failed program was:" >&5
91688 sed 's/^/| /' conftest.$ac_ext >&5
91690 glibcxx_cv_func_expf_use=no
91692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91693 ac_ext=c
91694 ac_cpp='$CPP $CPPFLAGS'
91695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91703 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
91704 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
91706 if test x$glibcxx_cv_func_expf_use = x"yes"; then
91708 for ac_func in expf
91710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91711 echo "$as_me:$LINENO: checking for $ac_func" >&5
91712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91713 if eval "test \"\${$as_ac_var+set}\" = set"; then
91714 echo $ECHO_N "(cached) $ECHO_C" >&6
91715 else
91716 if test x$gcc_no_link = xyes; then
91717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91719 { (exit 1); exit 1; }; }
91721 cat >conftest.$ac_ext <<_ACEOF
91722 /* confdefs.h. */
91723 _ACEOF
91724 cat confdefs.h >>conftest.$ac_ext
91725 cat >>conftest.$ac_ext <<_ACEOF
91726 /* end confdefs.h. */
91727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91729 #define $ac_func innocuous_$ac_func
91731 /* System header to define __stub macros and hopefully few prototypes,
91732 which can conflict with char $ac_func (); below.
91733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91734 <limits.h> exists even on freestanding compilers. */
91736 #ifdef __STDC__
91737 # include <limits.h>
91738 #else
91739 # include <assert.h>
91740 #endif
91742 #undef $ac_func
91744 /* Override any gcc2 internal prototype to avoid an error. */
91745 #ifdef __cplusplus
91746 extern "C"
91748 #endif
91749 /* We use char because int might match the return type of a gcc2
91750 builtin and then its argument prototype would still apply. */
91751 char $ac_func ();
91752 /* The GNU C library defines this for functions which it implements
91753 to always fail with ENOSYS. Some functions are actually named
91754 something starting with __ and the normal name is an alias. */
91755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91756 choke me
91757 #else
91758 char (*f) () = $ac_func;
91759 #endif
91760 #ifdef __cplusplus
91762 #endif
91765 main ()
91767 return f != $ac_func;
91769 return 0;
91771 _ACEOF
91772 rm -f conftest.$ac_objext conftest$ac_exeext
91773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91774 (eval $ac_link) 2>conftest.er1
91775 ac_status=$?
91776 grep -v '^ *+' conftest.er1 >conftest.err
91777 rm -f conftest.er1
91778 cat conftest.err >&5
91779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91780 (exit $ac_status); } &&
91781 { ac_try='test -z "$ac_c_werror_flag"
91782 || test ! -s conftest.err'
91783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91784 (eval $ac_try) 2>&5
91785 ac_status=$?
91786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91787 (exit $ac_status); }; } &&
91788 { ac_try='test -s conftest$ac_exeext'
91789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91790 (eval $ac_try) 2>&5
91791 ac_status=$?
91792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91793 (exit $ac_status); }; }; then
91794 eval "$as_ac_var=yes"
91795 else
91796 echo "$as_me: failed program was:" >&5
91797 sed 's/^/| /' conftest.$ac_ext >&5
91799 eval "$as_ac_var=no"
91801 rm -f conftest.err conftest.$ac_objext \
91802 conftest$ac_exeext conftest.$ac_ext
91804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91806 if test `eval echo '${'$as_ac_var'}'` = yes; then
91807 cat >>confdefs.h <<_ACEOF
91808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91809 _ACEOF
91812 done
91814 else
91816 echo "$as_me:$LINENO: checking for _expf declaration" >&5
91817 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
91818 if test x${glibcxx_cv_func__expf_use+set} != xset; then
91819 if test "${glibcxx_cv_func__expf_use+set}" = set; then
91820 echo $ECHO_N "(cached) $ECHO_C" >&6
91821 else
91825 ac_ext=cc
91826 ac_cpp='$CXXCPP $CPPFLAGS'
91827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91831 cat >conftest.$ac_ext <<_ACEOF
91832 /* confdefs.h. */
91833 _ACEOF
91834 cat confdefs.h >>conftest.$ac_ext
91835 cat >>conftest.$ac_ext <<_ACEOF
91836 /* end confdefs.h. */
91837 #include <math.h>
91838 #ifdef HAVE_IEEEFP_H
91839 #include <ieeefp.h>
91840 #endif
91843 main ()
91845 _expf(0);
91847 return 0;
91849 _ACEOF
91850 rm -f conftest.$ac_objext
91851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91852 (eval $ac_compile) 2>conftest.er1
91853 ac_status=$?
91854 grep -v '^ *+' conftest.er1 >conftest.err
91855 rm -f conftest.er1
91856 cat conftest.err >&5
91857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91858 (exit $ac_status); } &&
91859 { ac_try='test -z "$ac_cxx_werror_flag"
91860 || test ! -s conftest.err'
91861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91862 (eval $ac_try) 2>&5
91863 ac_status=$?
91864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91865 (exit $ac_status); }; } &&
91866 { ac_try='test -s conftest.$ac_objext'
91867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91868 (eval $ac_try) 2>&5
91869 ac_status=$?
91870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91871 (exit $ac_status); }; }; then
91872 glibcxx_cv_func__expf_use=yes
91873 else
91874 echo "$as_me: failed program was:" >&5
91875 sed 's/^/| /' conftest.$ac_ext >&5
91877 glibcxx_cv_func__expf_use=no
91879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91880 ac_ext=c
91881 ac_cpp='$CPP $CPPFLAGS'
91882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91890 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
91891 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
91893 if test x$glibcxx_cv_func__expf_use = x"yes"; then
91895 for ac_func in _expf
91897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91898 echo "$as_me:$LINENO: checking for $ac_func" >&5
91899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91900 if eval "test \"\${$as_ac_var+set}\" = set"; then
91901 echo $ECHO_N "(cached) $ECHO_C" >&6
91902 else
91903 if test x$gcc_no_link = xyes; then
91904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91906 { (exit 1); exit 1; }; }
91908 cat >conftest.$ac_ext <<_ACEOF
91909 /* confdefs.h. */
91910 _ACEOF
91911 cat confdefs.h >>conftest.$ac_ext
91912 cat >>conftest.$ac_ext <<_ACEOF
91913 /* end confdefs.h. */
91914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91916 #define $ac_func innocuous_$ac_func
91918 /* System header to define __stub macros and hopefully few prototypes,
91919 which can conflict with char $ac_func (); below.
91920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91921 <limits.h> exists even on freestanding compilers. */
91923 #ifdef __STDC__
91924 # include <limits.h>
91925 #else
91926 # include <assert.h>
91927 #endif
91929 #undef $ac_func
91931 /* Override any gcc2 internal prototype to avoid an error. */
91932 #ifdef __cplusplus
91933 extern "C"
91935 #endif
91936 /* We use char because int might match the return type of a gcc2
91937 builtin and then its argument prototype would still apply. */
91938 char $ac_func ();
91939 /* The GNU C library defines this for functions which it implements
91940 to always fail with ENOSYS. Some functions are actually named
91941 something starting with __ and the normal name is an alias. */
91942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91943 choke me
91944 #else
91945 char (*f) () = $ac_func;
91946 #endif
91947 #ifdef __cplusplus
91949 #endif
91952 main ()
91954 return f != $ac_func;
91956 return 0;
91958 _ACEOF
91959 rm -f conftest.$ac_objext conftest$ac_exeext
91960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91961 (eval $ac_link) 2>conftest.er1
91962 ac_status=$?
91963 grep -v '^ *+' conftest.er1 >conftest.err
91964 rm -f conftest.er1
91965 cat conftest.err >&5
91966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91967 (exit $ac_status); } &&
91968 { ac_try='test -z "$ac_c_werror_flag"
91969 || test ! -s conftest.err'
91970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91971 (eval $ac_try) 2>&5
91972 ac_status=$?
91973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91974 (exit $ac_status); }; } &&
91975 { ac_try='test -s conftest$ac_exeext'
91976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91977 (eval $ac_try) 2>&5
91978 ac_status=$?
91979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91980 (exit $ac_status); }; }; then
91981 eval "$as_ac_var=yes"
91982 else
91983 echo "$as_me: failed program was:" >&5
91984 sed 's/^/| /' conftest.$ac_ext >&5
91986 eval "$as_ac_var=no"
91988 rm -f conftest.err conftest.$ac_objext \
91989 conftest$ac_exeext conftest.$ac_ext
91991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91993 if test `eval echo '${'$as_ac_var'}'` = yes; then
91994 cat >>confdefs.h <<_ACEOF
91995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91996 _ACEOF
91999 done
92009 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
92010 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
92011 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
92012 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
92013 echo $ECHO_N "(cached) $ECHO_C" >&6
92014 else
92018 ac_ext=cc
92019 ac_cpp='$CXXCPP $CPPFLAGS'
92020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92024 cat >conftest.$ac_ext <<_ACEOF
92025 /* confdefs.h. */
92026 _ACEOF
92027 cat confdefs.h >>conftest.$ac_ext
92028 cat >>conftest.$ac_ext <<_ACEOF
92029 /* end confdefs.h. */
92030 #include <math.h>
92031 #ifdef HAVE_IEEEFP_H
92032 #include <ieeefp.h>
92033 #endif
92036 main ()
92038 isnanf(0);
92040 return 0;
92042 _ACEOF
92043 rm -f conftest.$ac_objext
92044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92045 (eval $ac_compile) 2>conftest.er1
92046 ac_status=$?
92047 grep -v '^ *+' conftest.er1 >conftest.err
92048 rm -f conftest.er1
92049 cat conftest.err >&5
92050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92051 (exit $ac_status); } &&
92052 { ac_try='test -z "$ac_cxx_werror_flag"
92053 || test ! -s conftest.err'
92054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92055 (eval $ac_try) 2>&5
92056 ac_status=$?
92057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92058 (exit $ac_status); }; } &&
92059 { ac_try='test -s conftest.$ac_objext'
92060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92061 (eval $ac_try) 2>&5
92062 ac_status=$?
92063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92064 (exit $ac_status); }; }; then
92065 glibcxx_cv_func_isnanf_use=yes
92066 else
92067 echo "$as_me: failed program was:" >&5
92068 sed 's/^/| /' conftest.$ac_ext >&5
92070 glibcxx_cv_func_isnanf_use=no
92072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92073 ac_ext=c
92074 ac_cpp='$CPP $CPPFLAGS'
92075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92083 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
92084 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
92086 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
92088 for ac_func in isnanf
92090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92091 echo "$as_me:$LINENO: checking for $ac_func" >&5
92092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92093 if eval "test \"\${$as_ac_var+set}\" = set"; then
92094 echo $ECHO_N "(cached) $ECHO_C" >&6
92095 else
92096 if test x$gcc_no_link = xyes; then
92097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92099 { (exit 1); exit 1; }; }
92101 cat >conftest.$ac_ext <<_ACEOF
92102 /* confdefs.h. */
92103 _ACEOF
92104 cat confdefs.h >>conftest.$ac_ext
92105 cat >>conftest.$ac_ext <<_ACEOF
92106 /* end confdefs.h. */
92107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92109 #define $ac_func innocuous_$ac_func
92111 /* System header to define __stub macros and hopefully few prototypes,
92112 which can conflict with char $ac_func (); below.
92113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92114 <limits.h> exists even on freestanding compilers. */
92116 #ifdef __STDC__
92117 # include <limits.h>
92118 #else
92119 # include <assert.h>
92120 #endif
92122 #undef $ac_func
92124 /* Override any gcc2 internal prototype to avoid an error. */
92125 #ifdef __cplusplus
92126 extern "C"
92128 #endif
92129 /* We use char because int might match the return type of a gcc2
92130 builtin and then its argument prototype would still apply. */
92131 char $ac_func ();
92132 /* The GNU C library defines this for functions which it implements
92133 to always fail with ENOSYS. Some functions are actually named
92134 something starting with __ and the normal name is an alias. */
92135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92136 choke me
92137 #else
92138 char (*f) () = $ac_func;
92139 #endif
92140 #ifdef __cplusplus
92142 #endif
92145 main ()
92147 return f != $ac_func;
92149 return 0;
92151 _ACEOF
92152 rm -f conftest.$ac_objext conftest$ac_exeext
92153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92154 (eval $ac_link) 2>conftest.er1
92155 ac_status=$?
92156 grep -v '^ *+' conftest.er1 >conftest.err
92157 rm -f conftest.er1
92158 cat conftest.err >&5
92159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92160 (exit $ac_status); } &&
92161 { ac_try='test -z "$ac_c_werror_flag"
92162 || test ! -s conftest.err'
92163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92164 (eval $ac_try) 2>&5
92165 ac_status=$?
92166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92167 (exit $ac_status); }; } &&
92168 { ac_try='test -s conftest$ac_exeext'
92169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92170 (eval $ac_try) 2>&5
92171 ac_status=$?
92172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92173 (exit $ac_status); }; }; then
92174 eval "$as_ac_var=yes"
92175 else
92176 echo "$as_me: failed program was:" >&5
92177 sed 's/^/| /' conftest.$ac_ext >&5
92179 eval "$as_ac_var=no"
92181 rm -f conftest.err conftest.$ac_objext \
92182 conftest$ac_exeext conftest.$ac_ext
92184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92186 if test `eval echo '${'$as_ac_var'}'` = yes; then
92187 cat >>confdefs.h <<_ACEOF
92188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92189 _ACEOF
92192 done
92194 else
92196 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
92197 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
92198 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
92199 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
92200 echo $ECHO_N "(cached) $ECHO_C" >&6
92201 else
92205 ac_ext=cc
92206 ac_cpp='$CXXCPP $CPPFLAGS'
92207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92211 cat >conftest.$ac_ext <<_ACEOF
92212 /* confdefs.h. */
92213 _ACEOF
92214 cat confdefs.h >>conftest.$ac_ext
92215 cat >>conftest.$ac_ext <<_ACEOF
92216 /* end confdefs.h. */
92217 #include <math.h>
92218 #ifdef HAVE_IEEEFP_H
92219 #include <ieeefp.h>
92220 #endif
92223 main ()
92225 _isnanf(0);
92227 return 0;
92229 _ACEOF
92230 rm -f conftest.$ac_objext
92231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92232 (eval $ac_compile) 2>conftest.er1
92233 ac_status=$?
92234 grep -v '^ *+' conftest.er1 >conftest.err
92235 rm -f conftest.er1
92236 cat conftest.err >&5
92237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92238 (exit $ac_status); } &&
92239 { ac_try='test -z "$ac_cxx_werror_flag"
92240 || test ! -s conftest.err'
92241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92242 (eval $ac_try) 2>&5
92243 ac_status=$?
92244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92245 (exit $ac_status); }; } &&
92246 { ac_try='test -s conftest.$ac_objext'
92247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92248 (eval $ac_try) 2>&5
92249 ac_status=$?
92250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92251 (exit $ac_status); }; }; then
92252 glibcxx_cv_func__isnanf_use=yes
92253 else
92254 echo "$as_me: failed program was:" >&5
92255 sed 's/^/| /' conftest.$ac_ext >&5
92257 glibcxx_cv_func__isnanf_use=no
92259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92260 ac_ext=c
92261 ac_cpp='$CPP $CPPFLAGS'
92262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92270 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
92271 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
92273 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
92275 for ac_func in _isnanf
92277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92278 echo "$as_me:$LINENO: checking for $ac_func" >&5
92279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92280 if eval "test \"\${$as_ac_var+set}\" = set"; then
92281 echo $ECHO_N "(cached) $ECHO_C" >&6
92282 else
92283 if test x$gcc_no_link = xyes; then
92284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92286 { (exit 1); exit 1; }; }
92288 cat >conftest.$ac_ext <<_ACEOF
92289 /* confdefs.h. */
92290 _ACEOF
92291 cat confdefs.h >>conftest.$ac_ext
92292 cat >>conftest.$ac_ext <<_ACEOF
92293 /* end confdefs.h. */
92294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92296 #define $ac_func innocuous_$ac_func
92298 /* System header to define __stub macros and hopefully few prototypes,
92299 which can conflict with char $ac_func (); below.
92300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92301 <limits.h> exists even on freestanding compilers. */
92303 #ifdef __STDC__
92304 # include <limits.h>
92305 #else
92306 # include <assert.h>
92307 #endif
92309 #undef $ac_func
92311 /* Override any gcc2 internal prototype to avoid an error. */
92312 #ifdef __cplusplus
92313 extern "C"
92315 #endif
92316 /* We use char because int might match the return type of a gcc2
92317 builtin and then its argument prototype would still apply. */
92318 char $ac_func ();
92319 /* The GNU C library defines this for functions which it implements
92320 to always fail with ENOSYS. Some functions are actually named
92321 something starting with __ and the normal name is an alias. */
92322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92323 choke me
92324 #else
92325 char (*f) () = $ac_func;
92326 #endif
92327 #ifdef __cplusplus
92329 #endif
92332 main ()
92334 return f != $ac_func;
92336 return 0;
92338 _ACEOF
92339 rm -f conftest.$ac_objext conftest$ac_exeext
92340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92341 (eval $ac_link) 2>conftest.er1
92342 ac_status=$?
92343 grep -v '^ *+' conftest.er1 >conftest.err
92344 rm -f conftest.er1
92345 cat conftest.err >&5
92346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92347 (exit $ac_status); } &&
92348 { ac_try='test -z "$ac_c_werror_flag"
92349 || test ! -s conftest.err'
92350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92351 (eval $ac_try) 2>&5
92352 ac_status=$?
92353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92354 (exit $ac_status); }; } &&
92355 { ac_try='test -s conftest$ac_exeext'
92356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92357 (eval $ac_try) 2>&5
92358 ac_status=$?
92359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92360 (exit $ac_status); }; }; then
92361 eval "$as_ac_var=yes"
92362 else
92363 echo "$as_me: failed program was:" >&5
92364 sed 's/^/| /' conftest.$ac_ext >&5
92366 eval "$as_ac_var=no"
92368 rm -f conftest.err conftest.$ac_objext \
92369 conftest$ac_exeext conftest.$ac_ext
92371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92373 if test `eval echo '${'$as_ac_var'}'` = yes; then
92374 cat >>confdefs.h <<_ACEOF
92375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92376 _ACEOF
92379 done
92389 echo "$as_me:$LINENO: checking for isinff declaration" >&5
92390 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
92391 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
92392 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
92393 echo $ECHO_N "(cached) $ECHO_C" >&6
92394 else
92398 ac_ext=cc
92399 ac_cpp='$CXXCPP $CPPFLAGS'
92400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92404 cat >conftest.$ac_ext <<_ACEOF
92405 /* confdefs.h. */
92406 _ACEOF
92407 cat confdefs.h >>conftest.$ac_ext
92408 cat >>conftest.$ac_ext <<_ACEOF
92409 /* end confdefs.h. */
92410 #include <math.h>
92411 #ifdef HAVE_IEEEFP_H
92412 #include <ieeefp.h>
92413 #endif
92416 main ()
92418 isinff(0);
92420 return 0;
92422 _ACEOF
92423 rm -f conftest.$ac_objext
92424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92425 (eval $ac_compile) 2>conftest.er1
92426 ac_status=$?
92427 grep -v '^ *+' conftest.er1 >conftest.err
92428 rm -f conftest.er1
92429 cat conftest.err >&5
92430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92431 (exit $ac_status); } &&
92432 { ac_try='test -z "$ac_cxx_werror_flag"
92433 || test ! -s conftest.err'
92434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92435 (eval $ac_try) 2>&5
92436 ac_status=$?
92437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92438 (exit $ac_status); }; } &&
92439 { ac_try='test -s conftest.$ac_objext'
92440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92441 (eval $ac_try) 2>&5
92442 ac_status=$?
92443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92444 (exit $ac_status); }; }; then
92445 glibcxx_cv_func_isinff_use=yes
92446 else
92447 echo "$as_me: failed program was:" >&5
92448 sed 's/^/| /' conftest.$ac_ext >&5
92450 glibcxx_cv_func_isinff_use=no
92452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92453 ac_ext=c
92454 ac_cpp='$CPP $CPPFLAGS'
92455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92463 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
92464 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
92466 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
92468 for ac_func in isinff
92470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92471 echo "$as_me:$LINENO: checking for $ac_func" >&5
92472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92473 if eval "test \"\${$as_ac_var+set}\" = set"; then
92474 echo $ECHO_N "(cached) $ECHO_C" >&6
92475 else
92476 if test x$gcc_no_link = xyes; then
92477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92479 { (exit 1); exit 1; }; }
92481 cat >conftest.$ac_ext <<_ACEOF
92482 /* confdefs.h. */
92483 _ACEOF
92484 cat confdefs.h >>conftest.$ac_ext
92485 cat >>conftest.$ac_ext <<_ACEOF
92486 /* end confdefs.h. */
92487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92489 #define $ac_func innocuous_$ac_func
92491 /* System header to define __stub macros and hopefully few prototypes,
92492 which can conflict with char $ac_func (); below.
92493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92494 <limits.h> exists even on freestanding compilers. */
92496 #ifdef __STDC__
92497 # include <limits.h>
92498 #else
92499 # include <assert.h>
92500 #endif
92502 #undef $ac_func
92504 /* Override any gcc2 internal prototype to avoid an error. */
92505 #ifdef __cplusplus
92506 extern "C"
92508 #endif
92509 /* We use char because int might match the return type of a gcc2
92510 builtin and then its argument prototype would still apply. */
92511 char $ac_func ();
92512 /* The GNU C library defines this for functions which it implements
92513 to always fail with ENOSYS. Some functions are actually named
92514 something starting with __ and the normal name is an alias. */
92515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92516 choke me
92517 #else
92518 char (*f) () = $ac_func;
92519 #endif
92520 #ifdef __cplusplus
92522 #endif
92525 main ()
92527 return f != $ac_func;
92529 return 0;
92531 _ACEOF
92532 rm -f conftest.$ac_objext conftest$ac_exeext
92533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92534 (eval $ac_link) 2>conftest.er1
92535 ac_status=$?
92536 grep -v '^ *+' conftest.er1 >conftest.err
92537 rm -f conftest.er1
92538 cat conftest.err >&5
92539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92540 (exit $ac_status); } &&
92541 { ac_try='test -z "$ac_c_werror_flag"
92542 || test ! -s conftest.err'
92543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92544 (eval $ac_try) 2>&5
92545 ac_status=$?
92546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92547 (exit $ac_status); }; } &&
92548 { ac_try='test -s conftest$ac_exeext'
92549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92550 (eval $ac_try) 2>&5
92551 ac_status=$?
92552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92553 (exit $ac_status); }; }; then
92554 eval "$as_ac_var=yes"
92555 else
92556 echo "$as_me: failed program was:" >&5
92557 sed 's/^/| /' conftest.$ac_ext >&5
92559 eval "$as_ac_var=no"
92561 rm -f conftest.err conftest.$ac_objext \
92562 conftest$ac_exeext conftest.$ac_ext
92564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92566 if test `eval echo '${'$as_ac_var'}'` = yes; then
92567 cat >>confdefs.h <<_ACEOF
92568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92569 _ACEOF
92572 done
92574 else
92576 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
92577 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
92578 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
92579 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
92580 echo $ECHO_N "(cached) $ECHO_C" >&6
92581 else
92585 ac_ext=cc
92586 ac_cpp='$CXXCPP $CPPFLAGS'
92587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92591 cat >conftest.$ac_ext <<_ACEOF
92592 /* confdefs.h. */
92593 _ACEOF
92594 cat confdefs.h >>conftest.$ac_ext
92595 cat >>conftest.$ac_ext <<_ACEOF
92596 /* end confdefs.h. */
92597 #include <math.h>
92598 #ifdef HAVE_IEEEFP_H
92599 #include <ieeefp.h>
92600 #endif
92603 main ()
92605 _isinff(0);
92607 return 0;
92609 _ACEOF
92610 rm -f conftest.$ac_objext
92611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92612 (eval $ac_compile) 2>conftest.er1
92613 ac_status=$?
92614 grep -v '^ *+' conftest.er1 >conftest.err
92615 rm -f conftest.er1
92616 cat conftest.err >&5
92617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92618 (exit $ac_status); } &&
92619 { ac_try='test -z "$ac_cxx_werror_flag"
92620 || test ! -s conftest.err'
92621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92622 (eval $ac_try) 2>&5
92623 ac_status=$?
92624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92625 (exit $ac_status); }; } &&
92626 { ac_try='test -s conftest.$ac_objext'
92627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92628 (eval $ac_try) 2>&5
92629 ac_status=$?
92630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92631 (exit $ac_status); }; }; then
92632 glibcxx_cv_func__isinff_use=yes
92633 else
92634 echo "$as_me: failed program was:" >&5
92635 sed 's/^/| /' conftest.$ac_ext >&5
92637 glibcxx_cv_func__isinff_use=no
92639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92640 ac_ext=c
92641 ac_cpp='$CPP $CPPFLAGS'
92642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
92651 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
92653 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
92655 for ac_func in _isinff
92657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92658 echo "$as_me:$LINENO: checking for $ac_func" >&5
92659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92660 if eval "test \"\${$as_ac_var+set}\" = set"; then
92661 echo $ECHO_N "(cached) $ECHO_C" >&6
92662 else
92663 if test x$gcc_no_link = xyes; then
92664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92666 { (exit 1); exit 1; }; }
92668 cat >conftest.$ac_ext <<_ACEOF
92669 /* confdefs.h. */
92670 _ACEOF
92671 cat confdefs.h >>conftest.$ac_ext
92672 cat >>conftest.$ac_ext <<_ACEOF
92673 /* end confdefs.h. */
92674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92676 #define $ac_func innocuous_$ac_func
92678 /* System header to define __stub macros and hopefully few prototypes,
92679 which can conflict with char $ac_func (); below.
92680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92681 <limits.h> exists even on freestanding compilers. */
92683 #ifdef __STDC__
92684 # include <limits.h>
92685 #else
92686 # include <assert.h>
92687 #endif
92689 #undef $ac_func
92691 /* Override any gcc2 internal prototype to avoid an error. */
92692 #ifdef __cplusplus
92693 extern "C"
92695 #endif
92696 /* We use char because int might match the return type of a gcc2
92697 builtin and then its argument prototype would still apply. */
92698 char $ac_func ();
92699 /* The GNU C library defines this for functions which it implements
92700 to always fail with ENOSYS. Some functions are actually named
92701 something starting with __ and the normal name is an alias. */
92702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92703 choke me
92704 #else
92705 char (*f) () = $ac_func;
92706 #endif
92707 #ifdef __cplusplus
92709 #endif
92712 main ()
92714 return f != $ac_func;
92716 return 0;
92718 _ACEOF
92719 rm -f conftest.$ac_objext conftest$ac_exeext
92720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92721 (eval $ac_link) 2>conftest.er1
92722 ac_status=$?
92723 grep -v '^ *+' conftest.er1 >conftest.err
92724 rm -f conftest.er1
92725 cat conftest.err >&5
92726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92727 (exit $ac_status); } &&
92728 { ac_try='test -z "$ac_c_werror_flag"
92729 || test ! -s conftest.err'
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); }; } &&
92735 { ac_try='test -s conftest$ac_exeext'
92736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92737 (eval $ac_try) 2>&5
92738 ac_status=$?
92739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92740 (exit $ac_status); }; }; then
92741 eval "$as_ac_var=yes"
92742 else
92743 echo "$as_me: failed program was:" >&5
92744 sed 's/^/| /' conftest.$ac_ext >&5
92746 eval "$as_ac_var=no"
92748 rm -f conftest.err conftest.$ac_objext \
92749 conftest$ac_exeext conftest.$ac_ext
92751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92753 if test `eval echo '${'$as_ac_var'}'` = yes; then
92754 cat >>confdefs.h <<_ACEOF
92755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92756 _ACEOF
92759 done
92769 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
92770 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
92771 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
92772 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
92773 echo $ECHO_N "(cached) $ECHO_C" >&6
92774 else
92778 ac_ext=cc
92779 ac_cpp='$CXXCPP $CPPFLAGS'
92780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92784 cat >conftest.$ac_ext <<_ACEOF
92785 /* confdefs.h. */
92786 _ACEOF
92787 cat confdefs.h >>conftest.$ac_ext
92788 cat >>conftest.$ac_ext <<_ACEOF
92789 /* end confdefs.h. */
92790 #include <math.h>
92792 main ()
92794 atan2f(0, 0);
92796 return 0;
92798 _ACEOF
92799 rm -f conftest.$ac_objext
92800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92801 (eval $ac_compile) 2>conftest.er1
92802 ac_status=$?
92803 grep -v '^ *+' conftest.er1 >conftest.err
92804 rm -f conftest.er1
92805 cat conftest.err >&5
92806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92807 (exit $ac_status); } &&
92808 { ac_try='test -z "$ac_cxx_werror_flag"
92809 || test ! -s conftest.err'
92810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92811 (eval $ac_try) 2>&5
92812 ac_status=$?
92813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92814 (exit $ac_status); }; } &&
92815 { ac_try='test -s conftest.$ac_objext'
92816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92817 (eval $ac_try) 2>&5
92818 ac_status=$?
92819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92820 (exit $ac_status); }; }; then
92821 glibcxx_cv_func_atan2f_use=yes
92822 else
92823 echo "$as_me: failed program was:" >&5
92824 sed 's/^/| /' conftest.$ac_ext >&5
92826 glibcxx_cv_func_atan2f_use=no
92828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92829 ac_ext=c
92830 ac_cpp='$CPP $CPPFLAGS'
92831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92839 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
92840 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
92842 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
92844 for ac_func in atan2f
92846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92847 echo "$as_me:$LINENO: checking for $ac_func" >&5
92848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92849 if eval "test \"\${$as_ac_var+set}\" = set"; then
92850 echo $ECHO_N "(cached) $ECHO_C" >&6
92851 else
92852 if test x$gcc_no_link = xyes; then
92853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92855 { (exit 1); exit 1; }; }
92857 cat >conftest.$ac_ext <<_ACEOF
92858 /* confdefs.h. */
92859 _ACEOF
92860 cat confdefs.h >>conftest.$ac_ext
92861 cat >>conftest.$ac_ext <<_ACEOF
92862 /* end confdefs.h. */
92863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92865 #define $ac_func innocuous_$ac_func
92867 /* System header to define __stub macros and hopefully few prototypes,
92868 which can conflict with char $ac_func (); below.
92869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92870 <limits.h> exists even on freestanding compilers. */
92872 #ifdef __STDC__
92873 # include <limits.h>
92874 #else
92875 # include <assert.h>
92876 #endif
92878 #undef $ac_func
92880 /* Override any gcc2 internal prototype to avoid an error. */
92881 #ifdef __cplusplus
92882 extern "C"
92884 #endif
92885 /* We use char because int might match the return type of a gcc2
92886 builtin and then its argument prototype would still apply. */
92887 char $ac_func ();
92888 /* The GNU C library defines this for functions which it implements
92889 to always fail with ENOSYS. Some functions are actually named
92890 something starting with __ and the normal name is an alias. */
92891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92892 choke me
92893 #else
92894 char (*f) () = $ac_func;
92895 #endif
92896 #ifdef __cplusplus
92898 #endif
92901 main ()
92903 return f != $ac_func;
92905 return 0;
92907 _ACEOF
92908 rm -f conftest.$ac_objext conftest$ac_exeext
92909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92910 (eval $ac_link) 2>conftest.er1
92911 ac_status=$?
92912 grep -v '^ *+' conftest.er1 >conftest.err
92913 rm -f conftest.er1
92914 cat conftest.err >&5
92915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92916 (exit $ac_status); } &&
92917 { ac_try='test -z "$ac_c_werror_flag"
92918 || test ! -s conftest.err'
92919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92920 (eval $ac_try) 2>&5
92921 ac_status=$?
92922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92923 (exit $ac_status); }; } &&
92924 { ac_try='test -s conftest$ac_exeext'
92925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92926 (eval $ac_try) 2>&5
92927 ac_status=$?
92928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92929 (exit $ac_status); }; }; then
92930 eval "$as_ac_var=yes"
92931 else
92932 echo "$as_me: failed program was:" >&5
92933 sed 's/^/| /' conftest.$ac_ext >&5
92935 eval "$as_ac_var=no"
92937 rm -f conftest.err conftest.$ac_objext \
92938 conftest$ac_exeext conftest.$ac_ext
92940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92942 if test `eval echo '${'$as_ac_var'}'` = yes; then
92943 cat >>confdefs.h <<_ACEOF
92944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92945 _ACEOF
92948 done
92950 else
92952 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
92953 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
92954 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
92955 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
92956 echo $ECHO_N "(cached) $ECHO_C" >&6
92957 else
92961 ac_ext=cc
92962 ac_cpp='$CXXCPP $CPPFLAGS'
92963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92967 cat >conftest.$ac_ext <<_ACEOF
92968 /* confdefs.h. */
92969 _ACEOF
92970 cat confdefs.h >>conftest.$ac_ext
92971 cat >>conftest.$ac_ext <<_ACEOF
92972 /* end confdefs.h. */
92973 #include <math.h>
92975 main ()
92977 _atan2f(0, 0);
92979 return 0;
92981 _ACEOF
92982 rm -f conftest.$ac_objext
92983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92984 (eval $ac_compile) 2>conftest.er1
92985 ac_status=$?
92986 grep -v '^ *+' conftest.er1 >conftest.err
92987 rm -f conftest.er1
92988 cat conftest.err >&5
92989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92990 (exit $ac_status); } &&
92991 { ac_try='test -z "$ac_cxx_werror_flag"
92992 || test ! -s conftest.err'
92993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92994 (eval $ac_try) 2>&5
92995 ac_status=$?
92996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92997 (exit $ac_status); }; } &&
92998 { ac_try='test -s conftest.$ac_objext'
92999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93000 (eval $ac_try) 2>&5
93001 ac_status=$?
93002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93003 (exit $ac_status); }; }; then
93004 glibcxx_cv_func__atan2f_use=yes
93005 else
93006 echo "$as_me: failed program was:" >&5
93007 sed 's/^/| /' conftest.$ac_ext >&5
93009 glibcxx_cv_func__atan2f_use=no
93011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93012 ac_ext=c
93013 ac_cpp='$CPP $CPPFLAGS'
93014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93022 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
93023 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
93025 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
93027 for ac_func in _atan2f
93029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93030 echo "$as_me:$LINENO: checking for $ac_func" >&5
93031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93032 if eval "test \"\${$as_ac_var+set}\" = set"; then
93033 echo $ECHO_N "(cached) $ECHO_C" >&6
93034 else
93035 if test x$gcc_no_link = xyes; then
93036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93038 { (exit 1); exit 1; }; }
93040 cat >conftest.$ac_ext <<_ACEOF
93041 /* confdefs.h. */
93042 _ACEOF
93043 cat confdefs.h >>conftest.$ac_ext
93044 cat >>conftest.$ac_ext <<_ACEOF
93045 /* end confdefs.h. */
93046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93048 #define $ac_func innocuous_$ac_func
93050 /* System header to define __stub macros and hopefully few prototypes,
93051 which can conflict with char $ac_func (); below.
93052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93053 <limits.h> exists even on freestanding compilers. */
93055 #ifdef __STDC__
93056 # include <limits.h>
93057 #else
93058 # include <assert.h>
93059 #endif
93061 #undef $ac_func
93063 /* Override any gcc2 internal prototype to avoid an error. */
93064 #ifdef __cplusplus
93065 extern "C"
93067 #endif
93068 /* We use char because int might match the return type of a gcc2
93069 builtin and then its argument prototype would still apply. */
93070 char $ac_func ();
93071 /* The GNU C library defines this for functions which it implements
93072 to always fail with ENOSYS. Some functions are actually named
93073 something starting with __ and the normal name is an alias. */
93074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93075 choke me
93076 #else
93077 char (*f) () = $ac_func;
93078 #endif
93079 #ifdef __cplusplus
93081 #endif
93084 main ()
93086 return f != $ac_func;
93088 return 0;
93090 _ACEOF
93091 rm -f conftest.$ac_objext conftest$ac_exeext
93092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93093 (eval $ac_link) 2>conftest.er1
93094 ac_status=$?
93095 grep -v '^ *+' conftest.er1 >conftest.err
93096 rm -f conftest.er1
93097 cat conftest.err >&5
93098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93099 (exit $ac_status); } &&
93100 { ac_try='test -z "$ac_c_werror_flag"
93101 || test ! -s conftest.err'
93102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93103 (eval $ac_try) 2>&5
93104 ac_status=$?
93105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93106 (exit $ac_status); }; } &&
93107 { ac_try='test -s conftest$ac_exeext'
93108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93109 (eval $ac_try) 2>&5
93110 ac_status=$?
93111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93112 (exit $ac_status); }; }; then
93113 eval "$as_ac_var=yes"
93114 else
93115 echo "$as_me: failed program was:" >&5
93116 sed 's/^/| /' conftest.$ac_ext >&5
93118 eval "$as_ac_var=no"
93120 rm -f conftest.err conftest.$ac_objext \
93121 conftest$ac_exeext conftest.$ac_ext
93123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93125 if test `eval echo '${'$as_ac_var'}'` = yes; then
93126 cat >>confdefs.h <<_ACEOF
93127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93128 _ACEOF
93131 done
93141 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
93142 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
93143 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
93144 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
93145 echo $ECHO_N "(cached) $ECHO_C" >&6
93146 else
93150 ac_ext=cc
93151 ac_cpp='$CXXCPP $CPPFLAGS'
93152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93156 cat >conftest.$ac_ext <<_ACEOF
93157 /* confdefs.h. */
93158 _ACEOF
93159 cat confdefs.h >>conftest.$ac_ext
93160 cat >>conftest.$ac_ext <<_ACEOF
93161 /* end confdefs.h. */
93162 #include <math.h>
93163 #ifdef HAVE_IEEEFP_H
93164 #include <ieeefp.h>
93165 #endif
93168 main ()
93170 fabsf(0);
93172 return 0;
93174 _ACEOF
93175 rm -f conftest.$ac_objext
93176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93177 (eval $ac_compile) 2>conftest.er1
93178 ac_status=$?
93179 grep -v '^ *+' conftest.er1 >conftest.err
93180 rm -f conftest.er1
93181 cat conftest.err >&5
93182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93183 (exit $ac_status); } &&
93184 { ac_try='test -z "$ac_cxx_werror_flag"
93185 || test ! -s conftest.err'
93186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93187 (eval $ac_try) 2>&5
93188 ac_status=$?
93189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93190 (exit $ac_status); }; } &&
93191 { ac_try='test -s conftest.$ac_objext'
93192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93193 (eval $ac_try) 2>&5
93194 ac_status=$?
93195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93196 (exit $ac_status); }; }; then
93197 glibcxx_cv_func_fabsf_use=yes
93198 else
93199 echo "$as_me: failed program was:" >&5
93200 sed 's/^/| /' conftest.$ac_ext >&5
93202 glibcxx_cv_func_fabsf_use=no
93204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93205 ac_ext=c
93206 ac_cpp='$CPP $CPPFLAGS'
93207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93215 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
93216 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
93218 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
93220 for ac_func in fabsf
93222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93223 echo "$as_me:$LINENO: checking for $ac_func" >&5
93224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93225 if eval "test \"\${$as_ac_var+set}\" = set"; then
93226 echo $ECHO_N "(cached) $ECHO_C" >&6
93227 else
93228 if test x$gcc_no_link = xyes; then
93229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93231 { (exit 1); exit 1; }; }
93233 cat >conftest.$ac_ext <<_ACEOF
93234 /* confdefs.h. */
93235 _ACEOF
93236 cat confdefs.h >>conftest.$ac_ext
93237 cat >>conftest.$ac_ext <<_ACEOF
93238 /* end confdefs.h. */
93239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93241 #define $ac_func innocuous_$ac_func
93243 /* System header to define __stub macros and hopefully few prototypes,
93244 which can conflict with char $ac_func (); below.
93245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93246 <limits.h> exists even on freestanding compilers. */
93248 #ifdef __STDC__
93249 # include <limits.h>
93250 #else
93251 # include <assert.h>
93252 #endif
93254 #undef $ac_func
93256 /* Override any gcc2 internal prototype to avoid an error. */
93257 #ifdef __cplusplus
93258 extern "C"
93260 #endif
93261 /* We use char because int might match the return type of a gcc2
93262 builtin and then its argument prototype would still apply. */
93263 char $ac_func ();
93264 /* The GNU C library defines this for functions which it implements
93265 to always fail with ENOSYS. Some functions are actually named
93266 something starting with __ and the normal name is an alias. */
93267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93268 choke me
93269 #else
93270 char (*f) () = $ac_func;
93271 #endif
93272 #ifdef __cplusplus
93274 #endif
93277 main ()
93279 return f != $ac_func;
93281 return 0;
93283 _ACEOF
93284 rm -f conftest.$ac_objext conftest$ac_exeext
93285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93286 (eval $ac_link) 2>conftest.er1
93287 ac_status=$?
93288 grep -v '^ *+' conftest.er1 >conftest.err
93289 rm -f conftest.er1
93290 cat conftest.err >&5
93291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93292 (exit $ac_status); } &&
93293 { ac_try='test -z "$ac_c_werror_flag"
93294 || test ! -s conftest.err'
93295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93296 (eval $ac_try) 2>&5
93297 ac_status=$?
93298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93299 (exit $ac_status); }; } &&
93300 { ac_try='test -s conftest$ac_exeext'
93301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93302 (eval $ac_try) 2>&5
93303 ac_status=$?
93304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93305 (exit $ac_status); }; }; then
93306 eval "$as_ac_var=yes"
93307 else
93308 echo "$as_me: failed program was:" >&5
93309 sed 's/^/| /' conftest.$ac_ext >&5
93311 eval "$as_ac_var=no"
93313 rm -f conftest.err conftest.$ac_objext \
93314 conftest$ac_exeext conftest.$ac_ext
93316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93318 if test `eval echo '${'$as_ac_var'}'` = yes; then
93319 cat >>confdefs.h <<_ACEOF
93320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93321 _ACEOF
93324 done
93326 else
93328 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
93329 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
93330 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
93331 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
93332 echo $ECHO_N "(cached) $ECHO_C" >&6
93333 else
93337 ac_ext=cc
93338 ac_cpp='$CXXCPP $CPPFLAGS'
93339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93343 cat >conftest.$ac_ext <<_ACEOF
93344 /* confdefs.h. */
93345 _ACEOF
93346 cat confdefs.h >>conftest.$ac_ext
93347 cat >>conftest.$ac_ext <<_ACEOF
93348 /* end confdefs.h. */
93349 #include <math.h>
93350 #ifdef HAVE_IEEEFP_H
93351 #include <ieeefp.h>
93352 #endif
93355 main ()
93357 _fabsf(0);
93359 return 0;
93361 _ACEOF
93362 rm -f conftest.$ac_objext
93363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93364 (eval $ac_compile) 2>conftest.er1
93365 ac_status=$?
93366 grep -v '^ *+' conftest.er1 >conftest.err
93367 rm -f conftest.er1
93368 cat conftest.err >&5
93369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93370 (exit $ac_status); } &&
93371 { ac_try='test -z "$ac_cxx_werror_flag"
93372 || test ! -s conftest.err'
93373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93374 (eval $ac_try) 2>&5
93375 ac_status=$?
93376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93377 (exit $ac_status); }; } &&
93378 { ac_try='test -s conftest.$ac_objext'
93379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93380 (eval $ac_try) 2>&5
93381 ac_status=$?
93382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93383 (exit $ac_status); }; }; then
93384 glibcxx_cv_func__fabsf_use=yes
93385 else
93386 echo "$as_me: failed program was:" >&5
93387 sed 's/^/| /' conftest.$ac_ext >&5
93389 glibcxx_cv_func__fabsf_use=no
93391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93392 ac_ext=c
93393 ac_cpp='$CPP $CPPFLAGS'
93394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93402 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
93403 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
93405 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
93407 for ac_func in _fabsf
93409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93410 echo "$as_me:$LINENO: checking for $ac_func" >&5
93411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93412 if eval "test \"\${$as_ac_var+set}\" = set"; then
93413 echo $ECHO_N "(cached) $ECHO_C" >&6
93414 else
93415 if test x$gcc_no_link = xyes; then
93416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93418 { (exit 1); exit 1; }; }
93420 cat >conftest.$ac_ext <<_ACEOF
93421 /* confdefs.h. */
93422 _ACEOF
93423 cat confdefs.h >>conftest.$ac_ext
93424 cat >>conftest.$ac_ext <<_ACEOF
93425 /* end confdefs.h. */
93426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93428 #define $ac_func innocuous_$ac_func
93430 /* System header to define __stub macros and hopefully few prototypes,
93431 which can conflict with char $ac_func (); below.
93432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93433 <limits.h> exists even on freestanding compilers. */
93435 #ifdef __STDC__
93436 # include <limits.h>
93437 #else
93438 # include <assert.h>
93439 #endif
93441 #undef $ac_func
93443 /* Override any gcc2 internal prototype to avoid an error. */
93444 #ifdef __cplusplus
93445 extern "C"
93447 #endif
93448 /* We use char because int might match the return type of a gcc2
93449 builtin and then its argument prototype would still apply. */
93450 char $ac_func ();
93451 /* The GNU C library defines this for functions which it implements
93452 to always fail with ENOSYS. Some functions are actually named
93453 something starting with __ and the normal name is an alias. */
93454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93455 choke me
93456 #else
93457 char (*f) () = $ac_func;
93458 #endif
93459 #ifdef __cplusplus
93461 #endif
93464 main ()
93466 return f != $ac_func;
93468 return 0;
93470 _ACEOF
93471 rm -f conftest.$ac_objext conftest$ac_exeext
93472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93473 (eval $ac_link) 2>conftest.er1
93474 ac_status=$?
93475 grep -v '^ *+' conftest.er1 >conftest.err
93476 rm -f conftest.er1
93477 cat conftest.err >&5
93478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93479 (exit $ac_status); } &&
93480 { ac_try='test -z "$ac_c_werror_flag"
93481 || test ! -s conftest.err'
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); }; } &&
93487 { ac_try='test -s conftest$ac_exeext'
93488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93489 (eval $ac_try) 2>&5
93490 ac_status=$?
93491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93492 (exit $ac_status); }; }; then
93493 eval "$as_ac_var=yes"
93494 else
93495 echo "$as_me: failed program was:" >&5
93496 sed 's/^/| /' conftest.$ac_ext >&5
93498 eval "$as_ac_var=no"
93500 rm -f conftest.err conftest.$ac_objext \
93501 conftest$ac_exeext conftest.$ac_ext
93503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93505 if test `eval echo '${'$as_ac_var'}'` = yes; then
93506 cat >>confdefs.h <<_ACEOF
93507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93508 _ACEOF
93511 done
93521 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
93522 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
93523 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
93524 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
93525 echo $ECHO_N "(cached) $ECHO_C" >&6
93526 else
93530 ac_ext=cc
93531 ac_cpp='$CXXCPP $CPPFLAGS'
93532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93536 cat >conftest.$ac_ext <<_ACEOF
93537 /* confdefs.h. */
93538 _ACEOF
93539 cat confdefs.h >>conftest.$ac_ext
93540 cat >>conftest.$ac_ext <<_ACEOF
93541 /* end confdefs.h. */
93542 #include <math.h>
93544 main ()
93546 fmodf(0, 0);
93548 return 0;
93550 _ACEOF
93551 rm -f conftest.$ac_objext
93552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93553 (eval $ac_compile) 2>conftest.er1
93554 ac_status=$?
93555 grep -v '^ *+' conftest.er1 >conftest.err
93556 rm -f conftest.er1
93557 cat conftest.err >&5
93558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93559 (exit $ac_status); } &&
93560 { ac_try='test -z "$ac_cxx_werror_flag"
93561 || test ! -s conftest.err'
93562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93563 (eval $ac_try) 2>&5
93564 ac_status=$?
93565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93566 (exit $ac_status); }; } &&
93567 { ac_try='test -s conftest.$ac_objext'
93568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93569 (eval $ac_try) 2>&5
93570 ac_status=$?
93571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93572 (exit $ac_status); }; }; then
93573 glibcxx_cv_func_fmodf_use=yes
93574 else
93575 echo "$as_me: failed program was:" >&5
93576 sed 's/^/| /' conftest.$ac_ext >&5
93578 glibcxx_cv_func_fmodf_use=no
93580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93581 ac_ext=c
93582 ac_cpp='$CPP $CPPFLAGS'
93583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93591 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
93592 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
93594 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
93596 for ac_func in fmodf
93598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93599 echo "$as_me:$LINENO: checking for $ac_func" >&5
93600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93601 if eval "test \"\${$as_ac_var+set}\" = set"; then
93602 echo $ECHO_N "(cached) $ECHO_C" >&6
93603 else
93604 if test x$gcc_no_link = xyes; then
93605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93607 { (exit 1); exit 1; }; }
93609 cat >conftest.$ac_ext <<_ACEOF
93610 /* confdefs.h. */
93611 _ACEOF
93612 cat confdefs.h >>conftest.$ac_ext
93613 cat >>conftest.$ac_ext <<_ACEOF
93614 /* end confdefs.h. */
93615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93617 #define $ac_func innocuous_$ac_func
93619 /* System header to define __stub macros and hopefully few prototypes,
93620 which can conflict with char $ac_func (); below.
93621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93622 <limits.h> exists even on freestanding compilers. */
93624 #ifdef __STDC__
93625 # include <limits.h>
93626 #else
93627 # include <assert.h>
93628 #endif
93630 #undef $ac_func
93632 /* Override any gcc2 internal prototype to avoid an error. */
93633 #ifdef __cplusplus
93634 extern "C"
93636 #endif
93637 /* We use char because int might match the return type of a gcc2
93638 builtin and then its argument prototype would still apply. */
93639 char $ac_func ();
93640 /* The GNU C library defines this for functions which it implements
93641 to always fail with ENOSYS. Some functions are actually named
93642 something starting with __ and the normal name is an alias. */
93643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93644 choke me
93645 #else
93646 char (*f) () = $ac_func;
93647 #endif
93648 #ifdef __cplusplus
93650 #endif
93653 main ()
93655 return f != $ac_func;
93657 return 0;
93659 _ACEOF
93660 rm -f conftest.$ac_objext conftest$ac_exeext
93661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93662 (eval $ac_link) 2>conftest.er1
93663 ac_status=$?
93664 grep -v '^ *+' conftest.er1 >conftest.err
93665 rm -f conftest.er1
93666 cat conftest.err >&5
93667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93668 (exit $ac_status); } &&
93669 { ac_try='test -z "$ac_c_werror_flag"
93670 || test ! -s conftest.err'
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); }; } &&
93676 { ac_try='test -s conftest$ac_exeext'
93677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93678 (eval $ac_try) 2>&5
93679 ac_status=$?
93680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93681 (exit $ac_status); }; }; then
93682 eval "$as_ac_var=yes"
93683 else
93684 echo "$as_me: failed program was:" >&5
93685 sed 's/^/| /' conftest.$ac_ext >&5
93687 eval "$as_ac_var=no"
93689 rm -f conftest.err conftest.$ac_objext \
93690 conftest$ac_exeext conftest.$ac_ext
93692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93694 if test `eval echo '${'$as_ac_var'}'` = yes; then
93695 cat >>confdefs.h <<_ACEOF
93696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93697 _ACEOF
93700 done
93702 else
93704 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
93705 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
93706 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
93707 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
93708 echo $ECHO_N "(cached) $ECHO_C" >&6
93709 else
93713 ac_ext=cc
93714 ac_cpp='$CXXCPP $CPPFLAGS'
93715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93719 cat >conftest.$ac_ext <<_ACEOF
93720 /* confdefs.h. */
93721 _ACEOF
93722 cat confdefs.h >>conftest.$ac_ext
93723 cat >>conftest.$ac_ext <<_ACEOF
93724 /* end confdefs.h. */
93725 #include <math.h>
93727 main ()
93729 _fmodf(0, 0);
93731 return 0;
93733 _ACEOF
93734 rm -f conftest.$ac_objext
93735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93736 (eval $ac_compile) 2>conftest.er1
93737 ac_status=$?
93738 grep -v '^ *+' conftest.er1 >conftest.err
93739 rm -f conftest.er1
93740 cat conftest.err >&5
93741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93742 (exit $ac_status); } &&
93743 { ac_try='test -z "$ac_cxx_werror_flag"
93744 || test ! -s conftest.err'
93745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93746 (eval $ac_try) 2>&5
93747 ac_status=$?
93748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93749 (exit $ac_status); }; } &&
93750 { ac_try='test -s conftest.$ac_objext'
93751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93752 (eval $ac_try) 2>&5
93753 ac_status=$?
93754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93755 (exit $ac_status); }; }; then
93756 glibcxx_cv_func__fmodf_use=yes
93757 else
93758 echo "$as_me: failed program was:" >&5
93759 sed 's/^/| /' conftest.$ac_ext >&5
93761 glibcxx_cv_func__fmodf_use=no
93763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93764 ac_ext=c
93765 ac_cpp='$CPP $CPPFLAGS'
93766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93774 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
93775 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
93777 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
93779 for ac_func in _fmodf
93781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93782 echo "$as_me:$LINENO: checking for $ac_func" >&5
93783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93784 if eval "test \"\${$as_ac_var+set}\" = set"; then
93785 echo $ECHO_N "(cached) $ECHO_C" >&6
93786 else
93787 if test x$gcc_no_link = xyes; then
93788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93790 { (exit 1); exit 1; }; }
93792 cat >conftest.$ac_ext <<_ACEOF
93793 /* confdefs.h. */
93794 _ACEOF
93795 cat confdefs.h >>conftest.$ac_ext
93796 cat >>conftest.$ac_ext <<_ACEOF
93797 /* end confdefs.h. */
93798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93800 #define $ac_func innocuous_$ac_func
93802 /* System header to define __stub macros and hopefully few prototypes,
93803 which can conflict with char $ac_func (); below.
93804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93805 <limits.h> exists even on freestanding compilers. */
93807 #ifdef __STDC__
93808 # include <limits.h>
93809 #else
93810 # include <assert.h>
93811 #endif
93813 #undef $ac_func
93815 /* Override any gcc2 internal prototype to avoid an error. */
93816 #ifdef __cplusplus
93817 extern "C"
93819 #endif
93820 /* We use char because int might match the return type of a gcc2
93821 builtin and then its argument prototype would still apply. */
93822 char $ac_func ();
93823 /* The GNU C library defines this for functions which it implements
93824 to always fail with ENOSYS. Some functions are actually named
93825 something starting with __ and the normal name is an alias. */
93826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93827 choke me
93828 #else
93829 char (*f) () = $ac_func;
93830 #endif
93831 #ifdef __cplusplus
93833 #endif
93836 main ()
93838 return f != $ac_func;
93840 return 0;
93842 _ACEOF
93843 rm -f conftest.$ac_objext conftest$ac_exeext
93844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93845 (eval $ac_link) 2>conftest.er1
93846 ac_status=$?
93847 grep -v '^ *+' conftest.er1 >conftest.err
93848 rm -f conftest.er1
93849 cat conftest.err >&5
93850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93851 (exit $ac_status); } &&
93852 { ac_try='test -z "$ac_c_werror_flag"
93853 || test ! -s conftest.err'
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); }; } &&
93859 { ac_try='test -s conftest$ac_exeext'
93860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93861 (eval $ac_try) 2>&5
93862 ac_status=$?
93863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93864 (exit $ac_status); }; }; then
93865 eval "$as_ac_var=yes"
93866 else
93867 echo "$as_me: failed program was:" >&5
93868 sed 's/^/| /' conftest.$ac_ext >&5
93870 eval "$as_ac_var=no"
93872 rm -f conftest.err conftest.$ac_objext \
93873 conftest$ac_exeext conftest.$ac_ext
93875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93877 if test `eval echo '${'$as_ac_var'}'` = yes; then
93878 cat >>confdefs.h <<_ACEOF
93879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93880 _ACEOF
93883 done
93893 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
93894 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
93895 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
93896 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
93897 echo $ECHO_N "(cached) $ECHO_C" >&6
93898 else
93902 ac_ext=cc
93903 ac_cpp='$CXXCPP $CPPFLAGS'
93904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93908 cat >conftest.$ac_ext <<_ACEOF
93909 /* confdefs.h. */
93910 _ACEOF
93911 cat confdefs.h >>conftest.$ac_ext
93912 cat >>conftest.$ac_ext <<_ACEOF
93913 /* end confdefs.h. */
93914 #include <math.h>
93916 main ()
93918 frexpf(0, 0);
93920 return 0;
93922 _ACEOF
93923 rm -f conftest.$ac_objext
93924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93925 (eval $ac_compile) 2>conftest.er1
93926 ac_status=$?
93927 grep -v '^ *+' conftest.er1 >conftest.err
93928 rm -f conftest.er1
93929 cat conftest.err >&5
93930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93931 (exit $ac_status); } &&
93932 { ac_try='test -z "$ac_cxx_werror_flag"
93933 || test ! -s conftest.err'
93934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93935 (eval $ac_try) 2>&5
93936 ac_status=$?
93937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93938 (exit $ac_status); }; } &&
93939 { ac_try='test -s conftest.$ac_objext'
93940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93941 (eval $ac_try) 2>&5
93942 ac_status=$?
93943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93944 (exit $ac_status); }; }; then
93945 glibcxx_cv_func_frexpf_use=yes
93946 else
93947 echo "$as_me: failed program was:" >&5
93948 sed 's/^/| /' conftest.$ac_ext >&5
93950 glibcxx_cv_func_frexpf_use=no
93952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93953 ac_ext=c
93954 ac_cpp='$CPP $CPPFLAGS'
93955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93963 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
93964 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
93966 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
93968 for ac_func in frexpf
93970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93971 echo "$as_me:$LINENO: checking for $ac_func" >&5
93972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93973 if eval "test \"\${$as_ac_var+set}\" = set"; then
93974 echo $ECHO_N "(cached) $ECHO_C" >&6
93975 else
93976 if test x$gcc_no_link = xyes; then
93977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93979 { (exit 1); exit 1; }; }
93981 cat >conftest.$ac_ext <<_ACEOF
93982 /* confdefs.h. */
93983 _ACEOF
93984 cat confdefs.h >>conftest.$ac_ext
93985 cat >>conftest.$ac_ext <<_ACEOF
93986 /* end confdefs.h. */
93987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93989 #define $ac_func innocuous_$ac_func
93991 /* System header to define __stub macros and hopefully few prototypes,
93992 which can conflict with char $ac_func (); below.
93993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93994 <limits.h> exists even on freestanding compilers. */
93996 #ifdef __STDC__
93997 # include <limits.h>
93998 #else
93999 # include <assert.h>
94000 #endif
94002 #undef $ac_func
94004 /* Override any gcc2 internal prototype to avoid an error. */
94005 #ifdef __cplusplus
94006 extern "C"
94008 #endif
94009 /* We use char because int might match the return type of a gcc2
94010 builtin and then its argument prototype would still apply. */
94011 char $ac_func ();
94012 /* The GNU C library defines this for functions which it implements
94013 to always fail with ENOSYS. Some functions are actually named
94014 something starting with __ and the normal name is an alias. */
94015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94016 choke me
94017 #else
94018 char (*f) () = $ac_func;
94019 #endif
94020 #ifdef __cplusplus
94022 #endif
94025 main ()
94027 return f != $ac_func;
94029 return 0;
94031 _ACEOF
94032 rm -f conftest.$ac_objext conftest$ac_exeext
94033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94034 (eval $ac_link) 2>conftest.er1
94035 ac_status=$?
94036 grep -v '^ *+' conftest.er1 >conftest.err
94037 rm -f conftest.er1
94038 cat conftest.err >&5
94039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94040 (exit $ac_status); } &&
94041 { ac_try='test -z "$ac_c_werror_flag"
94042 || test ! -s conftest.err'
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); }; } &&
94048 { ac_try='test -s conftest$ac_exeext'
94049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94050 (eval $ac_try) 2>&5
94051 ac_status=$?
94052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94053 (exit $ac_status); }; }; then
94054 eval "$as_ac_var=yes"
94055 else
94056 echo "$as_me: failed program was:" >&5
94057 sed 's/^/| /' conftest.$ac_ext >&5
94059 eval "$as_ac_var=no"
94061 rm -f conftest.err conftest.$ac_objext \
94062 conftest$ac_exeext conftest.$ac_ext
94064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94066 if test `eval echo '${'$as_ac_var'}'` = yes; then
94067 cat >>confdefs.h <<_ACEOF
94068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94069 _ACEOF
94072 done
94074 else
94076 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
94077 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
94078 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
94079 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
94080 echo $ECHO_N "(cached) $ECHO_C" >&6
94081 else
94085 ac_ext=cc
94086 ac_cpp='$CXXCPP $CPPFLAGS'
94087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94091 cat >conftest.$ac_ext <<_ACEOF
94092 /* confdefs.h. */
94093 _ACEOF
94094 cat confdefs.h >>conftest.$ac_ext
94095 cat >>conftest.$ac_ext <<_ACEOF
94096 /* end confdefs.h. */
94097 #include <math.h>
94099 main ()
94101 _frexpf(0, 0);
94103 return 0;
94105 _ACEOF
94106 rm -f conftest.$ac_objext
94107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94108 (eval $ac_compile) 2>conftest.er1
94109 ac_status=$?
94110 grep -v '^ *+' conftest.er1 >conftest.err
94111 rm -f conftest.er1
94112 cat conftest.err >&5
94113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94114 (exit $ac_status); } &&
94115 { ac_try='test -z "$ac_cxx_werror_flag"
94116 || test ! -s conftest.err'
94117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94118 (eval $ac_try) 2>&5
94119 ac_status=$?
94120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94121 (exit $ac_status); }; } &&
94122 { ac_try='test -s conftest.$ac_objext'
94123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94124 (eval $ac_try) 2>&5
94125 ac_status=$?
94126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94127 (exit $ac_status); }; }; then
94128 glibcxx_cv_func__frexpf_use=yes
94129 else
94130 echo "$as_me: failed program was:" >&5
94131 sed 's/^/| /' conftest.$ac_ext >&5
94133 glibcxx_cv_func__frexpf_use=no
94135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94136 ac_ext=c
94137 ac_cpp='$CPP $CPPFLAGS'
94138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94146 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
94147 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
94149 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
94151 for ac_func in _frexpf
94153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94154 echo "$as_me:$LINENO: checking for $ac_func" >&5
94155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94156 if eval "test \"\${$as_ac_var+set}\" = set"; then
94157 echo $ECHO_N "(cached) $ECHO_C" >&6
94158 else
94159 if test x$gcc_no_link = xyes; then
94160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94162 { (exit 1); exit 1; }; }
94164 cat >conftest.$ac_ext <<_ACEOF
94165 /* confdefs.h. */
94166 _ACEOF
94167 cat confdefs.h >>conftest.$ac_ext
94168 cat >>conftest.$ac_ext <<_ACEOF
94169 /* end confdefs.h. */
94170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94172 #define $ac_func innocuous_$ac_func
94174 /* System header to define __stub macros and hopefully few prototypes,
94175 which can conflict with char $ac_func (); below.
94176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94177 <limits.h> exists even on freestanding compilers. */
94179 #ifdef __STDC__
94180 # include <limits.h>
94181 #else
94182 # include <assert.h>
94183 #endif
94185 #undef $ac_func
94187 /* Override any gcc2 internal prototype to avoid an error. */
94188 #ifdef __cplusplus
94189 extern "C"
94191 #endif
94192 /* We use char because int might match the return type of a gcc2
94193 builtin and then its argument prototype would still apply. */
94194 char $ac_func ();
94195 /* The GNU C library defines this for functions which it implements
94196 to always fail with ENOSYS. Some functions are actually named
94197 something starting with __ and the normal name is an alias. */
94198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94199 choke me
94200 #else
94201 char (*f) () = $ac_func;
94202 #endif
94203 #ifdef __cplusplus
94205 #endif
94208 main ()
94210 return f != $ac_func;
94212 return 0;
94214 _ACEOF
94215 rm -f conftest.$ac_objext conftest$ac_exeext
94216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94217 (eval $ac_link) 2>conftest.er1
94218 ac_status=$?
94219 grep -v '^ *+' conftest.er1 >conftest.err
94220 rm -f conftest.er1
94221 cat conftest.err >&5
94222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94223 (exit $ac_status); } &&
94224 { ac_try='test -z "$ac_c_werror_flag"
94225 || test ! -s conftest.err'
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); }; } &&
94231 { ac_try='test -s conftest$ac_exeext'
94232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94233 (eval $ac_try) 2>&5
94234 ac_status=$?
94235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94236 (exit $ac_status); }; }; then
94237 eval "$as_ac_var=yes"
94238 else
94239 echo "$as_me: failed program was:" >&5
94240 sed 's/^/| /' conftest.$ac_ext >&5
94242 eval "$as_ac_var=no"
94244 rm -f conftest.err conftest.$ac_objext \
94245 conftest$ac_exeext conftest.$ac_ext
94247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94249 if test `eval echo '${'$as_ac_var'}'` = yes; then
94250 cat >>confdefs.h <<_ACEOF
94251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94252 _ACEOF
94255 done
94265 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
94266 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
94267 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
94268 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
94269 echo $ECHO_N "(cached) $ECHO_C" >&6
94270 else
94274 ac_ext=cc
94275 ac_cpp='$CXXCPP $CPPFLAGS'
94276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94280 cat >conftest.$ac_ext <<_ACEOF
94281 /* confdefs.h. */
94282 _ACEOF
94283 cat confdefs.h >>conftest.$ac_ext
94284 cat >>conftest.$ac_ext <<_ACEOF
94285 /* end confdefs.h. */
94286 #include <math.h>
94288 main ()
94290 hypotf(0, 0);
94292 return 0;
94294 _ACEOF
94295 rm -f conftest.$ac_objext
94296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94297 (eval $ac_compile) 2>conftest.er1
94298 ac_status=$?
94299 grep -v '^ *+' conftest.er1 >conftest.err
94300 rm -f conftest.er1
94301 cat conftest.err >&5
94302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94303 (exit $ac_status); } &&
94304 { ac_try='test -z "$ac_cxx_werror_flag"
94305 || test ! -s conftest.err'
94306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94307 (eval $ac_try) 2>&5
94308 ac_status=$?
94309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94310 (exit $ac_status); }; } &&
94311 { ac_try='test -s conftest.$ac_objext'
94312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94313 (eval $ac_try) 2>&5
94314 ac_status=$?
94315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94316 (exit $ac_status); }; }; then
94317 glibcxx_cv_func_hypotf_use=yes
94318 else
94319 echo "$as_me: failed program was:" >&5
94320 sed 's/^/| /' conftest.$ac_ext >&5
94322 glibcxx_cv_func_hypotf_use=no
94324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94325 ac_ext=c
94326 ac_cpp='$CPP $CPPFLAGS'
94327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94335 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
94336 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
94338 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
94340 for ac_func in hypotf
94342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94343 echo "$as_me:$LINENO: checking for $ac_func" >&5
94344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94345 if eval "test \"\${$as_ac_var+set}\" = set"; then
94346 echo $ECHO_N "(cached) $ECHO_C" >&6
94347 else
94348 if test x$gcc_no_link = xyes; then
94349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94351 { (exit 1); exit 1; }; }
94353 cat >conftest.$ac_ext <<_ACEOF
94354 /* confdefs.h. */
94355 _ACEOF
94356 cat confdefs.h >>conftest.$ac_ext
94357 cat >>conftest.$ac_ext <<_ACEOF
94358 /* end confdefs.h. */
94359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94361 #define $ac_func innocuous_$ac_func
94363 /* System header to define __stub macros and hopefully few prototypes,
94364 which can conflict with char $ac_func (); below.
94365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94366 <limits.h> exists even on freestanding compilers. */
94368 #ifdef __STDC__
94369 # include <limits.h>
94370 #else
94371 # include <assert.h>
94372 #endif
94374 #undef $ac_func
94376 /* Override any gcc2 internal prototype to avoid an error. */
94377 #ifdef __cplusplus
94378 extern "C"
94380 #endif
94381 /* We use char because int might match the return type of a gcc2
94382 builtin and then its argument prototype would still apply. */
94383 char $ac_func ();
94384 /* The GNU C library defines this for functions which it implements
94385 to always fail with ENOSYS. Some functions are actually named
94386 something starting with __ and the normal name is an alias. */
94387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94388 choke me
94389 #else
94390 char (*f) () = $ac_func;
94391 #endif
94392 #ifdef __cplusplus
94394 #endif
94397 main ()
94399 return f != $ac_func;
94401 return 0;
94403 _ACEOF
94404 rm -f conftest.$ac_objext conftest$ac_exeext
94405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94406 (eval $ac_link) 2>conftest.er1
94407 ac_status=$?
94408 grep -v '^ *+' conftest.er1 >conftest.err
94409 rm -f conftest.er1
94410 cat conftest.err >&5
94411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94412 (exit $ac_status); } &&
94413 { ac_try='test -z "$ac_c_werror_flag"
94414 || test ! -s conftest.err'
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); }; } &&
94420 { ac_try='test -s conftest$ac_exeext'
94421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94422 (eval $ac_try) 2>&5
94423 ac_status=$?
94424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94425 (exit $ac_status); }; }; then
94426 eval "$as_ac_var=yes"
94427 else
94428 echo "$as_me: failed program was:" >&5
94429 sed 's/^/| /' conftest.$ac_ext >&5
94431 eval "$as_ac_var=no"
94433 rm -f conftest.err conftest.$ac_objext \
94434 conftest$ac_exeext conftest.$ac_ext
94436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94438 if test `eval echo '${'$as_ac_var'}'` = yes; then
94439 cat >>confdefs.h <<_ACEOF
94440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94441 _ACEOF
94444 done
94446 else
94448 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
94449 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
94450 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
94451 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
94452 echo $ECHO_N "(cached) $ECHO_C" >&6
94453 else
94457 ac_ext=cc
94458 ac_cpp='$CXXCPP $CPPFLAGS'
94459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94463 cat >conftest.$ac_ext <<_ACEOF
94464 /* confdefs.h. */
94465 _ACEOF
94466 cat confdefs.h >>conftest.$ac_ext
94467 cat >>conftest.$ac_ext <<_ACEOF
94468 /* end confdefs.h. */
94469 #include <math.h>
94471 main ()
94473 _hypotf(0, 0);
94475 return 0;
94477 _ACEOF
94478 rm -f conftest.$ac_objext
94479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94480 (eval $ac_compile) 2>conftest.er1
94481 ac_status=$?
94482 grep -v '^ *+' conftest.er1 >conftest.err
94483 rm -f conftest.er1
94484 cat conftest.err >&5
94485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94486 (exit $ac_status); } &&
94487 { ac_try='test -z "$ac_cxx_werror_flag"
94488 || test ! -s conftest.err'
94489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94490 (eval $ac_try) 2>&5
94491 ac_status=$?
94492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94493 (exit $ac_status); }; } &&
94494 { ac_try='test -s conftest.$ac_objext'
94495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94496 (eval $ac_try) 2>&5
94497 ac_status=$?
94498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94499 (exit $ac_status); }; }; then
94500 glibcxx_cv_func__hypotf_use=yes
94501 else
94502 echo "$as_me: failed program was:" >&5
94503 sed 's/^/| /' conftest.$ac_ext >&5
94505 glibcxx_cv_func__hypotf_use=no
94507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94508 ac_ext=c
94509 ac_cpp='$CPP $CPPFLAGS'
94510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
94519 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
94521 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
94523 for ac_func in _hypotf
94525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94526 echo "$as_me:$LINENO: checking for $ac_func" >&5
94527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94528 if eval "test \"\${$as_ac_var+set}\" = set"; then
94529 echo $ECHO_N "(cached) $ECHO_C" >&6
94530 else
94531 if test x$gcc_no_link = xyes; then
94532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94534 { (exit 1); exit 1; }; }
94536 cat >conftest.$ac_ext <<_ACEOF
94537 /* confdefs.h. */
94538 _ACEOF
94539 cat confdefs.h >>conftest.$ac_ext
94540 cat >>conftest.$ac_ext <<_ACEOF
94541 /* end confdefs.h. */
94542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94544 #define $ac_func innocuous_$ac_func
94546 /* System header to define __stub macros and hopefully few prototypes,
94547 which can conflict with char $ac_func (); below.
94548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94549 <limits.h> exists even on freestanding compilers. */
94551 #ifdef __STDC__
94552 # include <limits.h>
94553 #else
94554 # include <assert.h>
94555 #endif
94557 #undef $ac_func
94559 /* Override any gcc2 internal prototype to avoid an error. */
94560 #ifdef __cplusplus
94561 extern "C"
94563 #endif
94564 /* We use char because int might match the return type of a gcc2
94565 builtin and then its argument prototype would still apply. */
94566 char $ac_func ();
94567 /* The GNU C library defines this for functions which it implements
94568 to always fail with ENOSYS. Some functions are actually named
94569 something starting with __ and the normal name is an alias. */
94570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94571 choke me
94572 #else
94573 char (*f) () = $ac_func;
94574 #endif
94575 #ifdef __cplusplus
94577 #endif
94580 main ()
94582 return f != $ac_func;
94584 return 0;
94586 _ACEOF
94587 rm -f conftest.$ac_objext conftest$ac_exeext
94588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94589 (eval $ac_link) 2>conftest.er1
94590 ac_status=$?
94591 grep -v '^ *+' conftest.er1 >conftest.err
94592 rm -f conftest.er1
94593 cat conftest.err >&5
94594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94595 (exit $ac_status); } &&
94596 { ac_try='test -z "$ac_c_werror_flag"
94597 || test ! -s conftest.err'
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); }; } &&
94603 { ac_try='test -s conftest$ac_exeext'
94604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94605 (eval $ac_try) 2>&5
94606 ac_status=$?
94607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94608 (exit $ac_status); }; }; then
94609 eval "$as_ac_var=yes"
94610 else
94611 echo "$as_me: failed program was:" >&5
94612 sed 's/^/| /' conftest.$ac_ext >&5
94614 eval "$as_ac_var=no"
94616 rm -f conftest.err conftest.$ac_objext \
94617 conftest$ac_exeext conftest.$ac_ext
94619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94621 if test `eval echo '${'$as_ac_var'}'` = yes; then
94622 cat >>confdefs.h <<_ACEOF
94623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94624 _ACEOF
94627 done
94637 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
94638 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
94639 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
94640 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
94641 echo $ECHO_N "(cached) $ECHO_C" >&6
94642 else
94646 ac_ext=cc
94647 ac_cpp='$CXXCPP $CPPFLAGS'
94648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94652 cat >conftest.$ac_ext <<_ACEOF
94653 /* confdefs.h. */
94654 _ACEOF
94655 cat confdefs.h >>conftest.$ac_ext
94656 cat >>conftest.$ac_ext <<_ACEOF
94657 /* end confdefs.h. */
94658 #include <math.h>
94660 main ()
94662 ldexpf(0, 0);
94664 return 0;
94666 _ACEOF
94667 rm -f conftest.$ac_objext
94668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94669 (eval $ac_compile) 2>conftest.er1
94670 ac_status=$?
94671 grep -v '^ *+' conftest.er1 >conftest.err
94672 rm -f conftest.er1
94673 cat conftest.err >&5
94674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94675 (exit $ac_status); } &&
94676 { ac_try='test -z "$ac_cxx_werror_flag"
94677 || test ! -s conftest.err'
94678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94679 (eval $ac_try) 2>&5
94680 ac_status=$?
94681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94682 (exit $ac_status); }; } &&
94683 { ac_try='test -s conftest.$ac_objext'
94684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94685 (eval $ac_try) 2>&5
94686 ac_status=$?
94687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94688 (exit $ac_status); }; }; then
94689 glibcxx_cv_func_ldexpf_use=yes
94690 else
94691 echo "$as_me: failed program was:" >&5
94692 sed 's/^/| /' conftest.$ac_ext >&5
94694 glibcxx_cv_func_ldexpf_use=no
94696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94697 ac_ext=c
94698 ac_cpp='$CPP $CPPFLAGS'
94699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94707 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
94708 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
94710 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
94712 for ac_func in ldexpf
94714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94715 echo "$as_me:$LINENO: checking for $ac_func" >&5
94716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94717 if eval "test \"\${$as_ac_var+set}\" = set"; then
94718 echo $ECHO_N "(cached) $ECHO_C" >&6
94719 else
94720 if test x$gcc_no_link = xyes; then
94721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94723 { (exit 1); exit 1; }; }
94725 cat >conftest.$ac_ext <<_ACEOF
94726 /* confdefs.h. */
94727 _ACEOF
94728 cat confdefs.h >>conftest.$ac_ext
94729 cat >>conftest.$ac_ext <<_ACEOF
94730 /* end confdefs.h. */
94731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94733 #define $ac_func innocuous_$ac_func
94735 /* System header to define __stub macros and hopefully few prototypes,
94736 which can conflict with char $ac_func (); below.
94737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94738 <limits.h> exists even on freestanding compilers. */
94740 #ifdef __STDC__
94741 # include <limits.h>
94742 #else
94743 # include <assert.h>
94744 #endif
94746 #undef $ac_func
94748 /* Override any gcc2 internal prototype to avoid an error. */
94749 #ifdef __cplusplus
94750 extern "C"
94752 #endif
94753 /* We use char because int might match the return type of a gcc2
94754 builtin and then its argument prototype would still apply. */
94755 char $ac_func ();
94756 /* The GNU C library defines this for functions which it implements
94757 to always fail with ENOSYS. Some functions are actually named
94758 something starting with __ and the normal name is an alias. */
94759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94760 choke me
94761 #else
94762 char (*f) () = $ac_func;
94763 #endif
94764 #ifdef __cplusplus
94766 #endif
94769 main ()
94771 return f != $ac_func;
94773 return 0;
94775 _ACEOF
94776 rm -f conftest.$ac_objext conftest$ac_exeext
94777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94778 (eval $ac_link) 2>conftest.er1
94779 ac_status=$?
94780 grep -v '^ *+' conftest.er1 >conftest.err
94781 rm -f conftest.er1
94782 cat conftest.err >&5
94783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94784 (exit $ac_status); } &&
94785 { ac_try='test -z "$ac_c_werror_flag"
94786 || test ! -s conftest.err'
94787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94788 (eval $ac_try) 2>&5
94789 ac_status=$?
94790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94791 (exit $ac_status); }; } &&
94792 { ac_try='test -s conftest$ac_exeext'
94793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94794 (eval $ac_try) 2>&5
94795 ac_status=$?
94796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94797 (exit $ac_status); }; }; then
94798 eval "$as_ac_var=yes"
94799 else
94800 echo "$as_me: failed program was:" >&5
94801 sed 's/^/| /' conftest.$ac_ext >&5
94803 eval "$as_ac_var=no"
94805 rm -f conftest.err conftest.$ac_objext \
94806 conftest$ac_exeext conftest.$ac_ext
94808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94810 if test `eval echo '${'$as_ac_var'}'` = yes; then
94811 cat >>confdefs.h <<_ACEOF
94812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94813 _ACEOF
94816 done
94818 else
94820 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
94821 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
94822 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
94823 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
94824 echo $ECHO_N "(cached) $ECHO_C" >&6
94825 else
94829 ac_ext=cc
94830 ac_cpp='$CXXCPP $CPPFLAGS'
94831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94835 cat >conftest.$ac_ext <<_ACEOF
94836 /* confdefs.h. */
94837 _ACEOF
94838 cat confdefs.h >>conftest.$ac_ext
94839 cat >>conftest.$ac_ext <<_ACEOF
94840 /* end confdefs.h. */
94841 #include <math.h>
94843 main ()
94845 _ldexpf(0, 0);
94847 return 0;
94849 _ACEOF
94850 rm -f conftest.$ac_objext
94851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94852 (eval $ac_compile) 2>conftest.er1
94853 ac_status=$?
94854 grep -v '^ *+' conftest.er1 >conftest.err
94855 rm -f conftest.er1
94856 cat conftest.err >&5
94857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94858 (exit $ac_status); } &&
94859 { ac_try='test -z "$ac_cxx_werror_flag"
94860 || test ! -s conftest.err'
94861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94862 (eval $ac_try) 2>&5
94863 ac_status=$?
94864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94865 (exit $ac_status); }; } &&
94866 { ac_try='test -s conftest.$ac_objext'
94867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94868 (eval $ac_try) 2>&5
94869 ac_status=$?
94870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94871 (exit $ac_status); }; }; then
94872 glibcxx_cv_func__ldexpf_use=yes
94873 else
94874 echo "$as_me: failed program was:" >&5
94875 sed 's/^/| /' conftest.$ac_ext >&5
94877 glibcxx_cv_func__ldexpf_use=no
94879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94880 ac_ext=c
94881 ac_cpp='$CPP $CPPFLAGS'
94882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94890 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
94891 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
94893 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
94895 for ac_func in _ldexpf
94897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94898 echo "$as_me:$LINENO: checking for $ac_func" >&5
94899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94900 if eval "test \"\${$as_ac_var+set}\" = set"; then
94901 echo $ECHO_N "(cached) $ECHO_C" >&6
94902 else
94903 if test x$gcc_no_link = xyes; then
94904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94906 { (exit 1); exit 1; }; }
94908 cat >conftest.$ac_ext <<_ACEOF
94909 /* confdefs.h. */
94910 _ACEOF
94911 cat confdefs.h >>conftest.$ac_ext
94912 cat >>conftest.$ac_ext <<_ACEOF
94913 /* end confdefs.h. */
94914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94916 #define $ac_func innocuous_$ac_func
94918 /* System header to define __stub macros and hopefully few prototypes,
94919 which can conflict with char $ac_func (); below.
94920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94921 <limits.h> exists even on freestanding compilers. */
94923 #ifdef __STDC__
94924 # include <limits.h>
94925 #else
94926 # include <assert.h>
94927 #endif
94929 #undef $ac_func
94931 /* Override any gcc2 internal prototype to avoid an error. */
94932 #ifdef __cplusplus
94933 extern "C"
94935 #endif
94936 /* We use char because int might match the return type of a gcc2
94937 builtin and then its argument prototype would still apply. */
94938 char $ac_func ();
94939 /* The GNU C library defines this for functions which it implements
94940 to always fail with ENOSYS. Some functions are actually named
94941 something starting with __ and the normal name is an alias. */
94942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94943 choke me
94944 #else
94945 char (*f) () = $ac_func;
94946 #endif
94947 #ifdef __cplusplus
94949 #endif
94952 main ()
94954 return f != $ac_func;
94956 return 0;
94958 _ACEOF
94959 rm -f conftest.$ac_objext conftest$ac_exeext
94960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94961 (eval $ac_link) 2>conftest.er1
94962 ac_status=$?
94963 grep -v '^ *+' conftest.er1 >conftest.err
94964 rm -f conftest.er1
94965 cat conftest.err >&5
94966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94967 (exit $ac_status); } &&
94968 { ac_try='test -z "$ac_c_werror_flag"
94969 || test ! -s conftest.err'
94970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94971 (eval $ac_try) 2>&5
94972 ac_status=$?
94973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94974 (exit $ac_status); }; } &&
94975 { ac_try='test -s conftest$ac_exeext'
94976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94977 (eval $ac_try) 2>&5
94978 ac_status=$?
94979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94980 (exit $ac_status); }; }; then
94981 eval "$as_ac_var=yes"
94982 else
94983 echo "$as_me: failed program was:" >&5
94984 sed 's/^/| /' conftest.$ac_ext >&5
94986 eval "$as_ac_var=no"
94988 rm -f conftest.err conftest.$ac_objext \
94989 conftest$ac_exeext conftest.$ac_ext
94991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94993 if test `eval echo '${'$as_ac_var'}'` = yes; then
94994 cat >>confdefs.h <<_ACEOF
94995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94996 _ACEOF
94999 done
95009 echo "$as_me:$LINENO: checking for logf declaration" >&5
95010 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
95011 if test x${glibcxx_cv_func_logf_use+set} != xset; then
95012 if test "${glibcxx_cv_func_logf_use+set}" = set; then
95013 echo $ECHO_N "(cached) $ECHO_C" >&6
95014 else
95018 ac_ext=cc
95019 ac_cpp='$CXXCPP $CPPFLAGS'
95020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95024 cat >conftest.$ac_ext <<_ACEOF
95025 /* confdefs.h. */
95026 _ACEOF
95027 cat confdefs.h >>conftest.$ac_ext
95028 cat >>conftest.$ac_ext <<_ACEOF
95029 /* end confdefs.h. */
95030 #include <math.h>
95031 #ifdef HAVE_IEEEFP_H
95032 #include <ieeefp.h>
95033 #endif
95036 main ()
95038 logf(0);
95040 return 0;
95042 _ACEOF
95043 rm -f conftest.$ac_objext
95044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95045 (eval $ac_compile) 2>conftest.er1
95046 ac_status=$?
95047 grep -v '^ *+' conftest.er1 >conftest.err
95048 rm -f conftest.er1
95049 cat conftest.err >&5
95050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95051 (exit $ac_status); } &&
95052 { ac_try='test -z "$ac_cxx_werror_flag"
95053 || test ! -s conftest.err'
95054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95055 (eval $ac_try) 2>&5
95056 ac_status=$?
95057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95058 (exit $ac_status); }; } &&
95059 { ac_try='test -s conftest.$ac_objext'
95060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95061 (eval $ac_try) 2>&5
95062 ac_status=$?
95063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95064 (exit $ac_status); }; }; then
95065 glibcxx_cv_func_logf_use=yes
95066 else
95067 echo "$as_me: failed program was:" >&5
95068 sed 's/^/| /' conftest.$ac_ext >&5
95070 glibcxx_cv_func_logf_use=no
95072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95073 ac_ext=c
95074 ac_cpp='$CPP $CPPFLAGS'
95075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95083 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
95084 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
95086 if test x$glibcxx_cv_func_logf_use = x"yes"; then
95088 for ac_func in logf
95090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95091 echo "$as_me:$LINENO: checking for $ac_func" >&5
95092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95093 if eval "test \"\${$as_ac_var+set}\" = set"; then
95094 echo $ECHO_N "(cached) $ECHO_C" >&6
95095 else
95096 if test x$gcc_no_link = xyes; then
95097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95099 { (exit 1); exit 1; }; }
95101 cat >conftest.$ac_ext <<_ACEOF
95102 /* confdefs.h. */
95103 _ACEOF
95104 cat confdefs.h >>conftest.$ac_ext
95105 cat >>conftest.$ac_ext <<_ACEOF
95106 /* end confdefs.h. */
95107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95109 #define $ac_func innocuous_$ac_func
95111 /* System header to define __stub macros and hopefully few prototypes,
95112 which can conflict with char $ac_func (); below.
95113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95114 <limits.h> exists even on freestanding compilers. */
95116 #ifdef __STDC__
95117 # include <limits.h>
95118 #else
95119 # include <assert.h>
95120 #endif
95122 #undef $ac_func
95124 /* Override any gcc2 internal prototype to avoid an error. */
95125 #ifdef __cplusplus
95126 extern "C"
95128 #endif
95129 /* We use char because int might match the return type of a gcc2
95130 builtin and then its argument prototype would still apply. */
95131 char $ac_func ();
95132 /* The GNU C library defines this for functions which it implements
95133 to always fail with ENOSYS. Some functions are actually named
95134 something starting with __ and the normal name is an alias. */
95135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95136 choke me
95137 #else
95138 char (*f) () = $ac_func;
95139 #endif
95140 #ifdef __cplusplus
95142 #endif
95145 main ()
95147 return f != $ac_func;
95149 return 0;
95151 _ACEOF
95152 rm -f conftest.$ac_objext conftest$ac_exeext
95153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95154 (eval $ac_link) 2>conftest.er1
95155 ac_status=$?
95156 grep -v '^ *+' conftest.er1 >conftest.err
95157 rm -f conftest.er1
95158 cat conftest.err >&5
95159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95160 (exit $ac_status); } &&
95161 { ac_try='test -z "$ac_c_werror_flag"
95162 || test ! -s conftest.err'
95163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95164 (eval $ac_try) 2>&5
95165 ac_status=$?
95166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95167 (exit $ac_status); }; } &&
95168 { ac_try='test -s conftest$ac_exeext'
95169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95170 (eval $ac_try) 2>&5
95171 ac_status=$?
95172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95173 (exit $ac_status); }; }; then
95174 eval "$as_ac_var=yes"
95175 else
95176 echo "$as_me: failed program was:" >&5
95177 sed 's/^/| /' conftest.$ac_ext >&5
95179 eval "$as_ac_var=no"
95181 rm -f conftest.err conftest.$ac_objext \
95182 conftest$ac_exeext conftest.$ac_ext
95184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95186 if test `eval echo '${'$as_ac_var'}'` = yes; then
95187 cat >>confdefs.h <<_ACEOF
95188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95189 _ACEOF
95192 done
95194 else
95196 echo "$as_me:$LINENO: checking for _logf declaration" >&5
95197 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
95198 if test x${glibcxx_cv_func__logf_use+set} != xset; then
95199 if test "${glibcxx_cv_func__logf_use+set}" = set; then
95200 echo $ECHO_N "(cached) $ECHO_C" >&6
95201 else
95205 ac_ext=cc
95206 ac_cpp='$CXXCPP $CPPFLAGS'
95207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95211 cat >conftest.$ac_ext <<_ACEOF
95212 /* confdefs.h. */
95213 _ACEOF
95214 cat confdefs.h >>conftest.$ac_ext
95215 cat >>conftest.$ac_ext <<_ACEOF
95216 /* end confdefs.h. */
95217 #include <math.h>
95218 #ifdef HAVE_IEEEFP_H
95219 #include <ieeefp.h>
95220 #endif
95223 main ()
95225 _logf(0);
95227 return 0;
95229 _ACEOF
95230 rm -f conftest.$ac_objext
95231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95232 (eval $ac_compile) 2>conftest.er1
95233 ac_status=$?
95234 grep -v '^ *+' conftest.er1 >conftest.err
95235 rm -f conftest.er1
95236 cat conftest.err >&5
95237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95238 (exit $ac_status); } &&
95239 { ac_try='test -z "$ac_cxx_werror_flag"
95240 || test ! -s conftest.err'
95241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95242 (eval $ac_try) 2>&5
95243 ac_status=$?
95244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95245 (exit $ac_status); }; } &&
95246 { ac_try='test -s conftest.$ac_objext'
95247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95248 (eval $ac_try) 2>&5
95249 ac_status=$?
95250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95251 (exit $ac_status); }; }; then
95252 glibcxx_cv_func__logf_use=yes
95253 else
95254 echo "$as_me: failed program was:" >&5
95255 sed 's/^/| /' conftest.$ac_ext >&5
95257 glibcxx_cv_func__logf_use=no
95259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95260 ac_ext=c
95261 ac_cpp='$CPP $CPPFLAGS'
95262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95270 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
95271 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
95273 if test x$glibcxx_cv_func__logf_use = x"yes"; then
95275 for ac_func in _logf
95277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95278 echo "$as_me:$LINENO: checking for $ac_func" >&5
95279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95280 if eval "test \"\${$as_ac_var+set}\" = set"; then
95281 echo $ECHO_N "(cached) $ECHO_C" >&6
95282 else
95283 if test x$gcc_no_link = xyes; then
95284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95286 { (exit 1); exit 1; }; }
95288 cat >conftest.$ac_ext <<_ACEOF
95289 /* confdefs.h. */
95290 _ACEOF
95291 cat confdefs.h >>conftest.$ac_ext
95292 cat >>conftest.$ac_ext <<_ACEOF
95293 /* end confdefs.h. */
95294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95296 #define $ac_func innocuous_$ac_func
95298 /* System header to define __stub macros and hopefully few prototypes,
95299 which can conflict with char $ac_func (); below.
95300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95301 <limits.h> exists even on freestanding compilers. */
95303 #ifdef __STDC__
95304 # include <limits.h>
95305 #else
95306 # include <assert.h>
95307 #endif
95309 #undef $ac_func
95311 /* Override any gcc2 internal prototype to avoid an error. */
95312 #ifdef __cplusplus
95313 extern "C"
95315 #endif
95316 /* We use char because int might match the return type of a gcc2
95317 builtin and then its argument prototype would still apply. */
95318 char $ac_func ();
95319 /* The GNU C library defines this for functions which it implements
95320 to always fail with ENOSYS. Some functions are actually named
95321 something starting with __ and the normal name is an alias. */
95322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95323 choke me
95324 #else
95325 char (*f) () = $ac_func;
95326 #endif
95327 #ifdef __cplusplus
95329 #endif
95332 main ()
95334 return f != $ac_func;
95336 return 0;
95338 _ACEOF
95339 rm -f conftest.$ac_objext conftest$ac_exeext
95340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95341 (eval $ac_link) 2>conftest.er1
95342 ac_status=$?
95343 grep -v '^ *+' conftest.er1 >conftest.err
95344 rm -f conftest.er1
95345 cat conftest.err >&5
95346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95347 (exit $ac_status); } &&
95348 { ac_try='test -z "$ac_c_werror_flag"
95349 || test ! -s conftest.err'
95350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95351 (eval $ac_try) 2>&5
95352 ac_status=$?
95353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95354 (exit $ac_status); }; } &&
95355 { ac_try='test -s conftest$ac_exeext'
95356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95357 (eval $ac_try) 2>&5
95358 ac_status=$?
95359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95360 (exit $ac_status); }; }; then
95361 eval "$as_ac_var=yes"
95362 else
95363 echo "$as_me: failed program was:" >&5
95364 sed 's/^/| /' conftest.$ac_ext >&5
95366 eval "$as_ac_var=no"
95368 rm -f conftest.err conftest.$ac_objext \
95369 conftest$ac_exeext conftest.$ac_ext
95371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95373 if test `eval echo '${'$as_ac_var'}'` = yes; then
95374 cat >>confdefs.h <<_ACEOF
95375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95376 _ACEOF
95379 done
95389 echo "$as_me:$LINENO: checking for log10f declaration" >&5
95390 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
95391 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
95392 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
95393 echo $ECHO_N "(cached) $ECHO_C" >&6
95394 else
95398 ac_ext=cc
95399 ac_cpp='$CXXCPP $CPPFLAGS'
95400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95404 cat >conftest.$ac_ext <<_ACEOF
95405 /* confdefs.h. */
95406 _ACEOF
95407 cat confdefs.h >>conftest.$ac_ext
95408 cat >>conftest.$ac_ext <<_ACEOF
95409 /* end confdefs.h. */
95410 #include <math.h>
95411 #ifdef HAVE_IEEEFP_H
95412 #include <ieeefp.h>
95413 #endif
95416 main ()
95418 log10f(0);
95420 return 0;
95422 _ACEOF
95423 rm -f conftest.$ac_objext
95424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95425 (eval $ac_compile) 2>conftest.er1
95426 ac_status=$?
95427 grep -v '^ *+' conftest.er1 >conftest.err
95428 rm -f conftest.er1
95429 cat conftest.err >&5
95430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95431 (exit $ac_status); } &&
95432 { ac_try='test -z "$ac_cxx_werror_flag"
95433 || test ! -s conftest.err'
95434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95435 (eval $ac_try) 2>&5
95436 ac_status=$?
95437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95438 (exit $ac_status); }; } &&
95439 { ac_try='test -s conftest.$ac_objext'
95440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95441 (eval $ac_try) 2>&5
95442 ac_status=$?
95443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95444 (exit $ac_status); }; }; then
95445 glibcxx_cv_func_log10f_use=yes
95446 else
95447 echo "$as_me: failed program was:" >&5
95448 sed 's/^/| /' conftest.$ac_ext >&5
95450 glibcxx_cv_func_log10f_use=no
95452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95453 ac_ext=c
95454 ac_cpp='$CPP $CPPFLAGS'
95455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95463 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
95464 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
95466 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
95468 for ac_func in log10f
95470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95471 echo "$as_me:$LINENO: checking for $ac_func" >&5
95472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95473 if eval "test \"\${$as_ac_var+set}\" = set"; then
95474 echo $ECHO_N "(cached) $ECHO_C" >&6
95475 else
95476 if test x$gcc_no_link = xyes; then
95477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95479 { (exit 1); exit 1; }; }
95481 cat >conftest.$ac_ext <<_ACEOF
95482 /* confdefs.h. */
95483 _ACEOF
95484 cat confdefs.h >>conftest.$ac_ext
95485 cat >>conftest.$ac_ext <<_ACEOF
95486 /* end confdefs.h. */
95487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95489 #define $ac_func innocuous_$ac_func
95491 /* System header to define __stub macros and hopefully few prototypes,
95492 which can conflict with char $ac_func (); below.
95493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95494 <limits.h> exists even on freestanding compilers. */
95496 #ifdef __STDC__
95497 # include <limits.h>
95498 #else
95499 # include <assert.h>
95500 #endif
95502 #undef $ac_func
95504 /* Override any gcc2 internal prototype to avoid an error. */
95505 #ifdef __cplusplus
95506 extern "C"
95508 #endif
95509 /* We use char because int might match the return type of a gcc2
95510 builtin and then its argument prototype would still apply. */
95511 char $ac_func ();
95512 /* The GNU C library defines this for functions which it implements
95513 to always fail with ENOSYS. Some functions are actually named
95514 something starting with __ and the normal name is an alias. */
95515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95516 choke me
95517 #else
95518 char (*f) () = $ac_func;
95519 #endif
95520 #ifdef __cplusplus
95522 #endif
95525 main ()
95527 return f != $ac_func;
95529 return 0;
95531 _ACEOF
95532 rm -f conftest.$ac_objext conftest$ac_exeext
95533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95534 (eval $ac_link) 2>conftest.er1
95535 ac_status=$?
95536 grep -v '^ *+' conftest.er1 >conftest.err
95537 rm -f conftest.er1
95538 cat conftest.err >&5
95539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95540 (exit $ac_status); } &&
95541 { ac_try='test -z "$ac_c_werror_flag"
95542 || test ! -s conftest.err'
95543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95544 (eval $ac_try) 2>&5
95545 ac_status=$?
95546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95547 (exit $ac_status); }; } &&
95548 { ac_try='test -s conftest$ac_exeext'
95549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95550 (eval $ac_try) 2>&5
95551 ac_status=$?
95552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95553 (exit $ac_status); }; }; then
95554 eval "$as_ac_var=yes"
95555 else
95556 echo "$as_me: failed program was:" >&5
95557 sed 's/^/| /' conftest.$ac_ext >&5
95559 eval "$as_ac_var=no"
95561 rm -f conftest.err conftest.$ac_objext \
95562 conftest$ac_exeext conftest.$ac_ext
95564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95566 if test `eval echo '${'$as_ac_var'}'` = yes; then
95567 cat >>confdefs.h <<_ACEOF
95568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95569 _ACEOF
95572 done
95574 else
95576 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
95577 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
95578 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
95579 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
95580 echo $ECHO_N "(cached) $ECHO_C" >&6
95581 else
95585 ac_ext=cc
95586 ac_cpp='$CXXCPP $CPPFLAGS'
95587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95591 cat >conftest.$ac_ext <<_ACEOF
95592 /* confdefs.h. */
95593 _ACEOF
95594 cat confdefs.h >>conftest.$ac_ext
95595 cat >>conftest.$ac_ext <<_ACEOF
95596 /* end confdefs.h. */
95597 #include <math.h>
95598 #ifdef HAVE_IEEEFP_H
95599 #include <ieeefp.h>
95600 #endif
95603 main ()
95605 _log10f(0);
95607 return 0;
95609 _ACEOF
95610 rm -f conftest.$ac_objext
95611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95612 (eval $ac_compile) 2>conftest.er1
95613 ac_status=$?
95614 grep -v '^ *+' conftest.er1 >conftest.err
95615 rm -f conftest.er1
95616 cat conftest.err >&5
95617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95618 (exit $ac_status); } &&
95619 { ac_try='test -z "$ac_cxx_werror_flag"
95620 || test ! -s conftest.err'
95621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95622 (eval $ac_try) 2>&5
95623 ac_status=$?
95624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95625 (exit $ac_status); }; } &&
95626 { ac_try='test -s conftest.$ac_objext'
95627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95628 (eval $ac_try) 2>&5
95629 ac_status=$?
95630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95631 (exit $ac_status); }; }; then
95632 glibcxx_cv_func__log10f_use=yes
95633 else
95634 echo "$as_me: failed program was:" >&5
95635 sed 's/^/| /' conftest.$ac_ext >&5
95637 glibcxx_cv_func__log10f_use=no
95639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95640 ac_ext=c
95641 ac_cpp='$CPP $CPPFLAGS'
95642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
95651 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
95653 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
95655 for ac_func in _log10f
95657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95658 echo "$as_me:$LINENO: checking for $ac_func" >&5
95659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95660 if eval "test \"\${$as_ac_var+set}\" = set"; then
95661 echo $ECHO_N "(cached) $ECHO_C" >&6
95662 else
95663 if test x$gcc_no_link = xyes; then
95664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95666 { (exit 1); exit 1; }; }
95668 cat >conftest.$ac_ext <<_ACEOF
95669 /* confdefs.h. */
95670 _ACEOF
95671 cat confdefs.h >>conftest.$ac_ext
95672 cat >>conftest.$ac_ext <<_ACEOF
95673 /* end confdefs.h. */
95674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95676 #define $ac_func innocuous_$ac_func
95678 /* System header to define __stub macros and hopefully few prototypes,
95679 which can conflict with char $ac_func (); below.
95680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95681 <limits.h> exists even on freestanding compilers. */
95683 #ifdef __STDC__
95684 # include <limits.h>
95685 #else
95686 # include <assert.h>
95687 #endif
95689 #undef $ac_func
95691 /* Override any gcc2 internal prototype to avoid an error. */
95692 #ifdef __cplusplus
95693 extern "C"
95695 #endif
95696 /* We use char because int might match the return type of a gcc2
95697 builtin and then its argument prototype would still apply. */
95698 char $ac_func ();
95699 /* The GNU C library defines this for functions which it implements
95700 to always fail with ENOSYS. Some functions are actually named
95701 something starting with __ and the normal name is an alias. */
95702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95703 choke me
95704 #else
95705 char (*f) () = $ac_func;
95706 #endif
95707 #ifdef __cplusplus
95709 #endif
95712 main ()
95714 return f != $ac_func;
95716 return 0;
95718 _ACEOF
95719 rm -f conftest.$ac_objext conftest$ac_exeext
95720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95721 (eval $ac_link) 2>conftest.er1
95722 ac_status=$?
95723 grep -v '^ *+' conftest.er1 >conftest.err
95724 rm -f conftest.er1
95725 cat conftest.err >&5
95726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95727 (exit $ac_status); } &&
95728 { ac_try='test -z "$ac_c_werror_flag"
95729 || test ! -s conftest.err'
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); }; } &&
95735 { ac_try='test -s conftest$ac_exeext'
95736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95737 (eval $ac_try) 2>&5
95738 ac_status=$?
95739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95740 (exit $ac_status); }; }; then
95741 eval "$as_ac_var=yes"
95742 else
95743 echo "$as_me: failed program was:" >&5
95744 sed 's/^/| /' conftest.$ac_ext >&5
95746 eval "$as_ac_var=no"
95748 rm -f conftest.err conftest.$ac_objext \
95749 conftest$ac_exeext conftest.$ac_ext
95751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95753 if test `eval echo '${'$as_ac_var'}'` = yes; then
95754 cat >>confdefs.h <<_ACEOF
95755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95756 _ACEOF
95759 done
95769 echo "$as_me:$LINENO: checking for modff declaration" >&5
95770 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
95771 if test x${glibcxx_cv_func_modff_use+set} != xset; then
95772 if test "${glibcxx_cv_func_modff_use+set}" = set; then
95773 echo $ECHO_N "(cached) $ECHO_C" >&6
95774 else
95778 ac_ext=cc
95779 ac_cpp='$CXXCPP $CPPFLAGS'
95780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95784 cat >conftest.$ac_ext <<_ACEOF
95785 /* confdefs.h. */
95786 _ACEOF
95787 cat confdefs.h >>conftest.$ac_ext
95788 cat >>conftest.$ac_ext <<_ACEOF
95789 /* end confdefs.h. */
95790 #include <math.h>
95792 main ()
95794 modff(0, 0);
95796 return 0;
95798 _ACEOF
95799 rm -f conftest.$ac_objext
95800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95801 (eval $ac_compile) 2>conftest.er1
95802 ac_status=$?
95803 grep -v '^ *+' conftest.er1 >conftest.err
95804 rm -f conftest.er1
95805 cat conftest.err >&5
95806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95807 (exit $ac_status); } &&
95808 { ac_try='test -z "$ac_cxx_werror_flag"
95809 || test ! -s conftest.err'
95810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95811 (eval $ac_try) 2>&5
95812 ac_status=$?
95813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95814 (exit $ac_status); }; } &&
95815 { ac_try='test -s conftest.$ac_objext'
95816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95817 (eval $ac_try) 2>&5
95818 ac_status=$?
95819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95820 (exit $ac_status); }; }; then
95821 glibcxx_cv_func_modff_use=yes
95822 else
95823 echo "$as_me: failed program was:" >&5
95824 sed 's/^/| /' conftest.$ac_ext >&5
95826 glibcxx_cv_func_modff_use=no
95828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95829 ac_ext=c
95830 ac_cpp='$CPP $CPPFLAGS'
95831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95839 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
95840 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
95842 if test x$glibcxx_cv_func_modff_use = x"yes"; then
95844 for ac_func in modff
95846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95847 echo "$as_me:$LINENO: checking for $ac_func" >&5
95848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95849 if eval "test \"\${$as_ac_var+set}\" = set"; then
95850 echo $ECHO_N "(cached) $ECHO_C" >&6
95851 else
95852 if test x$gcc_no_link = xyes; then
95853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95855 { (exit 1); exit 1; }; }
95857 cat >conftest.$ac_ext <<_ACEOF
95858 /* confdefs.h. */
95859 _ACEOF
95860 cat confdefs.h >>conftest.$ac_ext
95861 cat >>conftest.$ac_ext <<_ACEOF
95862 /* end confdefs.h. */
95863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95865 #define $ac_func innocuous_$ac_func
95867 /* System header to define __stub macros and hopefully few prototypes,
95868 which can conflict with char $ac_func (); below.
95869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95870 <limits.h> exists even on freestanding compilers. */
95872 #ifdef __STDC__
95873 # include <limits.h>
95874 #else
95875 # include <assert.h>
95876 #endif
95878 #undef $ac_func
95880 /* Override any gcc2 internal prototype to avoid an error. */
95881 #ifdef __cplusplus
95882 extern "C"
95884 #endif
95885 /* We use char because int might match the return type of a gcc2
95886 builtin and then its argument prototype would still apply. */
95887 char $ac_func ();
95888 /* The GNU C library defines this for functions which it implements
95889 to always fail with ENOSYS. Some functions are actually named
95890 something starting with __ and the normal name is an alias. */
95891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95892 choke me
95893 #else
95894 char (*f) () = $ac_func;
95895 #endif
95896 #ifdef __cplusplus
95898 #endif
95901 main ()
95903 return f != $ac_func;
95905 return 0;
95907 _ACEOF
95908 rm -f conftest.$ac_objext conftest$ac_exeext
95909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95910 (eval $ac_link) 2>conftest.er1
95911 ac_status=$?
95912 grep -v '^ *+' conftest.er1 >conftest.err
95913 rm -f conftest.er1
95914 cat conftest.err >&5
95915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95916 (exit $ac_status); } &&
95917 { ac_try='test -z "$ac_c_werror_flag"
95918 || test ! -s conftest.err'
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); }; } &&
95924 { ac_try='test -s conftest$ac_exeext'
95925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95926 (eval $ac_try) 2>&5
95927 ac_status=$?
95928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95929 (exit $ac_status); }; }; then
95930 eval "$as_ac_var=yes"
95931 else
95932 echo "$as_me: failed program was:" >&5
95933 sed 's/^/| /' conftest.$ac_ext >&5
95935 eval "$as_ac_var=no"
95937 rm -f conftest.err conftest.$ac_objext \
95938 conftest$ac_exeext conftest.$ac_ext
95940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95942 if test `eval echo '${'$as_ac_var'}'` = yes; then
95943 cat >>confdefs.h <<_ACEOF
95944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95945 _ACEOF
95948 done
95950 else
95952 echo "$as_me:$LINENO: checking for _modff declaration" >&5
95953 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
95954 if test x${glibcxx_cv_func__modff_use+set} != xset; then
95955 if test "${glibcxx_cv_func__modff_use+set}" = set; then
95956 echo $ECHO_N "(cached) $ECHO_C" >&6
95957 else
95961 ac_ext=cc
95962 ac_cpp='$CXXCPP $CPPFLAGS'
95963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95967 cat >conftest.$ac_ext <<_ACEOF
95968 /* confdefs.h. */
95969 _ACEOF
95970 cat confdefs.h >>conftest.$ac_ext
95971 cat >>conftest.$ac_ext <<_ACEOF
95972 /* end confdefs.h. */
95973 #include <math.h>
95975 main ()
95977 _modff(0, 0);
95979 return 0;
95981 _ACEOF
95982 rm -f conftest.$ac_objext
95983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95984 (eval $ac_compile) 2>conftest.er1
95985 ac_status=$?
95986 grep -v '^ *+' conftest.er1 >conftest.err
95987 rm -f conftest.er1
95988 cat conftest.err >&5
95989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95990 (exit $ac_status); } &&
95991 { ac_try='test -z "$ac_cxx_werror_flag"
95992 || test ! -s conftest.err'
95993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95994 (eval $ac_try) 2>&5
95995 ac_status=$?
95996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95997 (exit $ac_status); }; } &&
95998 { ac_try='test -s conftest.$ac_objext'
95999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96000 (eval $ac_try) 2>&5
96001 ac_status=$?
96002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96003 (exit $ac_status); }; }; then
96004 glibcxx_cv_func__modff_use=yes
96005 else
96006 echo "$as_me: failed program was:" >&5
96007 sed 's/^/| /' conftest.$ac_ext >&5
96009 glibcxx_cv_func__modff_use=no
96011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96012 ac_ext=c
96013 ac_cpp='$CPP $CPPFLAGS'
96014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96022 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
96023 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
96025 if test x$glibcxx_cv_func__modff_use = x"yes"; then
96027 for ac_func in _modff
96029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96030 echo "$as_me:$LINENO: checking for $ac_func" >&5
96031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96032 if eval "test \"\${$as_ac_var+set}\" = set"; then
96033 echo $ECHO_N "(cached) $ECHO_C" >&6
96034 else
96035 if test x$gcc_no_link = xyes; then
96036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96038 { (exit 1); exit 1; }; }
96040 cat >conftest.$ac_ext <<_ACEOF
96041 /* confdefs.h. */
96042 _ACEOF
96043 cat confdefs.h >>conftest.$ac_ext
96044 cat >>conftest.$ac_ext <<_ACEOF
96045 /* end confdefs.h. */
96046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96048 #define $ac_func innocuous_$ac_func
96050 /* System header to define __stub macros and hopefully few prototypes,
96051 which can conflict with char $ac_func (); below.
96052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96053 <limits.h> exists even on freestanding compilers. */
96055 #ifdef __STDC__
96056 # include <limits.h>
96057 #else
96058 # include <assert.h>
96059 #endif
96061 #undef $ac_func
96063 /* Override any gcc2 internal prototype to avoid an error. */
96064 #ifdef __cplusplus
96065 extern "C"
96067 #endif
96068 /* We use char because int might match the return type of a gcc2
96069 builtin and then its argument prototype would still apply. */
96070 char $ac_func ();
96071 /* The GNU C library defines this for functions which it implements
96072 to always fail with ENOSYS. Some functions are actually named
96073 something starting with __ and the normal name is an alias. */
96074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96075 choke me
96076 #else
96077 char (*f) () = $ac_func;
96078 #endif
96079 #ifdef __cplusplus
96081 #endif
96084 main ()
96086 return f != $ac_func;
96088 return 0;
96090 _ACEOF
96091 rm -f conftest.$ac_objext conftest$ac_exeext
96092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96093 (eval $ac_link) 2>conftest.er1
96094 ac_status=$?
96095 grep -v '^ *+' conftest.er1 >conftest.err
96096 rm -f conftest.er1
96097 cat conftest.err >&5
96098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96099 (exit $ac_status); } &&
96100 { ac_try='test -z "$ac_c_werror_flag"
96101 || test ! -s conftest.err'
96102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96103 (eval $ac_try) 2>&5
96104 ac_status=$?
96105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96106 (exit $ac_status); }; } &&
96107 { ac_try='test -s conftest$ac_exeext'
96108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96109 (eval $ac_try) 2>&5
96110 ac_status=$?
96111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96112 (exit $ac_status); }; }; then
96113 eval "$as_ac_var=yes"
96114 else
96115 echo "$as_me: failed program was:" >&5
96116 sed 's/^/| /' conftest.$ac_ext >&5
96118 eval "$as_ac_var=no"
96120 rm -f conftest.err conftest.$ac_objext \
96121 conftest$ac_exeext conftest.$ac_ext
96123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96125 if test `eval echo '${'$as_ac_var'}'` = yes; then
96126 cat >>confdefs.h <<_ACEOF
96127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96128 _ACEOF
96131 done
96141 echo "$as_me:$LINENO: checking for modf declaration" >&5
96142 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
96143 if test x${glibcxx_cv_func_modf_use+set} != xset; then
96144 if test "${glibcxx_cv_func_modf_use+set}" = set; then
96145 echo $ECHO_N "(cached) $ECHO_C" >&6
96146 else
96150 ac_ext=cc
96151 ac_cpp='$CXXCPP $CPPFLAGS'
96152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96156 cat >conftest.$ac_ext <<_ACEOF
96157 /* confdefs.h. */
96158 _ACEOF
96159 cat confdefs.h >>conftest.$ac_ext
96160 cat >>conftest.$ac_ext <<_ACEOF
96161 /* end confdefs.h. */
96162 #include <math.h>
96164 main ()
96166 modf(0, 0);
96168 return 0;
96170 _ACEOF
96171 rm -f conftest.$ac_objext
96172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96173 (eval $ac_compile) 2>conftest.er1
96174 ac_status=$?
96175 grep -v '^ *+' conftest.er1 >conftest.err
96176 rm -f conftest.er1
96177 cat conftest.err >&5
96178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96179 (exit $ac_status); } &&
96180 { ac_try='test -z "$ac_cxx_werror_flag"
96181 || test ! -s conftest.err'
96182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96183 (eval $ac_try) 2>&5
96184 ac_status=$?
96185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96186 (exit $ac_status); }; } &&
96187 { ac_try='test -s conftest.$ac_objext'
96188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96189 (eval $ac_try) 2>&5
96190 ac_status=$?
96191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96192 (exit $ac_status); }; }; then
96193 glibcxx_cv_func_modf_use=yes
96194 else
96195 echo "$as_me: failed program was:" >&5
96196 sed 's/^/| /' conftest.$ac_ext >&5
96198 glibcxx_cv_func_modf_use=no
96200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96201 ac_ext=c
96202 ac_cpp='$CPP $CPPFLAGS'
96203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96211 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
96212 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
96214 if test x$glibcxx_cv_func_modf_use = x"yes"; then
96216 for ac_func in modf
96218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96219 echo "$as_me:$LINENO: checking for $ac_func" >&5
96220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96221 if eval "test \"\${$as_ac_var+set}\" = set"; then
96222 echo $ECHO_N "(cached) $ECHO_C" >&6
96223 else
96224 if test x$gcc_no_link = xyes; then
96225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96227 { (exit 1); exit 1; }; }
96229 cat >conftest.$ac_ext <<_ACEOF
96230 /* confdefs.h. */
96231 _ACEOF
96232 cat confdefs.h >>conftest.$ac_ext
96233 cat >>conftest.$ac_ext <<_ACEOF
96234 /* end confdefs.h. */
96235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96237 #define $ac_func innocuous_$ac_func
96239 /* System header to define __stub macros and hopefully few prototypes,
96240 which can conflict with char $ac_func (); below.
96241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96242 <limits.h> exists even on freestanding compilers. */
96244 #ifdef __STDC__
96245 # include <limits.h>
96246 #else
96247 # include <assert.h>
96248 #endif
96250 #undef $ac_func
96252 /* Override any gcc2 internal prototype to avoid an error. */
96253 #ifdef __cplusplus
96254 extern "C"
96256 #endif
96257 /* We use char because int might match the return type of a gcc2
96258 builtin and then its argument prototype would still apply. */
96259 char $ac_func ();
96260 /* The GNU C library defines this for functions which it implements
96261 to always fail with ENOSYS. Some functions are actually named
96262 something starting with __ and the normal name is an alias. */
96263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96264 choke me
96265 #else
96266 char (*f) () = $ac_func;
96267 #endif
96268 #ifdef __cplusplus
96270 #endif
96273 main ()
96275 return f != $ac_func;
96277 return 0;
96279 _ACEOF
96280 rm -f conftest.$ac_objext conftest$ac_exeext
96281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96282 (eval $ac_link) 2>conftest.er1
96283 ac_status=$?
96284 grep -v '^ *+' conftest.er1 >conftest.err
96285 rm -f conftest.er1
96286 cat conftest.err >&5
96287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96288 (exit $ac_status); } &&
96289 { ac_try='test -z "$ac_c_werror_flag"
96290 || test ! -s conftest.err'
96291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96292 (eval $ac_try) 2>&5
96293 ac_status=$?
96294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96295 (exit $ac_status); }; } &&
96296 { ac_try='test -s conftest$ac_exeext'
96297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96298 (eval $ac_try) 2>&5
96299 ac_status=$?
96300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96301 (exit $ac_status); }; }; then
96302 eval "$as_ac_var=yes"
96303 else
96304 echo "$as_me: failed program was:" >&5
96305 sed 's/^/| /' conftest.$ac_ext >&5
96307 eval "$as_ac_var=no"
96309 rm -f conftest.err conftest.$ac_objext \
96310 conftest$ac_exeext conftest.$ac_ext
96312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96314 if test `eval echo '${'$as_ac_var'}'` = yes; then
96315 cat >>confdefs.h <<_ACEOF
96316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96317 _ACEOF
96320 done
96322 else
96324 echo "$as_me:$LINENO: checking for _modf declaration" >&5
96325 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
96326 if test x${glibcxx_cv_func__modf_use+set} != xset; then
96327 if test "${glibcxx_cv_func__modf_use+set}" = set; then
96328 echo $ECHO_N "(cached) $ECHO_C" >&6
96329 else
96333 ac_ext=cc
96334 ac_cpp='$CXXCPP $CPPFLAGS'
96335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96339 cat >conftest.$ac_ext <<_ACEOF
96340 /* confdefs.h. */
96341 _ACEOF
96342 cat confdefs.h >>conftest.$ac_ext
96343 cat >>conftest.$ac_ext <<_ACEOF
96344 /* end confdefs.h. */
96345 #include <math.h>
96347 main ()
96349 _modf(0, 0);
96351 return 0;
96353 _ACEOF
96354 rm -f conftest.$ac_objext
96355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96356 (eval $ac_compile) 2>conftest.er1
96357 ac_status=$?
96358 grep -v '^ *+' conftest.er1 >conftest.err
96359 rm -f conftest.er1
96360 cat conftest.err >&5
96361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96362 (exit $ac_status); } &&
96363 { ac_try='test -z "$ac_cxx_werror_flag"
96364 || test ! -s conftest.err'
96365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96366 (eval $ac_try) 2>&5
96367 ac_status=$?
96368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96369 (exit $ac_status); }; } &&
96370 { ac_try='test -s conftest.$ac_objext'
96371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96372 (eval $ac_try) 2>&5
96373 ac_status=$?
96374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96375 (exit $ac_status); }; }; then
96376 glibcxx_cv_func__modf_use=yes
96377 else
96378 echo "$as_me: failed program was:" >&5
96379 sed 's/^/| /' conftest.$ac_ext >&5
96381 glibcxx_cv_func__modf_use=no
96383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96384 ac_ext=c
96385 ac_cpp='$CPP $CPPFLAGS'
96386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96394 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
96395 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
96397 if test x$glibcxx_cv_func__modf_use = x"yes"; then
96399 for ac_func in _modf
96401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96402 echo "$as_me:$LINENO: checking for $ac_func" >&5
96403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96404 if eval "test \"\${$as_ac_var+set}\" = set"; then
96405 echo $ECHO_N "(cached) $ECHO_C" >&6
96406 else
96407 if test x$gcc_no_link = xyes; then
96408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96410 { (exit 1); exit 1; }; }
96412 cat >conftest.$ac_ext <<_ACEOF
96413 /* confdefs.h. */
96414 _ACEOF
96415 cat confdefs.h >>conftest.$ac_ext
96416 cat >>conftest.$ac_ext <<_ACEOF
96417 /* end confdefs.h. */
96418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96420 #define $ac_func innocuous_$ac_func
96422 /* System header to define __stub macros and hopefully few prototypes,
96423 which can conflict with char $ac_func (); below.
96424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96425 <limits.h> exists even on freestanding compilers. */
96427 #ifdef __STDC__
96428 # include <limits.h>
96429 #else
96430 # include <assert.h>
96431 #endif
96433 #undef $ac_func
96435 /* Override any gcc2 internal prototype to avoid an error. */
96436 #ifdef __cplusplus
96437 extern "C"
96439 #endif
96440 /* We use char because int might match the return type of a gcc2
96441 builtin and then its argument prototype would still apply. */
96442 char $ac_func ();
96443 /* The GNU C library defines this for functions which it implements
96444 to always fail with ENOSYS. Some functions are actually named
96445 something starting with __ and the normal name is an alias. */
96446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96447 choke me
96448 #else
96449 char (*f) () = $ac_func;
96450 #endif
96451 #ifdef __cplusplus
96453 #endif
96456 main ()
96458 return f != $ac_func;
96460 return 0;
96462 _ACEOF
96463 rm -f conftest.$ac_objext conftest$ac_exeext
96464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96465 (eval $ac_link) 2>conftest.er1
96466 ac_status=$?
96467 grep -v '^ *+' conftest.er1 >conftest.err
96468 rm -f conftest.er1
96469 cat conftest.err >&5
96470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96471 (exit $ac_status); } &&
96472 { ac_try='test -z "$ac_c_werror_flag"
96473 || test ! -s conftest.err'
96474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96475 (eval $ac_try) 2>&5
96476 ac_status=$?
96477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96478 (exit $ac_status); }; } &&
96479 { ac_try='test -s conftest$ac_exeext'
96480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96481 (eval $ac_try) 2>&5
96482 ac_status=$?
96483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96484 (exit $ac_status); }; }; then
96485 eval "$as_ac_var=yes"
96486 else
96487 echo "$as_me: failed program was:" >&5
96488 sed 's/^/| /' conftest.$ac_ext >&5
96490 eval "$as_ac_var=no"
96492 rm -f conftest.err conftest.$ac_objext \
96493 conftest$ac_exeext conftest.$ac_ext
96495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96497 if test `eval echo '${'$as_ac_var'}'` = yes; then
96498 cat >>confdefs.h <<_ACEOF
96499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96500 _ACEOF
96503 done
96513 echo "$as_me:$LINENO: checking for powf declaration" >&5
96514 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
96515 if test x${glibcxx_cv_func_powf_use+set} != xset; then
96516 if test "${glibcxx_cv_func_powf_use+set}" = set; then
96517 echo $ECHO_N "(cached) $ECHO_C" >&6
96518 else
96522 ac_ext=cc
96523 ac_cpp='$CXXCPP $CPPFLAGS'
96524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96528 cat >conftest.$ac_ext <<_ACEOF
96529 /* confdefs.h. */
96530 _ACEOF
96531 cat confdefs.h >>conftest.$ac_ext
96532 cat >>conftest.$ac_ext <<_ACEOF
96533 /* end confdefs.h. */
96534 #include <math.h>
96536 main ()
96538 powf(0, 0);
96540 return 0;
96542 _ACEOF
96543 rm -f conftest.$ac_objext
96544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96545 (eval $ac_compile) 2>conftest.er1
96546 ac_status=$?
96547 grep -v '^ *+' conftest.er1 >conftest.err
96548 rm -f conftest.er1
96549 cat conftest.err >&5
96550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96551 (exit $ac_status); } &&
96552 { ac_try='test -z "$ac_cxx_werror_flag"
96553 || test ! -s conftest.err'
96554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96555 (eval $ac_try) 2>&5
96556 ac_status=$?
96557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96558 (exit $ac_status); }; } &&
96559 { ac_try='test -s conftest.$ac_objext'
96560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96561 (eval $ac_try) 2>&5
96562 ac_status=$?
96563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96564 (exit $ac_status); }; }; then
96565 glibcxx_cv_func_powf_use=yes
96566 else
96567 echo "$as_me: failed program was:" >&5
96568 sed 's/^/| /' conftest.$ac_ext >&5
96570 glibcxx_cv_func_powf_use=no
96572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96573 ac_ext=c
96574 ac_cpp='$CPP $CPPFLAGS'
96575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96583 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
96584 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
96586 if test x$glibcxx_cv_func_powf_use = x"yes"; then
96588 for ac_func in powf
96590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96591 echo "$as_me:$LINENO: checking for $ac_func" >&5
96592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96593 if eval "test \"\${$as_ac_var+set}\" = set"; then
96594 echo $ECHO_N "(cached) $ECHO_C" >&6
96595 else
96596 if test x$gcc_no_link = xyes; then
96597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96599 { (exit 1); exit 1; }; }
96601 cat >conftest.$ac_ext <<_ACEOF
96602 /* confdefs.h. */
96603 _ACEOF
96604 cat confdefs.h >>conftest.$ac_ext
96605 cat >>conftest.$ac_ext <<_ACEOF
96606 /* end confdefs.h. */
96607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96609 #define $ac_func innocuous_$ac_func
96611 /* System header to define __stub macros and hopefully few prototypes,
96612 which can conflict with char $ac_func (); below.
96613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96614 <limits.h> exists even on freestanding compilers. */
96616 #ifdef __STDC__
96617 # include <limits.h>
96618 #else
96619 # include <assert.h>
96620 #endif
96622 #undef $ac_func
96624 /* Override any gcc2 internal prototype to avoid an error. */
96625 #ifdef __cplusplus
96626 extern "C"
96628 #endif
96629 /* We use char because int might match the return type of a gcc2
96630 builtin and then its argument prototype would still apply. */
96631 char $ac_func ();
96632 /* The GNU C library defines this for functions which it implements
96633 to always fail with ENOSYS. Some functions are actually named
96634 something starting with __ and the normal name is an alias. */
96635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96636 choke me
96637 #else
96638 char (*f) () = $ac_func;
96639 #endif
96640 #ifdef __cplusplus
96642 #endif
96645 main ()
96647 return f != $ac_func;
96649 return 0;
96651 _ACEOF
96652 rm -f conftest.$ac_objext conftest$ac_exeext
96653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96654 (eval $ac_link) 2>conftest.er1
96655 ac_status=$?
96656 grep -v '^ *+' conftest.er1 >conftest.err
96657 rm -f conftest.er1
96658 cat conftest.err >&5
96659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96660 (exit $ac_status); } &&
96661 { ac_try='test -z "$ac_c_werror_flag"
96662 || test ! -s conftest.err'
96663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96664 (eval $ac_try) 2>&5
96665 ac_status=$?
96666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96667 (exit $ac_status); }; } &&
96668 { ac_try='test -s conftest$ac_exeext'
96669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96670 (eval $ac_try) 2>&5
96671 ac_status=$?
96672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96673 (exit $ac_status); }; }; then
96674 eval "$as_ac_var=yes"
96675 else
96676 echo "$as_me: failed program was:" >&5
96677 sed 's/^/| /' conftest.$ac_ext >&5
96679 eval "$as_ac_var=no"
96681 rm -f conftest.err conftest.$ac_objext \
96682 conftest$ac_exeext conftest.$ac_ext
96684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96686 if test `eval echo '${'$as_ac_var'}'` = yes; then
96687 cat >>confdefs.h <<_ACEOF
96688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96689 _ACEOF
96692 done
96694 else
96696 echo "$as_me:$LINENO: checking for _powf declaration" >&5
96697 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
96698 if test x${glibcxx_cv_func__powf_use+set} != xset; then
96699 if test "${glibcxx_cv_func__powf_use+set}" = set; then
96700 echo $ECHO_N "(cached) $ECHO_C" >&6
96701 else
96705 ac_ext=cc
96706 ac_cpp='$CXXCPP $CPPFLAGS'
96707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96711 cat >conftest.$ac_ext <<_ACEOF
96712 /* confdefs.h. */
96713 _ACEOF
96714 cat confdefs.h >>conftest.$ac_ext
96715 cat >>conftest.$ac_ext <<_ACEOF
96716 /* end confdefs.h. */
96717 #include <math.h>
96719 main ()
96721 _powf(0, 0);
96723 return 0;
96725 _ACEOF
96726 rm -f conftest.$ac_objext
96727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96728 (eval $ac_compile) 2>conftest.er1
96729 ac_status=$?
96730 grep -v '^ *+' conftest.er1 >conftest.err
96731 rm -f conftest.er1
96732 cat conftest.err >&5
96733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96734 (exit $ac_status); } &&
96735 { ac_try='test -z "$ac_cxx_werror_flag"
96736 || test ! -s conftest.err'
96737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96738 (eval $ac_try) 2>&5
96739 ac_status=$?
96740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96741 (exit $ac_status); }; } &&
96742 { ac_try='test -s conftest.$ac_objext'
96743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96744 (eval $ac_try) 2>&5
96745 ac_status=$?
96746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96747 (exit $ac_status); }; }; then
96748 glibcxx_cv_func__powf_use=yes
96749 else
96750 echo "$as_me: failed program was:" >&5
96751 sed 's/^/| /' conftest.$ac_ext >&5
96753 glibcxx_cv_func__powf_use=no
96755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96756 ac_ext=c
96757 ac_cpp='$CPP $CPPFLAGS'
96758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96766 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
96767 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
96769 if test x$glibcxx_cv_func__powf_use = x"yes"; then
96771 for ac_func in _powf
96773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96774 echo "$as_me:$LINENO: checking for $ac_func" >&5
96775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96776 if eval "test \"\${$as_ac_var+set}\" = set"; then
96777 echo $ECHO_N "(cached) $ECHO_C" >&6
96778 else
96779 if test x$gcc_no_link = xyes; then
96780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96782 { (exit 1); exit 1; }; }
96784 cat >conftest.$ac_ext <<_ACEOF
96785 /* confdefs.h. */
96786 _ACEOF
96787 cat confdefs.h >>conftest.$ac_ext
96788 cat >>conftest.$ac_ext <<_ACEOF
96789 /* end confdefs.h. */
96790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96792 #define $ac_func innocuous_$ac_func
96794 /* System header to define __stub macros and hopefully few prototypes,
96795 which can conflict with char $ac_func (); below.
96796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96797 <limits.h> exists even on freestanding compilers. */
96799 #ifdef __STDC__
96800 # include <limits.h>
96801 #else
96802 # include <assert.h>
96803 #endif
96805 #undef $ac_func
96807 /* Override any gcc2 internal prototype to avoid an error. */
96808 #ifdef __cplusplus
96809 extern "C"
96811 #endif
96812 /* We use char because int might match the return type of a gcc2
96813 builtin and then its argument prototype would still apply. */
96814 char $ac_func ();
96815 /* The GNU C library defines this for functions which it implements
96816 to always fail with ENOSYS. Some functions are actually named
96817 something starting with __ and the normal name is an alias. */
96818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96819 choke me
96820 #else
96821 char (*f) () = $ac_func;
96822 #endif
96823 #ifdef __cplusplus
96825 #endif
96828 main ()
96830 return f != $ac_func;
96832 return 0;
96834 _ACEOF
96835 rm -f conftest.$ac_objext conftest$ac_exeext
96836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96837 (eval $ac_link) 2>conftest.er1
96838 ac_status=$?
96839 grep -v '^ *+' conftest.er1 >conftest.err
96840 rm -f conftest.er1
96841 cat conftest.err >&5
96842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96843 (exit $ac_status); } &&
96844 { ac_try='test -z "$ac_c_werror_flag"
96845 || test ! -s conftest.err'
96846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96847 (eval $ac_try) 2>&5
96848 ac_status=$?
96849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96850 (exit $ac_status); }; } &&
96851 { ac_try='test -s conftest$ac_exeext'
96852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96853 (eval $ac_try) 2>&5
96854 ac_status=$?
96855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96856 (exit $ac_status); }; }; then
96857 eval "$as_ac_var=yes"
96858 else
96859 echo "$as_me: failed program was:" >&5
96860 sed 's/^/| /' conftest.$ac_ext >&5
96862 eval "$as_ac_var=no"
96864 rm -f conftest.err conftest.$ac_objext \
96865 conftest$ac_exeext conftest.$ac_ext
96867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96869 if test `eval echo '${'$as_ac_var'}'` = yes; then
96870 cat >>confdefs.h <<_ACEOF
96871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96872 _ACEOF
96875 done
96885 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
96886 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
96887 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
96888 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
96889 echo $ECHO_N "(cached) $ECHO_C" >&6
96890 else
96894 ac_ext=cc
96895 ac_cpp='$CXXCPP $CPPFLAGS'
96896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96900 cat >conftest.$ac_ext <<_ACEOF
96901 /* confdefs.h. */
96902 _ACEOF
96903 cat confdefs.h >>conftest.$ac_ext
96904 cat >>conftest.$ac_ext <<_ACEOF
96905 /* end confdefs.h. */
96906 #include <math.h>
96907 #ifdef HAVE_IEEEFP_H
96908 #include <ieeefp.h>
96909 #endif
96912 main ()
96914 sqrtf(0);
96916 return 0;
96918 _ACEOF
96919 rm -f conftest.$ac_objext
96920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96921 (eval $ac_compile) 2>conftest.er1
96922 ac_status=$?
96923 grep -v '^ *+' conftest.er1 >conftest.err
96924 rm -f conftest.er1
96925 cat conftest.err >&5
96926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96927 (exit $ac_status); } &&
96928 { ac_try='test -z "$ac_cxx_werror_flag"
96929 || test ! -s conftest.err'
96930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96931 (eval $ac_try) 2>&5
96932 ac_status=$?
96933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96934 (exit $ac_status); }; } &&
96935 { ac_try='test -s conftest.$ac_objext'
96936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96937 (eval $ac_try) 2>&5
96938 ac_status=$?
96939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96940 (exit $ac_status); }; }; then
96941 glibcxx_cv_func_sqrtf_use=yes
96942 else
96943 echo "$as_me: failed program was:" >&5
96944 sed 's/^/| /' conftest.$ac_ext >&5
96946 glibcxx_cv_func_sqrtf_use=no
96948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96949 ac_ext=c
96950 ac_cpp='$CPP $CPPFLAGS'
96951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96959 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
96960 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
96962 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
96964 for ac_func in sqrtf
96966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96967 echo "$as_me:$LINENO: checking for $ac_func" >&5
96968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96969 if eval "test \"\${$as_ac_var+set}\" = set"; then
96970 echo $ECHO_N "(cached) $ECHO_C" >&6
96971 else
96972 if test x$gcc_no_link = xyes; then
96973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96975 { (exit 1); exit 1; }; }
96977 cat >conftest.$ac_ext <<_ACEOF
96978 /* confdefs.h. */
96979 _ACEOF
96980 cat confdefs.h >>conftest.$ac_ext
96981 cat >>conftest.$ac_ext <<_ACEOF
96982 /* end confdefs.h. */
96983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96985 #define $ac_func innocuous_$ac_func
96987 /* System header to define __stub macros and hopefully few prototypes,
96988 which can conflict with char $ac_func (); below.
96989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96990 <limits.h> exists even on freestanding compilers. */
96992 #ifdef __STDC__
96993 # include <limits.h>
96994 #else
96995 # include <assert.h>
96996 #endif
96998 #undef $ac_func
97000 /* Override any gcc2 internal prototype to avoid an error. */
97001 #ifdef __cplusplus
97002 extern "C"
97004 #endif
97005 /* We use char because int might match the return type of a gcc2
97006 builtin and then its argument prototype would still apply. */
97007 char $ac_func ();
97008 /* The GNU C library defines this for functions which it implements
97009 to always fail with ENOSYS. Some functions are actually named
97010 something starting with __ and the normal name is an alias. */
97011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97012 choke me
97013 #else
97014 char (*f) () = $ac_func;
97015 #endif
97016 #ifdef __cplusplus
97018 #endif
97021 main ()
97023 return f != $ac_func;
97025 return 0;
97027 _ACEOF
97028 rm -f conftest.$ac_objext conftest$ac_exeext
97029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97030 (eval $ac_link) 2>conftest.er1
97031 ac_status=$?
97032 grep -v '^ *+' conftest.er1 >conftest.err
97033 rm -f conftest.er1
97034 cat conftest.err >&5
97035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97036 (exit $ac_status); } &&
97037 { ac_try='test -z "$ac_c_werror_flag"
97038 || test ! -s conftest.err'
97039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97040 (eval $ac_try) 2>&5
97041 ac_status=$?
97042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97043 (exit $ac_status); }; } &&
97044 { ac_try='test -s conftest$ac_exeext'
97045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97046 (eval $ac_try) 2>&5
97047 ac_status=$?
97048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97049 (exit $ac_status); }; }; then
97050 eval "$as_ac_var=yes"
97051 else
97052 echo "$as_me: failed program was:" >&5
97053 sed 's/^/| /' conftest.$ac_ext >&5
97055 eval "$as_ac_var=no"
97057 rm -f conftest.err conftest.$ac_objext \
97058 conftest$ac_exeext conftest.$ac_ext
97060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97062 if test `eval echo '${'$as_ac_var'}'` = yes; then
97063 cat >>confdefs.h <<_ACEOF
97064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97065 _ACEOF
97068 done
97070 else
97072 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
97073 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
97074 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
97075 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
97076 echo $ECHO_N "(cached) $ECHO_C" >&6
97077 else
97081 ac_ext=cc
97082 ac_cpp='$CXXCPP $CPPFLAGS'
97083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97087 cat >conftest.$ac_ext <<_ACEOF
97088 /* confdefs.h. */
97089 _ACEOF
97090 cat confdefs.h >>conftest.$ac_ext
97091 cat >>conftest.$ac_ext <<_ACEOF
97092 /* end confdefs.h. */
97093 #include <math.h>
97094 #ifdef HAVE_IEEEFP_H
97095 #include <ieeefp.h>
97096 #endif
97099 main ()
97101 _sqrtf(0);
97103 return 0;
97105 _ACEOF
97106 rm -f conftest.$ac_objext
97107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97108 (eval $ac_compile) 2>conftest.er1
97109 ac_status=$?
97110 grep -v '^ *+' conftest.er1 >conftest.err
97111 rm -f conftest.er1
97112 cat conftest.err >&5
97113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97114 (exit $ac_status); } &&
97115 { ac_try='test -z "$ac_cxx_werror_flag"
97116 || test ! -s conftest.err'
97117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97118 (eval $ac_try) 2>&5
97119 ac_status=$?
97120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97121 (exit $ac_status); }; } &&
97122 { ac_try='test -s conftest.$ac_objext'
97123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97124 (eval $ac_try) 2>&5
97125 ac_status=$?
97126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97127 (exit $ac_status); }; }; then
97128 glibcxx_cv_func__sqrtf_use=yes
97129 else
97130 echo "$as_me: failed program was:" >&5
97131 sed 's/^/| /' conftest.$ac_ext >&5
97133 glibcxx_cv_func__sqrtf_use=no
97135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97136 ac_ext=c
97137 ac_cpp='$CPP $CPPFLAGS'
97138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97146 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
97147 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
97149 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
97151 for ac_func in _sqrtf
97153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97154 echo "$as_me:$LINENO: checking for $ac_func" >&5
97155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97156 if eval "test \"\${$as_ac_var+set}\" = set"; then
97157 echo $ECHO_N "(cached) $ECHO_C" >&6
97158 else
97159 if test x$gcc_no_link = xyes; then
97160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97162 { (exit 1); exit 1; }; }
97164 cat >conftest.$ac_ext <<_ACEOF
97165 /* confdefs.h. */
97166 _ACEOF
97167 cat confdefs.h >>conftest.$ac_ext
97168 cat >>conftest.$ac_ext <<_ACEOF
97169 /* end confdefs.h. */
97170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97172 #define $ac_func innocuous_$ac_func
97174 /* System header to define __stub macros and hopefully few prototypes,
97175 which can conflict with char $ac_func (); below.
97176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97177 <limits.h> exists even on freestanding compilers. */
97179 #ifdef __STDC__
97180 # include <limits.h>
97181 #else
97182 # include <assert.h>
97183 #endif
97185 #undef $ac_func
97187 /* Override any gcc2 internal prototype to avoid an error. */
97188 #ifdef __cplusplus
97189 extern "C"
97191 #endif
97192 /* We use char because int might match the return type of a gcc2
97193 builtin and then its argument prototype would still apply. */
97194 char $ac_func ();
97195 /* The GNU C library defines this for functions which it implements
97196 to always fail with ENOSYS. Some functions are actually named
97197 something starting with __ and the normal name is an alias. */
97198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97199 choke me
97200 #else
97201 char (*f) () = $ac_func;
97202 #endif
97203 #ifdef __cplusplus
97205 #endif
97208 main ()
97210 return f != $ac_func;
97212 return 0;
97214 _ACEOF
97215 rm -f conftest.$ac_objext conftest$ac_exeext
97216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97217 (eval $ac_link) 2>conftest.er1
97218 ac_status=$?
97219 grep -v '^ *+' conftest.er1 >conftest.err
97220 rm -f conftest.er1
97221 cat conftest.err >&5
97222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97223 (exit $ac_status); } &&
97224 { ac_try='test -z "$ac_c_werror_flag"
97225 || test ! -s conftest.err'
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); }; } &&
97231 { ac_try='test -s conftest$ac_exeext'
97232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97233 (eval $ac_try) 2>&5
97234 ac_status=$?
97235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97236 (exit $ac_status); }; }; then
97237 eval "$as_ac_var=yes"
97238 else
97239 echo "$as_me: failed program was:" >&5
97240 sed 's/^/| /' conftest.$ac_ext >&5
97242 eval "$as_ac_var=no"
97244 rm -f conftest.err conftest.$ac_objext \
97245 conftest$ac_exeext conftest.$ac_ext
97247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97249 if test `eval echo '${'$as_ac_var'}'` = yes; then
97250 cat >>confdefs.h <<_ACEOF
97251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97252 _ACEOF
97255 done
97265 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
97266 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
97267 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
97268 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
97269 echo $ECHO_N "(cached) $ECHO_C" >&6
97270 else
97274 ac_ext=cc
97275 ac_cpp='$CXXCPP $CPPFLAGS'
97276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97280 cat >conftest.$ac_ext <<_ACEOF
97281 /* confdefs.h. */
97282 _ACEOF
97283 cat confdefs.h >>conftest.$ac_ext
97284 cat >>conftest.$ac_ext <<_ACEOF
97285 /* end confdefs.h. */
97286 #include <math.h>
97288 main ()
97290 sincosf(0, 0, 0);
97292 return 0;
97294 _ACEOF
97295 rm -f conftest.$ac_objext
97296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97297 (eval $ac_compile) 2>conftest.er1
97298 ac_status=$?
97299 grep -v '^ *+' conftest.er1 >conftest.err
97300 rm -f conftest.er1
97301 cat conftest.err >&5
97302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97303 (exit $ac_status); } &&
97304 { ac_try='test -z "$ac_cxx_werror_flag"
97305 || test ! -s conftest.err'
97306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97307 (eval $ac_try) 2>&5
97308 ac_status=$?
97309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97310 (exit $ac_status); }; } &&
97311 { ac_try='test -s conftest.$ac_objext'
97312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97313 (eval $ac_try) 2>&5
97314 ac_status=$?
97315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97316 (exit $ac_status); }; }; then
97317 glibcxx_cv_func_sincosf_use=yes
97318 else
97319 echo "$as_me: failed program was:" >&5
97320 sed 's/^/| /' conftest.$ac_ext >&5
97322 glibcxx_cv_func_sincosf_use=no
97324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97325 ac_ext=c
97326 ac_cpp='$CPP $CPPFLAGS'
97327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97335 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
97336 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
97338 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
97340 for ac_func in sincosf
97342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97343 echo "$as_me:$LINENO: checking for $ac_func" >&5
97344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97345 if eval "test \"\${$as_ac_var+set}\" = set"; then
97346 echo $ECHO_N "(cached) $ECHO_C" >&6
97347 else
97348 if test x$gcc_no_link = xyes; then
97349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97351 { (exit 1); exit 1; }; }
97353 cat >conftest.$ac_ext <<_ACEOF
97354 /* confdefs.h. */
97355 _ACEOF
97356 cat confdefs.h >>conftest.$ac_ext
97357 cat >>conftest.$ac_ext <<_ACEOF
97358 /* end confdefs.h. */
97359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97361 #define $ac_func innocuous_$ac_func
97363 /* System header to define __stub macros and hopefully few prototypes,
97364 which can conflict with char $ac_func (); below.
97365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97366 <limits.h> exists even on freestanding compilers. */
97368 #ifdef __STDC__
97369 # include <limits.h>
97370 #else
97371 # include <assert.h>
97372 #endif
97374 #undef $ac_func
97376 /* Override any gcc2 internal prototype to avoid an error. */
97377 #ifdef __cplusplus
97378 extern "C"
97380 #endif
97381 /* We use char because int might match the return type of a gcc2
97382 builtin and then its argument prototype would still apply. */
97383 char $ac_func ();
97384 /* The GNU C library defines this for functions which it implements
97385 to always fail with ENOSYS. Some functions are actually named
97386 something starting with __ and the normal name is an alias. */
97387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97388 choke me
97389 #else
97390 char (*f) () = $ac_func;
97391 #endif
97392 #ifdef __cplusplus
97394 #endif
97397 main ()
97399 return f != $ac_func;
97401 return 0;
97403 _ACEOF
97404 rm -f conftest.$ac_objext conftest$ac_exeext
97405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97406 (eval $ac_link) 2>conftest.er1
97407 ac_status=$?
97408 grep -v '^ *+' conftest.er1 >conftest.err
97409 rm -f conftest.er1
97410 cat conftest.err >&5
97411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97412 (exit $ac_status); } &&
97413 { ac_try='test -z "$ac_c_werror_flag"
97414 || test ! -s conftest.err'
97415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97416 (eval $ac_try) 2>&5
97417 ac_status=$?
97418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97419 (exit $ac_status); }; } &&
97420 { ac_try='test -s conftest$ac_exeext'
97421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97422 (eval $ac_try) 2>&5
97423 ac_status=$?
97424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97425 (exit $ac_status); }; }; then
97426 eval "$as_ac_var=yes"
97427 else
97428 echo "$as_me: failed program was:" >&5
97429 sed 's/^/| /' conftest.$ac_ext >&5
97431 eval "$as_ac_var=no"
97433 rm -f conftest.err conftest.$ac_objext \
97434 conftest$ac_exeext conftest.$ac_ext
97436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97438 if test `eval echo '${'$as_ac_var'}'` = yes; then
97439 cat >>confdefs.h <<_ACEOF
97440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97441 _ACEOF
97444 done
97446 else
97448 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
97449 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
97450 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
97451 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
97452 echo $ECHO_N "(cached) $ECHO_C" >&6
97453 else
97457 ac_ext=cc
97458 ac_cpp='$CXXCPP $CPPFLAGS'
97459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97463 cat >conftest.$ac_ext <<_ACEOF
97464 /* confdefs.h. */
97465 _ACEOF
97466 cat confdefs.h >>conftest.$ac_ext
97467 cat >>conftest.$ac_ext <<_ACEOF
97468 /* end confdefs.h. */
97469 #include <math.h>
97471 main ()
97473 _sincosf(0, 0, 0);
97475 return 0;
97477 _ACEOF
97478 rm -f conftest.$ac_objext
97479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97480 (eval $ac_compile) 2>conftest.er1
97481 ac_status=$?
97482 grep -v '^ *+' conftest.er1 >conftest.err
97483 rm -f conftest.er1
97484 cat conftest.err >&5
97485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97486 (exit $ac_status); } &&
97487 { ac_try='test -z "$ac_cxx_werror_flag"
97488 || test ! -s conftest.err'
97489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97490 (eval $ac_try) 2>&5
97491 ac_status=$?
97492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97493 (exit $ac_status); }; } &&
97494 { ac_try='test -s conftest.$ac_objext'
97495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97496 (eval $ac_try) 2>&5
97497 ac_status=$?
97498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97499 (exit $ac_status); }; }; then
97500 glibcxx_cv_func__sincosf_use=yes
97501 else
97502 echo "$as_me: failed program was:" >&5
97503 sed 's/^/| /' conftest.$ac_ext >&5
97505 glibcxx_cv_func__sincosf_use=no
97507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97508 ac_ext=c
97509 ac_cpp='$CPP $CPPFLAGS'
97510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
97519 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
97521 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
97523 for ac_func in _sincosf
97525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97526 echo "$as_me:$LINENO: checking for $ac_func" >&5
97527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97528 if eval "test \"\${$as_ac_var+set}\" = set"; then
97529 echo $ECHO_N "(cached) $ECHO_C" >&6
97530 else
97531 if test x$gcc_no_link = xyes; then
97532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97534 { (exit 1); exit 1; }; }
97536 cat >conftest.$ac_ext <<_ACEOF
97537 /* confdefs.h. */
97538 _ACEOF
97539 cat confdefs.h >>conftest.$ac_ext
97540 cat >>conftest.$ac_ext <<_ACEOF
97541 /* end confdefs.h. */
97542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97544 #define $ac_func innocuous_$ac_func
97546 /* System header to define __stub macros and hopefully few prototypes,
97547 which can conflict with char $ac_func (); below.
97548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97549 <limits.h> exists even on freestanding compilers. */
97551 #ifdef __STDC__
97552 # include <limits.h>
97553 #else
97554 # include <assert.h>
97555 #endif
97557 #undef $ac_func
97559 /* Override any gcc2 internal prototype to avoid an error. */
97560 #ifdef __cplusplus
97561 extern "C"
97563 #endif
97564 /* We use char because int might match the return type of a gcc2
97565 builtin and then its argument prototype would still apply. */
97566 char $ac_func ();
97567 /* The GNU C library defines this for functions which it implements
97568 to always fail with ENOSYS. Some functions are actually named
97569 something starting with __ and the normal name is an alias. */
97570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97571 choke me
97572 #else
97573 char (*f) () = $ac_func;
97574 #endif
97575 #ifdef __cplusplus
97577 #endif
97580 main ()
97582 return f != $ac_func;
97584 return 0;
97586 _ACEOF
97587 rm -f conftest.$ac_objext conftest$ac_exeext
97588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97589 (eval $ac_link) 2>conftest.er1
97590 ac_status=$?
97591 grep -v '^ *+' conftest.er1 >conftest.err
97592 rm -f conftest.er1
97593 cat conftest.err >&5
97594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97595 (exit $ac_status); } &&
97596 { ac_try='test -z "$ac_c_werror_flag"
97597 || test ! -s conftest.err'
97598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97599 (eval $ac_try) 2>&5
97600 ac_status=$?
97601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97602 (exit $ac_status); }; } &&
97603 { ac_try='test -s conftest$ac_exeext'
97604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97605 (eval $ac_try) 2>&5
97606 ac_status=$?
97607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97608 (exit $ac_status); }; }; then
97609 eval "$as_ac_var=yes"
97610 else
97611 echo "$as_me: failed program was:" >&5
97612 sed 's/^/| /' conftest.$ac_ext >&5
97614 eval "$as_ac_var=no"
97616 rm -f conftest.err conftest.$ac_objext \
97617 conftest$ac_exeext conftest.$ac_ext
97619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97621 if test `eval echo '${'$as_ac_var'}'` = yes; then
97622 cat >>confdefs.h <<_ACEOF
97623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97624 _ACEOF
97627 done
97637 echo "$as_me:$LINENO: checking for finitef declaration" >&5
97638 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
97639 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
97640 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
97641 echo $ECHO_N "(cached) $ECHO_C" >&6
97642 else
97646 ac_ext=cc
97647 ac_cpp='$CXXCPP $CPPFLAGS'
97648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97652 cat >conftest.$ac_ext <<_ACEOF
97653 /* confdefs.h. */
97654 _ACEOF
97655 cat confdefs.h >>conftest.$ac_ext
97656 cat >>conftest.$ac_ext <<_ACEOF
97657 /* end confdefs.h. */
97658 #include <math.h>
97659 #ifdef HAVE_IEEEFP_H
97660 #include <ieeefp.h>
97661 #endif
97664 main ()
97666 finitef(0);
97668 return 0;
97670 _ACEOF
97671 rm -f conftest.$ac_objext
97672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97673 (eval $ac_compile) 2>conftest.er1
97674 ac_status=$?
97675 grep -v '^ *+' conftest.er1 >conftest.err
97676 rm -f conftest.er1
97677 cat conftest.err >&5
97678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97679 (exit $ac_status); } &&
97680 { ac_try='test -z "$ac_cxx_werror_flag"
97681 || test ! -s conftest.err'
97682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97683 (eval $ac_try) 2>&5
97684 ac_status=$?
97685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97686 (exit $ac_status); }; } &&
97687 { ac_try='test -s conftest.$ac_objext'
97688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97689 (eval $ac_try) 2>&5
97690 ac_status=$?
97691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97692 (exit $ac_status); }; }; then
97693 glibcxx_cv_func_finitef_use=yes
97694 else
97695 echo "$as_me: failed program was:" >&5
97696 sed 's/^/| /' conftest.$ac_ext >&5
97698 glibcxx_cv_func_finitef_use=no
97700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97701 ac_ext=c
97702 ac_cpp='$CPP $CPPFLAGS'
97703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97711 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
97712 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
97714 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
97716 for ac_func in finitef
97718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97719 echo "$as_me:$LINENO: checking for $ac_func" >&5
97720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97721 if eval "test \"\${$as_ac_var+set}\" = set"; then
97722 echo $ECHO_N "(cached) $ECHO_C" >&6
97723 else
97724 if test x$gcc_no_link = xyes; then
97725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97727 { (exit 1); exit 1; }; }
97729 cat >conftest.$ac_ext <<_ACEOF
97730 /* confdefs.h. */
97731 _ACEOF
97732 cat confdefs.h >>conftest.$ac_ext
97733 cat >>conftest.$ac_ext <<_ACEOF
97734 /* end confdefs.h. */
97735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97737 #define $ac_func innocuous_$ac_func
97739 /* System header to define __stub macros and hopefully few prototypes,
97740 which can conflict with char $ac_func (); below.
97741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97742 <limits.h> exists even on freestanding compilers. */
97744 #ifdef __STDC__
97745 # include <limits.h>
97746 #else
97747 # include <assert.h>
97748 #endif
97750 #undef $ac_func
97752 /* Override any gcc2 internal prototype to avoid an error. */
97753 #ifdef __cplusplus
97754 extern "C"
97756 #endif
97757 /* We use char because int might match the return type of a gcc2
97758 builtin and then its argument prototype would still apply. */
97759 char $ac_func ();
97760 /* The GNU C library defines this for functions which it implements
97761 to always fail with ENOSYS. Some functions are actually named
97762 something starting with __ and the normal name is an alias. */
97763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97764 choke me
97765 #else
97766 char (*f) () = $ac_func;
97767 #endif
97768 #ifdef __cplusplus
97770 #endif
97773 main ()
97775 return f != $ac_func;
97777 return 0;
97779 _ACEOF
97780 rm -f conftest.$ac_objext conftest$ac_exeext
97781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97782 (eval $ac_link) 2>conftest.er1
97783 ac_status=$?
97784 grep -v '^ *+' conftest.er1 >conftest.err
97785 rm -f conftest.er1
97786 cat conftest.err >&5
97787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97788 (exit $ac_status); } &&
97789 { ac_try='test -z "$ac_c_werror_flag"
97790 || test ! -s conftest.err'
97791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97792 (eval $ac_try) 2>&5
97793 ac_status=$?
97794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97795 (exit $ac_status); }; } &&
97796 { ac_try='test -s conftest$ac_exeext'
97797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97798 (eval $ac_try) 2>&5
97799 ac_status=$?
97800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97801 (exit $ac_status); }; }; then
97802 eval "$as_ac_var=yes"
97803 else
97804 echo "$as_me: failed program was:" >&5
97805 sed 's/^/| /' conftest.$ac_ext >&5
97807 eval "$as_ac_var=no"
97809 rm -f conftest.err conftest.$ac_objext \
97810 conftest$ac_exeext conftest.$ac_ext
97812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97814 if test `eval echo '${'$as_ac_var'}'` = yes; then
97815 cat >>confdefs.h <<_ACEOF
97816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97817 _ACEOF
97820 done
97822 else
97824 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
97825 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
97826 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
97827 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
97828 echo $ECHO_N "(cached) $ECHO_C" >&6
97829 else
97833 ac_ext=cc
97834 ac_cpp='$CXXCPP $CPPFLAGS'
97835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97839 cat >conftest.$ac_ext <<_ACEOF
97840 /* confdefs.h. */
97841 _ACEOF
97842 cat confdefs.h >>conftest.$ac_ext
97843 cat >>conftest.$ac_ext <<_ACEOF
97844 /* end confdefs.h. */
97845 #include <math.h>
97846 #ifdef HAVE_IEEEFP_H
97847 #include <ieeefp.h>
97848 #endif
97851 main ()
97853 _finitef(0);
97855 return 0;
97857 _ACEOF
97858 rm -f conftest.$ac_objext
97859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97860 (eval $ac_compile) 2>conftest.er1
97861 ac_status=$?
97862 grep -v '^ *+' conftest.er1 >conftest.err
97863 rm -f conftest.er1
97864 cat conftest.err >&5
97865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97866 (exit $ac_status); } &&
97867 { ac_try='test -z "$ac_cxx_werror_flag"
97868 || test ! -s conftest.err'
97869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97870 (eval $ac_try) 2>&5
97871 ac_status=$?
97872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97873 (exit $ac_status); }; } &&
97874 { ac_try='test -s conftest.$ac_objext'
97875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97876 (eval $ac_try) 2>&5
97877 ac_status=$?
97878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97879 (exit $ac_status); }; }; then
97880 glibcxx_cv_func__finitef_use=yes
97881 else
97882 echo "$as_me: failed program was:" >&5
97883 sed 's/^/| /' conftest.$ac_ext >&5
97885 glibcxx_cv_func__finitef_use=no
97887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97888 ac_ext=c
97889 ac_cpp='$CPP $CPPFLAGS'
97890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97898 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
97899 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
97901 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
97903 for ac_func in _finitef
97905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97906 echo "$as_me:$LINENO: checking for $ac_func" >&5
97907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97908 if eval "test \"\${$as_ac_var+set}\" = set"; then
97909 echo $ECHO_N "(cached) $ECHO_C" >&6
97910 else
97911 if test x$gcc_no_link = xyes; then
97912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97914 { (exit 1); exit 1; }; }
97916 cat >conftest.$ac_ext <<_ACEOF
97917 /* confdefs.h. */
97918 _ACEOF
97919 cat confdefs.h >>conftest.$ac_ext
97920 cat >>conftest.$ac_ext <<_ACEOF
97921 /* end confdefs.h. */
97922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97924 #define $ac_func innocuous_$ac_func
97926 /* System header to define __stub macros and hopefully few prototypes,
97927 which can conflict with char $ac_func (); below.
97928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97929 <limits.h> exists even on freestanding compilers. */
97931 #ifdef __STDC__
97932 # include <limits.h>
97933 #else
97934 # include <assert.h>
97935 #endif
97937 #undef $ac_func
97939 /* Override any gcc2 internal prototype to avoid an error. */
97940 #ifdef __cplusplus
97941 extern "C"
97943 #endif
97944 /* We use char because int might match the return type of a gcc2
97945 builtin and then its argument prototype would still apply. */
97946 char $ac_func ();
97947 /* The GNU C library defines this for functions which it implements
97948 to always fail with ENOSYS. Some functions are actually named
97949 something starting with __ and the normal name is an alias. */
97950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97951 choke me
97952 #else
97953 char (*f) () = $ac_func;
97954 #endif
97955 #ifdef __cplusplus
97957 #endif
97960 main ()
97962 return f != $ac_func;
97964 return 0;
97966 _ACEOF
97967 rm -f conftest.$ac_objext conftest$ac_exeext
97968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97969 (eval $ac_link) 2>conftest.er1
97970 ac_status=$?
97971 grep -v '^ *+' conftest.er1 >conftest.err
97972 rm -f conftest.er1
97973 cat conftest.err >&5
97974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97975 (exit $ac_status); } &&
97976 { ac_try='test -z "$ac_c_werror_flag"
97977 || test ! -s conftest.err'
97978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97979 (eval $ac_try) 2>&5
97980 ac_status=$?
97981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97982 (exit $ac_status); }; } &&
97983 { ac_try='test -s conftest$ac_exeext'
97984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97985 (eval $ac_try) 2>&5
97986 ac_status=$?
97987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97988 (exit $ac_status); }; }; then
97989 eval "$as_ac_var=yes"
97990 else
97991 echo "$as_me: failed program was:" >&5
97992 sed 's/^/| /' conftest.$ac_ext >&5
97994 eval "$as_ac_var=no"
97996 rm -f conftest.err conftest.$ac_objext \
97997 conftest$ac_exeext conftest.$ac_ext
97999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98001 if test `eval echo '${'$as_ac_var'}'` = yes; then
98002 cat >>confdefs.h <<_ACEOF
98003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98004 _ACEOF
98007 done
98017 echo "$as_me:$LINENO: checking for long double trig functions" >&5
98018 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
98019 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
98020 echo $ECHO_N "(cached) $ECHO_C" >&6
98021 else
98025 ac_ext=cc
98026 ac_cpp='$CXXCPP $CPPFLAGS'
98027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98031 cat >conftest.$ac_ext <<_ACEOF
98032 /* confdefs.h. */
98033 _ACEOF
98034 cat confdefs.h >>conftest.$ac_ext
98035 cat >>conftest.$ac_ext <<_ACEOF
98036 /* end confdefs.h. */
98037 #include <math.h>
98039 main ()
98041 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
98043 return 0;
98045 _ACEOF
98046 rm -f conftest.$ac_objext
98047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98048 (eval $ac_compile) 2>conftest.er1
98049 ac_status=$?
98050 grep -v '^ *+' conftest.er1 >conftest.err
98051 rm -f conftest.er1
98052 cat conftest.err >&5
98053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98054 (exit $ac_status); } &&
98055 { ac_try='test -z "$ac_cxx_werror_flag"
98056 || test ! -s conftest.err'
98057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98058 (eval $ac_try) 2>&5
98059 ac_status=$?
98060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98061 (exit $ac_status); }; } &&
98062 { ac_try='test -s conftest.$ac_objext'
98063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98064 (eval $ac_try) 2>&5
98065 ac_status=$?
98066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98067 (exit $ac_status); }; }; then
98068 glibcxx_cv_func_long_double_trig_use=yes
98069 else
98070 echo "$as_me: failed program was:" >&5
98071 sed 's/^/| /' conftest.$ac_ext >&5
98073 glibcxx_cv_func_long_double_trig_use=no
98075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98076 ac_ext=c
98077 ac_cpp='$CPP $CPPFLAGS'
98078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98084 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
98085 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
98086 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
98096 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
98098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98099 echo "$as_me:$LINENO: checking for $ac_func" >&5
98100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98101 if eval "test \"\${$as_ac_var+set}\" = set"; then
98102 echo $ECHO_N "(cached) $ECHO_C" >&6
98103 else
98104 if test x$gcc_no_link = xyes; then
98105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98107 { (exit 1); exit 1; }; }
98109 cat >conftest.$ac_ext <<_ACEOF
98110 /* confdefs.h. */
98111 _ACEOF
98112 cat confdefs.h >>conftest.$ac_ext
98113 cat >>conftest.$ac_ext <<_ACEOF
98114 /* end confdefs.h. */
98115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98117 #define $ac_func innocuous_$ac_func
98119 /* System header to define __stub macros and hopefully few prototypes,
98120 which can conflict with char $ac_func (); below.
98121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98122 <limits.h> exists even on freestanding compilers. */
98124 #ifdef __STDC__
98125 # include <limits.h>
98126 #else
98127 # include <assert.h>
98128 #endif
98130 #undef $ac_func
98132 /* Override any gcc2 internal prototype to avoid an error. */
98133 #ifdef __cplusplus
98134 extern "C"
98136 #endif
98137 /* We use char because int might match the return type of a gcc2
98138 builtin and then its argument prototype would still apply. */
98139 char $ac_func ();
98140 /* The GNU C library defines this for functions which it implements
98141 to always fail with ENOSYS. Some functions are actually named
98142 something starting with __ and the normal name is an alias. */
98143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98144 choke me
98145 #else
98146 char (*f) () = $ac_func;
98147 #endif
98148 #ifdef __cplusplus
98150 #endif
98153 main ()
98155 return f != $ac_func;
98157 return 0;
98159 _ACEOF
98160 rm -f conftest.$ac_objext conftest$ac_exeext
98161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98162 (eval $ac_link) 2>conftest.er1
98163 ac_status=$?
98164 grep -v '^ *+' conftest.er1 >conftest.err
98165 rm -f conftest.er1
98166 cat conftest.err >&5
98167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98168 (exit $ac_status); } &&
98169 { ac_try='test -z "$ac_c_werror_flag"
98170 || test ! -s conftest.err'
98171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98172 (eval $ac_try) 2>&5
98173 ac_status=$?
98174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98175 (exit $ac_status); }; } &&
98176 { ac_try='test -s conftest$ac_exeext'
98177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98178 (eval $ac_try) 2>&5
98179 ac_status=$?
98180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98181 (exit $ac_status); }; }; then
98182 eval "$as_ac_var=yes"
98183 else
98184 echo "$as_me: failed program was:" >&5
98185 sed 's/^/| /' conftest.$ac_ext >&5
98187 eval "$as_ac_var=no"
98189 rm -f conftest.err conftest.$ac_objext \
98190 conftest$ac_exeext conftest.$ac_ext
98192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98194 if test `eval echo '${'$as_ac_var'}'` = yes; then
98195 cat >>confdefs.h <<_ACEOF
98196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98197 _ACEOF
98200 done
98202 else
98203 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
98204 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
98205 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
98206 echo $ECHO_N "(cached) $ECHO_C" >&6
98207 else
98211 ac_ext=cc
98212 ac_cpp='$CXXCPP $CPPFLAGS'
98213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98217 cat >conftest.$ac_ext <<_ACEOF
98218 /* confdefs.h. */
98219 _ACEOF
98220 cat confdefs.h >>conftest.$ac_ext
98221 cat >>conftest.$ac_ext <<_ACEOF
98222 /* end confdefs.h. */
98223 #include <math.h>
98225 main ()
98227 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
98229 return 0;
98231 _ACEOF
98232 rm -f conftest.$ac_objext
98233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98234 (eval $ac_compile) 2>conftest.er1
98235 ac_status=$?
98236 grep -v '^ *+' conftest.er1 >conftest.err
98237 rm -f conftest.er1
98238 cat conftest.err >&5
98239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98240 (exit $ac_status); } &&
98241 { ac_try='test -z "$ac_cxx_werror_flag"
98242 || test ! -s conftest.err'
98243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98244 (eval $ac_try) 2>&5
98245 ac_status=$?
98246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98247 (exit $ac_status); }; } &&
98248 { ac_try='test -s conftest.$ac_objext'
98249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98250 (eval $ac_try) 2>&5
98251 ac_status=$?
98252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98253 (exit $ac_status); }; }; then
98254 glibcxx_cv_func__long_double_trig_use=yes
98255 else
98256 echo "$as_me: failed program was:" >&5
98257 sed 's/^/| /' conftest.$ac_ext >&5
98259 glibcxx_cv_func__long_double_trig_use=no
98261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98262 ac_ext=c
98263 ac_cpp='$CPP $CPPFLAGS'
98264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98270 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
98271 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
98272 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
98282 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
98284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98285 echo "$as_me:$LINENO: checking for $ac_func" >&5
98286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98287 if eval "test \"\${$as_ac_var+set}\" = set"; then
98288 echo $ECHO_N "(cached) $ECHO_C" >&6
98289 else
98290 if test x$gcc_no_link = xyes; then
98291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98293 { (exit 1); exit 1; }; }
98295 cat >conftest.$ac_ext <<_ACEOF
98296 /* confdefs.h. */
98297 _ACEOF
98298 cat confdefs.h >>conftest.$ac_ext
98299 cat >>conftest.$ac_ext <<_ACEOF
98300 /* end confdefs.h. */
98301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98303 #define $ac_func innocuous_$ac_func
98305 /* System header to define __stub macros and hopefully few prototypes,
98306 which can conflict with char $ac_func (); below.
98307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98308 <limits.h> exists even on freestanding compilers. */
98310 #ifdef __STDC__
98311 # include <limits.h>
98312 #else
98313 # include <assert.h>
98314 #endif
98316 #undef $ac_func
98318 /* Override any gcc2 internal prototype to avoid an error. */
98319 #ifdef __cplusplus
98320 extern "C"
98322 #endif
98323 /* We use char because int might match the return type of a gcc2
98324 builtin and then its argument prototype would still apply. */
98325 char $ac_func ();
98326 /* The GNU C library defines this for functions which it implements
98327 to always fail with ENOSYS. Some functions are actually named
98328 something starting with __ and the normal name is an alias. */
98329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98330 choke me
98331 #else
98332 char (*f) () = $ac_func;
98333 #endif
98334 #ifdef __cplusplus
98336 #endif
98339 main ()
98341 return f != $ac_func;
98343 return 0;
98345 _ACEOF
98346 rm -f conftest.$ac_objext conftest$ac_exeext
98347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98348 (eval $ac_link) 2>conftest.er1
98349 ac_status=$?
98350 grep -v '^ *+' conftest.er1 >conftest.err
98351 rm -f conftest.er1
98352 cat conftest.err >&5
98353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98354 (exit $ac_status); } &&
98355 { ac_try='test -z "$ac_c_werror_flag"
98356 || test ! -s conftest.err'
98357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98358 (eval $ac_try) 2>&5
98359 ac_status=$?
98360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98361 (exit $ac_status); }; } &&
98362 { ac_try='test -s conftest$ac_exeext'
98363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98364 (eval $ac_try) 2>&5
98365 ac_status=$?
98366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98367 (exit $ac_status); }; }; then
98368 eval "$as_ac_var=yes"
98369 else
98370 echo "$as_me: failed program was:" >&5
98371 sed 's/^/| /' conftest.$ac_ext >&5
98373 eval "$as_ac_var=no"
98375 rm -f conftest.err conftest.$ac_objext \
98376 conftest$ac_exeext conftest.$ac_ext
98378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98380 if test `eval echo '${'$as_ac_var'}'` = yes; then
98381 cat >>confdefs.h <<_ACEOF
98382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98383 _ACEOF
98386 done
98404 echo "$as_me:$LINENO: checking for long double round functions" >&5
98405 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
98406 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
98407 echo $ECHO_N "(cached) $ECHO_C" >&6
98408 else
98412 ac_ext=cc
98413 ac_cpp='$CXXCPP $CPPFLAGS'
98414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98418 cat >conftest.$ac_ext <<_ACEOF
98419 /* confdefs.h. */
98420 _ACEOF
98421 cat confdefs.h >>conftest.$ac_ext
98422 cat >>conftest.$ac_ext <<_ACEOF
98423 /* end confdefs.h. */
98424 #include <math.h>
98426 main ()
98428 ceill (0); floorl (0);
98430 return 0;
98432 _ACEOF
98433 rm -f conftest.$ac_objext
98434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98435 (eval $ac_compile) 2>conftest.er1
98436 ac_status=$?
98437 grep -v '^ *+' conftest.er1 >conftest.err
98438 rm -f conftest.er1
98439 cat conftest.err >&5
98440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98441 (exit $ac_status); } &&
98442 { ac_try='test -z "$ac_cxx_werror_flag"
98443 || test ! -s conftest.err'
98444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98445 (eval $ac_try) 2>&5
98446 ac_status=$?
98447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98448 (exit $ac_status); }; } &&
98449 { ac_try='test -s conftest.$ac_objext'
98450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98451 (eval $ac_try) 2>&5
98452 ac_status=$?
98453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98454 (exit $ac_status); }; }; then
98455 glibcxx_cv_func_long_double_round_use=yes
98456 else
98457 echo "$as_me: failed program was:" >&5
98458 sed 's/^/| /' conftest.$ac_ext >&5
98460 glibcxx_cv_func_long_double_round_use=no
98462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98463 ac_ext=c
98464 ac_cpp='$CPP $CPPFLAGS'
98465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98471 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
98472 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
98473 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
98476 for ac_func in ceill floorl
98478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98479 echo "$as_me:$LINENO: checking for $ac_func" >&5
98480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98481 if eval "test \"\${$as_ac_var+set}\" = set"; then
98482 echo $ECHO_N "(cached) $ECHO_C" >&6
98483 else
98484 if test x$gcc_no_link = xyes; then
98485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98487 { (exit 1); exit 1; }; }
98489 cat >conftest.$ac_ext <<_ACEOF
98490 /* confdefs.h. */
98491 _ACEOF
98492 cat confdefs.h >>conftest.$ac_ext
98493 cat >>conftest.$ac_ext <<_ACEOF
98494 /* end confdefs.h. */
98495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98497 #define $ac_func innocuous_$ac_func
98499 /* System header to define __stub macros and hopefully few prototypes,
98500 which can conflict with char $ac_func (); below.
98501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98502 <limits.h> exists even on freestanding compilers. */
98504 #ifdef __STDC__
98505 # include <limits.h>
98506 #else
98507 # include <assert.h>
98508 #endif
98510 #undef $ac_func
98512 /* Override any gcc2 internal prototype to avoid an error. */
98513 #ifdef __cplusplus
98514 extern "C"
98516 #endif
98517 /* We use char because int might match the return type of a gcc2
98518 builtin and then its argument prototype would still apply. */
98519 char $ac_func ();
98520 /* The GNU C library defines this for functions which it implements
98521 to always fail with ENOSYS. Some functions are actually named
98522 something starting with __ and the normal name is an alias. */
98523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98524 choke me
98525 #else
98526 char (*f) () = $ac_func;
98527 #endif
98528 #ifdef __cplusplus
98530 #endif
98533 main ()
98535 return f != $ac_func;
98537 return 0;
98539 _ACEOF
98540 rm -f conftest.$ac_objext conftest$ac_exeext
98541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98542 (eval $ac_link) 2>conftest.er1
98543 ac_status=$?
98544 grep -v '^ *+' conftest.er1 >conftest.err
98545 rm -f conftest.er1
98546 cat conftest.err >&5
98547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98548 (exit $ac_status); } &&
98549 { ac_try='test -z "$ac_c_werror_flag"
98550 || test ! -s conftest.err'
98551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98552 (eval $ac_try) 2>&5
98553 ac_status=$?
98554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98555 (exit $ac_status); }; } &&
98556 { ac_try='test -s conftest$ac_exeext'
98557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98558 (eval $ac_try) 2>&5
98559 ac_status=$?
98560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98561 (exit $ac_status); }; }; then
98562 eval "$as_ac_var=yes"
98563 else
98564 echo "$as_me: failed program was:" >&5
98565 sed 's/^/| /' conftest.$ac_ext >&5
98567 eval "$as_ac_var=no"
98569 rm -f conftest.err conftest.$ac_objext \
98570 conftest$ac_exeext conftest.$ac_ext
98572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98574 if test `eval echo '${'$as_ac_var'}'` = yes; then
98575 cat >>confdefs.h <<_ACEOF
98576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98577 _ACEOF
98580 done
98582 else
98583 echo "$as_me:$LINENO: checking for _long double round functions" >&5
98584 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
98585 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
98586 echo $ECHO_N "(cached) $ECHO_C" >&6
98587 else
98591 ac_ext=cc
98592 ac_cpp='$CXXCPP $CPPFLAGS'
98593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98597 cat >conftest.$ac_ext <<_ACEOF
98598 /* confdefs.h. */
98599 _ACEOF
98600 cat confdefs.h >>conftest.$ac_ext
98601 cat >>conftest.$ac_ext <<_ACEOF
98602 /* end confdefs.h. */
98603 #include <math.h>
98605 main ()
98607 _ceill (0); _floorl (0);
98609 return 0;
98611 _ACEOF
98612 rm -f conftest.$ac_objext
98613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98614 (eval $ac_compile) 2>conftest.er1
98615 ac_status=$?
98616 grep -v '^ *+' conftest.er1 >conftest.err
98617 rm -f conftest.er1
98618 cat conftest.err >&5
98619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98620 (exit $ac_status); } &&
98621 { ac_try='test -z "$ac_cxx_werror_flag"
98622 || test ! -s conftest.err'
98623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98624 (eval $ac_try) 2>&5
98625 ac_status=$?
98626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98627 (exit $ac_status); }; } &&
98628 { ac_try='test -s conftest.$ac_objext'
98629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98630 (eval $ac_try) 2>&5
98631 ac_status=$?
98632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98633 (exit $ac_status); }; }; then
98634 glibcxx_cv_func__long_double_round_use=yes
98635 else
98636 echo "$as_me: failed program was:" >&5
98637 sed 's/^/| /' conftest.$ac_ext >&5
98639 glibcxx_cv_func__long_double_round_use=no
98641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98642 ac_ext=c
98643 ac_cpp='$CPP $CPPFLAGS'
98644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
98651 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
98652 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
98655 for ac_func in _ceill _floorl
98657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98658 echo "$as_me:$LINENO: checking for $ac_func" >&5
98659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98660 if eval "test \"\${$as_ac_var+set}\" = set"; then
98661 echo $ECHO_N "(cached) $ECHO_C" >&6
98662 else
98663 if test x$gcc_no_link = xyes; then
98664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98666 { (exit 1); exit 1; }; }
98668 cat >conftest.$ac_ext <<_ACEOF
98669 /* confdefs.h. */
98670 _ACEOF
98671 cat confdefs.h >>conftest.$ac_ext
98672 cat >>conftest.$ac_ext <<_ACEOF
98673 /* end confdefs.h. */
98674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98676 #define $ac_func innocuous_$ac_func
98678 /* System header to define __stub macros and hopefully few prototypes,
98679 which can conflict with char $ac_func (); below.
98680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98681 <limits.h> exists even on freestanding compilers. */
98683 #ifdef __STDC__
98684 # include <limits.h>
98685 #else
98686 # include <assert.h>
98687 #endif
98689 #undef $ac_func
98691 /* Override any gcc2 internal prototype to avoid an error. */
98692 #ifdef __cplusplus
98693 extern "C"
98695 #endif
98696 /* We use char because int might match the return type of a gcc2
98697 builtin and then its argument prototype would still apply. */
98698 char $ac_func ();
98699 /* The GNU C library defines this for functions which it implements
98700 to always fail with ENOSYS. Some functions are actually named
98701 something starting with __ and the normal name is an alias. */
98702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98703 choke me
98704 #else
98705 char (*f) () = $ac_func;
98706 #endif
98707 #ifdef __cplusplus
98709 #endif
98712 main ()
98714 return f != $ac_func;
98716 return 0;
98718 _ACEOF
98719 rm -f conftest.$ac_objext conftest$ac_exeext
98720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98721 (eval $ac_link) 2>conftest.er1
98722 ac_status=$?
98723 grep -v '^ *+' conftest.er1 >conftest.err
98724 rm -f conftest.er1
98725 cat conftest.err >&5
98726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98727 (exit $ac_status); } &&
98728 { ac_try='test -z "$ac_c_werror_flag"
98729 || test ! -s conftest.err'
98730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98731 (eval $ac_try) 2>&5
98732 ac_status=$?
98733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98734 (exit $ac_status); }; } &&
98735 { ac_try='test -s conftest$ac_exeext'
98736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98737 (eval $ac_try) 2>&5
98738 ac_status=$?
98739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98740 (exit $ac_status); }; }; then
98741 eval "$as_ac_var=yes"
98742 else
98743 echo "$as_me: failed program was:" >&5
98744 sed 's/^/| /' conftest.$ac_ext >&5
98746 eval "$as_ac_var=no"
98748 rm -f conftest.err conftest.$ac_objext \
98749 conftest$ac_exeext conftest.$ac_ext
98751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98753 if test `eval echo '${'$as_ac_var'}'` = yes; then
98754 cat >>confdefs.h <<_ACEOF
98755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98756 _ACEOF
98759 done
98771 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
98772 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
98773 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
98774 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
98775 echo $ECHO_N "(cached) $ECHO_C" >&6
98776 else
98780 ac_ext=cc
98781 ac_cpp='$CXXCPP $CPPFLAGS'
98782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98786 cat >conftest.$ac_ext <<_ACEOF
98787 /* confdefs.h. */
98788 _ACEOF
98789 cat confdefs.h >>conftest.$ac_ext
98790 cat >>conftest.$ac_ext <<_ACEOF
98791 /* end confdefs.h. */
98792 #include <math.h>
98793 #ifdef HAVE_IEEEFP_H
98794 #include <ieeefp.h>
98795 #endif
98798 main ()
98800 isnanl(0);
98802 return 0;
98804 _ACEOF
98805 rm -f conftest.$ac_objext
98806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98807 (eval $ac_compile) 2>conftest.er1
98808 ac_status=$?
98809 grep -v '^ *+' conftest.er1 >conftest.err
98810 rm -f conftest.er1
98811 cat conftest.err >&5
98812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98813 (exit $ac_status); } &&
98814 { ac_try='test -z "$ac_cxx_werror_flag"
98815 || test ! -s conftest.err'
98816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98817 (eval $ac_try) 2>&5
98818 ac_status=$?
98819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98820 (exit $ac_status); }; } &&
98821 { ac_try='test -s conftest.$ac_objext'
98822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98823 (eval $ac_try) 2>&5
98824 ac_status=$?
98825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98826 (exit $ac_status); }; }; then
98827 glibcxx_cv_func_isnanl_use=yes
98828 else
98829 echo "$as_me: failed program was:" >&5
98830 sed 's/^/| /' conftest.$ac_ext >&5
98832 glibcxx_cv_func_isnanl_use=no
98834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98835 ac_ext=c
98836 ac_cpp='$CPP $CPPFLAGS'
98837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98845 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
98846 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
98848 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
98850 for ac_func in isnanl
98852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98853 echo "$as_me:$LINENO: checking for $ac_func" >&5
98854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98855 if eval "test \"\${$as_ac_var+set}\" = set"; then
98856 echo $ECHO_N "(cached) $ECHO_C" >&6
98857 else
98858 if test x$gcc_no_link = xyes; then
98859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98861 { (exit 1); exit 1; }; }
98863 cat >conftest.$ac_ext <<_ACEOF
98864 /* confdefs.h. */
98865 _ACEOF
98866 cat confdefs.h >>conftest.$ac_ext
98867 cat >>conftest.$ac_ext <<_ACEOF
98868 /* end confdefs.h. */
98869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98871 #define $ac_func innocuous_$ac_func
98873 /* System header to define __stub macros and hopefully few prototypes,
98874 which can conflict with char $ac_func (); below.
98875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98876 <limits.h> exists even on freestanding compilers. */
98878 #ifdef __STDC__
98879 # include <limits.h>
98880 #else
98881 # include <assert.h>
98882 #endif
98884 #undef $ac_func
98886 /* Override any gcc2 internal prototype to avoid an error. */
98887 #ifdef __cplusplus
98888 extern "C"
98890 #endif
98891 /* We use char because int might match the return type of a gcc2
98892 builtin and then its argument prototype would still apply. */
98893 char $ac_func ();
98894 /* The GNU C library defines this for functions which it implements
98895 to always fail with ENOSYS. Some functions are actually named
98896 something starting with __ and the normal name is an alias. */
98897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98898 choke me
98899 #else
98900 char (*f) () = $ac_func;
98901 #endif
98902 #ifdef __cplusplus
98904 #endif
98907 main ()
98909 return f != $ac_func;
98911 return 0;
98913 _ACEOF
98914 rm -f conftest.$ac_objext conftest$ac_exeext
98915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98916 (eval $ac_link) 2>conftest.er1
98917 ac_status=$?
98918 grep -v '^ *+' conftest.er1 >conftest.err
98919 rm -f conftest.er1
98920 cat conftest.err >&5
98921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98922 (exit $ac_status); } &&
98923 { ac_try='test -z "$ac_c_werror_flag"
98924 || test ! -s conftest.err'
98925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98926 (eval $ac_try) 2>&5
98927 ac_status=$?
98928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98929 (exit $ac_status); }; } &&
98930 { ac_try='test -s conftest$ac_exeext'
98931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98932 (eval $ac_try) 2>&5
98933 ac_status=$?
98934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98935 (exit $ac_status); }; }; then
98936 eval "$as_ac_var=yes"
98937 else
98938 echo "$as_me: failed program was:" >&5
98939 sed 's/^/| /' conftest.$ac_ext >&5
98941 eval "$as_ac_var=no"
98943 rm -f conftest.err conftest.$ac_objext \
98944 conftest$ac_exeext conftest.$ac_ext
98946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98948 if test `eval echo '${'$as_ac_var'}'` = yes; then
98949 cat >>confdefs.h <<_ACEOF
98950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98951 _ACEOF
98954 done
98956 else
98958 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
98959 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
98960 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
98961 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
98962 echo $ECHO_N "(cached) $ECHO_C" >&6
98963 else
98967 ac_ext=cc
98968 ac_cpp='$CXXCPP $CPPFLAGS'
98969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98973 cat >conftest.$ac_ext <<_ACEOF
98974 /* confdefs.h. */
98975 _ACEOF
98976 cat confdefs.h >>conftest.$ac_ext
98977 cat >>conftest.$ac_ext <<_ACEOF
98978 /* end confdefs.h. */
98979 #include <math.h>
98980 #ifdef HAVE_IEEEFP_H
98981 #include <ieeefp.h>
98982 #endif
98985 main ()
98987 _isnanl(0);
98989 return 0;
98991 _ACEOF
98992 rm -f conftest.$ac_objext
98993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98994 (eval $ac_compile) 2>conftest.er1
98995 ac_status=$?
98996 grep -v '^ *+' conftest.er1 >conftest.err
98997 rm -f conftest.er1
98998 cat conftest.err >&5
98999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99000 (exit $ac_status); } &&
99001 { ac_try='test -z "$ac_cxx_werror_flag"
99002 || test ! -s conftest.err'
99003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99004 (eval $ac_try) 2>&5
99005 ac_status=$?
99006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99007 (exit $ac_status); }; } &&
99008 { ac_try='test -s conftest.$ac_objext'
99009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99010 (eval $ac_try) 2>&5
99011 ac_status=$?
99012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99013 (exit $ac_status); }; }; then
99014 glibcxx_cv_func__isnanl_use=yes
99015 else
99016 echo "$as_me: failed program was:" >&5
99017 sed 's/^/| /' conftest.$ac_ext >&5
99019 glibcxx_cv_func__isnanl_use=no
99021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99022 ac_ext=c
99023 ac_cpp='$CPP $CPPFLAGS'
99024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99032 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
99033 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
99035 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
99037 for ac_func in _isnanl
99039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99040 echo "$as_me:$LINENO: checking for $ac_func" >&5
99041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99042 if eval "test \"\${$as_ac_var+set}\" = set"; then
99043 echo $ECHO_N "(cached) $ECHO_C" >&6
99044 else
99045 if test x$gcc_no_link = xyes; then
99046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99048 { (exit 1); exit 1; }; }
99050 cat >conftest.$ac_ext <<_ACEOF
99051 /* confdefs.h. */
99052 _ACEOF
99053 cat confdefs.h >>conftest.$ac_ext
99054 cat >>conftest.$ac_ext <<_ACEOF
99055 /* end confdefs.h. */
99056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99058 #define $ac_func innocuous_$ac_func
99060 /* System header to define __stub macros and hopefully few prototypes,
99061 which can conflict with char $ac_func (); below.
99062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99063 <limits.h> exists even on freestanding compilers. */
99065 #ifdef __STDC__
99066 # include <limits.h>
99067 #else
99068 # include <assert.h>
99069 #endif
99071 #undef $ac_func
99073 /* Override any gcc2 internal prototype to avoid an error. */
99074 #ifdef __cplusplus
99075 extern "C"
99077 #endif
99078 /* We use char because int might match the return type of a gcc2
99079 builtin and then its argument prototype would still apply. */
99080 char $ac_func ();
99081 /* The GNU C library defines this for functions which it implements
99082 to always fail with ENOSYS. Some functions are actually named
99083 something starting with __ and the normal name is an alias. */
99084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99085 choke me
99086 #else
99087 char (*f) () = $ac_func;
99088 #endif
99089 #ifdef __cplusplus
99091 #endif
99094 main ()
99096 return f != $ac_func;
99098 return 0;
99100 _ACEOF
99101 rm -f conftest.$ac_objext conftest$ac_exeext
99102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99103 (eval $ac_link) 2>conftest.er1
99104 ac_status=$?
99105 grep -v '^ *+' conftest.er1 >conftest.err
99106 rm -f conftest.er1
99107 cat conftest.err >&5
99108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99109 (exit $ac_status); } &&
99110 { ac_try='test -z "$ac_c_werror_flag"
99111 || test ! -s conftest.err'
99112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99113 (eval $ac_try) 2>&5
99114 ac_status=$?
99115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99116 (exit $ac_status); }; } &&
99117 { ac_try='test -s conftest$ac_exeext'
99118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99119 (eval $ac_try) 2>&5
99120 ac_status=$?
99121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99122 (exit $ac_status); }; }; then
99123 eval "$as_ac_var=yes"
99124 else
99125 echo "$as_me: failed program was:" >&5
99126 sed 's/^/| /' conftest.$ac_ext >&5
99128 eval "$as_ac_var=no"
99130 rm -f conftest.err conftest.$ac_objext \
99131 conftest$ac_exeext conftest.$ac_ext
99133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99135 if test `eval echo '${'$as_ac_var'}'` = yes; then
99136 cat >>confdefs.h <<_ACEOF
99137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99138 _ACEOF
99141 done
99151 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
99152 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
99153 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
99154 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
99155 echo $ECHO_N "(cached) $ECHO_C" >&6
99156 else
99160 ac_ext=cc
99161 ac_cpp='$CXXCPP $CPPFLAGS'
99162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99166 cat >conftest.$ac_ext <<_ACEOF
99167 /* confdefs.h. */
99168 _ACEOF
99169 cat confdefs.h >>conftest.$ac_ext
99170 cat >>conftest.$ac_ext <<_ACEOF
99171 /* end confdefs.h. */
99172 #include <math.h>
99173 #ifdef HAVE_IEEEFP_H
99174 #include <ieeefp.h>
99175 #endif
99178 main ()
99180 isinfl(0);
99182 return 0;
99184 _ACEOF
99185 rm -f conftest.$ac_objext
99186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99187 (eval $ac_compile) 2>conftest.er1
99188 ac_status=$?
99189 grep -v '^ *+' conftest.er1 >conftest.err
99190 rm -f conftest.er1
99191 cat conftest.err >&5
99192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99193 (exit $ac_status); } &&
99194 { ac_try='test -z "$ac_cxx_werror_flag"
99195 || test ! -s conftest.err'
99196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99197 (eval $ac_try) 2>&5
99198 ac_status=$?
99199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99200 (exit $ac_status); }; } &&
99201 { ac_try='test -s conftest.$ac_objext'
99202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99203 (eval $ac_try) 2>&5
99204 ac_status=$?
99205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99206 (exit $ac_status); }; }; then
99207 glibcxx_cv_func_isinfl_use=yes
99208 else
99209 echo "$as_me: failed program was:" >&5
99210 sed 's/^/| /' conftest.$ac_ext >&5
99212 glibcxx_cv_func_isinfl_use=no
99214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99215 ac_ext=c
99216 ac_cpp='$CPP $CPPFLAGS'
99217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99225 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
99226 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
99228 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
99230 for ac_func in isinfl
99232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99233 echo "$as_me:$LINENO: checking for $ac_func" >&5
99234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99235 if eval "test \"\${$as_ac_var+set}\" = set"; then
99236 echo $ECHO_N "(cached) $ECHO_C" >&6
99237 else
99238 if test x$gcc_no_link = xyes; then
99239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99241 { (exit 1); exit 1; }; }
99243 cat >conftest.$ac_ext <<_ACEOF
99244 /* confdefs.h. */
99245 _ACEOF
99246 cat confdefs.h >>conftest.$ac_ext
99247 cat >>conftest.$ac_ext <<_ACEOF
99248 /* end confdefs.h. */
99249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99251 #define $ac_func innocuous_$ac_func
99253 /* System header to define __stub macros and hopefully few prototypes,
99254 which can conflict with char $ac_func (); below.
99255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99256 <limits.h> exists even on freestanding compilers. */
99258 #ifdef __STDC__
99259 # include <limits.h>
99260 #else
99261 # include <assert.h>
99262 #endif
99264 #undef $ac_func
99266 /* Override any gcc2 internal prototype to avoid an error. */
99267 #ifdef __cplusplus
99268 extern "C"
99270 #endif
99271 /* We use char because int might match the return type of a gcc2
99272 builtin and then its argument prototype would still apply. */
99273 char $ac_func ();
99274 /* The GNU C library defines this for functions which it implements
99275 to always fail with ENOSYS. Some functions are actually named
99276 something starting with __ and the normal name is an alias. */
99277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99278 choke me
99279 #else
99280 char (*f) () = $ac_func;
99281 #endif
99282 #ifdef __cplusplus
99284 #endif
99287 main ()
99289 return f != $ac_func;
99291 return 0;
99293 _ACEOF
99294 rm -f conftest.$ac_objext conftest$ac_exeext
99295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99296 (eval $ac_link) 2>conftest.er1
99297 ac_status=$?
99298 grep -v '^ *+' conftest.er1 >conftest.err
99299 rm -f conftest.er1
99300 cat conftest.err >&5
99301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99302 (exit $ac_status); } &&
99303 { ac_try='test -z "$ac_c_werror_flag"
99304 || test ! -s conftest.err'
99305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99306 (eval $ac_try) 2>&5
99307 ac_status=$?
99308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99309 (exit $ac_status); }; } &&
99310 { ac_try='test -s conftest$ac_exeext'
99311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99312 (eval $ac_try) 2>&5
99313 ac_status=$?
99314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99315 (exit $ac_status); }; }; then
99316 eval "$as_ac_var=yes"
99317 else
99318 echo "$as_me: failed program was:" >&5
99319 sed 's/^/| /' conftest.$ac_ext >&5
99321 eval "$as_ac_var=no"
99323 rm -f conftest.err conftest.$ac_objext \
99324 conftest$ac_exeext conftest.$ac_ext
99326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99328 if test `eval echo '${'$as_ac_var'}'` = yes; then
99329 cat >>confdefs.h <<_ACEOF
99330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99331 _ACEOF
99334 done
99336 else
99338 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
99339 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
99340 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
99341 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
99342 echo $ECHO_N "(cached) $ECHO_C" >&6
99343 else
99347 ac_ext=cc
99348 ac_cpp='$CXXCPP $CPPFLAGS'
99349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99353 cat >conftest.$ac_ext <<_ACEOF
99354 /* confdefs.h. */
99355 _ACEOF
99356 cat confdefs.h >>conftest.$ac_ext
99357 cat >>conftest.$ac_ext <<_ACEOF
99358 /* end confdefs.h. */
99359 #include <math.h>
99360 #ifdef HAVE_IEEEFP_H
99361 #include <ieeefp.h>
99362 #endif
99365 main ()
99367 _isinfl(0);
99369 return 0;
99371 _ACEOF
99372 rm -f conftest.$ac_objext
99373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99374 (eval $ac_compile) 2>conftest.er1
99375 ac_status=$?
99376 grep -v '^ *+' conftest.er1 >conftest.err
99377 rm -f conftest.er1
99378 cat conftest.err >&5
99379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99380 (exit $ac_status); } &&
99381 { ac_try='test -z "$ac_cxx_werror_flag"
99382 || test ! -s conftest.err'
99383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99384 (eval $ac_try) 2>&5
99385 ac_status=$?
99386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99387 (exit $ac_status); }; } &&
99388 { ac_try='test -s conftest.$ac_objext'
99389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99390 (eval $ac_try) 2>&5
99391 ac_status=$?
99392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99393 (exit $ac_status); }; }; then
99394 glibcxx_cv_func__isinfl_use=yes
99395 else
99396 echo "$as_me: failed program was:" >&5
99397 sed 's/^/| /' conftest.$ac_ext >&5
99399 glibcxx_cv_func__isinfl_use=no
99401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99402 ac_ext=c
99403 ac_cpp='$CPP $CPPFLAGS'
99404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99412 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
99413 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
99415 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
99417 for ac_func in _isinfl
99419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99420 echo "$as_me:$LINENO: checking for $ac_func" >&5
99421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99422 if eval "test \"\${$as_ac_var+set}\" = set"; then
99423 echo $ECHO_N "(cached) $ECHO_C" >&6
99424 else
99425 if test x$gcc_no_link = xyes; then
99426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99428 { (exit 1); exit 1; }; }
99430 cat >conftest.$ac_ext <<_ACEOF
99431 /* confdefs.h. */
99432 _ACEOF
99433 cat confdefs.h >>conftest.$ac_ext
99434 cat >>conftest.$ac_ext <<_ACEOF
99435 /* end confdefs.h. */
99436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99438 #define $ac_func innocuous_$ac_func
99440 /* System header to define __stub macros and hopefully few prototypes,
99441 which can conflict with char $ac_func (); below.
99442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99443 <limits.h> exists even on freestanding compilers. */
99445 #ifdef __STDC__
99446 # include <limits.h>
99447 #else
99448 # include <assert.h>
99449 #endif
99451 #undef $ac_func
99453 /* Override any gcc2 internal prototype to avoid an error. */
99454 #ifdef __cplusplus
99455 extern "C"
99457 #endif
99458 /* We use char because int might match the return type of a gcc2
99459 builtin and then its argument prototype would still apply. */
99460 char $ac_func ();
99461 /* The GNU C library defines this for functions which it implements
99462 to always fail with ENOSYS. Some functions are actually named
99463 something starting with __ and the normal name is an alias. */
99464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99465 choke me
99466 #else
99467 char (*f) () = $ac_func;
99468 #endif
99469 #ifdef __cplusplus
99471 #endif
99474 main ()
99476 return f != $ac_func;
99478 return 0;
99480 _ACEOF
99481 rm -f conftest.$ac_objext conftest$ac_exeext
99482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99483 (eval $ac_link) 2>conftest.er1
99484 ac_status=$?
99485 grep -v '^ *+' conftest.er1 >conftest.err
99486 rm -f conftest.er1
99487 cat conftest.err >&5
99488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99489 (exit $ac_status); } &&
99490 { ac_try='test -z "$ac_c_werror_flag"
99491 || test ! -s conftest.err'
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); }; } &&
99497 { ac_try='test -s conftest$ac_exeext'
99498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99499 (eval $ac_try) 2>&5
99500 ac_status=$?
99501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99502 (exit $ac_status); }; }; then
99503 eval "$as_ac_var=yes"
99504 else
99505 echo "$as_me: failed program was:" >&5
99506 sed 's/^/| /' conftest.$ac_ext >&5
99508 eval "$as_ac_var=no"
99510 rm -f conftest.err conftest.$ac_objext \
99511 conftest$ac_exeext conftest.$ac_ext
99513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99515 if test `eval echo '${'$as_ac_var'}'` = yes; then
99516 cat >>confdefs.h <<_ACEOF
99517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99518 _ACEOF
99521 done
99531 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
99532 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
99533 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
99534 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
99535 echo $ECHO_N "(cached) $ECHO_C" >&6
99536 else
99540 ac_ext=cc
99541 ac_cpp='$CXXCPP $CPPFLAGS'
99542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99546 cat >conftest.$ac_ext <<_ACEOF
99547 /* confdefs.h. */
99548 _ACEOF
99549 cat confdefs.h >>conftest.$ac_ext
99550 cat >>conftest.$ac_ext <<_ACEOF
99551 /* end confdefs.h. */
99552 #include <math.h>
99554 main ()
99556 copysignl(0, 0);
99558 return 0;
99560 _ACEOF
99561 rm -f conftest.$ac_objext
99562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99563 (eval $ac_compile) 2>conftest.er1
99564 ac_status=$?
99565 grep -v '^ *+' conftest.er1 >conftest.err
99566 rm -f conftest.er1
99567 cat conftest.err >&5
99568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99569 (exit $ac_status); } &&
99570 { ac_try='test -z "$ac_cxx_werror_flag"
99571 || test ! -s conftest.err'
99572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99573 (eval $ac_try) 2>&5
99574 ac_status=$?
99575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99576 (exit $ac_status); }; } &&
99577 { ac_try='test -s conftest.$ac_objext'
99578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99579 (eval $ac_try) 2>&5
99580 ac_status=$?
99581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99582 (exit $ac_status); }; }; then
99583 glibcxx_cv_func_copysignl_use=yes
99584 else
99585 echo "$as_me: failed program was:" >&5
99586 sed 's/^/| /' conftest.$ac_ext >&5
99588 glibcxx_cv_func_copysignl_use=no
99590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99591 ac_ext=c
99592 ac_cpp='$CPP $CPPFLAGS'
99593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99601 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
99602 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
99604 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
99606 for ac_func in copysignl
99608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99609 echo "$as_me:$LINENO: checking for $ac_func" >&5
99610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99611 if eval "test \"\${$as_ac_var+set}\" = set"; then
99612 echo $ECHO_N "(cached) $ECHO_C" >&6
99613 else
99614 if test x$gcc_no_link = xyes; then
99615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99617 { (exit 1); exit 1; }; }
99619 cat >conftest.$ac_ext <<_ACEOF
99620 /* confdefs.h. */
99621 _ACEOF
99622 cat confdefs.h >>conftest.$ac_ext
99623 cat >>conftest.$ac_ext <<_ACEOF
99624 /* end confdefs.h. */
99625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99627 #define $ac_func innocuous_$ac_func
99629 /* System header to define __stub macros and hopefully few prototypes,
99630 which can conflict with char $ac_func (); below.
99631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99632 <limits.h> exists even on freestanding compilers. */
99634 #ifdef __STDC__
99635 # include <limits.h>
99636 #else
99637 # include <assert.h>
99638 #endif
99640 #undef $ac_func
99642 /* Override any gcc2 internal prototype to avoid an error. */
99643 #ifdef __cplusplus
99644 extern "C"
99646 #endif
99647 /* We use char because int might match the return type of a gcc2
99648 builtin and then its argument prototype would still apply. */
99649 char $ac_func ();
99650 /* The GNU C library defines this for functions which it implements
99651 to always fail with ENOSYS. Some functions are actually named
99652 something starting with __ and the normal name is an alias. */
99653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99654 choke me
99655 #else
99656 char (*f) () = $ac_func;
99657 #endif
99658 #ifdef __cplusplus
99660 #endif
99663 main ()
99665 return f != $ac_func;
99667 return 0;
99669 _ACEOF
99670 rm -f conftest.$ac_objext conftest$ac_exeext
99671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99672 (eval $ac_link) 2>conftest.er1
99673 ac_status=$?
99674 grep -v '^ *+' conftest.er1 >conftest.err
99675 rm -f conftest.er1
99676 cat conftest.err >&5
99677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99678 (exit $ac_status); } &&
99679 { ac_try='test -z "$ac_c_werror_flag"
99680 || test ! -s conftest.err'
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); }; } &&
99686 { ac_try='test -s conftest$ac_exeext'
99687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99688 (eval $ac_try) 2>&5
99689 ac_status=$?
99690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99691 (exit $ac_status); }; }; then
99692 eval "$as_ac_var=yes"
99693 else
99694 echo "$as_me: failed program was:" >&5
99695 sed 's/^/| /' conftest.$ac_ext >&5
99697 eval "$as_ac_var=no"
99699 rm -f conftest.err conftest.$ac_objext \
99700 conftest$ac_exeext conftest.$ac_ext
99702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99704 if test `eval echo '${'$as_ac_var'}'` = yes; then
99705 cat >>confdefs.h <<_ACEOF
99706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99707 _ACEOF
99710 done
99712 else
99714 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
99715 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
99716 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
99717 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
99718 echo $ECHO_N "(cached) $ECHO_C" >&6
99719 else
99723 ac_ext=cc
99724 ac_cpp='$CXXCPP $CPPFLAGS'
99725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99729 cat >conftest.$ac_ext <<_ACEOF
99730 /* confdefs.h. */
99731 _ACEOF
99732 cat confdefs.h >>conftest.$ac_ext
99733 cat >>conftest.$ac_ext <<_ACEOF
99734 /* end confdefs.h. */
99735 #include <math.h>
99737 main ()
99739 _copysignl(0, 0);
99741 return 0;
99743 _ACEOF
99744 rm -f conftest.$ac_objext
99745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99746 (eval $ac_compile) 2>conftest.er1
99747 ac_status=$?
99748 grep -v '^ *+' conftest.er1 >conftest.err
99749 rm -f conftest.er1
99750 cat conftest.err >&5
99751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99752 (exit $ac_status); } &&
99753 { ac_try='test -z "$ac_cxx_werror_flag"
99754 || test ! -s conftest.err'
99755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99756 (eval $ac_try) 2>&5
99757 ac_status=$?
99758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99759 (exit $ac_status); }; } &&
99760 { ac_try='test -s conftest.$ac_objext'
99761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99762 (eval $ac_try) 2>&5
99763 ac_status=$?
99764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99765 (exit $ac_status); }; }; then
99766 glibcxx_cv_func__copysignl_use=yes
99767 else
99768 echo "$as_me: failed program was:" >&5
99769 sed 's/^/| /' conftest.$ac_ext >&5
99771 glibcxx_cv_func__copysignl_use=no
99773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99774 ac_ext=c
99775 ac_cpp='$CPP $CPPFLAGS'
99776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
99785 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
99787 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
99789 for ac_func in _copysignl
99791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99792 echo "$as_me:$LINENO: checking for $ac_func" >&5
99793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99794 if eval "test \"\${$as_ac_var+set}\" = set"; then
99795 echo $ECHO_N "(cached) $ECHO_C" >&6
99796 else
99797 if test x$gcc_no_link = xyes; then
99798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99800 { (exit 1); exit 1; }; }
99802 cat >conftest.$ac_ext <<_ACEOF
99803 /* confdefs.h. */
99804 _ACEOF
99805 cat confdefs.h >>conftest.$ac_ext
99806 cat >>conftest.$ac_ext <<_ACEOF
99807 /* end confdefs.h. */
99808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99810 #define $ac_func innocuous_$ac_func
99812 /* System header to define __stub macros and hopefully few prototypes,
99813 which can conflict with char $ac_func (); below.
99814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99815 <limits.h> exists even on freestanding compilers. */
99817 #ifdef __STDC__
99818 # include <limits.h>
99819 #else
99820 # include <assert.h>
99821 #endif
99823 #undef $ac_func
99825 /* Override any gcc2 internal prototype to avoid an error. */
99826 #ifdef __cplusplus
99827 extern "C"
99829 #endif
99830 /* We use char because int might match the return type of a gcc2
99831 builtin and then its argument prototype would still apply. */
99832 char $ac_func ();
99833 /* The GNU C library defines this for functions which it implements
99834 to always fail with ENOSYS. Some functions are actually named
99835 something starting with __ and the normal name is an alias. */
99836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99837 choke me
99838 #else
99839 char (*f) () = $ac_func;
99840 #endif
99841 #ifdef __cplusplus
99843 #endif
99846 main ()
99848 return f != $ac_func;
99850 return 0;
99852 _ACEOF
99853 rm -f conftest.$ac_objext conftest$ac_exeext
99854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99855 (eval $ac_link) 2>conftest.er1
99856 ac_status=$?
99857 grep -v '^ *+' conftest.er1 >conftest.err
99858 rm -f conftest.er1
99859 cat conftest.err >&5
99860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99861 (exit $ac_status); } &&
99862 { ac_try='test -z "$ac_c_werror_flag"
99863 || test ! -s conftest.err'
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); }; } &&
99869 { ac_try='test -s conftest$ac_exeext'
99870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99871 (eval $ac_try) 2>&5
99872 ac_status=$?
99873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99874 (exit $ac_status); }; }; then
99875 eval "$as_ac_var=yes"
99876 else
99877 echo "$as_me: failed program was:" >&5
99878 sed 's/^/| /' conftest.$ac_ext >&5
99880 eval "$as_ac_var=no"
99882 rm -f conftest.err conftest.$ac_objext \
99883 conftest$ac_exeext conftest.$ac_ext
99885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99887 if test `eval echo '${'$as_ac_var'}'` = yes; then
99888 cat >>confdefs.h <<_ACEOF
99889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99890 _ACEOF
99893 done
99903 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
99904 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
99905 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
99906 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
99907 echo $ECHO_N "(cached) $ECHO_C" >&6
99908 else
99912 ac_ext=cc
99913 ac_cpp='$CXXCPP $CPPFLAGS'
99914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99918 cat >conftest.$ac_ext <<_ACEOF
99919 /* confdefs.h. */
99920 _ACEOF
99921 cat confdefs.h >>conftest.$ac_ext
99922 cat >>conftest.$ac_ext <<_ACEOF
99923 /* end confdefs.h. */
99924 #include <math.h>
99926 main ()
99928 atan2l(0, 0);
99930 return 0;
99932 _ACEOF
99933 rm -f conftest.$ac_objext
99934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99935 (eval $ac_compile) 2>conftest.er1
99936 ac_status=$?
99937 grep -v '^ *+' conftest.er1 >conftest.err
99938 rm -f conftest.er1
99939 cat conftest.err >&5
99940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99941 (exit $ac_status); } &&
99942 { ac_try='test -z "$ac_cxx_werror_flag"
99943 || test ! -s conftest.err'
99944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99945 (eval $ac_try) 2>&5
99946 ac_status=$?
99947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99948 (exit $ac_status); }; } &&
99949 { ac_try='test -s conftest.$ac_objext'
99950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99951 (eval $ac_try) 2>&5
99952 ac_status=$?
99953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99954 (exit $ac_status); }; }; then
99955 glibcxx_cv_func_atan2l_use=yes
99956 else
99957 echo "$as_me: failed program was:" >&5
99958 sed 's/^/| /' conftest.$ac_ext >&5
99960 glibcxx_cv_func_atan2l_use=no
99962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99963 ac_ext=c
99964 ac_cpp='$CPP $CPPFLAGS'
99965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99973 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
99974 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
99976 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
99978 for ac_func in atan2l
99980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99981 echo "$as_me:$LINENO: checking for $ac_func" >&5
99982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99983 if eval "test \"\${$as_ac_var+set}\" = set"; then
99984 echo $ECHO_N "(cached) $ECHO_C" >&6
99985 else
99986 if test x$gcc_no_link = xyes; then
99987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99989 { (exit 1); exit 1; }; }
99991 cat >conftest.$ac_ext <<_ACEOF
99992 /* confdefs.h. */
99993 _ACEOF
99994 cat confdefs.h >>conftest.$ac_ext
99995 cat >>conftest.$ac_ext <<_ACEOF
99996 /* end confdefs.h. */
99997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99999 #define $ac_func innocuous_$ac_func
100001 /* System header to define __stub macros and hopefully few prototypes,
100002 which can conflict with char $ac_func (); below.
100003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100004 <limits.h> exists even on freestanding compilers. */
100006 #ifdef __STDC__
100007 # include <limits.h>
100008 #else
100009 # include <assert.h>
100010 #endif
100012 #undef $ac_func
100014 /* Override any gcc2 internal prototype to avoid an error. */
100015 #ifdef __cplusplus
100016 extern "C"
100018 #endif
100019 /* We use char because int might match the return type of a gcc2
100020 builtin and then its argument prototype would still apply. */
100021 char $ac_func ();
100022 /* The GNU C library defines this for functions which it implements
100023 to always fail with ENOSYS. Some functions are actually named
100024 something starting with __ and the normal name is an alias. */
100025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100026 choke me
100027 #else
100028 char (*f) () = $ac_func;
100029 #endif
100030 #ifdef __cplusplus
100032 #endif
100035 main ()
100037 return f != $ac_func;
100039 return 0;
100041 _ACEOF
100042 rm -f conftest.$ac_objext conftest$ac_exeext
100043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100044 (eval $ac_link) 2>conftest.er1
100045 ac_status=$?
100046 grep -v '^ *+' conftest.er1 >conftest.err
100047 rm -f conftest.er1
100048 cat conftest.err >&5
100049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100050 (exit $ac_status); } &&
100051 { ac_try='test -z "$ac_c_werror_flag"
100052 || test ! -s conftest.err'
100053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100054 (eval $ac_try) 2>&5
100055 ac_status=$?
100056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100057 (exit $ac_status); }; } &&
100058 { ac_try='test -s conftest$ac_exeext'
100059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100060 (eval $ac_try) 2>&5
100061 ac_status=$?
100062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100063 (exit $ac_status); }; }; then
100064 eval "$as_ac_var=yes"
100066 echo "$as_me: failed program was:" >&5
100067 sed 's/^/| /' conftest.$ac_ext >&5
100069 eval "$as_ac_var=no"
100071 rm -f conftest.err conftest.$ac_objext \
100072 conftest$ac_exeext conftest.$ac_ext
100074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100076 if test `eval echo '${'$as_ac_var'}'` = yes; then
100077 cat >>confdefs.h <<_ACEOF
100078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100079 _ACEOF
100086 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
100087 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
100088 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
100089 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
100090 echo $ECHO_N "(cached) $ECHO_C" >&6
100095 ac_ext=cc
100096 ac_cpp='$CXXCPP $CPPFLAGS'
100097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100101 cat >conftest.$ac_ext <<_ACEOF
100102 /* confdefs.h. */
100103 _ACEOF
100104 cat confdefs.h >>conftest.$ac_ext
100105 cat >>conftest.$ac_ext <<_ACEOF
100106 /* end confdefs.h. */
100107 #include <math.h>
100109 main ()
100111 _atan2l(0, 0);
100113 return 0;
100115 _ACEOF
100116 rm -f conftest.$ac_objext
100117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100118 (eval $ac_compile) 2>conftest.er1
100119 ac_status=$?
100120 grep -v '^ *+' conftest.er1 >conftest.err
100121 rm -f conftest.er1
100122 cat conftest.err >&5
100123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100124 (exit $ac_status); } &&
100125 { ac_try='test -z "$ac_cxx_werror_flag"
100126 || test ! -s conftest.err'
100127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100128 (eval $ac_try) 2>&5
100129 ac_status=$?
100130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100131 (exit $ac_status); }; } &&
100132 { ac_try='test -s conftest.$ac_objext'
100133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100134 (eval $ac_try) 2>&5
100135 ac_status=$?
100136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100137 (exit $ac_status); }; }; then
100138 glibcxx_cv_func__atan2l_use=yes
100140 echo "$as_me: failed program was:" >&5
100141 sed 's/^/| /' conftest.$ac_ext >&5
100143 glibcxx_cv_func__atan2l_use=no
100145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100146 ac_ext=c
100147 ac_cpp='$CPP $CPPFLAGS'
100148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100156 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
100157 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
100159 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
100161 for ac_func in _atan2l
100163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100164 echo "$as_me:$LINENO: checking for $ac_func" >&5
100165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100166 if eval "test \"\${$as_ac_var+set}\" = set"; then
100167 echo $ECHO_N "(cached) $ECHO_C" >&6
100169 if test x$gcc_no_link = xyes; then
100170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100172 { (exit 1); exit 1; }; }
100174 cat >conftest.$ac_ext <<_ACEOF
100175 /* confdefs.h. */
100176 _ACEOF
100177 cat confdefs.h >>conftest.$ac_ext
100178 cat >>conftest.$ac_ext <<_ACEOF
100179 /* end confdefs.h. */
100180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100182 #define $ac_func innocuous_$ac_func
100184 /* System header to define __stub macros and hopefully few prototypes,
100185 which can conflict with char $ac_func (); below.
100186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100187 <limits.h> exists even on freestanding compilers. */
100189 #ifdef __STDC__
100190 # include <limits.h>
100191 #else
100192 # include <assert.h>
100193 #endif
100195 #undef $ac_func
100197 /* Override any gcc2 internal prototype to avoid an error. */
100198 #ifdef __cplusplus
100199 extern "C"
100201 #endif
100202 /* We use char because int might match the return type of a gcc2
100203 builtin and then its argument prototype would still apply. */
100204 char $ac_func ();
100205 /* The GNU C library defines this for functions which it implements
100206 to always fail with ENOSYS. Some functions are actually named
100207 something starting with __ and the normal name is an alias. */
100208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100209 choke me
100210 #else
100211 char (*f) () = $ac_func;
100212 #endif
100213 #ifdef __cplusplus
100215 #endif
100218 main ()
100220 return f != $ac_func;
100222 return 0;
100224 _ACEOF
100225 rm -f conftest.$ac_objext conftest$ac_exeext
100226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100227 (eval $ac_link) 2>conftest.er1
100228 ac_status=$?
100229 grep -v '^ *+' conftest.er1 >conftest.err
100230 rm -f conftest.er1
100231 cat conftest.err >&5
100232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100233 (exit $ac_status); } &&
100234 { ac_try='test -z "$ac_c_werror_flag"
100235 || test ! -s conftest.err'
100236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100237 (eval $ac_try) 2>&5
100238 ac_status=$?
100239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100240 (exit $ac_status); }; } &&
100241 { ac_try='test -s conftest$ac_exeext'
100242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100243 (eval $ac_try) 2>&5
100244 ac_status=$?
100245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100246 (exit $ac_status); }; }; then
100247 eval "$as_ac_var=yes"
100249 echo "$as_me: failed program was:" >&5
100250 sed 's/^/| /' conftest.$ac_ext >&5
100252 eval "$as_ac_var=no"
100254 rm -f conftest.err conftest.$ac_objext \
100255 conftest$ac_exeext conftest.$ac_ext
100257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100259 if test `eval echo '${'$as_ac_var'}'` = yes; then
100260 cat >>confdefs.h <<_ACEOF
100261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100262 _ACEOF
100275 echo "$as_me:$LINENO: checking for expl declaration" >&5
100276 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
100277 if test x${glibcxx_cv_func_expl_use+set} != xset; then
100278 if test "${glibcxx_cv_func_expl_use+set}" = set; then
100279 echo $ECHO_N "(cached) $ECHO_C" >&6
100284 ac_ext=cc
100285 ac_cpp='$CXXCPP $CPPFLAGS'
100286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100290 cat >conftest.$ac_ext <<_ACEOF
100291 /* confdefs.h. */
100292 _ACEOF
100293 cat confdefs.h >>conftest.$ac_ext
100294 cat >>conftest.$ac_ext <<_ACEOF
100295 /* end confdefs.h. */
100296 #include <math.h>
100297 #ifdef HAVE_IEEEFP_H
100298 #include <ieeefp.h>
100299 #endif
100302 main ()
100304 expl(0);
100306 return 0;
100308 _ACEOF
100309 rm -f conftest.$ac_objext
100310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100311 (eval $ac_compile) 2>conftest.er1
100312 ac_status=$?
100313 grep -v '^ *+' conftest.er1 >conftest.err
100314 rm -f conftest.er1
100315 cat conftest.err >&5
100316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100317 (exit $ac_status); } &&
100318 { ac_try='test -z "$ac_cxx_werror_flag"
100319 || test ! -s conftest.err'
100320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100321 (eval $ac_try) 2>&5
100322 ac_status=$?
100323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100324 (exit $ac_status); }; } &&
100325 { ac_try='test -s conftest.$ac_objext'
100326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100327 (eval $ac_try) 2>&5
100328 ac_status=$?
100329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100330 (exit $ac_status); }; }; then
100331 glibcxx_cv_func_expl_use=yes
100333 echo "$as_me: failed program was:" >&5
100334 sed 's/^/| /' conftest.$ac_ext >&5
100336 glibcxx_cv_func_expl_use=no
100338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100339 ac_ext=c
100340 ac_cpp='$CPP $CPPFLAGS'
100341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100349 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
100350 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
100352 if test x$glibcxx_cv_func_expl_use = x"yes"; then
100354 for ac_func in expl
100356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100357 echo "$as_me:$LINENO: checking for $ac_func" >&5
100358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100359 if eval "test \"\${$as_ac_var+set}\" = set"; then
100360 echo $ECHO_N "(cached) $ECHO_C" >&6
100362 if test x$gcc_no_link = xyes; then
100363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100365 { (exit 1); exit 1; }; }
100367 cat >conftest.$ac_ext <<_ACEOF
100368 /* confdefs.h. */
100369 _ACEOF
100370 cat confdefs.h >>conftest.$ac_ext
100371 cat >>conftest.$ac_ext <<_ACEOF
100372 /* end confdefs.h. */
100373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100375 #define $ac_func innocuous_$ac_func
100377 /* System header to define __stub macros and hopefully few prototypes,
100378 which can conflict with char $ac_func (); below.
100379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100380 <limits.h> exists even on freestanding compilers. */
100382 #ifdef __STDC__
100383 # include <limits.h>
100384 #else
100385 # include <assert.h>
100386 #endif
100388 #undef $ac_func
100390 /* Override any gcc2 internal prototype to avoid an error. */
100391 #ifdef __cplusplus
100392 extern "C"
100394 #endif
100395 /* We use char because int might match the return type of a gcc2
100396 builtin and then its argument prototype would still apply. */
100397 char $ac_func ();
100398 /* The GNU C library defines this for functions which it implements
100399 to always fail with ENOSYS. Some functions are actually named
100400 something starting with __ and the normal name is an alias. */
100401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100402 choke me
100403 #else
100404 char (*f) () = $ac_func;
100405 #endif
100406 #ifdef __cplusplus
100408 #endif
100411 main ()
100413 return f != $ac_func;
100415 return 0;
100417 _ACEOF
100418 rm -f conftest.$ac_objext conftest$ac_exeext
100419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100420 (eval $ac_link) 2>conftest.er1
100421 ac_status=$?
100422 grep -v '^ *+' conftest.er1 >conftest.err
100423 rm -f conftest.er1
100424 cat conftest.err >&5
100425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100426 (exit $ac_status); } &&
100427 { ac_try='test -z "$ac_c_werror_flag"
100428 || test ! -s conftest.err'
100429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100430 (eval $ac_try) 2>&5
100431 ac_status=$?
100432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100433 (exit $ac_status); }; } &&
100434 { ac_try='test -s conftest$ac_exeext'
100435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100436 (eval $ac_try) 2>&5
100437 ac_status=$?
100438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100439 (exit $ac_status); }; }; then
100440 eval "$as_ac_var=yes"
100442 echo "$as_me: failed program was:" >&5
100443 sed 's/^/| /' conftest.$ac_ext >&5
100445 eval "$as_ac_var=no"
100447 rm -f conftest.err conftest.$ac_objext \
100448 conftest$ac_exeext conftest.$ac_ext
100450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100452 if test `eval echo '${'$as_ac_var'}'` = yes; then
100453 cat >>confdefs.h <<_ACEOF
100454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100455 _ACEOF
100462 echo "$as_me:$LINENO: checking for _expl declaration" >&5
100463 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
100464 if test x${glibcxx_cv_func__expl_use+set} != xset; then
100465 if test "${glibcxx_cv_func__expl_use+set}" = set; then
100466 echo $ECHO_N "(cached) $ECHO_C" >&6
100471 ac_ext=cc
100472 ac_cpp='$CXXCPP $CPPFLAGS'
100473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100477 cat >conftest.$ac_ext <<_ACEOF
100478 /* confdefs.h. */
100479 _ACEOF
100480 cat confdefs.h >>conftest.$ac_ext
100481 cat >>conftest.$ac_ext <<_ACEOF
100482 /* end confdefs.h. */
100483 #include <math.h>
100484 #ifdef HAVE_IEEEFP_H
100485 #include <ieeefp.h>
100486 #endif
100489 main ()
100491 _expl(0);
100493 return 0;
100495 _ACEOF
100496 rm -f conftest.$ac_objext
100497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100498 (eval $ac_compile) 2>conftest.er1
100499 ac_status=$?
100500 grep -v '^ *+' conftest.er1 >conftest.err
100501 rm -f conftest.er1
100502 cat conftest.err >&5
100503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100504 (exit $ac_status); } &&
100505 { ac_try='test -z "$ac_cxx_werror_flag"
100506 || test ! -s conftest.err'
100507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100508 (eval $ac_try) 2>&5
100509 ac_status=$?
100510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100511 (exit $ac_status); }; } &&
100512 { ac_try='test -s conftest.$ac_objext'
100513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100514 (eval $ac_try) 2>&5
100515 ac_status=$?
100516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100517 (exit $ac_status); }; }; then
100518 glibcxx_cv_func__expl_use=yes
100520 echo "$as_me: failed program was:" >&5
100521 sed 's/^/| /' conftest.$ac_ext >&5
100523 glibcxx_cv_func__expl_use=no
100525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100526 ac_ext=c
100527 ac_cpp='$CPP $CPPFLAGS'
100528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100536 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
100537 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
100539 if test x$glibcxx_cv_func__expl_use = x"yes"; then
100541 for ac_func in _expl
100543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100544 echo "$as_me:$LINENO: checking for $ac_func" >&5
100545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100546 if eval "test \"\${$as_ac_var+set}\" = set"; then
100547 echo $ECHO_N "(cached) $ECHO_C" >&6
100549 if test x$gcc_no_link = xyes; then
100550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100552 { (exit 1); exit 1; }; }
100554 cat >conftest.$ac_ext <<_ACEOF
100555 /* confdefs.h. */
100556 _ACEOF
100557 cat confdefs.h >>conftest.$ac_ext
100558 cat >>conftest.$ac_ext <<_ACEOF
100559 /* end confdefs.h. */
100560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100562 #define $ac_func innocuous_$ac_func
100564 /* System header to define __stub macros and hopefully few prototypes,
100565 which can conflict with char $ac_func (); below.
100566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100567 <limits.h> exists even on freestanding compilers. */
100569 #ifdef __STDC__
100570 # include <limits.h>
100571 #else
100572 # include <assert.h>
100573 #endif
100575 #undef $ac_func
100577 /* Override any gcc2 internal prototype to avoid an error. */
100578 #ifdef __cplusplus
100579 extern "C"
100581 #endif
100582 /* We use char because int might match the return type of a gcc2
100583 builtin and then its argument prototype would still apply. */
100584 char $ac_func ();
100585 /* The GNU C library defines this for functions which it implements
100586 to always fail with ENOSYS. Some functions are actually named
100587 something starting with __ and the normal name is an alias. */
100588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100589 choke me
100590 #else
100591 char (*f) () = $ac_func;
100592 #endif
100593 #ifdef __cplusplus
100595 #endif
100598 main ()
100600 return f != $ac_func;
100602 return 0;
100604 _ACEOF
100605 rm -f conftest.$ac_objext conftest$ac_exeext
100606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100607 (eval $ac_link) 2>conftest.er1
100608 ac_status=$?
100609 grep -v '^ *+' conftest.er1 >conftest.err
100610 rm -f conftest.er1
100611 cat conftest.err >&5
100612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100613 (exit $ac_status); } &&
100614 { ac_try='test -z "$ac_c_werror_flag"
100615 || test ! -s conftest.err'
100616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100617 (eval $ac_try) 2>&5
100618 ac_status=$?
100619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100620 (exit $ac_status); }; } &&
100621 { ac_try='test -s conftest$ac_exeext'
100622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100623 (eval $ac_try) 2>&5
100624 ac_status=$?
100625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100626 (exit $ac_status); }; }; then
100627 eval "$as_ac_var=yes"
100629 echo "$as_me: failed program was:" >&5
100630 sed 's/^/| /' conftest.$ac_ext >&5
100632 eval "$as_ac_var=no"
100634 rm -f conftest.err conftest.$ac_objext \
100635 conftest$ac_exeext conftest.$ac_ext
100637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100639 if test `eval echo '${'$as_ac_var'}'` = yes; then
100640 cat >>confdefs.h <<_ACEOF
100641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100642 _ACEOF
100655 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
100656 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
100657 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
100658 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
100659 echo $ECHO_N "(cached) $ECHO_C" >&6
100664 ac_ext=cc
100665 ac_cpp='$CXXCPP $CPPFLAGS'
100666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100670 cat >conftest.$ac_ext <<_ACEOF
100671 /* confdefs.h. */
100672 _ACEOF
100673 cat confdefs.h >>conftest.$ac_ext
100674 cat >>conftest.$ac_ext <<_ACEOF
100675 /* end confdefs.h. */
100676 #include <math.h>
100677 #ifdef HAVE_IEEEFP_H
100678 #include <ieeefp.h>
100679 #endif
100682 main ()
100684 fabsl(0);
100686 return 0;
100688 _ACEOF
100689 rm -f conftest.$ac_objext
100690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100691 (eval $ac_compile) 2>conftest.er1
100692 ac_status=$?
100693 grep -v '^ *+' conftest.er1 >conftest.err
100694 rm -f conftest.er1
100695 cat conftest.err >&5
100696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100697 (exit $ac_status); } &&
100698 { ac_try='test -z "$ac_cxx_werror_flag"
100699 || test ! -s conftest.err'
100700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100701 (eval $ac_try) 2>&5
100702 ac_status=$?
100703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100704 (exit $ac_status); }; } &&
100705 { ac_try='test -s conftest.$ac_objext'
100706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100707 (eval $ac_try) 2>&5
100708 ac_status=$?
100709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100710 (exit $ac_status); }; }; then
100711 glibcxx_cv_func_fabsl_use=yes
100713 echo "$as_me: failed program was:" >&5
100714 sed 's/^/| /' conftest.$ac_ext >&5
100716 glibcxx_cv_func_fabsl_use=no
100718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100719 ac_ext=c
100720 ac_cpp='$CPP $CPPFLAGS'
100721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100729 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
100730 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
100732 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
100734 for ac_func in fabsl
100736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100737 echo "$as_me:$LINENO: checking for $ac_func" >&5
100738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100739 if eval "test \"\${$as_ac_var+set}\" = set"; then
100740 echo $ECHO_N "(cached) $ECHO_C" >&6
100742 if test x$gcc_no_link = xyes; then
100743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100745 { (exit 1); exit 1; }; }
100747 cat >conftest.$ac_ext <<_ACEOF
100748 /* confdefs.h. */
100749 _ACEOF
100750 cat confdefs.h >>conftest.$ac_ext
100751 cat >>conftest.$ac_ext <<_ACEOF
100752 /* end confdefs.h. */
100753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100755 #define $ac_func innocuous_$ac_func
100757 /* System header to define __stub macros and hopefully few prototypes,
100758 which can conflict with char $ac_func (); below.
100759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100760 <limits.h> exists even on freestanding compilers. */
100762 #ifdef __STDC__
100763 # include <limits.h>
100764 #else
100765 # include <assert.h>
100766 #endif
100768 #undef $ac_func
100770 /* Override any gcc2 internal prototype to avoid an error. */
100771 #ifdef __cplusplus
100772 extern "C"
100774 #endif
100775 /* We use char because int might match the return type of a gcc2
100776 builtin and then its argument prototype would still apply. */
100777 char $ac_func ();
100778 /* The GNU C library defines this for functions which it implements
100779 to always fail with ENOSYS. Some functions are actually named
100780 something starting with __ and the normal name is an alias. */
100781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100782 choke me
100783 #else
100784 char (*f) () = $ac_func;
100785 #endif
100786 #ifdef __cplusplus
100788 #endif
100791 main ()
100793 return f != $ac_func;
100795 return 0;
100797 _ACEOF
100798 rm -f conftest.$ac_objext conftest$ac_exeext
100799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100800 (eval $ac_link) 2>conftest.er1
100801 ac_status=$?
100802 grep -v '^ *+' conftest.er1 >conftest.err
100803 rm -f conftest.er1
100804 cat conftest.err >&5
100805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100806 (exit $ac_status); } &&
100807 { ac_try='test -z "$ac_c_werror_flag"
100808 || test ! -s conftest.err'
100809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100810 (eval $ac_try) 2>&5
100811 ac_status=$?
100812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100813 (exit $ac_status); }; } &&
100814 { ac_try='test -s conftest$ac_exeext'
100815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100816 (eval $ac_try) 2>&5
100817 ac_status=$?
100818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100819 (exit $ac_status); }; }; then
100820 eval "$as_ac_var=yes"
100822 echo "$as_me: failed program was:" >&5
100823 sed 's/^/| /' conftest.$ac_ext >&5
100825 eval "$as_ac_var=no"
100827 rm -f conftest.err conftest.$ac_objext \
100828 conftest$ac_exeext conftest.$ac_ext
100830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100832 if test `eval echo '${'$as_ac_var'}'` = yes; then
100833 cat >>confdefs.h <<_ACEOF
100834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100835 _ACEOF
100842 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
100843 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
100844 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
100845 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
100846 echo $ECHO_N "(cached) $ECHO_C" >&6
100851 ac_ext=cc
100852 ac_cpp='$CXXCPP $CPPFLAGS'
100853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100857 cat >conftest.$ac_ext <<_ACEOF
100858 /* confdefs.h. */
100859 _ACEOF
100860 cat confdefs.h >>conftest.$ac_ext
100861 cat >>conftest.$ac_ext <<_ACEOF
100862 /* end confdefs.h. */
100863 #include <math.h>
100864 #ifdef HAVE_IEEEFP_H
100865 #include <ieeefp.h>
100866 #endif
100869 main ()
100871 _fabsl(0);
100873 return 0;
100875 _ACEOF
100876 rm -f conftest.$ac_objext
100877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100878 (eval $ac_compile) 2>conftest.er1
100879 ac_status=$?
100880 grep -v '^ *+' conftest.er1 >conftest.err
100881 rm -f conftest.er1
100882 cat conftest.err >&5
100883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100884 (exit $ac_status); } &&
100885 { ac_try='test -z "$ac_cxx_werror_flag"
100886 || test ! -s conftest.err'
100887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100888 (eval $ac_try) 2>&5
100889 ac_status=$?
100890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100891 (exit $ac_status); }; } &&
100892 { ac_try='test -s conftest.$ac_objext'
100893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100894 (eval $ac_try) 2>&5
100895 ac_status=$?
100896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100897 (exit $ac_status); }; }; then
100898 glibcxx_cv_func__fabsl_use=yes
100900 echo "$as_me: failed program was:" >&5
100901 sed 's/^/| /' conftest.$ac_ext >&5
100903 glibcxx_cv_func__fabsl_use=no
100905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100906 ac_ext=c
100907 ac_cpp='$CPP $CPPFLAGS'
100908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
100917 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
100919 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
100921 for ac_func in _fabsl
100923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100924 echo "$as_me:$LINENO: checking for $ac_func" >&5
100925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100926 if eval "test \"\${$as_ac_var+set}\" = set"; then
100927 echo $ECHO_N "(cached) $ECHO_C" >&6
100929 if test x$gcc_no_link = xyes; then
100930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100932 { (exit 1); exit 1; }; }
100934 cat >conftest.$ac_ext <<_ACEOF
100935 /* confdefs.h. */
100936 _ACEOF
100937 cat confdefs.h >>conftest.$ac_ext
100938 cat >>conftest.$ac_ext <<_ACEOF
100939 /* end confdefs.h. */
100940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100942 #define $ac_func innocuous_$ac_func
100944 /* System header to define __stub macros and hopefully few prototypes,
100945 which can conflict with char $ac_func (); below.
100946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100947 <limits.h> exists even on freestanding compilers. */
100949 #ifdef __STDC__
100950 # include <limits.h>
100951 #else
100952 # include <assert.h>
100953 #endif
100955 #undef $ac_func
100957 /* Override any gcc2 internal prototype to avoid an error. */
100958 #ifdef __cplusplus
100959 extern "C"
100961 #endif
100962 /* We use char because int might match the return type of a gcc2
100963 builtin and then its argument prototype would still apply. */
100964 char $ac_func ();
100965 /* The GNU C library defines this for functions which it implements
100966 to always fail with ENOSYS. Some functions are actually named
100967 something starting with __ and the normal name is an alias. */
100968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100969 choke me
100970 #else
100971 char (*f) () = $ac_func;
100972 #endif
100973 #ifdef __cplusplus
100975 #endif
100978 main ()
100980 return f != $ac_func;
100982 return 0;
100984 _ACEOF
100985 rm -f conftest.$ac_objext conftest$ac_exeext
100986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100987 (eval $ac_link) 2>conftest.er1
100988 ac_status=$?
100989 grep -v '^ *+' conftest.er1 >conftest.err
100990 rm -f conftest.er1
100991 cat conftest.err >&5
100992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100993 (exit $ac_status); } &&
100994 { ac_try='test -z "$ac_c_werror_flag"
100995 || test ! -s conftest.err'
100996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100997 (eval $ac_try) 2>&5
100998 ac_status=$?
100999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101000 (exit $ac_status); }; } &&
101001 { ac_try='test -s conftest$ac_exeext'
101002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101003 (eval $ac_try) 2>&5
101004 ac_status=$?
101005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101006 (exit $ac_status); }; }; then
101007 eval "$as_ac_var=yes"
101009 echo "$as_me: failed program was:" >&5
101010 sed 's/^/| /' conftest.$ac_ext >&5
101012 eval "$as_ac_var=no"
101014 rm -f conftest.err conftest.$ac_objext \
101015 conftest$ac_exeext conftest.$ac_ext
101017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101019 if test `eval echo '${'$as_ac_var'}'` = yes; then
101020 cat >>confdefs.h <<_ACEOF
101021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101022 _ACEOF
101035 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
101036 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
101037 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
101038 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
101039 echo $ECHO_N "(cached) $ECHO_C" >&6
101044 ac_ext=cc
101045 ac_cpp='$CXXCPP $CPPFLAGS'
101046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101050 cat >conftest.$ac_ext <<_ACEOF
101051 /* confdefs.h. */
101052 _ACEOF
101053 cat confdefs.h >>conftest.$ac_ext
101054 cat >>conftest.$ac_ext <<_ACEOF
101055 /* end confdefs.h. */
101056 #include <math.h>
101058 main ()
101060 fmodl(0, 0);
101062 return 0;
101064 _ACEOF
101065 rm -f conftest.$ac_objext
101066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101067 (eval $ac_compile) 2>conftest.er1
101068 ac_status=$?
101069 grep -v '^ *+' conftest.er1 >conftest.err
101070 rm -f conftest.er1
101071 cat conftest.err >&5
101072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101073 (exit $ac_status); } &&
101074 { ac_try='test -z "$ac_cxx_werror_flag"
101075 || test ! -s conftest.err'
101076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101077 (eval $ac_try) 2>&5
101078 ac_status=$?
101079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101080 (exit $ac_status); }; } &&
101081 { ac_try='test -s conftest.$ac_objext'
101082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101083 (eval $ac_try) 2>&5
101084 ac_status=$?
101085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101086 (exit $ac_status); }; }; then
101087 glibcxx_cv_func_fmodl_use=yes
101089 echo "$as_me: failed program was:" >&5
101090 sed 's/^/| /' conftest.$ac_ext >&5
101092 glibcxx_cv_func_fmodl_use=no
101094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101095 ac_ext=c
101096 ac_cpp='$CPP $CPPFLAGS'
101097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101105 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
101106 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
101108 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
101110 for ac_func in fmodl
101112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101113 echo "$as_me:$LINENO: checking for $ac_func" >&5
101114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101115 if eval "test \"\${$as_ac_var+set}\" = set"; then
101116 echo $ECHO_N "(cached) $ECHO_C" >&6
101118 if test x$gcc_no_link = xyes; then
101119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101121 { (exit 1); exit 1; }; }
101123 cat >conftest.$ac_ext <<_ACEOF
101124 /* confdefs.h. */
101125 _ACEOF
101126 cat confdefs.h >>conftest.$ac_ext
101127 cat >>conftest.$ac_ext <<_ACEOF
101128 /* end confdefs.h. */
101129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101131 #define $ac_func innocuous_$ac_func
101133 /* System header to define __stub macros and hopefully few prototypes,
101134 which can conflict with char $ac_func (); below.
101135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101136 <limits.h> exists even on freestanding compilers. */
101138 #ifdef __STDC__
101139 # include <limits.h>
101140 #else
101141 # include <assert.h>
101142 #endif
101144 #undef $ac_func
101146 /* Override any gcc2 internal prototype to avoid an error. */
101147 #ifdef __cplusplus
101148 extern "C"
101150 #endif
101151 /* We use char because int might match the return type of a gcc2
101152 builtin and then its argument prototype would still apply. */
101153 char $ac_func ();
101154 /* The GNU C library defines this for functions which it implements
101155 to always fail with ENOSYS. Some functions are actually named
101156 something starting with __ and the normal name is an alias. */
101157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101158 choke me
101159 #else
101160 char (*f) () = $ac_func;
101161 #endif
101162 #ifdef __cplusplus
101164 #endif
101167 main ()
101169 return f != $ac_func;
101171 return 0;
101173 _ACEOF
101174 rm -f conftest.$ac_objext conftest$ac_exeext
101175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101176 (eval $ac_link) 2>conftest.er1
101177 ac_status=$?
101178 grep -v '^ *+' conftest.er1 >conftest.err
101179 rm -f conftest.er1
101180 cat conftest.err >&5
101181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101182 (exit $ac_status); } &&
101183 { ac_try='test -z "$ac_c_werror_flag"
101184 || test ! -s conftest.err'
101185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101186 (eval $ac_try) 2>&5
101187 ac_status=$?
101188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101189 (exit $ac_status); }; } &&
101190 { ac_try='test -s conftest$ac_exeext'
101191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101192 (eval $ac_try) 2>&5
101193 ac_status=$?
101194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101195 (exit $ac_status); }; }; then
101196 eval "$as_ac_var=yes"
101198 echo "$as_me: failed program was:" >&5
101199 sed 's/^/| /' conftest.$ac_ext >&5
101201 eval "$as_ac_var=no"
101203 rm -f conftest.err conftest.$ac_objext \
101204 conftest$ac_exeext conftest.$ac_ext
101206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101208 if test `eval echo '${'$as_ac_var'}'` = yes; then
101209 cat >>confdefs.h <<_ACEOF
101210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101211 _ACEOF
101218 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
101219 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
101220 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
101221 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
101222 echo $ECHO_N "(cached) $ECHO_C" >&6
101227 ac_ext=cc
101228 ac_cpp='$CXXCPP $CPPFLAGS'
101229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101233 cat >conftest.$ac_ext <<_ACEOF
101234 /* confdefs.h. */
101235 _ACEOF
101236 cat confdefs.h >>conftest.$ac_ext
101237 cat >>conftest.$ac_ext <<_ACEOF
101238 /* end confdefs.h. */
101239 #include <math.h>
101241 main ()
101243 _fmodl(0, 0);
101245 return 0;
101247 _ACEOF
101248 rm -f conftest.$ac_objext
101249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101250 (eval $ac_compile) 2>conftest.er1
101251 ac_status=$?
101252 grep -v '^ *+' conftest.er1 >conftest.err
101253 rm -f conftest.er1
101254 cat conftest.err >&5
101255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101256 (exit $ac_status); } &&
101257 { ac_try='test -z "$ac_cxx_werror_flag"
101258 || test ! -s conftest.err'
101259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101260 (eval $ac_try) 2>&5
101261 ac_status=$?
101262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101263 (exit $ac_status); }; } &&
101264 { ac_try='test -s conftest.$ac_objext'
101265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101266 (eval $ac_try) 2>&5
101267 ac_status=$?
101268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101269 (exit $ac_status); }; }; then
101270 glibcxx_cv_func__fmodl_use=yes
101272 echo "$as_me: failed program was:" >&5
101273 sed 's/^/| /' conftest.$ac_ext >&5
101275 glibcxx_cv_func__fmodl_use=no
101277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101278 ac_ext=c
101279 ac_cpp='$CPP $CPPFLAGS'
101280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101288 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
101289 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
101291 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
101293 for ac_func in _fmodl
101295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101296 echo "$as_me:$LINENO: checking for $ac_func" >&5
101297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101298 if eval "test \"\${$as_ac_var+set}\" = set"; then
101299 echo $ECHO_N "(cached) $ECHO_C" >&6
101301 if test x$gcc_no_link = xyes; then
101302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101304 { (exit 1); exit 1; }; }
101306 cat >conftest.$ac_ext <<_ACEOF
101307 /* confdefs.h. */
101308 _ACEOF
101309 cat confdefs.h >>conftest.$ac_ext
101310 cat >>conftest.$ac_ext <<_ACEOF
101311 /* end confdefs.h. */
101312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101314 #define $ac_func innocuous_$ac_func
101316 /* System header to define __stub macros and hopefully few prototypes,
101317 which can conflict with char $ac_func (); below.
101318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101319 <limits.h> exists even on freestanding compilers. */
101321 #ifdef __STDC__
101322 # include <limits.h>
101323 #else
101324 # include <assert.h>
101325 #endif
101327 #undef $ac_func
101329 /* Override any gcc2 internal prototype to avoid an error. */
101330 #ifdef __cplusplus
101331 extern "C"
101333 #endif
101334 /* We use char because int might match the return type of a gcc2
101335 builtin and then its argument prototype would still apply. */
101336 char $ac_func ();
101337 /* The GNU C library defines this for functions which it implements
101338 to always fail with ENOSYS. Some functions are actually named
101339 something starting with __ and the normal name is an alias. */
101340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101341 choke me
101342 #else
101343 char (*f) () = $ac_func;
101344 #endif
101345 #ifdef __cplusplus
101347 #endif
101350 main ()
101352 return f != $ac_func;
101354 return 0;
101356 _ACEOF
101357 rm -f conftest.$ac_objext conftest$ac_exeext
101358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101359 (eval $ac_link) 2>conftest.er1
101360 ac_status=$?
101361 grep -v '^ *+' conftest.er1 >conftest.err
101362 rm -f conftest.er1
101363 cat conftest.err >&5
101364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101365 (exit $ac_status); } &&
101366 { ac_try='test -z "$ac_c_werror_flag"
101367 || test ! -s conftest.err'
101368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101369 (eval $ac_try) 2>&5
101370 ac_status=$?
101371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101372 (exit $ac_status); }; } &&
101373 { ac_try='test -s conftest$ac_exeext'
101374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101375 (eval $ac_try) 2>&5
101376 ac_status=$?
101377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101378 (exit $ac_status); }; }; then
101379 eval "$as_ac_var=yes"
101381 echo "$as_me: failed program was:" >&5
101382 sed 's/^/| /' conftest.$ac_ext >&5
101384 eval "$as_ac_var=no"
101386 rm -f conftest.err conftest.$ac_objext \
101387 conftest$ac_exeext conftest.$ac_ext
101389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101391 if test `eval echo '${'$as_ac_var'}'` = yes; then
101392 cat >>confdefs.h <<_ACEOF
101393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101394 _ACEOF
101407 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
101408 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
101409 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
101410 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
101411 echo $ECHO_N "(cached) $ECHO_C" >&6
101416 ac_ext=cc
101417 ac_cpp='$CXXCPP $CPPFLAGS'
101418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101422 cat >conftest.$ac_ext <<_ACEOF
101423 /* confdefs.h. */
101424 _ACEOF
101425 cat confdefs.h >>conftest.$ac_ext
101426 cat >>conftest.$ac_ext <<_ACEOF
101427 /* end confdefs.h. */
101428 #include <math.h>
101430 main ()
101432 frexpl(0, 0);
101434 return 0;
101436 _ACEOF
101437 rm -f conftest.$ac_objext
101438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101439 (eval $ac_compile) 2>conftest.er1
101440 ac_status=$?
101441 grep -v '^ *+' conftest.er1 >conftest.err
101442 rm -f conftest.er1
101443 cat conftest.err >&5
101444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101445 (exit $ac_status); } &&
101446 { ac_try='test -z "$ac_cxx_werror_flag"
101447 || test ! -s conftest.err'
101448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101449 (eval $ac_try) 2>&5
101450 ac_status=$?
101451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101452 (exit $ac_status); }; } &&
101453 { ac_try='test -s conftest.$ac_objext'
101454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101455 (eval $ac_try) 2>&5
101456 ac_status=$?
101457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101458 (exit $ac_status); }; }; then
101459 glibcxx_cv_func_frexpl_use=yes
101461 echo "$as_me: failed program was:" >&5
101462 sed 's/^/| /' conftest.$ac_ext >&5
101464 glibcxx_cv_func_frexpl_use=no
101466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101467 ac_ext=c
101468 ac_cpp='$CPP $CPPFLAGS'
101469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101477 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
101478 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
101480 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
101482 for ac_func in frexpl
101484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101485 echo "$as_me:$LINENO: checking for $ac_func" >&5
101486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101487 if eval "test \"\${$as_ac_var+set}\" = set"; then
101488 echo $ECHO_N "(cached) $ECHO_C" >&6
101490 if test x$gcc_no_link = xyes; then
101491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101493 { (exit 1); exit 1; }; }
101495 cat >conftest.$ac_ext <<_ACEOF
101496 /* confdefs.h. */
101497 _ACEOF
101498 cat confdefs.h >>conftest.$ac_ext
101499 cat >>conftest.$ac_ext <<_ACEOF
101500 /* end confdefs.h. */
101501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101503 #define $ac_func innocuous_$ac_func
101505 /* System header to define __stub macros and hopefully few prototypes,
101506 which can conflict with char $ac_func (); below.
101507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101508 <limits.h> exists even on freestanding compilers. */
101510 #ifdef __STDC__
101511 # include <limits.h>
101512 #else
101513 # include <assert.h>
101514 #endif
101516 #undef $ac_func
101518 /* Override any gcc2 internal prototype to avoid an error. */
101519 #ifdef __cplusplus
101520 extern "C"
101522 #endif
101523 /* We use char because int might match the return type of a gcc2
101524 builtin and then its argument prototype would still apply. */
101525 char $ac_func ();
101526 /* The GNU C library defines this for functions which it implements
101527 to always fail with ENOSYS. Some functions are actually named
101528 something starting with __ and the normal name is an alias. */
101529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101530 choke me
101531 #else
101532 char (*f) () = $ac_func;
101533 #endif
101534 #ifdef __cplusplus
101536 #endif
101539 main ()
101541 return f != $ac_func;
101543 return 0;
101545 _ACEOF
101546 rm -f conftest.$ac_objext conftest$ac_exeext
101547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101548 (eval $ac_link) 2>conftest.er1
101549 ac_status=$?
101550 grep -v '^ *+' conftest.er1 >conftest.err
101551 rm -f conftest.er1
101552 cat conftest.err >&5
101553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101554 (exit $ac_status); } &&
101555 { ac_try='test -z "$ac_c_werror_flag"
101556 || test ! -s conftest.err'
101557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101558 (eval $ac_try) 2>&5
101559 ac_status=$?
101560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101561 (exit $ac_status); }; } &&
101562 { ac_try='test -s conftest$ac_exeext'
101563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101564 (eval $ac_try) 2>&5
101565 ac_status=$?
101566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101567 (exit $ac_status); }; }; then
101568 eval "$as_ac_var=yes"
101570 echo "$as_me: failed program was:" >&5
101571 sed 's/^/| /' conftest.$ac_ext >&5
101573 eval "$as_ac_var=no"
101575 rm -f conftest.err conftest.$ac_objext \
101576 conftest$ac_exeext conftest.$ac_ext
101578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101580 if test `eval echo '${'$as_ac_var'}'` = yes; then
101581 cat >>confdefs.h <<_ACEOF
101582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101583 _ACEOF
101590 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
101591 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
101592 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
101593 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
101594 echo $ECHO_N "(cached) $ECHO_C" >&6
101599 ac_ext=cc
101600 ac_cpp='$CXXCPP $CPPFLAGS'
101601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101605 cat >conftest.$ac_ext <<_ACEOF
101606 /* confdefs.h. */
101607 _ACEOF
101608 cat confdefs.h >>conftest.$ac_ext
101609 cat >>conftest.$ac_ext <<_ACEOF
101610 /* end confdefs.h. */
101611 #include <math.h>
101613 main ()
101615 _frexpl(0, 0);
101617 return 0;
101619 _ACEOF
101620 rm -f conftest.$ac_objext
101621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101622 (eval $ac_compile) 2>conftest.er1
101623 ac_status=$?
101624 grep -v '^ *+' conftest.er1 >conftest.err
101625 rm -f conftest.er1
101626 cat conftest.err >&5
101627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101628 (exit $ac_status); } &&
101629 { ac_try='test -z "$ac_cxx_werror_flag"
101630 || test ! -s conftest.err'
101631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101632 (eval $ac_try) 2>&5
101633 ac_status=$?
101634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101635 (exit $ac_status); }; } &&
101636 { ac_try='test -s conftest.$ac_objext'
101637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101638 (eval $ac_try) 2>&5
101639 ac_status=$?
101640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101641 (exit $ac_status); }; }; then
101642 glibcxx_cv_func__frexpl_use=yes
101644 echo "$as_me: failed program was:" >&5
101645 sed 's/^/| /' conftest.$ac_ext >&5
101647 glibcxx_cv_func__frexpl_use=no
101649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101650 ac_ext=c
101651 ac_cpp='$CPP $CPPFLAGS'
101652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101660 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
101661 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
101663 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
101665 for ac_func in _frexpl
101667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101668 echo "$as_me:$LINENO: checking for $ac_func" >&5
101669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101670 if eval "test \"\${$as_ac_var+set}\" = set"; then
101671 echo $ECHO_N "(cached) $ECHO_C" >&6
101673 if test x$gcc_no_link = xyes; then
101674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101676 { (exit 1); exit 1; }; }
101678 cat >conftest.$ac_ext <<_ACEOF
101679 /* confdefs.h. */
101680 _ACEOF
101681 cat confdefs.h >>conftest.$ac_ext
101682 cat >>conftest.$ac_ext <<_ACEOF
101683 /* end confdefs.h. */
101684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101686 #define $ac_func innocuous_$ac_func
101688 /* System header to define __stub macros and hopefully few prototypes,
101689 which can conflict with char $ac_func (); below.
101690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101691 <limits.h> exists even on freestanding compilers. */
101693 #ifdef __STDC__
101694 # include <limits.h>
101695 #else
101696 # include <assert.h>
101697 #endif
101699 #undef $ac_func
101701 /* Override any gcc2 internal prototype to avoid an error. */
101702 #ifdef __cplusplus
101703 extern "C"
101705 #endif
101706 /* We use char because int might match the return type of a gcc2
101707 builtin and then its argument prototype would still apply. */
101708 char $ac_func ();
101709 /* The GNU C library defines this for functions which it implements
101710 to always fail with ENOSYS. Some functions are actually named
101711 something starting with __ and the normal name is an alias. */
101712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101713 choke me
101714 #else
101715 char (*f) () = $ac_func;
101716 #endif
101717 #ifdef __cplusplus
101719 #endif
101722 main ()
101724 return f != $ac_func;
101726 return 0;
101728 _ACEOF
101729 rm -f conftest.$ac_objext conftest$ac_exeext
101730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101731 (eval $ac_link) 2>conftest.er1
101732 ac_status=$?
101733 grep -v '^ *+' conftest.er1 >conftest.err
101734 rm -f conftest.er1
101735 cat conftest.err >&5
101736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101737 (exit $ac_status); } &&
101738 { ac_try='test -z "$ac_c_werror_flag"
101739 || test ! -s conftest.err'
101740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101741 (eval $ac_try) 2>&5
101742 ac_status=$?
101743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101744 (exit $ac_status); }; } &&
101745 { ac_try='test -s conftest$ac_exeext'
101746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101747 (eval $ac_try) 2>&5
101748 ac_status=$?
101749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101750 (exit $ac_status); }; }; then
101751 eval "$as_ac_var=yes"
101753 echo "$as_me: failed program was:" >&5
101754 sed 's/^/| /' conftest.$ac_ext >&5
101756 eval "$as_ac_var=no"
101758 rm -f conftest.err conftest.$ac_objext \
101759 conftest$ac_exeext conftest.$ac_ext
101761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101763 if test `eval echo '${'$as_ac_var'}'` = yes; then
101764 cat >>confdefs.h <<_ACEOF
101765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101766 _ACEOF
101779 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
101780 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
101781 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
101782 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
101783 echo $ECHO_N "(cached) $ECHO_C" >&6
101788 ac_ext=cc
101789 ac_cpp='$CXXCPP $CPPFLAGS'
101790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101794 cat >conftest.$ac_ext <<_ACEOF
101795 /* confdefs.h. */
101796 _ACEOF
101797 cat confdefs.h >>conftest.$ac_ext
101798 cat >>conftest.$ac_ext <<_ACEOF
101799 /* end confdefs.h. */
101800 #include <math.h>
101802 main ()
101804 hypotl(0, 0);
101806 return 0;
101808 _ACEOF
101809 rm -f conftest.$ac_objext
101810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101811 (eval $ac_compile) 2>conftest.er1
101812 ac_status=$?
101813 grep -v '^ *+' conftest.er1 >conftest.err
101814 rm -f conftest.er1
101815 cat conftest.err >&5
101816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101817 (exit $ac_status); } &&
101818 { ac_try='test -z "$ac_cxx_werror_flag"
101819 || test ! -s conftest.err'
101820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101821 (eval $ac_try) 2>&5
101822 ac_status=$?
101823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101824 (exit $ac_status); }; } &&
101825 { ac_try='test -s conftest.$ac_objext'
101826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101827 (eval $ac_try) 2>&5
101828 ac_status=$?
101829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101830 (exit $ac_status); }; }; then
101831 glibcxx_cv_func_hypotl_use=yes
101833 echo "$as_me: failed program was:" >&5
101834 sed 's/^/| /' conftest.$ac_ext >&5
101836 glibcxx_cv_func_hypotl_use=no
101838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101839 ac_ext=c
101840 ac_cpp='$CPP $CPPFLAGS'
101841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101849 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
101850 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
101852 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
101854 for ac_func in hypotl
101856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101857 echo "$as_me:$LINENO: checking for $ac_func" >&5
101858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101859 if eval "test \"\${$as_ac_var+set}\" = set"; then
101860 echo $ECHO_N "(cached) $ECHO_C" >&6
101862 if test x$gcc_no_link = xyes; then
101863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101865 { (exit 1); exit 1; }; }
101867 cat >conftest.$ac_ext <<_ACEOF
101868 /* confdefs.h. */
101869 _ACEOF
101870 cat confdefs.h >>conftest.$ac_ext
101871 cat >>conftest.$ac_ext <<_ACEOF
101872 /* end confdefs.h. */
101873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101875 #define $ac_func innocuous_$ac_func
101877 /* System header to define __stub macros and hopefully few prototypes,
101878 which can conflict with char $ac_func (); below.
101879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101880 <limits.h> exists even on freestanding compilers. */
101882 #ifdef __STDC__
101883 # include <limits.h>
101884 #else
101885 # include <assert.h>
101886 #endif
101888 #undef $ac_func
101890 /* Override any gcc2 internal prototype to avoid an error. */
101891 #ifdef __cplusplus
101892 extern "C"
101894 #endif
101895 /* We use char because int might match the return type of a gcc2
101896 builtin and then its argument prototype would still apply. */
101897 char $ac_func ();
101898 /* The GNU C library defines this for functions which it implements
101899 to always fail with ENOSYS. Some functions are actually named
101900 something starting with __ and the normal name is an alias. */
101901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101902 choke me
101903 #else
101904 char (*f) () = $ac_func;
101905 #endif
101906 #ifdef __cplusplus
101908 #endif
101911 main ()
101913 return f != $ac_func;
101915 return 0;
101917 _ACEOF
101918 rm -f conftest.$ac_objext conftest$ac_exeext
101919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101920 (eval $ac_link) 2>conftest.er1
101921 ac_status=$?
101922 grep -v '^ *+' conftest.er1 >conftest.err
101923 rm -f conftest.er1
101924 cat conftest.err >&5
101925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101926 (exit $ac_status); } &&
101927 { ac_try='test -z "$ac_c_werror_flag"
101928 || test ! -s conftest.err'
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); }; } &&
101934 { ac_try='test -s conftest$ac_exeext'
101935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101936 (eval $ac_try) 2>&5
101937 ac_status=$?
101938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101939 (exit $ac_status); }; }; then
101940 eval "$as_ac_var=yes"
101942 echo "$as_me: failed program was:" >&5
101943 sed 's/^/| /' conftest.$ac_ext >&5
101945 eval "$as_ac_var=no"
101947 rm -f conftest.err conftest.$ac_objext \
101948 conftest$ac_exeext conftest.$ac_ext
101950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101952 if test `eval echo '${'$as_ac_var'}'` = yes; then
101953 cat >>confdefs.h <<_ACEOF
101954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101955 _ACEOF
101962 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
101963 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
101964 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
101965 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
101966 echo $ECHO_N "(cached) $ECHO_C" >&6
101971 ac_ext=cc
101972 ac_cpp='$CXXCPP $CPPFLAGS'
101973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101977 cat >conftest.$ac_ext <<_ACEOF
101978 /* confdefs.h. */
101979 _ACEOF
101980 cat confdefs.h >>conftest.$ac_ext
101981 cat >>conftest.$ac_ext <<_ACEOF
101982 /* end confdefs.h. */
101983 #include <math.h>
101985 main ()
101987 _hypotl(0, 0);
101989 return 0;
101991 _ACEOF
101992 rm -f conftest.$ac_objext
101993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101994 (eval $ac_compile) 2>conftest.er1
101995 ac_status=$?
101996 grep -v '^ *+' conftest.er1 >conftest.err
101997 rm -f conftest.er1
101998 cat conftest.err >&5
101999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102000 (exit $ac_status); } &&
102001 { ac_try='test -z "$ac_cxx_werror_flag"
102002 || test ! -s conftest.err'
102003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102004 (eval $ac_try) 2>&5
102005 ac_status=$?
102006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102007 (exit $ac_status); }; } &&
102008 { ac_try='test -s conftest.$ac_objext'
102009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102010 (eval $ac_try) 2>&5
102011 ac_status=$?
102012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102013 (exit $ac_status); }; }; then
102014 glibcxx_cv_func__hypotl_use=yes
102016 echo "$as_me: failed program was:" >&5
102017 sed 's/^/| /' conftest.$ac_ext >&5
102019 glibcxx_cv_func__hypotl_use=no
102021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102022 ac_ext=c
102023 ac_cpp='$CPP $CPPFLAGS'
102024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102032 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
102033 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
102035 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
102037 for ac_func in _hypotl
102039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102040 echo "$as_me:$LINENO: checking for $ac_func" >&5
102041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102042 if eval "test \"\${$as_ac_var+set}\" = set"; then
102043 echo $ECHO_N "(cached) $ECHO_C" >&6
102045 if test x$gcc_no_link = xyes; then
102046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102048 { (exit 1); exit 1; }; }
102050 cat >conftest.$ac_ext <<_ACEOF
102051 /* confdefs.h. */
102052 _ACEOF
102053 cat confdefs.h >>conftest.$ac_ext
102054 cat >>conftest.$ac_ext <<_ACEOF
102055 /* end confdefs.h. */
102056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102058 #define $ac_func innocuous_$ac_func
102060 /* System header to define __stub macros and hopefully few prototypes,
102061 which can conflict with char $ac_func (); below.
102062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102063 <limits.h> exists even on freestanding compilers. */
102065 #ifdef __STDC__
102066 # include <limits.h>
102067 #else
102068 # include <assert.h>
102069 #endif
102071 #undef $ac_func
102073 /* Override any gcc2 internal prototype to avoid an error. */
102074 #ifdef __cplusplus
102075 extern "C"
102077 #endif
102078 /* We use char because int might match the return type of a gcc2
102079 builtin and then its argument prototype would still apply. */
102080 char $ac_func ();
102081 /* The GNU C library defines this for functions which it implements
102082 to always fail with ENOSYS. Some functions are actually named
102083 something starting with __ and the normal name is an alias. */
102084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102085 choke me
102086 #else
102087 char (*f) () = $ac_func;
102088 #endif
102089 #ifdef __cplusplus
102091 #endif
102094 main ()
102096 return f != $ac_func;
102098 return 0;
102100 _ACEOF
102101 rm -f conftest.$ac_objext conftest$ac_exeext
102102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102103 (eval $ac_link) 2>conftest.er1
102104 ac_status=$?
102105 grep -v '^ *+' conftest.er1 >conftest.err
102106 rm -f conftest.er1
102107 cat conftest.err >&5
102108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102109 (exit $ac_status); } &&
102110 { ac_try='test -z "$ac_c_werror_flag"
102111 || test ! -s conftest.err'
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); }; } &&
102117 { ac_try='test -s conftest$ac_exeext'
102118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102119 (eval $ac_try) 2>&5
102120 ac_status=$?
102121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102122 (exit $ac_status); }; }; then
102123 eval "$as_ac_var=yes"
102125 echo "$as_me: failed program was:" >&5
102126 sed 's/^/| /' conftest.$ac_ext >&5
102128 eval "$as_ac_var=no"
102130 rm -f conftest.err conftest.$ac_objext \
102131 conftest$ac_exeext conftest.$ac_ext
102133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102135 if test `eval echo '${'$as_ac_var'}'` = yes; then
102136 cat >>confdefs.h <<_ACEOF
102137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102138 _ACEOF
102151 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
102152 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
102153 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
102154 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
102155 echo $ECHO_N "(cached) $ECHO_C" >&6
102160 ac_ext=cc
102161 ac_cpp='$CXXCPP $CPPFLAGS'
102162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102166 cat >conftest.$ac_ext <<_ACEOF
102167 /* confdefs.h. */
102168 _ACEOF
102169 cat confdefs.h >>conftest.$ac_ext
102170 cat >>conftest.$ac_ext <<_ACEOF
102171 /* end confdefs.h. */
102172 #include <math.h>
102174 main ()
102176 ldexpl(0, 0);
102178 return 0;
102180 _ACEOF
102181 rm -f conftest.$ac_objext
102182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102183 (eval $ac_compile) 2>conftest.er1
102184 ac_status=$?
102185 grep -v '^ *+' conftest.er1 >conftest.err
102186 rm -f conftest.er1
102187 cat conftest.err >&5
102188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102189 (exit $ac_status); } &&
102190 { ac_try='test -z "$ac_cxx_werror_flag"
102191 || test ! -s conftest.err'
102192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102193 (eval $ac_try) 2>&5
102194 ac_status=$?
102195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102196 (exit $ac_status); }; } &&
102197 { ac_try='test -s conftest.$ac_objext'
102198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102199 (eval $ac_try) 2>&5
102200 ac_status=$?
102201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102202 (exit $ac_status); }; }; then
102203 glibcxx_cv_func_ldexpl_use=yes
102205 echo "$as_me: failed program was:" >&5
102206 sed 's/^/| /' conftest.$ac_ext >&5
102208 glibcxx_cv_func_ldexpl_use=no
102210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102211 ac_ext=c
102212 ac_cpp='$CPP $CPPFLAGS'
102213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102221 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
102222 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
102224 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
102226 for ac_func in ldexpl
102228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102229 echo "$as_me:$LINENO: checking for $ac_func" >&5
102230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102231 if eval "test \"\${$as_ac_var+set}\" = set"; then
102232 echo $ECHO_N "(cached) $ECHO_C" >&6
102234 if test x$gcc_no_link = xyes; then
102235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102237 { (exit 1); exit 1; }; }
102239 cat >conftest.$ac_ext <<_ACEOF
102240 /* confdefs.h. */
102241 _ACEOF
102242 cat confdefs.h >>conftest.$ac_ext
102243 cat >>conftest.$ac_ext <<_ACEOF
102244 /* end confdefs.h. */
102245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102247 #define $ac_func innocuous_$ac_func
102249 /* System header to define __stub macros and hopefully few prototypes,
102250 which can conflict with char $ac_func (); below.
102251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102252 <limits.h> exists even on freestanding compilers. */
102254 #ifdef __STDC__
102255 # include <limits.h>
102256 #else
102257 # include <assert.h>
102258 #endif
102260 #undef $ac_func
102262 /* Override any gcc2 internal prototype to avoid an error. */
102263 #ifdef __cplusplus
102264 extern "C"
102266 #endif
102267 /* We use char because int might match the return type of a gcc2
102268 builtin and then its argument prototype would still apply. */
102269 char $ac_func ();
102270 /* The GNU C library defines this for functions which it implements
102271 to always fail with ENOSYS. Some functions are actually named
102272 something starting with __ and the normal name is an alias. */
102273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102274 choke me
102275 #else
102276 char (*f) () = $ac_func;
102277 #endif
102278 #ifdef __cplusplus
102280 #endif
102283 main ()
102285 return f != $ac_func;
102287 return 0;
102289 _ACEOF
102290 rm -f conftest.$ac_objext conftest$ac_exeext
102291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102292 (eval $ac_link) 2>conftest.er1
102293 ac_status=$?
102294 grep -v '^ *+' conftest.er1 >conftest.err
102295 rm -f conftest.er1
102296 cat conftest.err >&5
102297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102298 (exit $ac_status); } &&
102299 { ac_try='test -z "$ac_c_werror_flag"
102300 || test ! -s conftest.err'
102301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102302 (eval $ac_try) 2>&5
102303 ac_status=$?
102304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102305 (exit $ac_status); }; } &&
102306 { ac_try='test -s conftest$ac_exeext'
102307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102308 (eval $ac_try) 2>&5
102309 ac_status=$?
102310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102311 (exit $ac_status); }; }; then
102312 eval "$as_ac_var=yes"
102314 echo "$as_me: failed program was:" >&5
102315 sed 's/^/| /' conftest.$ac_ext >&5
102317 eval "$as_ac_var=no"
102319 rm -f conftest.err conftest.$ac_objext \
102320 conftest$ac_exeext conftest.$ac_ext
102322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102324 if test `eval echo '${'$as_ac_var'}'` = yes; then
102325 cat >>confdefs.h <<_ACEOF
102326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102327 _ACEOF
102334 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
102335 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
102336 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
102337 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
102338 echo $ECHO_N "(cached) $ECHO_C" >&6
102343 ac_ext=cc
102344 ac_cpp='$CXXCPP $CPPFLAGS'
102345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102349 cat >conftest.$ac_ext <<_ACEOF
102350 /* confdefs.h. */
102351 _ACEOF
102352 cat confdefs.h >>conftest.$ac_ext
102353 cat >>conftest.$ac_ext <<_ACEOF
102354 /* end confdefs.h. */
102355 #include <math.h>
102357 main ()
102359 _ldexpl(0, 0);
102361 return 0;
102363 _ACEOF
102364 rm -f conftest.$ac_objext
102365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102366 (eval $ac_compile) 2>conftest.er1
102367 ac_status=$?
102368 grep -v '^ *+' conftest.er1 >conftest.err
102369 rm -f conftest.er1
102370 cat conftest.err >&5
102371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102372 (exit $ac_status); } &&
102373 { ac_try='test -z "$ac_cxx_werror_flag"
102374 || test ! -s conftest.err'
102375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102376 (eval $ac_try) 2>&5
102377 ac_status=$?
102378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102379 (exit $ac_status); }; } &&
102380 { ac_try='test -s conftest.$ac_objext'
102381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102382 (eval $ac_try) 2>&5
102383 ac_status=$?
102384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102385 (exit $ac_status); }; }; then
102386 glibcxx_cv_func__ldexpl_use=yes
102388 echo "$as_me: failed program was:" >&5
102389 sed 's/^/| /' conftest.$ac_ext >&5
102391 glibcxx_cv_func__ldexpl_use=no
102393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102394 ac_ext=c
102395 ac_cpp='$CPP $CPPFLAGS'
102396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102404 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
102405 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
102407 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
102409 for ac_func in _ldexpl
102411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102412 echo "$as_me:$LINENO: checking for $ac_func" >&5
102413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102414 if eval "test \"\${$as_ac_var+set}\" = set"; then
102415 echo $ECHO_N "(cached) $ECHO_C" >&6
102417 if test x$gcc_no_link = xyes; then
102418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102420 { (exit 1); exit 1; }; }
102422 cat >conftest.$ac_ext <<_ACEOF
102423 /* confdefs.h. */
102424 _ACEOF
102425 cat confdefs.h >>conftest.$ac_ext
102426 cat >>conftest.$ac_ext <<_ACEOF
102427 /* end confdefs.h. */
102428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102430 #define $ac_func innocuous_$ac_func
102432 /* System header to define __stub macros and hopefully few prototypes,
102433 which can conflict with char $ac_func (); below.
102434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102435 <limits.h> exists even on freestanding compilers. */
102437 #ifdef __STDC__
102438 # include <limits.h>
102439 #else
102440 # include <assert.h>
102441 #endif
102443 #undef $ac_func
102445 /* Override any gcc2 internal prototype to avoid an error. */
102446 #ifdef __cplusplus
102447 extern "C"
102449 #endif
102450 /* We use char because int might match the return type of a gcc2
102451 builtin and then its argument prototype would still apply. */
102452 char $ac_func ();
102453 /* The GNU C library defines this for functions which it implements
102454 to always fail with ENOSYS. Some functions are actually named
102455 something starting with __ and the normal name is an alias. */
102456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102457 choke me
102458 #else
102459 char (*f) () = $ac_func;
102460 #endif
102461 #ifdef __cplusplus
102463 #endif
102466 main ()
102468 return f != $ac_func;
102470 return 0;
102472 _ACEOF
102473 rm -f conftest.$ac_objext conftest$ac_exeext
102474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102475 (eval $ac_link) 2>conftest.er1
102476 ac_status=$?
102477 grep -v '^ *+' conftest.er1 >conftest.err
102478 rm -f conftest.er1
102479 cat conftest.err >&5
102480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102481 (exit $ac_status); } &&
102482 { ac_try='test -z "$ac_c_werror_flag"
102483 || test ! -s conftest.err'
102484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102485 (eval $ac_try) 2>&5
102486 ac_status=$?
102487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102488 (exit $ac_status); }; } &&
102489 { ac_try='test -s conftest$ac_exeext'
102490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102491 (eval $ac_try) 2>&5
102492 ac_status=$?
102493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102494 (exit $ac_status); }; }; then
102495 eval "$as_ac_var=yes"
102497 echo "$as_me: failed program was:" >&5
102498 sed 's/^/| /' conftest.$ac_ext >&5
102500 eval "$as_ac_var=no"
102502 rm -f conftest.err conftest.$ac_objext \
102503 conftest$ac_exeext conftest.$ac_ext
102505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102507 if test `eval echo '${'$as_ac_var'}'` = yes; then
102508 cat >>confdefs.h <<_ACEOF
102509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102510 _ACEOF
102523 echo "$as_me:$LINENO: checking for logl declaration" >&5
102524 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
102525 if test x${glibcxx_cv_func_logl_use+set} != xset; then
102526 if test "${glibcxx_cv_func_logl_use+set}" = set; then
102527 echo $ECHO_N "(cached) $ECHO_C" >&6
102532 ac_ext=cc
102533 ac_cpp='$CXXCPP $CPPFLAGS'
102534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102538 cat >conftest.$ac_ext <<_ACEOF
102539 /* confdefs.h. */
102540 _ACEOF
102541 cat confdefs.h >>conftest.$ac_ext
102542 cat >>conftest.$ac_ext <<_ACEOF
102543 /* end confdefs.h. */
102544 #include <math.h>
102545 #ifdef HAVE_IEEEFP_H
102546 #include <ieeefp.h>
102547 #endif
102550 main ()
102552 logl(0);
102554 return 0;
102556 _ACEOF
102557 rm -f conftest.$ac_objext
102558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102559 (eval $ac_compile) 2>conftest.er1
102560 ac_status=$?
102561 grep -v '^ *+' conftest.er1 >conftest.err
102562 rm -f conftest.er1
102563 cat conftest.err >&5
102564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102565 (exit $ac_status); } &&
102566 { ac_try='test -z "$ac_cxx_werror_flag"
102567 || test ! -s conftest.err'
102568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102569 (eval $ac_try) 2>&5
102570 ac_status=$?
102571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102572 (exit $ac_status); }; } &&
102573 { ac_try='test -s conftest.$ac_objext'
102574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102575 (eval $ac_try) 2>&5
102576 ac_status=$?
102577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102578 (exit $ac_status); }; }; then
102579 glibcxx_cv_func_logl_use=yes
102581 echo "$as_me: failed program was:" >&5
102582 sed 's/^/| /' conftest.$ac_ext >&5
102584 glibcxx_cv_func_logl_use=no
102586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102587 ac_ext=c
102588 ac_cpp='$CPP $CPPFLAGS'
102589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102597 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
102598 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
102600 if test x$glibcxx_cv_func_logl_use = x"yes"; then
102602 for ac_func in logl
102604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102605 echo "$as_me:$LINENO: checking for $ac_func" >&5
102606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102607 if eval "test \"\${$as_ac_var+set}\" = set"; then
102608 echo $ECHO_N "(cached) $ECHO_C" >&6
102610 if test x$gcc_no_link = xyes; then
102611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102613 { (exit 1); exit 1; }; }
102615 cat >conftest.$ac_ext <<_ACEOF
102616 /* confdefs.h. */
102617 _ACEOF
102618 cat confdefs.h >>conftest.$ac_ext
102619 cat >>conftest.$ac_ext <<_ACEOF
102620 /* end confdefs.h. */
102621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102623 #define $ac_func innocuous_$ac_func
102625 /* System header to define __stub macros and hopefully few prototypes,
102626 which can conflict with char $ac_func (); below.
102627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102628 <limits.h> exists even on freestanding compilers. */
102630 #ifdef __STDC__
102631 # include <limits.h>
102632 #else
102633 # include <assert.h>
102634 #endif
102636 #undef $ac_func
102638 /* Override any gcc2 internal prototype to avoid an error. */
102639 #ifdef __cplusplus
102640 extern "C"
102642 #endif
102643 /* We use char because int might match the return type of a gcc2
102644 builtin and then its argument prototype would still apply. */
102645 char $ac_func ();
102646 /* The GNU C library defines this for functions which it implements
102647 to always fail with ENOSYS. Some functions are actually named
102648 something starting with __ and the normal name is an alias. */
102649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102650 choke me
102651 #else
102652 char (*f) () = $ac_func;
102653 #endif
102654 #ifdef __cplusplus
102656 #endif
102659 main ()
102661 return f != $ac_func;
102663 return 0;
102665 _ACEOF
102666 rm -f conftest.$ac_objext conftest$ac_exeext
102667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102668 (eval $ac_link) 2>conftest.er1
102669 ac_status=$?
102670 grep -v '^ *+' conftest.er1 >conftest.err
102671 rm -f conftest.er1
102672 cat conftest.err >&5
102673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102674 (exit $ac_status); } &&
102675 { ac_try='test -z "$ac_c_werror_flag"
102676 || test ! -s conftest.err'
102677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102678 (eval $ac_try) 2>&5
102679 ac_status=$?
102680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102681 (exit $ac_status); }; } &&
102682 { ac_try='test -s conftest$ac_exeext'
102683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102684 (eval $ac_try) 2>&5
102685 ac_status=$?
102686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102687 (exit $ac_status); }; }; then
102688 eval "$as_ac_var=yes"
102690 echo "$as_me: failed program was:" >&5
102691 sed 's/^/| /' conftest.$ac_ext >&5
102693 eval "$as_ac_var=no"
102695 rm -f conftest.err conftest.$ac_objext \
102696 conftest$ac_exeext conftest.$ac_ext
102698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102700 if test `eval echo '${'$as_ac_var'}'` = yes; then
102701 cat >>confdefs.h <<_ACEOF
102702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102703 _ACEOF
102710 echo "$as_me:$LINENO: checking for _logl declaration" >&5
102711 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
102712 if test x${glibcxx_cv_func__logl_use+set} != xset; then
102713 if test "${glibcxx_cv_func__logl_use+set}" = set; then
102714 echo $ECHO_N "(cached) $ECHO_C" >&6
102719 ac_ext=cc
102720 ac_cpp='$CXXCPP $CPPFLAGS'
102721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102725 cat >conftest.$ac_ext <<_ACEOF
102726 /* confdefs.h. */
102727 _ACEOF
102728 cat confdefs.h >>conftest.$ac_ext
102729 cat >>conftest.$ac_ext <<_ACEOF
102730 /* end confdefs.h. */
102731 #include <math.h>
102732 #ifdef HAVE_IEEEFP_H
102733 #include <ieeefp.h>
102734 #endif
102737 main ()
102739 _logl(0);
102741 return 0;
102743 _ACEOF
102744 rm -f conftest.$ac_objext
102745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102746 (eval $ac_compile) 2>conftest.er1
102747 ac_status=$?
102748 grep -v '^ *+' conftest.er1 >conftest.err
102749 rm -f conftest.er1
102750 cat conftest.err >&5
102751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102752 (exit $ac_status); } &&
102753 { ac_try='test -z "$ac_cxx_werror_flag"
102754 || test ! -s conftest.err'
102755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102756 (eval $ac_try) 2>&5
102757 ac_status=$?
102758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102759 (exit $ac_status); }; } &&
102760 { ac_try='test -s conftest.$ac_objext'
102761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102762 (eval $ac_try) 2>&5
102763 ac_status=$?
102764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102765 (exit $ac_status); }; }; then
102766 glibcxx_cv_func__logl_use=yes
102768 echo "$as_me: failed program was:" >&5
102769 sed 's/^/| /' conftest.$ac_ext >&5
102771 glibcxx_cv_func__logl_use=no
102773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102774 ac_ext=c
102775 ac_cpp='$CPP $CPPFLAGS'
102776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
102785 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
102787 if test x$glibcxx_cv_func__logl_use = x"yes"; then
102789 for ac_func in _logl
102791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102792 echo "$as_me:$LINENO: checking for $ac_func" >&5
102793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102794 if eval "test \"\${$as_ac_var+set}\" = set"; then
102795 echo $ECHO_N "(cached) $ECHO_C" >&6
102797 if test x$gcc_no_link = xyes; then
102798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102800 { (exit 1); exit 1; }; }
102802 cat >conftest.$ac_ext <<_ACEOF
102803 /* confdefs.h. */
102804 _ACEOF
102805 cat confdefs.h >>conftest.$ac_ext
102806 cat >>conftest.$ac_ext <<_ACEOF
102807 /* end confdefs.h. */
102808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102810 #define $ac_func innocuous_$ac_func
102812 /* System header to define __stub macros and hopefully few prototypes,
102813 which can conflict with char $ac_func (); below.
102814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102815 <limits.h> exists even on freestanding compilers. */
102817 #ifdef __STDC__
102818 # include <limits.h>
102819 #else
102820 # include <assert.h>
102821 #endif
102823 #undef $ac_func
102825 /* Override any gcc2 internal prototype to avoid an error. */
102826 #ifdef __cplusplus
102827 extern "C"
102829 #endif
102830 /* We use char because int might match the return type of a gcc2
102831 builtin and then its argument prototype would still apply. */
102832 char $ac_func ();
102833 /* The GNU C library defines this for functions which it implements
102834 to always fail with ENOSYS. Some functions are actually named
102835 something starting with __ and the normal name is an alias. */
102836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102837 choke me
102838 #else
102839 char (*f) () = $ac_func;
102840 #endif
102841 #ifdef __cplusplus
102843 #endif
102846 main ()
102848 return f != $ac_func;
102850 return 0;
102852 _ACEOF
102853 rm -f conftest.$ac_objext conftest$ac_exeext
102854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102855 (eval $ac_link) 2>conftest.er1
102856 ac_status=$?
102857 grep -v '^ *+' conftest.er1 >conftest.err
102858 rm -f conftest.er1
102859 cat conftest.err >&5
102860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102861 (exit $ac_status); } &&
102862 { ac_try='test -z "$ac_c_werror_flag"
102863 || test ! -s conftest.err'
102864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102865 (eval $ac_try) 2>&5
102866 ac_status=$?
102867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102868 (exit $ac_status); }; } &&
102869 { ac_try='test -s conftest$ac_exeext'
102870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102871 (eval $ac_try) 2>&5
102872 ac_status=$?
102873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102874 (exit $ac_status); }; }; then
102875 eval "$as_ac_var=yes"
102877 echo "$as_me: failed program was:" >&5
102878 sed 's/^/| /' conftest.$ac_ext >&5
102880 eval "$as_ac_var=no"
102882 rm -f conftest.err conftest.$ac_objext \
102883 conftest$ac_exeext conftest.$ac_ext
102885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102887 if test `eval echo '${'$as_ac_var'}'` = yes; then
102888 cat >>confdefs.h <<_ACEOF
102889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102890 _ACEOF
102903 echo "$as_me:$LINENO: checking for log10l declaration" >&5
102904 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
102905 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
102906 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
102907 echo $ECHO_N "(cached) $ECHO_C" >&6
102912 ac_ext=cc
102913 ac_cpp='$CXXCPP $CPPFLAGS'
102914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102918 cat >conftest.$ac_ext <<_ACEOF
102919 /* confdefs.h. */
102920 _ACEOF
102921 cat confdefs.h >>conftest.$ac_ext
102922 cat >>conftest.$ac_ext <<_ACEOF
102923 /* end confdefs.h. */
102924 #include <math.h>
102925 #ifdef HAVE_IEEEFP_H
102926 #include <ieeefp.h>
102927 #endif
102930 main ()
102932 log10l(0);
102934 return 0;
102936 _ACEOF
102937 rm -f conftest.$ac_objext
102938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102939 (eval $ac_compile) 2>conftest.er1
102940 ac_status=$?
102941 grep -v '^ *+' conftest.er1 >conftest.err
102942 rm -f conftest.er1
102943 cat conftest.err >&5
102944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102945 (exit $ac_status); } &&
102946 { ac_try='test -z "$ac_cxx_werror_flag"
102947 || test ! -s conftest.err'
102948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102949 (eval $ac_try) 2>&5
102950 ac_status=$?
102951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102952 (exit $ac_status); }; } &&
102953 { ac_try='test -s conftest.$ac_objext'
102954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102955 (eval $ac_try) 2>&5
102956 ac_status=$?
102957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102958 (exit $ac_status); }; }; then
102959 glibcxx_cv_func_log10l_use=yes
102961 echo "$as_me: failed program was:" >&5
102962 sed 's/^/| /' conftest.$ac_ext >&5
102964 glibcxx_cv_func_log10l_use=no
102966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102967 ac_ext=c
102968 ac_cpp='$CPP $CPPFLAGS'
102969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102977 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
102978 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
102980 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
102982 for ac_func in log10l
102984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102985 echo "$as_me:$LINENO: checking for $ac_func" >&5
102986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102987 if eval "test \"\${$as_ac_var+set}\" = set"; then
102988 echo $ECHO_N "(cached) $ECHO_C" >&6
102990 if test x$gcc_no_link = xyes; then
102991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102993 { (exit 1); exit 1; }; }
102995 cat >conftest.$ac_ext <<_ACEOF
102996 /* confdefs.h. */
102997 _ACEOF
102998 cat confdefs.h >>conftest.$ac_ext
102999 cat >>conftest.$ac_ext <<_ACEOF
103000 /* end confdefs.h. */
103001 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103003 #define $ac_func innocuous_$ac_func
103005 /* System header to define __stub macros and hopefully few prototypes,
103006 which can conflict with char $ac_func (); below.
103007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103008 <limits.h> exists even on freestanding compilers. */
103010 #ifdef __STDC__
103011 # include <limits.h>
103012 #else
103013 # include <assert.h>
103014 #endif
103016 #undef $ac_func
103018 /* Override any gcc2 internal prototype to avoid an error. */
103019 #ifdef __cplusplus
103020 extern "C"
103022 #endif
103023 /* We use char because int might match the return type of a gcc2
103024 builtin and then its argument prototype would still apply. */
103025 char $ac_func ();
103026 /* The GNU C library defines this for functions which it implements
103027 to always fail with ENOSYS. Some functions are actually named
103028 something starting with __ and the normal name is an alias. */
103029 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103030 choke me
103031 #else
103032 char (*f) () = $ac_func;
103033 #endif
103034 #ifdef __cplusplus
103036 #endif
103039 main ()
103041 return f != $ac_func;
103043 return 0;
103045 _ACEOF
103046 rm -f conftest.$ac_objext conftest$ac_exeext
103047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103048 (eval $ac_link) 2>conftest.er1
103049 ac_status=$?
103050 grep -v '^ *+' conftest.er1 >conftest.err
103051 rm -f conftest.er1
103052 cat conftest.err >&5
103053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103054 (exit $ac_status); } &&
103055 { ac_try='test -z "$ac_c_werror_flag"
103056 || test ! -s conftest.err'
103057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103058 (eval $ac_try) 2>&5
103059 ac_status=$?
103060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103061 (exit $ac_status); }; } &&
103062 { ac_try='test -s conftest$ac_exeext'
103063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103064 (eval $ac_try) 2>&5
103065 ac_status=$?
103066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103067 (exit $ac_status); }; }; then
103068 eval "$as_ac_var=yes"
103070 echo "$as_me: failed program was:" >&5
103071 sed 's/^/| /' conftest.$ac_ext >&5
103073 eval "$as_ac_var=no"
103075 rm -f conftest.err conftest.$ac_objext \
103076 conftest$ac_exeext conftest.$ac_ext
103078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103080 if test `eval echo '${'$as_ac_var'}'` = yes; then
103081 cat >>confdefs.h <<_ACEOF
103082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103083 _ACEOF
103090 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
103091 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
103092 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
103093 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
103094 echo $ECHO_N "(cached) $ECHO_C" >&6
103099 ac_ext=cc
103100 ac_cpp='$CXXCPP $CPPFLAGS'
103101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103105 cat >conftest.$ac_ext <<_ACEOF
103106 /* confdefs.h. */
103107 _ACEOF
103108 cat confdefs.h >>conftest.$ac_ext
103109 cat >>conftest.$ac_ext <<_ACEOF
103110 /* end confdefs.h. */
103111 #include <math.h>
103112 #ifdef HAVE_IEEEFP_H
103113 #include <ieeefp.h>
103114 #endif
103117 main ()
103119 _log10l(0);
103121 return 0;
103123 _ACEOF
103124 rm -f conftest.$ac_objext
103125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103126 (eval $ac_compile) 2>conftest.er1
103127 ac_status=$?
103128 grep -v '^ *+' conftest.er1 >conftest.err
103129 rm -f conftest.er1
103130 cat conftest.err >&5
103131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103132 (exit $ac_status); } &&
103133 { ac_try='test -z "$ac_cxx_werror_flag"
103134 || test ! -s conftest.err'
103135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103136 (eval $ac_try) 2>&5
103137 ac_status=$?
103138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103139 (exit $ac_status); }; } &&
103140 { ac_try='test -s conftest.$ac_objext'
103141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103142 (eval $ac_try) 2>&5
103143 ac_status=$?
103144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103145 (exit $ac_status); }; }; then
103146 glibcxx_cv_func__log10l_use=yes
103148 echo "$as_me: failed program was:" >&5
103149 sed 's/^/| /' conftest.$ac_ext >&5
103151 glibcxx_cv_func__log10l_use=no
103153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103154 ac_ext=c
103155 ac_cpp='$CPP $CPPFLAGS'
103156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
103165 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
103167 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
103169 for ac_func in _log10l
103171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103172 echo "$as_me:$LINENO: checking for $ac_func" >&5
103173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103174 if eval "test \"\${$as_ac_var+set}\" = set"; then
103175 echo $ECHO_N "(cached) $ECHO_C" >&6
103177 if test x$gcc_no_link = xyes; then
103178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103180 { (exit 1); exit 1; }; }
103182 cat >conftest.$ac_ext <<_ACEOF
103183 /* confdefs.h. */
103184 _ACEOF
103185 cat confdefs.h >>conftest.$ac_ext
103186 cat >>conftest.$ac_ext <<_ACEOF
103187 /* end confdefs.h. */
103188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103190 #define $ac_func innocuous_$ac_func
103192 /* System header to define __stub macros and hopefully few prototypes,
103193 which can conflict with char $ac_func (); below.
103194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103195 <limits.h> exists even on freestanding compilers. */
103197 #ifdef __STDC__
103198 # include <limits.h>
103199 #else
103200 # include <assert.h>
103201 #endif
103203 #undef $ac_func
103205 /* Override any gcc2 internal prototype to avoid an error. */
103206 #ifdef __cplusplus
103207 extern "C"
103209 #endif
103210 /* We use char because int might match the return type of a gcc2
103211 builtin and then its argument prototype would still apply. */
103212 char $ac_func ();
103213 /* The GNU C library defines this for functions which it implements
103214 to always fail with ENOSYS. Some functions are actually named
103215 something starting with __ and the normal name is an alias. */
103216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103217 choke me
103218 #else
103219 char (*f) () = $ac_func;
103220 #endif
103221 #ifdef __cplusplus
103223 #endif
103226 main ()
103228 return f != $ac_func;
103230 return 0;
103232 _ACEOF
103233 rm -f conftest.$ac_objext conftest$ac_exeext
103234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103235 (eval $ac_link) 2>conftest.er1
103236 ac_status=$?
103237 grep -v '^ *+' conftest.er1 >conftest.err
103238 rm -f conftest.er1
103239 cat conftest.err >&5
103240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103241 (exit $ac_status); } &&
103242 { ac_try='test -z "$ac_c_werror_flag"
103243 || test ! -s conftest.err'
103244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103245 (eval $ac_try) 2>&5
103246 ac_status=$?
103247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103248 (exit $ac_status); }; } &&
103249 { ac_try='test -s conftest$ac_exeext'
103250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103251 (eval $ac_try) 2>&5
103252 ac_status=$?
103253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103254 (exit $ac_status); }; }; then
103255 eval "$as_ac_var=yes"
103257 echo "$as_me: failed program was:" >&5
103258 sed 's/^/| /' conftest.$ac_ext >&5
103260 eval "$as_ac_var=no"
103262 rm -f conftest.err conftest.$ac_objext \
103263 conftest$ac_exeext conftest.$ac_ext
103265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103267 if test `eval echo '${'$as_ac_var'}'` = yes; then
103268 cat >>confdefs.h <<_ACEOF
103269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103270 _ACEOF
103283 echo "$as_me:$LINENO: checking for modfl declaration" >&5
103284 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
103285 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
103286 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
103287 echo $ECHO_N "(cached) $ECHO_C" >&6
103292 ac_ext=cc
103293 ac_cpp='$CXXCPP $CPPFLAGS'
103294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103298 cat >conftest.$ac_ext <<_ACEOF
103299 /* confdefs.h. */
103300 _ACEOF
103301 cat confdefs.h >>conftest.$ac_ext
103302 cat >>conftest.$ac_ext <<_ACEOF
103303 /* end confdefs.h. */
103304 #include <math.h>
103306 main ()
103308 modfl(0, 0);
103310 return 0;
103312 _ACEOF
103313 rm -f conftest.$ac_objext
103314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103315 (eval $ac_compile) 2>conftest.er1
103316 ac_status=$?
103317 grep -v '^ *+' conftest.er1 >conftest.err
103318 rm -f conftest.er1
103319 cat conftest.err >&5
103320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103321 (exit $ac_status); } &&
103322 { ac_try='test -z "$ac_cxx_werror_flag"
103323 || test ! -s conftest.err'
103324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103325 (eval $ac_try) 2>&5
103326 ac_status=$?
103327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103328 (exit $ac_status); }; } &&
103329 { ac_try='test -s conftest.$ac_objext'
103330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103331 (eval $ac_try) 2>&5
103332 ac_status=$?
103333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103334 (exit $ac_status); }; }; then
103335 glibcxx_cv_func_modfl_use=yes
103337 echo "$as_me: failed program was:" >&5
103338 sed 's/^/| /' conftest.$ac_ext >&5
103340 glibcxx_cv_func_modfl_use=no
103342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103343 ac_ext=c
103344 ac_cpp='$CPP $CPPFLAGS'
103345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103353 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
103354 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
103356 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
103358 for ac_func in modfl
103360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103361 echo "$as_me:$LINENO: checking for $ac_func" >&5
103362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103363 if eval "test \"\${$as_ac_var+set}\" = set"; then
103364 echo $ECHO_N "(cached) $ECHO_C" >&6
103366 if test x$gcc_no_link = xyes; then
103367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103369 { (exit 1); exit 1; }; }
103371 cat >conftest.$ac_ext <<_ACEOF
103372 /* confdefs.h. */
103373 _ACEOF
103374 cat confdefs.h >>conftest.$ac_ext
103375 cat >>conftest.$ac_ext <<_ACEOF
103376 /* end confdefs.h. */
103377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103379 #define $ac_func innocuous_$ac_func
103381 /* System header to define __stub macros and hopefully few prototypes,
103382 which can conflict with char $ac_func (); below.
103383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103384 <limits.h> exists even on freestanding compilers. */
103386 #ifdef __STDC__
103387 # include <limits.h>
103388 #else
103389 # include <assert.h>
103390 #endif
103392 #undef $ac_func
103394 /* Override any gcc2 internal prototype to avoid an error. */
103395 #ifdef __cplusplus
103396 extern "C"
103398 #endif
103399 /* We use char because int might match the return type of a gcc2
103400 builtin and then its argument prototype would still apply. */
103401 char $ac_func ();
103402 /* The GNU C library defines this for functions which it implements
103403 to always fail with ENOSYS. Some functions are actually named
103404 something starting with __ and the normal name is an alias. */
103405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103406 choke me
103407 #else
103408 char (*f) () = $ac_func;
103409 #endif
103410 #ifdef __cplusplus
103412 #endif
103415 main ()
103417 return f != $ac_func;
103419 return 0;
103421 _ACEOF
103422 rm -f conftest.$ac_objext conftest$ac_exeext
103423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103424 (eval $ac_link) 2>conftest.er1
103425 ac_status=$?
103426 grep -v '^ *+' conftest.er1 >conftest.err
103427 rm -f conftest.er1
103428 cat conftest.err >&5
103429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103430 (exit $ac_status); } &&
103431 { ac_try='test -z "$ac_c_werror_flag"
103432 || test ! -s conftest.err'
103433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103434 (eval $ac_try) 2>&5
103435 ac_status=$?
103436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103437 (exit $ac_status); }; } &&
103438 { ac_try='test -s conftest$ac_exeext'
103439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103440 (eval $ac_try) 2>&5
103441 ac_status=$?
103442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103443 (exit $ac_status); }; }; then
103444 eval "$as_ac_var=yes"
103446 echo "$as_me: failed program was:" >&5
103447 sed 's/^/| /' conftest.$ac_ext >&5
103449 eval "$as_ac_var=no"
103451 rm -f conftest.err conftest.$ac_objext \
103452 conftest$ac_exeext conftest.$ac_ext
103454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103456 if test `eval echo '${'$as_ac_var'}'` = yes; then
103457 cat >>confdefs.h <<_ACEOF
103458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103459 _ACEOF
103466 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
103467 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
103468 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
103469 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
103470 echo $ECHO_N "(cached) $ECHO_C" >&6
103475 ac_ext=cc
103476 ac_cpp='$CXXCPP $CPPFLAGS'
103477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103481 cat >conftest.$ac_ext <<_ACEOF
103482 /* confdefs.h. */
103483 _ACEOF
103484 cat confdefs.h >>conftest.$ac_ext
103485 cat >>conftest.$ac_ext <<_ACEOF
103486 /* end confdefs.h. */
103487 #include <math.h>
103489 main ()
103491 _modfl(0, 0);
103493 return 0;
103495 _ACEOF
103496 rm -f conftest.$ac_objext
103497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103498 (eval $ac_compile) 2>conftest.er1
103499 ac_status=$?
103500 grep -v '^ *+' conftest.er1 >conftest.err
103501 rm -f conftest.er1
103502 cat conftest.err >&5
103503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103504 (exit $ac_status); } &&
103505 { ac_try='test -z "$ac_cxx_werror_flag"
103506 || test ! -s conftest.err'
103507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103508 (eval $ac_try) 2>&5
103509 ac_status=$?
103510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103511 (exit $ac_status); }; } &&
103512 { ac_try='test -s conftest.$ac_objext'
103513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103514 (eval $ac_try) 2>&5
103515 ac_status=$?
103516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103517 (exit $ac_status); }; }; then
103518 glibcxx_cv_func__modfl_use=yes
103520 echo "$as_me: failed program was:" >&5
103521 sed 's/^/| /' conftest.$ac_ext >&5
103523 glibcxx_cv_func__modfl_use=no
103525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103526 ac_ext=c
103527 ac_cpp='$CPP $CPPFLAGS'
103528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103536 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
103537 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
103539 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
103541 for ac_func in _modfl
103543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103544 echo "$as_me:$LINENO: checking for $ac_func" >&5
103545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103546 if eval "test \"\${$as_ac_var+set}\" = set"; then
103547 echo $ECHO_N "(cached) $ECHO_C" >&6
103549 if test x$gcc_no_link = xyes; then
103550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103552 { (exit 1); exit 1; }; }
103554 cat >conftest.$ac_ext <<_ACEOF
103555 /* confdefs.h. */
103556 _ACEOF
103557 cat confdefs.h >>conftest.$ac_ext
103558 cat >>conftest.$ac_ext <<_ACEOF
103559 /* end confdefs.h. */
103560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103562 #define $ac_func innocuous_$ac_func
103564 /* System header to define __stub macros and hopefully few prototypes,
103565 which can conflict with char $ac_func (); below.
103566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103567 <limits.h> exists even on freestanding compilers. */
103569 #ifdef __STDC__
103570 # include <limits.h>
103571 #else
103572 # include <assert.h>
103573 #endif
103575 #undef $ac_func
103577 /* Override any gcc2 internal prototype to avoid an error. */
103578 #ifdef __cplusplus
103579 extern "C"
103581 #endif
103582 /* We use char because int might match the return type of a gcc2
103583 builtin and then its argument prototype would still apply. */
103584 char $ac_func ();
103585 /* The GNU C library defines this for functions which it implements
103586 to always fail with ENOSYS. Some functions are actually named
103587 something starting with __ and the normal name is an alias. */
103588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103589 choke me
103590 #else
103591 char (*f) () = $ac_func;
103592 #endif
103593 #ifdef __cplusplus
103595 #endif
103598 main ()
103600 return f != $ac_func;
103602 return 0;
103604 _ACEOF
103605 rm -f conftest.$ac_objext conftest$ac_exeext
103606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103607 (eval $ac_link) 2>conftest.er1
103608 ac_status=$?
103609 grep -v '^ *+' conftest.er1 >conftest.err
103610 rm -f conftest.er1
103611 cat conftest.err >&5
103612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103613 (exit $ac_status); } &&
103614 { ac_try='test -z "$ac_c_werror_flag"
103615 || test ! -s conftest.err'
103616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103617 (eval $ac_try) 2>&5
103618 ac_status=$?
103619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103620 (exit $ac_status); }; } &&
103621 { ac_try='test -s conftest$ac_exeext'
103622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103623 (eval $ac_try) 2>&5
103624 ac_status=$?
103625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103626 (exit $ac_status); }; }; then
103627 eval "$as_ac_var=yes"
103629 echo "$as_me: failed program was:" >&5
103630 sed 's/^/| /' conftest.$ac_ext >&5
103632 eval "$as_ac_var=no"
103634 rm -f conftest.err conftest.$ac_objext \
103635 conftest$ac_exeext conftest.$ac_ext
103637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103639 if test `eval echo '${'$as_ac_var'}'` = yes; then
103640 cat >>confdefs.h <<_ACEOF
103641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103642 _ACEOF
103655 echo "$as_me:$LINENO: checking for powl declaration" >&5
103656 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
103657 if test x${glibcxx_cv_func_powl_use+set} != xset; then
103658 if test "${glibcxx_cv_func_powl_use+set}" = set; then
103659 echo $ECHO_N "(cached) $ECHO_C" >&6
103664 ac_ext=cc
103665 ac_cpp='$CXXCPP $CPPFLAGS'
103666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103670 cat >conftest.$ac_ext <<_ACEOF
103671 /* confdefs.h. */
103672 _ACEOF
103673 cat confdefs.h >>conftest.$ac_ext
103674 cat >>conftest.$ac_ext <<_ACEOF
103675 /* end confdefs.h. */
103676 #include <math.h>
103678 main ()
103680 powl(0, 0);
103682 return 0;
103684 _ACEOF
103685 rm -f conftest.$ac_objext
103686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103687 (eval $ac_compile) 2>conftest.er1
103688 ac_status=$?
103689 grep -v '^ *+' conftest.er1 >conftest.err
103690 rm -f conftest.er1
103691 cat conftest.err >&5
103692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103693 (exit $ac_status); } &&
103694 { ac_try='test -z "$ac_cxx_werror_flag"
103695 || test ! -s conftest.err'
103696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103697 (eval $ac_try) 2>&5
103698 ac_status=$?
103699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103700 (exit $ac_status); }; } &&
103701 { ac_try='test -s conftest.$ac_objext'
103702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103703 (eval $ac_try) 2>&5
103704 ac_status=$?
103705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103706 (exit $ac_status); }; }; then
103707 glibcxx_cv_func_powl_use=yes
103709 echo "$as_me: failed program was:" >&5
103710 sed 's/^/| /' conftest.$ac_ext >&5
103712 glibcxx_cv_func_powl_use=no
103714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103715 ac_ext=c
103716 ac_cpp='$CPP $CPPFLAGS'
103717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103725 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
103726 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
103728 if test x$glibcxx_cv_func_powl_use = x"yes"; then
103730 for ac_func in powl
103732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103733 echo "$as_me:$LINENO: checking for $ac_func" >&5
103734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103735 if eval "test \"\${$as_ac_var+set}\" = set"; then
103736 echo $ECHO_N "(cached) $ECHO_C" >&6
103738 if test x$gcc_no_link = xyes; then
103739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103741 { (exit 1); exit 1; }; }
103743 cat >conftest.$ac_ext <<_ACEOF
103744 /* confdefs.h. */
103745 _ACEOF
103746 cat confdefs.h >>conftest.$ac_ext
103747 cat >>conftest.$ac_ext <<_ACEOF
103748 /* end confdefs.h. */
103749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103751 #define $ac_func innocuous_$ac_func
103753 /* System header to define __stub macros and hopefully few prototypes,
103754 which can conflict with char $ac_func (); below.
103755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103756 <limits.h> exists even on freestanding compilers. */
103758 #ifdef __STDC__
103759 # include <limits.h>
103760 #else
103761 # include <assert.h>
103762 #endif
103764 #undef $ac_func
103766 /* Override any gcc2 internal prototype to avoid an error. */
103767 #ifdef __cplusplus
103768 extern "C"
103770 #endif
103771 /* We use char because int might match the return type of a gcc2
103772 builtin and then its argument prototype would still apply. */
103773 char $ac_func ();
103774 /* The GNU C library defines this for functions which it implements
103775 to always fail with ENOSYS. Some functions are actually named
103776 something starting with __ and the normal name is an alias. */
103777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103778 choke me
103779 #else
103780 char (*f) () = $ac_func;
103781 #endif
103782 #ifdef __cplusplus
103784 #endif
103787 main ()
103789 return f != $ac_func;
103791 return 0;
103793 _ACEOF
103794 rm -f conftest.$ac_objext conftest$ac_exeext
103795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103796 (eval $ac_link) 2>conftest.er1
103797 ac_status=$?
103798 grep -v '^ *+' conftest.er1 >conftest.err
103799 rm -f conftest.er1
103800 cat conftest.err >&5
103801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103802 (exit $ac_status); } &&
103803 { ac_try='test -z "$ac_c_werror_flag"
103804 || test ! -s conftest.err'
103805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103806 (eval $ac_try) 2>&5
103807 ac_status=$?
103808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103809 (exit $ac_status); }; } &&
103810 { ac_try='test -s conftest$ac_exeext'
103811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103812 (eval $ac_try) 2>&5
103813 ac_status=$?
103814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103815 (exit $ac_status); }; }; then
103816 eval "$as_ac_var=yes"
103818 echo "$as_me: failed program was:" >&5
103819 sed 's/^/| /' conftest.$ac_ext >&5
103821 eval "$as_ac_var=no"
103823 rm -f conftest.err conftest.$ac_objext \
103824 conftest$ac_exeext conftest.$ac_ext
103826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103828 if test `eval echo '${'$as_ac_var'}'` = yes; then
103829 cat >>confdefs.h <<_ACEOF
103830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103831 _ACEOF
103838 echo "$as_me:$LINENO: checking for _powl declaration" >&5
103839 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
103840 if test x${glibcxx_cv_func__powl_use+set} != xset; then
103841 if test "${glibcxx_cv_func__powl_use+set}" = set; then
103842 echo $ECHO_N "(cached) $ECHO_C" >&6
103847 ac_ext=cc
103848 ac_cpp='$CXXCPP $CPPFLAGS'
103849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103853 cat >conftest.$ac_ext <<_ACEOF
103854 /* confdefs.h. */
103855 _ACEOF
103856 cat confdefs.h >>conftest.$ac_ext
103857 cat >>conftest.$ac_ext <<_ACEOF
103858 /* end confdefs.h. */
103859 #include <math.h>
103861 main ()
103863 _powl(0, 0);
103865 return 0;
103867 _ACEOF
103868 rm -f conftest.$ac_objext
103869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103870 (eval $ac_compile) 2>conftest.er1
103871 ac_status=$?
103872 grep -v '^ *+' conftest.er1 >conftest.err
103873 rm -f conftest.er1
103874 cat conftest.err >&5
103875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103876 (exit $ac_status); } &&
103877 { ac_try='test -z "$ac_cxx_werror_flag"
103878 || test ! -s conftest.err'
103879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103880 (eval $ac_try) 2>&5
103881 ac_status=$?
103882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103883 (exit $ac_status); }; } &&
103884 { ac_try='test -s conftest.$ac_objext'
103885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103886 (eval $ac_try) 2>&5
103887 ac_status=$?
103888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103889 (exit $ac_status); }; }; then
103890 glibcxx_cv_func__powl_use=yes
103892 echo "$as_me: failed program was:" >&5
103893 sed 's/^/| /' conftest.$ac_ext >&5
103895 glibcxx_cv_func__powl_use=no
103897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103898 ac_ext=c
103899 ac_cpp='$CPP $CPPFLAGS'
103900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103908 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
103909 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
103911 if test x$glibcxx_cv_func__powl_use = x"yes"; then
103913 for ac_func in _powl
103915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103916 echo "$as_me:$LINENO: checking for $ac_func" >&5
103917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103918 if eval "test \"\${$as_ac_var+set}\" = set"; then
103919 echo $ECHO_N "(cached) $ECHO_C" >&6
103921 if test x$gcc_no_link = xyes; then
103922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103924 { (exit 1); exit 1; }; }
103926 cat >conftest.$ac_ext <<_ACEOF
103927 /* confdefs.h. */
103928 _ACEOF
103929 cat confdefs.h >>conftest.$ac_ext
103930 cat >>conftest.$ac_ext <<_ACEOF
103931 /* end confdefs.h. */
103932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103934 #define $ac_func innocuous_$ac_func
103936 /* System header to define __stub macros and hopefully few prototypes,
103937 which can conflict with char $ac_func (); below.
103938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103939 <limits.h> exists even on freestanding compilers. */
103941 #ifdef __STDC__
103942 # include <limits.h>
103943 #else
103944 # include <assert.h>
103945 #endif
103947 #undef $ac_func
103949 /* Override any gcc2 internal prototype to avoid an error. */
103950 #ifdef __cplusplus
103951 extern "C"
103953 #endif
103954 /* We use char because int might match the return type of a gcc2
103955 builtin and then its argument prototype would still apply. */
103956 char $ac_func ();
103957 /* The GNU C library defines this for functions which it implements
103958 to always fail with ENOSYS. Some functions are actually named
103959 something starting with __ and the normal name is an alias. */
103960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103961 choke me
103962 #else
103963 char (*f) () = $ac_func;
103964 #endif
103965 #ifdef __cplusplus
103967 #endif
103970 main ()
103972 return f != $ac_func;
103974 return 0;
103976 _ACEOF
103977 rm -f conftest.$ac_objext conftest$ac_exeext
103978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103979 (eval $ac_link) 2>conftest.er1
103980 ac_status=$?
103981 grep -v '^ *+' conftest.er1 >conftest.err
103982 rm -f conftest.er1
103983 cat conftest.err >&5
103984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103985 (exit $ac_status); } &&
103986 { ac_try='test -z "$ac_c_werror_flag"
103987 || test ! -s conftest.err'
103988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103989 (eval $ac_try) 2>&5
103990 ac_status=$?
103991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103992 (exit $ac_status); }; } &&
103993 { ac_try='test -s conftest$ac_exeext'
103994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103995 (eval $ac_try) 2>&5
103996 ac_status=$?
103997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103998 (exit $ac_status); }; }; then
103999 eval "$as_ac_var=yes"
104001 echo "$as_me: failed program was:" >&5
104002 sed 's/^/| /' conftest.$ac_ext >&5
104004 eval "$as_ac_var=no"
104006 rm -f conftest.err conftest.$ac_objext \
104007 conftest$ac_exeext conftest.$ac_ext
104009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104011 if test `eval echo '${'$as_ac_var'}'` = yes; then
104012 cat >>confdefs.h <<_ACEOF
104013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104014 _ACEOF
104027 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
104028 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
104029 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
104030 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
104031 echo $ECHO_N "(cached) $ECHO_C" >&6
104036 ac_ext=cc
104037 ac_cpp='$CXXCPP $CPPFLAGS'
104038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104042 cat >conftest.$ac_ext <<_ACEOF
104043 /* confdefs.h. */
104044 _ACEOF
104045 cat confdefs.h >>conftest.$ac_ext
104046 cat >>conftest.$ac_ext <<_ACEOF
104047 /* end confdefs.h. */
104048 #include <math.h>
104049 #ifdef HAVE_IEEEFP_H
104050 #include <ieeefp.h>
104051 #endif
104054 main ()
104056 sqrtl(0);
104058 return 0;
104060 _ACEOF
104061 rm -f conftest.$ac_objext
104062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104063 (eval $ac_compile) 2>conftest.er1
104064 ac_status=$?
104065 grep -v '^ *+' conftest.er1 >conftest.err
104066 rm -f conftest.er1
104067 cat conftest.err >&5
104068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104069 (exit $ac_status); } &&
104070 { ac_try='test -z "$ac_cxx_werror_flag"
104071 || test ! -s conftest.err'
104072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104073 (eval $ac_try) 2>&5
104074 ac_status=$?
104075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104076 (exit $ac_status); }; } &&
104077 { ac_try='test -s conftest.$ac_objext'
104078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104079 (eval $ac_try) 2>&5
104080 ac_status=$?
104081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104082 (exit $ac_status); }; }; then
104083 glibcxx_cv_func_sqrtl_use=yes
104085 echo "$as_me: failed program was:" >&5
104086 sed 's/^/| /' conftest.$ac_ext >&5
104088 glibcxx_cv_func_sqrtl_use=no
104090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104091 ac_ext=c
104092 ac_cpp='$CPP $CPPFLAGS'
104093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104101 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
104102 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
104104 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
104106 for ac_func in sqrtl
104108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104109 echo "$as_me:$LINENO: checking for $ac_func" >&5
104110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104111 if eval "test \"\${$as_ac_var+set}\" = set"; then
104112 echo $ECHO_N "(cached) $ECHO_C" >&6
104114 if test x$gcc_no_link = xyes; then
104115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104117 { (exit 1); exit 1; }; }
104119 cat >conftest.$ac_ext <<_ACEOF
104120 /* confdefs.h. */
104121 _ACEOF
104122 cat confdefs.h >>conftest.$ac_ext
104123 cat >>conftest.$ac_ext <<_ACEOF
104124 /* end confdefs.h. */
104125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104127 #define $ac_func innocuous_$ac_func
104129 /* System header to define __stub macros and hopefully few prototypes,
104130 which can conflict with char $ac_func (); below.
104131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104132 <limits.h> exists even on freestanding compilers. */
104134 #ifdef __STDC__
104135 # include <limits.h>
104136 #else
104137 # include <assert.h>
104138 #endif
104140 #undef $ac_func
104142 /* Override any gcc2 internal prototype to avoid an error. */
104143 #ifdef __cplusplus
104144 extern "C"
104146 #endif
104147 /* We use char because int might match the return type of a gcc2
104148 builtin and then its argument prototype would still apply. */
104149 char $ac_func ();
104150 /* The GNU C library defines this for functions which it implements
104151 to always fail with ENOSYS. Some functions are actually named
104152 something starting with __ and the normal name is an alias. */
104153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104154 choke me
104155 #else
104156 char (*f) () = $ac_func;
104157 #endif
104158 #ifdef __cplusplus
104160 #endif
104163 main ()
104165 return f != $ac_func;
104167 return 0;
104169 _ACEOF
104170 rm -f conftest.$ac_objext conftest$ac_exeext
104171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104172 (eval $ac_link) 2>conftest.er1
104173 ac_status=$?
104174 grep -v '^ *+' conftest.er1 >conftest.err
104175 rm -f conftest.er1
104176 cat conftest.err >&5
104177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104178 (exit $ac_status); } &&
104179 { ac_try='test -z "$ac_c_werror_flag"
104180 || test ! -s conftest.err'
104181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104182 (eval $ac_try) 2>&5
104183 ac_status=$?
104184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104185 (exit $ac_status); }; } &&
104186 { ac_try='test -s conftest$ac_exeext'
104187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104188 (eval $ac_try) 2>&5
104189 ac_status=$?
104190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104191 (exit $ac_status); }; }; then
104192 eval "$as_ac_var=yes"
104194 echo "$as_me: failed program was:" >&5
104195 sed 's/^/| /' conftest.$ac_ext >&5
104197 eval "$as_ac_var=no"
104199 rm -f conftest.err conftest.$ac_objext \
104200 conftest$ac_exeext conftest.$ac_ext
104202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104204 if test `eval echo '${'$as_ac_var'}'` = yes; then
104205 cat >>confdefs.h <<_ACEOF
104206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104207 _ACEOF
104214 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
104215 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
104216 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
104217 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
104218 echo $ECHO_N "(cached) $ECHO_C" >&6
104223 ac_ext=cc
104224 ac_cpp='$CXXCPP $CPPFLAGS'
104225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104229 cat >conftest.$ac_ext <<_ACEOF
104230 /* confdefs.h. */
104231 _ACEOF
104232 cat confdefs.h >>conftest.$ac_ext
104233 cat >>conftest.$ac_ext <<_ACEOF
104234 /* end confdefs.h. */
104235 #include <math.h>
104236 #ifdef HAVE_IEEEFP_H
104237 #include <ieeefp.h>
104238 #endif
104241 main ()
104243 _sqrtl(0);
104245 return 0;
104247 _ACEOF
104248 rm -f conftest.$ac_objext
104249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104250 (eval $ac_compile) 2>conftest.er1
104251 ac_status=$?
104252 grep -v '^ *+' conftest.er1 >conftest.err
104253 rm -f conftest.er1
104254 cat conftest.err >&5
104255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104256 (exit $ac_status); } &&
104257 { ac_try='test -z "$ac_cxx_werror_flag"
104258 || test ! -s conftest.err'
104259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104260 (eval $ac_try) 2>&5
104261 ac_status=$?
104262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104263 (exit $ac_status); }; } &&
104264 { ac_try='test -s conftest.$ac_objext'
104265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104266 (eval $ac_try) 2>&5
104267 ac_status=$?
104268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104269 (exit $ac_status); }; }; then
104270 glibcxx_cv_func__sqrtl_use=yes
104272 echo "$as_me: failed program was:" >&5
104273 sed 's/^/| /' conftest.$ac_ext >&5
104275 glibcxx_cv_func__sqrtl_use=no
104277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104278 ac_ext=c
104279 ac_cpp='$CPP $CPPFLAGS'
104280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104288 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
104289 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
104291 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
104293 for ac_func in _sqrtl
104295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104296 echo "$as_me:$LINENO: checking for $ac_func" >&5
104297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104298 if eval "test \"\${$as_ac_var+set}\" = set"; then
104299 echo $ECHO_N "(cached) $ECHO_C" >&6
104301 if test x$gcc_no_link = xyes; then
104302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104304 { (exit 1); exit 1; }; }
104306 cat >conftest.$ac_ext <<_ACEOF
104307 /* confdefs.h. */
104308 _ACEOF
104309 cat confdefs.h >>conftest.$ac_ext
104310 cat >>conftest.$ac_ext <<_ACEOF
104311 /* end confdefs.h. */
104312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104314 #define $ac_func innocuous_$ac_func
104316 /* System header to define __stub macros and hopefully few prototypes,
104317 which can conflict with char $ac_func (); below.
104318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104319 <limits.h> exists even on freestanding compilers. */
104321 #ifdef __STDC__
104322 # include <limits.h>
104323 #else
104324 # include <assert.h>
104325 #endif
104327 #undef $ac_func
104329 /* Override any gcc2 internal prototype to avoid an error. */
104330 #ifdef __cplusplus
104331 extern "C"
104333 #endif
104334 /* We use char because int might match the return type of a gcc2
104335 builtin and then its argument prototype would still apply. */
104336 char $ac_func ();
104337 /* The GNU C library defines this for functions which it implements
104338 to always fail with ENOSYS. Some functions are actually named
104339 something starting with __ and the normal name is an alias. */
104340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104341 choke me
104342 #else
104343 char (*f) () = $ac_func;
104344 #endif
104345 #ifdef __cplusplus
104347 #endif
104350 main ()
104352 return f != $ac_func;
104354 return 0;
104356 _ACEOF
104357 rm -f conftest.$ac_objext conftest$ac_exeext
104358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104359 (eval $ac_link) 2>conftest.er1
104360 ac_status=$?
104361 grep -v '^ *+' conftest.er1 >conftest.err
104362 rm -f conftest.er1
104363 cat conftest.err >&5
104364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104365 (exit $ac_status); } &&
104366 { ac_try='test -z "$ac_c_werror_flag"
104367 || test ! -s conftest.err'
104368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104369 (eval $ac_try) 2>&5
104370 ac_status=$?
104371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104372 (exit $ac_status); }; } &&
104373 { ac_try='test -s conftest$ac_exeext'
104374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104375 (eval $ac_try) 2>&5
104376 ac_status=$?
104377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104378 (exit $ac_status); }; }; then
104379 eval "$as_ac_var=yes"
104381 echo "$as_me: failed program was:" >&5
104382 sed 's/^/| /' conftest.$ac_ext >&5
104384 eval "$as_ac_var=no"
104386 rm -f conftest.err conftest.$ac_objext \
104387 conftest$ac_exeext conftest.$ac_ext
104389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104391 if test `eval echo '${'$as_ac_var'}'` = yes; then
104392 cat >>confdefs.h <<_ACEOF
104393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104394 _ACEOF
104407 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
104408 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
104409 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
104410 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
104411 echo $ECHO_N "(cached) $ECHO_C" >&6
104416 ac_ext=cc
104417 ac_cpp='$CXXCPP $CPPFLAGS'
104418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104422 cat >conftest.$ac_ext <<_ACEOF
104423 /* confdefs.h. */
104424 _ACEOF
104425 cat confdefs.h >>conftest.$ac_ext
104426 cat >>conftest.$ac_ext <<_ACEOF
104427 /* end confdefs.h. */
104428 #include <math.h>
104430 main ()
104432 sincosl(0, 0, 0);
104434 return 0;
104436 _ACEOF
104437 rm -f conftest.$ac_objext
104438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104439 (eval $ac_compile) 2>conftest.er1
104440 ac_status=$?
104441 grep -v '^ *+' conftest.er1 >conftest.err
104442 rm -f conftest.er1
104443 cat conftest.err >&5
104444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104445 (exit $ac_status); } &&
104446 { ac_try='test -z "$ac_cxx_werror_flag"
104447 || test ! -s conftest.err'
104448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104449 (eval $ac_try) 2>&5
104450 ac_status=$?
104451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104452 (exit $ac_status); }; } &&
104453 { ac_try='test -s conftest.$ac_objext'
104454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104455 (eval $ac_try) 2>&5
104456 ac_status=$?
104457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104458 (exit $ac_status); }; }; then
104459 glibcxx_cv_func_sincosl_use=yes
104461 echo "$as_me: failed program was:" >&5
104462 sed 's/^/| /' conftest.$ac_ext >&5
104464 glibcxx_cv_func_sincosl_use=no
104466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104467 ac_ext=c
104468 ac_cpp='$CPP $CPPFLAGS'
104469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104477 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
104478 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
104480 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
104482 for ac_func in sincosl
104484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104485 echo "$as_me:$LINENO: checking for $ac_func" >&5
104486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104487 if eval "test \"\${$as_ac_var+set}\" = set"; then
104488 echo $ECHO_N "(cached) $ECHO_C" >&6
104490 if test x$gcc_no_link = xyes; then
104491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104493 { (exit 1); exit 1; }; }
104495 cat >conftest.$ac_ext <<_ACEOF
104496 /* confdefs.h. */
104497 _ACEOF
104498 cat confdefs.h >>conftest.$ac_ext
104499 cat >>conftest.$ac_ext <<_ACEOF
104500 /* end confdefs.h. */
104501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104503 #define $ac_func innocuous_$ac_func
104505 /* System header to define __stub macros and hopefully few prototypes,
104506 which can conflict with char $ac_func (); below.
104507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104508 <limits.h> exists even on freestanding compilers. */
104510 #ifdef __STDC__
104511 # include <limits.h>
104512 #else
104513 # include <assert.h>
104514 #endif
104516 #undef $ac_func
104518 /* Override any gcc2 internal prototype to avoid an error. */
104519 #ifdef __cplusplus
104520 extern "C"
104522 #endif
104523 /* We use char because int might match the return type of a gcc2
104524 builtin and then its argument prototype would still apply. */
104525 char $ac_func ();
104526 /* The GNU C library defines this for functions which it implements
104527 to always fail with ENOSYS. Some functions are actually named
104528 something starting with __ and the normal name is an alias. */
104529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104530 choke me
104531 #else
104532 char (*f) () = $ac_func;
104533 #endif
104534 #ifdef __cplusplus
104536 #endif
104539 main ()
104541 return f != $ac_func;
104543 return 0;
104545 _ACEOF
104546 rm -f conftest.$ac_objext conftest$ac_exeext
104547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104548 (eval $ac_link) 2>conftest.er1
104549 ac_status=$?
104550 grep -v '^ *+' conftest.er1 >conftest.err
104551 rm -f conftest.er1
104552 cat conftest.err >&5
104553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104554 (exit $ac_status); } &&
104555 { ac_try='test -z "$ac_c_werror_flag"
104556 || test ! -s conftest.err'
104557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104558 (eval $ac_try) 2>&5
104559 ac_status=$?
104560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104561 (exit $ac_status); }; } &&
104562 { ac_try='test -s conftest$ac_exeext'
104563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104564 (eval $ac_try) 2>&5
104565 ac_status=$?
104566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104567 (exit $ac_status); }; }; then
104568 eval "$as_ac_var=yes"
104570 echo "$as_me: failed program was:" >&5
104571 sed 's/^/| /' conftest.$ac_ext >&5
104573 eval "$as_ac_var=no"
104575 rm -f conftest.err conftest.$ac_objext \
104576 conftest$ac_exeext conftest.$ac_ext
104578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104580 if test `eval echo '${'$as_ac_var'}'` = yes; then
104581 cat >>confdefs.h <<_ACEOF
104582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104583 _ACEOF
104590 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
104591 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
104592 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
104593 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
104594 echo $ECHO_N "(cached) $ECHO_C" >&6
104599 ac_ext=cc
104600 ac_cpp='$CXXCPP $CPPFLAGS'
104601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104605 cat >conftest.$ac_ext <<_ACEOF
104606 /* confdefs.h. */
104607 _ACEOF
104608 cat confdefs.h >>conftest.$ac_ext
104609 cat >>conftest.$ac_ext <<_ACEOF
104610 /* end confdefs.h. */
104611 #include <math.h>
104613 main ()
104615 _sincosl(0, 0, 0);
104617 return 0;
104619 _ACEOF
104620 rm -f conftest.$ac_objext
104621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104622 (eval $ac_compile) 2>conftest.er1
104623 ac_status=$?
104624 grep -v '^ *+' conftest.er1 >conftest.err
104625 rm -f conftest.er1
104626 cat conftest.err >&5
104627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104628 (exit $ac_status); } &&
104629 { ac_try='test -z "$ac_cxx_werror_flag"
104630 || test ! -s conftest.err'
104631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104632 (eval $ac_try) 2>&5
104633 ac_status=$?
104634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104635 (exit $ac_status); }; } &&
104636 { ac_try='test -s conftest.$ac_objext'
104637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104638 (eval $ac_try) 2>&5
104639 ac_status=$?
104640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104641 (exit $ac_status); }; }; then
104642 glibcxx_cv_func__sincosl_use=yes
104644 echo "$as_me: failed program was:" >&5
104645 sed 's/^/| /' conftest.$ac_ext >&5
104647 glibcxx_cv_func__sincosl_use=no
104649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104650 ac_ext=c
104651 ac_cpp='$CPP $CPPFLAGS'
104652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104660 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
104661 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
104663 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
104665 for ac_func in _sincosl
104667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104668 echo "$as_me:$LINENO: checking for $ac_func" >&5
104669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104670 if eval "test \"\${$as_ac_var+set}\" = set"; then
104671 echo $ECHO_N "(cached) $ECHO_C" >&6
104673 if test x$gcc_no_link = xyes; then
104674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104676 { (exit 1); exit 1; }; }
104678 cat >conftest.$ac_ext <<_ACEOF
104679 /* confdefs.h. */
104680 _ACEOF
104681 cat confdefs.h >>conftest.$ac_ext
104682 cat >>conftest.$ac_ext <<_ACEOF
104683 /* end confdefs.h. */
104684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104686 #define $ac_func innocuous_$ac_func
104688 /* System header to define __stub macros and hopefully few prototypes,
104689 which can conflict with char $ac_func (); below.
104690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104691 <limits.h> exists even on freestanding compilers. */
104693 #ifdef __STDC__
104694 # include <limits.h>
104695 #else
104696 # include <assert.h>
104697 #endif
104699 #undef $ac_func
104701 /* Override any gcc2 internal prototype to avoid an error. */
104702 #ifdef __cplusplus
104703 extern "C"
104705 #endif
104706 /* We use char because int might match the return type of a gcc2
104707 builtin and then its argument prototype would still apply. */
104708 char $ac_func ();
104709 /* The GNU C library defines this for functions which it implements
104710 to always fail with ENOSYS. Some functions are actually named
104711 something starting with __ and the normal name is an alias. */
104712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104713 choke me
104714 #else
104715 char (*f) () = $ac_func;
104716 #endif
104717 #ifdef __cplusplus
104719 #endif
104722 main ()
104724 return f != $ac_func;
104726 return 0;
104728 _ACEOF
104729 rm -f conftest.$ac_objext conftest$ac_exeext
104730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104731 (eval $ac_link) 2>conftest.er1
104732 ac_status=$?
104733 grep -v '^ *+' conftest.er1 >conftest.err
104734 rm -f conftest.er1
104735 cat conftest.err >&5
104736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104737 (exit $ac_status); } &&
104738 { ac_try='test -z "$ac_c_werror_flag"
104739 || test ! -s conftest.err'
104740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104741 (eval $ac_try) 2>&5
104742 ac_status=$?
104743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104744 (exit $ac_status); }; } &&
104745 { ac_try='test -s conftest$ac_exeext'
104746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104747 (eval $ac_try) 2>&5
104748 ac_status=$?
104749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104750 (exit $ac_status); }; }; then
104751 eval "$as_ac_var=yes"
104753 echo "$as_me: failed program was:" >&5
104754 sed 's/^/| /' conftest.$ac_ext >&5
104756 eval "$as_ac_var=no"
104758 rm -f conftest.err conftest.$ac_objext \
104759 conftest$ac_exeext conftest.$ac_ext
104761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104763 if test `eval echo '${'$as_ac_var'}'` = yes; then
104764 cat >>confdefs.h <<_ACEOF
104765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104766 _ACEOF
104779 echo "$as_me:$LINENO: checking for finitel declaration" >&5
104780 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
104781 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
104782 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
104783 echo $ECHO_N "(cached) $ECHO_C" >&6
104788 ac_ext=cc
104789 ac_cpp='$CXXCPP $CPPFLAGS'
104790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104794 cat >conftest.$ac_ext <<_ACEOF
104795 /* confdefs.h. */
104796 _ACEOF
104797 cat confdefs.h >>conftest.$ac_ext
104798 cat >>conftest.$ac_ext <<_ACEOF
104799 /* end confdefs.h. */
104800 #include <math.h>
104801 #ifdef HAVE_IEEEFP_H
104802 #include <ieeefp.h>
104803 #endif
104806 main ()
104808 finitel(0);
104810 return 0;
104812 _ACEOF
104813 rm -f conftest.$ac_objext
104814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104815 (eval $ac_compile) 2>conftest.er1
104816 ac_status=$?
104817 grep -v '^ *+' conftest.er1 >conftest.err
104818 rm -f conftest.er1
104819 cat conftest.err >&5
104820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104821 (exit $ac_status); } &&
104822 { ac_try='test -z "$ac_cxx_werror_flag"
104823 || test ! -s conftest.err'
104824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104825 (eval $ac_try) 2>&5
104826 ac_status=$?
104827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104828 (exit $ac_status); }; } &&
104829 { ac_try='test -s conftest.$ac_objext'
104830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104831 (eval $ac_try) 2>&5
104832 ac_status=$?
104833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104834 (exit $ac_status); }; }; then
104835 glibcxx_cv_func_finitel_use=yes
104837 echo "$as_me: failed program was:" >&5
104838 sed 's/^/| /' conftest.$ac_ext >&5
104840 glibcxx_cv_func_finitel_use=no
104842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104843 ac_ext=c
104844 ac_cpp='$CPP $CPPFLAGS'
104845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104853 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
104854 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
104856 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
104858 for ac_func in finitel
104860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104861 echo "$as_me:$LINENO: checking for $ac_func" >&5
104862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104863 if eval "test \"\${$as_ac_var+set}\" = set"; then
104864 echo $ECHO_N "(cached) $ECHO_C" >&6
104866 if test x$gcc_no_link = xyes; then
104867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104869 { (exit 1); exit 1; }; }
104871 cat >conftest.$ac_ext <<_ACEOF
104872 /* confdefs.h. */
104873 _ACEOF
104874 cat confdefs.h >>conftest.$ac_ext
104875 cat >>conftest.$ac_ext <<_ACEOF
104876 /* end confdefs.h. */
104877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104879 #define $ac_func innocuous_$ac_func
104881 /* System header to define __stub macros and hopefully few prototypes,
104882 which can conflict with char $ac_func (); below.
104883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104884 <limits.h> exists even on freestanding compilers. */
104886 #ifdef __STDC__
104887 # include <limits.h>
104888 #else
104889 # include <assert.h>
104890 #endif
104892 #undef $ac_func
104894 /* Override any gcc2 internal prototype to avoid an error. */
104895 #ifdef __cplusplus
104896 extern "C"
104898 #endif
104899 /* We use char because int might match the return type of a gcc2
104900 builtin and then its argument prototype would still apply. */
104901 char $ac_func ();
104902 /* The GNU C library defines this for functions which it implements
104903 to always fail with ENOSYS. Some functions are actually named
104904 something starting with __ and the normal name is an alias. */
104905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104906 choke me
104907 #else
104908 char (*f) () = $ac_func;
104909 #endif
104910 #ifdef __cplusplus
104912 #endif
104915 main ()
104917 return f != $ac_func;
104919 return 0;
104921 _ACEOF
104922 rm -f conftest.$ac_objext conftest$ac_exeext
104923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104924 (eval $ac_link) 2>conftest.er1
104925 ac_status=$?
104926 grep -v '^ *+' conftest.er1 >conftest.err
104927 rm -f conftest.er1
104928 cat conftest.err >&5
104929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104930 (exit $ac_status); } &&
104931 { ac_try='test -z "$ac_c_werror_flag"
104932 || test ! -s conftest.err'
104933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104934 (eval $ac_try) 2>&5
104935 ac_status=$?
104936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104937 (exit $ac_status); }; } &&
104938 { ac_try='test -s conftest$ac_exeext'
104939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104940 (eval $ac_try) 2>&5
104941 ac_status=$?
104942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104943 (exit $ac_status); }; }; then
104944 eval "$as_ac_var=yes"
104946 echo "$as_me: failed program was:" >&5
104947 sed 's/^/| /' conftest.$ac_ext >&5
104949 eval "$as_ac_var=no"
104951 rm -f conftest.err conftest.$ac_objext \
104952 conftest$ac_exeext conftest.$ac_ext
104954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104956 if test `eval echo '${'$as_ac_var'}'` = yes; then
104957 cat >>confdefs.h <<_ACEOF
104958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104959 _ACEOF
104966 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
104967 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
104968 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
104969 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
104970 echo $ECHO_N "(cached) $ECHO_C" >&6
104975 ac_ext=cc
104976 ac_cpp='$CXXCPP $CPPFLAGS'
104977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104981 cat >conftest.$ac_ext <<_ACEOF
104982 /* confdefs.h. */
104983 _ACEOF
104984 cat confdefs.h >>conftest.$ac_ext
104985 cat >>conftest.$ac_ext <<_ACEOF
104986 /* end confdefs.h. */
104987 #include <math.h>
104988 #ifdef HAVE_IEEEFP_H
104989 #include <ieeefp.h>
104990 #endif
104993 main ()
104995 _finitel(0);
104997 return 0;
104999 _ACEOF
105000 rm -f conftest.$ac_objext
105001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105002 (eval $ac_compile) 2>conftest.er1
105003 ac_status=$?
105004 grep -v '^ *+' conftest.er1 >conftest.err
105005 rm -f conftest.er1
105006 cat conftest.err >&5
105007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105008 (exit $ac_status); } &&
105009 { ac_try='test -z "$ac_cxx_werror_flag"
105010 || test ! -s conftest.err'
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); }; } &&
105016 { ac_try='test -s conftest.$ac_objext'
105017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105018 (eval $ac_try) 2>&5
105019 ac_status=$?
105020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105021 (exit $ac_status); }; }; then
105022 glibcxx_cv_func__finitel_use=yes
105024 echo "$as_me: failed program was:" >&5
105025 sed 's/^/| /' conftest.$ac_ext >&5
105027 glibcxx_cv_func__finitel_use=no
105029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105030 ac_ext=c
105031 ac_cpp='$CPP $CPPFLAGS'
105032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
105041 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
105043 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
105045 for ac_func in _finitel
105047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105048 echo "$as_me:$LINENO: checking for $ac_func" >&5
105049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105050 if eval "test \"\${$as_ac_var+set}\" = set"; then
105051 echo $ECHO_N "(cached) $ECHO_C" >&6
105053 if test x$gcc_no_link = xyes; then
105054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105056 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105066 #define $ac_func innocuous_$ac_func
105068 /* System header to define __stub macros and hopefully few prototypes,
105069 which can conflict with char $ac_func (); below.
105070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105071 <limits.h> exists even on freestanding compilers. */
105073 #ifdef __STDC__
105074 # include <limits.h>
105075 #else
105076 # include <assert.h>
105077 #endif
105079 #undef $ac_func
105081 /* Override any gcc2 internal prototype to avoid an error. */
105082 #ifdef __cplusplus
105083 extern "C"
105085 #endif
105086 /* We use char because int might match the return type of a gcc2
105087 builtin and then its argument prototype would still apply. */
105088 char $ac_func ();
105089 /* The GNU C library defines this for functions which it implements
105090 to always fail with ENOSYS. Some functions are actually named
105091 something starting with __ and the normal name is an alias. */
105092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105093 choke me
105094 #else
105095 char (*f) () = $ac_func;
105096 #endif
105097 #ifdef __cplusplus
105099 #endif
105102 main ()
105104 return f != $ac_func;
105106 return 0;
105108 _ACEOF
105109 rm -f conftest.$ac_objext conftest$ac_exeext
105110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105111 (eval $ac_link) 2>conftest.er1
105112 ac_status=$?
105113 grep -v '^ *+' conftest.er1 >conftest.err
105114 rm -f conftest.er1
105115 cat conftest.err >&5
105116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105117 (exit $ac_status); } &&
105118 { ac_try='test -z "$ac_c_werror_flag"
105119 || test ! -s conftest.err'
105120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105121 (eval $ac_try) 2>&5
105122 ac_status=$?
105123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105124 (exit $ac_status); }; } &&
105125 { ac_try='test -s conftest$ac_exeext'
105126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105127 (eval $ac_try) 2>&5
105128 ac_status=$?
105129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105130 (exit $ac_status); }; }; then
105131 eval "$as_ac_var=yes"
105133 echo "$as_me: failed program was:" >&5
105134 sed 's/^/| /' conftest.$ac_ext >&5
105136 eval "$as_ac_var=no"
105138 rm -f conftest.err conftest.$ac_objext \
105139 conftest$ac_exeext conftest.$ac_ext
105141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105143 if test `eval echo '${'$as_ac_var'}'` = yes; then
105144 cat >>confdefs.h <<_ACEOF
105145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105146 _ACEOF
105158 LIBS="$ac_save_LIBS"
105159 CXXFLAGS="$ac_save_CXXFLAGS"
105163 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
105164 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
105165 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
105166 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
105167 echo $ECHO_N "(cached) $ECHO_C" >&6
105172 ac_ext=cc
105173 ac_cpp='$CXXCPP $CPPFLAGS'
105174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105178 cat >conftest.$ac_ext <<_ACEOF
105179 /* confdefs.h. */
105180 _ACEOF
105181 cat confdefs.h >>conftest.$ac_ext
105182 cat >>conftest.$ac_ext <<_ACEOF
105183 /* end confdefs.h. */
105184 #include <math.h>
105186 main ()
105188 __builtin_abs(0);
105190 return 0;
105192 _ACEOF
105193 rm -f conftest.$ac_objext
105194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105195 (eval $ac_compile) 2>conftest.er1
105196 ac_status=$?
105197 grep -v '^ *+' conftest.er1 >conftest.err
105198 rm -f conftest.er1
105199 cat conftest.err >&5
105200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105201 (exit $ac_status); } &&
105202 { ac_try='test -z "$ac_cxx_werror_flag"
105203 || test ! -s conftest.err'
105204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105205 (eval $ac_try) 2>&5
105206 ac_status=$?
105207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105208 (exit $ac_status); }; } &&
105209 { ac_try='test -s conftest.$ac_objext'
105210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105211 (eval $ac_try) 2>&5
105212 ac_status=$?
105213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105214 (exit $ac_status); }; }; then
105215 glibcxx_cv_func___builtin_abs_use=yes
105217 echo "$as_me: failed program was:" >&5
105218 sed 's/^/| /' conftest.$ac_ext >&5
105220 glibcxx_cv_func___builtin_abs_use=no
105222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105223 ac_ext=c
105224 ac_cpp='$CPP $CPPFLAGS'
105225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105233 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
105234 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
105235 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
105236 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
105237 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
105238 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
105239 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
105240 echo $ECHO_N "(cached) $ECHO_C" >&6
105243 if test x$gcc_no_link = xyes; then
105244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105246 { (exit 1); exit 1; }; }
105248 cat >conftest.$ac_ext <<_ACEOF
105249 /* confdefs.h. */
105250 _ACEOF
105251 cat confdefs.h >>conftest.$ac_ext
105252 cat >>conftest.$ac_ext <<_ACEOF
105253 /* end confdefs.h. */
105254 #include <math.h>
105256 main ()
105258 __builtin_abs(0);
105260 return 0;
105262 _ACEOF
105263 rm -f conftest.$ac_objext conftest$ac_exeext
105264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105265 (eval $ac_link) 2>conftest.er1
105266 ac_status=$?
105267 grep -v '^ *+' conftest.er1 >conftest.err
105268 rm -f conftest.er1
105269 cat conftest.err >&5
105270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105271 (exit $ac_status); } &&
105272 { ac_try='test -z "$ac_c_werror_flag"
105273 || test ! -s conftest.err'
105274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105275 (eval $ac_try) 2>&5
105276 ac_status=$?
105277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105278 (exit $ac_status); }; } &&
105279 { ac_try='test -s conftest$ac_exeext'
105280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105281 (eval $ac_try) 2>&5
105282 ac_status=$?
105283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105284 (exit $ac_status); }; }; then
105285 glibcxx_cv_func___builtin_abs_link=yes
105287 echo "$as_me: failed program was:" >&5
105288 sed 's/^/| /' conftest.$ac_ext >&5
105290 glibcxx_cv_func___builtin_abs_link=no
105292 rm -f conftest.err conftest.$ac_objext \
105293 conftest$ac_exeext conftest.$ac_ext
105298 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
105299 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
105301 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
105303 cat >>confdefs.h <<\_ACEOF
105304 #define HAVE___BUILTIN_ABS 1
105305 _ACEOF
105312 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
105313 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
105314 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
105315 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
105316 echo $ECHO_N "(cached) $ECHO_C" >&6
105321 ac_ext=cc
105322 ac_cpp='$CXXCPP $CPPFLAGS'
105323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105327 cat >conftest.$ac_ext <<_ACEOF
105328 /* confdefs.h. */
105329 _ACEOF
105330 cat confdefs.h >>conftest.$ac_ext
105331 cat >>conftest.$ac_ext <<_ACEOF
105332 /* end confdefs.h. */
105333 #include <math.h>
105335 main ()
105337 __builtin_fabsf(0);
105339 return 0;
105341 _ACEOF
105342 rm -f conftest.$ac_objext
105343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105344 (eval $ac_compile) 2>conftest.er1
105345 ac_status=$?
105346 grep -v '^ *+' conftest.er1 >conftest.err
105347 rm -f conftest.er1
105348 cat conftest.err >&5
105349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105350 (exit $ac_status); } &&
105351 { ac_try='test -z "$ac_cxx_werror_flag"
105352 || test ! -s conftest.err'
105353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105354 (eval $ac_try) 2>&5
105355 ac_status=$?
105356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105357 (exit $ac_status); }; } &&
105358 { ac_try='test -s conftest.$ac_objext'
105359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105360 (eval $ac_try) 2>&5
105361 ac_status=$?
105362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105363 (exit $ac_status); }; }; then
105364 glibcxx_cv_func___builtin_fabsf_use=yes
105366 echo "$as_me: failed program was:" >&5
105367 sed 's/^/| /' conftest.$ac_ext >&5
105369 glibcxx_cv_func___builtin_fabsf_use=no
105371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105372 ac_ext=c
105373 ac_cpp='$CPP $CPPFLAGS'
105374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105382 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
105383 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
105384 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
105385 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
105386 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
105387 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
105388 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
105389 echo $ECHO_N "(cached) $ECHO_C" >&6
105392 if test x$gcc_no_link = xyes; then
105393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105395 { (exit 1); exit 1; }; }
105397 cat >conftest.$ac_ext <<_ACEOF
105398 /* confdefs.h. */
105399 _ACEOF
105400 cat confdefs.h >>conftest.$ac_ext
105401 cat >>conftest.$ac_ext <<_ACEOF
105402 /* end confdefs.h. */
105403 #include <math.h>
105405 main ()
105407 __builtin_fabsf(0);
105409 return 0;
105411 _ACEOF
105412 rm -f conftest.$ac_objext conftest$ac_exeext
105413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105414 (eval $ac_link) 2>conftest.er1
105415 ac_status=$?
105416 grep -v '^ *+' conftest.er1 >conftest.err
105417 rm -f conftest.er1
105418 cat conftest.err >&5
105419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105420 (exit $ac_status); } &&
105421 { ac_try='test -z "$ac_c_werror_flag"
105422 || test ! -s conftest.err'
105423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105424 (eval $ac_try) 2>&5
105425 ac_status=$?
105426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105427 (exit $ac_status); }; } &&
105428 { ac_try='test -s conftest$ac_exeext'
105429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105430 (eval $ac_try) 2>&5
105431 ac_status=$?
105432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105433 (exit $ac_status); }; }; then
105434 glibcxx_cv_func___builtin_fabsf_link=yes
105436 echo "$as_me: failed program was:" >&5
105437 sed 's/^/| /' conftest.$ac_ext >&5
105439 glibcxx_cv_func___builtin_fabsf_link=no
105441 rm -f conftest.err conftest.$ac_objext \
105442 conftest$ac_exeext conftest.$ac_ext
105447 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
105448 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
105450 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
105452 cat >>confdefs.h <<\_ACEOF
105453 #define HAVE___BUILTIN_FABSF 1
105454 _ACEOF
105461 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
105462 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
105463 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
105464 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
105465 echo $ECHO_N "(cached) $ECHO_C" >&6
105470 ac_ext=cc
105471 ac_cpp='$CXXCPP $CPPFLAGS'
105472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105476 cat >conftest.$ac_ext <<_ACEOF
105477 /* confdefs.h. */
105478 _ACEOF
105479 cat confdefs.h >>conftest.$ac_ext
105480 cat >>conftest.$ac_ext <<_ACEOF
105481 /* end confdefs.h. */
105482 #include <math.h>
105484 main ()
105486 __builtin_fabs(0);
105488 return 0;
105490 _ACEOF
105491 rm -f conftest.$ac_objext
105492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105493 (eval $ac_compile) 2>conftest.er1
105494 ac_status=$?
105495 grep -v '^ *+' conftest.er1 >conftest.err
105496 rm -f conftest.er1
105497 cat conftest.err >&5
105498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105499 (exit $ac_status); } &&
105500 { ac_try='test -z "$ac_cxx_werror_flag"
105501 || test ! -s conftest.err'
105502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105503 (eval $ac_try) 2>&5
105504 ac_status=$?
105505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105506 (exit $ac_status); }; } &&
105507 { ac_try='test -s conftest.$ac_objext'
105508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105509 (eval $ac_try) 2>&5
105510 ac_status=$?
105511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105512 (exit $ac_status); }; }; then
105513 glibcxx_cv_func___builtin_fabs_use=yes
105515 echo "$as_me: failed program was:" >&5
105516 sed 's/^/| /' conftest.$ac_ext >&5
105518 glibcxx_cv_func___builtin_fabs_use=no
105520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105521 ac_ext=c
105522 ac_cpp='$CPP $CPPFLAGS'
105523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105531 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
105532 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
105533 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
105534 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
105535 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
105536 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
105537 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
105538 echo $ECHO_N "(cached) $ECHO_C" >&6
105541 if test x$gcc_no_link = xyes; then
105542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105544 { (exit 1); exit 1; }; }
105546 cat >conftest.$ac_ext <<_ACEOF
105547 /* confdefs.h. */
105548 _ACEOF
105549 cat confdefs.h >>conftest.$ac_ext
105550 cat >>conftest.$ac_ext <<_ACEOF
105551 /* end confdefs.h. */
105552 #include <math.h>
105554 main ()
105556 __builtin_fabs(0);
105558 return 0;
105560 _ACEOF
105561 rm -f conftest.$ac_objext conftest$ac_exeext
105562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105563 (eval $ac_link) 2>conftest.er1
105564 ac_status=$?
105565 grep -v '^ *+' conftest.er1 >conftest.err
105566 rm -f conftest.er1
105567 cat conftest.err >&5
105568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105569 (exit $ac_status); } &&
105570 { ac_try='test -z "$ac_c_werror_flag"
105571 || test ! -s conftest.err'
105572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105573 (eval $ac_try) 2>&5
105574 ac_status=$?
105575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105576 (exit $ac_status); }; } &&
105577 { ac_try='test -s conftest$ac_exeext'
105578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105579 (eval $ac_try) 2>&5
105580 ac_status=$?
105581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105582 (exit $ac_status); }; }; then
105583 glibcxx_cv_func___builtin_fabs_link=yes
105585 echo "$as_me: failed program was:" >&5
105586 sed 's/^/| /' conftest.$ac_ext >&5
105588 glibcxx_cv_func___builtin_fabs_link=no
105590 rm -f conftest.err conftest.$ac_objext \
105591 conftest$ac_exeext conftest.$ac_ext
105596 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
105597 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
105599 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
105601 cat >>confdefs.h <<\_ACEOF
105602 #define HAVE___BUILTIN_FABS 1
105603 _ACEOF
105610 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
105611 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
105612 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
105613 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
105614 echo $ECHO_N "(cached) $ECHO_C" >&6
105619 ac_ext=cc
105620 ac_cpp='$CXXCPP $CPPFLAGS'
105621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105625 cat >conftest.$ac_ext <<_ACEOF
105626 /* confdefs.h. */
105627 _ACEOF
105628 cat confdefs.h >>conftest.$ac_ext
105629 cat >>conftest.$ac_ext <<_ACEOF
105630 /* end confdefs.h. */
105631 #include <math.h>
105633 main ()
105635 __builtin_fabsl(0);
105637 return 0;
105639 _ACEOF
105640 rm -f conftest.$ac_objext
105641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105642 (eval $ac_compile) 2>conftest.er1
105643 ac_status=$?
105644 grep -v '^ *+' conftest.er1 >conftest.err
105645 rm -f conftest.er1
105646 cat conftest.err >&5
105647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105648 (exit $ac_status); } &&
105649 { ac_try='test -z "$ac_cxx_werror_flag"
105650 || test ! -s conftest.err'
105651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105652 (eval $ac_try) 2>&5
105653 ac_status=$?
105654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105655 (exit $ac_status); }; } &&
105656 { ac_try='test -s conftest.$ac_objext'
105657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105658 (eval $ac_try) 2>&5
105659 ac_status=$?
105660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105661 (exit $ac_status); }; }; then
105662 glibcxx_cv_func___builtin_fabsl_use=yes
105664 echo "$as_me: failed program was:" >&5
105665 sed 's/^/| /' conftest.$ac_ext >&5
105667 glibcxx_cv_func___builtin_fabsl_use=no
105669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105670 ac_ext=c
105671 ac_cpp='$CPP $CPPFLAGS'
105672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105680 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
105681 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
105682 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
105683 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
105684 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
105685 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
105686 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
105687 echo $ECHO_N "(cached) $ECHO_C" >&6
105690 if test x$gcc_no_link = xyes; then
105691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105693 { (exit 1); exit 1; }; }
105695 cat >conftest.$ac_ext <<_ACEOF
105696 /* confdefs.h. */
105697 _ACEOF
105698 cat confdefs.h >>conftest.$ac_ext
105699 cat >>conftest.$ac_ext <<_ACEOF
105700 /* end confdefs.h. */
105701 #include <math.h>
105703 main ()
105705 __builtin_fabsl(0);
105707 return 0;
105709 _ACEOF
105710 rm -f conftest.$ac_objext conftest$ac_exeext
105711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105712 (eval $ac_link) 2>conftest.er1
105713 ac_status=$?
105714 grep -v '^ *+' conftest.er1 >conftest.err
105715 rm -f conftest.er1
105716 cat conftest.err >&5
105717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105718 (exit $ac_status); } &&
105719 { ac_try='test -z "$ac_c_werror_flag"
105720 || test ! -s conftest.err'
105721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105722 (eval $ac_try) 2>&5
105723 ac_status=$?
105724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105725 (exit $ac_status); }; } &&
105726 { ac_try='test -s conftest$ac_exeext'
105727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105728 (eval $ac_try) 2>&5
105729 ac_status=$?
105730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105731 (exit $ac_status); }; }; then
105732 glibcxx_cv_func___builtin_fabsl_link=yes
105734 echo "$as_me: failed program was:" >&5
105735 sed 's/^/| /' conftest.$ac_ext >&5
105737 glibcxx_cv_func___builtin_fabsl_link=no
105739 rm -f conftest.err conftest.$ac_objext \
105740 conftest$ac_exeext conftest.$ac_ext
105745 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
105746 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
105748 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
105750 cat >>confdefs.h <<\_ACEOF
105751 #define HAVE___BUILTIN_FABSL 1
105752 _ACEOF
105759 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
105760 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
105761 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
105762 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
105763 echo $ECHO_N "(cached) $ECHO_C" >&6
105768 ac_ext=cc
105769 ac_cpp='$CXXCPP $CPPFLAGS'
105770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105774 cat >conftest.$ac_ext <<_ACEOF
105775 /* confdefs.h. */
105776 _ACEOF
105777 cat confdefs.h >>conftest.$ac_ext
105778 cat >>conftest.$ac_ext <<_ACEOF
105779 /* end confdefs.h. */
105780 #include <math.h>
105782 main ()
105784 __builtin_labs(0);
105786 return 0;
105788 _ACEOF
105789 rm -f conftest.$ac_objext
105790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105791 (eval $ac_compile) 2>conftest.er1
105792 ac_status=$?
105793 grep -v '^ *+' conftest.er1 >conftest.err
105794 rm -f conftest.er1
105795 cat conftest.err >&5
105796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105797 (exit $ac_status); } &&
105798 { ac_try='test -z "$ac_cxx_werror_flag"
105799 || test ! -s conftest.err'
105800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105801 (eval $ac_try) 2>&5
105802 ac_status=$?
105803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105804 (exit $ac_status); }; } &&
105805 { ac_try='test -s conftest.$ac_objext'
105806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105807 (eval $ac_try) 2>&5
105808 ac_status=$?
105809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105810 (exit $ac_status); }; }; then
105811 glibcxx_cv_func___builtin_labs_use=yes
105813 echo "$as_me: failed program was:" >&5
105814 sed 's/^/| /' conftest.$ac_ext >&5
105816 glibcxx_cv_func___builtin_labs_use=no
105818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105819 ac_ext=c
105820 ac_cpp='$CPP $CPPFLAGS'
105821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105829 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
105830 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
105831 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
105832 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
105833 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
105834 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
105835 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
105836 echo $ECHO_N "(cached) $ECHO_C" >&6
105839 if test x$gcc_no_link = xyes; then
105840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105842 { (exit 1); exit 1; }; }
105844 cat >conftest.$ac_ext <<_ACEOF
105845 /* confdefs.h. */
105846 _ACEOF
105847 cat confdefs.h >>conftest.$ac_ext
105848 cat >>conftest.$ac_ext <<_ACEOF
105849 /* end confdefs.h. */
105850 #include <math.h>
105852 main ()
105854 __builtin_labs(0);
105856 return 0;
105858 _ACEOF
105859 rm -f conftest.$ac_objext conftest$ac_exeext
105860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105861 (eval $ac_link) 2>conftest.er1
105862 ac_status=$?
105863 grep -v '^ *+' conftest.er1 >conftest.err
105864 rm -f conftest.er1
105865 cat conftest.err >&5
105866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105867 (exit $ac_status); } &&
105868 { ac_try='test -z "$ac_c_werror_flag"
105869 || test ! -s conftest.err'
105870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105871 (eval $ac_try) 2>&5
105872 ac_status=$?
105873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105874 (exit $ac_status); }; } &&
105875 { ac_try='test -s conftest$ac_exeext'
105876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105877 (eval $ac_try) 2>&5
105878 ac_status=$?
105879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105880 (exit $ac_status); }; }; then
105881 glibcxx_cv_func___builtin_labs_link=yes
105883 echo "$as_me: failed program was:" >&5
105884 sed 's/^/| /' conftest.$ac_ext >&5
105886 glibcxx_cv_func___builtin_labs_link=no
105888 rm -f conftest.err conftest.$ac_objext \
105889 conftest$ac_exeext conftest.$ac_ext
105894 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
105895 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
105897 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
105899 cat >>confdefs.h <<\_ACEOF
105900 #define HAVE___BUILTIN_LABS 1
105901 _ACEOF
105909 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
105910 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
105911 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
105912 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
105913 echo $ECHO_N "(cached) $ECHO_C" >&6
105918 ac_ext=cc
105919 ac_cpp='$CXXCPP $CPPFLAGS'
105920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105924 cat >conftest.$ac_ext <<_ACEOF
105925 /* confdefs.h. */
105926 _ACEOF
105927 cat confdefs.h >>conftest.$ac_ext
105928 cat >>conftest.$ac_ext <<_ACEOF
105929 /* end confdefs.h. */
105930 #include <math.h>
105932 main ()
105934 __builtin_sqrtf(0);
105936 return 0;
105938 _ACEOF
105939 rm -f conftest.$ac_objext
105940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105941 (eval $ac_compile) 2>conftest.er1
105942 ac_status=$?
105943 grep -v '^ *+' conftest.er1 >conftest.err
105944 rm -f conftest.er1
105945 cat conftest.err >&5
105946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105947 (exit $ac_status); } &&
105948 { ac_try='test -z "$ac_cxx_werror_flag"
105949 || test ! -s conftest.err'
105950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105951 (eval $ac_try) 2>&5
105952 ac_status=$?
105953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105954 (exit $ac_status); }; } &&
105955 { ac_try='test -s conftest.$ac_objext'
105956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105957 (eval $ac_try) 2>&5
105958 ac_status=$?
105959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105960 (exit $ac_status); }; }; then
105961 glibcxx_cv_func___builtin_sqrtf_use=yes
105963 echo "$as_me: failed program was:" >&5
105964 sed 's/^/| /' conftest.$ac_ext >&5
105966 glibcxx_cv_func___builtin_sqrtf_use=no
105968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105969 ac_ext=c
105970 ac_cpp='$CPP $CPPFLAGS'
105971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105979 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
105980 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
105981 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
105982 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
105983 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
105984 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
105985 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
105986 echo $ECHO_N "(cached) $ECHO_C" >&6
105989 if test x$gcc_no_link = xyes; then
105990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105992 { (exit 1); exit 1; }; }
105994 cat >conftest.$ac_ext <<_ACEOF
105995 /* confdefs.h. */
105996 _ACEOF
105997 cat confdefs.h >>conftest.$ac_ext
105998 cat >>conftest.$ac_ext <<_ACEOF
105999 /* end confdefs.h. */
106000 #include <math.h>
106002 main ()
106004 __builtin_sqrtf(0);
106006 return 0;
106008 _ACEOF
106009 rm -f conftest.$ac_objext conftest$ac_exeext
106010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106011 (eval $ac_link) 2>conftest.er1
106012 ac_status=$?
106013 grep -v '^ *+' conftest.er1 >conftest.err
106014 rm -f conftest.er1
106015 cat conftest.err >&5
106016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106017 (exit $ac_status); } &&
106018 { ac_try='test -z "$ac_c_werror_flag"
106019 || test ! -s conftest.err'
106020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106021 (eval $ac_try) 2>&5
106022 ac_status=$?
106023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106024 (exit $ac_status); }; } &&
106025 { ac_try='test -s conftest$ac_exeext'
106026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106027 (eval $ac_try) 2>&5
106028 ac_status=$?
106029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106030 (exit $ac_status); }; }; then
106031 glibcxx_cv_func___builtin_sqrtf_link=yes
106033 echo "$as_me: failed program was:" >&5
106034 sed 's/^/| /' conftest.$ac_ext >&5
106036 glibcxx_cv_func___builtin_sqrtf_link=no
106038 rm -f conftest.err conftest.$ac_objext \
106039 conftest$ac_exeext conftest.$ac_ext
106044 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
106045 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
106047 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
106049 cat >>confdefs.h <<\_ACEOF
106050 #define HAVE___BUILTIN_SQRTF 1
106051 _ACEOF
106058 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
106059 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
106060 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
106061 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
106062 echo $ECHO_N "(cached) $ECHO_C" >&6
106067 ac_ext=cc
106068 ac_cpp='$CXXCPP $CPPFLAGS'
106069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106073 cat >conftest.$ac_ext <<_ACEOF
106074 /* confdefs.h. */
106075 _ACEOF
106076 cat confdefs.h >>conftest.$ac_ext
106077 cat >>conftest.$ac_ext <<_ACEOF
106078 /* end confdefs.h. */
106079 #include <math.h>
106081 main ()
106083 __builtin_sqrt(0);
106085 return 0;
106087 _ACEOF
106088 rm -f conftest.$ac_objext
106089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106090 (eval $ac_compile) 2>conftest.er1
106091 ac_status=$?
106092 grep -v '^ *+' conftest.er1 >conftest.err
106093 rm -f conftest.er1
106094 cat conftest.err >&5
106095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106096 (exit $ac_status); } &&
106097 { ac_try='test -z "$ac_cxx_werror_flag"
106098 || test ! -s conftest.err'
106099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106100 (eval $ac_try) 2>&5
106101 ac_status=$?
106102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106103 (exit $ac_status); }; } &&
106104 { ac_try='test -s conftest.$ac_objext'
106105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106106 (eval $ac_try) 2>&5
106107 ac_status=$?
106108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106109 (exit $ac_status); }; }; then
106110 glibcxx_cv_func___builtin_sqrt_use=yes
106112 echo "$as_me: failed program was:" >&5
106113 sed 's/^/| /' conftest.$ac_ext >&5
106115 glibcxx_cv_func___builtin_sqrt_use=no
106117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106118 ac_ext=c
106119 ac_cpp='$CPP $CPPFLAGS'
106120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106128 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
106129 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
106130 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
106131 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
106132 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
106133 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
106134 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
106135 echo $ECHO_N "(cached) $ECHO_C" >&6
106138 if test x$gcc_no_link = xyes; then
106139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106141 { (exit 1); exit 1; }; }
106143 cat >conftest.$ac_ext <<_ACEOF
106144 /* confdefs.h. */
106145 _ACEOF
106146 cat confdefs.h >>conftest.$ac_ext
106147 cat >>conftest.$ac_ext <<_ACEOF
106148 /* end confdefs.h. */
106149 #include <math.h>
106151 main ()
106153 __builtin_sqrt(0);
106155 return 0;
106157 _ACEOF
106158 rm -f conftest.$ac_objext conftest$ac_exeext
106159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106160 (eval $ac_link) 2>conftest.er1
106161 ac_status=$?
106162 grep -v '^ *+' conftest.er1 >conftest.err
106163 rm -f conftest.er1
106164 cat conftest.err >&5
106165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106166 (exit $ac_status); } &&
106167 { ac_try='test -z "$ac_c_werror_flag"
106168 || test ! -s conftest.err'
106169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106170 (eval $ac_try) 2>&5
106171 ac_status=$?
106172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106173 (exit $ac_status); }; } &&
106174 { ac_try='test -s conftest$ac_exeext'
106175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106176 (eval $ac_try) 2>&5
106177 ac_status=$?
106178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106179 (exit $ac_status); }; }; then
106180 glibcxx_cv_func___builtin_sqrt_link=yes
106182 echo "$as_me: failed program was:" >&5
106183 sed 's/^/| /' conftest.$ac_ext >&5
106185 glibcxx_cv_func___builtin_sqrt_link=no
106187 rm -f conftest.err conftest.$ac_objext \
106188 conftest$ac_exeext conftest.$ac_ext
106193 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
106194 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
106196 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
106198 cat >>confdefs.h <<\_ACEOF
106199 #define HAVE___BUILTIN_SQRT 1
106200 _ACEOF
106207 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
106208 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
106209 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
106210 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
106211 echo $ECHO_N "(cached) $ECHO_C" >&6
106216 ac_ext=cc
106217 ac_cpp='$CXXCPP $CPPFLAGS'
106218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106222 cat >conftest.$ac_ext <<_ACEOF
106223 /* confdefs.h. */
106224 _ACEOF
106225 cat confdefs.h >>conftest.$ac_ext
106226 cat >>conftest.$ac_ext <<_ACEOF
106227 /* end confdefs.h. */
106228 #include <math.h>
106230 main ()
106232 __builtin_sqrtl(0);
106234 return 0;
106236 _ACEOF
106237 rm -f conftest.$ac_objext
106238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106239 (eval $ac_compile) 2>conftest.er1
106240 ac_status=$?
106241 grep -v '^ *+' conftest.er1 >conftest.err
106242 rm -f conftest.er1
106243 cat conftest.err >&5
106244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106245 (exit $ac_status); } &&
106246 { ac_try='test -z "$ac_cxx_werror_flag"
106247 || test ! -s conftest.err'
106248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106249 (eval $ac_try) 2>&5
106250 ac_status=$?
106251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106252 (exit $ac_status); }; } &&
106253 { ac_try='test -s conftest.$ac_objext'
106254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106255 (eval $ac_try) 2>&5
106256 ac_status=$?
106257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106258 (exit $ac_status); }; }; then
106259 glibcxx_cv_func___builtin_sqrtl_use=yes
106261 echo "$as_me: failed program was:" >&5
106262 sed 's/^/| /' conftest.$ac_ext >&5
106264 glibcxx_cv_func___builtin_sqrtl_use=no
106266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106267 ac_ext=c
106268 ac_cpp='$CPP $CPPFLAGS'
106269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106277 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
106278 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
106279 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
106280 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
106281 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
106282 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
106283 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
106284 echo $ECHO_N "(cached) $ECHO_C" >&6
106287 if test x$gcc_no_link = xyes; then
106288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106290 { (exit 1); exit 1; }; }
106292 cat >conftest.$ac_ext <<_ACEOF
106293 /* confdefs.h. */
106294 _ACEOF
106295 cat confdefs.h >>conftest.$ac_ext
106296 cat >>conftest.$ac_ext <<_ACEOF
106297 /* end confdefs.h. */
106298 #include <math.h>
106300 main ()
106302 __builtin_sqrtl(0);
106304 return 0;
106306 _ACEOF
106307 rm -f conftest.$ac_objext conftest$ac_exeext
106308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106309 (eval $ac_link) 2>conftest.er1
106310 ac_status=$?
106311 grep -v '^ *+' conftest.er1 >conftest.err
106312 rm -f conftest.er1
106313 cat conftest.err >&5
106314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106315 (exit $ac_status); } &&
106316 { ac_try='test -z "$ac_c_werror_flag"
106317 || test ! -s conftest.err'
106318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106319 (eval $ac_try) 2>&5
106320 ac_status=$?
106321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106322 (exit $ac_status); }; } &&
106323 { ac_try='test -s conftest$ac_exeext'
106324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106325 (eval $ac_try) 2>&5
106326 ac_status=$?
106327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106328 (exit $ac_status); }; }; then
106329 glibcxx_cv_func___builtin_sqrtl_link=yes
106331 echo "$as_me: failed program was:" >&5
106332 sed 's/^/| /' conftest.$ac_ext >&5
106334 glibcxx_cv_func___builtin_sqrtl_link=no
106336 rm -f conftest.err conftest.$ac_objext \
106337 conftest$ac_exeext conftest.$ac_ext
106342 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
106343 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
106345 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
106347 cat >>confdefs.h <<\_ACEOF
106348 #define HAVE___BUILTIN_SQRTL 1
106349 _ACEOF
106357 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
106358 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
106359 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
106360 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
106361 echo $ECHO_N "(cached) $ECHO_C" >&6
106366 ac_ext=cc
106367 ac_cpp='$CXXCPP $CPPFLAGS'
106368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106372 cat >conftest.$ac_ext <<_ACEOF
106373 /* confdefs.h. */
106374 _ACEOF
106375 cat confdefs.h >>conftest.$ac_ext
106376 cat >>conftest.$ac_ext <<_ACEOF
106377 /* end confdefs.h. */
106378 #include <math.h>
106380 main ()
106382 __builtin_sinf(0);
106384 return 0;
106386 _ACEOF
106387 rm -f conftest.$ac_objext
106388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106389 (eval $ac_compile) 2>conftest.er1
106390 ac_status=$?
106391 grep -v '^ *+' conftest.er1 >conftest.err
106392 rm -f conftest.er1
106393 cat conftest.err >&5
106394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106395 (exit $ac_status); } &&
106396 { ac_try='test -z "$ac_cxx_werror_flag"
106397 || test ! -s conftest.err'
106398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106399 (eval $ac_try) 2>&5
106400 ac_status=$?
106401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106402 (exit $ac_status); }; } &&
106403 { ac_try='test -s conftest.$ac_objext'
106404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106405 (eval $ac_try) 2>&5
106406 ac_status=$?
106407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106408 (exit $ac_status); }; }; then
106409 glibcxx_cv_func___builtin_sinf_use=yes
106411 echo "$as_me: failed program was:" >&5
106412 sed 's/^/| /' conftest.$ac_ext >&5
106414 glibcxx_cv_func___builtin_sinf_use=no
106416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106417 ac_ext=c
106418 ac_cpp='$CPP $CPPFLAGS'
106419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106427 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
106428 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
106429 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
106430 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
106431 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
106432 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
106433 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
106434 echo $ECHO_N "(cached) $ECHO_C" >&6
106437 if test x$gcc_no_link = xyes; then
106438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106440 { (exit 1); exit 1; }; }
106442 cat >conftest.$ac_ext <<_ACEOF
106443 /* confdefs.h. */
106444 _ACEOF
106445 cat confdefs.h >>conftest.$ac_ext
106446 cat >>conftest.$ac_ext <<_ACEOF
106447 /* end confdefs.h. */
106448 #include <math.h>
106450 main ()
106452 __builtin_sinf(0);
106454 return 0;
106456 _ACEOF
106457 rm -f conftest.$ac_objext conftest$ac_exeext
106458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106459 (eval $ac_link) 2>conftest.er1
106460 ac_status=$?
106461 grep -v '^ *+' conftest.er1 >conftest.err
106462 rm -f conftest.er1
106463 cat conftest.err >&5
106464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106465 (exit $ac_status); } &&
106466 { ac_try='test -z "$ac_c_werror_flag"
106467 || test ! -s conftest.err'
106468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106469 (eval $ac_try) 2>&5
106470 ac_status=$?
106471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106472 (exit $ac_status); }; } &&
106473 { ac_try='test -s conftest$ac_exeext'
106474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106475 (eval $ac_try) 2>&5
106476 ac_status=$?
106477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106478 (exit $ac_status); }; }; then
106479 glibcxx_cv_func___builtin_sinf_link=yes
106481 echo "$as_me: failed program was:" >&5
106482 sed 's/^/| /' conftest.$ac_ext >&5
106484 glibcxx_cv_func___builtin_sinf_link=no
106486 rm -f conftest.err conftest.$ac_objext \
106487 conftest$ac_exeext conftest.$ac_ext
106492 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
106493 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
106495 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
106497 cat >>confdefs.h <<\_ACEOF
106498 #define HAVE___BUILTIN_SINF 1
106499 _ACEOF
106506 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
106507 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
106508 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
106509 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
106510 echo $ECHO_N "(cached) $ECHO_C" >&6
106515 ac_ext=cc
106516 ac_cpp='$CXXCPP $CPPFLAGS'
106517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106521 cat >conftest.$ac_ext <<_ACEOF
106522 /* confdefs.h. */
106523 _ACEOF
106524 cat confdefs.h >>conftest.$ac_ext
106525 cat >>conftest.$ac_ext <<_ACEOF
106526 /* end confdefs.h. */
106527 #include <math.h>
106529 main ()
106531 __builtin_sin(0);
106533 return 0;
106535 _ACEOF
106536 rm -f conftest.$ac_objext
106537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106538 (eval $ac_compile) 2>conftest.er1
106539 ac_status=$?
106540 grep -v '^ *+' conftest.er1 >conftest.err
106541 rm -f conftest.er1
106542 cat conftest.err >&5
106543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106544 (exit $ac_status); } &&
106545 { ac_try='test -z "$ac_cxx_werror_flag"
106546 || test ! -s conftest.err'
106547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106548 (eval $ac_try) 2>&5
106549 ac_status=$?
106550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106551 (exit $ac_status); }; } &&
106552 { ac_try='test -s conftest.$ac_objext'
106553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106554 (eval $ac_try) 2>&5
106555 ac_status=$?
106556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106557 (exit $ac_status); }; }; then
106558 glibcxx_cv_func___builtin_sin_use=yes
106560 echo "$as_me: failed program was:" >&5
106561 sed 's/^/| /' conftest.$ac_ext >&5
106563 glibcxx_cv_func___builtin_sin_use=no
106565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106566 ac_ext=c
106567 ac_cpp='$CPP $CPPFLAGS'
106568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106576 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
106577 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
106578 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
106579 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
106580 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
106581 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
106582 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
106583 echo $ECHO_N "(cached) $ECHO_C" >&6
106586 if test x$gcc_no_link = xyes; then
106587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106589 { (exit 1); exit 1; }; }
106591 cat >conftest.$ac_ext <<_ACEOF
106592 /* confdefs.h. */
106593 _ACEOF
106594 cat confdefs.h >>conftest.$ac_ext
106595 cat >>conftest.$ac_ext <<_ACEOF
106596 /* end confdefs.h. */
106597 #include <math.h>
106599 main ()
106601 __builtin_sin(0);
106603 return 0;
106605 _ACEOF
106606 rm -f conftest.$ac_objext conftest$ac_exeext
106607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106608 (eval $ac_link) 2>conftest.er1
106609 ac_status=$?
106610 grep -v '^ *+' conftest.er1 >conftest.err
106611 rm -f conftest.er1
106612 cat conftest.err >&5
106613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106614 (exit $ac_status); } &&
106615 { ac_try='test -z "$ac_c_werror_flag"
106616 || test ! -s conftest.err'
106617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106618 (eval $ac_try) 2>&5
106619 ac_status=$?
106620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106621 (exit $ac_status); }; } &&
106622 { ac_try='test -s conftest$ac_exeext'
106623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106624 (eval $ac_try) 2>&5
106625 ac_status=$?
106626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106627 (exit $ac_status); }; }; then
106628 glibcxx_cv_func___builtin_sin_link=yes
106630 echo "$as_me: failed program was:" >&5
106631 sed 's/^/| /' conftest.$ac_ext >&5
106633 glibcxx_cv_func___builtin_sin_link=no
106635 rm -f conftest.err conftest.$ac_objext \
106636 conftest$ac_exeext conftest.$ac_ext
106641 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
106642 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
106644 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
106646 cat >>confdefs.h <<\_ACEOF
106647 #define HAVE___BUILTIN_SIN 1
106648 _ACEOF
106655 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
106656 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
106657 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
106658 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
106659 echo $ECHO_N "(cached) $ECHO_C" >&6
106664 ac_ext=cc
106665 ac_cpp='$CXXCPP $CPPFLAGS'
106666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106670 cat >conftest.$ac_ext <<_ACEOF
106671 /* confdefs.h. */
106672 _ACEOF
106673 cat confdefs.h >>conftest.$ac_ext
106674 cat >>conftest.$ac_ext <<_ACEOF
106675 /* end confdefs.h. */
106676 #include <math.h>
106678 main ()
106680 __builtin_sinl(0);
106682 return 0;
106684 _ACEOF
106685 rm -f conftest.$ac_objext
106686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106687 (eval $ac_compile) 2>conftest.er1
106688 ac_status=$?
106689 grep -v '^ *+' conftest.er1 >conftest.err
106690 rm -f conftest.er1
106691 cat conftest.err >&5
106692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106693 (exit $ac_status); } &&
106694 { ac_try='test -z "$ac_cxx_werror_flag"
106695 || test ! -s conftest.err'
106696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106697 (eval $ac_try) 2>&5
106698 ac_status=$?
106699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106700 (exit $ac_status); }; } &&
106701 { ac_try='test -s conftest.$ac_objext'
106702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106703 (eval $ac_try) 2>&5
106704 ac_status=$?
106705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106706 (exit $ac_status); }; }; then
106707 glibcxx_cv_func___builtin_sinl_use=yes
106709 echo "$as_me: failed program was:" >&5
106710 sed 's/^/| /' conftest.$ac_ext >&5
106712 glibcxx_cv_func___builtin_sinl_use=no
106714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106715 ac_ext=c
106716 ac_cpp='$CPP $CPPFLAGS'
106717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106725 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
106726 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
106727 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
106728 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
106729 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
106730 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
106731 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
106732 echo $ECHO_N "(cached) $ECHO_C" >&6
106735 if test x$gcc_no_link = xyes; then
106736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106738 { (exit 1); exit 1; }; }
106740 cat >conftest.$ac_ext <<_ACEOF
106741 /* confdefs.h. */
106742 _ACEOF
106743 cat confdefs.h >>conftest.$ac_ext
106744 cat >>conftest.$ac_ext <<_ACEOF
106745 /* end confdefs.h. */
106746 #include <math.h>
106748 main ()
106750 __builtin_sinl(0);
106752 return 0;
106754 _ACEOF
106755 rm -f conftest.$ac_objext conftest$ac_exeext
106756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106757 (eval $ac_link) 2>conftest.er1
106758 ac_status=$?
106759 grep -v '^ *+' conftest.er1 >conftest.err
106760 rm -f conftest.er1
106761 cat conftest.err >&5
106762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106763 (exit $ac_status); } &&
106764 { ac_try='test -z "$ac_c_werror_flag"
106765 || test ! -s conftest.err'
106766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106767 (eval $ac_try) 2>&5
106768 ac_status=$?
106769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106770 (exit $ac_status); }; } &&
106771 { ac_try='test -s conftest$ac_exeext'
106772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106773 (eval $ac_try) 2>&5
106774 ac_status=$?
106775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106776 (exit $ac_status); }; }; then
106777 glibcxx_cv_func___builtin_sinl_link=yes
106779 echo "$as_me: failed program was:" >&5
106780 sed 's/^/| /' conftest.$ac_ext >&5
106782 glibcxx_cv_func___builtin_sinl_link=no
106784 rm -f conftest.err conftest.$ac_objext \
106785 conftest$ac_exeext conftest.$ac_ext
106790 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
106791 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
106793 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
106795 cat >>confdefs.h <<\_ACEOF
106796 #define HAVE___BUILTIN_SINL 1
106797 _ACEOF
106805 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
106806 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
106807 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
106808 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
106809 echo $ECHO_N "(cached) $ECHO_C" >&6
106814 ac_ext=cc
106815 ac_cpp='$CXXCPP $CPPFLAGS'
106816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106820 cat >conftest.$ac_ext <<_ACEOF
106821 /* confdefs.h. */
106822 _ACEOF
106823 cat confdefs.h >>conftest.$ac_ext
106824 cat >>conftest.$ac_ext <<_ACEOF
106825 /* end confdefs.h. */
106826 #include <math.h>
106828 main ()
106830 __builtin_cosf(0);
106832 return 0;
106834 _ACEOF
106835 rm -f conftest.$ac_objext
106836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106837 (eval $ac_compile) 2>conftest.er1
106838 ac_status=$?
106839 grep -v '^ *+' conftest.er1 >conftest.err
106840 rm -f conftest.er1
106841 cat conftest.err >&5
106842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106843 (exit $ac_status); } &&
106844 { ac_try='test -z "$ac_cxx_werror_flag"
106845 || test ! -s conftest.err'
106846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106847 (eval $ac_try) 2>&5
106848 ac_status=$?
106849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106850 (exit $ac_status); }; } &&
106851 { ac_try='test -s conftest.$ac_objext'
106852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106853 (eval $ac_try) 2>&5
106854 ac_status=$?
106855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106856 (exit $ac_status); }; }; then
106857 glibcxx_cv_func___builtin_cosf_use=yes
106859 echo "$as_me: failed program was:" >&5
106860 sed 's/^/| /' conftest.$ac_ext >&5
106862 glibcxx_cv_func___builtin_cosf_use=no
106864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106865 ac_ext=c
106866 ac_cpp='$CPP $CPPFLAGS'
106867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106875 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
106876 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
106877 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
106878 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
106879 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
106880 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
106881 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
106882 echo $ECHO_N "(cached) $ECHO_C" >&6
106885 if test x$gcc_no_link = xyes; then
106886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106888 { (exit 1); exit 1; }; }
106890 cat >conftest.$ac_ext <<_ACEOF
106891 /* confdefs.h. */
106892 _ACEOF
106893 cat confdefs.h >>conftest.$ac_ext
106894 cat >>conftest.$ac_ext <<_ACEOF
106895 /* end confdefs.h. */
106896 #include <math.h>
106898 main ()
106900 __builtin_cosf(0);
106902 return 0;
106904 _ACEOF
106905 rm -f conftest.$ac_objext conftest$ac_exeext
106906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106907 (eval $ac_link) 2>conftest.er1
106908 ac_status=$?
106909 grep -v '^ *+' conftest.er1 >conftest.err
106910 rm -f conftest.er1
106911 cat conftest.err >&5
106912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106913 (exit $ac_status); } &&
106914 { ac_try='test -z "$ac_c_werror_flag"
106915 || test ! -s conftest.err'
106916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106917 (eval $ac_try) 2>&5
106918 ac_status=$?
106919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106920 (exit $ac_status); }; } &&
106921 { ac_try='test -s conftest$ac_exeext'
106922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106923 (eval $ac_try) 2>&5
106924 ac_status=$?
106925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106926 (exit $ac_status); }; }; then
106927 glibcxx_cv_func___builtin_cosf_link=yes
106929 echo "$as_me: failed program was:" >&5
106930 sed 's/^/| /' conftest.$ac_ext >&5
106932 glibcxx_cv_func___builtin_cosf_link=no
106934 rm -f conftest.err conftest.$ac_objext \
106935 conftest$ac_exeext conftest.$ac_ext
106940 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
106941 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
106943 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
106945 cat >>confdefs.h <<\_ACEOF
106946 #define HAVE___BUILTIN_COSF 1
106947 _ACEOF
106954 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
106955 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
106956 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
106957 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
106958 echo $ECHO_N "(cached) $ECHO_C" >&6
106963 ac_ext=cc
106964 ac_cpp='$CXXCPP $CPPFLAGS'
106965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106969 cat >conftest.$ac_ext <<_ACEOF
106970 /* confdefs.h. */
106971 _ACEOF
106972 cat confdefs.h >>conftest.$ac_ext
106973 cat >>conftest.$ac_ext <<_ACEOF
106974 /* end confdefs.h. */
106975 #include <math.h>
106977 main ()
106979 __builtin_cos(0);
106981 return 0;
106983 _ACEOF
106984 rm -f conftest.$ac_objext
106985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106986 (eval $ac_compile) 2>conftest.er1
106987 ac_status=$?
106988 grep -v '^ *+' conftest.er1 >conftest.err
106989 rm -f conftest.er1
106990 cat conftest.err >&5
106991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106992 (exit $ac_status); } &&
106993 { ac_try='test -z "$ac_cxx_werror_flag"
106994 || test ! -s conftest.err'
106995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106996 (eval $ac_try) 2>&5
106997 ac_status=$?
106998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106999 (exit $ac_status); }; } &&
107000 { ac_try='test -s conftest.$ac_objext'
107001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107002 (eval $ac_try) 2>&5
107003 ac_status=$?
107004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107005 (exit $ac_status); }; }; then
107006 glibcxx_cv_func___builtin_cos_use=yes
107008 echo "$as_me: failed program was:" >&5
107009 sed 's/^/| /' conftest.$ac_ext >&5
107011 glibcxx_cv_func___builtin_cos_use=no
107013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107014 ac_ext=c
107015 ac_cpp='$CPP $CPPFLAGS'
107016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107024 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
107025 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
107026 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
107027 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
107028 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
107029 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
107030 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
107031 echo $ECHO_N "(cached) $ECHO_C" >&6
107034 if test x$gcc_no_link = xyes; then
107035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107037 { (exit 1); exit 1; }; }
107039 cat >conftest.$ac_ext <<_ACEOF
107040 /* confdefs.h. */
107041 _ACEOF
107042 cat confdefs.h >>conftest.$ac_ext
107043 cat >>conftest.$ac_ext <<_ACEOF
107044 /* end confdefs.h. */
107045 #include <math.h>
107047 main ()
107049 __builtin_cos(0);
107051 return 0;
107053 _ACEOF
107054 rm -f conftest.$ac_objext conftest$ac_exeext
107055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107056 (eval $ac_link) 2>conftest.er1
107057 ac_status=$?
107058 grep -v '^ *+' conftest.er1 >conftest.err
107059 rm -f conftest.er1
107060 cat conftest.err >&5
107061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107062 (exit $ac_status); } &&
107063 { ac_try='test -z "$ac_c_werror_flag"
107064 || test ! -s conftest.err'
107065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107066 (eval $ac_try) 2>&5
107067 ac_status=$?
107068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107069 (exit $ac_status); }; } &&
107070 { ac_try='test -s conftest$ac_exeext'
107071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107072 (eval $ac_try) 2>&5
107073 ac_status=$?
107074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107075 (exit $ac_status); }; }; then
107076 glibcxx_cv_func___builtin_cos_link=yes
107078 echo "$as_me: failed program was:" >&5
107079 sed 's/^/| /' conftest.$ac_ext >&5
107081 glibcxx_cv_func___builtin_cos_link=no
107083 rm -f conftest.err conftest.$ac_objext \
107084 conftest$ac_exeext conftest.$ac_ext
107089 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
107090 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
107092 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
107094 cat >>confdefs.h <<\_ACEOF
107095 #define HAVE___BUILTIN_COS 1
107096 _ACEOF
107103 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
107104 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
107105 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
107106 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
107107 echo $ECHO_N "(cached) $ECHO_C" >&6
107112 ac_ext=cc
107113 ac_cpp='$CXXCPP $CPPFLAGS'
107114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107118 cat >conftest.$ac_ext <<_ACEOF
107119 /* confdefs.h. */
107120 _ACEOF
107121 cat confdefs.h >>conftest.$ac_ext
107122 cat >>conftest.$ac_ext <<_ACEOF
107123 /* end confdefs.h. */
107124 #include <math.h>
107126 main ()
107128 __builtin_cosl(0);
107130 return 0;
107132 _ACEOF
107133 rm -f conftest.$ac_objext
107134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107135 (eval $ac_compile) 2>conftest.er1
107136 ac_status=$?
107137 grep -v '^ *+' conftest.er1 >conftest.err
107138 rm -f conftest.er1
107139 cat conftest.err >&5
107140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107141 (exit $ac_status); } &&
107142 { ac_try='test -z "$ac_cxx_werror_flag"
107143 || test ! -s conftest.err'
107144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107145 (eval $ac_try) 2>&5
107146 ac_status=$?
107147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107148 (exit $ac_status); }; } &&
107149 { ac_try='test -s conftest.$ac_objext'
107150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107151 (eval $ac_try) 2>&5
107152 ac_status=$?
107153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107154 (exit $ac_status); }; }; then
107155 glibcxx_cv_func___builtin_cosl_use=yes
107157 echo "$as_me: failed program was:" >&5
107158 sed 's/^/| /' conftest.$ac_ext >&5
107160 glibcxx_cv_func___builtin_cosl_use=no
107162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107163 ac_ext=c
107164 ac_cpp='$CPP $CPPFLAGS'
107165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107173 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
107174 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
107175 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
107176 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
107177 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
107178 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
107179 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
107180 echo $ECHO_N "(cached) $ECHO_C" >&6
107183 if test x$gcc_no_link = xyes; then
107184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107186 { (exit 1); exit 1; }; }
107188 cat >conftest.$ac_ext <<_ACEOF
107189 /* confdefs.h. */
107190 _ACEOF
107191 cat confdefs.h >>conftest.$ac_ext
107192 cat >>conftest.$ac_ext <<_ACEOF
107193 /* end confdefs.h. */
107194 #include <math.h>
107196 main ()
107198 __builtin_cosl(0);
107200 return 0;
107202 _ACEOF
107203 rm -f conftest.$ac_objext conftest$ac_exeext
107204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107205 (eval $ac_link) 2>conftest.er1
107206 ac_status=$?
107207 grep -v '^ *+' conftest.er1 >conftest.err
107208 rm -f conftest.er1
107209 cat conftest.err >&5
107210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107211 (exit $ac_status); } &&
107212 { ac_try='test -z "$ac_c_werror_flag"
107213 || test ! -s conftest.err'
107214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107215 (eval $ac_try) 2>&5
107216 ac_status=$?
107217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107218 (exit $ac_status); }; } &&
107219 { ac_try='test -s conftest$ac_exeext'
107220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107221 (eval $ac_try) 2>&5
107222 ac_status=$?
107223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107224 (exit $ac_status); }; }; then
107225 glibcxx_cv_func___builtin_cosl_link=yes
107227 echo "$as_me: failed program was:" >&5
107228 sed 's/^/| /' conftest.$ac_ext >&5
107230 glibcxx_cv_func___builtin_cosl_link=no
107232 rm -f conftest.err conftest.$ac_objext \
107233 conftest$ac_exeext conftest.$ac_ext
107238 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
107239 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
107241 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
107243 cat >>confdefs.h <<\_ACEOF
107244 #define HAVE___BUILTIN_COSL 1
107245 _ACEOF
107254 echo "$as_me:$LINENO: checking for main in -lm" >&5
107255 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
107256 if test "${ac_cv_lib_m_main+set}" = set; then
107257 echo $ECHO_N "(cached) $ECHO_C" >&6
107259 ac_check_lib_save_LIBS=$LIBS
107260 LIBS="-lm $LIBS"
107261 if test x$gcc_no_link = xyes; then
107262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107264 { (exit 1); exit 1; }; }
107266 cat >conftest.$ac_ext <<_ACEOF
107267 /* confdefs.h. */
107268 _ACEOF
107269 cat confdefs.h >>conftest.$ac_ext
107270 cat >>conftest.$ac_ext <<_ACEOF
107271 /* end confdefs.h. */
107275 main ()
107277 main ();
107279 return 0;
107281 _ACEOF
107282 rm -f conftest.$ac_objext conftest$ac_exeext
107283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107284 (eval $ac_link) 2>conftest.er1
107285 ac_status=$?
107286 grep -v '^ *+' conftest.er1 >conftest.err
107287 rm -f conftest.er1
107288 cat conftest.err >&5
107289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107290 (exit $ac_status); } &&
107291 { ac_try='test -z "$ac_c_werror_flag"
107292 || test ! -s conftest.err'
107293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107294 (eval $ac_try) 2>&5
107295 ac_status=$?
107296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107297 (exit $ac_status); }; } &&
107298 { ac_try='test -s conftest$ac_exeext'
107299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107300 (eval $ac_try) 2>&5
107301 ac_status=$?
107302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107303 (exit $ac_status); }; }; then
107304 ac_cv_lib_m_main=yes
107306 echo "$as_me: failed program was:" >&5
107307 sed 's/^/| /' conftest.$ac_ext >&5
107309 ac_cv_lib_m_main=no
107311 rm -f conftest.err conftest.$ac_objext \
107312 conftest$ac_exeext conftest.$ac_ext
107313 LIBS=$ac_check_lib_save_LIBS
107315 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107316 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107317 if test $ac_cv_lib_m_main = yes; then
107318 cat >>confdefs.h <<_ACEOF
107319 #define HAVE_LIBM 1
107320 _ACEOF
107322 LIBS="-lm $LIBS"
107327 for ac_func in copysignf
107329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107330 echo "$as_me:$LINENO: checking for $ac_func" >&5
107331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107332 if eval "test \"\${$as_ac_var+set}\" = set"; then
107333 echo $ECHO_N "(cached) $ECHO_C" >&6
107335 if test x$gcc_no_link = xyes; then
107336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107338 { (exit 1); exit 1; }; }
107340 cat >conftest.$ac_ext <<_ACEOF
107341 /* confdefs.h. */
107342 _ACEOF
107343 cat confdefs.h >>conftest.$ac_ext
107344 cat >>conftest.$ac_ext <<_ACEOF
107345 /* end confdefs.h. */
107346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107348 #define $ac_func innocuous_$ac_func
107350 /* System header to define __stub macros and hopefully few prototypes,
107351 which can conflict with char $ac_func (); below.
107352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107353 <limits.h> exists even on freestanding compilers. */
107355 #ifdef __STDC__
107356 # include <limits.h>
107357 #else
107358 # include <assert.h>
107359 #endif
107361 #undef $ac_func
107363 /* Override any gcc2 internal prototype to avoid an error. */
107364 #ifdef __cplusplus
107365 extern "C"
107367 #endif
107368 /* We use char because int might match the return type of a gcc2
107369 builtin and then its argument prototype would still apply. */
107370 char $ac_func ();
107371 /* The GNU C library defines this for functions which it implements
107372 to always fail with ENOSYS. Some functions are actually named
107373 something starting with __ and the normal name is an alias. */
107374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107375 choke me
107376 #else
107377 char (*f) () = $ac_func;
107378 #endif
107379 #ifdef __cplusplus
107381 #endif
107384 main ()
107386 return f != $ac_func;
107388 return 0;
107390 _ACEOF
107391 rm -f conftest.$ac_objext conftest$ac_exeext
107392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107393 (eval $ac_link) 2>conftest.er1
107394 ac_status=$?
107395 grep -v '^ *+' conftest.er1 >conftest.err
107396 rm -f conftest.er1
107397 cat conftest.err >&5
107398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107399 (exit $ac_status); } &&
107400 { ac_try='test -z "$ac_c_werror_flag"
107401 || test ! -s conftest.err'
107402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107403 (eval $ac_try) 2>&5
107404 ac_status=$?
107405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107406 (exit $ac_status); }; } &&
107407 { ac_try='test -s conftest$ac_exeext'
107408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107409 (eval $ac_try) 2>&5
107410 ac_status=$?
107411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107412 (exit $ac_status); }; }; then
107413 eval "$as_ac_var=yes"
107415 echo "$as_me: failed program was:" >&5
107416 sed 's/^/| /' conftest.$ac_ext >&5
107418 eval "$as_ac_var=no"
107420 rm -f conftest.err conftest.$ac_objext \
107421 conftest$ac_exeext conftest.$ac_ext
107423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107425 if test `eval echo '${'$as_ac_var'}'` = yes; then
107426 cat >>confdefs.h <<_ACEOF
107427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107428 _ACEOF
107431 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107437 for ac_func in __signbit
107439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107440 echo "$as_me:$LINENO: checking for $ac_func" >&5
107441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107442 if eval "test \"\${$as_ac_var+set}\" = set"; then
107443 echo $ECHO_N "(cached) $ECHO_C" >&6
107445 if test x$gcc_no_link = xyes; then
107446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107448 { (exit 1); exit 1; }; }
107450 cat >conftest.$ac_ext <<_ACEOF
107451 /* confdefs.h. */
107452 _ACEOF
107453 cat confdefs.h >>conftest.$ac_ext
107454 cat >>conftest.$ac_ext <<_ACEOF
107455 /* end confdefs.h. */
107456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107458 #define $ac_func innocuous_$ac_func
107460 /* System header to define __stub macros and hopefully few prototypes,
107461 which can conflict with char $ac_func (); below.
107462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107463 <limits.h> exists even on freestanding compilers. */
107465 #ifdef __STDC__
107466 # include <limits.h>
107467 #else
107468 # include <assert.h>
107469 #endif
107471 #undef $ac_func
107473 /* Override any gcc2 internal prototype to avoid an error. */
107474 #ifdef __cplusplus
107475 extern "C"
107477 #endif
107478 /* We use char because int might match the return type of a gcc2
107479 builtin and then its argument prototype would still apply. */
107480 char $ac_func ();
107481 /* The GNU C library defines this for functions which it implements
107482 to always fail with ENOSYS. Some functions are actually named
107483 something starting with __ and the normal name is an alias. */
107484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107485 choke me
107486 #else
107487 char (*f) () = $ac_func;
107488 #endif
107489 #ifdef __cplusplus
107491 #endif
107494 main ()
107496 return f != $ac_func;
107498 return 0;
107500 _ACEOF
107501 rm -f conftest.$ac_objext conftest$ac_exeext
107502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107503 (eval $ac_link) 2>conftest.er1
107504 ac_status=$?
107505 grep -v '^ *+' conftest.er1 >conftest.err
107506 rm -f conftest.er1
107507 cat conftest.err >&5
107508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107509 (exit $ac_status); } &&
107510 { ac_try='test -z "$ac_c_werror_flag"
107511 || test ! -s conftest.err'
107512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107513 (eval $ac_try) 2>&5
107514 ac_status=$?
107515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107516 (exit $ac_status); }; } &&
107517 { ac_try='test -s conftest$ac_exeext'
107518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107519 (eval $ac_try) 2>&5
107520 ac_status=$?
107521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107522 (exit $ac_status); }; }; then
107523 eval "$as_ac_var=yes"
107525 echo "$as_me: failed program was:" >&5
107526 sed 's/^/| /' conftest.$ac_ext >&5
107528 eval "$as_ac_var=no"
107530 rm -f conftest.err conftest.$ac_objext \
107531 conftest$ac_exeext conftest.$ac_ext
107533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107535 if test `eval echo '${'$as_ac_var'}'` = yes; then
107536 cat >>confdefs.h <<_ACEOF
107537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107538 _ACEOF
107541 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107547 for ac_func in __signbitf
107549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107550 echo "$as_me:$LINENO: checking for $ac_func" >&5
107551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107552 if eval "test \"\${$as_ac_var+set}\" = set"; then
107553 echo $ECHO_N "(cached) $ECHO_C" >&6
107555 if test x$gcc_no_link = xyes; then
107556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107558 { (exit 1); exit 1; }; }
107560 cat >conftest.$ac_ext <<_ACEOF
107561 /* confdefs.h. */
107562 _ACEOF
107563 cat confdefs.h >>conftest.$ac_ext
107564 cat >>conftest.$ac_ext <<_ACEOF
107565 /* end confdefs.h. */
107566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107568 #define $ac_func innocuous_$ac_func
107570 /* System header to define __stub macros and hopefully few prototypes,
107571 which can conflict with char $ac_func (); below.
107572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107573 <limits.h> exists even on freestanding compilers. */
107575 #ifdef __STDC__
107576 # include <limits.h>
107577 #else
107578 # include <assert.h>
107579 #endif
107581 #undef $ac_func
107583 /* Override any gcc2 internal prototype to avoid an error. */
107584 #ifdef __cplusplus
107585 extern "C"
107587 #endif
107588 /* We use char because int might match the return type of a gcc2
107589 builtin and then its argument prototype would still apply. */
107590 char $ac_func ();
107591 /* The GNU C library defines this for functions which it implements
107592 to always fail with ENOSYS. Some functions are actually named
107593 something starting with __ and the normal name is an alias. */
107594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107595 choke me
107596 #else
107597 char (*f) () = $ac_func;
107598 #endif
107599 #ifdef __cplusplus
107601 #endif
107604 main ()
107606 return f != $ac_func;
107608 return 0;
107610 _ACEOF
107611 rm -f conftest.$ac_objext conftest$ac_exeext
107612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107613 (eval $ac_link) 2>conftest.er1
107614 ac_status=$?
107615 grep -v '^ *+' conftest.er1 >conftest.err
107616 rm -f conftest.er1
107617 cat conftest.err >&5
107618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107619 (exit $ac_status); } &&
107620 { ac_try='test -z "$ac_c_werror_flag"
107621 || test ! -s conftest.err'
107622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107623 (eval $ac_try) 2>&5
107624 ac_status=$?
107625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107626 (exit $ac_status); }; } &&
107627 { ac_try='test -s conftest$ac_exeext'
107628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107629 (eval $ac_try) 2>&5
107630 ac_status=$?
107631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107632 (exit $ac_status); }; }; then
107633 eval "$as_ac_var=yes"
107635 echo "$as_me: failed program was:" >&5
107636 sed 's/^/| /' conftest.$ac_ext >&5
107638 eval "$as_ac_var=no"
107640 rm -f conftest.err conftest.$ac_objext \
107641 conftest$ac_exeext conftest.$ac_ext
107643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107645 if test `eval echo '${'$as_ac_var'}'` = yes; then
107646 cat >>confdefs.h <<_ACEOF
107647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107648 _ACEOF
107651 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107656 if test x$ac_cv_func_copysignl = x"yes"; then
107658 for ac_func in __signbitl
107660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107661 echo "$as_me:$LINENO: checking for $ac_func" >&5
107662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107663 if eval "test \"\${$as_ac_var+set}\" = set"; then
107664 echo $ECHO_N "(cached) $ECHO_C" >&6
107666 if test x$gcc_no_link = xyes; then
107667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107669 { (exit 1); exit 1; }; }
107671 cat >conftest.$ac_ext <<_ACEOF
107672 /* confdefs.h. */
107673 _ACEOF
107674 cat confdefs.h >>conftest.$ac_ext
107675 cat >>conftest.$ac_ext <<_ACEOF
107676 /* end confdefs.h. */
107677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107679 #define $ac_func innocuous_$ac_func
107681 /* System header to define __stub macros and hopefully few prototypes,
107682 which can conflict with char $ac_func (); below.
107683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107684 <limits.h> exists even on freestanding compilers. */
107686 #ifdef __STDC__
107687 # include <limits.h>
107688 #else
107689 # include <assert.h>
107690 #endif
107692 #undef $ac_func
107694 /* Override any gcc2 internal prototype to avoid an error. */
107695 #ifdef __cplusplus
107696 extern "C"
107698 #endif
107699 /* We use char because int might match the return type of a gcc2
107700 builtin and then its argument prototype would still apply. */
107701 char $ac_func ();
107702 /* The GNU C library defines this for functions which it implements
107703 to always fail with ENOSYS. Some functions are actually named
107704 something starting with __ and the normal name is an alias. */
107705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107706 choke me
107707 #else
107708 char (*f) () = $ac_func;
107709 #endif
107710 #ifdef __cplusplus
107712 #endif
107715 main ()
107717 return f != $ac_func;
107719 return 0;
107721 _ACEOF
107722 rm -f conftest.$ac_objext conftest$ac_exeext
107723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107724 (eval $ac_link) 2>conftest.er1
107725 ac_status=$?
107726 grep -v '^ *+' conftest.er1 >conftest.err
107727 rm -f conftest.er1
107728 cat conftest.err >&5
107729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107730 (exit $ac_status); } &&
107731 { ac_try='test -z "$ac_c_werror_flag"
107732 || test ! -s conftest.err'
107733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107734 (eval $ac_try) 2>&5
107735 ac_status=$?
107736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107737 (exit $ac_status); }; } &&
107738 { ac_try='test -s conftest$ac_exeext'
107739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107740 (eval $ac_try) 2>&5
107741 ac_status=$?
107742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107743 (exit $ac_status); }; }; then
107744 eval "$as_ac_var=yes"
107746 echo "$as_me: failed program was:" >&5
107747 sed 's/^/| /' conftest.$ac_ext >&5
107749 eval "$as_ac_var=no"
107751 rm -f conftest.err conftest.$ac_objext \
107752 conftest$ac_exeext conftest.$ac_ext
107754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107756 if test `eval echo '${'$as_ac_var'}'` = yes; then
107757 cat >>confdefs.h <<_ACEOF
107758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107759 _ACEOF
107762 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107768 # Used in libmath/Makefile.am.
107769 if test -n "$LIBMATHOBJS"; then
107770 need_libmath=yes
107775 ac_test_CXXFLAGS="${CXXFLAGS+set}"
107776 ac_save_CXXFLAGS="$CXXFLAGS"
107777 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
107780 echo "$as_me:$LINENO: checking for strtold declaration" >&5
107781 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
107782 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
107783 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
107784 echo $ECHO_N "(cached) $ECHO_C" >&6
107789 ac_ext=cc
107790 ac_cpp='$CXXCPP $CPPFLAGS'
107791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107795 cat >conftest.$ac_ext <<_ACEOF
107796 /* confdefs.h. */
107797 _ACEOF
107798 cat confdefs.h >>conftest.$ac_ext
107799 cat >>conftest.$ac_ext <<_ACEOF
107800 /* end confdefs.h. */
107801 #include <stdlib.h>
107803 main ()
107805 strtold(0, 0);
107807 return 0;
107809 _ACEOF
107810 rm -f conftest.$ac_objext
107811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107812 (eval $ac_compile) 2>conftest.er1
107813 ac_status=$?
107814 grep -v '^ *+' conftest.er1 >conftest.err
107815 rm -f conftest.er1
107816 cat conftest.err >&5
107817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107818 (exit $ac_status); } &&
107819 { ac_try='test -z "$ac_cxx_werror_flag"
107820 || test ! -s conftest.err'
107821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107822 (eval $ac_try) 2>&5
107823 ac_status=$?
107824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107825 (exit $ac_status); }; } &&
107826 { ac_try='test -s conftest.$ac_objext'
107827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107828 (eval $ac_try) 2>&5
107829 ac_status=$?
107830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107831 (exit $ac_status); }; }; then
107832 glibcxx_cv_func_strtold_use=yes
107834 echo "$as_me: failed program was:" >&5
107835 sed 's/^/| /' conftest.$ac_ext >&5
107837 glibcxx_cv_func_strtold_use=no
107839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107840 ac_ext=c
107841 ac_cpp='$CPP $CPPFLAGS'
107842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107850 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
107851 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
107852 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
107854 for ac_func in strtold
107856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107857 echo "$as_me:$LINENO: checking for $ac_func" >&5
107858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107859 if eval "test \"\${$as_ac_var+set}\" = set"; then
107860 echo $ECHO_N "(cached) $ECHO_C" >&6
107862 if test x$gcc_no_link = xyes; then
107863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107865 { (exit 1); exit 1; }; }
107867 cat >conftest.$ac_ext <<_ACEOF
107868 /* confdefs.h. */
107869 _ACEOF
107870 cat confdefs.h >>conftest.$ac_ext
107871 cat >>conftest.$ac_ext <<_ACEOF
107872 /* end confdefs.h. */
107873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107875 #define $ac_func innocuous_$ac_func
107877 /* System header to define __stub macros and hopefully few prototypes,
107878 which can conflict with char $ac_func (); below.
107879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107880 <limits.h> exists even on freestanding compilers. */
107882 #ifdef __STDC__
107883 # include <limits.h>
107884 #else
107885 # include <assert.h>
107886 #endif
107888 #undef $ac_func
107890 /* Override any gcc2 internal prototype to avoid an error. */
107891 #ifdef __cplusplus
107892 extern "C"
107894 #endif
107895 /* We use char because int might match the return type of a gcc2
107896 builtin and then its argument prototype would still apply. */
107897 char $ac_func ();
107898 /* The GNU C library defines this for functions which it implements
107899 to always fail with ENOSYS. Some functions are actually named
107900 something starting with __ and the normal name is an alias. */
107901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107902 choke me
107903 #else
107904 char (*f) () = $ac_func;
107905 #endif
107906 #ifdef __cplusplus
107908 #endif
107911 main ()
107913 return f != $ac_func;
107915 return 0;
107917 _ACEOF
107918 rm -f conftest.$ac_objext conftest$ac_exeext
107919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107920 (eval $ac_link) 2>conftest.er1
107921 ac_status=$?
107922 grep -v '^ *+' conftest.er1 >conftest.err
107923 rm -f conftest.er1
107924 cat conftest.err >&5
107925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107926 (exit $ac_status); } &&
107927 { ac_try='test -z "$ac_c_werror_flag"
107928 || test ! -s conftest.err'
107929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107930 (eval $ac_try) 2>&5
107931 ac_status=$?
107932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107933 (exit $ac_status); }; } &&
107934 { ac_try='test -s conftest$ac_exeext'
107935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107936 (eval $ac_try) 2>&5
107937 ac_status=$?
107938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107939 (exit $ac_status); }; }; then
107940 eval "$as_ac_var=yes"
107942 echo "$as_me: failed program was:" >&5
107943 sed 's/^/| /' conftest.$ac_ext >&5
107945 eval "$as_ac_var=no"
107947 rm -f conftest.err conftest.$ac_objext \
107948 conftest$ac_exeext conftest.$ac_ext
107950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107952 if test `eval echo '${'$as_ac_var'}'` = yes; then
107953 cat >>confdefs.h <<_ACEOF
107954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107955 _ACEOF
107966 echo "$as_me:$LINENO: checking for strtof declaration" >&5
107967 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
107968 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
107969 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
107970 echo $ECHO_N "(cached) $ECHO_C" >&6
107975 ac_ext=cc
107976 ac_cpp='$CXXCPP $CPPFLAGS'
107977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107981 cat >conftest.$ac_ext <<_ACEOF
107982 /* confdefs.h. */
107983 _ACEOF
107984 cat confdefs.h >>conftest.$ac_ext
107985 cat >>conftest.$ac_ext <<_ACEOF
107986 /* end confdefs.h. */
107987 #include <stdlib.h>
107989 main ()
107991 strtof(0, 0);
107993 return 0;
107995 _ACEOF
107996 rm -f conftest.$ac_objext
107997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107998 (eval $ac_compile) 2>conftest.er1
107999 ac_status=$?
108000 grep -v '^ *+' conftest.er1 >conftest.err
108001 rm -f conftest.er1
108002 cat conftest.err >&5
108003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108004 (exit $ac_status); } &&
108005 { ac_try='test -z "$ac_cxx_werror_flag"
108006 || test ! -s conftest.err'
108007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108008 (eval $ac_try) 2>&5
108009 ac_status=$?
108010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108011 (exit $ac_status); }; } &&
108012 { ac_try='test -s conftest.$ac_objext'
108013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108014 (eval $ac_try) 2>&5
108015 ac_status=$?
108016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108017 (exit $ac_status); }; }; then
108018 glibcxx_cv_func_strtof_use=yes
108020 echo "$as_me: failed program was:" >&5
108021 sed 's/^/| /' conftest.$ac_ext >&5
108023 glibcxx_cv_func_strtof_use=no
108025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108026 ac_ext=c
108027 ac_cpp='$CPP $CPPFLAGS'
108028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108036 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
108037 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
108038 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
108040 for ac_func in strtof
108042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108043 echo "$as_me:$LINENO: checking for $ac_func" >&5
108044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108045 if eval "test \"\${$as_ac_var+set}\" = set"; then
108046 echo $ECHO_N "(cached) $ECHO_C" >&6
108048 if test x$gcc_no_link = xyes; then
108049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108051 { (exit 1); exit 1; }; }
108053 cat >conftest.$ac_ext <<_ACEOF
108054 /* confdefs.h. */
108055 _ACEOF
108056 cat confdefs.h >>conftest.$ac_ext
108057 cat >>conftest.$ac_ext <<_ACEOF
108058 /* end confdefs.h. */
108059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108061 #define $ac_func innocuous_$ac_func
108063 /* System header to define __stub macros and hopefully few prototypes,
108064 which can conflict with char $ac_func (); below.
108065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108066 <limits.h> exists even on freestanding compilers. */
108068 #ifdef __STDC__
108069 # include <limits.h>
108070 #else
108071 # include <assert.h>
108072 #endif
108074 #undef $ac_func
108076 /* Override any gcc2 internal prototype to avoid an error. */
108077 #ifdef __cplusplus
108078 extern "C"
108080 #endif
108081 /* We use char because int might match the return type of a gcc2
108082 builtin and then its argument prototype would still apply. */
108083 char $ac_func ();
108084 /* The GNU C library defines this for functions which it implements
108085 to always fail with ENOSYS. Some functions are actually named
108086 something starting with __ and the normal name is an alias. */
108087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108088 choke me
108089 #else
108090 char (*f) () = $ac_func;
108091 #endif
108092 #ifdef __cplusplus
108094 #endif
108097 main ()
108099 return f != $ac_func;
108101 return 0;
108103 _ACEOF
108104 rm -f conftest.$ac_objext conftest$ac_exeext
108105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108106 (eval $ac_link) 2>conftest.er1
108107 ac_status=$?
108108 grep -v '^ *+' conftest.er1 >conftest.err
108109 rm -f conftest.er1
108110 cat conftest.err >&5
108111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108112 (exit $ac_status); } &&
108113 { ac_try='test -z "$ac_c_werror_flag"
108114 || test ! -s conftest.err'
108115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108116 (eval $ac_try) 2>&5
108117 ac_status=$?
108118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108119 (exit $ac_status); }; } &&
108120 { ac_try='test -s conftest$ac_exeext'
108121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108122 (eval $ac_try) 2>&5
108123 ac_status=$?
108124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108125 (exit $ac_status); }; }; then
108126 eval "$as_ac_var=yes"
108128 echo "$as_me: failed program was:" >&5
108129 sed 's/^/| /' conftest.$ac_ext >&5
108131 eval "$as_ac_var=no"
108133 rm -f conftest.err conftest.$ac_objext \
108134 conftest$ac_exeext conftest.$ac_ext
108136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108138 if test `eval echo '${'$as_ac_var'}'` = yes; then
108139 cat >>confdefs.h <<_ACEOF
108140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108141 _ACEOF
108152 CXXFLAGS="$ac_save_CXXFLAGS"
108155 # For LFS.
108156 cat >>confdefs.h <<\_ACEOF
108157 #define HAVE_INT64_T 1
108158 _ACEOF
108163 ac_ext=cc
108164 ac_cpp='$CXXCPP $CPPFLAGS'
108165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108169 ac_save_CXXFLAGS="$CXXFLAGS"
108170 CXXFLAGS="$CXXFLAGS -fno-exceptions"
108171 echo "$as_me:$LINENO: checking for LFS support" >&5
108172 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
108173 if test "${glibcxx_cv_LFS+set}" = set; then
108174 echo $ECHO_N "(cached) $ECHO_C" >&6
108177 if test x$gcc_no_link = xyes; then
108178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108180 { (exit 1); exit 1; }; }
108182 cat >conftest.$ac_ext <<_ACEOF
108183 /* confdefs.h. */
108184 _ACEOF
108185 cat confdefs.h >>conftest.$ac_ext
108186 cat >>conftest.$ac_ext <<_ACEOF
108187 /* end confdefs.h. */
108188 #include <unistd.h>
108189 #include <stdio.h>
108190 #include <sys/stat.h>
108193 main ()
108195 FILE* fp;
108196 fopen64("t", "w");
108197 fseeko64(fp, 0, SEEK_CUR);
108198 ftello64(fp);
108199 lseek64(1, 0, SEEK_CUR);
108200 struct stat64 buf;
108201 fstat64(1, &buf);
108203 return 0;
108205 _ACEOF
108206 rm -f conftest.$ac_objext conftest$ac_exeext
108207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108208 (eval $ac_link) 2>conftest.er1
108209 ac_status=$?
108210 grep -v '^ *+' conftest.er1 >conftest.err
108211 rm -f conftest.er1
108212 cat conftest.err >&5
108213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108214 (exit $ac_status); } &&
108215 { ac_try='test -z "$ac_cxx_werror_flag"
108216 || test ! -s conftest.err'
108217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108218 (eval $ac_try) 2>&5
108219 ac_status=$?
108220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108221 (exit $ac_status); }; } &&
108222 { ac_try='test -s conftest$ac_exeext'
108223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108224 (eval $ac_try) 2>&5
108225 ac_status=$?
108226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108227 (exit $ac_status); }; }; then
108228 glibcxx_cv_LFS=yes
108230 echo "$as_me: failed program was:" >&5
108231 sed 's/^/| /' conftest.$ac_ext >&5
108233 glibcxx_cv_LFS=no
108235 rm -f conftest.err conftest.$ac_objext \
108236 conftest$ac_exeext conftest.$ac_ext
108240 if test $glibcxx_cv_LFS = yes; then
108242 cat >>confdefs.h <<\_ACEOF
108243 #define _GLIBCXX_USE_LFS 1
108244 _ACEOF
108247 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
108248 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
108249 CXXFLAGS="$ac_save_CXXFLAGS"
108250 ac_ext=c
108251 ac_cpp='$CPP $CPPFLAGS'
108252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108258 # For showmanyc_helper().
108261 for ac_header in sys/ioctl.h sys/filio.h
108263 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108265 echo "$as_me:$LINENO: checking for $ac_header" >&5
108266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108268 echo $ECHO_N "(cached) $ECHO_C" >&6
108270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108273 # Is the header compilable?
108274 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108275 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108276 cat >conftest.$ac_ext <<_ACEOF
108277 /* confdefs.h. */
108278 _ACEOF
108279 cat confdefs.h >>conftest.$ac_ext
108280 cat >>conftest.$ac_ext <<_ACEOF
108281 /* end confdefs.h. */
108282 $ac_includes_default
108283 #include <$ac_header>
108284 _ACEOF
108285 rm -f conftest.$ac_objext
108286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108287 (eval $ac_compile) 2>conftest.er1
108288 ac_status=$?
108289 grep -v '^ *+' conftest.er1 >conftest.err
108290 rm -f conftest.er1
108291 cat conftest.err >&5
108292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108293 (exit $ac_status); } &&
108294 { ac_try='test -z "$ac_c_werror_flag"
108295 || test ! -s conftest.err'
108296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108297 (eval $ac_try) 2>&5
108298 ac_status=$?
108299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108300 (exit $ac_status); }; } &&
108301 { ac_try='test -s conftest.$ac_objext'
108302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108303 (eval $ac_try) 2>&5
108304 ac_status=$?
108305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108306 (exit $ac_status); }; }; then
108307 ac_header_compiler=yes
108309 echo "$as_me: failed program was:" >&5
108310 sed 's/^/| /' conftest.$ac_ext >&5
108312 ac_header_compiler=no
108314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108316 echo "${ECHO_T}$ac_header_compiler" >&6
108318 # Is the header present?
108319 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108320 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108321 cat >conftest.$ac_ext <<_ACEOF
108322 /* confdefs.h. */
108323 _ACEOF
108324 cat confdefs.h >>conftest.$ac_ext
108325 cat >>conftest.$ac_ext <<_ACEOF
108326 /* end confdefs.h. */
108327 #include <$ac_header>
108328 _ACEOF
108329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108330 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108331 ac_status=$?
108332 grep -v '^ *+' conftest.er1 >conftest.err
108333 rm -f conftest.er1
108334 cat conftest.err >&5
108335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108336 (exit $ac_status); } >/dev/null; then
108337 if test -s conftest.err; then
108338 ac_cpp_err=$ac_c_preproc_warn_flag
108339 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108341 ac_cpp_err=
108344 ac_cpp_err=yes
108346 if test -z "$ac_cpp_err"; then
108347 ac_header_preproc=yes
108349 echo "$as_me: failed program was:" >&5
108350 sed 's/^/| /' conftest.$ac_ext >&5
108352 ac_header_preproc=no
108354 rm -f conftest.err conftest.$ac_ext
108355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108356 echo "${ECHO_T}$ac_header_preproc" >&6
108358 # So? What about this header?
108359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108360 yes:no: )
108361 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108362 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108364 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108365 ac_header_preproc=yes
108367 no:yes:* )
108368 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108369 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108370 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108371 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108372 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108373 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108374 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108375 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108377 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108378 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108379 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108381 cat <<\_ASBOX
108382 ## ----------------------------------------- ##
108383 ## Report this to the package-unused lists. ##
108384 ## ----------------------------------------- ##
108385 _ASBOX
108387 sed "s/^/$as_me: WARNING: /" >&2
108390 echo "$as_me:$LINENO: checking for $ac_header" >&5
108391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108393 echo $ECHO_N "(cached) $ECHO_C" >&6
108395 eval "$as_ac_Header=\$ac_header_preproc"
108397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108402 cat >>confdefs.h <<_ACEOF
108403 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108404 _ACEOF
108411 echo "$as_me:$LINENO: checking for poll" >&5
108412 echo $ECHO_N "checking for poll... $ECHO_C" >&6
108413 if test "${glibcxx_cv_POLL+set}" = set; then
108414 echo $ECHO_N "(cached) $ECHO_C" >&6
108417 if test x$gcc_no_link = xyes; then
108418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108420 { (exit 1); exit 1; }; }
108422 cat >conftest.$ac_ext <<_ACEOF
108423 /* confdefs.h. */
108424 _ACEOF
108425 cat confdefs.h >>conftest.$ac_ext
108426 cat >>conftest.$ac_ext <<_ACEOF
108427 /* end confdefs.h. */
108428 #include <poll.h>
108430 main ()
108432 struct pollfd pfd[1];
108433 pfd[0].events = POLLIN;
108434 poll(pfd, 1, 0);
108436 return 0;
108438 _ACEOF
108439 rm -f conftest.$ac_objext conftest$ac_exeext
108440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108441 (eval $ac_link) 2>conftest.er1
108442 ac_status=$?
108443 grep -v '^ *+' conftest.er1 >conftest.err
108444 rm -f conftest.er1
108445 cat conftest.err >&5
108446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108447 (exit $ac_status); } &&
108448 { ac_try='test -z "$ac_c_werror_flag"
108449 || test ! -s conftest.err'
108450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108451 (eval $ac_try) 2>&5
108452 ac_status=$?
108453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108454 (exit $ac_status); }; } &&
108455 { ac_try='test -s conftest$ac_exeext'
108456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108457 (eval $ac_try) 2>&5
108458 ac_status=$?
108459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108460 (exit $ac_status); }; }; then
108461 glibcxx_cv_POLL=yes
108463 echo "$as_me: failed program was:" >&5
108464 sed 's/^/| /' conftest.$ac_ext >&5
108466 glibcxx_cv_POLL=no
108468 rm -f conftest.err conftest.$ac_objext \
108469 conftest$ac_exeext conftest.$ac_ext
108473 if test $glibcxx_cv_POLL = yes; then
108475 cat >>confdefs.h <<\_ACEOF
108476 #define HAVE_POLL 1
108477 _ACEOF
108480 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
108481 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
108484 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
108485 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
108486 if test "${glibcxx_cv_S_ISREG+set}" = set; then
108487 echo $ECHO_N "(cached) $ECHO_C" >&6
108490 if test x$gcc_no_link = xyes; then
108491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108493 { (exit 1); exit 1; }; }
108495 cat >conftest.$ac_ext <<_ACEOF
108496 /* confdefs.h. */
108497 _ACEOF
108498 cat confdefs.h >>conftest.$ac_ext
108499 cat >>conftest.$ac_ext <<_ACEOF
108500 /* end confdefs.h. */
108501 #include <sys/stat.h>
108503 main ()
108505 struct stat buffer;
108506 fstat(0, &buffer);
108507 S_ISREG(buffer.st_mode);
108509 return 0;
108511 _ACEOF
108512 rm -f conftest.$ac_objext conftest$ac_exeext
108513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108514 (eval $ac_link) 2>conftest.er1
108515 ac_status=$?
108516 grep -v '^ *+' conftest.er1 >conftest.err
108517 rm -f conftest.er1
108518 cat conftest.err >&5
108519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108520 (exit $ac_status); } &&
108521 { ac_try='test -z "$ac_c_werror_flag"
108522 || test ! -s conftest.err'
108523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108524 (eval $ac_try) 2>&5
108525 ac_status=$?
108526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108527 (exit $ac_status); }; } &&
108528 { ac_try='test -s conftest$ac_exeext'
108529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108530 (eval $ac_try) 2>&5
108531 ac_status=$?
108532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108533 (exit $ac_status); }; }; then
108534 glibcxx_cv_S_ISREG=yes
108536 echo "$as_me: failed program was:" >&5
108537 sed 's/^/| /' conftest.$ac_ext >&5
108539 glibcxx_cv_S_ISREG=no
108541 rm -f conftest.err conftest.$ac_objext \
108542 conftest$ac_exeext conftest.$ac_ext
108546 if test "${glibcxx_cv_S_IFREG+set}" = set; then
108547 echo $ECHO_N "(cached) $ECHO_C" >&6
108550 if test x$gcc_no_link = xyes; then
108551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108553 { (exit 1); exit 1; }; }
108555 cat >conftest.$ac_ext <<_ACEOF
108556 /* confdefs.h. */
108557 _ACEOF
108558 cat confdefs.h >>conftest.$ac_ext
108559 cat >>conftest.$ac_ext <<_ACEOF
108560 /* end confdefs.h. */
108561 #include <sys/stat.h>
108563 main ()
108565 struct stat buffer;
108566 fstat(0, &buffer);
108567 S_IFREG & buffer.st_mode;
108569 return 0;
108571 _ACEOF
108572 rm -f conftest.$ac_objext conftest$ac_exeext
108573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108574 (eval $ac_link) 2>conftest.er1
108575 ac_status=$?
108576 grep -v '^ *+' conftest.er1 >conftest.err
108577 rm -f conftest.er1
108578 cat conftest.err >&5
108579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108580 (exit $ac_status); } &&
108581 { ac_try='test -z "$ac_c_werror_flag"
108582 || test ! -s conftest.err'
108583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108584 (eval $ac_try) 2>&5
108585 ac_status=$?
108586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108587 (exit $ac_status); }; } &&
108588 { ac_try='test -s conftest$ac_exeext'
108589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108590 (eval $ac_try) 2>&5
108591 ac_status=$?
108592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108593 (exit $ac_status); }; }; then
108594 glibcxx_cv_S_IFREG=yes
108596 echo "$as_me: failed program was:" >&5
108597 sed 's/^/| /' conftest.$ac_ext >&5
108599 glibcxx_cv_S_IFREG=no
108601 rm -f conftest.err conftest.$ac_objext \
108602 conftest$ac_exeext conftest.$ac_ext
108606 res=no
108607 if test $glibcxx_cv_S_ISREG = yes; then
108609 cat >>confdefs.h <<\_ACEOF
108610 #define HAVE_S_ISREG 1
108611 _ACEOF
108613 res=S_ISREG
108614 elif test $glibcxx_cv_S_IFREG = yes; then
108616 cat >>confdefs.h <<\_ACEOF
108617 #define HAVE_S_IFREG 1
108618 _ACEOF
108620 res=S_IFREG
108622 echo "$as_me:$LINENO: result: $res" >&5
108623 echo "${ECHO_T}$res" >&6
108626 # For xsputn_2().
108628 for ac_header in sys/uio.h
108630 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108632 echo "$as_me:$LINENO: checking for $ac_header" >&5
108633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108635 echo $ECHO_N "(cached) $ECHO_C" >&6
108637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108640 # Is the header compilable?
108641 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108642 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108643 cat >conftest.$ac_ext <<_ACEOF
108644 /* confdefs.h. */
108645 _ACEOF
108646 cat confdefs.h >>conftest.$ac_ext
108647 cat >>conftest.$ac_ext <<_ACEOF
108648 /* end confdefs.h. */
108649 $ac_includes_default
108650 #include <$ac_header>
108651 _ACEOF
108652 rm -f conftest.$ac_objext
108653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108654 (eval $ac_compile) 2>conftest.er1
108655 ac_status=$?
108656 grep -v '^ *+' conftest.er1 >conftest.err
108657 rm -f conftest.er1
108658 cat conftest.err >&5
108659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108660 (exit $ac_status); } &&
108661 { ac_try='test -z "$ac_c_werror_flag"
108662 || test ! -s conftest.err'
108663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108664 (eval $ac_try) 2>&5
108665 ac_status=$?
108666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108667 (exit $ac_status); }; } &&
108668 { ac_try='test -s conftest.$ac_objext'
108669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108670 (eval $ac_try) 2>&5
108671 ac_status=$?
108672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108673 (exit $ac_status); }; }; then
108674 ac_header_compiler=yes
108676 echo "$as_me: failed program was:" >&5
108677 sed 's/^/| /' conftest.$ac_ext >&5
108679 ac_header_compiler=no
108681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108682 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108683 echo "${ECHO_T}$ac_header_compiler" >&6
108685 # Is the header present?
108686 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108687 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108688 cat >conftest.$ac_ext <<_ACEOF
108689 /* confdefs.h. */
108690 _ACEOF
108691 cat confdefs.h >>conftest.$ac_ext
108692 cat >>conftest.$ac_ext <<_ACEOF
108693 /* end confdefs.h. */
108694 #include <$ac_header>
108695 _ACEOF
108696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108697 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108698 ac_status=$?
108699 grep -v '^ *+' conftest.er1 >conftest.err
108700 rm -f conftest.er1
108701 cat conftest.err >&5
108702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108703 (exit $ac_status); } >/dev/null; then
108704 if test -s conftest.err; then
108705 ac_cpp_err=$ac_c_preproc_warn_flag
108706 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108708 ac_cpp_err=
108711 ac_cpp_err=yes
108713 if test -z "$ac_cpp_err"; then
108714 ac_header_preproc=yes
108716 echo "$as_me: failed program was:" >&5
108717 sed 's/^/| /' conftest.$ac_ext >&5
108719 ac_header_preproc=no
108721 rm -f conftest.err conftest.$ac_ext
108722 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108723 echo "${ECHO_T}$ac_header_preproc" >&6
108725 # So? What about this header?
108726 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108727 yes:no: )
108728 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108729 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108731 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108732 ac_header_preproc=yes
108734 no:yes:* )
108735 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108736 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108737 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108738 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108739 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108740 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108741 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108742 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108744 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108745 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108746 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108748 cat <<\_ASBOX
108749 ## ----------------------------------------- ##
108750 ## Report this to the package-unused lists. ##
108751 ## ----------------------------------------- ##
108752 _ASBOX
108754 sed "s/^/$as_me: WARNING: /" >&2
108757 echo "$as_me:$LINENO: checking for $ac_header" >&5
108758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108760 echo $ECHO_N "(cached) $ECHO_C" >&6
108762 eval "$as_ac_Header=\$ac_header_preproc"
108764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108769 cat >>confdefs.h <<_ACEOF
108770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108771 _ACEOF
108778 echo "$as_me:$LINENO: checking for writev" >&5
108779 echo $ECHO_N "checking for writev... $ECHO_C" >&6
108780 if test "${glibcxx_cv_WRITEV+set}" = set; then
108781 echo $ECHO_N "(cached) $ECHO_C" >&6
108784 if test x$gcc_no_link = xyes; then
108785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108787 { (exit 1); exit 1; }; }
108789 cat >conftest.$ac_ext <<_ACEOF
108790 /* confdefs.h. */
108791 _ACEOF
108792 cat confdefs.h >>conftest.$ac_ext
108793 cat >>conftest.$ac_ext <<_ACEOF
108794 /* end confdefs.h. */
108795 #include <sys/uio.h>
108797 main ()
108799 struct iovec iov[2];
108800 writev(0, iov, 0);
108802 return 0;
108804 _ACEOF
108805 rm -f conftest.$ac_objext conftest$ac_exeext
108806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108807 (eval $ac_link) 2>conftest.er1
108808 ac_status=$?
108809 grep -v '^ *+' conftest.er1 >conftest.err
108810 rm -f conftest.er1
108811 cat conftest.err >&5
108812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108813 (exit $ac_status); } &&
108814 { ac_try='test -z "$ac_c_werror_flag"
108815 || test ! -s conftest.err'
108816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108817 (eval $ac_try) 2>&5
108818 ac_status=$?
108819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108820 (exit $ac_status); }; } &&
108821 { ac_try='test -s conftest$ac_exeext'
108822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108823 (eval $ac_try) 2>&5
108824 ac_status=$?
108825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108826 (exit $ac_status); }; }; then
108827 glibcxx_cv_WRITEV=yes
108829 echo "$as_me: failed program was:" >&5
108830 sed 's/^/| /' conftest.$ac_ext >&5
108832 glibcxx_cv_WRITEV=no
108834 rm -f conftest.err conftest.$ac_objext \
108835 conftest$ac_exeext conftest.$ac_ext
108839 if test $glibcxx_cv_WRITEV = yes; then
108841 cat >>confdefs.h <<\_ACEOF
108842 #define HAVE_WRITEV 1
108843 _ACEOF
108846 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
108847 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
108850 # For C99 support to TR1.
108855 ac_ext=cc
108856 ac_cpp='$CXXCPP $CPPFLAGS'
108857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108862 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
108863 # undefined and fake C99 facilities may be spuriously enabled.
108864 ac_save_CXXFLAGS="$CXXFLAGS"
108865 CXXFLAGS="$CXXFLAGS -std=c++98"
108867 # Check for the existence of <complex.h> complex math functions used
108868 # by tr1/complex.
108870 for ac_header in complex.h
108872 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108874 echo "$as_me:$LINENO: checking for $ac_header" >&5
108875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108877 echo $ECHO_N "(cached) $ECHO_C" >&6
108879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108880 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108882 # Is the header compilable?
108883 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108884 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108885 cat >conftest.$ac_ext <<_ACEOF
108886 /* confdefs.h. */
108887 _ACEOF
108888 cat confdefs.h >>conftest.$ac_ext
108889 cat >>conftest.$ac_ext <<_ACEOF
108890 /* end confdefs.h. */
108891 $ac_includes_default
108892 #include <$ac_header>
108893 _ACEOF
108894 rm -f conftest.$ac_objext
108895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108896 (eval $ac_compile) 2>conftest.er1
108897 ac_status=$?
108898 grep -v '^ *+' conftest.er1 >conftest.err
108899 rm -f conftest.er1
108900 cat conftest.err >&5
108901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108902 (exit $ac_status); } &&
108903 { ac_try='test -z "$ac_cxx_werror_flag"
108904 || test ! -s conftest.err'
108905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108906 (eval $ac_try) 2>&5
108907 ac_status=$?
108908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108909 (exit $ac_status); }; } &&
108910 { ac_try='test -s conftest.$ac_objext'
108911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108912 (eval $ac_try) 2>&5
108913 ac_status=$?
108914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108915 (exit $ac_status); }; }; then
108916 ac_header_compiler=yes
108918 echo "$as_me: failed program was:" >&5
108919 sed 's/^/| /' conftest.$ac_ext >&5
108921 ac_header_compiler=no
108923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108924 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108925 echo "${ECHO_T}$ac_header_compiler" >&6
108927 # Is the header present?
108928 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108929 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108930 cat >conftest.$ac_ext <<_ACEOF
108931 /* confdefs.h. */
108932 _ACEOF
108933 cat confdefs.h >>conftest.$ac_ext
108934 cat >>conftest.$ac_ext <<_ACEOF
108935 /* end confdefs.h. */
108936 #include <$ac_header>
108937 _ACEOF
108938 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108939 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108940 ac_status=$?
108941 grep -v '^ *+' conftest.er1 >conftest.err
108942 rm -f conftest.er1
108943 cat conftest.err >&5
108944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108945 (exit $ac_status); } >/dev/null; then
108946 if test -s conftest.err; then
108947 ac_cpp_err=$ac_cxx_preproc_warn_flag
108948 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
108950 ac_cpp_err=
108953 ac_cpp_err=yes
108955 if test -z "$ac_cpp_err"; then
108956 ac_header_preproc=yes
108958 echo "$as_me: failed program was:" >&5
108959 sed 's/^/| /' conftest.$ac_ext >&5
108961 ac_header_preproc=no
108963 rm -f conftest.err conftest.$ac_ext
108964 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108965 echo "${ECHO_T}$ac_header_preproc" >&6
108967 # So? What about this header?
108968 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
108969 yes:no: )
108970 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108971 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108972 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108973 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108974 ac_header_preproc=yes
108976 no:yes:* )
108977 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108978 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108979 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108980 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108981 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108982 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108983 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108984 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108986 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108987 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108988 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108990 cat <<\_ASBOX
108991 ## ----------------------------------------- ##
108992 ## Report this to the package-unused lists. ##
108993 ## ----------------------------------------- ##
108994 _ASBOX
108996 sed "s/^/$as_me: WARNING: /" >&2
108999 echo "$as_me:$LINENO: checking for $ac_header" >&5
109000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109002 echo $ECHO_N "(cached) $ECHO_C" >&6
109004 eval "$as_ac_Header=\$ac_header_preproc"
109006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109007 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109010 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109011 cat >>confdefs.h <<_ACEOF
109012 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109013 _ACEOF
109014 ac_has_complex_h=yes
109016 ac_has_complex_h=no
109021 ac_c99_complex_tr1=no;
109022 if test x"$ac_has_complex_h" = x"yes"; then
109023 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
109024 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
109025 cat >conftest.$ac_ext <<_ACEOF
109026 /* confdefs.h. */
109027 _ACEOF
109028 cat confdefs.h >>conftest.$ac_ext
109029 cat >>conftest.$ac_ext <<_ACEOF
109030 /* end confdefs.h. */
109031 #include <complex.h>
109033 main ()
109035 typedef __complex__ float float_type; float_type tmpf;
109036 cacosf(tmpf);
109037 casinf(tmpf);
109038 catanf(tmpf);
109039 cacoshf(tmpf);
109040 casinhf(tmpf);
109041 catanhf(tmpf);
109042 typedef __complex__ double double_type; double_type tmpd;
109043 cacos(tmpd);
109044 casin(tmpd);
109045 catan(tmpd);
109046 cacosh(tmpd);
109047 casinh(tmpd);
109048 catanh(tmpd);
109049 typedef __complex__ long double ld_type; ld_type tmpld;
109050 cacosl(tmpld);
109051 casinl(tmpld);
109052 catanl(tmpld);
109053 cacoshl(tmpld);
109054 casinhl(tmpld);
109055 catanhl(tmpld);
109058 return 0;
109060 _ACEOF
109061 rm -f conftest.$ac_objext
109062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109063 (eval $ac_compile) 2>conftest.er1
109064 ac_status=$?
109065 grep -v '^ *+' conftest.er1 >conftest.err
109066 rm -f conftest.er1
109067 cat conftest.err >&5
109068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109069 (exit $ac_status); } &&
109070 { ac_try='test -z "$ac_cxx_werror_flag"
109071 || test ! -s conftest.err'
109072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109073 (eval $ac_try) 2>&5
109074 ac_status=$?
109075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109076 (exit $ac_status); }; } &&
109077 { ac_try='test -s conftest.$ac_objext'
109078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109079 (eval $ac_try) 2>&5
109080 ac_status=$?
109081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109082 (exit $ac_status); }; }; then
109083 ac_c99_complex_tr1=yes
109085 echo "$as_me: failed program was:" >&5
109086 sed 's/^/| /' conftest.$ac_ext >&5
109088 ac_c99_complex_tr1=no
109090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109092 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
109093 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
109094 if test x"$ac_c99_complex_tr1" = x"yes"; then
109096 cat >>confdefs.h <<\_ACEOF
109097 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
109098 _ACEOF
109102 # Check for the existence of <ctype.h> functions.
109103 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
109104 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
109105 if test "${ac_c99_ctype_tr1+set}" = set; then
109106 echo $ECHO_N "(cached) $ECHO_C" >&6
109109 cat >conftest.$ac_ext <<_ACEOF
109110 /* confdefs.h. */
109111 _ACEOF
109112 cat confdefs.h >>conftest.$ac_ext
109113 cat >>conftest.$ac_ext <<_ACEOF
109114 /* end confdefs.h. */
109115 #include <ctype.h>
109117 main ()
109119 int ch;
109120 int ret;
109121 ret = isblank(ch);
109124 return 0;
109126 _ACEOF
109127 rm -f conftest.$ac_objext
109128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109129 (eval $ac_compile) 2>conftest.er1
109130 ac_status=$?
109131 grep -v '^ *+' conftest.er1 >conftest.err
109132 rm -f conftest.er1
109133 cat conftest.err >&5
109134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109135 (exit $ac_status); } &&
109136 { ac_try='test -z "$ac_cxx_werror_flag"
109137 || test ! -s conftest.err'
109138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109139 (eval $ac_try) 2>&5
109140 ac_status=$?
109141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109142 (exit $ac_status); }; } &&
109143 { ac_try='test -s conftest.$ac_objext'
109144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109145 (eval $ac_try) 2>&5
109146 ac_status=$?
109147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109148 (exit $ac_status); }; }; then
109149 ac_c99_ctype_tr1=yes
109151 echo "$as_me: failed program was:" >&5
109152 sed 's/^/| /' conftest.$ac_ext >&5
109154 ac_c99_ctype_tr1=no
109156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109160 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
109161 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
109162 if test x"$ac_c99_ctype_tr1" = x"yes"; then
109164 cat >>confdefs.h <<\_ACEOF
109165 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
109166 _ACEOF
109170 # Check for the existence of <fenv.h> functions.
109172 for ac_header in fenv.h
109174 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109175 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109176 echo "$as_me:$LINENO: checking for $ac_header" >&5
109177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109179 echo $ECHO_N "(cached) $ECHO_C" >&6
109181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109182 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109184 # Is the header compilable?
109185 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109186 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109187 cat >conftest.$ac_ext <<_ACEOF
109188 /* confdefs.h. */
109189 _ACEOF
109190 cat confdefs.h >>conftest.$ac_ext
109191 cat >>conftest.$ac_ext <<_ACEOF
109192 /* end confdefs.h. */
109193 $ac_includes_default
109194 #include <$ac_header>
109195 _ACEOF
109196 rm -f conftest.$ac_objext
109197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109198 (eval $ac_compile) 2>conftest.er1
109199 ac_status=$?
109200 grep -v '^ *+' conftest.er1 >conftest.err
109201 rm -f conftest.er1
109202 cat conftest.err >&5
109203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109204 (exit $ac_status); } &&
109205 { ac_try='test -z "$ac_cxx_werror_flag"
109206 || test ! -s conftest.err'
109207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109208 (eval $ac_try) 2>&5
109209 ac_status=$?
109210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109211 (exit $ac_status); }; } &&
109212 { ac_try='test -s conftest.$ac_objext'
109213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109214 (eval $ac_try) 2>&5
109215 ac_status=$?
109216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109217 (exit $ac_status); }; }; then
109218 ac_header_compiler=yes
109220 echo "$as_me: failed program was:" >&5
109221 sed 's/^/| /' conftest.$ac_ext >&5
109223 ac_header_compiler=no
109225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109226 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109227 echo "${ECHO_T}$ac_header_compiler" >&6
109229 # Is the header present?
109230 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109231 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109232 cat >conftest.$ac_ext <<_ACEOF
109233 /* confdefs.h. */
109234 _ACEOF
109235 cat confdefs.h >>conftest.$ac_ext
109236 cat >>conftest.$ac_ext <<_ACEOF
109237 /* end confdefs.h. */
109238 #include <$ac_header>
109239 _ACEOF
109240 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109241 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109242 ac_status=$?
109243 grep -v '^ *+' conftest.er1 >conftest.err
109244 rm -f conftest.er1
109245 cat conftest.err >&5
109246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109247 (exit $ac_status); } >/dev/null; then
109248 if test -s conftest.err; then
109249 ac_cpp_err=$ac_cxx_preproc_warn_flag
109250 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109252 ac_cpp_err=
109255 ac_cpp_err=yes
109257 if test -z "$ac_cpp_err"; then
109258 ac_header_preproc=yes
109260 echo "$as_me: failed program was:" >&5
109261 sed 's/^/| /' conftest.$ac_ext >&5
109263 ac_header_preproc=no
109265 rm -f conftest.err conftest.$ac_ext
109266 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109267 echo "${ECHO_T}$ac_header_preproc" >&6
109269 # So? What about this header?
109270 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109271 yes:no: )
109272 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109273 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109274 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109275 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109276 ac_header_preproc=yes
109278 no:yes:* )
109279 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109280 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109281 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109282 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109283 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109284 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109285 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109286 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109287 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109288 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109289 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109290 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109292 cat <<\_ASBOX
109293 ## ----------------------------------------- ##
109294 ## Report this to the package-unused lists. ##
109295 ## ----------------------------------------- ##
109296 _ASBOX
109298 sed "s/^/$as_me: WARNING: /" >&2
109301 echo "$as_me:$LINENO: checking for $ac_header" >&5
109302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109304 echo $ECHO_N "(cached) $ECHO_C" >&6
109306 eval "$as_ac_Header=\$ac_header_preproc"
109308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109309 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109312 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109313 cat >>confdefs.h <<_ACEOF
109314 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109315 _ACEOF
109316 ac_has_fenv_h=yes
109318 ac_has_fenv_h=no
109323 ac_c99_fenv_tr1=no;
109324 if test x"$ac_has_fenv_h" = x"yes"; then
109325 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
109326 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
109327 cat >conftest.$ac_ext <<_ACEOF
109328 /* confdefs.h. */
109329 _ACEOF
109330 cat confdefs.h >>conftest.$ac_ext
109331 cat >>conftest.$ac_ext <<_ACEOF
109332 /* end confdefs.h. */
109333 #include <fenv.h>
109335 main ()
109337 int except, mode;
109338 fexcept_t* pflag;
109339 fenv_t* penv;
109340 int ret;
109341 ret = feclearexcept(except);
109342 ret = fegetexceptflag(pflag, except);
109343 ret = feraiseexcept(except);
109344 ret = fesetexceptflag(pflag, except);
109345 ret = fetestexcept(except);
109346 ret = fegetround();
109347 ret = fesetround(mode);
109348 ret = fegetenv(penv);
109349 ret = feholdexcept(penv);
109350 ret = fesetenv(penv);
109351 ret = feupdateenv(penv);
109354 return 0;
109356 _ACEOF
109357 rm -f conftest.$ac_objext
109358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109359 (eval $ac_compile) 2>conftest.er1
109360 ac_status=$?
109361 grep -v '^ *+' conftest.er1 >conftest.err
109362 rm -f conftest.er1
109363 cat conftest.err >&5
109364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109365 (exit $ac_status); } &&
109366 { ac_try='test -z "$ac_cxx_werror_flag"
109367 || test ! -s conftest.err'
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); }; } &&
109373 { ac_try='test -s conftest.$ac_objext'
109374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109375 (eval $ac_try) 2>&5
109376 ac_status=$?
109377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109378 (exit $ac_status); }; }; then
109379 ac_c99_fenv_tr1=yes
109381 echo "$as_me: failed program was:" >&5
109382 sed 's/^/| /' conftest.$ac_ext >&5
109384 ac_c99_fenv_tr1=no
109386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109388 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
109389 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
109390 if test x"$ac_c99_fenv_tr1" = x"yes"; then
109392 cat >>confdefs.h <<\_ACEOF
109393 #define _GLIBCXX_USE_C99_FENV_TR1 1
109394 _ACEOF
109398 # Check for the existence of <stdint.h> types.
109399 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
109400 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
109401 if test "${ac_c99_stdint_tr1+set}" = set; then
109402 echo $ECHO_N "(cached) $ECHO_C" >&6
109405 cat >conftest.$ac_ext <<_ACEOF
109406 /* confdefs.h. */
109407 _ACEOF
109408 cat confdefs.h >>conftest.$ac_ext
109409 cat >>conftest.$ac_ext <<_ACEOF
109410 /* end confdefs.h. */
109411 #include <stdint.h>
109413 main ()
109415 typedef int8_t my_int8_t;
109416 typedef int16_t my_int16_t;
109417 typedef int32_t my_int32_t;
109418 typedef int64_t my_int64_t;
109419 typedef int_fast8_t my_int_fast8_t;
109420 typedef int_fast16_t my_int_fast16_t;
109421 typedef int_fast32_t my_int_fast32_t;
109422 typedef int_fast64_t my_int_fast64_t;
109423 typedef int_least8_t my_int_least8_t;
109424 typedef int_least16_t my_int_least16_t;
109425 typedef int_least32_t my_int_least32_t;
109426 typedef int_least64_t my_int_least64_t;
109427 typedef intmax_t my_intmax_t;
109428 typedef intptr_t my_intptr_t;
109429 typedef uint8_t my_uint8_t;
109430 typedef uint16_t my_uint16_t;
109431 typedef uint32_t my_uint32_t;
109432 typedef uint64_t my_uint64_t;
109433 typedef uint_fast8_t my_uint_fast8_t;
109434 typedef uint_fast16_t my_uint_fast16_t;
109435 typedef uint_fast32_t my_uint_fast32_t;
109436 typedef uint_fast64_t my_uint_fast64_t;
109437 typedef uint_least8_t my_uint_least8_t;
109438 typedef uint_least16_t my_uint_least16_t;
109439 typedef uint_least32_t my_uint_least32_t;
109440 typedef uint_least64_t my_uint_least64_t;
109441 typedef uintmax_t my_uintmax_t;
109442 typedef uintptr_t my_uintptr_t;
109445 return 0;
109447 _ACEOF
109448 rm -f conftest.$ac_objext
109449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109450 (eval $ac_compile) 2>conftest.er1
109451 ac_status=$?
109452 grep -v '^ *+' conftest.er1 >conftest.err
109453 rm -f conftest.er1
109454 cat conftest.err >&5
109455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109456 (exit $ac_status); } &&
109457 { ac_try='test -z "$ac_cxx_werror_flag"
109458 || test ! -s conftest.err'
109459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109460 (eval $ac_try) 2>&5
109461 ac_status=$?
109462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109463 (exit $ac_status); }; } &&
109464 { ac_try='test -s conftest.$ac_objext'
109465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109466 (eval $ac_try) 2>&5
109467 ac_status=$?
109468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109469 (exit $ac_status); }; }; then
109470 ac_c99_stdint_tr1=yes
109472 echo "$as_me: failed program was:" >&5
109473 sed 's/^/| /' conftest.$ac_ext >&5
109475 ac_c99_stdint_tr1=no
109477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109481 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
109482 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
109483 if test x"$ac_c99_stdint_tr1" = x"yes"; then
109485 cat >>confdefs.h <<\_ACEOF
109486 #define _GLIBCXX_USE_C99_STDINT_TR1 1
109487 _ACEOF
109491 # Check for the existence of <math.h> functions.
109492 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
109493 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
109494 if test "${ac_c99_math_tr1+set}" = set; then
109495 echo $ECHO_N "(cached) $ECHO_C" >&6
109498 cat >conftest.$ac_ext <<_ACEOF
109499 /* confdefs.h. */
109500 _ACEOF
109501 cat confdefs.h >>conftest.$ac_ext
109502 cat >>conftest.$ac_ext <<_ACEOF
109503 /* end confdefs.h. */
109504 #include <math.h>
109506 main ()
109508 typedef double_t my_double_t;
109509 typedef float_t my_float_t;
109510 acosh(0.0);
109511 acoshf(0.0f);
109512 acoshl(0.0l);
109513 asinh(0.0);
109514 asinhf(0.0f);
109515 asinhl(0.0l);
109516 atanh(0.0);
109517 atanhf(0.0f);
109518 atanhl(0.0l);
109519 cbrt(0.0);
109520 cbrtf(0.0f);
109521 cbrtl(0.0l);
109522 copysign(0.0, 0.0);
109523 copysignf(0.0f, 0.0f);
109524 copysignl(0.0l, 0.0l);
109525 erf(0.0);
109526 erff(0.0f);
109527 erfl(0.0l);
109528 erfc(0.0);
109529 erfcf(0.0f);
109530 erfcl(0.0l);
109531 exp2(0.0);
109532 exp2f(0.0f);
109533 exp2l(0.0l);
109534 expm1(0.0);
109535 expm1f(0.0f);
109536 expm1l(0.0l);
109537 fdim(0.0, 0.0);
109538 fdimf(0.0f, 0.0f);
109539 fdiml(0.0l, 0.0l);
109540 fma(0.0, 0.0, 0.0);
109541 fmaf(0.0f, 0.0f, 0.0f);
109542 fmal(0.0l, 0.0l, 0.0l);
109543 fmax(0.0, 0.0);
109544 fmaxf(0.0f, 0.0f);
109545 fmaxl(0.0l, 0.0l);
109546 fmin(0.0, 0.0);
109547 fminf(0.0f, 0.0f);
109548 fminl(0.0l, 0.0l);
109549 hypot(0.0, 0.0);
109550 hypotf(0.0f, 0.0f);
109551 hypotl(0.0l, 0.0l);
109552 ilogb(0.0);
109553 ilogbf(0.0f);
109554 ilogbl(0.0l);
109555 lgamma(0.0);
109556 lgammaf(0.0f);
109557 lgammal(0.0l);
109558 llrint(0.0);
109559 llrintf(0.0f);
109560 llrintl(0.0l);
109561 llround(0.0);
109562 llroundf(0.0f);
109563 llroundl(0.0l);
109564 log1p(0.0);
109565 log1pf(0.0f);
109566 log1pl(0.0l);
109567 log2(0.0);
109568 log2f(0.0f);
109569 log2l(0.0l);
109570 logb(0.0);
109571 logbf(0.0f);
109572 logbl(0.0l);
109573 lrint(0.0);
109574 lrintf(0.0f);
109575 lrintl(0.0l);
109576 lround(0.0);
109577 lroundf(0.0f);
109578 lroundl(0.0l);
109579 nan(0);
109580 nanf(0);
109581 nanl(0);
109582 nearbyint(0.0);
109583 nearbyintf(0.0f);
109584 nearbyintl(0.0l);
109585 nextafter(0.0, 0.0);
109586 nextafterf(0.0f, 0.0f);
109587 nextafterl(0.0l, 0.0l);
109588 nexttoward(0.0, 0.0);
109589 nexttowardf(0.0f, 0.0f);
109590 nexttowardl(0.0l, 0.0l);
109591 remainder(0.0, 0.0);
109592 remainderf(0.0f, 0.0f);
109593 remainderl(0.0l, 0.0l);
109594 remquo(0.0, 0.0, 0);
109595 remquo(0.0f, 0.0f, 0);
109596 remquo(0.0l, 0.0l, 0);
109597 rint(0.0);
109598 rintf(0.0f);
109599 rintl(0.0l);
109600 round(0.0);
109601 roundf(0.0f);
109602 roundl(0.0l);
109603 scalbln(0.0, 0l);
109604 scalblnf(0.0f, 0l);
109605 scalblnl(0.0l, 0l);
109606 scalbn(0.0, 0);
109607 scalbnf(0.0f, 0);
109608 scalbnl(0.0l, 0);
109609 tgamma(0.0);
109610 tgammaf(0.0f);
109611 tgammal(0.0l);
109612 trunc(0.0);
109613 truncf(0.0f);
109614 truncl(0.0l);
109617 return 0;
109619 _ACEOF
109620 rm -f conftest.$ac_objext
109621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109622 (eval $ac_compile) 2>conftest.er1
109623 ac_status=$?
109624 grep -v '^ *+' conftest.er1 >conftest.err
109625 rm -f conftest.er1
109626 cat conftest.err >&5
109627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109628 (exit $ac_status); } &&
109629 { ac_try='test -z "$ac_cxx_werror_flag"
109630 || test ! -s conftest.err'
109631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109632 (eval $ac_try) 2>&5
109633 ac_status=$?
109634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109635 (exit $ac_status); }; } &&
109636 { ac_try='test -s conftest.$ac_objext'
109637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109638 (eval $ac_try) 2>&5
109639 ac_status=$?
109640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109641 (exit $ac_status); }; }; then
109642 ac_c99_math_tr1=yes
109644 echo "$as_me: failed program was:" >&5
109645 sed 's/^/| /' conftest.$ac_ext >&5
109647 ac_c99_math_tr1=no
109649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109653 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
109654 echo "${ECHO_T}$ac_c99_math_tr1" >&6
109655 if test x"$ac_c99_math_tr1" = x"yes"; then
109657 cat >>confdefs.h <<\_ACEOF
109658 #define _GLIBCXX_USE_C99_MATH_TR1 1
109659 _ACEOF
109663 # Check for the existence of <inttypes.h> functions (NB: doesn't make
109664 # sense if the previous check fails, per C99, 7.8/1).
109665 ac_c99_inttypes_tr1=no;
109666 if test x"$ac_c99_stdint_tr1" = x"yes"; then
109667 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
109668 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
109669 cat >conftest.$ac_ext <<_ACEOF
109670 /* confdefs.h. */
109671 _ACEOF
109672 cat confdefs.h >>conftest.$ac_ext
109673 cat >>conftest.$ac_ext <<_ACEOF
109674 /* end confdefs.h. */
109675 #include <inttypes.h>
109677 main ()
109679 intmax_t i, numer, denom, base;
109680 const char* s;
109681 char** endptr;
109682 intmax_t ret = imaxabs(i);
109683 imaxdiv_t dret = imaxdiv(numer, denom);
109684 ret = strtoimax(s, endptr, base);
109685 uintmax_t uret = strtoumax(s, endptr, base);
109688 return 0;
109690 _ACEOF
109691 rm -f conftest.$ac_objext
109692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109693 (eval $ac_compile) 2>conftest.er1
109694 ac_status=$?
109695 grep -v '^ *+' conftest.er1 >conftest.err
109696 rm -f conftest.er1
109697 cat conftest.err >&5
109698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109699 (exit $ac_status); } &&
109700 { ac_try='test -z "$ac_cxx_werror_flag"
109701 || test ! -s conftest.err'
109702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109703 (eval $ac_try) 2>&5
109704 ac_status=$?
109705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109706 (exit $ac_status); }; } &&
109707 { ac_try='test -s conftest.$ac_objext'
109708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109709 (eval $ac_try) 2>&5
109710 ac_status=$?
109711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109712 (exit $ac_status); }; }; then
109713 ac_c99_inttypes_tr1=yes
109715 echo "$as_me: failed program was:" >&5
109716 sed 's/^/| /' conftest.$ac_ext >&5
109718 ac_c99_inttypes_tr1=no
109720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109722 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
109723 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
109724 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
109726 cat >>confdefs.h <<\_ACEOF
109727 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
109728 _ACEOF
109732 # Check for the existence of the <stdbool.h> header.
109734 for ac_header in stdbool.h
109736 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109738 echo "$as_me:$LINENO: checking for $ac_header" >&5
109739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109741 echo $ECHO_N "(cached) $ECHO_C" >&6
109743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109746 # Is the header compilable?
109747 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109748 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109749 cat >conftest.$ac_ext <<_ACEOF
109750 /* confdefs.h. */
109751 _ACEOF
109752 cat confdefs.h >>conftest.$ac_ext
109753 cat >>conftest.$ac_ext <<_ACEOF
109754 /* end confdefs.h. */
109755 $ac_includes_default
109756 #include <$ac_header>
109757 _ACEOF
109758 rm -f conftest.$ac_objext
109759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109760 (eval $ac_compile) 2>conftest.er1
109761 ac_status=$?
109762 grep -v '^ *+' conftest.er1 >conftest.err
109763 rm -f conftest.er1
109764 cat conftest.err >&5
109765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109766 (exit $ac_status); } &&
109767 { ac_try='test -z "$ac_cxx_werror_flag"
109768 || test ! -s conftest.err'
109769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109770 (eval $ac_try) 2>&5
109771 ac_status=$?
109772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109773 (exit $ac_status); }; } &&
109774 { ac_try='test -s conftest.$ac_objext'
109775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109776 (eval $ac_try) 2>&5
109777 ac_status=$?
109778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109779 (exit $ac_status); }; }; then
109780 ac_header_compiler=yes
109782 echo "$as_me: failed program was:" >&5
109783 sed 's/^/| /' conftest.$ac_ext >&5
109785 ac_header_compiler=no
109787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109788 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109789 echo "${ECHO_T}$ac_header_compiler" >&6
109791 # Is the header present?
109792 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109793 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109794 cat >conftest.$ac_ext <<_ACEOF
109795 /* confdefs.h. */
109796 _ACEOF
109797 cat confdefs.h >>conftest.$ac_ext
109798 cat >>conftest.$ac_ext <<_ACEOF
109799 /* end confdefs.h. */
109800 #include <$ac_header>
109801 _ACEOF
109802 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109803 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109804 ac_status=$?
109805 grep -v '^ *+' conftest.er1 >conftest.err
109806 rm -f conftest.er1
109807 cat conftest.err >&5
109808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109809 (exit $ac_status); } >/dev/null; then
109810 if test -s conftest.err; then
109811 ac_cpp_err=$ac_cxx_preproc_warn_flag
109812 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109814 ac_cpp_err=
109817 ac_cpp_err=yes
109819 if test -z "$ac_cpp_err"; then
109820 ac_header_preproc=yes
109822 echo "$as_me: failed program was:" >&5
109823 sed 's/^/| /' conftest.$ac_ext >&5
109825 ac_header_preproc=no
109827 rm -f conftest.err conftest.$ac_ext
109828 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109829 echo "${ECHO_T}$ac_header_preproc" >&6
109831 # So? What about this header?
109832 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109833 yes:no: )
109834 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109835 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109837 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109838 ac_header_preproc=yes
109840 no:yes:* )
109841 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109842 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109843 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109844 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109845 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109846 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109847 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109848 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109850 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109851 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109852 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109854 cat <<\_ASBOX
109855 ## ----------------------------------------- ##
109856 ## Report this to the package-unused lists. ##
109857 ## ----------------------------------------- ##
109858 _ASBOX
109860 sed "s/^/$as_me: WARNING: /" >&2
109863 echo "$as_me:$LINENO: checking for $ac_header" >&5
109864 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109865 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109866 echo $ECHO_N "(cached) $ECHO_C" >&6
109868 eval "$as_ac_Header=\$ac_header_preproc"
109870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109871 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109874 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109875 cat >>confdefs.h <<_ACEOF
109876 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109877 _ACEOF
109884 CXXFLAGS="$ac_save_CXXFLAGS"
109885 ac_ext=c
109886 ac_cpp='$CPP $CPPFLAGS'
109887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109893 # Check for sigsetjmp
109894 cat >conftest.$ac_ext <<_ACEOF
109895 /* confdefs.h. */
109896 _ACEOF
109897 cat confdefs.h >>conftest.$ac_ext
109898 cat >>conftest.$ac_ext <<_ACEOF
109899 /* end confdefs.h. */
109900 #include <setjmp.h>
109902 main ()
109904 sigjmp_buf env;
109905 while (! sigsetjmp (env, 1))
109906 siglongjmp (env, 1);
109909 return 0;
109911 _ACEOF
109912 rm -f conftest.$ac_objext
109913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109914 (eval $ac_compile) 2>conftest.er1
109915 ac_status=$?
109916 grep -v '^ *+' conftest.er1 >conftest.err
109917 rm -f conftest.er1
109918 cat conftest.err >&5
109919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109920 (exit $ac_status); } &&
109921 { ac_try='test -z "$ac_c_werror_flag"
109922 || test ! -s conftest.err'
109923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109924 (eval $ac_try) 2>&5
109925 ac_status=$?
109926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109927 (exit $ac_status); }; } &&
109928 { ac_try='test -s conftest.$ac_objext'
109929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109930 (eval $ac_try) 2>&5
109931 ac_status=$?
109932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109933 (exit $ac_status); }; }; then
109935 cat >>confdefs.h <<\_ACEOF
109936 #define HAVE_SIGSETJMP 1
109937 _ACEOF
109940 echo "$as_me: failed program was:" >&5
109941 sed 's/^/| /' conftest.$ac_ext >&5
109944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109946 *-mingw32*)
109950 for ac_header in sys/types.h locale.h float.h
109952 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109954 echo "$as_me:$LINENO: checking for $ac_header" >&5
109955 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109957 echo $ECHO_N "(cached) $ECHO_C" >&6
109959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109960 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109962 # Is the header compilable?
109963 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109964 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109965 cat >conftest.$ac_ext <<_ACEOF
109966 /* confdefs.h. */
109967 _ACEOF
109968 cat confdefs.h >>conftest.$ac_ext
109969 cat >>conftest.$ac_ext <<_ACEOF
109970 /* end confdefs.h. */
109971 $ac_includes_default
109972 #include <$ac_header>
109973 _ACEOF
109974 rm -f conftest.$ac_objext
109975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109976 (eval $ac_compile) 2>conftest.er1
109977 ac_status=$?
109978 grep -v '^ *+' conftest.er1 >conftest.err
109979 rm -f conftest.er1
109980 cat conftest.err >&5
109981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109982 (exit $ac_status); } &&
109983 { ac_try='test -z "$ac_c_werror_flag"
109984 || test ! -s conftest.err'
109985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109986 (eval $ac_try) 2>&5
109987 ac_status=$?
109988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109989 (exit $ac_status); }; } &&
109990 { ac_try='test -s conftest.$ac_objext'
109991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109992 (eval $ac_try) 2>&5
109993 ac_status=$?
109994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109995 (exit $ac_status); }; }; then
109996 ac_header_compiler=yes
109998 echo "$as_me: failed program was:" >&5
109999 sed 's/^/| /' conftest.$ac_ext >&5
110001 ac_header_compiler=no
110003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110005 echo "${ECHO_T}$ac_header_compiler" >&6
110007 # Is the header present?
110008 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110009 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110010 cat >conftest.$ac_ext <<_ACEOF
110011 /* confdefs.h. */
110012 _ACEOF
110013 cat confdefs.h >>conftest.$ac_ext
110014 cat >>conftest.$ac_ext <<_ACEOF
110015 /* end confdefs.h. */
110016 #include <$ac_header>
110017 _ACEOF
110018 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110019 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110020 ac_status=$?
110021 grep -v '^ *+' conftest.er1 >conftest.err
110022 rm -f conftest.er1
110023 cat conftest.err >&5
110024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110025 (exit $ac_status); } >/dev/null; then
110026 if test -s conftest.err; then
110027 ac_cpp_err=$ac_c_preproc_warn_flag
110028 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110030 ac_cpp_err=
110033 ac_cpp_err=yes
110035 if test -z "$ac_cpp_err"; then
110036 ac_header_preproc=yes
110038 echo "$as_me: failed program was:" >&5
110039 sed 's/^/| /' conftest.$ac_ext >&5
110041 ac_header_preproc=no
110043 rm -f conftest.err conftest.$ac_ext
110044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110045 echo "${ECHO_T}$ac_header_preproc" >&6
110047 # So? What about this header?
110048 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110049 yes:no: )
110050 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110051 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110053 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110054 ac_header_preproc=yes
110056 no:yes:* )
110057 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110058 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110059 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
110060 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
110061 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110062 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110063 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
110064 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
110065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110066 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110067 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110068 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110070 cat <<\_ASBOX
110071 ## ----------------------------------------- ##
110072 ## Report this to the package-unused lists. ##
110073 ## ----------------------------------------- ##
110074 _ASBOX
110076 sed "s/^/$as_me: WARNING: /" >&2
110079 echo "$as_me:$LINENO: checking for $ac_header" >&5
110080 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110081 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110082 echo $ECHO_N "(cached) $ECHO_C" >&6
110084 eval "$as_ac_Header=\$ac_header_preproc"
110086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110087 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110090 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110091 cat >>confdefs.h <<_ACEOF
110092 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110093 _ACEOF
110099 cat >>confdefs.h <<\_ACEOF
110100 #define HAVE_STRTOF 1
110101 _ACEOF
110103 cat >>confdefs.h <<\_ACEOF
110104 #define HAVE_STRTOLD 1
110105 _ACEOF
110108 # If we're not using GNU ld, then there's no point in even trying these
110109 # tests. Check for that first. We should have already tested for gld
110110 # by now (in libtool), but require it now just to be safe...
110111 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
110112 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
110116 # The name set by libtool depends on the version of libtool. Shame on us
110117 # for depending on an impl detail, but c'est la vie. Older versions used
110118 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
110119 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
110120 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
110121 # set (hence we're using an older libtool), then set it.
110122 if test x${with_gnu_ld+set} != xset; then
110123 if test x${ac_cv_prog_gnu_ld+set} != xset; then
110124 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
110125 with_gnu_ld=no
110127 with_gnu_ld=$ac_cv_prog_gnu_ld
110131 # Start by getting the version number. I think the libtool test already
110132 # does some of this, but throws away the result.
110133 glibcxx_ld_is_gold=no
110134 if test x"$with_gnu_ld" = x"yes"; then
110135 echo "$as_me:$LINENO: checking for ld version" >&5
110136 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
110138 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
110139 glibcxx_ld_is_gold=yes
110141 ldver=`$LD --version 2>/dev/null | head -1 | \
110142 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
110144 glibcxx_gnu_ld_version=`echo $ldver | \
110145 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
110146 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
110147 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
110150 # Set --gc-sections.
110151 glibcxx_have_gc_sections=no
110152 if test "$glibcxx_ld_is_gold" = "yes"; then
110153 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
110154 glibcxx_have_gc_sections=yes
110157 glibcxx_gcsections_min_ld=21602
110158 if test x"$with_gnu_ld" = x"yes" &&
110159 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
110160 glibcxx_have_gc_sections=yes
110163 if test "$glibcxx_have_gc_sections" = "yes"; then
110164 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
110165 # NB: This flag only works reliably after 2.16.1. Configure tests
110166 # for this are difficult, so hard wire a value that should work.
110168 ac_test_CFLAGS="${CFLAGS+set}"
110169 ac_save_CFLAGS="$CFLAGS"
110170 CFLAGS='-Wl,--gc-sections'
110172 # Check for -Wl,--gc-sections
110173 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
110174 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
110175 if test x$gcc_no_link = xyes; then
110176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110178 { (exit 1); exit 1; }; }
110180 cat >conftest.$ac_ext <<_ACEOF
110181 /* confdefs.h. */
110182 _ACEOF
110183 cat confdefs.h >>conftest.$ac_ext
110184 cat >>conftest.$ac_ext <<_ACEOF
110185 /* end confdefs.h. */
110186 int one(void) { return 1; }
110187 int two(void) { return 2; }
110190 main ()
110192 two();
110194 return 0;
110196 _ACEOF
110197 rm -f conftest.$ac_objext conftest$ac_exeext
110198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110199 (eval $ac_link) 2>conftest.er1
110200 ac_status=$?
110201 grep -v '^ *+' conftest.er1 >conftest.err
110202 rm -f conftest.er1
110203 cat conftest.err >&5
110204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110205 (exit $ac_status); } &&
110206 { ac_try='test -z "$ac_c_werror_flag"
110207 || test ! -s conftest.err'
110208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110209 (eval $ac_try) 2>&5
110210 ac_status=$?
110211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110212 (exit $ac_status); }; } &&
110213 { ac_try='test -s conftest$ac_exeext'
110214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110215 (eval $ac_try) 2>&5
110216 ac_status=$?
110217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110218 (exit $ac_status); }; }; then
110219 ac_gcsections=yes
110221 echo "$as_me: failed program was:" >&5
110222 sed 's/^/| /' conftest.$ac_ext >&5
110224 ac_gcsections=no
110226 rm -f conftest.err conftest.$ac_objext \
110227 conftest$ac_exeext conftest.$ac_ext
110228 if test "$ac_gcsections" = "yes"; then
110229 rm -f conftest.c
110230 touch conftest.c
110231 if $CC -c conftest.c; then
110232 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110233 grep "Warning: gc-sections option ignored" > /dev/null; then
110234 ac_gcsections=no
110237 rm -f conftest.c conftest.o conftest
110239 if test "$ac_gcsections" = "yes"; then
110240 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110242 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110243 echo "${ECHO_T}$ac_gcsections" >&6
110245 if test "$ac_test_CFLAGS" = set; then
110246 CFLAGS="$ac_save_CFLAGS"
110248 # this is the suspicious part
110249 CFLAGS=''
110253 # Set -z,relro.
110254 # Note this is only for shared objects.
110255 ac_ld_relro=no
110256 if test x"$with_gnu_ld" = x"yes"; then
110257 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
110258 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
110259 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
110260 if test -n "$cxx_z_relo"; then
110261 OPT_LDFLAGS="-Wl,-z,relro"
110262 ac_ld_relro=yes
110264 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
110265 echo "${ECHO_T}$ac_ld_relro" >&6
110268 # Set linker optimization flags.
110269 if test x"$with_gnu_ld" = x"yes"; then
110270 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
110278 echo "$as_me:$LINENO: checking for main in -lm" >&5
110279 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
110280 if test "${ac_cv_lib_m_main+set}" = set; then
110281 echo $ECHO_N "(cached) $ECHO_C" >&6
110283 ac_check_lib_save_LIBS=$LIBS
110284 LIBS="-lm $LIBS"
110285 if test x$gcc_no_link = xyes; then
110286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110288 { (exit 1); exit 1; }; }
110290 cat >conftest.$ac_ext <<_ACEOF
110291 /* confdefs.h. */
110292 _ACEOF
110293 cat confdefs.h >>conftest.$ac_ext
110294 cat >>conftest.$ac_ext <<_ACEOF
110295 /* end confdefs.h. */
110299 main ()
110301 main ();
110303 return 0;
110305 _ACEOF
110306 rm -f conftest.$ac_objext conftest$ac_exeext
110307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110308 (eval $ac_link) 2>conftest.er1
110309 ac_status=$?
110310 grep -v '^ *+' conftest.er1 >conftest.err
110311 rm -f conftest.er1
110312 cat conftest.err >&5
110313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110314 (exit $ac_status); } &&
110315 { ac_try='test -z "$ac_c_werror_flag"
110316 || test ! -s conftest.err'
110317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110318 (eval $ac_try) 2>&5
110319 ac_status=$?
110320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110321 (exit $ac_status); }; } &&
110322 { ac_try='test -s conftest$ac_exeext'
110323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110324 (eval $ac_try) 2>&5
110325 ac_status=$?
110326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110327 (exit $ac_status); }; }; then
110328 ac_cv_lib_m_main=yes
110330 echo "$as_me: failed program was:" >&5
110331 sed 's/^/| /' conftest.$ac_ext >&5
110333 ac_cv_lib_m_main=no
110335 rm -f conftest.err conftest.$ac_objext \
110336 conftest$ac_exeext conftest.$ac_ext
110337 LIBS=$ac_check_lib_save_LIBS
110339 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
110340 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
110341 if test $ac_cv_lib_m_main = yes; then
110342 cat >>confdefs.h <<_ACEOF
110343 #define HAVE_LIBM 1
110344 _ACEOF
110346 LIBS="-lm $LIBS"
110351 for ac_func in copysignf
110353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110354 echo "$as_me:$LINENO: checking for $ac_func" >&5
110355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110356 if eval "test \"\${$as_ac_var+set}\" = set"; then
110357 echo $ECHO_N "(cached) $ECHO_C" >&6
110359 if test x$gcc_no_link = xyes; then
110360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110362 { (exit 1); exit 1; }; }
110364 cat >conftest.$ac_ext <<_ACEOF
110365 /* confdefs.h. */
110366 _ACEOF
110367 cat confdefs.h >>conftest.$ac_ext
110368 cat >>conftest.$ac_ext <<_ACEOF
110369 /* end confdefs.h. */
110370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110372 #define $ac_func innocuous_$ac_func
110374 /* System header to define __stub macros and hopefully few prototypes,
110375 which can conflict with char $ac_func (); below.
110376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110377 <limits.h> exists even on freestanding compilers. */
110379 #ifdef __STDC__
110380 # include <limits.h>
110381 #else
110382 # include <assert.h>
110383 #endif
110385 #undef $ac_func
110387 /* Override any gcc2 internal prototype to avoid an error. */
110388 #ifdef __cplusplus
110389 extern "C"
110391 #endif
110392 /* We use char because int might match the return type of a gcc2
110393 builtin and then its argument prototype would still apply. */
110394 char $ac_func ();
110395 /* The GNU C library defines this for functions which it implements
110396 to always fail with ENOSYS. Some functions are actually named
110397 something starting with __ and the normal name is an alias. */
110398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110399 choke me
110400 #else
110401 char (*f) () = $ac_func;
110402 #endif
110403 #ifdef __cplusplus
110405 #endif
110408 main ()
110410 return f != $ac_func;
110412 return 0;
110414 _ACEOF
110415 rm -f conftest.$ac_objext conftest$ac_exeext
110416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110417 (eval $ac_link) 2>conftest.er1
110418 ac_status=$?
110419 grep -v '^ *+' conftest.er1 >conftest.err
110420 rm -f conftest.er1
110421 cat conftest.err >&5
110422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110423 (exit $ac_status); } &&
110424 { ac_try='test -z "$ac_c_werror_flag"
110425 || test ! -s conftest.err'
110426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110427 (eval $ac_try) 2>&5
110428 ac_status=$?
110429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110430 (exit $ac_status); }; } &&
110431 { ac_try='test -s conftest$ac_exeext'
110432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110433 (eval $ac_try) 2>&5
110434 ac_status=$?
110435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110436 (exit $ac_status); }; }; then
110437 eval "$as_ac_var=yes"
110439 echo "$as_me: failed program was:" >&5
110440 sed 's/^/| /' conftest.$ac_ext >&5
110442 eval "$as_ac_var=no"
110444 rm -f conftest.err conftest.$ac_objext \
110445 conftest$ac_exeext conftest.$ac_ext
110447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110449 if test `eval echo '${'$as_ac_var'}'` = yes; then
110450 cat >>confdefs.h <<_ACEOF
110451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110452 _ACEOF
110455 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
110461 for ac_func in __signbit
110463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110464 echo "$as_me:$LINENO: checking for $ac_func" >&5
110465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110466 if eval "test \"\${$as_ac_var+set}\" = set"; then
110467 echo $ECHO_N "(cached) $ECHO_C" >&6
110469 if test x$gcc_no_link = xyes; then
110470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110472 { (exit 1); exit 1; }; }
110474 cat >conftest.$ac_ext <<_ACEOF
110475 /* confdefs.h. */
110476 _ACEOF
110477 cat confdefs.h >>conftest.$ac_ext
110478 cat >>conftest.$ac_ext <<_ACEOF
110479 /* end confdefs.h. */
110480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110482 #define $ac_func innocuous_$ac_func
110484 /* System header to define __stub macros and hopefully few prototypes,
110485 which can conflict with char $ac_func (); below.
110486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110487 <limits.h> exists even on freestanding compilers. */
110489 #ifdef __STDC__
110490 # include <limits.h>
110491 #else
110492 # include <assert.h>
110493 #endif
110495 #undef $ac_func
110497 /* Override any gcc2 internal prototype to avoid an error. */
110498 #ifdef __cplusplus
110499 extern "C"
110501 #endif
110502 /* We use char because int might match the return type of a gcc2
110503 builtin and then its argument prototype would still apply. */
110504 char $ac_func ();
110505 /* The GNU C library defines this for functions which it implements
110506 to always fail with ENOSYS. Some functions are actually named
110507 something starting with __ and the normal name is an alias. */
110508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110509 choke me
110510 #else
110511 char (*f) () = $ac_func;
110512 #endif
110513 #ifdef __cplusplus
110515 #endif
110518 main ()
110520 return f != $ac_func;
110522 return 0;
110524 _ACEOF
110525 rm -f conftest.$ac_objext conftest$ac_exeext
110526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110527 (eval $ac_link) 2>conftest.er1
110528 ac_status=$?
110529 grep -v '^ *+' conftest.er1 >conftest.err
110530 rm -f conftest.er1
110531 cat conftest.err >&5
110532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110533 (exit $ac_status); } &&
110534 { ac_try='test -z "$ac_c_werror_flag"
110535 || test ! -s conftest.err'
110536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110537 (eval $ac_try) 2>&5
110538 ac_status=$?
110539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110540 (exit $ac_status); }; } &&
110541 { ac_try='test -s conftest$ac_exeext'
110542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110543 (eval $ac_try) 2>&5
110544 ac_status=$?
110545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110546 (exit $ac_status); }; }; then
110547 eval "$as_ac_var=yes"
110549 echo "$as_me: failed program was:" >&5
110550 sed 's/^/| /' conftest.$ac_ext >&5
110552 eval "$as_ac_var=no"
110554 rm -f conftest.err conftest.$ac_objext \
110555 conftest$ac_exeext conftest.$ac_ext
110557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110559 if test `eval echo '${'$as_ac_var'}'` = yes; then
110560 cat >>confdefs.h <<_ACEOF
110561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110562 _ACEOF
110565 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
110571 for ac_func in __signbitf
110573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110574 echo "$as_me:$LINENO: checking for $ac_func" >&5
110575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110576 if eval "test \"\${$as_ac_var+set}\" = set"; then
110577 echo $ECHO_N "(cached) $ECHO_C" >&6
110579 if test x$gcc_no_link = xyes; then
110580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110582 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110591 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110592 #define $ac_func innocuous_$ac_func
110594 /* System header to define __stub macros and hopefully few prototypes,
110595 which can conflict with char $ac_func (); below.
110596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110597 <limits.h> exists even on freestanding compilers. */
110599 #ifdef __STDC__
110600 # include <limits.h>
110601 #else
110602 # include <assert.h>
110603 #endif
110605 #undef $ac_func
110607 /* Override any gcc2 internal prototype to avoid an error. */
110608 #ifdef __cplusplus
110609 extern "C"
110611 #endif
110612 /* We use char because int might match the return type of a gcc2
110613 builtin and then its argument prototype would still apply. */
110614 char $ac_func ();
110615 /* The GNU C library defines this for functions which it implements
110616 to always fail with ENOSYS. Some functions are actually named
110617 something starting with __ and the normal name is an alias. */
110618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110619 choke me
110620 #else
110621 char (*f) () = $ac_func;
110622 #endif
110623 #ifdef __cplusplus
110625 #endif
110628 main ()
110630 return f != $ac_func;
110632 return 0;
110634 _ACEOF
110635 rm -f conftest.$ac_objext conftest$ac_exeext
110636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110637 (eval $ac_link) 2>conftest.er1
110638 ac_status=$?
110639 grep -v '^ *+' conftest.er1 >conftest.err
110640 rm -f conftest.er1
110641 cat conftest.err >&5
110642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110643 (exit $ac_status); } &&
110644 { ac_try='test -z "$ac_c_werror_flag"
110645 || test ! -s conftest.err'
110646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110647 (eval $ac_try) 2>&5
110648 ac_status=$?
110649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110650 (exit $ac_status); }; } &&
110651 { ac_try='test -s conftest$ac_exeext'
110652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110653 (eval $ac_try) 2>&5
110654 ac_status=$?
110655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110656 (exit $ac_status); }; }; then
110657 eval "$as_ac_var=yes"
110659 echo "$as_me: failed program was:" >&5
110660 sed 's/^/| /' conftest.$ac_ext >&5
110662 eval "$as_ac_var=no"
110664 rm -f conftest.err conftest.$ac_objext \
110665 conftest$ac_exeext conftest.$ac_ext
110667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110669 if test `eval echo '${'$as_ac_var'}'` = yes; then
110670 cat >>confdefs.h <<_ACEOF
110671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110672 _ACEOF
110675 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
110680 if test x$ac_cv_func_copysignl = x"yes"; then
110682 for ac_func in __signbitl
110684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110685 echo "$as_me:$LINENO: checking for $ac_func" >&5
110686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110687 if eval "test \"\${$as_ac_var+set}\" = set"; then
110688 echo $ECHO_N "(cached) $ECHO_C" >&6
110690 if test x$gcc_no_link = xyes; then
110691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110693 { (exit 1); exit 1; }; }
110695 cat >conftest.$ac_ext <<_ACEOF
110696 /* confdefs.h. */
110697 _ACEOF
110698 cat confdefs.h >>conftest.$ac_ext
110699 cat >>conftest.$ac_ext <<_ACEOF
110700 /* end confdefs.h. */
110701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110703 #define $ac_func innocuous_$ac_func
110705 /* System header to define __stub macros and hopefully few prototypes,
110706 which can conflict with char $ac_func (); below.
110707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110708 <limits.h> exists even on freestanding compilers. */
110710 #ifdef __STDC__
110711 # include <limits.h>
110712 #else
110713 # include <assert.h>
110714 #endif
110716 #undef $ac_func
110718 /* Override any gcc2 internal prototype to avoid an error. */
110719 #ifdef __cplusplus
110720 extern "C"
110722 #endif
110723 /* We use char because int might match the return type of a gcc2
110724 builtin and then its argument prototype would still apply. */
110725 char $ac_func ();
110726 /* The GNU C library defines this for functions which it implements
110727 to always fail with ENOSYS. Some functions are actually named
110728 something starting with __ and the normal name is an alias. */
110729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110730 choke me
110731 #else
110732 char (*f) () = $ac_func;
110733 #endif
110734 #ifdef __cplusplus
110736 #endif
110739 main ()
110741 return f != $ac_func;
110743 return 0;
110745 _ACEOF
110746 rm -f conftest.$ac_objext conftest$ac_exeext
110747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110748 (eval $ac_link) 2>conftest.er1
110749 ac_status=$?
110750 grep -v '^ *+' conftest.er1 >conftest.err
110751 rm -f conftest.er1
110752 cat conftest.err >&5
110753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110754 (exit $ac_status); } &&
110755 { ac_try='test -z "$ac_c_werror_flag"
110756 || test ! -s conftest.err'
110757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110758 (eval $ac_try) 2>&5
110759 ac_status=$?
110760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110761 (exit $ac_status); }; } &&
110762 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
110768 eval "$as_ac_var=yes"
110770 echo "$as_me: failed program was:" >&5
110771 sed 's/^/| /' conftest.$ac_ext >&5
110773 eval "$as_ac_var=no"
110775 rm -f conftest.err conftest.$ac_objext \
110776 conftest$ac_exeext conftest.$ac_ext
110778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110780 if test `eval echo '${'$as_ac_var'}'` = yes; then
110781 cat >>confdefs.h <<_ACEOF
110782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110783 _ACEOF
110786 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
110792 # Used in libmath/Makefile.am.
110793 if test -n "$LIBMATHOBJS"; then
110794 need_libmath=yes
110799 *-netbsd*)
110812 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
110813 machine/endian.h machine/param.h sys/machine.h sys/types.h \
110814 fp.h locale.h float.h inttypes.h
110816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110818 echo "$as_me:$LINENO: checking for $ac_header" >&5
110819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110821 echo $ECHO_N "(cached) $ECHO_C" >&6
110823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110826 # Is the header compilable?
110827 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110828 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110829 cat >conftest.$ac_ext <<_ACEOF
110830 /* confdefs.h. */
110831 _ACEOF
110832 cat confdefs.h >>conftest.$ac_ext
110833 cat >>conftest.$ac_ext <<_ACEOF
110834 /* end confdefs.h. */
110835 $ac_includes_default
110836 #include <$ac_header>
110837 _ACEOF
110838 rm -f conftest.$ac_objext
110839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110840 (eval $ac_compile) 2>conftest.er1
110841 ac_status=$?
110842 grep -v '^ *+' conftest.er1 >conftest.err
110843 rm -f conftest.er1
110844 cat conftest.err >&5
110845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110846 (exit $ac_status); } &&
110847 { ac_try='test -z "$ac_c_werror_flag"
110848 || test ! -s conftest.err'
110849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110850 (eval $ac_try) 2>&5
110851 ac_status=$?
110852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110853 (exit $ac_status); }; } &&
110854 { ac_try='test -s conftest.$ac_objext'
110855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110856 (eval $ac_try) 2>&5
110857 ac_status=$?
110858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110859 (exit $ac_status); }; }; then
110860 ac_header_compiler=yes
110862 echo "$as_me: failed program was:" >&5
110863 sed 's/^/| /' conftest.$ac_ext >&5
110865 ac_header_compiler=no
110867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110868 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110869 echo "${ECHO_T}$ac_header_compiler" >&6
110871 # Is the header present?
110872 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110873 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110874 cat >conftest.$ac_ext <<_ACEOF
110875 /* confdefs.h. */
110876 _ACEOF
110877 cat confdefs.h >>conftest.$ac_ext
110878 cat >>conftest.$ac_ext <<_ACEOF
110879 /* end confdefs.h. */
110880 #include <$ac_header>
110881 _ACEOF
110882 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110883 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110884 ac_status=$?
110885 grep -v '^ *+' conftest.er1 >conftest.err
110886 rm -f conftest.er1
110887 cat conftest.err >&5
110888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110889 (exit $ac_status); } >/dev/null; then
110890 if test -s conftest.err; then
110891 ac_cpp_err=$ac_c_preproc_warn_flag
110892 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110894 ac_cpp_err=
110897 ac_cpp_err=yes
110899 if test -z "$ac_cpp_err"; then
110900 ac_header_preproc=yes
110902 echo "$as_me: failed program was:" >&5
110903 sed 's/^/| /' conftest.$ac_ext >&5
110905 ac_header_preproc=no
110907 rm -f conftest.err conftest.$ac_ext
110908 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110909 echo "${ECHO_T}$ac_header_preproc" >&6
110911 # So? What about this header?
110912 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110913 yes:no: )
110914 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110915 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110916 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110917 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110918 ac_header_preproc=yes
110920 no:yes:* )
110921 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110922 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110923 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
110924 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
110925 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110926 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110927 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
110928 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
110929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110930 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110931 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110932 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110934 cat <<\_ASBOX
110935 ## ----------------------------------------- ##
110936 ## Report this to the package-unused lists. ##
110937 ## ----------------------------------------- ##
110938 _ASBOX
110940 sed "s/^/$as_me: WARNING: /" >&2
110943 echo "$as_me:$LINENO: checking for $ac_header" >&5
110944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110946 echo $ECHO_N "(cached) $ECHO_C" >&6
110948 eval "$as_ac_Header=\$ac_header_preproc"
110950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110951 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110954 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110955 cat >>confdefs.h <<_ACEOF
110956 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110957 _ACEOF
110963 SECTION_FLAGS='-ffunction-sections -fdata-sections'
110966 # If we're not using GNU ld, then there's no point in even trying these
110967 # tests. Check for that first. We should have already tested for gld
110968 # by now (in libtool), but require it now just to be safe...
110969 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
110970 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
110974 # The name set by libtool depends on the version of libtool. Shame on us
110975 # for depending on an impl detail, but c'est la vie. Older versions used
110976 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
110977 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
110978 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
110979 # set (hence we're using an older libtool), then set it.
110980 if test x${with_gnu_ld+set} != xset; then
110981 if test x${ac_cv_prog_gnu_ld+set} != xset; then
110982 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
110983 with_gnu_ld=no
110985 with_gnu_ld=$ac_cv_prog_gnu_ld
110989 # Start by getting the version number. I think the libtool test already
110990 # does some of this, but throws away the result.
110991 glibcxx_ld_is_gold=no
110992 if test x"$with_gnu_ld" = x"yes"; then
110993 echo "$as_me:$LINENO: checking for ld version" >&5
110994 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
110996 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
110997 glibcxx_ld_is_gold=yes
110999 ldver=`$LD --version 2>/dev/null | head -1 | \
111000 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
111002 glibcxx_gnu_ld_version=`echo $ldver | \
111003 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111004 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111005 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111008 # Set --gc-sections.
111009 glibcxx_have_gc_sections=no
111010 if test "$glibcxx_ld_is_gold" = "yes"; then
111011 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
111012 glibcxx_have_gc_sections=yes
111015 glibcxx_gcsections_min_ld=21602
111016 if test x"$with_gnu_ld" = x"yes" &&
111017 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
111018 glibcxx_have_gc_sections=yes
111021 if test "$glibcxx_have_gc_sections" = "yes"; then
111022 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
111023 # NB: This flag only works reliably after 2.16.1. Configure tests
111024 # for this are difficult, so hard wire a value that should work.
111026 ac_test_CFLAGS="${CFLAGS+set}"
111027 ac_save_CFLAGS="$CFLAGS"
111028 CFLAGS='-Wl,--gc-sections'
111030 # Check for -Wl,--gc-sections
111031 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
111032 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
111033 if test x$gcc_no_link = xyes; then
111034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111036 { (exit 1); exit 1; }; }
111038 cat >conftest.$ac_ext <<_ACEOF
111039 /* confdefs.h. */
111040 _ACEOF
111041 cat confdefs.h >>conftest.$ac_ext
111042 cat >>conftest.$ac_ext <<_ACEOF
111043 /* end confdefs.h. */
111044 int one(void) { return 1; }
111045 int two(void) { return 2; }
111048 main ()
111050 two();
111052 return 0;
111054 _ACEOF
111055 rm -f conftest.$ac_objext conftest$ac_exeext
111056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111057 (eval $ac_link) 2>conftest.er1
111058 ac_status=$?
111059 grep -v '^ *+' conftest.er1 >conftest.err
111060 rm -f conftest.er1
111061 cat conftest.err >&5
111062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111063 (exit $ac_status); } &&
111064 { ac_try='test -z "$ac_c_werror_flag"
111065 || test ! -s conftest.err'
111066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111067 (eval $ac_try) 2>&5
111068 ac_status=$?
111069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111070 (exit $ac_status); }; } &&
111071 { ac_try='test -s conftest$ac_exeext'
111072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111073 (eval $ac_try) 2>&5
111074 ac_status=$?
111075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111076 (exit $ac_status); }; }; then
111077 ac_gcsections=yes
111079 echo "$as_me: failed program was:" >&5
111080 sed 's/^/| /' conftest.$ac_ext >&5
111082 ac_gcsections=no
111084 rm -f conftest.err conftest.$ac_objext \
111085 conftest$ac_exeext conftest.$ac_ext
111086 if test "$ac_gcsections" = "yes"; then
111087 rm -f conftest.c
111088 touch conftest.c
111089 if $CC -c conftest.c; then
111090 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
111091 grep "Warning: gc-sections option ignored" > /dev/null; then
111092 ac_gcsections=no
111095 rm -f conftest.c conftest.o conftest
111097 if test "$ac_gcsections" = "yes"; then
111098 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
111100 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
111101 echo "${ECHO_T}$ac_gcsections" >&6
111103 if test "$ac_test_CFLAGS" = set; then
111104 CFLAGS="$ac_save_CFLAGS"
111106 # this is the suspicious part
111107 CFLAGS=''
111111 # Set -z,relro.
111112 # Note this is only for shared objects.
111113 ac_ld_relro=no
111114 if test x"$with_gnu_ld" = x"yes"; then
111115 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111116 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111117 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111118 if test -n "$cxx_z_relo"; then
111119 OPT_LDFLAGS="-Wl,-z,relro"
111120 ac_ld_relro=yes
111122 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111123 echo "${ECHO_T}$ac_ld_relro" >&6
111126 # Set linker optimization flags.
111127 if test x"$with_gnu_ld" = x"yes"; then
111128 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111136 echo "$as_me:$LINENO: checking for main in -lm" >&5
111137 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111138 if test "${ac_cv_lib_m_main+set}" = set; then
111139 echo $ECHO_N "(cached) $ECHO_C" >&6
111141 ac_check_lib_save_LIBS=$LIBS
111142 LIBS="-lm $LIBS"
111143 if test x$gcc_no_link = xyes; then
111144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111146 { (exit 1); exit 1; }; }
111148 cat >conftest.$ac_ext <<_ACEOF
111149 /* confdefs.h. */
111150 _ACEOF
111151 cat confdefs.h >>conftest.$ac_ext
111152 cat >>conftest.$ac_ext <<_ACEOF
111153 /* end confdefs.h. */
111157 main ()
111159 main ();
111161 return 0;
111163 _ACEOF
111164 rm -f conftest.$ac_objext conftest$ac_exeext
111165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111166 (eval $ac_link) 2>conftest.er1
111167 ac_status=$?
111168 grep -v '^ *+' conftest.er1 >conftest.err
111169 rm -f conftest.er1
111170 cat conftest.err >&5
111171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111172 (exit $ac_status); } &&
111173 { ac_try='test -z "$ac_c_werror_flag"
111174 || test ! -s conftest.err'
111175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111176 (eval $ac_try) 2>&5
111177 ac_status=$?
111178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111179 (exit $ac_status); }; } &&
111180 { ac_try='test -s conftest$ac_exeext'
111181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111182 (eval $ac_try) 2>&5
111183 ac_status=$?
111184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111185 (exit $ac_status); }; }; then
111186 ac_cv_lib_m_main=yes
111188 echo "$as_me: failed program was:" >&5
111189 sed 's/^/| /' conftest.$ac_ext >&5
111191 ac_cv_lib_m_main=no
111193 rm -f conftest.err conftest.$ac_objext \
111194 conftest$ac_exeext conftest.$ac_ext
111195 LIBS=$ac_check_lib_save_LIBS
111197 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111198 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111199 if test $ac_cv_lib_m_main = yes; then
111200 cat >>confdefs.h <<_ACEOF
111201 #define HAVE_LIBM 1
111202 _ACEOF
111204 LIBS="-lm $LIBS"
111209 for ac_func in copysignf
111211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111212 echo "$as_me:$LINENO: checking for $ac_func" >&5
111213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111214 if eval "test \"\${$as_ac_var+set}\" = set"; then
111215 echo $ECHO_N "(cached) $ECHO_C" >&6
111217 if test x$gcc_no_link = xyes; then
111218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111220 { (exit 1); exit 1; }; }
111222 cat >conftest.$ac_ext <<_ACEOF
111223 /* confdefs.h. */
111224 _ACEOF
111225 cat confdefs.h >>conftest.$ac_ext
111226 cat >>conftest.$ac_ext <<_ACEOF
111227 /* end confdefs.h. */
111228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111230 #define $ac_func innocuous_$ac_func
111232 /* System header to define __stub macros and hopefully few prototypes,
111233 which can conflict with char $ac_func (); below.
111234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111235 <limits.h> exists even on freestanding compilers. */
111237 #ifdef __STDC__
111238 # include <limits.h>
111239 #else
111240 # include <assert.h>
111241 #endif
111243 #undef $ac_func
111245 /* Override any gcc2 internal prototype to avoid an error. */
111246 #ifdef __cplusplus
111247 extern "C"
111249 #endif
111250 /* We use char because int might match the return type of a gcc2
111251 builtin and then its argument prototype would still apply. */
111252 char $ac_func ();
111253 /* The GNU C library defines this for functions which it implements
111254 to always fail with ENOSYS. Some functions are actually named
111255 something starting with __ and the normal name is an alias. */
111256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111257 choke me
111258 #else
111259 char (*f) () = $ac_func;
111260 #endif
111261 #ifdef __cplusplus
111263 #endif
111266 main ()
111268 return f != $ac_func;
111270 return 0;
111272 _ACEOF
111273 rm -f conftest.$ac_objext conftest$ac_exeext
111274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111275 (eval $ac_link) 2>conftest.er1
111276 ac_status=$?
111277 grep -v '^ *+' conftest.er1 >conftest.err
111278 rm -f conftest.er1
111279 cat conftest.err >&5
111280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111281 (exit $ac_status); } &&
111282 { ac_try='test -z "$ac_c_werror_flag"
111283 || test ! -s conftest.err'
111284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111285 (eval $ac_try) 2>&5
111286 ac_status=$?
111287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111288 (exit $ac_status); }; } &&
111289 { ac_try='test -s conftest$ac_exeext'
111290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111291 (eval $ac_try) 2>&5
111292 ac_status=$?
111293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111294 (exit $ac_status); }; }; then
111295 eval "$as_ac_var=yes"
111297 echo "$as_me: failed program was:" >&5
111298 sed 's/^/| /' conftest.$ac_ext >&5
111300 eval "$as_ac_var=no"
111302 rm -f conftest.err conftest.$ac_objext \
111303 conftest$ac_exeext conftest.$ac_ext
111305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111307 if test `eval echo '${'$as_ac_var'}'` = yes; then
111308 cat >>confdefs.h <<_ACEOF
111309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111310 _ACEOF
111313 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111319 for ac_func in __signbit
111321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111322 echo "$as_me:$LINENO: checking for $ac_func" >&5
111323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111324 if eval "test \"\${$as_ac_var+set}\" = set"; then
111325 echo $ECHO_N "(cached) $ECHO_C" >&6
111327 if test x$gcc_no_link = xyes; then
111328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111330 { (exit 1); exit 1; }; }
111332 cat >conftest.$ac_ext <<_ACEOF
111333 /* confdefs.h. */
111334 _ACEOF
111335 cat confdefs.h >>conftest.$ac_ext
111336 cat >>conftest.$ac_ext <<_ACEOF
111337 /* end confdefs.h. */
111338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111340 #define $ac_func innocuous_$ac_func
111342 /* System header to define __stub macros and hopefully few prototypes,
111343 which can conflict with char $ac_func (); below.
111344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111345 <limits.h> exists even on freestanding compilers. */
111347 #ifdef __STDC__
111348 # include <limits.h>
111349 #else
111350 # include <assert.h>
111351 #endif
111353 #undef $ac_func
111355 /* Override any gcc2 internal prototype to avoid an error. */
111356 #ifdef __cplusplus
111357 extern "C"
111359 #endif
111360 /* We use char because int might match the return type of a gcc2
111361 builtin and then its argument prototype would still apply. */
111362 char $ac_func ();
111363 /* The GNU C library defines this for functions which it implements
111364 to always fail with ENOSYS. Some functions are actually named
111365 something starting with __ and the normal name is an alias. */
111366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111367 choke me
111368 #else
111369 char (*f) () = $ac_func;
111370 #endif
111371 #ifdef __cplusplus
111373 #endif
111376 main ()
111378 return f != $ac_func;
111380 return 0;
111382 _ACEOF
111383 rm -f conftest.$ac_objext conftest$ac_exeext
111384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111385 (eval $ac_link) 2>conftest.er1
111386 ac_status=$?
111387 grep -v '^ *+' conftest.er1 >conftest.err
111388 rm -f conftest.er1
111389 cat conftest.err >&5
111390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111391 (exit $ac_status); } &&
111392 { ac_try='test -z "$ac_c_werror_flag"
111393 || test ! -s conftest.err'
111394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111395 (eval $ac_try) 2>&5
111396 ac_status=$?
111397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111398 (exit $ac_status); }; } &&
111399 { ac_try='test -s conftest$ac_exeext'
111400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111401 (eval $ac_try) 2>&5
111402 ac_status=$?
111403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111404 (exit $ac_status); }; }; then
111405 eval "$as_ac_var=yes"
111407 echo "$as_me: failed program was:" >&5
111408 sed 's/^/| /' conftest.$ac_ext >&5
111410 eval "$as_ac_var=no"
111412 rm -f conftest.err conftest.$ac_objext \
111413 conftest$ac_exeext conftest.$ac_ext
111415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111417 if test `eval echo '${'$as_ac_var'}'` = yes; then
111418 cat >>confdefs.h <<_ACEOF
111419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111420 _ACEOF
111423 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
111429 for ac_func in __signbitf
111431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111432 echo "$as_me:$LINENO: checking for $ac_func" >&5
111433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111434 if eval "test \"\${$as_ac_var+set}\" = set"; then
111435 echo $ECHO_N "(cached) $ECHO_C" >&6
111437 if test x$gcc_no_link = xyes; then
111438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111440 { (exit 1); exit 1; }; }
111442 cat >conftest.$ac_ext <<_ACEOF
111443 /* confdefs.h. */
111444 _ACEOF
111445 cat confdefs.h >>conftest.$ac_ext
111446 cat >>conftest.$ac_ext <<_ACEOF
111447 /* end confdefs.h. */
111448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111450 #define $ac_func innocuous_$ac_func
111452 /* System header to define __stub macros and hopefully few prototypes,
111453 which can conflict with char $ac_func (); below.
111454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111455 <limits.h> exists even on freestanding compilers. */
111457 #ifdef __STDC__
111458 # include <limits.h>
111459 #else
111460 # include <assert.h>
111461 #endif
111463 #undef $ac_func
111465 /* Override any gcc2 internal prototype to avoid an error. */
111466 #ifdef __cplusplus
111467 extern "C"
111469 #endif
111470 /* We use char because int might match the return type of a gcc2
111471 builtin and then its argument prototype would still apply. */
111472 char $ac_func ();
111473 /* The GNU C library defines this for functions which it implements
111474 to always fail with ENOSYS. Some functions are actually named
111475 something starting with __ and the normal name is an alias. */
111476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111477 choke me
111478 #else
111479 char (*f) () = $ac_func;
111480 #endif
111481 #ifdef __cplusplus
111483 #endif
111486 main ()
111488 return f != $ac_func;
111490 return 0;
111492 _ACEOF
111493 rm -f conftest.$ac_objext conftest$ac_exeext
111494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111495 (eval $ac_link) 2>conftest.er1
111496 ac_status=$?
111497 grep -v '^ *+' conftest.er1 >conftest.err
111498 rm -f conftest.er1
111499 cat conftest.err >&5
111500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111501 (exit $ac_status); } &&
111502 { ac_try='test -z "$ac_c_werror_flag"
111503 || test ! -s conftest.err'
111504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111505 (eval $ac_try) 2>&5
111506 ac_status=$?
111507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111508 (exit $ac_status); }; } &&
111509 { ac_try='test -s conftest$ac_exeext'
111510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111511 (eval $ac_try) 2>&5
111512 ac_status=$?
111513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111514 (exit $ac_status); }; }; then
111515 eval "$as_ac_var=yes"
111517 echo "$as_me: failed program was:" >&5
111518 sed 's/^/| /' conftest.$ac_ext >&5
111520 eval "$as_ac_var=no"
111522 rm -f conftest.err conftest.$ac_objext \
111523 conftest$ac_exeext conftest.$ac_ext
111525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111527 if test `eval echo '${'$as_ac_var'}'` = yes; then
111528 cat >>confdefs.h <<_ACEOF
111529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111530 _ACEOF
111533 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
111538 if test x$ac_cv_func_copysignl = x"yes"; then
111540 for ac_func in __signbitl
111542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111543 echo "$as_me:$LINENO: checking for $ac_func" >&5
111544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111545 if eval "test \"\${$as_ac_var+set}\" = set"; then
111546 echo $ECHO_N "(cached) $ECHO_C" >&6
111548 if test x$gcc_no_link = xyes; then
111549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111551 { (exit 1); exit 1; }; }
111553 cat >conftest.$ac_ext <<_ACEOF
111554 /* confdefs.h. */
111555 _ACEOF
111556 cat confdefs.h >>conftest.$ac_ext
111557 cat >>conftest.$ac_ext <<_ACEOF
111558 /* end confdefs.h. */
111559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111561 #define $ac_func innocuous_$ac_func
111563 /* System header to define __stub macros and hopefully few prototypes,
111564 which can conflict with char $ac_func (); below.
111565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111566 <limits.h> exists even on freestanding compilers. */
111568 #ifdef __STDC__
111569 # include <limits.h>
111570 #else
111571 # include <assert.h>
111572 #endif
111574 #undef $ac_func
111576 /* Override any gcc2 internal prototype to avoid an error. */
111577 #ifdef __cplusplus
111578 extern "C"
111580 #endif
111581 /* We use char because int might match the return type of a gcc2
111582 builtin and then its argument prototype would still apply. */
111583 char $ac_func ();
111584 /* The GNU C library defines this for functions which it implements
111585 to always fail with ENOSYS. Some functions are actually named
111586 something starting with __ and the normal name is an alias. */
111587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111588 choke me
111589 #else
111590 char (*f) () = $ac_func;
111591 #endif
111592 #ifdef __cplusplus
111594 #endif
111597 main ()
111599 return f != $ac_func;
111601 return 0;
111603 _ACEOF
111604 rm -f conftest.$ac_objext conftest$ac_exeext
111605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111606 (eval $ac_link) 2>conftest.er1
111607 ac_status=$?
111608 grep -v '^ *+' conftest.er1 >conftest.err
111609 rm -f conftest.er1
111610 cat conftest.err >&5
111611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111612 (exit $ac_status); } &&
111613 { ac_try='test -z "$ac_c_werror_flag"
111614 || test ! -s conftest.err'
111615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111616 (eval $ac_try) 2>&5
111617 ac_status=$?
111618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111619 (exit $ac_status); }; } &&
111620 { ac_try='test -s conftest$ac_exeext'
111621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111622 (eval $ac_try) 2>&5
111623 ac_status=$?
111624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111625 (exit $ac_status); }; }; then
111626 eval "$as_ac_var=yes"
111628 echo "$as_me: failed program was:" >&5
111629 sed 's/^/| /' conftest.$ac_ext >&5
111631 eval "$as_ac_var=no"
111633 rm -f conftest.err conftest.$ac_objext \
111634 conftest$ac_exeext conftest.$ac_ext
111636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111638 if test `eval echo '${'$as_ac_var'}'` = yes; then
111639 cat >>confdefs.h <<_ACEOF
111640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111641 _ACEOF
111644 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
111650 # Used in libmath/Makefile.am.
111651 if test -n "$LIBMATHOBJS"; then
111652 need_libmath=yes
111656 cat >>confdefs.h <<\_ACEOF
111657 #define HAVE_COPYSIGN 1
111658 _ACEOF
111660 cat >>confdefs.h <<\_ACEOF
111661 #define HAVE_COPYSIGNF 1
111662 _ACEOF
111664 cat >>confdefs.h <<\_ACEOF
111665 #define HAVE_FINITEF 1
111666 _ACEOF
111668 cat >>confdefs.h <<\_ACEOF
111669 #define HAVE_FINITE 1
111670 _ACEOF
111672 cat >>confdefs.h <<\_ACEOF
111673 #define HAVE_FREXPF 1
111674 _ACEOF
111676 cat >>confdefs.h <<\_ACEOF
111677 #define HAVE_HYPOTF 1
111678 _ACEOF
111680 cat >>confdefs.h <<\_ACEOF
111681 #define HAVE_ISINF 1
111682 _ACEOF
111684 cat >>confdefs.h <<\_ACEOF
111685 #define HAVE_ISINFF 1
111686 _ACEOF
111688 cat >>confdefs.h <<\_ACEOF
111689 #define HAVE_ISNAN 1
111690 _ACEOF
111692 cat >>confdefs.h <<\_ACEOF
111693 #define HAVE_ISNANF 1
111694 _ACEOF
111696 if test x"long_double_math_on_this_cpu" = x"yes"; then
111697 cat >>confdefs.h <<\_ACEOF
111698 #define HAVE_FINITEL 1
111699 _ACEOF
111701 cat >>confdefs.h <<\_ACEOF
111702 #define HAVE_ISINFL 1
111703 _ACEOF
111705 cat >>confdefs.h <<\_ACEOF
111706 #define HAVE_ISNANL 1
111707 _ACEOF
111711 *-netware)
111720 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
111721 sys/types.h locale.h float.h inttypes.h
111723 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111725 echo "$as_me:$LINENO: checking for $ac_header" >&5
111726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111728 echo $ECHO_N "(cached) $ECHO_C" >&6
111730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111733 # Is the header compilable?
111734 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111735 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111736 cat >conftest.$ac_ext <<_ACEOF
111737 /* confdefs.h. */
111738 _ACEOF
111739 cat confdefs.h >>conftest.$ac_ext
111740 cat >>conftest.$ac_ext <<_ACEOF
111741 /* end confdefs.h. */
111742 $ac_includes_default
111743 #include <$ac_header>
111744 _ACEOF
111745 rm -f conftest.$ac_objext
111746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111747 (eval $ac_compile) 2>conftest.er1
111748 ac_status=$?
111749 grep -v '^ *+' conftest.er1 >conftest.err
111750 rm -f conftest.er1
111751 cat conftest.err >&5
111752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111753 (exit $ac_status); } &&
111754 { ac_try='test -z "$ac_c_werror_flag"
111755 || test ! -s conftest.err'
111756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111757 (eval $ac_try) 2>&5
111758 ac_status=$?
111759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111760 (exit $ac_status); }; } &&
111761 { ac_try='test -s conftest.$ac_objext'
111762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111763 (eval $ac_try) 2>&5
111764 ac_status=$?
111765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111766 (exit $ac_status); }; }; then
111767 ac_header_compiler=yes
111769 echo "$as_me: failed program was:" >&5
111770 sed 's/^/| /' conftest.$ac_ext >&5
111772 ac_header_compiler=no
111774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111775 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111776 echo "${ECHO_T}$ac_header_compiler" >&6
111778 # Is the header present?
111779 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111780 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111781 cat >conftest.$ac_ext <<_ACEOF
111782 /* confdefs.h. */
111783 _ACEOF
111784 cat confdefs.h >>conftest.$ac_ext
111785 cat >>conftest.$ac_ext <<_ACEOF
111786 /* end confdefs.h. */
111787 #include <$ac_header>
111788 _ACEOF
111789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111791 ac_status=$?
111792 grep -v '^ *+' conftest.er1 >conftest.err
111793 rm -f conftest.er1
111794 cat conftest.err >&5
111795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111796 (exit $ac_status); } >/dev/null; then
111797 if test -s conftest.err; then
111798 ac_cpp_err=$ac_c_preproc_warn_flag
111799 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111801 ac_cpp_err=
111804 ac_cpp_err=yes
111806 if test -z "$ac_cpp_err"; then
111807 ac_header_preproc=yes
111809 echo "$as_me: failed program was:" >&5
111810 sed 's/^/| /' conftest.$ac_ext >&5
111812 ac_header_preproc=no
111814 rm -f conftest.err conftest.$ac_ext
111815 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111816 echo "${ECHO_T}$ac_header_preproc" >&6
111818 # So? What about this header?
111819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111820 yes:no: )
111821 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111822 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111823 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111824 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111825 ac_header_preproc=yes
111827 no:yes:* )
111828 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111829 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111830 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111831 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111832 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111833 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111834 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111835 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111837 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111838 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111839 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111841 cat <<\_ASBOX
111842 ## ----------------------------------------- ##
111843 ## Report this to the package-unused lists. ##
111844 ## ----------------------------------------- ##
111845 _ASBOX
111847 sed "s/^/$as_me: WARNING: /" >&2
111850 echo "$as_me:$LINENO: checking for $ac_header" >&5
111851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111853 echo $ECHO_N "(cached) $ECHO_C" >&6
111855 eval "$as_ac_Header=\$ac_header_preproc"
111857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111862 cat >>confdefs.h <<_ACEOF
111863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111864 _ACEOF
111870 SECTION_FLAGS='-ffunction-sections -fdata-sections'
111873 # If we're not using GNU ld, then there's no point in even trying these
111874 # tests. Check for that first. We should have already tested for gld
111875 # by now (in libtool), but require it now just to be safe...
111876 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111877 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111881 # The name set by libtool depends on the version of libtool. Shame on us
111882 # for depending on an impl detail, but c'est la vie. Older versions used
111883 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111884 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111885 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
111886 # set (hence we're using an older libtool), then set it.
111887 if test x${with_gnu_ld+set} != xset; then
111888 if test x${ac_cv_prog_gnu_ld+set} != xset; then
111889 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
111890 with_gnu_ld=no
111892 with_gnu_ld=$ac_cv_prog_gnu_ld
111896 # Start by getting the version number. I think the libtool test already
111897 # does some of this, but throws away the result.
111898 glibcxx_ld_is_gold=no
111899 if test x"$with_gnu_ld" = x"yes"; then
111900 echo "$as_me:$LINENO: checking for ld version" >&5
111901 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
111903 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
111904 glibcxx_ld_is_gold=yes
111906 ldver=`$LD --version 2>/dev/null | head -1 | \
111907 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
111909 glibcxx_gnu_ld_version=`echo $ldver | \
111910 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111911 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111912 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111915 # Set --gc-sections.
111916 glibcxx_have_gc_sections=no
111917 if test "$glibcxx_ld_is_gold" = "yes"; then
111918 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
111919 glibcxx_have_gc_sections=yes
111922 glibcxx_gcsections_min_ld=21602
111923 if test x"$with_gnu_ld" = x"yes" &&
111924 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
111925 glibcxx_have_gc_sections=yes
111928 if test "$glibcxx_have_gc_sections" = "yes"; then
111929 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
111930 # NB: This flag only works reliably after 2.16.1. Configure tests
111931 # for this are difficult, so hard wire a value that should work.
111933 ac_test_CFLAGS="${CFLAGS+set}"
111934 ac_save_CFLAGS="$CFLAGS"
111935 CFLAGS='-Wl,--gc-sections'
111937 # Check for -Wl,--gc-sections
111938 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
111939 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
111940 if test x$gcc_no_link = xyes; then
111941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111943 { (exit 1); exit 1; }; }
111945 cat >conftest.$ac_ext <<_ACEOF
111946 /* confdefs.h. */
111947 _ACEOF
111948 cat confdefs.h >>conftest.$ac_ext
111949 cat >>conftest.$ac_ext <<_ACEOF
111950 /* end confdefs.h. */
111951 int one(void) { return 1; }
111952 int two(void) { return 2; }
111955 main ()
111957 two();
111959 return 0;
111961 _ACEOF
111962 rm -f conftest.$ac_objext conftest$ac_exeext
111963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111964 (eval $ac_link) 2>conftest.er1
111965 ac_status=$?
111966 grep -v '^ *+' conftest.er1 >conftest.err
111967 rm -f conftest.er1
111968 cat conftest.err >&5
111969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111970 (exit $ac_status); } &&
111971 { ac_try='test -z "$ac_c_werror_flag"
111972 || test ! -s conftest.err'
111973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111974 (eval $ac_try) 2>&5
111975 ac_status=$?
111976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111977 (exit $ac_status); }; } &&
111978 { ac_try='test -s conftest$ac_exeext'
111979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111980 (eval $ac_try) 2>&5
111981 ac_status=$?
111982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111983 (exit $ac_status); }; }; then
111984 ac_gcsections=yes
111986 echo "$as_me: failed program was:" >&5
111987 sed 's/^/| /' conftest.$ac_ext >&5
111989 ac_gcsections=no
111991 rm -f conftest.err conftest.$ac_objext \
111992 conftest$ac_exeext conftest.$ac_ext
111993 if test "$ac_gcsections" = "yes"; then
111994 rm -f conftest.c
111995 touch conftest.c
111996 if $CC -c conftest.c; then
111997 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
111998 grep "Warning: gc-sections option ignored" > /dev/null; then
111999 ac_gcsections=no
112002 rm -f conftest.c conftest.o conftest
112004 if test "$ac_gcsections" = "yes"; then
112005 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112007 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112008 echo "${ECHO_T}$ac_gcsections" >&6
112010 if test "$ac_test_CFLAGS" = set; then
112011 CFLAGS="$ac_save_CFLAGS"
112013 # this is the suspicious part
112014 CFLAGS=''
112018 # Set -z,relro.
112019 # Note this is only for shared objects.
112020 ac_ld_relro=no
112021 if test x"$with_gnu_ld" = x"yes"; then
112022 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112023 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112024 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112025 if test -n "$cxx_z_relo"; then
112026 OPT_LDFLAGS="-Wl,-z,relro"
112027 ac_ld_relro=yes
112029 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112030 echo "${ECHO_T}$ac_ld_relro" >&6
112033 # Set linker optimization flags.
112034 if test x"$with_gnu_ld" = x"yes"; then
112035 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112043 echo "$as_me:$LINENO: checking for main in -lm" >&5
112044 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
112045 if test "${ac_cv_lib_m_main+set}" = set; then
112046 echo $ECHO_N "(cached) $ECHO_C" >&6
112048 ac_check_lib_save_LIBS=$LIBS
112049 LIBS="-lm $LIBS"
112050 if test x$gcc_no_link = xyes; then
112051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112053 { (exit 1); exit 1; }; }
112055 cat >conftest.$ac_ext <<_ACEOF
112056 /* confdefs.h. */
112057 _ACEOF
112058 cat confdefs.h >>conftest.$ac_ext
112059 cat >>conftest.$ac_ext <<_ACEOF
112060 /* end confdefs.h. */
112064 main ()
112066 main ();
112068 return 0;
112070 _ACEOF
112071 rm -f conftest.$ac_objext conftest$ac_exeext
112072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112073 (eval $ac_link) 2>conftest.er1
112074 ac_status=$?
112075 grep -v '^ *+' conftest.er1 >conftest.err
112076 rm -f conftest.er1
112077 cat conftest.err >&5
112078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112079 (exit $ac_status); } &&
112080 { ac_try='test -z "$ac_c_werror_flag"
112081 || test ! -s conftest.err'
112082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112083 (eval $ac_try) 2>&5
112084 ac_status=$?
112085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112086 (exit $ac_status); }; } &&
112087 { ac_try='test -s conftest$ac_exeext'
112088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112089 (eval $ac_try) 2>&5
112090 ac_status=$?
112091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112092 (exit $ac_status); }; }; then
112093 ac_cv_lib_m_main=yes
112095 echo "$as_me: failed program was:" >&5
112096 sed 's/^/| /' conftest.$ac_ext >&5
112098 ac_cv_lib_m_main=no
112100 rm -f conftest.err conftest.$ac_objext \
112101 conftest$ac_exeext conftest.$ac_ext
112102 LIBS=$ac_check_lib_save_LIBS
112104 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
112105 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
112106 if test $ac_cv_lib_m_main = yes; then
112107 cat >>confdefs.h <<_ACEOF
112108 #define HAVE_LIBM 1
112109 _ACEOF
112111 LIBS="-lm $LIBS"
112116 for ac_func in copysignf
112118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112119 echo "$as_me:$LINENO: checking for $ac_func" >&5
112120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112121 if eval "test \"\${$as_ac_var+set}\" = set"; then
112122 echo $ECHO_N "(cached) $ECHO_C" >&6
112124 if test x$gcc_no_link = xyes; then
112125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112127 { (exit 1); exit 1; }; }
112129 cat >conftest.$ac_ext <<_ACEOF
112130 /* confdefs.h. */
112131 _ACEOF
112132 cat confdefs.h >>conftest.$ac_ext
112133 cat >>conftest.$ac_ext <<_ACEOF
112134 /* end confdefs.h. */
112135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112137 #define $ac_func innocuous_$ac_func
112139 /* System header to define __stub macros and hopefully few prototypes,
112140 which can conflict with char $ac_func (); below.
112141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112142 <limits.h> exists even on freestanding compilers. */
112144 #ifdef __STDC__
112145 # include <limits.h>
112146 #else
112147 # include <assert.h>
112148 #endif
112150 #undef $ac_func
112152 /* Override any gcc2 internal prototype to avoid an error. */
112153 #ifdef __cplusplus
112154 extern "C"
112156 #endif
112157 /* We use char because int might match the return type of a gcc2
112158 builtin and then its argument prototype would still apply. */
112159 char $ac_func ();
112160 /* The GNU C library defines this for functions which it implements
112161 to always fail with ENOSYS. Some functions are actually named
112162 something starting with __ and the normal name is an alias. */
112163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112164 choke me
112165 #else
112166 char (*f) () = $ac_func;
112167 #endif
112168 #ifdef __cplusplus
112170 #endif
112173 main ()
112175 return f != $ac_func;
112177 return 0;
112179 _ACEOF
112180 rm -f conftest.$ac_objext conftest$ac_exeext
112181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112182 (eval $ac_link) 2>conftest.er1
112183 ac_status=$?
112184 grep -v '^ *+' conftest.er1 >conftest.err
112185 rm -f conftest.er1
112186 cat conftest.err >&5
112187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112188 (exit $ac_status); } &&
112189 { ac_try='test -z "$ac_c_werror_flag"
112190 || test ! -s conftest.err'
112191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112192 (eval $ac_try) 2>&5
112193 ac_status=$?
112194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112195 (exit $ac_status); }; } &&
112196 { ac_try='test -s conftest$ac_exeext'
112197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112198 (eval $ac_try) 2>&5
112199 ac_status=$?
112200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112201 (exit $ac_status); }; }; then
112202 eval "$as_ac_var=yes"
112204 echo "$as_me: failed program was:" >&5
112205 sed 's/^/| /' conftest.$ac_ext >&5
112207 eval "$as_ac_var=no"
112209 rm -f conftest.err conftest.$ac_objext \
112210 conftest$ac_exeext conftest.$ac_ext
112212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112214 if test `eval echo '${'$as_ac_var'}'` = yes; then
112215 cat >>confdefs.h <<_ACEOF
112216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112217 _ACEOF
112220 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
112226 for ac_func in __signbit
112228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112229 echo "$as_me:$LINENO: checking for $ac_func" >&5
112230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112231 if eval "test \"\${$as_ac_var+set}\" = set"; then
112232 echo $ECHO_N "(cached) $ECHO_C" >&6
112234 if test x$gcc_no_link = xyes; then
112235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112237 { (exit 1); exit 1; }; }
112239 cat >conftest.$ac_ext <<_ACEOF
112240 /* confdefs.h. */
112241 _ACEOF
112242 cat confdefs.h >>conftest.$ac_ext
112243 cat >>conftest.$ac_ext <<_ACEOF
112244 /* end confdefs.h. */
112245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112247 #define $ac_func innocuous_$ac_func
112249 /* System header to define __stub macros and hopefully few prototypes,
112250 which can conflict with char $ac_func (); below.
112251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112252 <limits.h> exists even on freestanding compilers. */
112254 #ifdef __STDC__
112255 # include <limits.h>
112256 #else
112257 # include <assert.h>
112258 #endif
112260 #undef $ac_func
112262 /* Override any gcc2 internal prototype to avoid an error. */
112263 #ifdef __cplusplus
112264 extern "C"
112266 #endif
112267 /* We use char because int might match the return type of a gcc2
112268 builtin and then its argument prototype would still apply. */
112269 char $ac_func ();
112270 /* The GNU C library defines this for functions which it implements
112271 to always fail with ENOSYS. Some functions are actually named
112272 something starting with __ and the normal name is an alias. */
112273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112274 choke me
112275 #else
112276 char (*f) () = $ac_func;
112277 #endif
112278 #ifdef __cplusplus
112280 #endif
112283 main ()
112285 return f != $ac_func;
112287 return 0;
112289 _ACEOF
112290 rm -f conftest.$ac_objext conftest$ac_exeext
112291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112292 (eval $ac_link) 2>conftest.er1
112293 ac_status=$?
112294 grep -v '^ *+' conftest.er1 >conftest.err
112295 rm -f conftest.er1
112296 cat conftest.err >&5
112297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112298 (exit $ac_status); } &&
112299 { ac_try='test -z "$ac_c_werror_flag"
112300 || test ! -s conftest.err'
112301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112302 (eval $ac_try) 2>&5
112303 ac_status=$?
112304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112305 (exit $ac_status); }; } &&
112306 { ac_try='test -s conftest$ac_exeext'
112307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112308 (eval $ac_try) 2>&5
112309 ac_status=$?
112310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112311 (exit $ac_status); }; }; then
112312 eval "$as_ac_var=yes"
112314 echo "$as_me: failed program was:" >&5
112315 sed 's/^/| /' conftest.$ac_ext >&5
112317 eval "$as_ac_var=no"
112319 rm -f conftest.err conftest.$ac_objext \
112320 conftest$ac_exeext conftest.$ac_ext
112322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112324 if test `eval echo '${'$as_ac_var'}'` = yes; then
112325 cat >>confdefs.h <<_ACEOF
112326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112327 _ACEOF
112330 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112336 for ac_func in __signbitf
112338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112339 echo "$as_me:$LINENO: checking for $ac_func" >&5
112340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112341 if eval "test \"\${$as_ac_var+set}\" = set"; then
112342 echo $ECHO_N "(cached) $ECHO_C" >&6
112344 if test x$gcc_no_link = xyes; then
112345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112347 { (exit 1); exit 1; }; }
112349 cat >conftest.$ac_ext <<_ACEOF
112350 /* confdefs.h. */
112351 _ACEOF
112352 cat confdefs.h >>conftest.$ac_ext
112353 cat >>conftest.$ac_ext <<_ACEOF
112354 /* end confdefs.h. */
112355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112357 #define $ac_func innocuous_$ac_func
112359 /* System header to define __stub macros and hopefully few prototypes,
112360 which can conflict with char $ac_func (); below.
112361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112362 <limits.h> exists even on freestanding compilers. */
112364 #ifdef __STDC__
112365 # include <limits.h>
112366 #else
112367 # include <assert.h>
112368 #endif
112370 #undef $ac_func
112372 /* Override any gcc2 internal prototype to avoid an error. */
112373 #ifdef __cplusplus
112374 extern "C"
112376 #endif
112377 /* We use char because int might match the return type of a gcc2
112378 builtin and then its argument prototype would still apply. */
112379 char $ac_func ();
112380 /* The GNU C library defines this for functions which it implements
112381 to always fail with ENOSYS. Some functions are actually named
112382 something starting with __ and the normal name is an alias. */
112383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112384 choke me
112385 #else
112386 char (*f) () = $ac_func;
112387 #endif
112388 #ifdef __cplusplus
112390 #endif
112393 main ()
112395 return f != $ac_func;
112397 return 0;
112399 _ACEOF
112400 rm -f conftest.$ac_objext conftest$ac_exeext
112401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112402 (eval $ac_link) 2>conftest.er1
112403 ac_status=$?
112404 grep -v '^ *+' conftest.er1 >conftest.err
112405 rm -f conftest.er1
112406 cat conftest.err >&5
112407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112408 (exit $ac_status); } &&
112409 { ac_try='test -z "$ac_c_werror_flag"
112410 || test ! -s conftest.err'
112411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112412 (eval $ac_try) 2>&5
112413 ac_status=$?
112414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112415 (exit $ac_status); }; } &&
112416 { ac_try='test -s conftest$ac_exeext'
112417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112418 (eval $ac_try) 2>&5
112419 ac_status=$?
112420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112421 (exit $ac_status); }; }; then
112422 eval "$as_ac_var=yes"
112424 echo "$as_me: failed program was:" >&5
112425 sed 's/^/| /' conftest.$ac_ext >&5
112427 eval "$as_ac_var=no"
112429 rm -f conftest.err conftest.$ac_objext \
112430 conftest$ac_exeext conftest.$ac_ext
112432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112434 if test `eval echo '${'$as_ac_var'}'` = yes; then
112435 cat >>confdefs.h <<_ACEOF
112436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112437 _ACEOF
112440 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112445 if test x$ac_cv_func_copysignl = x"yes"; then
112447 for ac_func in __signbitl
112449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112450 echo "$as_me:$LINENO: checking for $ac_func" >&5
112451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112452 if eval "test \"\${$as_ac_var+set}\" = set"; then
112453 echo $ECHO_N "(cached) $ECHO_C" >&6
112455 if test x$gcc_no_link = xyes; then
112456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112458 { (exit 1); exit 1; }; }
112460 cat >conftest.$ac_ext <<_ACEOF
112461 /* confdefs.h. */
112462 _ACEOF
112463 cat confdefs.h >>conftest.$ac_ext
112464 cat >>conftest.$ac_ext <<_ACEOF
112465 /* end confdefs.h. */
112466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112468 #define $ac_func innocuous_$ac_func
112470 /* System header to define __stub macros and hopefully few prototypes,
112471 which can conflict with char $ac_func (); below.
112472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112473 <limits.h> exists even on freestanding compilers. */
112475 #ifdef __STDC__
112476 # include <limits.h>
112477 #else
112478 # include <assert.h>
112479 #endif
112481 #undef $ac_func
112483 /* Override any gcc2 internal prototype to avoid an error. */
112484 #ifdef __cplusplus
112485 extern "C"
112487 #endif
112488 /* We use char because int might match the return type of a gcc2
112489 builtin and then its argument prototype would still apply. */
112490 char $ac_func ();
112491 /* The GNU C library defines this for functions which it implements
112492 to always fail with ENOSYS. Some functions are actually named
112493 something starting with __ and the normal name is an alias. */
112494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112495 choke me
112496 #else
112497 char (*f) () = $ac_func;
112498 #endif
112499 #ifdef __cplusplus
112501 #endif
112504 main ()
112506 return f != $ac_func;
112508 return 0;
112510 _ACEOF
112511 rm -f conftest.$ac_objext conftest$ac_exeext
112512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112513 (eval $ac_link) 2>conftest.er1
112514 ac_status=$?
112515 grep -v '^ *+' conftest.er1 >conftest.err
112516 rm -f conftest.er1
112517 cat conftest.err >&5
112518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112519 (exit $ac_status); } &&
112520 { ac_try='test -z "$ac_c_werror_flag"
112521 || test ! -s conftest.err'
112522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112523 (eval $ac_try) 2>&5
112524 ac_status=$?
112525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112526 (exit $ac_status); }; } &&
112527 { ac_try='test -s conftest$ac_exeext'
112528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112529 (eval $ac_try) 2>&5
112530 ac_status=$?
112531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112532 (exit $ac_status); }; }; then
112533 eval "$as_ac_var=yes"
112535 echo "$as_me: failed program was:" >&5
112536 sed 's/^/| /' conftest.$ac_ext >&5
112538 eval "$as_ac_var=no"
112540 rm -f conftest.err conftest.$ac_objext \
112541 conftest$ac_exeext conftest.$ac_ext
112543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112545 if test `eval echo '${'$as_ac_var'}'` = yes; then
112546 cat >>confdefs.h <<_ACEOF
112547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112548 _ACEOF
112551 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
112557 # Used in libmath/Makefile.am.
112558 if test -n "$LIBMATHOBJS"; then
112559 need_libmath=yes
112563 cat >>confdefs.h <<\_ACEOF
112564 #define HAVE_HYPOT 1
112565 _ACEOF
112567 cat >>confdefs.h <<\_ACEOF
112568 #define HAVE_ISINF 1
112569 _ACEOF
112571 cat >>confdefs.h <<\_ACEOF
112572 #define HAVE_ISNAN 1
112573 _ACEOF
112576 # For showmanyc_helper().
112579 for ac_header in sys/ioctl.h sys/filio.h
112581 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112583 echo "$as_me:$LINENO: checking for $ac_header" >&5
112584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112586 echo $ECHO_N "(cached) $ECHO_C" >&6
112588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112591 # Is the header compilable?
112592 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112593 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112594 cat >conftest.$ac_ext <<_ACEOF
112595 /* confdefs.h. */
112596 _ACEOF
112597 cat confdefs.h >>conftest.$ac_ext
112598 cat >>conftest.$ac_ext <<_ACEOF
112599 /* end confdefs.h. */
112600 $ac_includes_default
112601 #include <$ac_header>
112602 _ACEOF
112603 rm -f conftest.$ac_objext
112604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112605 (eval $ac_compile) 2>conftest.er1
112606 ac_status=$?
112607 grep -v '^ *+' conftest.er1 >conftest.err
112608 rm -f conftest.er1
112609 cat conftest.err >&5
112610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112611 (exit $ac_status); } &&
112612 { ac_try='test -z "$ac_c_werror_flag"
112613 || test ! -s conftest.err'
112614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112615 (eval $ac_try) 2>&5
112616 ac_status=$?
112617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112618 (exit $ac_status); }; } &&
112619 { ac_try='test -s conftest.$ac_objext'
112620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112621 (eval $ac_try) 2>&5
112622 ac_status=$?
112623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112624 (exit $ac_status); }; }; then
112625 ac_header_compiler=yes
112627 echo "$as_me: failed program was:" >&5
112628 sed 's/^/| /' conftest.$ac_ext >&5
112630 ac_header_compiler=no
112632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112633 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112634 echo "${ECHO_T}$ac_header_compiler" >&6
112636 # Is the header present?
112637 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112638 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112639 cat >conftest.$ac_ext <<_ACEOF
112640 /* confdefs.h. */
112641 _ACEOF
112642 cat confdefs.h >>conftest.$ac_ext
112643 cat >>conftest.$ac_ext <<_ACEOF
112644 /* end confdefs.h. */
112645 #include <$ac_header>
112646 _ACEOF
112647 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112648 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112649 ac_status=$?
112650 grep -v '^ *+' conftest.er1 >conftest.err
112651 rm -f conftest.er1
112652 cat conftest.err >&5
112653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112654 (exit $ac_status); } >/dev/null; then
112655 if test -s conftest.err; then
112656 ac_cpp_err=$ac_c_preproc_warn_flag
112657 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112659 ac_cpp_err=
112662 ac_cpp_err=yes
112664 if test -z "$ac_cpp_err"; then
112665 ac_header_preproc=yes
112667 echo "$as_me: failed program was:" >&5
112668 sed 's/^/| /' conftest.$ac_ext >&5
112670 ac_header_preproc=no
112672 rm -f conftest.err conftest.$ac_ext
112673 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112674 echo "${ECHO_T}$ac_header_preproc" >&6
112676 # So? What about this header?
112677 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112678 yes:no: )
112679 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112680 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112681 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112682 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112683 ac_header_preproc=yes
112685 no:yes:* )
112686 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112687 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112688 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
112689 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
112690 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112691 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112692 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
112693 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
112694 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112695 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112696 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112697 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112699 cat <<\_ASBOX
112700 ## ----------------------------------------- ##
112701 ## Report this to the package-unused lists. ##
112702 ## ----------------------------------------- ##
112703 _ASBOX
112705 sed "s/^/$as_me: WARNING: /" >&2
112708 echo "$as_me:$LINENO: checking for $ac_header" >&5
112709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112711 echo $ECHO_N "(cached) $ECHO_C" >&6
112713 eval "$as_ac_Header=\$ac_header_preproc"
112715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112716 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112720 cat >>confdefs.h <<_ACEOF
112721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112722 _ACEOF
112729 echo "$as_me:$LINENO: checking for poll" >&5
112730 echo $ECHO_N "checking for poll... $ECHO_C" >&6
112731 if test "${glibcxx_cv_POLL+set}" = set; then
112732 echo $ECHO_N "(cached) $ECHO_C" >&6
112735 if test x$gcc_no_link = xyes; then
112736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112738 { (exit 1); exit 1; }; }
112740 cat >conftest.$ac_ext <<_ACEOF
112741 /* confdefs.h. */
112742 _ACEOF
112743 cat confdefs.h >>conftest.$ac_ext
112744 cat >>conftest.$ac_ext <<_ACEOF
112745 /* end confdefs.h. */
112746 #include <poll.h>
112748 main ()
112750 struct pollfd pfd[1];
112751 pfd[0].events = POLLIN;
112752 poll(pfd, 1, 0);
112754 return 0;
112756 _ACEOF
112757 rm -f conftest.$ac_objext conftest$ac_exeext
112758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112759 (eval $ac_link) 2>conftest.er1
112760 ac_status=$?
112761 grep -v '^ *+' conftest.er1 >conftest.err
112762 rm -f conftest.er1
112763 cat conftest.err >&5
112764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112765 (exit $ac_status); } &&
112766 { ac_try='test -z "$ac_c_werror_flag"
112767 || test ! -s conftest.err'
112768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112769 (eval $ac_try) 2>&5
112770 ac_status=$?
112771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112772 (exit $ac_status); }; } &&
112773 { ac_try='test -s conftest$ac_exeext'
112774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112775 (eval $ac_try) 2>&5
112776 ac_status=$?
112777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112778 (exit $ac_status); }; }; then
112779 glibcxx_cv_POLL=yes
112781 echo "$as_me: failed program was:" >&5
112782 sed 's/^/| /' conftest.$ac_ext >&5
112784 glibcxx_cv_POLL=no
112786 rm -f conftest.err conftest.$ac_objext \
112787 conftest$ac_exeext conftest.$ac_ext
112791 if test $glibcxx_cv_POLL = yes; then
112793 cat >>confdefs.h <<\_ACEOF
112794 #define HAVE_POLL 1
112795 _ACEOF
112798 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
112799 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
112802 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
112803 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
112804 if test "${glibcxx_cv_S_ISREG+set}" = set; then
112805 echo $ECHO_N "(cached) $ECHO_C" >&6
112808 if test x$gcc_no_link = xyes; then
112809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112811 { (exit 1); exit 1; }; }
112813 cat >conftest.$ac_ext <<_ACEOF
112814 /* confdefs.h. */
112815 _ACEOF
112816 cat confdefs.h >>conftest.$ac_ext
112817 cat >>conftest.$ac_ext <<_ACEOF
112818 /* end confdefs.h. */
112819 #include <sys/stat.h>
112821 main ()
112823 struct stat buffer;
112824 fstat(0, &buffer);
112825 S_ISREG(buffer.st_mode);
112827 return 0;
112829 _ACEOF
112830 rm -f conftest.$ac_objext conftest$ac_exeext
112831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112832 (eval $ac_link) 2>conftest.er1
112833 ac_status=$?
112834 grep -v '^ *+' conftest.er1 >conftest.err
112835 rm -f conftest.er1
112836 cat conftest.err >&5
112837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112838 (exit $ac_status); } &&
112839 { ac_try='test -z "$ac_c_werror_flag"
112840 || test ! -s conftest.err'
112841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112842 (eval $ac_try) 2>&5
112843 ac_status=$?
112844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112845 (exit $ac_status); }; } &&
112846 { ac_try='test -s conftest$ac_exeext'
112847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112848 (eval $ac_try) 2>&5
112849 ac_status=$?
112850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112851 (exit $ac_status); }; }; then
112852 glibcxx_cv_S_ISREG=yes
112854 echo "$as_me: failed program was:" >&5
112855 sed 's/^/| /' conftest.$ac_ext >&5
112857 glibcxx_cv_S_ISREG=no
112859 rm -f conftest.err conftest.$ac_objext \
112860 conftest$ac_exeext conftest.$ac_ext
112864 if test "${glibcxx_cv_S_IFREG+set}" = set; then
112865 echo $ECHO_N "(cached) $ECHO_C" >&6
112868 if test x$gcc_no_link = xyes; then
112869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112871 { (exit 1); exit 1; }; }
112873 cat >conftest.$ac_ext <<_ACEOF
112874 /* confdefs.h. */
112875 _ACEOF
112876 cat confdefs.h >>conftest.$ac_ext
112877 cat >>conftest.$ac_ext <<_ACEOF
112878 /* end confdefs.h. */
112879 #include <sys/stat.h>
112881 main ()
112883 struct stat buffer;
112884 fstat(0, &buffer);
112885 S_IFREG & buffer.st_mode;
112887 return 0;
112889 _ACEOF
112890 rm -f conftest.$ac_objext conftest$ac_exeext
112891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112892 (eval $ac_link) 2>conftest.er1
112893 ac_status=$?
112894 grep -v '^ *+' conftest.er1 >conftest.err
112895 rm -f conftest.er1
112896 cat conftest.err >&5
112897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112898 (exit $ac_status); } &&
112899 { ac_try='test -z "$ac_c_werror_flag"
112900 || test ! -s conftest.err'
112901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112902 (eval $ac_try) 2>&5
112903 ac_status=$?
112904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112905 (exit $ac_status); }; } &&
112906 { ac_try='test -s conftest$ac_exeext'
112907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112908 (eval $ac_try) 2>&5
112909 ac_status=$?
112910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112911 (exit $ac_status); }; }; then
112912 glibcxx_cv_S_IFREG=yes
112914 echo "$as_me: failed program was:" >&5
112915 sed 's/^/| /' conftest.$ac_ext >&5
112917 glibcxx_cv_S_IFREG=no
112919 rm -f conftest.err conftest.$ac_objext \
112920 conftest$ac_exeext conftest.$ac_ext
112924 res=no
112925 if test $glibcxx_cv_S_ISREG = yes; then
112927 cat >>confdefs.h <<\_ACEOF
112928 #define HAVE_S_ISREG 1
112929 _ACEOF
112931 res=S_ISREG
112932 elif test $glibcxx_cv_S_IFREG = yes; then
112934 cat >>confdefs.h <<\_ACEOF
112935 #define HAVE_S_IFREG 1
112936 _ACEOF
112938 res=S_IFREG
112940 echo "$as_me:$LINENO: result: $res" >&5
112941 echo "${ECHO_T}$res" >&6
112944 # For xsputn_2().
112946 for ac_header in sys/uio.h
112948 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112950 echo "$as_me:$LINENO: checking for $ac_header" >&5
112951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112953 echo $ECHO_N "(cached) $ECHO_C" >&6
112955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112958 # Is the header compilable?
112959 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112960 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112961 cat >conftest.$ac_ext <<_ACEOF
112962 /* confdefs.h. */
112963 _ACEOF
112964 cat confdefs.h >>conftest.$ac_ext
112965 cat >>conftest.$ac_ext <<_ACEOF
112966 /* end confdefs.h. */
112967 $ac_includes_default
112968 #include <$ac_header>
112969 _ACEOF
112970 rm -f conftest.$ac_objext
112971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112972 (eval $ac_compile) 2>conftest.er1
112973 ac_status=$?
112974 grep -v '^ *+' conftest.er1 >conftest.err
112975 rm -f conftest.er1
112976 cat conftest.err >&5
112977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112978 (exit $ac_status); } &&
112979 { ac_try='test -z "$ac_c_werror_flag"
112980 || test ! -s conftest.err'
112981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112982 (eval $ac_try) 2>&5
112983 ac_status=$?
112984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112985 (exit $ac_status); }; } &&
112986 { ac_try='test -s conftest.$ac_objext'
112987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112988 (eval $ac_try) 2>&5
112989 ac_status=$?
112990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112991 (exit $ac_status); }; }; then
112992 ac_header_compiler=yes
112994 echo "$as_me: failed program was:" >&5
112995 sed 's/^/| /' conftest.$ac_ext >&5
112997 ac_header_compiler=no
112999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113000 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
113001 echo "${ECHO_T}$ac_header_compiler" >&6
113003 # Is the header present?
113004 echo "$as_me:$LINENO: checking $ac_header presence" >&5
113005 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
113006 cat >conftest.$ac_ext <<_ACEOF
113007 /* confdefs.h. */
113008 _ACEOF
113009 cat confdefs.h >>conftest.$ac_ext
113010 cat >>conftest.$ac_ext <<_ACEOF
113011 /* end confdefs.h. */
113012 #include <$ac_header>
113013 _ACEOF
113014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
113015 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
113016 ac_status=$?
113017 grep -v '^ *+' conftest.er1 >conftest.err
113018 rm -f conftest.er1
113019 cat conftest.err >&5
113020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113021 (exit $ac_status); } >/dev/null; then
113022 if test -s conftest.err; then
113023 ac_cpp_err=$ac_c_preproc_warn_flag
113024 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
113026 ac_cpp_err=
113029 ac_cpp_err=yes
113031 if test -z "$ac_cpp_err"; then
113032 ac_header_preproc=yes
113034 echo "$as_me: failed program was:" >&5
113035 sed 's/^/| /' conftest.$ac_ext >&5
113037 ac_header_preproc=no
113039 rm -f conftest.err conftest.$ac_ext
113040 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
113041 echo "${ECHO_T}$ac_header_preproc" >&6
113043 # So? What about this header?
113044 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
113045 yes:no: )
113046 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
113047 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
113048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
113049 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
113050 ac_header_preproc=yes
113052 no:yes:* )
113053 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
113054 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
113055 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
113056 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
113057 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
113058 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
113059 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
113060 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
113061 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
113062 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
113063 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
113064 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
113066 cat <<\_ASBOX
113067 ## ----------------------------------------- ##
113068 ## Report this to the package-unused lists. ##
113069 ## ----------------------------------------- ##
113070 _ASBOX
113072 sed "s/^/$as_me: WARNING: /" >&2
113075 echo "$as_me:$LINENO: checking for $ac_header" >&5
113076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113078 echo $ECHO_N "(cached) $ECHO_C" >&6
113080 eval "$as_ac_Header=\$ac_header_preproc"
113082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113086 if test `eval echo '${'$as_ac_Header'}'` = yes; then
113087 cat >>confdefs.h <<_ACEOF
113088 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
113089 _ACEOF
113096 echo "$as_me:$LINENO: checking for writev" >&5
113097 echo $ECHO_N "checking for writev... $ECHO_C" >&6
113098 if test "${glibcxx_cv_WRITEV+set}" = set; then
113099 echo $ECHO_N "(cached) $ECHO_C" >&6
113102 if test x$gcc_no_link = xyes; then
113103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113105 { (exit 1); exit 1; }; }
113107 cat >conftest.$ac_ext <<_ACEOF
113108 /* confdefs.h. */
113109 _ACEOF
113110 cat confdefs.h >>conftest.$ac_ext
113111 cat >>conftest.$ac_ext <<_ACEOF
113112 /* end confdefs.h. */
113113 #include <sys/uio.h>
113115 main ()
113117 struct iovec iov[2];
113118 writev(0, iov, 0);
113120 return 0;
113122 _ACEOF
113123 rm -f conftest.$ac_objext conftest$ac_exeext
113124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113125 (eval $ac_link) 2>conftest.er1
113126 ac_status=$?
113127 grep -v '^ *+' conftest.er1 >conftest.err
113128 rm -f conftest.er1
113129 cat conftest.err >&5
113130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113131 (exit $ac_status); } &&
113132 { ac_try='test -z "$ac_c_werror_flag"
113133 || test ! -s conftest.err'
113134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113135 (eval $ac_try) 2>&5
113136 ac_status=$?
113137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113138 (exit $ac_status); }; } &&
113139 { ac_try='test -s conftest$ac_exeext'
113140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113141 (eval $ac_try) 2>&5
113142 ac_status=$?
113143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113144 (exit $ac_status); }; }; then
113145 glibcxx_cv_WRITEV=yes
113147 echo "$as_me: failed program was:" >&5
113148 sed 's/^/| /' conftest.$ac_ext >&5
113150 glibcxx_cv_WRITEV=no
113152 rm -f conftest.err conftest.$ac_objext \
113153 conftest$ac_exeext conftest.$ac_ext
113157 if test $glibcxx_cv_WRITEV = yes; then
113159 cat >>confdefs.h <<\_ACEOF
113160 #define HAVE_WRITEV 1
113161 _ACEOF
113164 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
113165 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
113168 *-qnx6.1* | *-qnx6.2*)
113169 SECTION_FLAGS='-ffunction-sections -fdata-sections'
113172 # If we're not using GNU ld, then there's no point in even trying these
113173 # tests. Check for that first. We should have already tested for gld
113174 # by now (in libtool), but require it now just to be safe...
113175 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113176 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113180 # The name set by libtool depends on the version of libtool. Shame on us
113181 # for depending on an impl detail, but c'est la vie. Older versions used
113182 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113183 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113184 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
113185 # set (hence we're using an older libtool), then set it.
113186 if test x${with_gnu_ld+set} != xset; then
113187 if test x${ac_cv_prog_gnu_ld+set} != xset; then
113188 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
113189 with_gnu_ld=no
113191 with_gnu_ld=$ac_cv_prog_gnu_ld
113195 # Start by getting the version number. I think the libtool test already
113196 # does some of this, but throws away the result.
113197 glibcxx_ld_is_gold=no
113198 if test x"$with_gnu_ld" = x"yes"; then
113199 echo "$as_me:$LINENO: checking for ld version" >&5
113200 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113202 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
113203 glibcxx_ld_is_gold=yes
113205 ldver=`$LD --version 2>/dev/null | head -1 | \
113206 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
113208 glibcxx_gnu_ld_version=`echo $ldver | \
113209 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113210 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113211 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113214 # Set --gc-sections.
113215 glibcxx_have_gc_sections=no
113216 if test "$glibcxx_ld_is_gold" = "yes"; then
113217 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
113218 glibcxx_have_gc_sections=yes
113221 glibcxx_gcsections_min_ld=21602
113222 if test x"$with_gnu_ld" = x"yes" &&
113223 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113224 glibcxx_have_gc_sections=yes
113227 if test "$glibcxx_have_gc_sections" = "yes"; then
113228 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
113229 # NB: This flag only works reliably after 2.16.1. Configure tests
113230 # for this are difficult, so hard wire a value that should work.
113232 ac_test_CFLAGS="${CFLAGS+set}"
113233 ac_save_CFLAGS="$CFLAGS"
113234 CFLAGS='-Wl,--gc-sections'
113236 # Check for -Wl,--gc-sections
113237 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113238 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113239 if test x$gcc_no_link = xyes; then
113240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113242 { (exit 1); exit 1; }; }
113244 cat >conftest.$ac_ext <<_ACEOF
113245 /* confdefs.h. */
113246 _ACEOF
113247 cat confdefs.h >>conftest.$ac_ext
113248 cat >>conftest.$ac_ext <<_ACEOF
113249 /* end confdefs.h. */
113250 int one(void) { return 1; }
113251 int two(void) { return 2; }
113254 main ()
113256 two();
113258 return 0;
113260 _ACEOF
113261 rm -f conftest.$ac_objext conftest$ac_exeext
113262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113263 (eval $ac_link) 2>conftest.er1
113264 ac_status=$?
113265 grep -v '^ *+' conftest.er1 >conftest.err
113266 rm -f conftest.er1
113267 cat conftest.err >&5
113268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113269 (exit $ac_status); } &&
113270 { ac_try='test -z "$ac_c_werror_flag"
113271 || test ! -s conftest.err'
113272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113273 (eval $ac_try) 2>&5
113274 ac_status=$?
113275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113276 (exit $ac_status); }; } &&
113277 { ac_try='test -s conftest$ac_exeext'
113278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113279 (eval $ac_try) 2>&5
113280 ac_status=$?
113281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113282 (exit $ac_status); }; }; then
113283 ac_gcsections=yes
113285 echo "$as_me: failed program was:" >&5
113286 sed 's/^/| /' conftest.$ac_ext >&5
113288 ac_gcsections=no
113290 rm -f conftest.err conftest.$ac_objext \
113291 conftest$ac_exeext conftest.$ac_ext
113292 if test "$ac_gcsections" = "yes"; then
113293 rm -f conftest.c
113294 touch conftest.c
113295 if $CC -c conftest.c; then
113296 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113297 grep "Warning: gc-sections option ignored" > /dev/null; then
113298 ac_gcsections=no
113301 rm -f conftest.c conftest.o conftest
113303 if test "$ac_gcsections" = "yes"; then
113304 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113306 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113307 echo "${ECHO_T}$ac_gcsections" >&6
113309 if test "$ac_test_CFLAGS" = set; then
113310 CFLAGS="$ac_save_CFLAGS"
113312 # this is the suspicious part
113313 CFLAGS=''
113317 # Set -z,relro.
113318 # Note this is only for shared objects.
113319 ac_ld_relro=no
113320 if test x"$with_gnu_ld" = x"yes"; then
113321 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113322 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113323 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113324 if test -n "$cxx_z_relo"; then
113325 OPT_LDFLAGS="-Wl,-z,relro"
113326 ac_ld_relro=yes
113328 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113329 echo "${ECHO_T}$ac_ld_relro" >&6
113332 # Set linker optimization flags.
113333 if test x"$with_gnu_ld" = x"yes"; then
113334 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113342 echo "$as_me:$LINENO: checking for main in -lm" >&5
113343 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
113344 if test "${ac_cv_lib_m_main+set}" = set; then
113345 echo $ECHO_N "(cached) $ECHO_C" >&6
113347 ac_check_lib_save_LIBS=$LIBS
113348 LIBS="-lm $LIBS"
113349 if test x$gcc_no_link = xyes; then
113350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113352 { (exit 1); exit 1; }; }
113354 cat >conftest.$ac_ext <<_ACEOF
113355 /* confdefs.h. */
113356 _ACEOF
113357 cat confdefs.h >>conftest.$ac_ext
113358 cat >>conftest.$ac_ext <<_ACEOF
113359 /* end confdefs.h. */
113363 main ()
113365 main ();
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 ac_cv_lib_m_main=yes
113394 echo "$as_me: failed program was:" >&5
113395 sed 's/^/| /' conftest.$ac_ext >&5
113397 ac_cv_lib_m_main=no
113399 rm -f conftest.err conftest.$ac_objext \
113400 conftest$ac_exeext conftest.$ac_ext
113401 LIBS=$ac_check_lib_save_LIBS
113403 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
113404 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
113405 if test $ac_cv_lib_m_main = yes; then
113406 cat >>confdefs.h <<_ACEOF
113407 #define HAVE_LIBM 1
113408 _ACEOF
113410 LIBS="-lm $LIBS"
113415 for ac_func in copysignf
113417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113418 echo "$as_me:$LINENO: checking for $ac_func" >&5
113419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113420 if eval "test \"\${$as_ac_var+set}\" = set"; then
113421 echo $ECHO_N "(cached) $ECHO_C" >&6
113423 if test x$gcc_no_link = xyes; then
113424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113426 { (exit 1); exit 1; }; }
113428 cat >conftest.$ac_ext <<_ACEOF
113429 /* confdefs.h. */
113430 _ACEOF
113431 cat confdefs.h >>conftest.$ac_ext
113432 cat >>conftest.$ac_ext <<_ACEOF
113433 /* end confdefs.h. */
113434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113436 #define $ac_func innocuous_$ac_func
113438 /* System header to define __stub macros and hopefully few prototypes,
113439 which can conflict with char $ac_func (); below.
113440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113441 <limits.h> exists even on freestanding compilers. */
113443 #ifdef __STDC__
113444 # include <limits.h>
113445 #else
113446 # include <assert.h>
113447 #endif
113449 #undef $ac_func
113451 /* Override any gcc2 internal prototype to avoid an error. */
113452 #ifdef __cplusplus
113453 extern "C"
113455 #endif
113456 /* We use char because int might match the return type of a gcc2
113457 builtin and then its argument prototype would still apply. */
113458 char $ac_func ();
113459 /* The GNU C library defines this for functions which it implements
113460 to always fail with ENOSYS. Some functions are actually named
113461 something starting with __ and the normal name is an alias. */
113462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113463 choke me
113464 #else
113465 char (*f) () = $ac_func;
113466 #endif
113467 #ifdef __cplusplus
113469 #endif
113472 main ()
113474 return f != $ac_func;
113476 return 0;
113478 _ACEOF
113479 rm -f conftest.$ac_objext conftest$ac_exeext
113480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113481 (eval $ac_link) 2>conftest.er1
113482 ac_status=$?
113483 grep -v '^ *+' conftest.er1 >conftest.err
113484 rm -f conftest.er1
113485 cat conftest.err >&5
113486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113487 (exit $ac_status); } &&
113488 { ac_try='test -z "$ac_c_werror_flag"
113489 || test ! -s conftest.err'
113490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113491 (eval $ac_try) 2>&5
113492 ac_status=$?
113493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113494 (exit $ac_status); }; } &&
113495 { ac_try='test -s conftest$ac_exeext'
113496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113497 (eval $ac_try) 2>&5
113498 ac_status=$?
113499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113500 (exit $ac_status); }; }; then
113501 eval "$as_ac_var=yes"
113503 echo "$as_me: failed program was:" >&5
113504 sed 's/^/| /' conftest.$ac_ext >&5
113506 eval "$as_ac_var=no"
113508 rm -f conftest.err conftest.$ac_objext \
113509 conftest$ac_exeext conftest.$ac_ext
113511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113513 if test `eval echo '${'$as_ac_var'}'` = yes; then
113514 cat >>confdefs.h <<_ACEOF
113515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113516 _ACEOF
113519 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
113525 for ac_func in __signbit
113527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113528 echo "$as_me:$LINENO: checking for $ac_func" >&5
113529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113530 if eval "test \"\${$as_ac_var+set}\" = set"; then
113531 echo $ECHO_N "(cached) $ECHO_C" >&6
113533 if test x$gcc_no_link = xyes; then
113534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113536 { (exit 1); exit 1; }; }
113538 cat >conftest.$ac_ext <<_ACEOF
113539 /* confdefs.h. */
113540 _ACEOF
113541 cat confdefs.h >>conftest.$ac_ext
113542 cat >>conftest.$ac_ext <<_ACEOF
113543 /* end confdefs.h. */
113544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113546 #define $ac_func innocuous_$ac_func
113548 /* System header to define __stub macros and hopefully few prototypes,
113549 which can conflict with char $ac_func (); below.
113550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113551 <limits.h> exists even on freestanding compilers. */
113553 #ifdef __STDC__
113554 # include <limits.h>
113555 #else
113556 # include <assert.h>
113557 #endif
113559 #undef $ac_func
113561 /* Override any gcc2 internal prototype to avoid an error. */
113562 #ifdef __cplusplus
113563 extern "C"
113565 #endif
113566 /* We use char because int might match the return type of a gcc2
113567 builtin and then its argument prototype would still apply. */
113568 char $ac_func ();
113569 /* The GNU C library defines this for functions which it implements
113570 to always fail with ENOSYS. Some functions are actually named
113571 something starting with __ and the normal name is an alias. */
113572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113573 choke me
113574 #else
113575 char (*f) () = $ac_func;
113576 #endif
113577 #ifdef __cplusplus
113579 #endif
113582 main ()
113584 return f != $ac_func;
113586 return 0;
113588 _ACEOF
113589 rm -f conftest.$ac_objext conftest$ac_exeext
113590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113591 (eval $ac_link) 2>conftest.er1
113592 ac_status=$?
113593 grep -v '^ *+' conftest.er1 >conftest.err
113594 rm -f conftest.er1
113595 cat conftest.err >&5
113596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113597 (exit $ac_status); } &&
113598 { ac_try='test -z "$ac_c_werror_flag"
113599 || test ! -s conftest.err'
113600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113601 (eval $ac_try) 2>&5
113602 ac_status=$?
113603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113604 (exit $ac_status); }; } &&
113605 { ac_try='test -s conftest$ac_exeext'
113606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113607 (eval $ac_try) 2>&5
113608 ac_status=$?
113609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113610 (exit $ac_status); }; }; then
113611 eval "$as_ac_var=yes"
113613 echo "$as_me: failed program was:" >&5
113614 sed 's/^/| /' conftest.$ac_ext >&5
113616 eval "$as_ac_var=no"
113618 rm -f conftest.err conftest.$ac_objext \
113619 conftest$ac_exeext conftest.$ac_ext
113621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113623 if test `eval echo '${'$as_ac_var'}'` = yes; then
113624 cat >>confdefs.h <<_ACEOF
113625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113626 _ACEOF
113629 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
113635 for ac_func in __signbitf
113637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113638 echo "$as_me:$LINENO: checking for $ac_func" >&5
113639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113640 if eval "test \"\${$as_ac_var+set}\" = set"; then
113641 echo $ECHO_N "(cached) $ECHO_C" >&6
113643 if test x$gcc_no_link = xyes; then
113644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113646 { (exit 1); exit 1; }; }
113648 cat >conftest.$ac_ext <<_ACEOF
113649 /* confdefs.h. */
113650 _ACEOF
113651 cat confdefs.h >>conftest.$ac_ext
113652 cat >>conftest.$ac_ext <<_ACEOF
113653 /* end confdefs.h. */
113654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113656 #define $ac_func innocuous_$ac_func
113658 /* System header to define __stub macros and hopefully few prototypes,
113659 which can conflict with char $ac_func (); below.
113660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113661 <limits.h> exists even on freestanding compilers. */
113663 #ifdef __STDC__
113664 # include <limits.h>
113665 #else
113666 # include <assert.h>
113667 #endif
113669 #undef $ac_func
113671 /* Override any gcc2 internal prototype to avoid an error. */
113672 #ifdef __cplusplus
113673 extern "C"
113675 #endif
113676 /* We use char because int might match the return type of a gcc2
113677 builtin and then its argument prototype would still apply. */
113678 char $ac_func ();
113679 /* The GNU C library defines this for functions which it implements
113680 to always fail with ENOSYS. Some functions are actually named
113681 something starting with __ and the normal name is an alias. */
113682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113683 choke me
113684 #else
113685 char (*f) () = $ac_func;
113686 #endif
113687 #ifdef __cplusplus
113689 #endif
113692 main ()
113694 return f != $ac_func;
113696 return 0;
113698 _ACEOF
113699 rm -f conftest.$ac_objext conftest$ac_exeext
113700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113701 (eval $ac_link) 2>conftest.er1
113702 ac_status=$?
113703 grep -v '^ *+' conftest.er1 >conftest.err
113704 rm -f conftest.er1
113705 cat conftest.err >&5
113706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113707 (exit $ac_status); } &&
113708 { ac_try='test -z "$ac_c_werror_flag"
113709 || test ! -s conftest.err'
113710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113711 (eval $ac_try) 2>&5
113712 ac_status=$?
113713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113714 (exit $ac_status); }; } &&
113715 { ac_try='test -s conftest$ac_exeext'
113716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113717 (eval $ac_try) 2>&5
113718 ac_status=$?
113719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113720 (exit $ac_status); }; }; then
113721 eval "$as_ac_var=yes"
113723 echo "$as_me: failed program was:" >&5
113724 sed 's/^/| /' conftest.$ac_ext >&5
113726 eval "$as_ac_var=no"
113728 rm -f conftest.err conftest.$ac_objext \
113729 conftest$ac_exeext conftest.$ac_ext
113731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113733 if test `eval echo '${'$as_ac_var'}'` = yes; then
113734 cat >>confdefs.h <<_ACEOF
113735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113736 _ACEOF
113739 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113744 if test x$ac_cv_func_copysignl = x"yes"; then
113746 for ac_func in __signbitl
113748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113749 echo "$as_me:$LINENO: checking for $ac_func" >&5
113750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113751 if eval "test \"\${$as_ac_var+set}\" = set"; then
113752 echo $ECHO_N "(cached) $ECHO_C" >&6
113754 if test x$gcc_no_link = xyes; then
113755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113757 { (exit 1); exit 1; }; }
113759 cat >conftest.$ac_ext <<_ACEOF
113760 /* confdefs.h. */
113761 _ACEOF
113762 cat confdefs.h >>conftest.$ac_ext
113763 cat >>conftest.$ac_ext <<_ACEOF
113764 /* end confdefs.h. */
113765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113766 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113767 #define $ac_func innocuous_$ac_func
113769 /* System header to define __stub macros and hopefully few prototypes,
113770 which can conflict with char $ac_func (); below.
113771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113772 <limits.h> exists even on freestanding compilers. */
113774 #ifdef __STDC__
113775 # include <limits.h>
113776 #else
113777 # include <assert.h>
113778 #endif
113780 #undef $ac_func
113782 /* Override any gcc2 internal prototype to avoid an error. */
113783 #ifdef __cplusplus
113784 extern "C"
113786 #endif
113787 /* We use char because int might match the return type of a gcc2
113788 builtin and then its argument prototype would still apply. */
113789 char $ac_func ();
113790 /* The GNU C library defines this for functions which it implements
113791 to always fail with ENOSYS. Some functions are actually named
113792 something starting with __ and the normal name is an alias. */
113793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113794 choke me
113795 #else
113796 char (*f) () = $ac_func;
113797 #endif
113798 #ifdef __cplusplus
113800 #endif
113803 main ()
113805 return f != $ac_func;
113807 return 0;
113809 _ACEOF
113810 rm -f conftest.$ac_objext conftest$ac_exeext
113811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113812 (eval $ac_link) 2>conftest.er1
113813 ac_status=$?
113814 grep -v '^ *+' conftest.er1 >conftest.err
113815 rm -f conftest.er1
113816 cat conftest.err >&5
113817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113818 (exit $ac_status); } &&
113819 { ac_try='test -z "$ac_c_werror_flag"
113820 || test ! -s conftest.err'
113821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113822 (eval $ac_try) 2>&5
113823 ac_status=$?
113824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113825 (exit $ac_status); }; } &&
113826 { ac_try='test -s conftest$ac_exeext'
113827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113828 (eval $ac_try) 2>&5
113829 ac_status=$?
113830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113831 (exit $ac_status); }; }; then
113832 eval "$as_ac_var=yes"
113834 echo "$as_me: failed program was:" >&5
113835 sed 's/^/| /' conftest.$ac_ext >&5
113837 eval "$as_ac_var=no"
113839 rm -f conftest.err conftest.$ac_objext \
113840 conftest$ac_exeext conftest.$ac_ext
113842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113844 if test `eval echo '${'$as_ac_var'}'` = yes; then
113845 cat >>confdefs.h <<_ACEOF
113846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113847 _ACEOF
113850 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113856 # Used in libmath/Makefile.am.
113857 if test -n "$LIBMATHOBJS"; then
113858 need_libmath=yes
113862 cat >>confdefs.h <<\_ACEOF
113863 #define HAVE_COSF 1
113864 _ACEOF
113866 cat >>confdefs.h <<\_ACEOF
113867 #define HAVE_COSL 1
113868 _ACEOF
113870 cat >>confdefs.h <<\_ACEOF
113871 #define HAVE_COSHF 1
113872 _ACEOF
113874 cat >>confdefs.h <<\_ACEOF
113875 #define HAVE_COSHL 1
113876 _ACEOF
113878 cat >>confdefs.h <<\_ACEOF
113879 #define HAVE_LOGF 1
113880 _ACEOF
113882 cat >>confdefs.h <<\_ACEOF
113883 #define HAVE_LOGL 1
113884 _ACEOF
113886 cat >>confdefs.h <<\_ACEOF
113887 #define HAVE_LOG10F 1
113888 _ACEOF
113890 cat >>confdefs.h <<\_ACEOF
113891 #define HAVE_LOG10L 1
113892 _ACEOF
113894 cat >>confdefs.h <<\_ACEOF
113895 #define HAVE_SINF 1
113896 _ACEOF
113898 cat >>confdefs.h <<\_ACEOF
113899 #define HAVE_SINL 1
113900 _ACEOF
113902 cat >>confdefs.h <<\_ACEOF
113903 #define HAVE_SINHF 1
113904 _ACEOF
113906 cat >>confdefs.h <<\_ACEOF
113907 #define HAVE_SINHL 1
113908 _ACEOF
113911 *-solaris*)
113912 case "$target" in
113913 # *-solaris2.5)
113914 # os_include_dir="os/solaris/solaris2.5"
113916 # *-solaris2.6)
113917 # os_include_dir="os/solaris/solaris2.6"
113919 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
113921 # If we're not using GNU ld, then there's no point in even trying these
113922 # tests. Check for that first. We should have already tested for gld
113923 # by now (in libtool), but require it now just to be safe...
113924 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113925 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113929 # The name set by libtool depends on the version of libtool. Shame on us
113930 # for depending on an impl detail, but c'est la vie. Older versions used
113931 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113932 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113933 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
113934 # set (hence we're using an older libtool), then set it.
113935 if test x${with_gnu_ld+set} != xset; then
113936 if test x${ac_cv_prog_gnu_ld+set} != xset; then
113937 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
113938 with_gnu_ld=no
113940 with_gnu_ld=$ac_cv_prog_gnu_ld
113944 # Start by getting the version number. I think the libtool test already
113945 # does some of this, but throws away the result.
113946 glibcxx_ld_is_gold=no
113947 if test x"$with_gnu_ld" = x"yes"; then
113948 echo "$as_me:$LINENO: checking for ld version" >&5
113949 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113951 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
113952 glibcxx_ld_is_gold=yes
113954 ldver=`$LD --version 2>/dev/null | head -1 | \
113955 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
113957 glibcxx_gnu_ld_version=`echo $ldver | \
113958 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113959 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113960 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113963 # Set --gc-sections.
113964 glibcxx_have_gc_sections=no
113965 if test "$glibcxx_ld_is_gold" = "yes"; then
113966 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
113967 glibcxx_have_gc_sections=yes
113970 glibcxx_gcsections_min_ld=21602
113971 if test x"$with_gnu_ld" = x"yes" &&
113972 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113973 glibcxx_have_gc_sections=yes
113976 if test "$glibcxx_have_gc_sections" = "yes"; then
113977 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
113978 # NB: This flag only works reliably after 2.16.1. Configure tests
113979 # for this are difficult, so hard wire a value that should work.
113981 ac_test_CFLAGS="${CFLAGS+set}"
113982 ac_save_CFLAGS="$CFLAGS"
113983 CFLAGS='-Wl,--gc-sections'
113985 # Check for -Wl,--gc-sections
113986 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113987 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113988 if test x$gcc_no_link = xyes; then
113989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113991 { (exit 1); exit 1; }; }
113993 cat >conftest.$ac_ext <<_ACEOF
113994 /* confdefs.h. */
113995 _ACEOF
113996 cat confdefs.h >>conftest.$ac_ext
113997 cat >>conftest.$ac_ext <<_ACEOF
113998 /* end confdefs.h. */
113999 int one(void) { return 1; }
114000 int two(void) { return 2; }
114003 main ()
114005 two();
114007 return 0;
114009 _ACEOF
114010 rm -f conftest.$ac_objext conftest$ac_exeext
114011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114012 (eval $ac_link) 2>conftest.er1
114013 ac_status=$?
114014 grep -v '^ *+' conftest.er1 >conftest.err
114015 rm -f conftest.er1
114016 cat conftest.err >&5
114017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114018 (exit $ac_status); } &&
114019 { ac_try='test -z "$ac_c_werror_flag"
114020 || test ! -s conftest.err'
114021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114022 (eval $ac_try) 2>&5
114023 ac_status=$?
114024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114025 (exit $ac_status); }; } &&
114026 { ac_try='test -s conftest$ac_exeext'
114027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114028 (eval $ac_try) 2>&5
114029 ac_status=$?
114030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114031 (exit $ac_status); }; }; then
114032 ac_gcsections=yes
114034 echo "$as_me: failed program was:" >&5
114035 sed 's/^/| /' conftest.$ac_ext >&5
114037 ac_gcsections=no
114039 rm -f conftest.err conftest.$ac_objext \
114040 conftest$ac_exeext conftest.$ac_ext
114041 if test "$ac_gcsections" = "yes"; then
114042 rm -f conftest.c
114043 touch conftest.c
114044 if $CC -c conftest.c; then
114045 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
114046 grep "Warning: gc-sections option ignored" > /dev/null; then
114047 ac_gcsections=no
114050 rm -f conftest.c conftest.o conftest
114052 if test "$ac_gcsections" = "yes"; then
114053 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
114055 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
114056 echo "${ECHO_T}$ac_gcsections" >&6
114058 if test "$ac_test_CFLAGS" = set; then
114059 CFLAGS="$ac_save_CFLAGS"
114061 # this is the suspicious part
114062 CFLAGS=''
114066 # Set -z,relro.
114067 # Note this is only for shared objects.
114068 ac_ld_relro=no
114069 if test x"$with_gnu_ld" = x"yes"; then
114070 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
114071 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
114072 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
114073 if test -n "$cxx_z_relo"; then
114074 OPT_LDFLAGS="-Wl,-z,relro"
114075 ac_ld_relro=yes
114077 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
114078 echo "${ECHO_T}$ac_ld_relro" >&6
114081 # Set linker optimization flags.
114082 if test x"$with_gnu_ld" = x"yes"; then
114083 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
114089 cat >>confdefs.h <<\_ACEOF
114090 #define HAVE_GETPAGESIZE 1
114091 _ACEOF
114093 cat >>confdefs.h <<\_ACEOF
114094 #define HAVE_SIGSETJMP 1
114095 _ACEOF
114097 cat >>confdefs.h <<\_ACEOF
114098 #define HAVE_MBSTATE_T 1
114099 _ACEOF
114101 cat >>confdefs.h <<\_ACEOF
114102 #define HAVE_POLL 1
114103 _ACEOF
114105 cat >>confdefs.h <<\_ACEOF
114106 #define HAVE_S_ISREG 1
114107 _ACEOF
114109 cat >>confdefs.h <<\_ACEOF
114110 #define HAVE_LC_MESSAGES 1
114111 _ACEOF
114113 cat >>confdefs.h <<\_ACEOF
114114 #define HAVE_FINITE 1
114115 _ACEOF
114117 cat >>confdefs.h <<\_ACEOF
114118 #define HAVE_FPCLASS 1
114119 _ACEOF
114121 cat >>confdefs.h <<\_ACEOF
114122 #define HAVE_GETPAGESIZE 1
114123 _ACEOF
114125 # All of the dependencies for wide character support are here, so
114126 # turn it on.
114127 cat >>confdefs.h <<\_ACEOF
114128 #define _GLIBCXX_USE_WCHAR_T 1
114129 _ACEOF
114131 # Are these tested for even when cross?
114132 cat >>confdefs.h <<\_ACEOF
114133 #define HAVE_FLOAT_H 1
114134 _ACEOF
114136 cat >>confdefs.h <<\_ACEOF
114137 #define HAVE_IEEEFP_H 1
114138 _ACEOF
114140 cat >>confdefs.h <<\_ACEOF
114141 #define HAVE_INTTYPES_H 1
114142 _ACEOF
114144 cat >>confdefs.h <<\_ACEOF
114145 #define HAVE_LOCALE_H 1
114146 _ACEOF
114148 cat >>confdefs.h <<\_ACEOF
114149 #define HAVE_NAN_H 1
114150 _ACEOF
114152 cat >>confdefs.h <<\_ACEOF
114153 #define HAVE_SYS_FILIO_H 1
114154 _ACEOF
114156 cat >>confdefs.h <<\_ACEOF
114157 #define HAVE_SYS_IOCTL_H 1
114158 _ACEOF
114160 cat >>confdefs.h <<\_ACEOF
114161 #define HAVE_SYS_ISA_DEFS_H 1
114162 _ACEOF
114164 cat >>confdefs.h <<\_ACEOF
114165 #define HAVE_SYS_RESOURCE_H 1
114166 _ACEOF
114168 cat >>confdefs.h <<\_ACEOF
114169 #define HAVE_SYS_TIME_H 1
114170 _ACEOF
114172 cat >>confdefs.h <<\_ACEOF
114173 #define HAVE_SYS_TYPES_H 1
114174 _ACEOF
114176 cat >>confdefs.h <<\_ACEOF
114177 #define HAVE_UNISTD_H 1
114178 _ACEOF
114180 cat >>confdefs.h <<\_ACEOF
114181 #define HAVE_WCHAR_H 1
114182 _ACEOF
114184 cat >>confdefs.h <<\_ACEOF
114185 #define HAVE_WCTYPE_H 1
114186 _ACEOF
114188 cat >>confdefs.h <<\_ACEOF
114189 #define HAVE_LIBM 1
114190 _ACEOF
114194 case "$target" in
114195 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
114196 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
114197 cat >>confdefs.h <<\_ACEOF
114198 #define HAVE___BUILTIN_ABS 1
114199 _ACEOF
114201 cat >>confdefs.h <<\_ACEOF
114202 #define HAVE___BUILTIN_LABS 1
114203 _ACEOF
114205 cat >>confdefs.h <<\_ACEOF
114206 #define HAVE___BUILTIN_FABS 1
114207 _ACEOF
114209 cat >>confdefs.h <<\_ACEOF
114210 #define HAVE___BUILTIN_FABSF 1
114211 _ACEOF
114213 cat >>confdefs.h <<\_ACEOF
114214 #define HAVE___BUILTIN_FABSL 1
114215 _ACEOF
114217 cat >>confdefs.h <<\_ACEOF
114218 #define HAVE___BUILTIN_COS 1
114219 _ACEOF
114221 cat >>confdefs.h <<\_ACEOF
114222 #define HAVE___BUILTIN_COSF 1
114223 _ACEOF
114225 cat >>confdefs.h <<\_ACEOF
114226 #define HAVE___BUILTIN_SIN 1
114227 _ACEOF
114229 cat >>confdefs.h <<\_ACEOF
114230 #define HAVE___BUILTIN_SINF 1
114231 _ACEOF
114235 case "$target" in
114236 *-*-solaris2.10)
114237 # These two C99 functions are present only in Solaris >= 10
114238 cat >>confdefs.h <<\_ACEOF
114239 #define HAVE_STRTOF 1
114240 _ACEOF
114242 cat >>confdefs.h <<\_ACEOF
114243 #define HAVE_STRTOLD 1
114244 _ACEOF
114248 cat >>confdefs.h <<\_ACEOF
114249 #define HAVE_MMAP 1
114250 _ACEOF
114252 cat >>confdefs.h <<\_ACEOF
114253 #define HAVE_COPYSIGN 1
114254 _ACEOF
114256 cat >>confdefs.h <<\_ACEOF
114257 #define HAVE_ISNAN 1
114258 _ACEOF
114260 cat >>confdefs.h <<\_ACEOF
114261 #define HAVE_ISNANF 1
114262 _ACEOF
114264 cat >>confdefs.h <<\_ACEOF
114265 #define HAVE_MODFF 1
114266 _ACEOF
114268 cat >>confdefs.h <<\_ACEOF
114269 #define HAVE_HYPOT 1
114270 _ACEOF
114273 *-tpf)
114282 for ac_header in nan.h endian.h machine/endian.h \
114283 sys/param.h sys/types.h locale.h float.h inttypes.h
114285 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
114286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114287 echo "$as_me:$LINENO: checking for $ac_header" >&5
114288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114290 echo $ECHO_N "(cached) $ECHO_C" >&6
114292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114293 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114295 # Is the header compilable?
114296 echo "$as_me:$LINENO: checking $ac_header usability" >&5
114297 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
114298 cat >conftest.$ac_ext <<_ACEOF
114299 /* confdefs.h. */
114300 _ACEOF
114301 cat confdefs.h >>conftest.$ac_ext
114302 cat >>conftest.$ac_ext <<_ACEOF
114303 /* end confdefs.h. */
114304 $ac_includes_default
114305 #include <$ac_header>
114306 _ACEOF
114307 rm -f conftest.$ac_objext
114308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114309 (eval $ac_compile) 2>conftest.er1
114310 ac_status=$?
114311 grep -v '^ *+' conftest.er1 >conftest.err
114312 rm -f conftest.er1
114313 cat conftest.err >&5
114314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114315 (exit $ac_status); } &&
114316 { ac_try='test -z "$ac_c_werror_flag"
114317 || test ! -s conftest.err'
114318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114319 (eval $ac_try) 2>&5
114320 ac_status=$?
114321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114322 (exit $ac_status); }; } &&
114323 { ac_try='test -s conftest.$ac_objext'
114324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114325 (eval $ac_try) 2>&5
114326 ac_status=$?
114327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114328 (exit $ac_status); }; }; then
114329 ac_header_compiler=yes
114331 echo "$as_me: failed program was:" >&5
114332 sed 's/^/| /' conftest.$ac_ext >&5
114334 ac_header_compiler=no
114336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114337 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
114338 echo "${ECHO_T}$ac_header_compiler" >&6
114340 # Is the header present?
114341 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114342 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114343 cat >conftest.$ac_ext <<_ACEOF
114344 /* confdefs.h. */
114345 _ACEOF
114346 cat confdefs.h >>conftest.$ac_ext
114347 cat >>conftest.$ac_ext <<_ACEOF
114348 /* end confdefs.h. */
114349 #include <$ac_header>
114350 _ACEOF
114351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114352 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114353 ac_status=$?
114354 grep -v '^ *+' conftest.er1 >conftest.err
114355 rm -f conftest.er1
114356 cat conftest.err >&5
114357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114358 (exit $ac_status); } >/dev/null; then
114359 if test -s conftest.err; then
114360 ac_cpp_err=$ac_c_preproc_warn_flag
114361 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114363 ac_cpp_err=
114366 ac_cpp_err=yes
114368 if test -z "$ac_cpp_err"; then
114369 ac_header_preproc=yes
114371 echo "$as_me: failed program was:" >&5
114372 sed 's/^/| /' conftest.$ac_ext >&5
114374 ac_header_preproc=no
114376 rm -f conftest.err conftest.$ac_ext
114377 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114378 echo "${ECHO_T}$ac_header_preproc" >&6
114380 # So? What about this header?
114381 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114382 yes:no: )
114383 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114384 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114385 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114386 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114387 ac_header_preproc=yes
114389 no:yes:* )
114390 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114391 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114392 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
114393 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
114394 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114395 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114396 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
114397 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
114398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114399 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114400 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114401 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114403 cat <<\_ASBOX
114404 ## ----------------------------------------- ##
114405 ## Report this to the package-unused lists. ##
114406 ## ----------------------------------------- ##
114407 _ASBOX
114409 sed "s/^/$as_me: WARNING: /" >&2
114412 echo "$as_me:$LINENO: checking for $ac_header" >&5
114413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114415 echo $ECHO_N "(cached) $ECHO_C" >&6
114417 eval "$as_ac_Header=\$ac_header_preproc"
114419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114423 if test `eval echo '${'$as_ac_Header'}'` = yes; then
114424 cat >>confdefs.h <<_ACEOF
114425 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
114426 _ACEOF
114432 SECTION_FLAGS='-ffunction-sections -fdata-sections'
114435 # If we're not using GNU ld, then there's no point in even trying these
114436 # tests. Check for that first. We should have already tested for gld
114437 # by now (in libtool), but require it now just to be safe...
114438 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114439 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114443 # The name set by libtool depends on the version of libtool. Shame on us
114444 # for depending on an impl detail, but c'est la vie. Older versions used
114445 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
114446 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
114447 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
114448 # set (hence we're using an older libtool), then set it.
114449 if test x${with_gnu_ld+set} != xset; then
114450 if test x${ac_cv_prog_gnu_ld+set} != xset; then
114451 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
114452 with_gnu_ld=no
114454 with_gnu_ld=$ac_cv_prog_gnu_ld
114458 # Start by getting the version number. I think the libtool test already
114459 # does some of this, but throws away the result.
114460 glibcxx_ld_is_gold=no
114461 if test x"$with_gnu_ld" = x"yes"; then
114462 echo "$as_me:$LINENO: checking for ld version" >&5
114463 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
114465 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
114466 glibcxx_ld_is_gold=yes
114468 ldver=`$LD --version 2>/dev/null | head -1 | \
114469 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
114471 glibcxx_gnu_ld_version=`echo $ldver | \
114472 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
114473 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
114474 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
114477 # Set --gc-sections.
114478 glibcxx_have_gc_sections=no
114479 if test "$glibcxx_ld_is_gold" = "yes"; then
114480 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
114481 glibcxx_have_gc_sections=yes
114484 glibcxx_gcsections_min_ld=21602
114485 if test x"$with_gnu_ld" = x"yes" &&
114486 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
114487 glibcxx_have_gc_sections=yes
114490 if test "$glibcxx_have_gc_sections" = "yes"; then
114491 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
114492 # NB: This flag only works reliably after 2.16.1. Configure tests
114493 # for this are difficult, so hard wire a value that should work.
114495 ac_test_CFLAGS="${CFLAGS+set}"
114496 ac_save_CFLAGS="$CFLAGS"
114497 CFLAGS='-Wl,--gc-sections'
114499 # Check for -Wl,--gc-sections
114500 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
114501 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
114502 if test x$gcc_no_link = xyes; then
114503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114505 { (exit 1); exit 1; }; }
114507 cat >conftest.$ac_ext <<_ACEOF
114508 /* confdefs.h. */
114509 _ACEOF
114510 cat confdefs.h >>conftest.$ac_ext
114511 cat >>conftest.$ac_ext <<_ACEOF
114512 /* end confdefs.h. */
114513 int one(void) { return 1; }
114514 int two(void) { return 2; }
114517 main ()
114519 two();
114521 return 0;
114523 _ACEOF
114524 rm -f conftest.$ac_objext conftest$ac_exeext
114525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114526 (eval $ac_link) 2>conftest.er1
114527 ac_status=$?
114528 grep -v '^ *+' conftest.er1 >conftest.err
114529 rm -f conftest.er1
114530 cat conftest.err >&5
114531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114532 (exit $ac_status); } &&
114533 { ac_try='test -z "$ac_c_werror_flag"
114534 || test ! -s conftest.err'
114535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114536 (eval $ac_try) 2>&5
114537 ac_status=$?
114538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114539 (exit $ac_status); }; } &&
114540 { ac_try='test -s conftest$ac_exeext'
114541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114542 (eval $ac_try) 2>&5
114543 ac_status=$?
114544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114545 (exit $ac_status); }; }; then
114546 ac_gcsections=yes
114548 echo "$as_me: failed program was:" >&5
114549 sed 's/^/| /' conftest.$ac_ext >&5
114551 ac_gcsections=no
114553 rm -f conftest.err conftest.$ac_objext \
114554 conftest$ac_exeext conftest.$ac_ext
114555 if test "$ac_gcsections" = "yes"; then
114556 rm -f conftest.c
114557 touch conftest.c
114558 if $CC -c conftest.c; then
114559 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
114560 grep "Warning: gc-sections option ignored" > /dev/null; then
114561 ac_gcsections=no
114564 rm -f conftest.c conftest.o conftest
114566 if test "$ac_gcsections" = "yes"; then
114567 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
114569 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
114570 echo "${ECHO_T}$ac_gcsections" >&6
114572 if test "$ac_test_CFLAGS" = set; then
114573 CFLAGS="$ac_save_CFLAGS"
114575 # this is the suspicious part
114576 CFLAGS=''
114580 # Set -z,relro.
114581 # Note this is only for shared objects.
114582 ac_ld_relro=no
114583 if test x"$with_gnu_ld" = x"yes"; then
114584 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
114585 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
114586 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
114587 if test -n "$cxx_z_relo"; then
114588 OPT_LDFLAGS="-Wl,-z,relro"
114589 ac_ld_relro=yes
114591 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
114592 echo "${ECHO_T}$ac_ld_relro" >&6
114595 # Set linker optimization flags.
114596 if test x"$with_gnu_ld" = x"yes"; then
114597 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
114605 echo "$as_me:$LINENO: checking for main in -lm" >&5
114606 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
114607 if test "${ac_cv_lib_m_main+set}" = set; then
114608 echo $ECHO_N "(cached) $ECHO_C" >&6
114610 ac_check_lib_save_LIBS=$LIBS
114611 LIBS="-lm $LIBS"
114612 if test x$gcc_no_link = xyes; then
114613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114615 { (exit 1); exit 1; }; }
114617 cat >conftest.$ac_ext <<_ACEOF
114618 /* confdefs.h. */
114619 _ACEOF
114620 cat confdefs.h >>conftest.$ac_ext
114621 cat >>conftest.$ac_ext <<_ACEOF
114622 /* end confdefs.h. */
114626 main ()
114628 main ();
114630 return 0;
114632 _ACEOF
114633 rm -f conftest.$ac_objext conftest$ac_exeext
114634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114635 (eval $ac_link) 2>conftest.er1
114636 ac_status=$?
114637 grep -v '^ *+' conftest.er1 >conftest.err
114638 rm -f conftest.er1
114639 cat conftest.err >&5
114640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114641 (exit $ac_status); } &&
114642 { ac_try='test -z "$ac_c_werror_flag"
114643 || test ! -s conftest.err'
114644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114645 (eval $ac_try) 2>&5
114646 ac_status=$?
114647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114648 (exit $ac_status); }; } &&
114649 { ac_try='test -s conftest$ac_exeext'
114650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114651 (eval $ac_try) 2>&5
114652 ac_status=$?
114653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114654 (exit $ac_status); }; }; then
114655 ac_cv_lib_m_main=yes
114657 echo "$as_me: failed program was:" >&5
114658 sed 's/^/| /' conftest.$ac_ext >&5
114660 ac_cv_lib_m_main=no
114662 rm -f conftest.err conftest.$ac_objext \
114663 conftest$ac_exeext conftest.$ac_ext
114664 LIBS=$ac_check_lib_save_LIBS
114666 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
114667 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
114668 if test $ac_cv_lib_m_main = yes; then
114669 cat >>confdefs.h <<_ACEOF
114670 #define HAVE_LIBM 1
114671 _ACEOF
114673 LIBS="-lm $LIBS"
114678 for ac_func in copysignf
114680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114681 echo "$as_me:$LINENO: checking for $ac_func" >&5
114682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114683 if eval "test \"\${$as_ac_var+set}\" = set"; then
114684 echo $ECHO_N "(cached) $ECHO_C" >&6
114686 if test x$gcc_no_link = xyes; then
114687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114689 { (exit 1); exit 1; }; }
114691 cat >conftest.$ac_ext <<_ACEOF
114692 /* confdefs.h. */
114693 _ACEOF
114694 cat confdefs.h >>conftest.$ac_ext
114695 cat >>conftest.$ac_ext <<_ACEOF
114696 /* end confdefs.h. */
114697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114699 #define $ac_func innocuous_$ac_func
114701 /* System header to define __stub macros and hopefully few prototypes,
114702 which can conflict with char $ac_func (); below.
114703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114704 <limits.h> exists even on freestanding compilers. */
114706 #ifdef __STDC__
114707 # include <limits.h>
114708 #else
114709 # include <assert.h>
114710 #endif
114712 #undef $ac_func
114714 /* Override any gcc2 internal prototype to avoid an error. */
114715 #ifdef __cplusplus
114716 extern "C"
114718 #endif
114719 /* We use char because int might match the return type of a gcc2
114720 builtin and then its argument prototype would still apply. */
114721 char $ac_func ();
114722 /* The GNU C library defines this for functions which it implements
114723 to always fail with ENOSYS. Some functions are actually named
114724 something starting with __ and the normal name is an alias. */
114725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114726 choke me
114727 #else
114728 char (*f) () = $ac_func;
114729 #endif
114730 #ifdef __cplusplus
114732 #endif
114735 main ()
114737 return f != $ac_func;
114739 return 0;
114741 _ACEOF
114742 rm -f conftest.$ac_objext conftest$ac_exeext
114743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114744 (eval $ac_link) 2>conftest.er1
114745 ac_status=$?
114746 grep -v '^ *+' conftest.er1 >conftest.err
114747 rm -f conftest.er1
114748 cat conftest.err >&5
114749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114750 (exit $ac_status); } &&
114751 { ac_try='test -z "$ac_c_werror_flag"
114752 || test ! -s conftest.err'
114753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114754 (eval $ac_try) 2>&5
114755 ac_status=$?
114756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114757 (exit $ac_status); }; } &&
114758 { ac_try='test -s conftest$ac_exeext'
114759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114760 (eval $ac_try) 2>&5
114761 ac_status=$?
114762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114763 (exit $ac_status); }; }; then
114764 eval "$as_ac_var=yes"
114766 echo "$as_me: failed program was:" >&5
114767 sed 's/^/| /' conftest.$ac_ext >&5
114769 eval "$as_ac_var=no"
114771 rm -f conftest.err conftest.$ac_objext \
114772 conftest$ac_exeext conftest.$ac_ext
114774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114776 if test `eval echo '${'$as_ac_var'}'` = yes; then
114777 cat >>confdefs.h <<_ACEOF
114778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114779 _ACEOF
114782 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
114788 for ac_func in __signbit
114790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114791 echo "$as_me:$LINENO: checking for $ac_func" >&5
114792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114793 if eval "test \"\${$as_ac_var+set}\" = set"; then
114794 echo $ECHO_N "(cached) $ECHO_C" >&6
114796 if test x$gcc_no_link = xyes; then
114797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114799 { (exit 1); exit 1; }; }
114801 cat >conftest.$ac_ext <<_ACEOF
114802 /* confdefs.h. */
114803 _ACEOF
114804 cat confdefs.h >>conftest.$ac_ext
114805 cat >>conftest.$ac_ext <<_ACEOF
114806 /* end confdefs.h. */
114807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114809 #define $ac_func innocuous_$ac_func
114811 /* System header to define __stub macros and hopefully few prototypes,
114812 which can conflict with char $ac_func (); below.
114813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114814 <limits.h> exists even on freestanding compilers. */
114816 #ifdef __STDC__
114817 # include <limits.h>
114818 #else
114819 # include <assert.h>
114820 #endif
114822 #undef $ac_func
114824 /* Override any gcc2 internal prototype to avoid an error. */
114825 #ifdef __cplusplus
114826 extern "C"
114828 #endif
114829 /* We use char because int might match the return type of a gcc2
114830 builtin and then its argument prototype would still apply. */
114831 char $ac_func ();
114832 /* The GNU C library defines this for functions which it implements
114833 to always fail with ENOSYS. Some functions are actually named
114834 something starting with __ and the normal name is an alias. */
114835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114836 choke me
114837 #else
114838 char (*f) () = $ac_func;
114839 #endif
114840 #ifdef __cplusplus
114842 #endif
114845 main ()
114847 return f != $ac_func;
114849 return 0;
114851 _ACEOF
114852 rm -f conftest.$ac_objext conftest$ac_exeext
114853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114854 (eval $ac_link) 2>conftest.er1
114855 ac_status=$?
114856 grep -v '^ *+' conftest.er1 >conftest.err
114857 rm -f conftest.er1
114858 cat conftest.err >&5
114859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114860 (exit $ac_status); } &&
114861 { ac_try='test -z "$ac_c_werror_flag"
114862 || test ! -s conftest.err'
114863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114864 (eval $ac_try) 2>&5
114865 ac_status=$?
114866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114867 (exit $ac_status); }; } &&
114868 { ac_try='test -s conftest$ac_exeext'
114869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114870 (eval $ac_try) 2>&5
114871 ac_status=$?
114872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114873 (exit $ac_status); }; }; then
114874 eval "$as_ac_var=yes"
114876 echo "$as_me: failed program was:" >&5
114877 sed 's/^/| /' conftest.$ac_ext >&5
114879 eval "$as_ac_var=no"
114881 rm -f conftest.err conftest.$ac_objext \
114882 conftest$ac_exeext conftest.$ac_ext
114884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114886 if test `eval echo '${'$as_ac_var'}'` = yes; then
114887 cat >>confdefs.h <<_ACEOF
114888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114889 _ACEOF
114892 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
114898 for ac_func in __signbitf
114900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114901 echo "$as_me:$LINENO: checking for $ac_func" >&5
114902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114903 if eval "test \"\${$as_ac_var+set}\" = set"; then
114904 echo $ECHO_N "(cached) $ECHO_C" >&6
114906 if test x$gcc_no_link = xyes; then
114907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114909 { (exit 1); exit 1; }; }
114911 cat >conftest.$ac_ext <<_ACEOF
114912 /* confdefs.h. */
114913 _ACEOF
114914 cat confdefs.h >>conftest.$ac_ext
114915 cat >>conftest.$ac_ext <<_ACEOF
114916 /* end confdefs.h. */
114917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114919 #define $ac_func innocuous_$ac_func
114921 /* System header to define __stub macros and hopefully few prototypes,
114922 which can conflict with char $ac_func (); below.
114923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114924 <limits.h> exists even on freestanding compilers. */
114926 #ifdef __STDC__
114927 # include <limits.h>
114928 #else
114929 # include <assert.h>
114930 #endif
114932 #undef $ac_func
114934 /* Override any gcc2 internal prototype to avoid an error. */
114935 #ifdef __cplusplus
114936 extern "C"
114938 #endif
114939 /* We use char because int might match the return type of a gcc2
114940 builtin and then its argument prototype would still apply. */
114941 char $ac_func ();
114942 /* The GNU C library defines this for functions which it implements
114943 to always fail with ENOSYS. Some functions are actually named
114944 something starting with __ and the normal name is an alias. */
114945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114946 choke me
114947 #else
114948 char (*f) () = $ac_func;
114949 #endif
114950 #ifdef __cplusplus
114952 #endif
114955 main ()
114957 return f != $ac_func;
114959 return 0;
114961 _ACEOF
114962 rm -f conftest.$ac_objext conftest$ac_exeext
114963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114964 (eval $ac_link) 2>conftest.er1
114965 ac_status=$?
114966 grep -v '^ *+' conftest.er1 >conftest.err
114967 rm -f conftest.er1
114968 cat conftest.err >&5
114969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114970 (exit $ac_status); } &&
114971 { ac_try='test -z "$ac_c_werror_flag"
114972 || test ! -s conftest.err'
114973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114974 (eval $ac_try) 2>&5
114975 ac_status=$?
114976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114977 (exit $ac_status); }; } &&
114978 { ac_try='test -s conftest$ac_exeext'
114979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114980 (eval $ac_try) 2>&5
114981 ac_status=$?
114982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114983 (exit $ac_status); }; }; then
114984 eval "$as_ac_var=yes"
114986 echo "$as_me: failed program was:" >&5
114987 sed 's/^/| /' conftest.$ac_ext >&5
114989 eval "$as_ac_var=no"
114991 rm -f conftest.err conftest.$ac_objext \
114992 conftest$ac_exeext conftest.$ac_ext
114994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114996 if test `eval echo '${'$as_ac_var'}'` = yes; then
114997 cat >>confdefs.h <<_ACEOF
114998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114999 _ACEOF
115002 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
115007 if test x$ac_cv_func_copysignl = x"yes"; then
115009 for ac_func in __signbitl
115011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115012 echo "$as_me:$LINENO: checking for $ac_func" >&5
115013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115014 if eval "test \"\${$as_ac_var+set}\" = set"; then
115015 echo $ECHO_N "(cached) $ECHO_C" >&6
115017 if test x$gcc_no_link = xyes; then
115018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115020 { (exit 1); exit 1; }; }
115022 cat >conftest.$ac_ext <<_ACEOF
115023 /* confdefs.h. */
115024 _ACEOF
115025 cat confdefs.h >>conftest.$ac_ext
115026 cat >>conftest.$ac_ext <<_ACEOF
115027 /* end confdefs.h. */
115028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115030 #define $ac_func innocuous_$ac_func
115032 /* System header to define __stub macros and hopefully few prototypes,
115033 which can conflict with char $ac_func (); below.
115034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115035 <limits.h> exists even on freestanding compilers. */
115037 #ifdef __STDC__
115038 # include <limits.h>
115039 #else
115040 # include <assert.h>
115041 #endif
115043 #undef $ac_func
115045 /* Override any gcc2 internal prototype to avoid an error. */
115046 #ifdef __cplusplus
115047 extern "C"
115049 #endif
115050 /* We use char because int might match the return type of a gcc2
115051 builtin and then its argument prototype would still apply. */
115052 char $ac_func ();
115053 /* The GNU C library defines this for functions which it implements
115054 to always fail with ENOSYS. Some functions are actually named
115055 something starting with __ and the normal name is an alias. */
115056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115057 choke me
115058 #else
115059 char (*f) () = $ac_func;
115060 #endif
115061 #ifdef __cplusplus
115063 #endif
115066 main ()
115068 return f != $ac_func;
115070 return 0;
115072 _ACEOF
115073 rm -f conftest.$ac_objext conftest$ac_exeext
115074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115075 (eval $ac_link) 2>conftest.er1
115076 ac_status=$?
115077 grep -v '^ *+' conftest.er1 >conftest.err
115078 rm -f conftest.er1
115079 cat conftest.err >&5
115080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115081 (exit $ac_status); } &&
115082 { ac_try='test -z "$ac_c_werror_flag"
115083 || test ! -s conftest.err'
115084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115085 (eval $ac_try) 2>&5
115086 ac_status=$?
115087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115088 (exit $ac_status); }; } &&
115089 { ac_try='test -s conftest$ac_exeext'
115090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115091 (eval $ac_try) 2>&5
115092 ac_status=$?
115093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115094 (exit $ac_status); }; }; then
115095 eval "$as_ac_var=yes"
115097 echo "$as_me: failed program was:" >&5
115098 sed 's/^/| /' conftest.$ac_ext >&5
115100 eval "$as_ac_var=no"
115102 rm -f conftest.err conftest.$ac_objext \
115103 conftest$ac_exeext conftest.$ac_ext
115105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115107 if test `eval echo '${'$as_ac_var'}'` = yes; then
115108 cat >>confdefs.h <<_ACEOF
115109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115110 _ACEOF
115113 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
115119 # Used in libmath/Makefile.am.
115120 if test -n "$LIBMATHOBJS"; then
115121 need_libmath=yes
115125 cat >>confdefs.h <<\_ACEOF
115126 #define HAVE_COPYSIGN 1
115127 _ACEOF
115129 cat >>confdefs.h <<\_ACEOF
115130 #define HAVE_COPYSIGNF 1
115131 _ACEOF
115133 cat >>confdefs.h <<\_ACEOF
115134 #define HAVE_FINITE 1
115135 _ACEOF
115137 cat >>confdefs.h <<\_ACEOF
115138 #define HAVE_FINITEF 1
115139 _ACEOF
115141 cat >>confdefs.h <<\_ACEOF
115142 #define HAVE_FREXPF 1
115143 _ACEOF
115145 cat >>confdefs.h <<\_ACEOF
115146 #define HAVE_HYPOTF 1
115147 _ACEOF
115149 cat >>confdefs.h <<\_ACEOF
115150 #define HAVE_ISINF 1
115151 _ACEOF
115153 cat >>confdefs.h <<\_ACEOF
115154 #define HAVE_ISINFF 1
115155 _ACEOF
115157 cat >>confdefs.h <<\_ACEOF
115158 #define HAVE_ISNAN 1
115159 _ACEOF
115161 cat >>confdefs.h <<\_ACEOF
115162 #define HAVE_ISNANF 1
115163 _ACEOF
115165 cat >>confdefs.h <<\_ACEOF
115166 #define HAVE_SINCOS 1
115167 _ACEOF
115169 cat >>confdefs.h <<\_ACEOF
115170 #define HAVE_SINCOSF 1
115171 _ACEOF
115173 if test x"long_double_math_on_this_cpu" = x"yes"; then
115174 cat >>confdefs.h <<\_ACEOF
115175 #define HAVE_FINITEL 1
115176 _ACEOF
115178 cat >>confdefs.h <<\_ACEOF
115179 #define HAVE_HYPOTL 1
115180 _ACEOF
115182 cat >>confdefs.h <<\_ACEOF
115183 #define HAVE_ISINFL 1
115184 _ACEOF
115186 cat >>confdefs.h <<\_ACEOF
115187 #define HAVE_ISNANL 1
115188 _ACEOF
115192 *-vxworks)
115193 cat >>confdefs.h <<\_ACEOF
115194 #define HAVE_MMAP 1
115195 _ACEOF
115197 cat >>confdefs.h <<\_ACEOF
115198 #define HAVE_ACOSF 1
115199 _ACEOF
115201 cat >>confdefs.h <<\_ACEOF
115202 #define HAVE_ASINF 1
115203 _ACEOF
115205 cat >>confdefs.h <<\_ACEOF
115206 #define HAVE_ATAN2F 1
115207 _ACEOF
115209 cat >>confdefs.h <<\_ACEOF
115210 #define HAVE_ATANF 1
115211 _ACEOF
115213 cat >>confdefs.h <<\_ACEOF
115214 #define HAVE_CEILF 1
115215 _ACEOF
115217 cat >>confdefs.h <<\_ACEOF
115218 #define HAVE_COSF 1
115219 _ACEOF
115221 cat >>confdefs.h <<\_ACEOF
115222 #define HAVE_COSHF 1
115223 _ACEOF
115225 cat >>confdefs.h <<\_ACEOF
115226 #define HAVE_EXPF 1
115227 _ACEOF
115229 cat >>confdefs.h <<\_ACEOF
115230 #define HAVE_FABSF 1
115231 _ACEOF
115233 cat >>confdefs.h <<\_ACEOF
115234 #define HAVE_FLOORF 1
115235 _ACEOF
115237 cat >>confdefs.h <<\_ACEOF
115238 #define HAVE_FMODF 1
115239 _ACEOF
115241 cat >>confdefs.h <<\_ACEOF
115242 #define HAVE_HYPOT 1
115243 _ACEOF
115245 cat >>confdefs.h <<\_ACEOF
115246 #define HAVE_LOG10F 1
115247 _ACEOF
115249 cat >>confdefs.h <<\_ACEOF
115250 #define HAVE_LOGF 1
115251 _ACEOF
115253 cat >>confdefs.h <<\_ACEOF
115254 #define HAVE_POWF 1
115255 _ACEOF
115257 cat >>confdefs.h <<\_ACEOF
115258 #define HAVE_SINF 1
115259 _ACEOF
115261 cat >>confdefs.h <<\_ACEOF
115262 #define HAVE_SINHF 1
115263 _ACEOF
115265 cat >>confdefs.h <<\_ACEOF
115266 #define HAVE_SQRTF 1
115267 _ACEOF
115269 cat >>confdefs.h <<\_ACEOF
115270 #define HAVE_TANF 1
115271 _ACEOF
115273 cat >>confdefs.h <<\_ACEOF
115274 #define HAVE_TANHF 1
115275 _ACEOF
115278 *-windiss*)
115279 cat >>confdefs.h <<\_ACEOF
115280 #define HAVE_ACOSF 1
115281 _ACEOF
115283 cat >>confdefs.h <<\_ACEOF
115284 #define HAVE_ACOSL 1
115285 _ACEOF
115287 cat >>confdefs.h <<\_ACEOF
115288 #define HAVE_ASINF 1
115289 _ACEOF
115291 cat >>confdefs.h <<\_ACEOF
115292 #define HAVE_ASINL 1
115293 _ACEOF
115295 cat >>confdefs.h <<\_ACEOF
115296 #define HAVE_ATAN2F 1
115297 _ACEOF
115299 cat >>confdefs.h <<\_ACEOF
115300 #define HAVE_ATAN2L 1
115301 _ACEOF
115303 cat >>confdefs.h <<\_ACEOF
115304 #define HAVE_ATANF 1
115305 _ACEOF
115307 cat >>confdefs.h <<\_ACEOF
115308 #define HAVE_ATANL 1
115309 _ACEOF
115311 cat >>confdefs.h <<\_ACEOF
115312 #define HAVE_CEILF 1
115313 _ACEOF
115315 cat >>confdefs.h <<\_ACEOF
115316 #define HAVE_CEILL 1
115317 _ACEOF
115319 cat >>confdefs.h <<\_ACEOF
115320 #define HAVE_COPYSIGN 1
115321 _ACEOF
115323 cat >>confdefs.h <<\_ACEOF
115324 #define HAVE_COPYSIGNF 1
115325 _ACEOF
115327 cat >>confdefs.h <<\_ACEOF
115328 #define HAVE_COSF 1
115329 _ACEOF
115331 cat >>confdefs.h <<\_ACEOF
115332 #define HAVE_COSL 1
115333 _ACEOF
115335 cat >>confdefs.h <<\_ACEOF
115336 #define HAVE_COSHF 1
115337 _ACEOF
115339 cat >>confdefs.h <<\_ACEOF
115340 #define HAVE_COSHL 1
115341 _ACEOF
115343 cat >>confdefs.h <<\_ACEOF
115344 #define HAVE_EXPF 1
115345 _ACEOF
115347 cat >>confdefs.h <<\_ACEOF
115348 #define HAVE_EXPL 1
115349 _ACEOF
115351 cat >>confdefs.h <<\_ACEOF
115352 #define HAVE_FABSF 1
115353 _ACEOF
115355 cat >>confdefs.h <<\_ACEOF
115356 #define HAVE_FABSL 1
115357 _ACEOF
115359 cat >>confdefs.h <<\_ACEOF
115360 #define HAVE_FLOORF 1
115361 _ACEOF
115363 cat >>confdefs.h <<\_ACEOF
115364 #define HAVE_FLOORL 1
115365 _ACEOF
115367 cat >>confdefs.h <<\_ACEOF
115368 #define HAVE_FMODF 1
115369 _ACEOF
115371 cat >>confdefs.h <<\_ACEOF
115372 #define HAVE_FMODL 1
115373 _ACEOF
115375 cat >>confdefs.h <<\_ACEOF
115376 #define HAVE_FREXPF 1
115377 _ACEOF
115379 cat >>confdefs.h <<\_ACEOF
115380 #define HAVE_FREXPL 1
115381 _ACEOF
115383 cat >>confdefs.h <<\_ACEOF
115384 #define HAVE_LDEXPF 1
115385 _ACEOF
115387 cat >>confdefs.h <<\_ACEOF
115388 #define HAVE_LDEXPL 1
115389 _ACEOF
115391 cat >>confdefs.h <<\_ACEOF
115392 #define HAVE_LOG10F 1
115393 _ACEOF
115395 cat >>confdefs.h <<\_ACEOF
115396 #define HAVE_LOG10L 1
115397 _ACEOF
115399 cat >>confdefs.h <<\_ACEOF
115400 #define HAVE_LOGF 1
115401 _ACEOF
115403 cat >>confdefs.h <<\_ACEOF
115404 #define HAVE_MODFF 1
115405 _ACEOF
115407 cat >>confdefs.h <<\_ACEOF
115408 #define HAVE_MODFL 1
115409 _ACEOF
115411 cat >>confdefs.h <<\_ACEOF
115412 #define HAVE_POWF 1
115413 _ACEOF
115415 cat >>confdefs.h <<\_ACEOF
115416 #define HAVE_POWL 1
115417 _ACEOF
115419 cat >>confdefs.h <<\_ACEOF
115420 #define HAVE_SINF 1
115421 _ACEOF
115423 cat >>confdefs.h <<\_ACEOF
115424 #define HAVE_SINL 1
115425 _ACEOF
115427 cat >>confdefs.h <<\_ACEOF
115428 #define HAVE_SINHF 1
115429 _ACEOF
115431 cat >>confdefs.h <<\_ACEOF
115432 #define HAVE_SINHL 1
115433 _ACEOF
115435 cat >>confdefs.h <<\_ACEOF
115436 #define HAVE_SQRTF 1
115437 _ACEOF
115439 cat >>confdefs.h <<\_ACEOF
115440 #define HAVE_SQRTL 1
115441 _ACEOF
115443 cat >>confdefs.h <<\_ACEOF
115444 #define HAVE_TANF 1
115445 _ACEOF
115447 cat >>confdefs.h <<\_ACEOF
115448 #define HAVE_TANL 1
115449 _ACEOF
115451 cat >>confdefs.h <<\_ACEOF
115452 #define HAVE_TANHF 1
115453 _ACEOF
115455 cat >>confdefs.h <<\_ACEOF
115456 #define HAVE_TANHL 1
115457 _ACEOF
115461 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
115462 echo "$as_me: error: No support for this host/target combination." >&2;}
115463 { (exit 1); exit 1; }; }
115469 # At some point, we should differentiate between architectures
115470 # like x86, which have long double versions, and alpha/powerpc/etc.,
115471 # which don't. For the time being, punt.
115472 if test x"long_double_math_on_this_cpu" = x"yes"; then
115473 cat >>confdefs.h <<\_ACEOF
115474 #define HAVE_ACOSL 1
115475 _ACEOF
115477 cat >>confdefs.h <<\_ACEOF
115478 #define HAVE_ASINL 1
115479 _ACEOF
115481 cat >>confdefs.h <<\_ACEOF
115482 #define HAVE_ATAN2L 1
115483 _ACEOF
115485 cat >>confdefs.h <<\_ACEOF
115486 #define HAVE_ATANL 1
115487 _ACEOF
115489 cat >>confdefs.h <<\_ACEOF
115490 #define HAVE_CEILL 1
115491 _ACEOF
115493 cat >>confdefs.h <<\_ACEOF
115494 #define HAVE_COPYSIGNL 1
115495 _ACEOF
115497 cat >>confdefs.h <<\_ACEOF
115498 #define HAVE_COSL 1
115499 _ACEOF
115501 cat >>confdefs.h <<\_ACEOF
115502 #define HAVE_COSHL 1
115503 _ACEOF
115505 cat >>confdefs.h <<\_ACEOF
115506 #define HAVE_EXPL 1
115507 _ACEOF
115509 cat >>confdefs.h <<\_ACEOF
115510 #define HAVE_FABSL 1
115511 _ACEOF
115513 cat >>confdefs.h <<\_ACEOF
115514 #define HAVE_FLOORL 1
115515 _ACEOF
115517 cat >>confdefs.h <<\_ACEOF
115518 #define HAVE_FMODL 1
115519 _ACEOF
115521 cat >>confdefs.h <<\_ACEOF
115522 #define HAVE_FREXPL 1
115523 _ACEOF
115525 cat >>confdefs.h <<\_ACEOF
115526 #define HAVE_LDEXPL 1
115527 _ACEOF
115529 cat >>confdefs.h <<\_ACEOF
115530 #define HAVE_LOG10L 1
115531 _ACEOF
115533 cat >>confdefs.h <<\_ACEOF
115534 #define HAVE_LOGL 1
115535 _ACEOF
115537 cat >>confdefs.h <<\_ACEOF
115538 #define HAVE_MODFL 1
115539 _ACEOF
115541 cat >>confdefs.h <<\_ACEOF
115542 #define HAVE_POWL 1
115543 _ACEOF
115545 cat >>confdefs.h <<\_ACEOF
115546 #define HAVE_SINCOSL 1
115547 _ACEOF
115549 cat >>confdefs.h <<\_ACEOF
115550 #define HAVE_SINL 1
115551 _ACEOF
115553 cat >>confdefs.h <<\_ACEOF
115554 #define HAVE_SINHL 1
115555 _ACEOF
115557 cat >>confdefs.h <<\_ACEOF
115558 #define HAVE_SQRTL 1
115559 _ACEOF
115561 cat >>confdefs.h <<\_ACEOF
115562 #define HAVE_TANL 1
115563 _ACEOF
115565 cat >>confdefs.h <<\_ACEOF
115566 #define HAVE_TANHL 1
115567 _ACEOF
115571 # Assume we have _Unwind_GetIPInfo for cross-compiles.
115572 cat >>confdefs.h <<\_ACEOF
115573 #define HAVE_GETIPINFO 1
115574 _ACEOF
115578 # Check whether --enable-linux-futex or --disable-linux-futex was given.
115579 if test "${enable_linux_futex+set}" = set; then
115580 enableval="$enable_linux_futex"
115582 case "$enableval" in
115583 yes|no|default) ;;
115584 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
115585 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
115586 { (exit 1); exit 1; }; } ;;
115590 enable_linux_futex=default
115593 case "$target" in
115594 *-linux*)
115595 case "$enable_linux_futex" in
115596 default)
115597 # If headers don't have gettid/futex syscalls definition, then
115598 # default to no, otherwise there will be compile time failures.
115599 # Otherwise, default to yes. If we don't detect we are
115600 # compiled/linked against NPTL and not cross-compiling, check
115601 # if programs are run by default against NPTL and if not, issue
115602 # a warning.
115603 enable_linux_futex=no
115604 if test x$gcc_no_link = xyes; then
115605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115607 { (exit 1); exit 1; }; }
115609 cat >conftest.$ac_ext <<_ACEOF
115610 /* confdefs.h. */
115611 _ACEOF
115612 cat confdefs.h >>conftest.$ac_ext
115613 cat >>conftest.$ac_ext <<_ACEOF
115614 /* end confdefs.h. */
115615 #include <sys/syscall.h>
115616 int lk;
115618 main ()
115620 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
115622 return 0;
115624 _ACEOF
115625 rm -f conftest.$ac_objext conftest$ac_exeext
115626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115627 (eval $ac_link) 2>conftest.er1
115628 ac_status=$?
115629 grep -v '^ *+' conftest.er1 >conftest.err
115630 rm -f conftest.er1
115631 cat conftest.err >&5
115632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115633 (exit $ac_status); } &&
115634 { ac_try='test -z "$ac_c_werror_flag"
115635 || test ! -s conftest.err'
115636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115637 (eval $ac_try) 2>&5
115638 ac_status=$?
115639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115640 (exit $ac_status); }; } &&
115641 { ac_try='test -s conftest$ac_exeext'
115642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115643 (eval $ac_try) 2>&5
115644 ac_status=$?
115645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115646 (exit $ac_status); }; }; then
115647 save_LIBS="$LIBS"
115648 LIBS="-lpthread $LIBS"
115649 if test x$gcc_no_link = xyes; then
115650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115652 { (exit 1); exit 1; }; }
115654 cat >conftest.$ac_ext <<_ACEOF
115655 /* confdefs.h. */
115656 _ACEOF
115657 cat confdefs.h >>conftest.$ac_ext
115658 cat >>conftest.$ac_ext <<_ACEOF
115659 /* end confdefs.h. */
115660 #ifndef _GNU_SOURCE
115661 #define _GNU_SOURCE 1
115662 #endif
115663 #include <pthread.h>
115664 pthread_t th; void *status;
115666 main ()
115668 pthread_tryjoin_np (th, &status);
115670 return 0;
115672 _ACEOF
115673 rm -f conftest.$ac_objext conftest$ac_exeext
115674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115675 (eval $ac_link) 2>conftest.er1
115676 ac_status=$?
115677 grep -v '^ *+' conftest.er1 >conftest.err
115678 rm -f conftest.er1
115679 cat conftest.err >&5
115680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115681 (exit $ac_status); } &&
115682 { ac_try='test -z "$ac_c_werror_flag"
115683 || test ! -s conftest.err'
115684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115685 (eval $ac_try) 2>&5
115686 ac_status=$?
115687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115688 (exit $ac_status); }; } &&
115689 { ac_try='test -s conftest$ac_exeext'
115690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115691 (eval $ac_try) 2>&5
115692 ac_status=$?
115693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115694 (exit $ac_status); }; }; then
115695 enable_linux_futex=yes
115697 echo "$as_me: failed program was:" >&5
115698 sed 's/^/| /' conftest.$ac_ext >&5
115700 if test x$cross_compiling = xno; then
115701 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
115702 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
115703 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
115704 If so, please configure with --disable-linux-futex" >&5
115705 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
115706 If so, please configure with --disable-linux-futex" >&2;}
115709 enable_linux_futex=yes
115711 rm -f conftest.err conftest.$ac_objext \
115712 conftest$ac_exeext conftest.$ac_ext
115713 LIBS="$save_LIBS"
115715 echo "$as_me: failed program was:" >&5
115716 sed 's/^/| /' conftest.$ac_ext >&5
115719 rm -f conftest.err conftest.$ac_objext \
115720 conftest$ac_exeext conftest.$ac_ext
115723 if test x$gcc_no_link = xyes; then
115724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115726 { (exit 1); exit 1; }; }
115728 cat >conftest.$ac_ext <<_ACEOF
115729 /* confdefs.h. */
115730 _ACEOF
115731 cat confdefs.h >>conftest.$ac_ext
115732 cat >>conftest.$ac_ext <<_ACEOF
115733 /* end confdefs.h. */
115734 #include <sys/syscall.h>
115735 int lk;
115737 main ()
115739 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
115741 return 0;
115743 _ACEOF
115744 rm -f conftest.$ac_objext conftest$ac_exeext
115745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115746 (eval $ac_link) 2>conftest.er1
115747 ac_status=$?
115748 grep -v '^ *+' conftest.er1 >conftest.err
115749 rm -f conftest.er1
115750 cat conftest.err >&5
115751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115752 (exit $ac_status); } &&
115753 { ac_try='test -z "$ac_c_werror_flag"
115754 || test ! -s conftest.err'
115755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115756 (eval $ac_try) 2>&5
115757 ac_status=$?
115758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115759 (exit $ac_status); }; } &&
115760 { ac_try='test -s conftest$ac_exeext'
115761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115762 (eval $ac_try) 2>&5
115763 ac_status=$?
115764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115765 (exit $ac_status); }; }; then
115768 echo "$as_me: failed program was:" >&5
115769 sed 's/^/| /' conftest.$ac_ext >&5
115771 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
115772 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
115773 { (exit 1); exit 1; }; }
115775 rm -f conftest.err conftest.$ac_objext \
115776 conftest$ac_exeext conftest.$ac_ext
115781 enable_linux_futex=no
115784 if test x$enable_linux_futex = xyes; then
115786 cat >>confdefs.h <<\_ACEOF
115787 #define HAVE_LINUX_FUTEX 1
115788 _ACEOF
115793 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
115796 # Check whether --enable-symvers or --disable-symvers was given.
115797 if test "${enable_symvers+set}" = set; then
115798 enableval="$enable_symvers"
115800 case "$enableval" in
115801 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
115802 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
115803 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
115804 { (exit 1); exit 1; }; } ;;
115808 enable_symvers=yes
115812 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
115813 # don't know enough about $LD to do tricks...
115816 # Turn a 'yes' into a suitable default.
115817 if test x$enable_symvers = xyes ; then
115818 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
115819 enable_symvers=no
115821 if test $with_gnu_ld = yes ; then
115822 enable_symvers=gnu
115824 case ${target_os} in
115825 darwin*)
115826 enable_symvers=darwin ;;
115828 enable_symvers=no ;;
115834 # Check to see if 'darwin' or 'darwin-export' can win.
115835 if test x$enable_symvers = xdarwin-export ; then
115836 enable_symvers=darwin
115839 # Check to see if 'gnu' can win.
115840 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
115841 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
115842 echo "$as_me:$LINENO: checking for shared libgcc" >&5
115843 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
115844 ac_save_CFLAGS="$CFLAGS"
115845 CFLAGS=' -lgcc_s'
115846 if test x$gcc_no_link = xyes; then
115847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115849 { (exit 1); exit 1; }; }
115851 cat >conftest.$ac_ext <<_ACEOF
115852 /* confdefs.h. */
115853 _ACEOF
115854 cat confdefs.h >>conftest.$ac_ext
115855 cat >>conftest.$ac_ext <<_ACEOF
115856 /* end confdefs.h. */
115859 main ()
115861 return 0;
115863 return 0;
115865 _ACEOF
115866 rm -f conftest.$ac_objext conftest$ac_exeext
115867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115868 (eval $ac_link) 2>conftest.er1
115869 ac_status=$?
115870 grep -v '^ *+' conftest.er1 >conftest.err
115871 rm -f conftest.er1
115872 cat conftest.err >&5
115873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115874 (exit $ac_status); } &&
115875 { ac_try='test -z "$ac_c_werror_flag"
115876 || test ! -s conftest.err'
115877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115878 (eval $ac_try) 2>&5
115879 ac_status=$?
115880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115881 (exit $ac_status); }; } &&
115882 { ac_try='test -s conftest$ac_exeext'
115883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115884 (eval $ac_try) 2>&5
115885 ac_status=$?
115886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115887 (exit $ac_status); }; }; then
115888 glibcxx_shared_libgcc=yes
115890 echo "$as_me: failed program was:" >&5
115891 sed 's/^/| /' conftest.$ac_ext >&5
115893 glibcxx_shared_libgcc=no
115895 rm -f conftest.err conftest.$ac_objext \
115896 conftest$ac_exeext conftest.$ac_ext
115897 CFLAGS="$ac_save_CFLAGS"
115898 if test $glibcxx_shared_libgcc = no; then
115899 cat > conftest.c <<EOF
115900 int main (void) { return 0; }
115902 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
115903 -shared -shared-libgcc -o conftest.so \
115904 conftest.c -v 2>&1 >/dev/null \
115905 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
115906 rm -f conftest.c conftest.so
115907 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
115908 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
115909 if test x$gcc_no_link = xyes; then
115910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115912 { (exit 1); exit 1; }; }
115914 cat >conftest.$ac_ext <<_ACEOF
115915 /* confdefs.h. */
115916 _ACEOF
115917 cat confdefs.h >>conftest.$ac_ext
115918 cat >>conftest.$ac_ext <<_ACEOF
115919 /* end confdefs.h. */
115922 main ()
115924 return 0;
115926 return 0;
115928 _ACEOF
115929 rm -f conftest.$ac_objext conftest$ac_exeext
115930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115931 (eval $ac_link) 2>conftest.er1
115932 ac_status=$?
115933 grep -v '^ *+' conftest.er1 >conftest.err
115934 rm -f conftest.er1
115935 cat conftest.err >&5
115936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115937 (exit $ac_status); } &&
115938 { ac_try='test -z "$ac_c_werror_flag"
115939 || test ! -s conftest.err'
115940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115941 (eval $ac_try) 2>&5
115942 ac_status=$?
115943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115944 (exit $ac_status); }; } &&
115945 { ac_try='test -s conftest$ac_exeext'
115946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115947 (eval $ac_try) 2>&5
115948 ac_status=$?
115949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115950 (exit $ac_status); }; }; then
115951 glibcxx_shared_libgcc=yes
115953 echo "$as_me: failed program was:" >&5
115954 sed 's/^/| /' conftest.$ac_ext >&5
115957 rm -f conftest.err conftest.$ac_objext \
115958 conftest$ac_exeext conftest.$ac_ext
115959 CFLAGS="$ac_save_CFLAGS"
115962 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
115963 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
115965 # For GNU ld, we need at least this version. The format is described in
115966 # GLIBCXX_CHECK_LINKER_FEATURES above.
115967 glibcxx_min_gnu_ld_version=21400
115969 # If no shared libgcc, can't win.
115970 if test $glibcxx_shared_libgcc != yes; then
115971 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
115972 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
115973 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
115974 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
115975 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
115976 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
115977 enable_symvers=no
115978 elif test $with_gnu_ld != yes ; then
115979 # just fail for now
115980 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
115981 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
115982 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
115983 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
115984 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
115985 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
115986 enable_symvers=no
115987 elif test $glibcxx_ld_is_gold = yes ; then
115988 : All versions of gold support symbol versioning.
115989 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
115990 # The right tools, the right setup, but too old. Fallbacks?
115991 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
115992 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
115993 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
115994 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
115995 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
115996 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
115997 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
115998 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
115999 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
116000 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
116001 enable_symvers=no
116005 # Everything parsed; figure out what file to use.
116006 case $enable_symvers in
116008 SYMVER_FILE=config/abi/pre/none.ver
116011 SYMVER_FILE=config/abi/pre/gnu.ver
116013 cat >>confdefs.h <<\_ACEOF
116014 #define _GLIBCXX_SYMVER_GNU 1
116015 _ACEOF
116018 gnu-versioned-namespace)
116019 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
116021 cat >>confdefs.h <<\_ACEOF
116022 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
116023 _ACEOF
116026 darwin)
116027 SYMVER_FILE=config/abi/pre/gnu.ver
116029 cat >>confdefs.h <<\_ACEOF
116030 #define _GLIBCXX_SYMVER_DARWIN 1
116031 _ACEOF
116036 if test x$enable_symvers != xno ; then
116038 cat >>confdefs.h <<\_ACEOF
116039 #define _GLIBCXX_SYMVER 1
116040 _ACEOF
116050 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
116051 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
116053 # Now, set up compatibility support, if any.
116054 # In addition, need this to deal with std::size_t mangling in
116055 # src/compatibility.cc. In a perfect world, could use
116056 # typeid(std::size_t).name()[0] to do direct substitution.
116057 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
116058 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
116059 ac_save_CFLAGS="$CFLAGS"
116060 CFLAGS="-Werror"
116061 cat >conftest.$ac_ext <<_ACEOF
116062 /* confdefs.h. */
116063 _ACEOF
116064 cat confdefs.h >>conftest.$ac_ext
116065 cat >>conftest.$ac_ext <<_ACEOF
116066 /* end confdefs.h. */
116069 main ()
116071 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
116073 return 0;
116075 _ACEOF
116076 rm -f conftest.$ac_objext
116077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116078 (eval $ac_compile) 2>conftest.er1
116079 ac_status=$?
116080 grep -v '^ *+' conftest.er1 >conftest.err
116081 rm -f conftest.er1
116082 cat conftest.err >&5
116083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116084 (exit $ac_status); } &&
116085 { ac_try='test -z "$ac_c_werror_flag"
116086 || test ! -s conftest.err'
116087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116088 (eval $ac_try) 2>&5
116089 ac_status=$?
116090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116091 (exit $ac_status); }; } &&
116092 { ac_try='test -s conftest.$ac_objext'
116093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116094 (eval $ac_try) 2>&5
116095 ac_status=$?
116096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116097 (exit $ac_status); }; }; then
116098 glibcxx_size_t_is_i=yes
116100 echo "$as_me: failed program was:" >&5
116101 sed 's/^/| /' conftest.$ac_ext >&5
116103 glibcxx_size_t_is_i=no
116105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116106 CFLAGS=$ac_save_CFLAGS
116107 if test "$glibcxx_size_t_is_i" = yes; then
116109 cat >>confdefs.h <<\_ACEOF
116110 #define _GLIBCXX_SIZE_T_IS_UINT 1
116111 _ACEOF
116114 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
116115 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
116117 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
116118 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
116119 ac_save_CFLAGS="$CFLAGS"
116120 CFLAGS="-Werror"
116121 cat >conftest.$ac_ext <<_ACEOF
116122 /* confdefs.h. */
116123 _ACEOF
116124 cat confdefs.h >>conftest.$ac_ext
116125 cat >>conftest.$ac_ext <<_ACEOF
116126 /* end confdefs.h. */
116129 main ()
116131 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
116133 return 0;
116135 _ACEOF
116136 rm -f conftest.$ac_objext
116137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116138 (eval $ac_compile) 2>conftest.er1
116139 ac_status=$?
116140 grep -v '^ *+' conftest.er1 >conftest.err
116141 rm -f conftest.er1
116142 cat conftest.err >&5
116143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116144 (exit $ac_status); } &&
116145 { ac_try='test -z "$ac_c_werror_flag"
116146 || test ! -s conftest.err'
116147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116148 (eval $ac_try) 2>&5
116149 ac_status=$?
116150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116151 (exit $ac_status); }; } &&
116152 { ac_try='test -s conftest.$ac_objext'
116153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116154 (eval $ac_try) 2>&5
116155 ac_status=$?
116156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116157 (exit $ac_status); }; }; then
116158 glibcxx_ptrdiff_t_is_i=yes
116160 echo "$as_me: failed program was:" >&5
116161 sed 's/^/| /' conftest.$ac_ext >&5
116163 glibcxx_ptrdiff_t_is_i=no
116165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116166 CFLAGS=$ac_save_CFLAGS
116167 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
116169 cat >>confdefs.h <<\_ACEOF
116170 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
116171 _ACEOF
116174 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
116175 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
116178 # Check whether --enable-visibility or --disable-visibility was given.
116179 if test "${enable_visibility+set}" = set; then
116180 enableval="$enable_visibility"
116182 case "$enableval" in
116183 yes|no) ;;
116184 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
116185 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
116186 { (exit 1); exit 1; }; } ;;
116190 enable_visibility=yes
116194 if test x$enable_visibility = xyes ; then
116195 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
116196 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
116197 if test "${have_attribute_visibility+set}" = set; then
116198 echo $ECHO_N "(cached) $ECHO_C" >&6
116201 save_CFLAGS="$CFLAGS"
116202 CFLAGS="$CFLAGS -Werror"
116203 cat >conftest.$ac_ext <<_ACEOF
116204 /* confdefs.h. */
116205 _ACEOF
116206 cat confdefs.h >>conftest.$ac_ext
116207 cat >>conftest.$ac_ext <<_ACEOF
116208 /* end confdefs.h. */
116209 void __attribute__((visibility("hidden"))) foo(void) { }
116211 main ()
116215 return 0;
116217 _ACEOF
116218 rm -f conftest.$ac_objext
116219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116220 (eval $ac_compile) 2>conftest.er1
116221 ac_status=$?
116222 grep -v '^ *+' conftest.er1 >conftest.err
116223 rm -f conftest.er1
116224 cat conftest.err >&5
116225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116226 (exit $ac_status); } &&
116227 { ac_try='test -z "$ac_c_werror_flag"
116228 || test ! -s conftest.err'
116229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116230 (eval $ac_try) 2>&5
116231 ac_status=$?
116232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116233 (exit $ac_status); }; } &&
116234 { ac_try='test -s conftest.$ac_objext'
116235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116236 (eval $ac_try) 2>&5
116237 ac_status=$?
116238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116239 (exit $ac_status); }; }; then
116240 have_attribute_visibility=yes
116242 echo "$as_me: failed program was:" >&5
116243 sed 's/^/| /' conftest.$ac_ext >&5
116245 have_attribute_visibility=no
116247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116248 CFLAGS="$save_CFLAGS"
116250 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
116251 echo "${ECHO_T}$have_attribute_visibility" >&6
116252 if test $have_attribute_visibility = no; then
116253 enable_visibility=no
116258 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
116259 echo "$as_me: visibility supported: $enable_visibility" >&6;}
116262 ac_ldbl_compat=no
116263 case "$target" in
116264 powerpc*-*-linux* | \
116265 powerpc*-*-gnu* | \
116266 sparc*-*-linux* | \
116267 s390*-*-linux* | \
116268 alpha*-*-linux*)
116269 cat >conftest.$ac_ext <<_ACEOF
116270 /* confdefs.h. */
116271 _ACEOF
116272 cat confdefs.h >>conftest.$ac_ext
116273 cat >>conftest.$ac_ext <<_ACEOF
116274 /* end confdefs.h. */
116277 main ()
116280 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
116281 #error no need for long double compatibility
116282 #endif
116285 return 0;
116287 _ACEOF
116288 rm -f conftest.$ac_objext
116289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116290 (eval $ac_compile) 2>conftest.er1
116291 ac_status=$?
116292 grep -v '^ *+' conftest.er1 >conftest.err
116293 rm -f conftest.er1
116294 cat conftest.err >&5
116295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116296 (exit $ac_status); } &&
116297 { ac_try='test -z "$ac_c_werror_flag"
116298 || test ! -s conftest.err'
116299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116300 (eval $ac_try) 2>&5
116301 ac_status=$?
116302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116303 (exit $ac_status); }; } &&
116304 { ac_try='test -s conftest.$ac_objext'
116305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116306 (eval $ac_try) 2>&5
116307 ac_status=$?
116308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116309 (exit $ac_status); }; }; then
116310 ac_ldbl_compat=yes
116312 echo "$as_me: failed program was:" >&5
116313 sed 's/^/| /' conftest.$ac_ext >&5
116315 ac_ldbl_compat=no
116317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116318 if test "$ac_ldbl_compat" = yes; then
116320 cat >>confdefs.h <<\_ACEOF
116321 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
116322 _ACEOF
116324 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
116329 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
116331 if $GLIBCXX_IS_NATIVE ; then
116332 # Do checks for resource limit functions.
116334 setrlimit_have_headers=yes
116338 for ac_header in unistd.h sys/time.h sys/resource.h
116340 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
116341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
116342 echo "$as_me:$LINENO: checking for $ac_header" >&5
116343 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
116344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
116345 echo $ECHO_N "(cached) $ECHO_C" >&6
116347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
116348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
116350 # Is the header compilable?
116351 echo "$as_me:$LINENO: checking $ac_header usability" >&5
116352 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
116353 cat >conftest.$ac_ext <<_ACEOF
116354 /* confdefs.h. */
116355 _ACEOF
116356 cat confdefs.h >>conftest.$ac_ext
116357 cat >>conftest.$ac_ext <<_ACEOF
116358 /* end confdefs.h. */
116359 $ac_includes_default
116360 #include <$ac_header>
116361 _ACEOF
116362 rm -f conftest.$ac_objext
116363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116364 (eval $ac_compile) 2>conftest.er1
116365 ac_status=$?
116366 grep -v '^ *+' conftest.er1 >conftest.err
116367 rm -f conftest.er1
116368 cat conftest.err >&5
116369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116370 (exit $ac_status); } &&
116371 { ac_try='test -z "$ac_c_werror_flag"
116372 || test ! -s conftest.err'
116373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116374 (eval $ac_try) 2>&5
116375 ac_status=$?
116376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116377 (exit $ac_status); }; } &&
116378 { ac_try='test -s conftest.$ac_objext'
116379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116380 (eval $ac_try) 2>&5
116381 ac_status=$?
116382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116383 (exit $ac_status); }; }; then
116384 ac_header_compiler=yes
116386 echo "$as_me: failed program was:" >&5
116387 sed 's/^/| /' conftest.$ac_ext >&5
116389 ac_header_compiler=no
116391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116392 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
116393 echo "${ECHO_T}$ac_header_compiler" >&6
116395 # Is the header present?
116396 echo "$as_me:$LINENO: checking $ac_header presence" >&5
116397 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
116398 cat >conftest.$ac_ext <<_ACEOF
116399 /* confdefs.h. */
116400 _ACEOF
116401 cat confdefs.h >>conftest.$ac_ext
116402 cat >>conftest.$ac_ext <<_ACEOF
116403 /* end confdefs.h. */
116404 #include <$ac_header>
116405 _ACEOF
116406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
116407 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
116408 ac_status=$?
116409 grep -v '^ *+' conftest.er1 >conftest.err
116410 rm -f conftest.er1
116411 cat conftest.err >&5
116412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116413 (exit $ac_status); } >/dev/null; then
116414 if test -s conftest.err; then
116415 ac_cpp_err=$ac_c_preproc_warn_flag
116416 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
116418 ac_cpp_err=
116421 ac_cpp_err=yes
116423 if test -z "$ac_cpp_err"; then
116424 ac_header_preproc=yes
116426 echo "$as_me: failed program was:" >&5
116427 sed 's/^/| /' conftest.$ac_ext >&5
116429 ac_header_preproc=no
116431 rm -f conftest.err conftest.$ac_ext
116432 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
116433 echo "${ECHO_T}$ac_header_preproc" >&6
116435 # So? What about this header?
116436 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
116437 yes:no: )
116438 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
116439 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
116440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
116441 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
116442 ac_header_preproc=yes
116444 no:yes:* )
116445 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
116446 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
116447 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
116448 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
116449 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
116450 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
116451 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
116452 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
116453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
116454 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
116455 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
116456 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
116458 cat <<\_ASBOX
116459 ## ----------------------------------------- ##
116460 ## Report this to the package-unused lists. ##
116461 ## ----------------------------------------- ##
116462 _ASBOX
116464 sed "s/^/$as_me: WARNING: /" >&2
116467 echo "$as_me:$LINENO: checking for $ac_header" >&5
116468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
116469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
116470 echo $ECHO_N "(cached) $ECHO_C" >&6
116472 eval "$as_ac_Header=\$ac_header_preproc"
116474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
116475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
116478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
116479 cat >>confdefs.h <<_ACEOF
116480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
116481 _ACEOF
116484 setrlimit_have_headers=no
116489 # If don't have the headers, then we can't run the tests now, and we
116490 # won't be seeing any of these during testsuite compilation.
116491 if test $setrlimit_have_headers = yes; then
116492 # Can't do these in a loop, else the resulting syntax is wrong.
116494 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
116495 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
116496 cat >conftest.$ac_ext <<_ACEOF
116497 /* confdefs.h. */
116498 _ACEOF
116499 cat confdefs.h >>conftest.$ac_ext
116500 cat >>conftest.$ac_ext <<_ACEOF
116501 /* end confdefs.h. */
116502 #include <unistd.h>
116503 #include <sys/time.h>
116504 #include <sys/resource.h>
116507 main ()
116509 int f = RLIMIT_DATA ;
116511 return 0;
116513 _ACEOF
116514 rm -f conftest.$ac_objext
116515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116516 (eval $ac_compile) 2>conftest.er1
116517 ac_status=$?
116518 grep -v '^ *+' conftest.er1 >conftest.err
116519 rm -f conftest.er1
116520 cat conftest.err >&5
116521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116522 (exit $ac_status); } &&
116523 { ac_try='test -z "$ac_c_werror_flag"
116524 || test ! -s conftest.err'
116525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116526 (eval $ac_try) 2>&5
116527 ac_status=$?
116528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116529 (exit $ac_status); }; } &&
116530 { ac_try='test -s conftest.$ac_objext'
116531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116532 (eval $ac_try) 2>&5
116533 ac_status=$?
116534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116535 (exit $ac_status); }; }; then
116536 glibcxx_mresult=1
116538 echo "$as_me: failed program was:" >&5
116539 sed 's/^/| /' conftest.$ac_ext >&5
116541 glibcxx_mresult=0
116543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116545 cat >>confdefs.h <<_ACEOF
116546 #define HAVE_LIMIT_DATA $glibcxx_mresult
116547 _ACEOF
116549 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116550 echo "$as_me:$LINENO: result: $res" >&5
116551 echo "${ECHO_T}$res" >&6
116554 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
116555 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
116556 cat >conftest.$ac_ext <<_ACEOF
116557 /* confdefs.h. */
116558 _ACEOF
116559 cat confdefs.h >>conftest.$ac_ext
116560 cat >>conftest.$ac_ext <<_ACEOF
116561 /* end confdefs.h. */
116562 #include <unistd.h>
116563 #include <sys/time.h>
116564 #include <sys/resource.h>
116567 main ()
116569 int f = RLIMIT_RSS ;
116571 return 0;
116573 _ACEOF
116574 rm -f conftest.$ac_objext
116575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116576 (eval $ac_compile) 2>conftest.er1
116577 ac_status=$?
116578 grep -v '^ *+' conftest.er1 >conftest.err
116579 rm -f conftest.er1
116580 cat conftest.err >&5
116581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116582 (exit $ac_status); } &&
116583 { ac_try='test -z "$ac_c_werror_flag"
116584 || test ! -s conftest.err'
116585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116586 (eval $ac_try) 2>&5
116587 ac_status=$?
116588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116589 (exit $ac_status); }; } &&
116590 { ac_try='test -s conftest.$ac_objext'
116591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116592 (eval $ac_try) 2>&5
116593 ac_status=$?
116594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116595 (exit $ac_status); }; }; then
116596 glibcxx_mresult=1
116598 echo "$as_me: failed program was:" >&5
116599 sed 's/^/| /' conftest.$ac_ext >&5
116601 glibcxx_mresult=0
116603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116605 cat >>confdefs.h <<_ACEOF
116606 #define HAVE_LIMIT_RSS $glibcxx_mresult
116607 _ACEOF
116609 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116610 echo "$as_me:$LINENO: result: $res" >&5
116611 echo "${ECHO_T}$res" >&6
116614 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
116615 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
116616 cat >conftest.$ac_ext <<_ACEOF
116617 /* confdefs.h. */
116618 _ACEOF
116619 cat confdefs.h >>conftest.$ac_ext
116620 cat >>conftest.$ac_ext <<_ACEOF
116621 /* end confdefs.h. */
116622 #include <unistd.h>
116623 #include <sys/time.h>
116624 #include <sys/resource.h>
116627 main ()
116629 int f = RLIMIT_VMEM ;
116631 return 0;
116633 _ACEOF
116634 rm -f conftest.$ac_objext
116635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116636 (eval $ac_compile) 2>conftest.er1
116637 ac_status=$?
116638 grep -v '^ *+' conftest.er1 >conftest.err
116639 rm -f conftest.er1
116640 cat conftest.err >&5
116641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116642 (exit $ac_status); } &&
116643 { ac_try='test -z "$ac_c_werror_flag"
116644 || test ! -s conftest.err'
116645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116646 (eval $ac_try) 2>&5
116647 ac_status=$?
116648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116649 (exit $ac_status); }; } &&
116650 { ac_try='test -s conftest.$ac_objext'
116651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116652 (eval $ac_try) 2>&5
116653 ac_status=$?
116654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116655 (exit $ac_status); }; }; then
116656 glibcxx_mresult=1
116658 echo "$as_me: failed program was:" >&5
116659 sed 's/^/| /' conftest.$ac_ext >&5
116661 glibcxx_mresult=0
116663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116665 cat >>confdefs.h <<_ACEOF
116666 #define HAVE_LIMIT_VMEM $glibcxx_mresult
116667 _ACEOF
116669 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116670 echo "$as_me:$LINENO: result: $res" >&5
116671 echo "${ECHO_T}$res" >&6
116674 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
116675 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
116676 cat >conftest.$ac_ext <<_ACEOF
116677 /* confdefs.h. */
116678 _ACEOF
116679 cat confdefs.h >>conftest.$ac_ext
116680 cat >>conftest.$ac_ext <<_ACEOF
116681 /* end confdefs.h. */
116682 #include <unistd.h>
116683 #include <sys/time.h>
116684 #include <sys/resource.h>
116687 main ()
116689 int f = RLIMIT_AS ;
116691 return 0;
116693 _ACEOF
116694 rm -f conftest.$ac_objext
116695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116696 (eval $ac_compile) 2>conftest.er1
116697 ac_status=$?
116698 grep -v '^ *+' conftest.er1 >conftest.err
116699 rm -f conftest.er1
116700 cat conftest.err >&5
116701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116702 (exit $ac_status); } &&
116703 { ac_try='test -z "$ac_c_werror_flag"
116704 || test ! -s conftest.err'
116705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116706 (eval $ac_try) 2>&5
116707 ac_status=$?
116708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116709 (exit $ac_status); }; } &&
116710 { ac_try='test -s conftest.$ac_objext'
116711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116712 (eval $ac_try) 2>&5
116713 ac_status=$?
116714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116715 (exit $ac_status); }; }; then
116716 glibcxx_mresult=1
116718 echo "$as_me: failed program was:" >&5
116719 sed 's/^/| /' conftest.$ac_ext >&5
116721 glibcxx_mresult=0
116723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116725 cat >>confdefs.h <<_ACEOF
116726 #define HAVE_LIMIT_AS $glibcxx_mresult
116727 _ACEOF
116729 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116730 echo "$as_me:$LINENO: result: $res" >&5
116731 echo "${ECHO_T}$res" >&6
116734 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
116735 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
116736 cat >conftest.$ac_ext <<_ACEOF
116737 /* confdefs.h. */
116738 _ACEOF
116739 cat confdefs.h >>conftest.$ac_ext
116740 cat >>conftest.$ac_ext <<_ACEOF
116741 /* end confdefs.h. */
116742 #include <unistd.h>
116743 #include <sys/time.h>
116744 #include <sys/resource.h>
116747 main ()
116749 int f = RLIMIT_FSIZE ;
116751 return 0;
116753 _ACEOF
116754 rm -f conftest.$ac_objext
116755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116756 (eval $ac_compile) 2>conftest.er1
116757 ac_status=$?
116758 grep -v '^ *+' conftest.er1 >conftest.err
116759 rm -f conftest.er1
116760 cat conftest.err >&5
116761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116762 (exit $ac_status); } &&
116763 { ac_try='test -z "$ac_c_werror_flag"
116764 || test ! -s conftest.err'
116765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116766 (eval $ac_try) 2>&5
116767 ac_status=$?
116768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116769 (exit $ac_status); }; } &&
116770 { ac_try='test -s conftest.$ac_objext'
116771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116772 (eval $ac_try) 2>&5
116773 ac_status=$?
116774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116775 (exit $ac_status); }; }; then
116776 glibcxx_mresult=1
116778 echo "$as_me: failed program was:" >&5
116779 sed 's/^/| /' conftest.$ac_ext >&5
116781 glibcxx_mresult=0
116783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116785 cat >>confdefs.h <<_ACEOF
116786 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
116787 _ACEOF
116789 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116790 echo "$as_me:$LINENO: result: $res" >&5
116791 echo "${ECHO_T}$res" >&6
116794 # Check for rlimit, setrlimit.
116795 if test "${ac_setrlimit+set}" = set; then
116796 echo $ECHO_N "(cached) $ECHO_C" >&6
116799 cat >conftest.$ac_ext <<_ACEOF
116800 /* confdefs.h. */
116801 _ACEOF
116802 cat confdefs.h >>conftest.$ac_ext
116803 cat >>conftest.$ac_ext <<_ACEOF
116804 /* end confdefs.h. */
116805 #include <unistd.h>
116806 #include <sys/time.h>
116807 #include <sys/resource.h>
116810 main ()
116812 struct rlimit r;
116813 setrlimit(0, &r);
116815 return 0;
116817 _ACEOF
116818 rm -f conftest.$ac_objext
116819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116820 (eval $ac_compile) 2>conftest.er1
116821 ac_status=$?
116822 grep -v '^ *+' conftest.er1 >conftest.err
116823 rm -f conftest.er1
116824 cat conftest.err >&5
116825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116826 (exit $ac_status); } &&
116827 { ac_try='test -z "$ac_c_werror_flag"
116828 || test ! -s conftest.err'
116829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116830 (eval $ac_try) 2>&5
116831 ac_status=$?
116832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116833 (exit $ac_status); }; } &&
116834 { ac_try='test -s conftest.$ac_objext'
116835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116836 (eval $ac_try) 2>&5
116837 ac_status=$?
116838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116839 (exit $ac_status); }; }; then
116840 ac_setrlimit=yes
116842 echo "$as_me: failed program was:" >&5
116843 sed 's/^/| /' conftest.$ac_ext >&5
116845 ac_setrlimit=no
116847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116853 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
116854 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
116855 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
116856 ac_res_limits=yes
116858 cat >>confdefs.h <<\_ACEOF
116859 #define _GLIBCXX_RES_LIMITS 1
116860 _ACEOF
116863 ac_res_limits=no
116865 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
116866 echo "${ECHO_T}$ac_res_limits" >&6
116869 # Look for setenv, so that extended locale tests can be performed.
116871 echo "$as_me:$LINENO: checking for setenv declaration" >&5
116872 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
116873 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
116874 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
116875 echo $ECHO_N "(cached) $ECHO_C" >&6
116880 ac_ext=cc
116881 ac_cpp='$CXXCPP $CPPFLAGS'
116882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
116886 cat >conftest.$ac_ext <<_ACEOF
116887 /* confdefs.h. */
116888 _ACEOF
116889 cat confdefs.h >>conftest.$ac_ext
116890 cat >>conftest.$ac_ext <<_ACEOF
116891 /* end confdefs.h. */
116892 #include <stdlib.h>
116894 main ()
116896 setenv(0, 0, 0);
116898 return 0;
116900 _ACEOF
116901 rm -f conftest.$ac_objext
116902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116903 (eval $ac_compile) 2>conftest.er1
116904 ac_status=$?
116905 grep -v '^ *+' conftest.er1 >conftest.err
116906 rm -f conftest.er1
116907 cat conftest.err >&5
116908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116909 (exit $ac_status); } &&
116910 { ac_try='test -z "$ac_cxx_werror_flag"
116911 || test ! -s conftest.err'
116912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116913 (eval $ac_try) 2>&5
116914 ac_status=$?
116915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116916 (exit $ac_status); }; } &&
116917 { ac_try='test -s conftest.$ac_objext'
116918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116919 (eval $ac_try) 2>&5
116920 ac_status=$?
116921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116922 (exit $ac_status); }; }; then
116923 glibcxx_cv_func_setenv_use=yes
116925 echo "$as_me: failed program was:" >&5
116926 sed 's/^/| /' conftest.$ac_ext >&5
116928 glibcxx_cv_func_setenv_use=no
116930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116931 ac_ext=c
116932 ac_cpp='$CPP $CPPFLAGS'
116933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
116941 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
116942 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
116943 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
116945 for ac_func in setenv
116947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116948 echo "$as_me:$LINENO: checking for $ac_func" >&5
116949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116950 if eval "test \"\${$as_ac_var+set}\" = set"; then
116951 echo $ECHO_N "(cached) $ECHO_C" >&6
116953 if test x$gcc_no_link = xyes; then
116954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116956 { (exit 1); exit 1; }; }
116958 cat >conftest.$ac_ext <<_ACEOF
116959 /* confdefs.h. */
116960 _ACEOF
116961 cat confdefs.h >>conftest.$ac_ext
116962 cat >>conftest.$ac_ext <<_ACEOF
116963 /* end confdefs.h. */
116964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
116966 #define $ac_func innocuous_$ac_func
116968 /* System header to define __stub macros and hopefully few prototypes,
116969 which can conflict with char $ac_func (); below.
116970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116971 <limits.h> exists even on freestanding compilers. */
116973 #ifdef __STDC__
116974 # include <limits.h>
116975 #else
116976 # include <assert.h>
116977 #endif
116979 #undef $ac_func
116981 /* Override any gcc2 internal prototype to avoid an error. */
116982 #ifdef __cplusplus
116983 extern "C"
116985 #endif
116986 /* We use char because int might match the return type of a gcc2
116987 builtin and then its argument prototype would still apply. */
116988 char $ac_func ();
116989 /* The GNU C library defines this for functions which it implements
116990 to always fail with ENOSYS. Some functions are actually named
116991 something starting with __ and the normal name is an alias. */
116992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116993 choke me
116994 #else
116995 char (*f) () = $ac_func;
116996 #endif
116997 #ifdef __cplusplus
116999 #endif
117002 main ()
117004 return f != $ac_func;
117006 return 0;
117008 _ACEOF
117009 rm -f conftest.$ac_objext conftest$ac_exeext
117010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117011 (eval $ac_link) 2>conftest.er1
117012 ac_status=$?
117013 grep -v '^ *+' conftest.er1 >conftest.err
117014 rm -f conftest.er1
117015 cat conftest.err >&5
117016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117017 (exit $ac_status); } &&
117018 { ac_try='test -z "$ac_c_werror_flag"
117019 || test ! -s conftest.err'
117020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117021 (eval $ac_try) 2>&5
117022 ac_status=$?
117023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117024 (exit $ac_status); }; } &&
117025 { ac_try='test -s conftest$ac_exeext'
117026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117027 (eval $ac_try) 2>&5
117028 ac_status=$?
117029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117030 (exit $ac_status); }; }; then
117031 eval "$as_ac_var=yes"
117033 echo "$as_me: failed program was:" >&5
117034 sed 's/^/| /' conftest.$ac_ext >&5
117036 eval "$as_ac_var=no"
117038 rm -f conftest.err conftest.$ac_objext \
117039 conftest$ac_exeext conftest.$ac_ext
117041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
117042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
117043 if test `eval echo '${'$as_ac_var'}'` = yes; then
117044 cat >>confdefs.h <<_ACEOF
117045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
117046 _ACEOF
117055 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
117056 test $enable_symvers != no; then
117057 case "$host" in
117058 *-*-cygwin*)
117059 enable_abi_check=no ;;
117061 enable_abi_check=yes ;;
117064 # Only build this as native, since automake does not understand
117065 # CXX_FOR_BUILD.
117066 enable_abi_check=no
117069 # Export file names for ABI checking.
117070 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
117074 # Propagate the target-specific source directories through the build chain.
117075 ATOMICITY_SRCDIR=config/${atomicity_dir}
117076 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
117077 ATOMIC_FLAGS=${atomic_flags}
117078 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
117079 OS_INC_SRCDIR=config/${os_include_dir}
117080 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
117081 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
117091 # Determine cross-compile flags and AM_CONDITIONALs.
117092 #AC_SUBST(GLIBCXX_IS_NATIVE)
117093 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
117094 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
117095 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
117098 if test $is_hosted = yes; then
117099 GLIBCXX_HOSTED_TRUE=
117100 GLIBCXX_HOSTED_FALSE='#'
117102 GLIBCXX_HOSTED_TRUE='#'
117103 GLIBCXX_HOSTED_FALSE=
117109 if test $enable_libstdcxx_pch = yes; then
117110 GLIBCXX_BUILD_PCH_TRUE=
117111 GLIBCXX_BUILD_PCH_FALSE='#'
117113 GLIBCXX_BUILD_PCH_TRUE='#'
117114 GLIBCXX_BUILD_PCH_FALSE=
117120 if test $enable_cheaders = c; then
117121 GLIBCXX_C_HEADERS_C_TRUE=
117122 GLIBCXX_C_HEADERS_C_FALSE='#'
117124 GLIBCXX_C_HEADERS_C_TRUE='#'
117125 GLIBCXX_C_HEADERS_C_FALSE=
117131 if test $enable_cheaders = c_std; then
117132 GLIBCXX_C_HEADERS_C_STD_TRUE=
117133 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
117135 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
117136 GLIBCXX_C_HEADERS_C_STD_FALSE=
117142 if test $enable_cheaders = c_global; then
117143 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
117144 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
117146 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
117147 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
117153 if test $c_compatibility = yes; then
117154 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
117155 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
117157 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
117158 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
117164 if test $c_extra = yes; then
117165 GLIBCXX_C_HEADERS_EXTRA_TRUE=
117166 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
117168 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
117169 GLIBCXX_C_HEADERS_EXTRA_FALSE=
117175 if test $enable_libstdcxx_debug = yes; then
117176 GLIBCXX_BUILD_DEBUG_TRUE=
117177 GLIBCXX_BUILD_DEBUG_FALSE='#'
117179 GLIBCXX_BUILD_DEBUG_TRUE='#'
117180 GLIBCXX_BUILD_DEBUG_FALSE=
117186 if test $enable_parallel = yes; then
117187 ENABLE_PARALLEL_TRUE=
117188 ENABLE_PARALLEL_FALSE='#'
117190 ENABLE_PARALLEL_TRUE='#'
117191 ENABLE_PARALLEL_FALSE=
117197 if test $enable_symvers != no; then
117198 ENABLE_SYMVERS_TRUE=
117199 ENABLE_SYMVERS_FALSE='#'
117201 ENABLE_SYMVERS_TRUE='#'
117202 ENABLE_SYMVERS_FALSE=
117208 if test $enable_symvers = gnu; then
117209 ENABLE_SYMVERS_GNU_TRUE=
117210 ENABLE_SYMVERS_GNU_FALSE='#'
117212 ENABLE_SYMVERS_GNU_TRUE='#'
117213 ENABLE_SYMVERS_GNU_FALSE=
117219 if test $enable_symvers = gnu-versioned-namespace; then
117220 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
117221 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
117223 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
117224 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
117230 if test $enable_symvers = darwin; then
117231 ENABLE_SYMVERS_DARWIN_TRUE=
117232 ENABLE_SYMVERS_DARWIN_FALSE='#'
117234 ENABLE_SYMVERS_DARWIN_TRUE='#'
117235 ENABLE_SYMVERS_DARWIN_FALSE=
117241 if test $enable_visibility = yes; then
117242 ENABLE_VISIBILITY_TRUE=
117243 ENABLE_VISIBILITY_FALSE='#'
117245 ENABLE_VISIBILITY_TRUE='#'
117246 ENABLE_VISIBILITY_FALSE=
117252 if test $ac_ldbl_compat = yes; then
117253 GLIBCXX_LDBL_COMPAT_TRUE=
117254 GLIBCXX_LDBL_COMPAT_FALSE='#'
117256 GLIBCXX_LDBL_COMPAT_TRUE='#'
117257 GLIBCXX_LDBL_COMPAT_FALSE=
117263 cat >confcache <<\_ACEOF
117264 # This file is a shell script that caches the results of configure
117265 # tests run on this system so they can be shared between configure
117266 # scripts and configure runs, see configure's option --config-cache.
117267 # It is not useful on other systems. If it contains results you don't
117268 # want to keep, you may remove or edit it.
117270 # config.status only pays attention to the cache file if you give it
117271 # the --recheck option to rerun configure.
117273 # `ac_cv_env_foo' variables (set or unset) will be overridden when
117274 # loading this file, other *unset* `ac_cv_foo' will be assigned the
117275 # following values.
117277 _ACEOF
117279 # The following way of writing the cache mishandles newlines in values,
117280 # but we know of no workaround that is simple, portable, and efficient.
117281 # So, don't put newlines in cache variables' values.
117282 # Ultrix sh set writes to stderr and can't be redirected directly,
117283 # and sets the high bit in the cache file unless we assign to the vars.
117285 (set) 2>&1 |
117286 case `(ac_space=' '; set | grep ac_space) 2>&1` in
117287 *ac_space=\ *)
117288 # `set' does not quote correctly, so add quotes (double-quote
117289 # substitution turns \\\\ into \\, and sed turns \\ into \).
117290 sed -n \
117291 "s/'/'\\\\''/g;
117292 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
117295 # `set' quotes correctly as required by POSIX, so do not add quotes.
117296 sed -n \
117297 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
117299 esac;
117301 sed '
117302 t clear
117303 : clear
117304 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
117305 t end
117306 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
117307 : end' >>confcache
117308 if diff $cache_file confcache >/dev/null 2>&1; then :; else
117309 if test -w $cache_file; then
117310 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
117311 cat confcache >$cache_file
117313 echo "not updating unwritable cache $cache_file"
117316 rm -f confcache
117318 if test ${multilib} = yes; then
117319 multilib_arg="--enable-multilib"
117321 multilib_arg=
117324 # Export all the install information.
117326 glibcxx_toolexecdir=no
117327 glibcxx_toolexeclibdir=no
117328 glibcxx_prefixdir=$prefix
117330 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
117331 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
117333 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
117334 if test "${with_gxx_include_dir+set}" = set; then
117335 withval="$with_gxx_include_dir"
117336 case "$withval" in
117337 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
117338 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
117339 { (exit 1); exit 1; }; } ;;
117340 no) gxx_include_dir=no ;;
117341 *) gxx_include_dir=$withval ;;
117344 gxx_include_dir=no
117346 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
117347 echo "${ECHO_T}$gxx_include_dir" >&6
117349 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
117350 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
117351 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
117352 if test "${enable_version_specific_runtime_libs+set}" = set; then
117353 enableval="$enable_version_specific_runtime_libs"
117354 case "$enableval" in
117355 yes) version_specific_libs=yes ;;
117356 no) version_specific_libs=no ;;
117357 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
117358 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
117359 { (exit 1); exit 1; }; };;
117362 version_specific_libs=no
117364 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
117365 echo "${ECHO_T}$version_specific_libs" >&6
117367 # Default case for install directory for include files.
117368 if test $version_specific_libs = no && test $gxx_include_dir = no; then
117369 gxx_include_dir='include/c++/${gcc_version}'
117370 if test -n "$with_cross_host" &&
117371 test x"$with_cross_host" != x"no"; then
117372 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
117374 gxx_include_dir='${prefix}/'"$gxx_include_dir"
117378 # Version-specific runtime libs processing.
117379 if test $version_specific_libs = yes; then
117380 # Need the gcc compiler version to know where to install libraries
117381 # and header files if --enable-version-specific-runtime-libs option
117382 # is selected. FIXME: these variables are misnamed, there are
117383 # no executables installed in _toolexecdir or _toolexeclibdir.
117384 if test x"$gxx_include_dir" = x"no"; then
117385 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
117387 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
117388 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
117391 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
117392 # Install a library built with a cross compiler in tooldir, not libdir.
117393 if test x"$glibcxx_toolexecdir" = x"no"; then
117394 if test -n "$with_cross_host" &&
117395 test x"$with_cross_host" != x"no"; then
117396 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
117397 glibcxx_toolexeclibdir='${toolexecdir}/lib'
117399 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
117400 glibcxx_toolexeclibdir='${libdir}'
117402 multi_os_directory=`$CXX -print-multi-os-directory`
117403 case $multi_os_directory in
117404 .) ;; # Avoid trailing /.
117405 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
117409 echo "$as_me:$LINENO: checking for install location" >&5
117410 echo $ECHO_N "checking for install location... $ECHO_C" >&6
117411 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
117412 echo "${ECHO_T}$gxx_include_dir" >&6
117420 # Export all the include and flag information to Makefiles.
117422 # Used for every C++ compile we perform.
117423 GLIBCXX_INCLUDES="\
117424 -I$glibcxx_builddir/include/$host_alias \
117425 -I$glibcxx_builddir/include \
117426 -I$glibcxx_srcdir/libsupc++"
117428 # For Canadian crosses, pick this up too.
117429 if test $CANADIAN = yes; then
117430 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
117433 # Stuff in the actual top level. Currently only used by libsupc++ to
117434 # get unwind* headers from the gcc dir.
117435 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
117436 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
117438 # Now, export this to all the little Makefiles....
117443 # Optimization flags that are probably a good idea for thrill-seekers. Just
117444 # uncomment the lines below and make, everything else is ready to go...
117445 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
117446 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
117449 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
117453 if test "$enable_shared" = yes; then
117454 LIBSUPCXX_PICFLAGS="-prefer-pic"
117456 LIBSUPCXX_PICFLAGS=
117460 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
117462 ac_config_files="$ac_config_files scripts/testsuite_flags"
117465 ac_config_commands="$ac_config_commands default"
117468 cat >confcache <<\_ACEOF
117469 # This file is a shell script that caches the results of configure
117470 # tests run on this system so they can be shared between configure
117471 # scripts and configure runs, see configure's option --config-cache.
117472 # It is not useful on other systems. If it contains results you don't
117473 # want to keep, you may remove or edit it.
117475 # config.status only pays attention to the cache file if you give it
117476 # the --recheck option to rerun configure.
117478 # `ac_cv_env_foo' variables (set or unset) will be overridden when
117479 # loading this file, other *unset* `ac_cv_foo' will be assigned the
117480 # following values.
117482 _ACEOF
117484 # The following way of writing the cache mishandles newlines in values,
117485 # but we know of no workaround that is simple, portable, and efficient.
117486 # So, don't put newlines in cache variables' values.
117487 # Ultrix sh set writes to stderr and can't be redirected directly,
117488 # and sets the high bit in the cache file unless we assign to the vars.
117490 (set) 2>&1 |
117491 case `(ac_space=' '; set | grep ac_space) 2>&1` in
117492 *ac_space=\ *)
117493 # `set' does not quote correctly, so add quotes (double-quote
117494 # substitution turns \\\\ into \\, and sed turns \\ into \).
117495 sed -n \
117496 "s/'/'\\\\''/g;
117497 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
117500 # `set' quotes correctly as required by POSIX, so do not add quotes.
117501 sed -n \
117502 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
117504 esac;
117506 sed '
117507 t clear
117508 : clear
117509 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
117510 t end
117511 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
117512 : end' >>confcache
117513 if diff $cache_file confcache >/dev/null 2>&1; then :; else
117514 if test -w $cache_file; then
117515 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
117516 cat confcache >$cache_file
117518 echo "not updating unwritable cache $cache_file"
117521 rm -f confcache
117523 test "x$prefix" = xNONE && prefix=$ac_default_prefix
117524 # Let make expand exec_prefix.
117525 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
117527 # VPATH may cause trouble with some makes, so we remove $(srcdir),
117528 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
117529 # trailing colons and then remove the whole line if VPATH becomes empty
117530 # (actually we leave an empty line to preserve line numbers).
117531 if test "x$srcdir" = x.; then
117532 ac_vpsub='/^[ ]*VPATH[ ]*=/{
117533 s/:*\$(srcdir):*/:/;
117534 s/:*\${srcdir}:*/:/;
117535 s/:*@srcdir@:*/:/;
117536 s/^\([^=]*=[ ]*\):*/\1/;
117537 s/:*$//;
117538 s/^[^=]*=[ ]*$//;
117542 DEFS=-DHAVE_CONFIG_H
117544 ac_libobjs=
117545 ac_ltlibobjs=
117546 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
117547 # 1. Remove the extension, and $U if already installed.
117548 ac_i=`echo "$ac_i" |
117549 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
117550 # 2. Add them.
117551 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
117552 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
117554 LIBOBJS=$ac_libobjs
117556 LTLIBOBJS=$ac_ltlibobjs
117559 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
117560 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
117561 Usually this means the macro was only invoked conditionally." >&5
117562 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
117563 Usually this means the macro was only invoked conditionally." >&2;}
117564 { (exit 1); exit 1; }; }
117566 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
117567 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
117568 Usually this means the macro was only invoked conditionally." >&5
117569 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
117570 Usually this means the macro was only invoked conditionally." >&2;}
117571 { (exit 1); exit 1; }; }
117573 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
117574 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
117575 Usually this means the macro was only invoked conditionally." >&5
117576 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
117577 Usually this means the macro was only invoked conditionally." >&2;}
117578 { (exit 1); exit 1; }; }
117580 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
117581 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
117582 Usually this means the macro was only invoked conditionally." >&5
117583 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
117584 Usually this means the macro was only invoked conditionally." >&2;}
117585 { (exit 1); exit 1; }; }
117587 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
117588 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
117589 Usually this means the macro was only invoked conditionally." >&5
117590 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
117591 Usually this means the macro was only invoked conditionally." >&2;}
117592 { (exit 1); exit 1; }; }
117594 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
117595 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
117596 Usually this means the macro was only invoked conditionally." >&5
117597 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
117598 Usually this means the macro was only invoked conditionally." >&2;}
117599 { (exit 1); exit 1; }; }
117601 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
117602 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
117603 Usually this means the macro was only invoked conditionally." >&5
117604 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
117605 Usually this means the macro was only invoked conditionally." >&2;}
117606 { (exit 1); exit 1; }; }
117608 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
117609 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
117610 Usually this means the macro was only invoked conditionally." >&5
117611 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
117612 Usually this means the macro was only invoked conditionally." >&2;}
117613 { (exit 1); exit 1; }; }
117615 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
117616 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
117617 Usually this means the macro was only invoked conditionally." >&5
117618 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
117619 Usually this means the macro was only invoked conditionally." >&2;}
117620 { (exit 1); exit 1; }; }
117622 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
117623 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
117624 Usually this means the macro was only invoked conditionally." >&5
117625 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
117626 Usually this means the macro was only invoked conditionally." >&2;}
117627 { (exit 1); exit 1; }; }
117629 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
117630 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
117631 Usually this means the macro was only invoked conditionally." >&5
117632 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
117633 Usually this means the macro was only invoked conditionally." >&2;}
117634 { (exit 1); exit 1; }; }
117636 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
117637 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
117638 Usually this means the macro was only invoked conditionally." >&5
117639 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
117640 Usually this means the macro was only invoked conditionally." >&2;}
117641 { (exit 1); exit 1; }; }
117643 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
117644 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
117645 Usually this means the macro was only invoked conditionally." >&5
117646 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
117647 Usually this means the macro was only invoked conditionally." >&2;}
117648 { (exit 1); exit 1; }; }
117650 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
117651 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
117652 Usually this means the macro was only invoked conditionally." >&5
117653 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
117654 Usually this means the macro was only invoked conditionally." >&2;}
117655 { (exit 1); exit 1; }; }
117657 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
117658 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
117659 Usually this means the macro was only invoked conditionally." >&5
117660 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
117661 Usually this means the macro was only invoked conditionally." >&2;}
117662 { (exit 1); exit 1; }; }
117664 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
117665 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
117666 Usually this means the macro was only invoked conditionally." >&5
117667 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
117668 Usually this means the macro was only invoked conditionally." >&2;}
117669 { (exit 1); exit 1; }; }
117672 : ${CONFIG_STATUS=./config.status}
117673 ac_clean_files_save=$ac_clean_files
117674 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
117675 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
117676 echo "$as_me: creating $CONFIG_STATUS" >&6;}
117677 cat >$CONFIG_STATUS <<_ACEOF
117678 #! $SHELL
117679 # Generated by $as_me.
117680 # Run this file to recreate the current configuration.
117681 # Compiler output produced by configure, useful for debugging
117682 # configure, is in config.log if it exists.
117684 debug=false
117685 ac_cs_recheck=false
117686 ac_cs_silent=false
117687 SHELL=\${CONFIG_SHELL-$SHELL}
117688 _ACEOF
117690 cat >>$CONFIG_STATUS <<\_ACEOF
117691 ## --------------------- ##
117692 ## M4sh Initialization. ##
117693 ## --------------------- ##
117695 # Be Bourne compatible
117696 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
117697 emulate sh
117698 NULLCMD=:
117699 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
117700 # is contrary to our usage. Disable this feature.
117701 alias -g '${1+"$@"}'='"$@"'
117702 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
117703 set -o posix
117705 DUALCASE=1; export DUALCASE # for MKS sh
117707 # Support unset when possible.
117708 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
117709 as_unset=unset
117711 as_unset=false
117715 # Work around bugs in pre-3.0 UWIN ksh.
117716 $as_unset ENV MAIL MAILPATH
117717 PS1='$ '
117718 PS2='> '
117719 PS4='+ '
117721 # NLS nuisances.
117722 for as_var in \
117723 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
117724 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
117725 LC_TELEPHONE LC_TIME
117727 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
117728 eval $as_var=C; export $as_var
117730 $as_unset $as_var
117734 # Required to use basename.
117735 if expr a : '\(a\)' >/dev/null 2>&1; then
117736 as_expr=expr
117738 as_expr=false
117741 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
117742 as_basename=basename
117744 as_basename=false
117748 # Name of the executable.
117749 as_me=`$as_basename "$0" ||
117750 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
117751 X"$0" : 'X\(//\)$' \| \
117752 X"$0" : 'X\(/\)$' \| \
117753 . : '\(.\)' 2>/dev/null ||
117754 echo X/"$0" |
117755 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
117756 /^X\/\(\/\/\)$/{ s//\1/; q; }
117757 /^X\/\(\/\).*/{ s//\1/; q; }
117758 s/.*/./; q'`
117761 # PATH needs CR, and LINENO needs CR and PATH.
117762 # Avoid depending upon Character Ranges.
117763 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
117764 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
117765 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
117766 as_cr_digits='0123456789'
117767 as_cr_alnum=$as_cr_Letters$as_cr_digits
117769 # The user is always right.
117770 if test "${PATH_SEPARATOR+set}" != set; then
117771 echo "#! /bin/sh" >conf$$.sh
117772 echo "exit 0" >>conf$$.sh
117773 chmod +x conf$$.sh
117774 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
117775 PATH_SEPARATOR=';'
117777 PATH_SEPARATOR=:
117779 rm -f conf$$.sh
117783 as_lineno_1=$LINENO
117784 as_lineno_2=$LINENO
117785 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
117786 test "x$as_lineno_1" != "x$as_lineno_2" &&
117787 test "x$as_lineno_3" = "x$as_lineno_2" || {
117788 # Find who we are. Look in the path if we contain no path at all
117789 # relative or not.
117790 case $0 in
117791 *[\\/]* ) as_myself=$0 ;;
117792 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
117793 for as_dir in $PATH
117795 IFS=$as_save_IFS
117796 test -z "$as_dir" && as_dir=.
117797 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117802 # We did not find ourselves, most probably we were run as `sh COMMAND'
117803 # in which case we are not to be found in the path.
117804 if test "x$as_myself" = x; then
117805 as_myself=$0
117807 if test ! -f "$as_myself"; then
117808 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
117809 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
117810 { (exit 1); exit 1; }; }
117812 case $CONFIG_SHELL in
117814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
117815 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
117817 IFS=$as_save_IFS
117818 test -z "$as_dir" && as_dir=.
117819 for as_base in sh bash ksh sh5; do
117820 case $as_dir in
117822 if ("$as_dir/$as_base" -c '
117823 as_lineno_1=$LINENO
117824 as_lineno_2=$LINENO
117825 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
117826 test "x$as_lineno_1" != "x$as_lineno_2" &&
117827 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
117828 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
117829 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
117830 CONFIG_SHELL=$as_dir/$as_base
117831 export CONFIG_SHELL
117832 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
117840 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
117841 # uniformly replaced by the line number. The first 'sed' inserts a
117842 # line-number line before each line; the second 'sed' does the real
117843 # work. The second script uses 'N' to pair each line-number line
117844 # with the numbered line, and appends trailing '-' during
117845 # substitution so that $LINENO is not a special case at line end.
117846 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
117847 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
117848 sed '=' <$as_myself |
117849 sed '
117851 s,$,-,
117852 : loop
117853 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
117854 t loop
117855 s,-$,,
117856 s,^['$as_cr_digits']*\n,,
117857 ' >$as_me.lineno &&
117858 chmod +x $as_me.lineno ||
117859 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
117860 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
117861 { (exit 1); exit 1; }; }
117863 # Don't try to exec as it changes $[0], causing all sort of problems
117864 # (the dirname of $[0] is not the place where we might find the
117865 # original and so on. Autoconf is especially sensible to this).
117866 . ./$as_me.lineno
117867 # Exit status is that of the last command.
117872 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
117873 *c*,-n*) ECHO_N= ECHO_C='
117874 ' ECHO_T=' ' ;;
117875 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
117876 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
117879 if expr a : '\(a\)' >/dev/null 2>&1; then
117880 as_expr=expr
117882 as_expr=false
117885 rm -f conf$$ conf$$.exe conf$$.file
117886 echo >conf$$.file
117887 if ln -s conf$$.file conf$$ 2>/dev/null; then
117888 # We could just check for DJGPP; but this test a) works b) is more generic
117889 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
117890 if test -f conf$$.exe; then
117891 # Don't use ln at all; we don't have any links
117892 as_ln_s='cp -p'
117894 as_ln_s='ln -s'
117896 elif ln conf$$.file conf$$ 2>/dev/null; then
117897 as_ln_s=ln
117899 as_ln_s='cp -p'
117901 rm -f conf$$ conf$$.exe conf$$.file
117903 if mkdir -p . 2>/dev/null; then
117904 as_mkdir_p=:
117906 test -d ./-p && rmdir ./-p
117907 as_mkdir_p=false
117910 as_executable_p="test -f"
117912 # Sed expression to map a string onto a valid CPP name.
117913 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
117915 # Sed expression to map a string onto a valid variable name.
117916 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
117919 # IFS
117920 # We need space, tab and new line, in precisely that order.
117921 as_nl='
117923 IFS=" $as_nl"
117925 # CDPATH.
117926 $as_unset CDPATH
117928 exec 6>&1
117930 # Open the log real soon, to keep \$[0] and so on meaningful, and to
117931 # report actual input values of CONFIG_FILES etc. instead of their
117932 # values after options handling. Logging --version etc. is OK.
117933 exec 5>>config.log
117936 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
117937 ## Running $as_me. ##
117938 _ASBOX
117939 } >&5
117940 cat >&5 <<_CSEOF
117942 This file was extended by package-unused $as_me version-unused, which was
117943 generated by GNU Autoconf 2.59. Invocation command line was
117945 CONFIG_FILES = $CONFIG_FILES
117946 CONFIG_HEADERS = $CONFIG_HEADERS
117947 CONFIG_LINKS = $CONFIG_LINKS
117948 CONFIG_COMMANDS = $CONFIG_COMMANDS
117949 $ $0 $@
117951 _CSEOF
117952 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
117953 echo >&5
117954 _ACEOF
117956 # Files that config.status was made for.
117957 if test -n "$ac_config_files"; then
117958 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
117961 if test -n "$ac_config_headers"; then
117962 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
117965 if test -n "$ac_config_links"; then
117966 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
117969 if test -n "$ac_config_commands"; then
117970 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
117973 cat >>$CONFIG_STATUS <<\_ACEOF
117975 ac_cs_usage="\
117976 \`$as_me' instantiates files from templates according to the
117977 current configuration.
117979 Usage: $0 [OPTIONS] [FILE]...
117981 -h, --help print this help, then exit
117982 -V, --version print version number, then exit
117983 -q, --quiet do not print progress messages
117984 -d, --debug don't remove temporary files
117985 --recheck update $as_me by reconfiguring in the same conditions
117986 --file=FILE[:TEMPLATE]
117987 instantiate the configuration file FILE
117988 --header=FILE[:TEMPLATE]
117989 instantiate the configuration header FILE
117991 Configuration files:
117992 $config_files
117994 Configuration headers:
117995 $config_headers
117997 Configuration commands:
117998 $config_commands
118000 Report bugs to <bug-autoconf@gnu.org>."
118001 _ACEOF
118003 cat >>$CONFIG_STATUS <<_ACEOF
118004 ac_cs_version="\\
118005 package-unused config.status version-unused
118006 configured by $0, generated by GNU Autoconf 2.59,
118007 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
118009 Copyright (C) 2003 Free Software Foundation, Inc.
118010 This config.status script is free software; the Free Software Foundation
118011 gives unlimited permission to copy, distribute and modify it."
118012 srcdir=$srcdir
118013 INSTALL="$INSTALL"
118014 _ACEOF
118016 cat >>$CONFIG_STATUS <<\_ACEOF
118017 # If no file are specified by the user, then we need to provide default
118018 # value. By we need to know if files were specified by the user.
118019 ac_need_defaults=:
118020 while test $# != 0
118022 case $1 in
118023 --*=*)
118024 ac_option=`expr "x$1" : 'x\([^=]*\)='`
118025 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
118026 ac_shift=:
118029 ac_option=$1
118030 ac_optarg=$2
118031 ac_shift=shift
118033 *) # This is not an option, so the user has probably given explicit
118034 # arguments.
118035 ac_option=$1
118036 ac_need_defaults=false;;
118039 case $ac_option in
118040 # Handling of the options.
118041 _ACEOF
118042 cat >>$CONFIG_STATUS <<\_ACEOF
118043 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
118044 ac_cs_recheck=: ;;
118045 --version | --vers* | -V )
118046 echo "$ac_cs_version"; exit 0 ;;
118047 --he | --h)
118048 # Conflict between --help and --header
118049 { { echo "$as_me:$LINENO: error: ambiguous option: $1
118050 Try \`$0 --help' for more information." >&5
118051 echo "$as_me: error: ambiguous option: $1
118052 Try \`$0 --help' for more information." >&2;}
118053 { (exit 1); exit 1; }; };;
118054 --help | --hel | -h )
118055 echo "$ac_cs_usage"; exit 0 ;;
118056 --debug | --d* | -d )
118057 debug=: ;;
118058 --file | --fil | --fi | --f )
118059 $ac_shift
118060 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
118061 ac_need_defaults=false;;
118062 --header | --heade | --head | --hea )
118063 $ac_shift
118064 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
118065 ac_need_defaults=false;;
118066 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
118067 | -silent | --silent | --silen | --sile | --sil | --si | --s)
118068 ac_cs_silent=: ;;
118070 # This is an error.
118071 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
118072 Try \`$0 --help' for more information." >&5
118073 echo "$as_me: error: unrecognized option: $1
118074 Try \`$0 --help' for more information." >&2;}
118075 { (exit 1); exit 1; }; } ;;
118077 *) ac_config_targets="$ac_config_targets $1" ;;
118080 shift
118083 ac_configure_extra_args=
118085 if $ac_cs_silent; then
118086 exec 6>/dev/null
118087 ac_configure_extra_args="$ac_configure_extra_args --silent"
118090 _ACEOF
118091 cat >>$CONFIG_STATUS <<_ACEOF
118092 if \$ac_cs_recheck; then
118093 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
118094 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
118097 _ACEOF
118099 cat >>$CONFIG_STATUS <<_ACEOF
118101 # INIT-COMMANDS section.
118105 srcdir="$srcdir"
118106 host="$host"
118107 target="$target"
118108 with_multisubdir="$with_multisubdir"
118109 with_multisrctop="$with_multisrctop"
118110 with_target_subdir="$with_target_subdir"
118111 ac_configure_args="${multilib_arg} ${ac_configure_args}"
118112 multi_basedir="$multi_basedir"
118113 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
118114 CC="$CC"
118117 # The HP-UX ksh and POSIX shell print the target directory to stdout
118118 # if CDPATH is set.
118119 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
118121 sed_quote_subst='$sed_quote_subst'
118122 double_quote_subst='$double_quote_subst'
118123 delay_variable_subst='$delay_variable_subst'
118124 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
118125 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
118126 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
118127 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
118128 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
118129 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
118130 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
118131 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
118132 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
118133 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
118134 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
118135 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
118136 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
118137 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
118138 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
118139 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
118140 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
118141 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
118142 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
118143 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
118144 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
118145 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
118146 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
118147 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
118148 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
118149 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
118150 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
118151 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118152 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
118153 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
118154 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
118155 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
118156 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
118157 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
118158 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118159 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118160 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118161 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
118162 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
118163 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
118164 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
118165 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
118166 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
118167 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"`'
118168 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
118169 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
118170 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
118171 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
118172 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
118173 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
118174 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
118175 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
118176 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
118177 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
118178 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
118179 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118180 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118181 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
118182 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
118183 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
118184 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
118185 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
118186 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118187 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118188 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118189 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118190 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118191 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118192 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
118193 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
118194 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
118195 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
118196 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
118197 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
118198 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
118199 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
118200 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
118201 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
118202 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
118203 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
118204 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
118205 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
118206 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
118207 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118208 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
118209 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
118210 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118211 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
118212 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
118213 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
118214 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
118215 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
118216 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
118217 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
118218 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
118219 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
118220 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
118221 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
118222 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118223 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118224 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118225 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
118226 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
118227 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
118228 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
118229 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
118230 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
118231 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
118232 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
118233 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
118234 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
118235 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
118236 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
118237 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
118238 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
118239 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
118240 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118241 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118242 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118243 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118244 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118245 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118246 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118247 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118248 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118249 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118250 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118251 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118252 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118253 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118254 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118255 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118256 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118257 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118258 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118259 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118260 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118261 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118262 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118263 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118264 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118265 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118266 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118267 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118268 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118269 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118270 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118271 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118272 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118273 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118274 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118275 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118276 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118277 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118278 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118279 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118280 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118281 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118282 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118283 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118284 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118285 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118287 LTCC='$LTCC'
118288 LTCFLAGS='$LTCFLAGS'
118289 compiler='$compiler_DEFAULT'
118291 # Quote evaled strings.
118292 for var in SED \
118293 GREP \
118294 EGREP \
118295 FGREP \
118298 LN_S \
118299 lt_SP2NL \
118300 lt_NL2SP \
118301 reload_flag \
118302 deplibs_check_method \
118303 file_magic_cmd \
118305 AR_FLAGS \
118306 STRIP \
118307 RANLIB \
118309 CFLAGS \
118310 compiler \
118311 lt_cv_sys_global_symbol_pipe \
118312 lt_cv_sys_global_symbol_to_cdecl \
118313 lt_cv_sys_global_symbol_to_c_name_address \
118314 SHELL \
118315 ECHO \
118316 lt_prog_compiler_no_builtin_flag \
118317 lt_prog_compiler_wl \
118318 lt_prog_compiler_pic \
118319 lt_prog_compiler_static \
118320 lt_cv_prog_compiler_c_o \
118321 need_locks \
118322 shrext_cmds \
118323 export_dynamic_flag_spec \
118324 whole_archive_flag_spec \
118325 compiler_needs_object \
118326 with_gnu_ld \
118327 allow_undefined_flag \
118328 no_undefined_flag \
118329 hardcode_libdir_flag_spec \
118330 hardcode_libdir_flag_spec_ld \
118331 hardcode_libdir_separator \
118332 fix_srcfile_path \
118333 exclude_expsyms \
118334 include_expsyms \
118335 file_list_spec \
118336 variables_saved_for_relink \
118337 libname_spec \
118338 library_names_spec \
118339 soname_spec \
118340 finish_eval \
118341 old_striplib \
118342 striplib \
118343 predep_objects \
118344 postdep_objects \
118345 predeps \
118346 postdeps \
118347 compiler_lib_search_path \
118348 LD_CXX \
118349 compiler_CXX \
118350 lt_prog_compiler_no_builtin_flag_CXX \
118351 lt_prog_compiler_wl_CXX \
118352 lt_prog_compiler_pic_CXX \
118353 lt_prog_compiler_static_CXX \
118354 lt_cv_prog_compiler_c_o_CXX \
118355 export_dynamic_flag_spec_CXX \
118356 whole_archive_flag_spec_CXX \
118357 compiler_needs_object_CXX \
118358 with_gnu_ld_CXX \
118359 allow_undefined_flag_CXX \
118360 no_undefined_flag_CXX \
118361 hardcode_libdir_flag_spec_CXX \
118362 hardcode_libdir_flag_spec_ld_CXX \
118363 hardcode_libdir_separator_CXX \
118364 fix_srcfile_path_CXX \
118365 exclude_expsyms_CXX \
118366 include_expsyms_CXX \
118367 file_list_spec_CXX \
118368 predep_objects_CXX \
118369 postdep_objects_CXX \
118370 predeps_CXX \
118371 postdeps_CXX \
118372 compiler_lib_search_path_CXX; do
118373 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
118374 *[\\\\\\\`\\"\\\$]*)
118375 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
118378 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
118383 # Double-quote double-evaled strings.
118384 for var in reload_cmds \
118385 old_postinstall_cmds \
118386 old_postuninstall_cmds \
118387 old_archive_cmds \
118388 extract_expsyms_cmds \
118389 old_archive_from_new_cmds \
118390 old_archive_from_expsyms_cmds \
118391 archive_cmds \
118392 archive_expsym_cmds \
118393 module_cmds \
118394 module_expsym_cmds \
118395 export_symbols_cmds \
118396 prelink_cmds \
118397 postinstall_cmds \
118398 postuninstall_cmds \
118399 finish_cmds \
118400 sys_lib_search_path_spec \
118401 sys_lib_dlsearch_path_spec \
118402 old_archive_cmds_CXX \
118403 old_archive_from_new_cmds_CXX \
118404 old_archive_from_expsyms_cmds_CXX \
118405 archive_cmds_CXX \
118406 archive_expsym_cmds_CXX \
118407 module_cmds_CXX \
118408 module_expsym_cmds_CXX \
118409 export_symbols_cmds_CXX \
118410 prelink_cmds_CXX; do
118411 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
118412 *[\\\\\\\`\\"\\\$]*)
118413 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
118416 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
118421 # Fix-up fallback echo if it was mangled by the above quoting rules.
118422 case \$lt_ECHO in
118423 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
118427 ac_aux_dir='$ac_aux_dir'
118428 xsi_shell='$xsi_shell'
118429 lt_shell_append='$lt_shell_append'
118431 # See if we are running on zsh, and set the options which allow our
118432 # commands through without removal of \ escapes INIT.
118433 if test -n "\${ZSH_VERSION+set}" ; then
118434 setopt NO_GLOB_SUBST
118438 PACKAGE='$PACKAGE'
118439 VERSION='$VERSION'
118440 TIMESTAMP='$TIMESTAMP'
118441 RM='$RM'
118442 ofile='$ofile'
118449 # Variables needed in config.status (file generation) which aren't already
118450 # passed by autoconf.
118451 SUBDIRS="$SUBDIRS"
118454 _ACEOF
118458 cat >>$CONFIG_STATUS <<\_ACEOF
118459 for ac_config_target in $ac_config_targets
118461 case "$ac_config_target" in
118462 # Handling of arguments.
118463 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
118464 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
118465 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
118466 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
118467 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
118468 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
118469 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
118470 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
118471 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
118472 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
118473 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
118474 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
118475 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
118476 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
118477 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
118478 { (exit 1); exit 1; }; };;
118482 # If the user did not use the arguments to specify the items to instantiate,
118483 # then the envvar interface is used. Set only those that are not.
118484 # We use the long form for the default assignment because of an extremely
118485 # bizarre bug on SunOS 4.1.3.
118486 if $ac_need_defaults; then
118487 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
118488 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
118489 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
118492 # Have a temporary directory for convenience. Make it in the build tree
118493 # simply because there is no reason to put it here, and in addition,
118494 # creating and moving files from /tmp can sometimes cause problems.
118495 # Create a temporary directory, and hook for its removal unless debugging.
118496 $debug ||
118498 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
118499 trap '{ (exit 1); exit 1; }' 1 2 13 15
118502 # Create a (secure) tmp directory for tmp files.
118505 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
118506 test -n "$tmp" && test -d "$tmp"
118509 tmp=./confstat$$-$RANDOM
118510 (umask 077 && mkdir $tmp)
118513 echo "$me: cannot create a temporary directory in ." >&2
118514 { (exit 1); exit 1; }
118517 _ACEOF
118519 cat >>$CONFIG_STATUS <<_ACEOF
118522 # CONFIG_FILES section.
118525 # No need to generate the scripts if there are no CONFIG_FILES.
118526 # This happens for instance when ./config.status config.h
118527 if test -n "\$CONFIG_FILES"; then
118528 # Protect against being on the right side of a sed subst in config.status.
118529 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
118530 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
118531 s,@SHELL@,$SHELL,;t t
118532 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
118533 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
118534 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
118535 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
118536 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
118537 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
118538 s,@exec_prefix@,$exec_prefix,;t t
118539 s,@prefix@,$prefix,;t t
118540 s,@program_transform_name@,$program_transform_name,;t t
118541 s,@bindir@,$bindir,;t t
118542 s,@sbindir@,$sbindir,;t t
118543 s,@libexecdir@,$libexecdir,;t t
118544 s,@datadir@,$datadir,;t t
118545 s,@sysconfdir@,$sysconfdir,;t t
118546 s,@sharedstatedir@,$sharedstatedir,;t t
118547 s,@localstatedir@,$localstatedir,;t t
118548 s,@libdir@,$libdir,;t t
118549 s,@includedir@,$includedir,;t t
118550 s,@oldincludedir@,$oldincludedir,;t t
118551 s,@infodir@,$infodir,;t t
118552 s,@mandir@,$mandir,;t t
118553 s,@build_alias@,$build_alias,;t t
118554 s,@host_alias@,$host_alias,;t t
118555 s,@target_alias@,$target_alias,;t t
118556 s,@DEFS@,$DEFS,;t t
118557 s,@ECHO_C@,$ECHO_C,;t t
118558 s,@ECHO_N@,$ECHO_N,;t t
118559 s,@ECHO_T@,$ECHO_T,;t t
118560 s,@LIBS@,$LIBS,;t t
118561 s,@libtool_VERSION@,$libtool_VERSION,;t t
118562 s,@multi_basedir@,$multi_basedir,;t t
118563 s,@build@,$build,;t t
118564 s,@build_cpu@,$build_cpu,;t t
118565 s,@build_vendor@,$build_vendor,;t t
118566 s,@build_os@,$build_os,;t t
118567 s,@host@,$host,;t t
118568 s,@host_cpu@,$host_cpu,;t t
118569 s,@host_vendor@,$host_vendor,;t t
118570 s,@host_os@,$host_os,;t t
118571 s,@target@,$target,;t t
118572 s,@target_cpu@,$target_cpu,;t t
118573 s,@target_vendor@,$target_vendor,;t t
118574 s,@target_os@,$target_os,;t t
118575 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
118576 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
118577 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
118578 s,@CYGPATH_W@,$CYGPATH_W,;t t
118579 s,@PACKAGE@,$PACKAGE,;t t
118580 s,@VERSION@,$VERSION,;t t
118581 s,@ACLOCAL@,$ACLOCAL,;t t
118582 s,@AUTOCONF@,$AUTOCONF,;t t
118583 s,@AUTOMAKE@,$AUTOMAKE,;t t
118584 s,@AUTOHEADER@,$AUTOHEADER,;t t
118585 s,@MAKEINFO@,$MAKEINFO,;t t
118586 s,@install_sh@,$install_sh,;t t
118587 s,@STRIP@,$STRIP,;t t
118588 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
118589 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
118590 s,@mkdir_p@,$mkdir_p,;t t
118591 s,@AWK@,$AWK,;t t
118592 s,@SET_MAKE@,$SET_MAKE,;t t
118593 s,@am__leading_dot@,$am__leading_dot,;t t
118594 s,@AMTAR@,$AMTAR,;t t
118595 s,@am__tar@,$am__tar,;t t
118596 s,@am__untar@,$am__untar,;t t
118597 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
118598 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
118599 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
118600 s,@CC@,$CC,;t t
118601 s,@ac_ct_CC@,$ac_ct_CC,;t t
118602 s,@EXEEXT@,$EXEEXT,;t t
118603 s,@OBJEXT@,$OBJEXT,;t t
118604 s,@CXX@,$CXX,;t t
118605 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
118606 s,@CFLAGS@,$CFLAGS,;t t
118607 s,@CXXFLAGS@,$CXXFLAGS,;t t
118608 s,@LN_S@,$LN_S,;t t
118609 s,@AS@,$AS,;t t
118610 s,@ac_ct_AS@,$ac_ct_AS,;t t
118611 s,@AR@,$AR,;t t
118612 s,@ac_ct_AR@,$ac_ct_AR,;t t
118613 s,@RANLIB@,$RANLIB,;t t
118614 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
118615 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
118616 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
118617 s,@MAINT@,$MAINT,;t t
118618 s,@CPP@,$CPP,;t t
118619 s,@CPPFLAGS@,$CPPFLAGS,;t t
118620 s,@EGREP@,$EGREP,;t t
118621 s,@LIBTOOL@,$LIBTOOL,;t t
118622 s,@SED@,$SED,;t t
118623 s,@FGREP@,$FGREP,;t t
118624 s,@GREP@,$GREP,;t t
118625 s,@LD@,$LD,;t t
118626 s,@DUMPBIN@,$DUMPBIN,;t t
118627 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
118628 s,@NM@,$NM,;t t
118629 s,@lt_ECHO@,$lt_ECHO,;t t
118630 s,@LDFLAGS@,$LDFLAGS,;t t
118631 s,@CXXCPP@,$CXXCPP,;t t
118632 s,@enable_shared@,$enable_shared,;t t
118633 s,@enable_static@,$enable_static,;t t
118634 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
118635 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
118636 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
118637 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
118638 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
118639 s,@CSTDIO_H@,$CSTDIO_H,;t t
118640 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
118641 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
118642 s,@check_msgfmt@,$check_msgfmt,;t t
118643 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
118644 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
118645 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
118646 s,@USE_NLS@,$USE_NLS,;t t
118647 s,@CLOCALE_H@,$CLOCALE_H,;t t
118648 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
118649 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
118650 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
118651 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
118652 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
118653 s,@CMONEY_CC@,$CMONEY_CC,;t t
118654 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
118655 s,@CTIME_H@,$CTIME_H,;t t
118656 s,@CTIME_CC@,$CTIME_CC,;t t
118657 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
118658 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
118659 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
118660 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
118661 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
118662 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
118663 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
118664 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
118665 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
118666 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
118667 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
118668 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
118669 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
118670 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
118671 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
118672 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
118673 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
118674 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
118675 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
118676 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
118677 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
118678 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
118679 s,@WERROR@,$WERROR,;t t
118680 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
118681 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
118682 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
118683 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
118684 s,@LIBICONV@,$LIBICONV,;t t
118685 s,@LTLIBICONV@,$LTLIBICONV,;t t
118686 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
118687 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
118688 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
118689 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
118690 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
118691 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
118692 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
118693 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
118694 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
118695 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
118696 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
118697 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
118698 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
118699 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
118700 s,@baseline_dir@,$baseline_dir,;t t
118701 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
118702 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
118703 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
118704 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
118705 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
118706 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
118707 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
118708 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
118709 s,@gxx_include_dir@,$gxx_include_dir,;t t
118710 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
118711 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
118712 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
118713 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
118714 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
118715 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
118716 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
118717 s,@LIBOBJS@,$LIBOBJS,;t t
118718 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
118721 _ACEOF
118723 cat >>$CONFIG_STATUS <<\_ACEOF
118724 # Split the substitutions into bite-sized pieces for seds with
118725 # small command number limits, like on Digital OSF/1 and HP-UX.
118726 ac_max_sed_lines=48
118727 ac_sed_frag=1 # Number of current file.
118728 ac_beg=1 # First line for current file.
118729 ac_end=$ac_max_sed_lines # Line after last line for current file.
118730 ac_more_lines=:
118731 ac_sed_cmds=
118732 while $ac_more_lines; do
118733 if test $ac_beg -gt 1; then
118734 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
118736 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
118738 if test ! -s $tmp/subs.frag; then
118739 ac_more_lines=false
118741 # The purpose of the label and of the branching condition is to
118742 # speed up the sed processing (if there are no `@' at all, there
118743 # is no need to browse any of the substitutions).
118744 # These are the two extra sed commands mentioned above.
118745 (echo ':t
118746 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
118747 if test -z "$ac_sed_cmds"; then
118748 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
118750 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
118752 ac_sed_frag=`expr $ac_sed_frag + 1`
118753 ac_beg=$ac_end
118754 ac_end=`expr $ac_end + $ac_max_sed_lines`
118757 if test -z "$ac_sed_cmds"; then
118758 ac_sed_cmds=cat
118760 fi # test -n "$CONFIG_FILES"
118762 _ACEOF
118763 cat >>$CONFIG_STATUS <<\_ACEOF
118764 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
118765 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
118766 case $ac_file in
118767 - | *:- | *:-:* ) # input from stdin
118768 cat >$tmp/stdin
118769 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
118770 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
118771 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
118772 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
118773 * ) ac_file_in=$ac_file.in ;;
118776 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
118777 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
118778 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118779 X"$ac_file" : 'X\(//\)[^/]' \| \
118780 X"$ac_file" : 'X\(//\)$' \| \
118781 X"$ac_file" : 'X\(/\)' \| \
118782 . : '\(.\)' 2>/dev/null ||
118783 echo X"$ac_file" |
118784 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118785 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118786 /^X\(\/\/\)$/{ s//\1/; q; }
118787 /^X\(\/\).*/{ s//\1/; q; }
118788 s/.*/./; q'`
118789 { if $as_mkdir_p; then
118790 mkdir -p "$ac_dir"
118792 as_dir="$ac_dir"
118793 as_dirs=
118794 while test ! -d "$as_dir"; do
118795 as_dirs="$as_dir $as_dirs"
118796 as_dir=`(dirname "$as_dir") 2>/dev/null ||
118797 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118798 X"$as_dir" : 'X\(//\)[^/]' \| \
118799 X"$as_dir" : 'X\(//\)$' \| \
118800 X"$as_dir" : 'X\(/\)' \| \
118801 . : '\(.\)' 2>/dev/null ||
118802 echo X"$as_dir" |
118803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118804 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118805 /^X\(\/\/\)$/{ s//\1/; q; }
118806 /^X\(\/\).*/{ s//\1/; q; }
118807 s/.*/./; q'`
118809 test ! -n "$as_dirs" || mkdir $as_dirs
118810 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
118811 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
118812 { (exit 1); exit 1; }; }; }
118814 ac_builddir=.
118816 if test "$ac_dir" != .; then
118817 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
118818 # A "../" for each directory in $ac_dir_suffix.
118819 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
118821 ac_dir_suffix= ac_top_builddir=
118824 case $srcdir in
118825 .) # No --srcdir option. We are building in place.
118826 ac_srcdir=.
118827 if test -z "$ac_top_builddir"; then
118828 ac_top_srcdir=.
118830 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
118831 fi ;;
118832 [\\/]* | ?:[\\/]* ) # Absolute path.
118833 ac_srcdir=$srcdir$ac_dir_suffix;
118834 ac_top_srcdir=$srcdir ;;
118835 *) # Relative path.
118836 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
118837 ac_top_srcdir=$ac_top_builddir$srcdir ;;
118840 # Do not use `cd foo && pwd` to compute absolute paths, because
118841 # the directories may not exist.
118842 case `pwd` in
118843 .) ac_abs_builddir="$ac_dir";;
118845 case "$ac_dir" in
118846 .) ac_abs_builddir=`pwd`;;
118847 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
118848 *) ac_abs_builddir=`pwd`/"$ac_dir";;
118849 esac;;
118851 case $ac_abs_builddir in
118852 .) ac_abs_top_builddir=${ac_top_builddir}.;;
118854 case ${ac_top_builddir}. in
118855 .) ac_abs_top_builddir=$ac_abs_builddir;;
118856 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
118857 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
118858 esac;;
118860 case $ac_abs_builddir in
118861 .) ac_abs_srcdir=$ac_srcdir;;
118863 case $ac_srcdir in
118864 .) ac_abs_srcdir=$ac_abs_builddir;;
118865 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
118866 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
118867 esac;;
118869 case $ac_abs_builddir in
118870 .) ac_abs_top_srcdir=$ac_top_srcdir;;
118872 case $ac_top_srcdir in
118873 .) ac_abs_top_srcdir=$ac_abs_builddir;;
118874 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
118875 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
118876 esac;;
118880 case $INSTALL in
118881 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
118882 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
118885 if test x"$ac_file" != x-; then
118886 { echo "$as_me:$LINENO: creating $ac_file" >&5
118887 echo "$as_me: creating $ac_file" >&6;}
118888 rm -f "$ac_file"
118890 # Let's still pretend it is `configure' which instantiates (i.e., don't
118891 # use $as_me), people would be surprised to read:
118892 # /* config.h. Generated by config.status. */
118893 if test x"$ac_file" = x-; then
118894 configure_input=
118896 configure_input="$ac_file. "
118898 configure_input=$configure_input"Generated from `echo $ac_file_in |
118899 sed 's,.*/,,'` by configure."
118901 # First look for the input files in the build tree, otherwise in the
118902 # src tree.
118903 ac_file_inputs=`IFS=:
118904 for f in $ac_file_in; do
118905 case $f in
118906 -) echo $tmp/stdin ;;
118907 [\\/$]*)
118908 # Absolute (can't be DOS-style, as IFS=:)
118909 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
118910 echo "$as_me: error: cannot find input file: $f" >&2;}
118911 { (exit 1); exit 1; }; }
118912 echo "$f";;
118913 *) # Relative
118914 if test -f "$f"; then
118915 # Build tree
118916 echo "$f"
118917 elif test -f "$srcdir/$f"; then
118918 # Source tree
118919 echo "$srcdir/$f"
118921 # /dev/null tree
118922 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
118923 echo "$as_me: error: cannot find input file: $f" >&2;}
118924 { (exit 1); exit 1; }; }
118927 done` || { (exit 1); exit 1; }
118928 _ACEOF
118929 cat >>$CONFIG_STATUS <<_ACEOF
118930 sed "$ac_vpsub
118931 $extrasub
118932 _ACEOF
118933 cat >>$CONFIG_STATUS <<\_ACEOF
118935 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
118936 s,@configure_input@,$configure_input,;t t
118937 s,@srcdir@,$ac_srcdir,;t t
118938 s,@abs_srcdir@,$ac_abs_srcdir,;t t
118939 s,@top_srcdir@,$ac_top_srcdir,;t t
118940 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
118941 s,@builddir@,$ac_builddir,;t t
118942 s,@abs_builddir@,$ac_abs_builddir,;t t
118943 s,@top_builddir@,$ac_top_builddir,;t t
118944 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
118945 s,@INSTALL@,$ac_INSTALL,;t t
118946 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
118947 rm -f $tmp/stdin
118948 if test x"$ac_file" != x-; then
118949 mv $tmp/out $ac_file
118951 cat $tmp/out
118952 rm -f $tmp/out
118955 # Run the commands associated with the file.
118956 case $ac_file in
118957 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
118960 _ACEOF
118961 cat >>$CONFIG_STATUS <<\_ACEOF
118964 # CONFIG_HEADER section.
118967 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
118968 # NAME is the cpp macro being defined and VALUE is the value it is being given.
118970 # ac_d sets the value in "#define NAME VALUE" lines.
118971 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
118972 ac_dB='[ ].*$,\1#\2'
118973 ac_dC=' '
118974 ac_dD=',;t'
118975 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
118976 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
118977 ac_uB='$,\1#\2define\3'
118978 ac_uC=' '
118979 ac_uD=',;t'
118981 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
118982 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
118983 case $ac_file in
118984 - | *:- | *:-:* ) # input from stdin
118985 cat >$tmp/stdin
118986 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
118987 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
118988 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
118989 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
118990 * ) ac_file_in=$ac_file.in ;;
118993 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
118994 echo "$as_me: creating $ac_file" >&6;}
118996 # First look for the input files in the build tree, otherwise in the
118997 # src tree.
118998 ac_file_inputs=`IFS=:
118999 for f in $ac_file_in; do
119000 case $f in
119001 -) echo $tmp/stdin ;;
119002 [\\/$]*)
119003 # Absolute (can't be DOS-style, as IFS=:)
119004 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
119005 echo "$as_me: error: cannot find input file: $f" >&2;}
119006 { (exit 1); exit 1; }; }
119007 # Do quote $f, to prevent DOS paths from being IFS'd.
119008 echo "$f";;
119009 *) # Relative
119010 if test -f "$f"; then
119011 # Build tree
119012 echo "$f"
119013 elif test -f "$srcdir/$f"; then
119014 # Source tree
119015 echo "$srcdir/$f"
119017 # /dev/null tree
119018 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
119019 echo "$as_me: error: cannot find input file: $f" >&2;}
119020 { (exit 1); exit 1; }; }
119023 done` || { (exit 1); exit 1; }
119024 # Remove the trailing spaces.
119025 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
119027 _ACEOF
119029 # Transform confdefs.h into two sed scripts, `conftest.defines' and
119030 # `conftest.undefs', that substitutes the proper values into
119031 # config.h.in to produce config.h. The first handles `#define'
119032 # templates, and the second `#undef' templates.
119033 # And first: Protect against being on the right side of a sed subst in
119034 # config.status. Protect against being in an unquoted here document
119035 # in config.status.
119036 rm -f conftest.defines conftest.undefs
119037 # Using a here document instead of a string reduces the quoting nightmare.
119038 # Putting comments in sed scripts is not portable.
119040 # `end' is used to avoid that the second main sed command (meant for
119041 # 0-ary CPP macros) applies to n-ary macro definitions.
119042 # See the Autoconf documentation for `clear'.
119043 cat >confdef2sed.sed <<\_ACEOF
119044 s/[\\&,]/\\&/g
119045 s,[\\$`],\\&,g
119046 t clear
119047 : clear
119048 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
119049 t end
119050 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
119051 : end
119052 _ACEOF
119053 # If some macros were called several times there might be several times
119054 # the same #defines, which is useless. Nevertheless, we may not want to
119055 # sort them, since we want the *last* AC-DEFINE to be honored.
119056 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
119057 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
119058 rm -f confdef2sed.sed
119060 # This sed command replaces #undef with comments. This is necessary, for
119061 # example, in the case of _POSIX_SOURCE, which is predefined and required
119062 # on some systems where configure will not decide to define it.
119063 cat >>conftest.undefs <<\_ACEOF
119064 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
119065 _ACEOF
119067 # Break up conftest.defines because some shells have a limit on the size
119068 # of here documents, and old seds have small limits too (100 cmds).
119069 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
119070 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
119071 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
119072 echo ' :' >>$CONFIG_STATUS
119073 rm -f conftest.tail
119074 while grep . conftest.defines >/dev/null
119076 # Write a limited-size here document to $tmp/defines.sed.
119077 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
119078 # Speed up: don't consider the non `#define' lines.
119079 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
119080 # Work around the forget-to-reset-the-flag bug.
119081 echo 't clr' >>$CONFIG_STATUS
119082 echo ': clr' >>$CONFIG_STATUS
119083 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
119084 echo 'CEOF
119085 sed -f $tmp/defines.sed $tmp/in >$tmp/out
119086 rm -f $tmp/in
119087 mv $tmp/out $tmp/in
119088 ' >>$CONFIG_STATUS
119089 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
119090 rm -f conftest.defines
119091 mv conftest.tail conftest.defines
119093 rm -f conftest.defines
119094 echo ' fi # grep' >>$CONFIG_STATUS
119095 echo >>$CONFIG_STATUS
119097 # Break up conftest.undefs because some shells have a limit on the size
119098 # of here documents, and old seds have small limits too (100 cmds).
119099 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
119100 rm -f conftest.tail
119101 while grep . conftest.undefs >/dev/null
119103 # Write a limited-size here document to $tmp/undefs.sed.
119104 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
119105 # Speed up: don't consider the non `#undef'
119106 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
119107 # Work around the forget-to-reset-the-flag bug.
119108 echo 't clr' >>$CONFIG_STATUS
119109 echo ': clr' >>$CONFIG_STATUS
119110 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
119111 echo 'CEOF
119112 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
119113 rm -f $tmp/in
119114 mv $tmp/out $tmp/in
119115 ' >>$CONFIG_STATUS
119116 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
119117 rm -f conftest.undefs
119118 mv conftest.tail conftest.undefs
119120 rm -f conftest.undefs
119122 cat >>$CONFIG_STATUS <<\_ACEOF
119123 # Let's still pretend it is `configure' which instantiates (i.e., don't
119124 # use $as_me), people would be surprised to read:
119125 # /* config.h. Generated by config.status. */
119126 if test x"$ac_file" = x-; then
119127 echo "/* Generated by configure. */" >$tmp/config.h
119129 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
119131 cat $tmp/in >>$tmp/config.h
119132 rm -f $tmp/in
119133 if test x"$ac_file" != x-; then
119134 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
119135 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
119136 echo "$as_me: $ac_file is unchanged" >&6;}
119138 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
119139 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
119140 X"$ac_file" : 'X\(//\)[^/]' \| \
119141 X"$ac_file" : 'X\(//\)$' \| \
119142 X"$ac_file" : 'X\(/\)' \| \
119143 . : '\(.\)' 2>/dev/null ||
119144 echo X"$ac_file" |
119145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
119146 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
119147 /^X\(\/\/\)$/{ s//\1/; q; }
119148 /^X\(\/\).*/{ s//\1/; q; }
119149 s/.*/./; q'`
119150 { if $as_mkdir_p; then
119151 mkdir -p "$ac_dir"
119153 as_dir="$ac_dir"
119154 as_dirs=
119155 while test ! -d "$as_dir"; do
119156 as_dirs="$as_dir $as_dirs"
119157 as_dir=`(dirname "$as_dir") 2>/dev/null ||
119158 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
119159 X"$as_dir" : 'X\(//\)[^/]' \| \
119160 X"$as_dir" : 'X\(//\)$' \| \
119161 X"$as_dir" : 'X\(/\)' \| \
119162 . : '\(.\)' 2>/dev/null ||
119163 echo X"$as_dir" |
119164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
119165 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
119166 /^X\(\/\/\)$/{ s//\1/; q; }
119167 /^X\(\/\).*/{ s//\1/; q; }
119168 s/.*/./; q'`
119170 test ! -n "$as_dirs" || mkdir $as_dirs
119171 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
119172 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
119173 { (exit 1); exit 1; }; }; }
119175 rm -f $ac_file
119176 mv $tmp/config.h $ac_file
119179 cat $tmp/config.h
119180 rm -f $tmp/config.h
119182 # Compute $ac_file's index in $config_headers.
119183 _am_stamp_count=1
119184 for _am_header in $config_headers :; do
119185 case $_am_header in
119186 $ac_file | $ac_file:* )
119187 break ;;
119189 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
119192 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
119193 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
119194 X$ac_file : 'X\(//\)[^/]' \| \
119195 X$ac_file : 'X\(//\)$' \| \
119196 X$ac_file : 'X\(/\)' \| \
119197 . : '\(.\)' 2>/dev/null ||
119198 echo X$ac_file |
119199 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
119200 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
119201 /^X\(\/\/\)$/{ s//\1/; q; }
119202 /^X\(\/\).*/{ s//\1/; q; }
119203 s/.*/./; q'`/stamp-h$_am_stamp_count
119205 _ACEOF
119206 cat >>$CONFIG_STATUS <<\_ACEOF
119209 # CONFIG_COMMANDS section.
119211 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
119212 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
119213 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
119214 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
119215 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
119216 X"$ac_dest" : 'X\(//\)[^/]' \| \
119217 X"$ac_dest" : 'X\(//\)$' \| \
119218 X"$ac_dest" : 'X\(/\)' \| \
119219 . : '\(.\)' 2>/dev/null ||
119220 echo X"$ac_dest" |
119221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
119222 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
119223 /^X\(\/\/\)$/{ s//\1/; q; }
119224 /^X\(\/\).*/{ s//\1/; q; }
119225 s/.*/./; q'`
119226 { if $as_mkdir_p; then
119227 mkdir -p "$ac_dir"
119229 as_dir="$ac_dir"
119230 as_dirs=
119231 while test ! -d "$as_dir"; do
119232 as_dirs="$as_dir $as_dirs"
119233 as_dir=`(dirname "$as_dir") 2>/dev/null ||
119234 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
119235 X"$as_dir" : 'X\(//\)[^/]' \| \
119236 X"$as_dir" : 'X\(//\)$' \| \
119237 X"$as_dir" : 'X\(/\)' \| \
119238 . : '\(.\)' 2>/dev/null ||
119239 echo X"$as_dir" |
119240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
119241 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
119242 /^X\(\/\/\)$/{ s//\1/; q; }
119243 /^X\(\/\).*/{ s//\1/; q; }
119244 s/.*/./; q'`
119246 test ! -n "$as_dirs" || mkdir $as_dirs
119247 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
119248 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
119249 { (exit 1); exit 1; }; }; }
119251 ac_builddir=.
119253 if test "$ac_dir" != .; then
119254 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
119255 # A "../" for each directory in $ac_dir_suffix.
119256 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
119258 ac_dir_suffix= ac_top_builddir=
119261 case $srcdir in
119262 .) # No --srcdir option. We are building in place.
119263 ac_srcdir=.
119264 if test -z "$ac_top_builddir"; then
119265 ac_top_srcdir=.
119267 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
119268 fi ;;
119269 [\\/]* | ?:[\\/]* ) # Absolute path.
119270 ac_srcdir=$srcdir$ac_dir_suffix;
119271 ac_top_srcdir=$srcdir ;;
119272 *) # Relative path.
119273 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
119274 ac_top_srcdir=$ac_top_builddir$srcdir ;;
119277 # Do not use `cd foo && pwd` to compute absolute paths, because
119278 # the directories may not exist.
119279 case `pwd` in
119280 .) ac_abs_builddir="$ac_dir";;
119282 case "$ac_dir" in
119283 .) ac_abs_builddir=`pwd`;;
119284 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
119285 *) ac_abs_builddir=`pwd`/"$ac_dir";;
119286 esac;;
119288 case $ac_abs_builddir in
119289 .) ac_abs_top_builddir=${ac_top_builddir}.;;
119291 case ${ac_top_builddir}. in
119292 .) ac_abs_top_builddir=$ac_abs_builddir;;
119293 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
119294 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
119295 esac;;
119297 case $ac_abs_builddir in
119298 .) ac_abs_srcdir=$ac_srcdir;;
119300 case $ac_srcdir in
119301 .) ac_abs_srcdir=$ac_abs_builddir;;
119302 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
119303 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
119304 esac;;
119306 case $ac_abs_builddir in
119307 .) ac_abs_top_srcdir=$ac_top_srcdir;;
119309 case $ac_top_srcdir in
119310 .) ac_abs_top_srcdir=$ac_abs_builddir;;
119311 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
119312 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
119313 esac;;
119317 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
119318 echo "$as_me: executing $ac_dest commands" >&6;}
119319 case $ac_dest in
119320 default-1 )
119321 # Only add multilib support code if we just rebuilt the top-level
119322 # Makefile.
119323 case " $CONFIG_FILES " in
119324 *" Makefile "*)
119325 ac_file=Makefile . ${multi_basedir}/config-ml.in
119327 esac ;;
119328 libtool )
119330 # See if we are running on zsh, and set the options which allow our
119331 # commands through without removal of \ escapes.
119332 if test -n "${ZSH_VERSION+set}" ; then
119333 setopt NO_GLOB_SUBST
119336 cfgfile="${ofile}T"
119337 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
119338 $RM "$cfgfile"
119340 cat <<_LT_EOF >> "$cfgfile"
119341 #! $SHELL
119343 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
119344 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
119345 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
119346 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
119348 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
119349 # 2006, 2007 Free Software Foundation, Inc.
119351 # This file is part of GNU Libtool:
119352 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
119354 # This program is free software; you can redistribute it and/or modify
119355 # it under the terms of the GNU General Public License as published by
119356 # the Free Software Foundation; either version 2 of the License, or
119357 # (at your option) any later version.
119359 # This program is distributed in the hope that it will be useful, but
119360 # WITHOUT ANY WARRANTY; without even the implied warranty of
119361 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
119362 # General Public License for more details.
119364 # You should have received a copy of the GNU General Public License
119365 # along with this program; if not, a copy can be downloaded from
119366 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
119367 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
119368 # MA 02110-1301, USA.
119370 # As a special exception to the GNU General Public License, if you
119371 # distribute this file as part of a program that contains a
119372 # configuration script generated by Autoconf, you may include it under
119373 # the same distribution terms that you use for the rest of that program.
119376 # The names of the tagged configurations supported by this script.
119377 available_tags="CXX "
119379 # ### BEGIN LIBTOOL CONFIG
119381 # Which release of libtool.m4 was used?
119382 macro_version=$macro_version
119383 macro_revision=$macro_revision
119385 # Whether or not to build shared libraries.
119386 build_libtool_libs=$enable_shared
119388 # Whether or not to build static libraries.
119389 build_old_libs=$enable_static
119391 # What type of objects to build.
119392 pic_mode=$pic_mode
119394 # Whether or not to optimize for fast installation.
119395 fast_install=$enable_fast_install
119397 # The host system.
119398 host_alias=$host_alias
119399 host=$host
119400 host_os=$host_os
119402 # The build system.
119403 build_alias=$build_alias
119404 build=$build
119405 build_os=$build_os
119407 # A sed program that does not truncate output.
119408 SED=$lt_SED
119410 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
119411 Xsed="\$SED -e 1s/^X//"
119413 # A grep program that handles long lines.
119414 GREP=$lt_GREP
119416 # An ERE matcher.
119417 EGREP=$lt_EGREP
119419 # A literal string matcher.
119420 FGREP=$lt_FGREP
119422 # A BSD- or MS-compatible name lister.
119423 NM=$lt_NM
119425 # Whether we need soft or hard links.
119426 LN_S=$lt_LN_S
119428 # What is the maximum length of a command?
119429 max_cmd_len=$max_cmd_len
119431 # Object file suffix (normally "o").
119432 objext=$ac_objext
119434 # Executable file suffix (normally "").
119435 exeext=$exeext
119437 # whether the shell understands "unset".
119438 lt_unset=$lt_unset
119440 # turn spaces into newlines.
119441 SP2NL=$lt_lt_SP2NL
119443 # turn newlines into spaces.
119444 NL2SP=$lt_lt_NL2SP
119446 # How to create reloadable object files.
119447 reload_flag=$lt_reload_flag
119448 reload_cmds=$lt_reload_cmds
119450 # Method to check whether dependent libraries are shared objects.
119451 deplibs_check_method=$lt_deplibs_check_method
119453 # Command to use when deplibs_check_method == "file_magic".
119454 file_magic_cmd=$lt_file_magic_cmd
119456 # The archiver.
119457 AR=$lt_AR
119458 AR_FLAGS=$lt_AR_FLAGS
119460 # A symbol stripping program.
119461 STRIP=$lt_STRIP
119463 # Commands used to install an old-style archive.
119464 RANLIB=$lt_RANLIB
119465 old_postinstall_cmds=$lt_old_postinstall_cmds
119466 old_postuninstall_cmds=$lt_old_postuninstall_cmds
119468 # A C compiler.
119469 LTCC=$lt_CC
119471 # LTCC compiler flags.
119472 LTCFLAGS=$lt_CFLAGS
119474 # Take the output of nm and produce a listing of raw symbols and C names.
119475 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
119477 # Transform the output of nm in a proper C declaration.
119478 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
119480 # Transform the output of nm in a C name address pair.
119481 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
119483 # The name of the directory that contains temporary libtool files.
119484 objdir=$objdir
119486 # Shell to use when invoking shell scripts.
119487 SHELL=$lt_SHELL
119489 # An echo program that does not interpret backslashes.
119490 ECHO=$lt_ECHO
119492 # Used to examine libraries when file_magic_cmd begins with "file".
119493 MAGIC_CMD=$MAGIC_CMD
119495 # Must we lock files when doing compilation?
119496 need_locks=$lt_need_locks
119498 # Old archive suffix (normally "a").
119499 libext=$libext
119501 # Shared library suffix (normally ".so").
119502 shrext_cmds=$lt_shrext_cmds
119504 # The commands to extract the exported symbol list from a shared archive.
119505 extract_expsyms_cmds=$lt_extract_expsyms_cmds
119507 # Variables whose values should be saved in libtool wrapper scripts and
119508 # restored at link time.
119509 variables_saved_for_relink=$lt_variables_saved_for_relink
119511 # Do we need the "lib" prefix for modules?
119512 need_lib_prefix=$need_lib_prefix
119514 # Do we need a version for libraries?
119515 need_version=$need_version
119517 # Library versioning type.
119518 version_type=$version_type
119520 # Shared library runtime path variable.
119521 runpath_var=$runpath_var
119523 # Shared library path variable.
119524 shlibpath_var=$shlibpath_var
119526 # Is shlibpath searched before the hard-coded library search path?
119527 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
119529 # Format of library name prefix.
119530 libname_spec=$lt_libname_spec
119532 # List of archive names. First name is the real one, the rest are links.
119533 # The last name is the one that the linker finds with -lNAME
119534 library_names_spec=$lt_library_names_spec
119536 # The coded name of the library, if different from the real name.
119537 soname_spec=$lt_soname_spec
119539 # Command to use after installation of a shared archive.
119540 postinstall_cmds=$lt_postinstall_cmds
119542 # Command to use after uninstallation of a shared archive.
119543 postuninstall_cmds=$lt_postuninstall_cmds
119545 # Commands used to finish a libtool library installation in a directory.
119546 finish_cmds=$lt_finish_cmds
119548 # As "finish_cmds", except a single script fragment to be evaled but
119549 # not shown.
119550 finish_eval=$lt_finish_eval
119552 # Whether we should hardcode library paths into libraries.
119553 hardcode_into_libs=$hardcode_into_libs
119555 # Compile-time system search path for libraries.
119556 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
119558 # Run-time system search path for libraries.
119559 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
119561 # Whether dlopen is supported.
119562 dlopen_support=$enable_dlopen
119564 # Whether dlopen of programs is supported.
119565 dlopen_self=$enable_dlopen_self
119567 # Whether dlopen of statically linked programs is supported.
119568 dlopen_self_static=$enable_dlopen_self_static
119570 # Commands to strip libraries.
119571 old_striplib=$lt_old_striplib
119572 striplib=$lt_striplib
119575 # The linker used to build libraries.
119576 LD=$lt_LD
119578 # Commands used to build an old-style archive.
119579 old_archive_cmds=$lt_old_archive_cmds
119581 # A language specific compiler.
119582 CC=$lt_compiler
119584 # Is the compiler the GNU compiler?
119585 with_gcc=$GCC
119587 # Compiler flag to turn off builtin functions.
119588 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
119590 # How to pass a linker flag through the compiler.
119591 wl=$lt_lt_prog_compiler_wl
119593 # Additional compiler flags for building library objects.
119594 pic_flag=$lt_lt_prog_compiler_pic
119596 # Compiler flag to prevent dynamic linking.
119597 link_static_flag=$lt_lt_prog_compiler_static
119599 # Does compiler simultaneously support -c and -o options?
119600 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
119602 # Whether or not to add -lc for building shared libraries.
119603 build_libtool_need_lc=$archive_cmds_need_lc
119605 # Whether or not to disallow shared libs when runtime libs are static.
119606 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
119608 # Compiler flag to allow reflexive dlopens.
119609 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
119611 # Compiler flag to generate shared objects directly from archives.
119612 whole_archive_flag_spec=$lt_whole_archive_flag_spec
119614 # Whether the compiler copes with passing no objects directly.
119615 compiler_needs_object=$lt_compiler_needs_object
119617 # Create an old-style archive from a shared archive.
119618 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
119620 # Create a temporary old-style archive to link instead of a shared archive.
119621 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
119623 # Commands used to build a shared archive.
119624 archive_cmds=$lt_archive_cmds
119625 archive_expsym_cmds=$lt_archive_expsym_cmds
119627 # Commands used to build a loadable module if different from building
119628 # a shared archive.
119629 module_cmds=$lt_module_cmds
119630 module_expsym_cmds=$lt_module_expsym_cmds
119632 # Whether we are building with GNU ld or not.
119633 with_gnu_ld=$lt_with_gnu_ld
119635 # Flag that allows shared libraries with undefined symbols to be built.
119636 allow_undefined_flag=$lt_allow_undefined_flag
119638 # Flag that enforces no undefined symbols.
119639 no_undefined_flag=$lt_no_undefined_flag
119641 # Flag to hardcode \$libdir into a binary during linking.
119642 # This must work even if \$libdir does not exist
119643 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
119645 # If ld is used when linking, flag to hardcode \$libdir into a binary
119646 # during linking. This must work even if \$libdir does not exist.
119647 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
119649 # Whether we need a single "-rpath" flag with a separated argument.
119650 hardcode_libdir_separator=$lt_hardcode_libdir_separator
119652 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
119653 # DIR into the resulting binary.
119654 hardcode_direct=$hardcode_direct
119656 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
119657 # DIR into the resulting binary and the resulting library dependency is
119658 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
119659 # library is relocated.
119660 hardcode_direct_absolute=$hardcode_direct_absolute
119662 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
119663 # into the resulting binary.
119664 hardcode_minus_L=$hardcode_minus_L
119666 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
119667 # into the resulting binary.
119668 hardcode_shlibpath_var=$hardcode_shlibpath_var
119670 # Set to "yes" if building a shared library automatically hardcodes DIR
119671 # into the library and all subsequent libraries and executables linked
119672 # against it.
119673 hardcode_automatic=$hardcode_automatic
119675 # Set to yes if linker adds runtime paths of dependent libraries
119676 # to runtime path list.
119677 inherit_rpath=$inherit_rpath
119679 # Whether libtool must link a program against all its dependency libraries.
119680 link_all_deplibs=$link_all_deplibs
119682 # Fix the shell variable \$srcfile for the compiler.
119683 fix_srcfile_path=$lt_fix_srcfile_path
119685 # Set to "yes" if exported symbols are required.
119686 always_export_symbols=$always_export_symbols
119688 # The commands to list exported symbols.
119689 export_symbols_cmds=$lt_export_symbols_cmds
119691 # Symbols that should not be listed in the preloaded symbols.
119692 exclude_expsyms=$lt_exclude_expsyms
119694 # Symbols that must always be exported.
119695 include_expsyms=$lt_include_expsyms
119697 # Commands necessary for linking programs (against libraries) with templates.
119698 prelink_cmds=$lt_prelink_cmds
119700 # Specify filename containing input files.
119701 file_list_spec=$lt_file_list_spec
119703 # How to hardcode a shared library path into an executable.
119704 hardcode_action=$hardcode_action
119706 # Dependencies to place before and after the objects being linked to
119707 # create a shared library.
119708 predep_objects=$lt_predep_objects
119709 postdep_objects=$lt_postdep_objects
119710 predeps=$lt_predeps
119711 postdeps=$lt_postdeps
119713 # The library search path used internally by the compiler when linking
119714 # a shared library.
119715 compiler_lib_search_path=$lt_compiler_lib_search_path
119717 # ### END LIBTOOL CONFIG
119719 _LT_EOF
119721 case $host_os in
119722 aix3*)
119723 cat <<\_LT_EOF >> "$cfgfile"
119724 # AIX sometimes has problems with the GCC collect2 program. For some
119725 # reason, if we set the COLLECT_NAMES environment variable, the problems
119726 # vanish in a puff of smoke.
119727 if test "X${COLLECT_NAMES+set}" != Xset; then
119728 COLLECT_NAMES=
119729 export COLLECT_NAMES
119731 _LT_EOF
119736 ltmain="$ac_aux_dir/ltmain.sh"
119739 # We use sed instead of cat because bash on DJGPP gets confused if
119740 # if finds mixed CR/LF and LF-only lines. Since sed operates in
119741 # text mode, it properly converts lines to CR/LF. This bash problem
119742 # is reportedly fixed, but why not run on old versions too?
119743 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
119744 || (rm -f "$cfgfile"; exit 1)
119746 case $xsi_shell in
119748 cat << \_LT_EOF >> "$cfgfile"
119749 # func_dirname file append nondir_replacement
119750 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
119751 # otherwise set result to NONDIR_REPLACEMENT.
119752 func_dirname ()
119754 case ${1} in
119755 */*) func_dirname_result="${1%/*}${2}" ;;
119756 * ) func_dirname_result="${3}" ;;
119760 # func_basename file
119761 func_basename ()
119763 func_basename_result="${1##*/}"
119766 # func_stripname prefix suffix name
119767 # strip PREFIX and SUFFIX off of NAME.
119768 # PREFIX and SUFFIX must not contain globbing or regex special
119769 # characters, hashes, percent signs, but SUFFIX may contain a leading
119770 # dot (in which case that matches only a dot).
119771 func_stripname ()
119773 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
119774 # positional parameters, so assign one to ordinary parameter first.
119775 func_stripname_result=${3}
119776 func_stripname_result=${func_stripname_result#"${1}"}
119777 func_stripname_result=${func_stripname_result%"${2}"}
119780 # func_opt_split
119781 func_opt_split ()
119783 func_opt_split_opt=${1%%=*}
119784 func_opt_split_arg=${1#*=}
119787 # func_lo2o object
119788 func_lo2o ()
119790 case ${1} in
119791 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
119792 *) func_lo2o_result=${1} ;;
119795 _LT_EOF
119797 *) # Bourne compatible functions.
119798 cat << \_LT_EOF >> "$cfgfile"
119799 # func_dirname file append nondir_replacement
119800 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
119801 # otherwise set result to NONDIR_REPLACEMENT.
119802 func_dirname ()
119804 # Extract subdirectory from the argument.
119805 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
119806 if test "X$func_dirname_result" = "X${1}"; then
119807 func_dirname_result="${3}"
119809 func_dirname_result="$func_dirname_result${2}"
119813 # func_basename file
119814 func_basename ()
119816 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
119819 # func_stripname prefix suffix name
119820 # strip PREFIX and SUFFIX off of NAME.
119821 # PREFIX and SUFFIX must not contain globbing or regex special
119822 # characters, hashes, percent signs, but SUFFIX may contain a leading
119823 # dot (in which case that matches only a dot).
119824 # func_strip_suffix prefix name
119825 func_stripname ()
119827 case ${2} in
119828 .*) func_stripname_result=`$ECHO "X${3}" \
119829 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
119830 *) func_stripname_result=`$ECHO "X${3}" \
119831 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
119835 # sed scripts:
119836 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
119837 my_sed_long_arg='1s/^-[^=]*=//'
119839 # func_opt_split
119840 func_opt_split ()
119842 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
119843 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
119846 # func_lo2o object
119847 func_lo2o ()
119849 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
119851 _LT_EOF
119854 case $lt_shell_append in
119856 cat << \_LT_EOF >> "$cfgfile"
119858 # func_append var value
119859 # Append VALUE to the end of shell variable VAR.
119860 func_append ()
119862 eval "$1+=\$2"
119864 _LT_EOF
119867 cat << \_LT_EOF >> "$cfgfile"
119869 # func_append var value
119870 # Append VALUE to the end of shell variable VAR.
119871 func_append ()
119873 eval "$1=\$$1\$2"
119875 _LT_EOF
119880 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
119881 || (rm -f "$cfgfile"; exit 1)
119883 mv -f "$cfgfile" "$ofile" ||
119884 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
119885 chmod +x "$ofile"
119888 cat <<_LT_EOF >> "$ofile"
119890 # ### BEGIN LIBTOOL TAG CONFIG: CXX
119892 # The linker used to build libraries.
119893 LD=$lt_LD_CXX
119895 # Commands used to build an old-style archive.
119896 old_archive_cmds=$lt_old_archive_cmds_CXX
119898 # A language specific compiler.
119899 CC=$lt_compiler_CXX
119901 # Is the compiler the GNU compiler?
119902 with_gcc=$GCC_CXX
119904 # Compiler flag to turn off builtin functions.
119905 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
119907 # How to pass a linker flag through the compiler.
119908 wl=$lt_lt_prog_compiler_wl_CXX
119910 # Additional compiler flags for building library objects.
119911 pic_flag=$lt_lt_prog_compiler_pic_CXX
119913 # Compiler flag to prevent dynamic linking.
119914 link_static_flag=$lt_lt_prog_compiler_static_CXX
119916 # Does compiler simultaneously support -c and -o options?
119917 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
119919 # Whether or not to add -lc for building shared libraries.
119920 build_libtool_need_lc=$archive_cmds_need_lc_CXX
119922 # Whether or not to disallow shared libs when runtime libs are static.
119923 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
119925 # Compiler flag to allow reflexive dlopens.
119926 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
119928 # Compiler flag to generate shared objects directly from archives.
119929 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
119931 # Whether the compiler copes with passing no objects directly.
119932 compiler_needs_object=$lt_compiler_needs_object_CXX
119934 # Create an old-style archive from a shared archive.
119935 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
119937 # Create a temporary old-style archive to link instead of a shared archive.
119938 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
119940 # Commands used to build a shared archive.
119941 archive_cmds=$lt_archive_cmds_CXX
119942 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
119944 # Commands used to build a loadable module if different from building
119945 # a shared archive.
119946 module_cmds=$lt_module_cmds_CXX
119947 module_expsym_cmds=$lt_module_expsym_cmds_CXX
119949 # Whether we are building with GNU ld or not.
119950 with_gnu_ld=$lt_with_gnu_ld_CXX
119952 # Flag that allows shared libraries with undefined symbols to be built.
119953 allow_undefined_flag=$lt_allow_undefined_flag_CXX
119955 # Flag that enforces no undefined symbols.
119956 no_undefined_flag=$lt_no_undefined_flag_CXX
119958 # Flag to hardcode \$libdir into a binary during linking.
119959 # This must work even if \$libdir does not exist
119960 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
119962 # If ld is used when linking, flag to hardcode \$libdir into a binary
119963 # during linking. This must work even if \$libdir does not exist.
119964 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
119966 # Whether we need a single "-rpath" flag with a separated argument.
119967 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
119969 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
119970 # DIR into the resulting binary.
119971 hardcode_direct=$hardcode_direct_CXX
119973 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
119974 # DIR into the resulting binary and the resulting library dependency is
119975 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
119976 # library is relocated.
119977 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
119979 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
119980 # into the resulting binary.
119981 hardcode_minus_L=$hardcode_minus_L_CXX
119983 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
119984 # into the resulting binary.
119985 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
119987 # Set to "yes" if building a shared library automatically hardcodes DIR
119988 # into the library and all subsequent libraries and executables linked
119989 # against it.
119990 hardcode_automatic=$hardcode_automatic_CXX
119992 # Set to yes if linker adds runtime paths of dependent libraries
119993 # to runtime path list.
119994 inherit_rpath=$inherit_rpath_CXX
119996 # Whether libtool must link a program against all its dependency libraries.
119997 link_all_deplibs=$link_all_deplibs_CXX
119999 # Fix the shell variable \$srcfile for the compiler.
120000 fix_srcfile_path=$lt_fix_srcfile_path_CXX
120002 # Set to "yes" if exported symbols are required.
120003 always_export_symbols=$always_export_symbols_CXX
120005 # The commands to list exported symbols.
120006 export_symbols_cmds=$lt_export_symbols_cmds_CXX
120008 # Symbols that should not be listed in the preloaded symbols.
120009 exclude_expsyms=$lt_exclude_expsyms_CXX
120011 # Symbols that must always be exported.
120012 include_expsyms=$lt_include_expsyms_CXX
120014 # Commands necessary for linking programs (against libraries) with templates.
120015 prelink_cmds=$lt_prelink_cmds_CXX
120017 # Specify filename containing input files.
120018 file_list_spec=$lt_file_list_spec_CXX
120020 # How to hardcode a shared library path into an executable.
120021 hardcode_action=$hardcode_action_CXX
120023 # Dependencies to place before and after the objects being linked to
120024 # create a shared library.
120025 predep_objects=$lt_predep_objects_CXX
120026 postdep_objects=$lt_postdep_objects_CXX
120027 predeps=$lt_predeps_CXX
120028 postdeps=$lt_postdeps_CXX
120030 # The library search path used internally by the compiler when linking
120031 # a shared library.
120032 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
120034 # ### END LIBTOOL TAG CONFIG: CXX
120035 _LT_EOF
120038 default ) if test -n "$CONFIG_FILES"; then
120039 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
120040 # that multilib installs will end up installed in the correct place.
120041 # The testsuite needs it for multilib-aware ABI baseline files.
120042 # To work around this not being passed down from config-ml.in ->
120043 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
120044 # append it here. Only modify Makefiles that have just been created.
120046 # Also, get rid of this simulated-VPATH thing that automake does.
120047 cat > vpsed << \_EOF
120048 s!`test -f '$<' || echo '$(srcdir)/'`!!
120050 for i in $SUBDIRS; do
120051 case $CONFIG_FILES in
120052 *${i}/Makefile*)
120053 #echo "Adding MULTISUBDIR to $i/Makefile"
120054 sed -f vpsed $i/Makefile > tmp
120055 grep '^MULTISUBDIR =' Makefile >> tmp
120056 mv tmp $i/Makefile
120060 rm vpsed
120062 (cd include && ${MAKE-make})
120066 _ACEOF
120068 cat >>$CONFIG_STATUS <<\_ACEOF
120070 { (exit 0); exit 0; }
120071 _ACEOF
120072 chmod +x $CONFIG_STATUS
120073 ac_clean_files=$ac_clean_files_save
120076 # configure is writing to config.log, and then calls config.status.
120077 # config.status does its own redirection, appending to config.log.
120078 # Unfortunately, on DOS this fails, as config.log is still kept open
120079 # by configure, so config.status won't be able to write to it; its
120080 # output is simply discarded. So we exec the FD to /dev/null,
120081 # effectively closing config.log, so it can be properly (re)opened and
120082 # appended to by config.status. When coming back to configure, we
120083 # need to make the FD available again.
120084 if test "$no_create" != yes; then
120085 ac_cs_success=:
120086 ac_config_status_args=
120087 test "$silent" = yes &&
120088 ac_config_status_args="$ac_config_status_args --quiet"
120089 exec 5>/dev/null
120090 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
120091 exec 5>>config.log
120092 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
120093 # would make configure fail if this is the last instruction.
120094 $ac_cs_success || { (exit 1); exit 1; }